From 4a5fd9957da9d2ab8318e53bb7eee6fe38df98ca Mon Sep 17 00:00:00 2001 From: koalyptus Date: Thu, 20 Jul 2017 06:14:21 +0000 Subject: [PATCH] publish Docs to gh-pages (auto) branch: master SHA: 237fff13518b1faa952bf3864f159bd832376a9e range SHA: 407e772fdb22...237fff13518b build id: 255537320 build number: 697 --- docs/ast/source/array.js.json | 1107 + docs/ast/source/const.js.json | 7992 + docs/ast/source/cookie.js.json | 3121 + docs/ast/source/dom.js.json | 10331 + docs/ast/source/emitter.js.json | 2962 + docs/ast/source/event.js.json | 4670 + .../advancedGrid/adapterEzEditTable.js.json | 35438 +++ .../advancedGrid/advancedGrid.js.json | 131 + .../source/extensions/colOps/colOps.js.json | 25837 +++ .../colsVisibility/colsVisibility.js.json | 42800 ++++ .../sort/adapterSortabletable.js.json | 35081 +++ docs/ast/source/extensions/sort/sort.js.json | 405 + docs/ast/source/feature.js.json | 3263 + docs/ast/source/modules/alternateRows.js.json | 7880 + docs/ast/source/modules/baseDropdown.js.json | 6982 + docs/ast/source/modules/checkList.js.json | 39085 ++++ docs/ast/source/modules/clearButton.js.json | 7074 + docs/ast/source/modules/dateType.js.json | 7196 + docs/ast/source/modules/dropdown.js.json | 26780 +++ docs/ast/source/modules/gridLayout.js.json | 29901 +++ docs/ast/source/modules/hash.js.json | 6687 + docs/ast/source/modules/help.js.json | 13838 ++ .../source/modules/highlightKeywords.js.json | 12175 + docs/ast/source/modules/loader.js.json | 8935 + .../source/modules/markActiveColumns.js.json | 5585 + docs/ast/source/modules/noResults.js.json | 11081 + docs/ast/source/modules/paging.js.json | 59495 +++++ docs/ast/source/modules/popupFilter.js.json | 27843 +++ docs/ast/source/modules/rowsCounter.js.json | 11556 + docs/ast/source/modules/state.js.json | 31916 +++ docs/ast/source/modules/statusBar.js.json | 17318 ++ docs/ast/source/modules/storage.js.json | 7536 + docs/ast/source/number.js.json | 1663 + docs/ast/source/root.js.json | 644 + docs/ast/source/settings.js.json | 2015 + docs/ast/source/sort.js.json | 3869 + docs/ast/source/string.js.json | 3563 + docs/ast/source/tablefilter.js.json | 174409 +++++++++++++++ docs/ast/source/types.js.json | 3816 + docs/badge.svg | 17 + docs/class/src/emitter.js~Emitter.html | 625 + ...pterEzEditTable.js~AdapterEzEditTable.html | 1370 + .../extensions/colOps/colOps.js~ColOps.html | 2547 + .../colsVisibility.js~ColsVisibility.html | 3895 + ...Sortabletable.js~AdapterSortableTable.html | 2080 + docs/class/src/feature.js~Feature.html | 1129 + .../alternateRows.js~AlternateRows.html | 1124 + .../modules/baseDropdown.js~BaseDropdown.html | 684 + .../src/modules/checkList.js~CheckList.html | 2031 + .../modules/clearButton.js~ClearButton.html | 1160 + .../src/modules/dateType.js~DateType.html | 1460 + .../src/modules/dropdown.js~Dropdown.html | 1828 + .../src/modules/gridLayout.js~GridLayout.html | 1564 + docs/class/src/modules/hash.js~Hash.html | 822 + docs/class/src/modules/help.js~Help.html | 1629 + ...highlightKeywords.js~HighlightKeyword.html | 898 + docs/class/src/modules/loader.js~Loader.html | 1445 + ...arkActiveColumns.js~MarkActiveColumns.html | 1177 + .../src/modules/noResults.js~NoResults.html | 1629 + docs/class/src/modules/paging.js~Paging.html | 3623 + .../modules/popupFilter.js~PopupFilter.html | 2444 + .../modules/rowsCounter.js~RowsCounter.html | 1384 + docs/class/src/modules/state.js~State.html | 2224 + .../src/modules/statusBar.js~StatusBar.html | 1982 + .../class/src/modules/storage.js~Storage.html | 808 + .../class/src/tablefilter.js~TableFilter.html | 13428 ++ docs/coverage.json | 187 + docs/css/prettify-tomorrow.css | 132 + docs/css/style.css | 944 + docs/dump.json | 25272 +++ docs/file/src/array.js.html | 173 + docs/file/src/const.js.html | 351 + docs/file/src/cookie.js.html | 208 + docs/file/src/dom.js.html | 341 + docs/file/src/emitter.js.html | 204 + docs/file/src/event.js.html | 252 + .../advancedGrid/adapterEzEditTable.js.html | 658 + .../advancedGrid/advancedGrid.js.html | 153 + .../file/src/extensions/colOps/colOps.js.html | 630 + .../colsVisibility/colsVisibility.js.html | 857 + .../sort/adapterSortabletable.js.html | 682 + docs/file/src/extensions/sort/sort.js.html | 159 + docs/file/src/feature.js.html | 248 + docs/file/src/modules/alternateRows.js.html | 292 + docs/file/src/modules/baseDropdown.js.html | 272 + docs/file/src/modules/checkList.js.html | 682 + docs/file/src/modules/clearButton.js.html | 280 + docs/file/src/modules/dateType.js.html | 308 + docs/file/src/modules/dropdown.js.html | 534 + docs/file/src/modules/gridLayout.js.html | 634 + docs/file/src/modules/hash.js.html | 277 + docs/file/src/modules/help.js.html | 381 + .../src/modules/highlightKeywords.js.html | 331 + docs/file/src/modules/loader.js.html | 322 + .../src/modules/markActiveColumns.js.html | 259 + docs/file/src/modules/noResults.js.html | 345 + docs/file/src/modules/paging.js.html | 1049 + docs/file/src/modules/popupFilter.js.html | 605 + docs/file/src/modules/rowsCounter.js.html | 348 + docs/file/src/modules/state.js.html | 693 + docs/file/src/modules/statusBar.js.html | 451 + docs/file/src/modules/storage.js.html | 312 + docs/file/src/number.js.html | 183 + docs/file/src/root.js.html | 157 + docs/file/src/settings.js.html | 204 + docs/file/src/sort.js.html | 233 + docs/file/src/string.js.html | 227 + docs/file/src/tablefilter.js.html | 3314 + docs/file/src/types.js.html | 232 + docs/function/index.html | 236 + docs/identifiers.html | 2655 + docs/image/badge.svg | 17 + docs/image/github.png | Bin 0 -> 4268 bytes docs/image/search.png | Bin 0 -> 12704 bytes docs/index.html | 284 + docs/package.json | 76 + docs/script/inherited-summary.js | 28 + docs/script/inner-link.js | 31 + docs/script/manual.js | 13 + docs/script/patch-for-local.js | 8 + docs/script/prettify/Apache-License-2.0.txt | 202 + docs/script/prettify/prettify.js | 28 + docs/script/pretty-print.js | 25 + docs/script/search.js | 117 + docs/script/search_index.js | 4628 + docs/script/test-summary.js | 54 + docs/source.html | 536 + docs/variable/index.html | 5153 + 128 files changed, 815454 insertions(+) create mode 100644 docs/ast/source/array.js.json create mode 100644 docs/ast/source/const.js.json create mode 100644 docs/ast/source/cookie.js.json create mode 100644 docs/ast/source/dom.js.json create mode 100644 docs/ast/source/emitter.js.json create mode 100644 docs/ast/source/event.js.json create mode 100644 docs/ast/source/extensions/advancedGrid/adapterEzEditTable.js.json create mode 100644 docs/ast/source/extensions/advancedGrid/advancedGrid.js.json create mode 100644 docs/ast/source/extensions/colOps/colOps.js.json create mode 100644 docs/ast/source/extensions/colsVisibility/colsVisibility.js.json create mode 100644 docs/ast/source/extensions/sort/adapterSortabletable.js.json create mode 100644 docs/ast/source/extensions/sort/sort.js.json create mode 100644 docs/ast/source/feature.js.json create mode 100644 docs/ast/source/modules/alternateRows.js.json create mode 100644 docs/ast/source/modules/baseDropdown.js.json create mode 100644 docs/ast/source/modules/checkList.js.json create mode 100644 docs/ast/source/modules/clearButton.js.json create mode 100644 docs/ast/source/modules/dateType.js.json create mode 100644 docs/ast/source/modules/dropdown.js.json create mode 100644 docs/ast/source/modules/gridLayout.js.json create mode 100644 docs/ast/source/modules/hash.js.json create mode 100644 docs/ast/source/modules/help.js.json create mode 100644 docs/ast/source/modules/highlightKeywords.js.json create mode 100644 docs/ast/source/modules/loader.js.json create mode 100644 docs/ast/source/modules/markActiveColumns.js.json create mode 100644 docs/ast/source/modules/noResults.js.json create mode 100644 docs/ast/source/modules/paging.js.json create mode 100644 docs/ast/source/modules/popupFilter.js.json create mode 100644 docs/ast/source/modules/rowsCounter.js.json create mode 100644 docs/ast/source/modules/state.js.json create mode 100644 docs/ast/source/modules/statusBar.js.json create mode 100644 docs/ast/source/modules/storage.js.json create mode 100644 docs/ast/source/number.js.json create mode 100644 docs/ast/source/root.js.json create mode 100644 docs/ast/source/settings.js.json create mode 100644 docs/ast/source/sort.js.json create mode 100644 docs/ast/source/string.js.json create mode 100644 docs/ast/source/tablefilter.js.json create mode 100644 docs/ast/source/types.js.json create mode 100644 docs/badge.svg create mode 100644 docs/class/src/emitter.js~Emitter.html create mode 100644 docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html create mode 100644 docs/class/src/extensions/colOps/colOps.js~ColOps.html create mode 100644 docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html create mode 100644 docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html create mode 100644 docs/class/src/feature.js~Feature.html create mode 100644 docs/class/src/modules/alternateRows.js~AlternateRows.html create mode 100644 docs/class/src/modules/baseDropdown.js~BaseDropdown.html create mode 100644 docs/class/src/modules/checkList.js~CheckList.html create mode 100644 docs/class/src/modules/clearButton.js~ClearButton.html create mode 100644 docs/class/src/modules/dateType.js~DateType.html create mode 100644 docs/class/src/modules/dropdown.js~Dropdown.html create mode 100644 docs/class/src/modules/gridLayout.js~GridLayout.html create mode 100644 docs/class/src/modules/hash.js~Hash.html create mode 100644 docs/class/src/modules/help.js~Help.html create mode 100644 docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html create mode 100644 docs/class/src/modules/loader.js~Loader.html create mode 100644 docs/class/src/modules/markActiveColumns.js~MarkActiveColumns.html create mode 100644 docs/class/src/modules/noResults.js~NoResults.html create mode 100644 docs/class/src/modules/paging.js~Paging.html create mode 100644 docs/class/src/modules/popupFilter.js~PopupFilter.html create mode 100644 docs/class/src/modules/rowsCounter.js~RowsCounter.html create mode 100644 docs/class/src/modules/state.js~State.html create mode 100644 docs/class/src/modules/statusBar.js~StatusBar.html create mode 100644 docs/class/src/modules/storage.js~Storage.html create mode 100644 docs/class/src/tablefilter.js~TableFilter.html create mode 100644 docs/coverage.json create mode 100644 docs/css/prettify-tomorrow.css create mode 100644 docs/css/style.css create mode 100644 docs/dump.json create mode 100644 docs/file/src/array.js.html create mode 100644 docs/file/src/const.js.html create mode 100644 docs/file/src/cookie.js.html create mode 100644 docs/file/src/dom.js.html create mode 100644 docs/file/src/emitter.js.html create mode 100644 docs/file/src/event.js.html create mode 100644 docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html create mode 100644 docs/file/src/extensions/advancedGrid/advancedGrid.js.html create mode 100644 docs/file/src/extensions/colOps/colOps.js.html create mode 100644 docs/file/src/extensions/colsVisibility/colsVisibility.js.html create mode 100644 docs/file/src/extensions/sort/adapterSortabletable.js.html create mode 100644 docs/file/src/extensions/sort/sort.js.html create mode 100644 docs/file/src/feature.js.html create mode 100644 docs/file/src/modules/alternateRows.js.html create mode 100644 docs/file/src/modules/baseDropdown.js.html create mode 100644 docs/file/src/modules/checkList.js.html create mode 100644 docs/file/src/modules/clearButton.js.html create mode 100644 docs/file/src/modules/dateType.js.html create mode 100644 docs/file/src/modules/dropdown.js.html create mode 100644 docs/file/src/modules/gridLayout.js.html create mode 100644 docs/file/src/modules/hash.js.html create mode 100644 docs/file/src/modules/help.js.html create mode 100644 docs/file/src/modules/highlightKeywords.js.html create mode 100644 docs/file/src/modules/loader.js.html create mode 100644 docs/file/src/modules/markActiveColumns.js.html create mode 100644 docs/file/src/modules/noResults.js.html create mode 100644 docs/file/src/modules/paging.js.html create mode 100644 docs/file/src/modules/popupFilter.js.html create mode 100644 docs/file/src/modules/rowsCounter.js.html create mode 100644 docs/file/src/modules/state.js.html create mode 100644 docs/file/src/modules/statusBar.js.html create mode 100644 docs/file/src/modules/storage.js.html create mode 100644 docs/file/src/number.js.html create mode 100644 docs/file/src/root.js.html create mode 100644 docs/file/src/settings.js.html create mode 100644 docs/file/src/sort.js.html create mode 100644 docs/file/src/string.js.html create mode 100644 docs/file/src/tablefilter.js.html create mode 100644 docs/file/src/types.js.html create mode 100644 docs/function/index.html create mode 100644 docs/identifiers.html create mode 100644 docs/image/badge.svg create mode 100644 docs/image/github.png create mode 100644 docs/image/search.png create mode 100644 docs/index.html create mode 100644 docs/package.json create mode 100644 docs/script/inherited-summary.js create mode 100644 docs/script/inner-link.js create mode 100644 docs/script/manual.js create mode 100644 docs/script/patch-for-local.js create mode 100644 docs/script/prettify/Apache-License-2.0.txt create mode 100644 docs/script/prettify/prettify.js create mode 100644 docs/script/pretty-print.js create mode 100644 docs/script/search.js create mode 100644 docs/script/search_index.js create mode 100644 docs/script/test-summary.js create mode 100644 docs/source.html create mode 100644 docs/variable/index.html diff --git a/docs/ast/source/array.js.json b/docs/ast/source/array.js.json new file mode 100644 index 00000000..ab3e421d --- /dev/null +++ b/docs/ast/source/array.js.json @@ -0,0 +1,1107 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 17 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./string", + "raw": "'./string'", + "range": [ + 52, + 62 + ], + "loc": { + "start": { + "line": 5, + "column": 24 + }, + "end": { + "line": 5, + "column": 34 + } + } + }, + "range": [ + 28, + 63 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Array utilities\n ", + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ", + "range": [ + 65, + 284 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "has", + "range": [ + 298, + 301 + ], + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "arr", + "range": [ + 305, + 308 + ], + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "val", + "range": [ + 310, + 313 + ], + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 315, + 328 + ], + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 43 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sCase", + "range": [ + 343, + 348 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 351, + 358 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 359, + 372 + ], + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 37 + } + } + } + ], + "range": [ + 351, + 373 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 38 + } + } + }, + "range": [ + 343, + 373 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 339, + 374 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 388, + 389 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 392, + 393 + ], + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + "range": [ + 388, + 393 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "l", + "range": [ + 395, + 396 + ], + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "arr", + "range": [ + 399, + 402 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 403, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + "range": [ + 399, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + "range": [ + 395, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 34 + } + } + } + ], + "kind": "var", + "range": [ + 384, + 409 + ], + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 411, + 412 + ], + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "l", + "range": [ + 415, + 416 + ], + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + "range": [ + 411, + 416 + ], + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 418, + 419 + ], + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + "prefix": false, + "range": [ + 418, + 421 + ], + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 46 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 437, + 446 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "arr", + "range": [ + 447, + 450 + ], + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 451, + 452 + ], + "loc": { + "start": { + "line": 17, + "column": 26 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + "range": [ + 447, + 453 + ], + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 454, + 462 + ], + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + "range": [ + 447, + 462 + ], + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 447, + 464 + ], + "loc": { + "start": { + "line": 17, + "column": 22 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "sCase", + "range": [ + 466, + 471 + ], + "loc": { + "start": { + "line": 17, + "column": 41 + }, + "end": { + "line": 17, + "column": 46 + } + } + } + ], + "range": [ + 437, + 472 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 47 + } + } + }, + "right": { + "type": "Identifier", + "name": "val", + "range": [ + 477, + 480 + ], + "loc": { + "start": { + "line": 17, + "column": 52 + }, + "end": { + "line": 17, + "column": 55 + } + } + }, + "range": [ + 437, + 480 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 503, + 507 + ], + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + "range": [ + 496, + 508 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 24 + } + } + } + ], + "range": [ + 482, + 518 + ], + "loc": { + "start": { + "line": 17, + "column": 57 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 433, + 518 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + } + ], + "range": [ + 423, + 524 + ], + "loc": { + "start": { + "line": 16, + "column": 48 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + "range": [ + 379, + 524 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 536, + 541 + ], + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 16 + } + } + }, + "range": [ + 529, + 542 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 17 + } + } + } + ], + "range": [ + 333, + 544 + ], + "loc": { + "start": { + "line": 14, + "column": 48 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 304, + 544 + ], + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + "range": [ + 298, + 544 + ], + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 22, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 292, + 545 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 22, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ", + "range": [ + 65, + 284 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 285, + 545 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 22, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ", + "range": [ + 65, + 284 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 28, + 545 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 22, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Array utilities\n ", + "range": [ + 0, + 26 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n ", + "range": [ + 65, + 284 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/const.js.json b/docs/ast/source/const.js.json new file mode 100644 index 00000000..de82f130 --- /dev/null +++ b/docs/ast/source/const.js.json @@ -0,0 +1,7992 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DateType", + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DateType", + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/dateType", + "raw": "'./modules/dateType'", + "range": [ + 23, + 43 + ], + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + "range": [ + 0, + 44 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Help", + "range": [ + 53, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Help", + "range": [ + 53, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 53, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/help", + "raw": "'./modules/help'", + "range": [ + 64, + 80 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + "range": [ + 45, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "State", + "range": [ + 90, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "State", + "range": [ + 90, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + "range": [ + 90, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/state", + "raw": "'./modules/state'", + "range": [ + 102, + 119 + ], + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 37 + } + } + }, + "range": [ + 82, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "GridLayout", + "range": [ + 129, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "GridLayout", + "range": [ + 129, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "range": [ + 129, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/gridLayout", + "raw": "'./modules/gridLayout'", + "range": [ + 146, + 168 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 47 + } + } + }, + "range": [ + 121, + 169 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 48 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Loader", + "range": [ + 178, + 184 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Loader", + "range": [ + 178, + 184 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 178, + 184 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/loader", + "raw": "'./modules/loader'", + "range": [ + 191, + 209 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 39 + } + } + }, + "range": [ + 170, + 210 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 40 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "HighlightKeyword", + "range": [ + 219, + 235 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "HighlightKeyword", + "range": [ + 219, + 235 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "range": [ + 219, + 235 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/highlightKeywords", + "raw": "'./modules/highlightKeywords'", + "range": [ + 242, + 271 + ], + "loc": { + "start": { + "line": 6, + "column": 31 + }, + "end": { + "line": 6, + "column": 60 + } + } + }, + "range": [ + 211, + 272 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "PopupFilter", + "range": [ + 281, + 292 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "PopupFilter", + "range": [ + 281, + 292 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "range": [ + 281, + 292 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/popupFilter", + "raw": "'./modules/popupFilter'", + "range": [ + 299, + 322 + ], + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 49 + } + } + }, + "range": [ + 273, + 323 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 50 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "MarkActiveColumns", + "range": [ + 332, + 349 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "MarkActiveColumns", + "range": [ + 332, + 349 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + "range": [ + 332, + 349 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/markActiveColumns", + "raw": "'./modules/markActiveColumns'", + "range": [ + 356, + 385 + ], + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 61 + } + } + }, + "range": [ + 324, + 386 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 62 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "RowsCounter", + "range": [ + 395, + 406 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "RowsCounter", + "range": [ + 395, + 406 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 19 + } + } + }, + "range": [ + 395, + 406 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/rowsCounter", + "raw": "'./modules/rowsCounter'", + "range": [ + 413, + 436 + ], + "loc": { + "start": { + "line": 9, + "column": 26 + }, + "end": { + "line": 9, + "column": 49 + } + } + }, + "range": [ + 387, + 437 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 50 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "StatusBar", + "range": [ + 446, + 455 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "StatusBar", + "range": [ + 446, + 455 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 446, + 455 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/statusBar", + "raw": "'./modules/statusBar'", + "range": [ + 462, + 483 + ], + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 45 + } + } + }, + "range": [ + 438, + 484 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 46 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "ClearButton", + "range": [ + 493, + 504 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "ClearButton", + "range": [ + 493, + 504 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + "range": [ + 493, + 504 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/clearButton", + "raw": "'./modules/clearButton'", + "range": [ + 511, + 534 + ], + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 49 + } + } + }, + "range": [ + 485, + 535 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 50 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "AlternateRows", + "range": [ + 544, + 557 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + "imported": { + "type": "Identifier", + "name": "AlternateRows", + "range": [ + 544, + 557 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + "range": [ + 544, + 557 + ], + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 21 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/alternateRows", + "raw": "'./modules/alternateRows'", + "range": [ + 564, + 589 + ], + "loc": { + "start": { + "line": 12, + "column": 28 + }, + "end": { + "line": 12, + "column": 53 + } + } + }, + "range": [ + 536, + 590 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NoResults", + "range": [ + 599, + 608 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NoResults", + "range": [ + 599, + 608 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + "range": [ + 599, + 608 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 17 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/noResults", + "raw": "'./modules/noResults'", + "range": [ + 615, + 636 + ], + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + "range": [ + 591, + 637 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 46 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Paging", + "range": [ + 646, + 652 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Paging", + "range": [ + 646, + 652 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + "range": [ + 646, + 652 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/paging", + "raw": "'./modules/paging'", + "range": [ + 659, + 677 + ], + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 39 + } + } + }, + "range": [ + 638, + 678 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter types\n ", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Input filter type\n * @type {String}\n ", + "range": [ + 705, + 751 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 765, + 770 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": "input", + "raw": "'input'", + "range": [ + 773, + 780 + ], + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 28 + } + } + }, + "range": [ + 765, + 780 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 28 + } + } + } + ], + "kind": "const", + "range": [ + 759, + 781 + ], + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter types\n ", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Input filter type\n * @type {String}\n ", + "range": [ + 705, + 751 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Select filter type\n * @type {String}\n ", + "range": [ + 782, + 829 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 752, + 781 + ], + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter types\n ", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Input filter type\n * @type {String}\n ", + "range": [ + 705, + 751 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Select filter type\n * @type {String}\n ", + "range": [ + 782, + 829 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 843, + 849 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": "select", + "raw": "'select'", + "range": [ + 852, + 860 + ], + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 30 + } + } + }, + "range": [ + 843, + 860 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 837, + 861 + ], + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Select filter type\n * @type {String}\n ", + "range": [ + 782, + 829 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Multiple select filter type\n * @type {String}\n ", + "range": [ + 862, + 918 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 830, + 861 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Select filter type\n * @type {String}\n ", + "range": [ + 782, + 829 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Multiple select filter type\n * @type {String}\n ", + "range": [ + 862, + 918 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 932, + 940 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + "init": { + "type": "Literal", + "value": "multiple", + "raw": "'multiple'", + "range": [ + 943, + 953 + ], + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + "range": [ + 932, + 953 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 34 + } + } + } + ], + "kind": "const", + "range": [ + 926, + 954 + ], + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Multiple select filter type\n * @type {String}\n ", + "range": [ + 862, + 918 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter type\n * @type {String}\n ", + "range": [ + 955, + 1005 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 919, + 954 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Multiple select filter type\n * @type {String}\n ", + "range": [ + 862, + 918 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter type\n * @type {String}\n ", + "range": [ + 955, + 1005 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 1019, + 1028 + ], + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": "checklist", + "raw": "'checklist'", + "range": [ + 1031, + 1042 + ], + "loc": { + "start": { + "line": 39, + "column": 25 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + "range": [ + 1019, + 1042 + ], + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 36 + } + } + } + ], + "kind": "const", + "range": [ + 1013, + 1043 + ], + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter type\n * @type {String}\n ", + "range": [ + 955, + 1005 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * None filter type\n * @type {String}\n ", + "range": [ + 1044, + 1089 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1006, + 1043 + ], + "loc": { + "start": { + "line": 39, + "column": 0 + }, + "end": { + "line": 39, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter type\n * @type {String}\n ", + "range": [ + 955, + 1005 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * None filter type\n * @type {String}\n ", + "range": [ + 1044, + 1089 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "NONE", + "range": [ + 1103, + 1107 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": "none", + "raw": "'none'", + "range": [ + 1110, + 1116 + ], + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + "range": [ + 1103, + 1116 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 26 + } + } + } + ], + "kind": "const", + "range": [ + 1097, + 1117 + ], + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * None filter type\n * @type {String}\n ", + "range": [ + 1044, + 1089 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Key codes\n ", + "range": [ + 1119, + 1139 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Enter key code\n * @type {Number}\n ", + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1090, + 1117 + ], + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * None filter type\n * @type {String}\n ", + "range": [ + 1044, + 1089 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Key codes\n ", + "range": [ + 1119, + 1139 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Enter key code\n * @type {Number}\n ", + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 1198, + 1207 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 13, + "raw": "13", + "range": [ + 1210, + 1212 + ], + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + "range": [ + 1198, + 1212 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 27 + } + } + } + ], + "kind": "const", + "range": [ + 1192, + 1213 + ], + "loc": { + "start": { + "line": 54, + "column": 7 + }, + "end": { + "line": 54, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Key codes\n ", + "range": [ + 1119, + 1139 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Enter key code\n * @type {Number}\n ", + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Tab key code\n * @type {Number}\n ", + "range": [ + 1214, + 1255 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1185, + 1213 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 54, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Key codes\n ", + "range": [ + 1119, + 1139 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Enter key code\n * @type {Number}\n ", + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Tab key code\n * @type {Number}\n ", + "range": [ + 1214, + 1255 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "TAB_KEY", + "range": [ + 1269, + 1276 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": 9, + "raw": "9", + "range": [ + 1279, + 1280 + ], + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 24 + } + } + }, + "range": [ + 1269, + 1280 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 24 + } + } + } + ], + "kind": "const", + "range": [ + 1263, + 1281 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Tab key code\n * @type {Number}\n ", + "range": [ + 1214, + 1255 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Escape key code\n * @type {Number}\n ", + "range": [ + 1282, + 1326 + ], + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1256, + 1281 + ], + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 59, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Tab key code\n * @type {Number}\n ", + "range": [ + 1214, + 1255 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Escape key code\n * @type {Number}\n ", + "range": [ + 1282, + 1326 + ], + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ESC_KEY", + "range": [ + 1340, + 1347 + ], + "loc": { + "start": { + "line": 64, + "column": 13 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": 27, + "raw": "27", + "range": [ + 1350, + 1352 + ], + "loc": { + "start": { + "line": 64, + "column": 23 + }, + "end": { + "line": 64, + "column": 25 + } + } + }, + "range": [ + 1340, + 1352 + ], + "loc": { + "start": { + "line": 64, + "column": 13 + }, + "end": { + "line": 64, + "column": 25 + } + } + } + ], + "kind": "const", + "range": [ + 1334, + 1353 + ], + "loc": { + "start": { + "line": 64, + "column": 7 + }, + "end": { + "line": 64, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Escape key code\n * @type {Number}\n ", + "range": [ + 1282, + 1326 + ], + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Up arrow key code\n * @type {Number}\n ", + "range": [ + 1354, + 1400 + ], + "loc": { + "start": { + "line": 65, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1327, + 1353 + ], + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Escape key code\n * @type {Number}\n ", + "range": [ + 1282, + 1326 + ], + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Up arrow key code\n * @type {Number}\n ", + "range": [ + 1354, + 1400 + ], + "loc": { + "start": { + "line": 65, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "UP_ARROW_KEY", + "range": [ + 1414, + 1426 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 25 + } + } + }, + "init": { + "type": "Literal", + "value": 38, + "raw": "38", + "range": [ + 1429, + 1431 + ], + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 30 + } + } + }, + "range": [ + 1414, + 1431 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 1408, + 1432 + ], + "loc": { + "start": { + "line": 69, + "column": 7 + }, + "end": { + "line": 69, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Up arrow key code\n * @type {Number}\n ", + "range": [ + 1354, + 1400 + ], + "loc": { + "start": { + "line": 65, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Down arrow key code\n * @type {Number}\n ", + "range": [ + 1433, + 1481 + ], + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1401, + 1432 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 69, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Up arrow key code\n * @type {Number}\n ", + "range": [ + 1354, + 1400 + ], + "loc": { + "start": { + "line": 65, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Down arrow key code\n * @type {Number}\n ", + "range": [ + 1433, + 1481 + ], + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "DOWN_ARROW_KEY", + "range": [ + 1495, + 1509 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 27 + } + } + }, + "init": { + "type": "Literal", + "value": 40, + "raw": "40", + "range": [ + 1512, + 1514 + ], + "loc": { + "start": { + "line": 74, + "column": 30 + }, + "end": { + "line": 74, + "column": 32 + } + } + }, + "range": [ + 1495, + 1514 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 32 + } + } + } + ], + "kind": "const", + "range": [ + 1489, + 1515 + ], + "loc": { + "start": { + "line": 74, + "column": 7 + }, + "end": { + "line": 74, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Down arrow key code\n * @type {Number}\n ", + "range": [ + 1433, + 1481 + ], + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * HTML tags\n ", + "range": [ + 1517, + 1537 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Header cell tag\n * @type {String}\n ", + "range": [ + 1539, + 1583 + ], + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 83, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1482, + 1515 + ], + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 74, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Down arrow key code\n * @type {Number}\n ", + "range": [ + 1433, + 1481 + ], + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * HTML tags\n ", + "range": [ + 1517, + 1537 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Header cell tag\n * @type {String}\n ", + "range": [ + 1539, + 1583 + ], + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 83, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "HEADER_TAG", + "range": [ + 1597, + 1607 + ], + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 23 + } + } + }, + "init": { + "type": "Literal", + "value": "TH", + "raw": "'TH'", + "range": [ + 1610, + 1614 + ], + "loc": { + "start": { + "line": 84, + "column": 26 + }, + "end": { + "line": 84, + "column": 30 + } + } + }, + "range": [ + 1597, + 1614 + ], + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 1591, + 1615 + ], + "loc": { + "start": { + "line": 84, + "column": 7 + }, + "end": { + "line": 84, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * HTML tags\n ", + "range": [ + 1517, + 1537 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Header cell tag\n * @type {String}\n ", + "range": [ + 1539, + 1583 + ], + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 83, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cell tag\n * @type {String}\n ", + "range": [ + 1616, + 1653 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1584, + 1615 + ], + "loc": { + "start": { + "line": 84, + "column": 0 + }, + "end": { + "line": 84, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * HTML tags\n ", + "range": [ + 1517, + 1537 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Header cell tag\n * @type {String}\n ", + "range": [ + 1539, + 1583 + ], + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 83, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cell tag\n * @type {String}\n ", + "range": [ + 1616, + 1653 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 1667, + 1675 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + "init": { + "type": "Literal", + "value": "TD", + "raw": "'TD'", + "range": [ + 1678, + 1682 + ], + "loc": { + "start": { + "line": 89, + "column": 24 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + "range": [ + 1667, + 1682 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 28 + } + } + } + ], + "kind": "const", + "range": [ + 1661, + 1683 + ], + "loc": { + "start": { + "line": 89, + "column": 7 + }, + "end": { + "line": 89, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cell tag\n * @type {String}\n ", + "range": [ + 1616, + 1653 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Data types\n ", + "range": [ + 1685, + 1706 + ], + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * String\n * @type {String}\n ", + "range": [ + 1708, + 1743 + ], + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 98, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1654, + 1683 + ], + "loc": { + "start": { + "line": 89, + "column": 0 + }, + "end": { + "line": 89, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cell tag\n * @type {String}\n ", + "range": [ + 1616, + 1653 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Data types\n ", + "range": [ + 1685, + 1706 + ], + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * String\n * @type {String}\n ", + "range": [ + 1708, + 1743 + ], + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 98, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "STRING", + "range": [ + 1757, + 1763 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": "string", + "raw": "'string'", + "range": [ + 1766, + 1774 + ], + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 30 + } + } + }, + "range": [ + 1757, + 1774 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 1751, + 1775 + ], + "loc": { + "start": { + "line": 99, + "column": 7 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Data types\n ", + "range": [ + 1685, + 1706 + ], + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * String\n * @type {String}\n ", + "range": [ + 1708, + 1743 + ], + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 98, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number\n * @type {String}\n ", + "range": [ + 1777, + 1812 + ], + "loc": { + "start": { + "line": 101, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1744, + 1775 + ], + "loc": { + "start": { + "line": 99, + "column": 0 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Data types\n ", + "range": [ + 1685, + 1706 + ], + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * String\n * @type {String}\n ", + "range": [ + 1708, + 1743 + ], + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 98, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number\n * @type {String}\n ", + "range": [ + 1777, + 1812 + ], + "loc": { + "start": { + "line": 101, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 1826, + 1832 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": "number", + "raw": "'number'", + "range": [ + 1835, + 1843 + ], + "loc": { + "start": { + "line": 105, + "column": 22 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + "range": [ + 1826, + 1843 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 1820, + 1844 + ], + "loc": { + "start": { + "line": 105, + "column": 7 + }, + "end": { + "line": 105, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number\n * @type {String}\n ", + "range": [ + 1777, + 1812 + ], + "loc": { + "start": { + "line": 101, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Formatted number\n * @type {String}\n ", + "range": [ + 1846, + 1891 + ], + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 110, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1813, + 1844 + ], + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 105, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number\n * @type {String}\n ", + "range": [ + 1777, + 1812 + ], + "loc": { + "start": { + "line": 101, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Formatted number\n * @type {String}\n ", + "range": [ + 1846, + 1891 + ], + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 110, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 1905, + 1921 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 29 + } + } + }, + "init": { + "type": "Literal", + "value": "formatted-number", + "raw": "'formatted-number'", + "range": [ + 1924, + 1942 + ], + "loc": { + "start": { + "line": 111, + "column": 32 + }, + "end": { + "line": 111, + "column": 50 + } + } + }, + "range": [ + 1905, + 1942 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 50 + } + } + } + ], + "kind": "const", + "range": [ + 1899, + 1943 + ], + "loc": { + "start": { + "line": 111, + "column": 7 + }, + "end": { + "line": 111, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Formatted number\n * @type {String}\n ", + "range": [ + 1846, + 1891 + ], + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 110, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Date\n * @type {String}\n ", + "range": [ + 1945, + 1978 + ], + "loc": { + "start": { + "line": 113, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1892, + 1943 + ], + "loc": { + "start": { + "line": 111, + "column": 0 + }, + "end": { + "line": 111, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Formatted number\n * @type {String}\n ", + "range": [ + 1846, + 1891 + ], + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 110, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Date\n * @type {String}\n ", + "range": [ + 1945, + 1978 + ], + "loc": { + "start": { + "line": 113, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "DATE", + "range": [ + 1992, + 1996 + ], + "loc": { + "start": { + "line": 117, + "column": 13 + }, + "end": { + "line": 117, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": "date", + "raw": "'date'", + "range": [ + 1999, + 2005 + ], + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 117, + "column": 26 + } + } + }, + "range": [ + 1992, + 2005 + ], + "loc": { + "start": { + "line": 117, + "column": 13 + }, + "end": { + "line": 117, + "column": 26 + } + } + } + ], + "kind": "const", + "range": [ + 1986, + 2006 + ], + "loc": { + "start": { + "line": 117, + "column": 7 + }, + "end": { + "line": 117, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Date\n * @type {String}\n ", + "range": [ + 1945, + 1978 + ], + "loc": { + "start": { + "line": 113, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * IP address\n * @type {String}\n ", + "range": [ + 2008, + 2047 + ], + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 122, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1979, + 2006 + ], + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 117, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Date\n * @type {String}\n ", + "range": [ + 1945, + 1978 + ], + "loc": { + "start": { + "line": 113, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * IP address\n * @type {String}\n ", + "range": [ + 2008, + 2047 + ], + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 122, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "IP_ADDRESS", + "range": [ + 2061, + 2071 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + "init": { + "type": "Literal", + "value": "ipaddress", + "raw": "'ipaddress'", + "range": [ + 2074, + 2085 + ], + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 37 + } + } + }, + "range": [ + 2061, + 2085 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 37 + } + } + } + ], + "kind": "const", + "range": [ + 2055, + 2086 + ], + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 123, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * IP address\n * @type {String}\n ", + "range": [ + 2008, + 2047 + ], + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 122, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Default values\n ", + "range": [ + 2088, + 2113 + ], + "loc": { + "start": { + "line": 125, + "column": 0 + }, + "end": { + "line": 127, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto filter delay in milliseconds\n * @type {Number}\n ", + "range": [ + 2115, + 2177 + ], + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 2048, + 2086 + ], + "loc": { + "start": { + "line": 123, + "column": 0 + }, + "end": { + "line": 123, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * IP address\n * @type {String}\n ", + "range": [ + 2008, + 2047 + ], + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 122, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Default values\n ", + "range": [ + 2088, + 2113 + ], + "loc": { + "start": { + "line": 125, + "column": 0 + }, + "end": { + "line": 127, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto filter delay in milliseconds\n * @type {Number}\n ", + "range": [ + 2115, + 2177 + ], + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "AUTO_FILTER_DELAY", + "range": [ + 2191, + 2208 + ], + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + "init": { + "type": "Literal", + "value": 750, + "raw": "750", + "range": [ + 2211, + 2214 + ], + "loc": { + "start": { + "line": 133, + "column": 33 + }, + "end": { + "line": 133, + "column": 36 + } + } + }, + "range": [ + 2191, + 2214 + ], + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 133, + "column": 36 + } + } + } + ], + "kind": "const", + "range": [ + 2185, + 2215 + ], + "loc": { + "start": { + "line": 133, + "column": 7 + }, + "end": { + "line": 133, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Default values\n ", + "range": [ + 2088, + 2113 + ], + "loc": { + "start": { + "line": 125, + "column": 0 + }, + "end": { + "line": 127, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto filter delay in milliseconds\n * @type {Number}\n ", + "range": [ + 2115, + 2177 + ], + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter features definitions\n * @type {Object}\n ", + "range": [ + 2217, + 2278 + ], + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 138, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 2178, + 2215 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 133, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Default values\n ", + "range": [ + 2088, + 2113 + ], + "loc": { + "start": { + "line": 125, + "column": 0 + }, + "end": { + "line": 127, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto filter delay in milliseconds\n * @type {Number}\n ", + "range": [ + 2115, + 2177 + ], + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter features definitions\n * @type {Object}\n ", + "range": [ + 2217, + 2278 + ], + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 138, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 2292, + 2300 + ], + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 139, + "column": 21 + } + } + }, + "init": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "dateType", + "range": [ + 2309, + 2317 + ], + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 12 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2329, + 2334 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "DateType", + "range": [ + 2336, + 2344 + ], + "loc": { + "start": { + "line": 141, + "column": 15 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2329, + 2344 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2354, + 2358 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "dateType", + "raw": "'dateType'", + "range": [ + 2360, + 2370 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2354, + 2370 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 24 + } + } + } + ], + "range": [ + 2319, + 2376 + ], + "loc": { + "start": { + "line": 140, + "column": 14 + }, + "end": { + "line": 143, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2309, + 2376 + ], + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 143, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "help", + "range": [ + 2382, + 2386 + ], + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 8 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2398, + 2403 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "Help", + "range": [ + 2405, + 2409 + ], + "loc": { + "start": { + "line": 145, + "column": 15 + }, + "end": { + "line": 145, + "column": 19 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2398, + 2409 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 19 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2419, + 2423 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "help", + "raw": "'help'", + "range": [ + 2425, + 2431 + ], + "loc": { + "start": { + "line": 146, + "column": 14 + }, + "end": { + "line": 146, + "column": 20 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2419, + 2431 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 20 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "enforce", + "range": [ + 2441, + 2448 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + "value": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2450, + 2454 + ], + "loc": { + "start": { + "line": 147, + "column": 17 + }, + "end": { + "line": 147, + "column": 21 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2441, + 2454 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 21 + } + } + } + ], + "range": [ + 2388, + 2460 + ], + "loc": { + "start": { + "line": 144, + "column": 10 + }, + "end": { + "line": 148, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2382, + 2460 + ], + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 148, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "state", + "range": [ + 2466, + 2471 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 9 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2483, + 2488 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "State", + "range": [ + 2490, + 2495 + ], + "loc": { + "start": { + "line": 150, + "column": 15 + }, + "end": { + "line": 150, + "column": 20 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2483, + 2495 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 20 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2505, + 2509 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "state", + "raw": "'state'", + "range": [ + 2511, + 2518 + ], + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 21 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2505, + 2518 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 21 + } + } + } + ], + "range": [ + 2473, + 2524 + ], + "loc": { + "start": { + "line": 149, + "column": 11 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2466, + 2524 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "markActiveColumns", + "range": [ + 2530, + 2547 + ], + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 153, + "column": 21 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2559, + 2564 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "MarkActiveColumns", + "range": [ + 2566, + 2583 + ], + "loc": { + "start": { + "line": 154, + "column": 15 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2559, + 2583 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2593, + 2597 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "markActiveColumns", + "raw": "'markActiveColumns'", + "range": [ + 2599, + 2618 + ], + "loc": { + "start": { + "line": 155, + "column": 14 + }, + "end": { + "line": 155, + "column": 33 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2593, + 2618 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 33 + } + } + } + ], + "range": [ + 2549, + 2624 + ], + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2530, + 2624 + ], + "loc": { + "start": { + "line": 153, + "column": 4 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 2630, + 2640 + ], + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 14 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2652, + 2657 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "GridLayout", + "range": [ + 2659, + 2669 + ], + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2652, + 2669 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2679, + 2683 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "gridLayout", + "raw": "'gridLayout'", + "range": [ + 2685, + 2697 + ], + "loc": { + "start": { + "line": 159, + "column": 14 + }, + "end": { + "line": 159, + "column": 26 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2679, + 2697 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 26 + } + } + } + ], + "range": [ + 2642, + 2703 + ], + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2630, + 2703 + ], + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "loader", + "range": [ + 2709, + 2715 + ], + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 161, + "column": 10 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2727, + 2732 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "Loader", + "range": [ + 2734, + 2740 + ], + "loc": { + "start": { + "line": 162, + "column": 15 + }, + "end": { + "line": 162, + "column": 21 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2727, + 2740 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 21 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2750, + 2754 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "loader", + "raw": "'loader'", + "range": [ + 2756, + 2764 + ], + "loc": { + "start": { + "line": 163, + "column": 14 + }, + "end": { + "line": 163, + "column": 22 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2750, + 2764 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 22 + } + } + } + ], + "range": [ + 2717, + 2770 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2709, + 2770 + ], + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "highlightKeyword", + "range": [ + 2776, + 2792 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 20 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2804, + 2809 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "HighlightKeyword", + "range": [ + 2811, + 2827 + ], + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 31 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2804, + 2827 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 31 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2837, + 2841 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "highlightKeyword", + "raw": "'highlightKeyword'", + "range": [ + 2843, + 2861 + ], + "loc": { + "start": { + "line": 167, + "column": 14 + }, + "end": { + "line": 167, + "column": 32 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2837, + 2861 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 32 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "property", + "range": [ + 2871, + 2879 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 168, + "column": 16 + } + } + }, + "value": { + "type": "Literal", + "value": "highlightKeywords", + "raw": "'highlightKeywords'", + "range": [ + 2881, + 2900 + ], + "loc": { + "start": { + "line": 168, + "column": 18 + }, + "end": { + "line": 168, + "column": 37 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2871, + 2900 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 168, + "column": 37 + } + } + } + ], + "range": [ + 2794, + 2906 + ], + "loc": { + "start": { + "line": 165, + "column": 22 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2776, + 2906 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "popupFilter", + "range": [ + 2912, + 2923 + ], + "loc": { + "start": { + "line": 170, + "column": 4 + }, + "end": { + "line": 170, + "column": 15 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 2935, + 2940 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "PopupFilter", + "range": [ + 2942, + 2953 + ], + "loc": { + "start": { + "line": 171, + "column": 15 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2935, + 2953 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 2963, + 2967 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "popupFilter", + "raw": "'popupFilter'", + "range": [ + 2969, + 2982 + ], + "loc": { + "start": { + "line": 172, + "column": 14 + }, + "end": { + "line": 172, + "column": 27 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2963, + 2982 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 27 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "property", + "range": [ + 2992, + 3000 + ], + "loc": { + "start": { + "line": 173, + "column": 8 + }, + "end": { + "line": 173, + "column": 16 + } + } + }, + "value": { + "type": "Literal", + "value": "popupFilters", + "raw": "'popupFilters'", + "range": [ + 3002, + 3016 + ], + "loc": { + "start": { + "line": 173, + "column": 18 + }, + "end": { + "line": 173, + "column": 32 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2992, + 3016 + ], + "loc": { + "start": { + "line": 173, + "column": 8 + }, + "end": { + "line": 173, + "column": 32 + } + } + } + ], + "range": [ + 2925, + 3022 + ], + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 174, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 2912, + 3022 + ], + "loc": { + "start": { + "line": 170, + "column": 4 + }, + "end": { + "line": 174, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "rowsCounter", + "range": [ + 3028, + 3039 + ], + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 15 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3051, + 3056 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "RowsCounter", + "range": [ + 3058, + 3069 + ], + "loc": { + "start": { + "line": 176, + "column": 15 + }, + "end": { + "line": 176, + "column": 26 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3051, + 3069 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 26 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3079, + 3083 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "rowsCounter", + "raw": "'rowsCounter'", + "range": [ + 3085, + 3098 + ], + "loc": { + "start": { + "line": 177, + "column": 14 + }, + "end": { + "line": 177, + "column": 27 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3079, + 3098 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 27 + } + } + } + ], + "range": [ + 3041, + 3104 + ], + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 178, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3028, + 3104 + ], + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 178, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "statusBar", + "range": [ + 3110, + 3119 + ], + "loc": { + "start": { + "line": 179, + "column": 4 + }, + "end": { + "line": 179, + "column": 13 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3131, + 3136 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "StatusBar", + "range": [ + 3138, + 3147 + ], + "loc": { + "start": { + "line": 180, + "column": 15 + }, + "end": { + "line": 180, + "column": 24 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3131, + 3147 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 24 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3157, + 3161 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "statusBar", + "raw": "'statusBar'", + "range": [ + 3163, + 3174 + ], + "loc": { + "start": { + "line": 181, + "column": 14 + }, + "end": { + "line": 181, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3157, + 3174 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 25 + } + } + } + ], + "range": [ + 3121, + 3180 + ], + "loc": { + "start": { + "line": 179, + "column": 15 + }, + "end": { + "line": 182, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3110, + 3180 + ], + "loc": { + "start": { + "line": 179, + "column": 4 + }, + "end": { + "line": 182, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "clearButton", + "range": [ + 3186, + 3197 + ], + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 15 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3209, + 3214 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "ClearButton", + "range": [ + 3216, + 3227 + ], + "loc": { + "start": { + "line": 184, + "column": 15 + }, + "end": { + "line": 184, + "column": 26 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3209, + 3227 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 26 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3237, + 3241 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "clearButton", + "raw": "'clearButton'", + "range": [ + 3243, + 3256 + ], + "loc": { + "start": { + "line": 185, + "column": 14 + }, + "end": { + "line": 185, + "column": 27 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3237, + 3256 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 27 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "property", + "range": [ + 3266, + 3274 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + "value": { + "type": "Literal", + "value": "btnReset", + "raw": "'btnReset'", + "range": [ + 3276, + 3286 + ], + "loc": { + "start": { + "line": 186, + "column": 18 + }, + "end": { + "line": 186, + "column": 28 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3266, + 3286 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 28 + } + } + } + ], + "range": [ + 3199, + 3292 + ], + "loc": { + "start": { + "line": 183, + "column": 17 + }, + "end": { + "line": 187, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3186, + 3292 + ], + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 187, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 3298, + 3311 + ], + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 188, + "column": 17 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3323, + 3328 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "AlternateRows", + "range": [ + 3330, + 3343 + ], + "loc": { + "start": { + "line": 189, + "column": 15 + }, + "end": { + "line": 189, + "column": 28 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3323, + 3343 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 28 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3353, + 3357 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "alternateRows", + "raw": "'alternateRows'", + "range": [ + 3359, + 3374 + ], + "loc": { + "start": { + "line": 190, + "column": 14 + }, + "end": { + "line": 190, + "column": 29 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3353, + 3374 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 29 + } + } + } + ], + "range": [ + 3313, + 3380 + ], + "loc": { + "start": { + "line": 188, + "column": 19 + }, + "end": { + "line": 191, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3298, + 3380 + ], + "loc": { + "start": { + "line": 188, + "column": 4 + }, + "end": { + "line": 191, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "noResults", + "range": [ + 3386, + 3395 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 192, + "column": 13 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3407, + 3412 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "NoResults", + "range": [ + 3414, + 3423 + ], + "loc": { + "start": { + "line": 193, + "column": 15 + }, + "end": { + "line": 193, + "column": 24 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3407, + 3423 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 24 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3433, + 3437 + ], + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 194, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "noResults", + "raw": "'noResults'", + "range": [ + 3439, + 3450 + ], + "loc": { + "start": { + "line": 194, + "column": 14 + }, + "end": { + "line": 194, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3433, + 3450 + ], + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 194, + "column": 25 + } + } + } + ], + "range": [ + 3397, + 3456 + ], + "loc": { + "start": { + "line": 192, + "column": 15 + }, + "end": { + "line": 195, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3386, + 3456 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 195, + "column": 5 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "paging", + "range": [ + 3462, + 3468 + ], + "loc": { + "start": { + "line": 196, + "column": 4 + }, + "end": { + "line": 196, + "column": 10 + } + } + }, + "value": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 3480, + 3485 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 13 + } + } + }, + "value": { + "type": "Identifier", + "name": "Paging", + "range": [ + 3487, + 3493 + ], + "loc": { + "start": { + "line": 197, + "column": 15 + }, + "end": { + "line": 197, + "column": 21 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3480, + 3493 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 21 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 3503, + 3507 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + "value": { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 3509, + 3517 + ], + "loc": { + "start": { + "line": 198, + "column": 14 + }, + "end": { + "line": 198, + "column": 22 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3503, + 3517 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 22 + } + } + } + ], + "range": [ + 3470, + 3523 + ], + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 199, + "column": 5 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3462, + 3523 + ], + "loc": { + "start": { + "line": 196, + "column": 4 + }, + "end": { + "line": 199, + "column": 5 + } + } + } + ], + "range": [ + 2303, + 3525 + ], + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 200, + "column": 1 + } + } + }, + "range": [ + 2292, + 3525 + ], + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 200, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2286, + 3526 + ], + "loc": { + "start": { + "line": 139, + "column": 7 + }, + "end": { + "line": 200, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter features definitions\n * @type {Object}\n ", + "range": [ + 2217, + 2278 + ], + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 138, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 2279, + 3526 + ], + "loc": { + "start": { + "line": 139, + "column": 0 + }, + "end": { + "line": 200, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter features definitions\n * @type {Object}\n ", + "range": [ + 2217, + 2278 + ], + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 138, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 3526 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 200, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Filter types\n ", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Input filter type\n * @type {String}\n ", + "range": [ + 705, + 751 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Select filter type\n * @type {String}\n ", + "range": [ + 782, + 829 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Multiple select filter type\n * @type {String}\n ", + "range": [ + 862, + 918 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Checklist filter type\n * @type {String}\n ", + "range": [ + 955, + 1005 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * None filter type\n * @type {String}\n ", + "range": [ + 1044, + 1089 + ], + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Key codes\n ", + "range": [ + 1119, + 1139 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Enter key code\n * @type {Number}\n ", + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 53, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Tab key code\n * @type {Number}\n ", + "range": [ + 1214, + 1255 + ], + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Escape key code\n * @type {Number}\n ", + "range": [ + 1282, + 1326 + ], + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Up arrow key code\n * @type {Number}\n ", + "range": [ + 1354, + 1400 + ], + "loc": { + "start": { + "line": 65, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Down arrow key code\n * @type {Number}\n ", + "range": [ + 1433, + 1481 + ], + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * HTML tags\n ", + "range": [ + 1517, + 1537 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Header cell tag\n * @type {String}\n ", + "range": [ + 1539, + 1583 + ], + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 83, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Cell tag\n * @type {String}\n ", + "range": [ + 1616, + 1653 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Data types\n ", + "range": [ + 1685, + 1706 + ], + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * String\n * @type {String}\n ", + "range": [ + 1708, + 1743 + ], + "loc": { + "start": { + "line": 95, + "column": 0 + }, + "end": { + "line": 98, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Number\n * @type {String}\n ", + "range": [ + 1777, + 1812 + ], + "loc": { + "start": { + "line": 101, + "column": 0 + }, + "end": { + "line": 104, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Formatted number\n * @type {String}\n ", + "range": [ + 1846, + 1891 + ], + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 110, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Date\n * @type {String}\n ", + "range": [ + 1945, + 1978 + ], + "loc": { + "start": { + "line": 113, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * IP address\n * @type {String}\n ", + "range": [ + 2008, + 2047 + ], + "loc": { + "start": { + "line": 119, + "column": 0 + }, + "end": { + "line": 122, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Default values\n ", + "range": [ + 2088, + 2113 + ], + "loc": { + "start": { + "line": 125, + "column": 0 + }, + "end": { + "line": 127, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto filter delay in milliseconds\n * @type {Number}\n ", + "range": [ + 2115, + 2177 + ], + "loc": { + "start": { + "line": 129, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter features definitions\n * @type {Object}\n ", + "range": [ + 2217, + 2278 + ], + "loc": { + "start": { + "line": 135, + "column": 0 + }, + "end": { + "line": 138, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/cookie.js.json b/docs/ast/source/cookie.js.json new file mode 100644 index 00000000..24a07d73 --- /dev/null +++ b/docs/ast/source/cookie.js.json @@ -0,0 +1,3121 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./root", + "raw": "'./root'", + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 0, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cookie utilities\n ", + "range": [ + 30, + 57 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "doc", + "range": [ + 65, + 68 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 9 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 71, + 75 + ], + "loc": { + "start": { + "line": 7, + "column": 12 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "document", + "range": [ + 76, + 84 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + "range": [ + 71, + 84 + ], + "loc": { + "start": { + "line": 7, + "column": 12 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + "range": [ + 65, + 84 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 25 + } + } + } + ], + "kind": "const", + "range": [ + 59, + 85 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cookie utilities\n ", + "range": [ + 30, + 57 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "write", + "range": [ + 297, + 302 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 303, + 307 + ], + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": "Identifier", + "name": "value", + "range": [ + 309, + 314 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "hours", + "range": [ + 316, + 321 + ], + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "expire", + "range": [ + 337, + 343 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 346, + 348 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + "range": [ + 337, + 348 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 333, + 349 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hours", + "range": [ + 362, + 367 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "expire", + "range": [ + 383, + 389 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 18 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Date", + "range": [ + 396, + 400 + ], + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Date", + "range": [ + 406, + 410 + ], + "loc": { + "start": { + "line": 20, + "column": 35 + }, + "end": { + "line": 20, + "column": 39 + } + } + }, + "arguments": [], + "range": [ + 402, + 412 + ], + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 414, + 421 + ], + "loc": { + "start": { + "line": 20, + "column": 43 + }, + "end": { + "line": 20, + "column": 50 + } + } + }, + "range": [ + 401, + 421 + ], + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 401, + 423 + ], + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 52 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "hours", + "range": [ + 426, + 431 + ], + "loc": { + "start": { + "line": 20, + "column": 55 + }, + "end": { + "line": 20, + "column": 60 + } + } + }, + "right": { + "type": "Literal", + "value": 3600000, + "raw": "3600000", + "range": [ + 434, + 441 + ], + "loc": { + "start": { + "line": 20, + "column": 63 + }, + "end": { + "line": 20, + "column": 70 + } + } + }, + "range": [ + 426, + 441 + ], + "loc": { + "start": { + "line": 20, + "column": 55 + }, + "end": { + "line": 20, + "column": 70 + } + } + }, + "range": [ + 401, + 441 + ], + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 70 + } + } + } + ], + "range": [ + 392, + 442 + ], + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 71 + } + } + }, + "range": [ + 383, + 442 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 71 + } + } + }, + "range": [ + 383, + 443 + ], + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 72 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "expire", + "range": [ + 456, + 462 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "; expires=", + "raw": "'; expires='", + "range": [ + 465, + 477 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "expire", + "range": [ + 480, + 486 + ], + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "toGMTString", + "range": [ + 487, + 498 + ], + "loc": { + "start": { + "line": 21, + "column": 43 + }, + "end": { + "line": 21, + "column": 54 + } + } + }, + "range": [ + 480, + 498 + ], + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 54 + } + } + }, + "arguments": [], + "range": [ + 480, + 500 + ], + "loc": { + "start": { + "line": 21, + "column": 36 + }, + "end": { + "line": 21, + "column": 56 + } + } + }, + "range": [ + 465, + 500 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 56 + } + } + }, + "range": [ + 456, + 500 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 56 + } + } + }, + "range": [ + 456, + 501 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 57 + } + } + } + ], + "range": [ + 369, + 511 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 358, + 511 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 520, + 523 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookie", + "range": [ + 524, + 530 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + "range": [ + 520, + 530 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 533, + 537 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": "=", + "raw": "'='", + "range": [ + 540, + 543 + ], + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + "range": [ + 533, + 543 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "escape", + "range": [ + 546, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 553, + 558 + ], + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 46 + } + } + } + ], + "range": [ + 546, + 559 + ], + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 47 + } + } + }, + "range": [ + 533, + 559 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 47 + } + } + }, + "right": { + "type": "Identifier", + "name": "expire", + "range": [ + 562, + 568 + ], + "loc": { + "start": { + "line": 23, + "column": 50 + }, + "end": { + "line": 23, + "column": 56 + } + } + }, + "range": [ + 533, + 568 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 56 + } + } + }, + "range": [ + 520, + 568 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 56 + } + } + }, + "range": [ + 520, + 569 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 57 + } + } + } + ], + "range": [ + 323, + 575 + ], + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 302, + 575 + ], + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 297, + 575 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "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", + "key": { + "type": "Identifier", + "name": "read", + "range": [ + 711, + 715 + ], + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 716, + 720 + ], + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 13 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cookieValue", + "range": [ + 736, + 747 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + "init": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 750, + 752 + ], + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + "range": [ + 736, + 752 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "search", + "range": [ + 766, + 772 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 775, + 779 + ], + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": "=", + "raw": "'='", + "range": [ + 782, + 785 + ], + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 31 + } + } + }, + "range": [ + 775, + 785 + ], + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 31 + } + } + }, + "range": [ + 766, + 785 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 31 + } + } + } + ], + "kind": "let", + "range": [ + 732, + 786 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 33, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 799, + 802 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookie", + "range": [ + 803, + 809 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + "range": [ + 799, + 809 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 810, + 816 + ], + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + "range": [ + 799, + 816 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 819, + 820 + ], + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + "range": [ + 799, + 820 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cookie", + "range": [ + 840, + 846 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 849, + 852 + ], + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookie", + "range": [ + 853, + 859 + ], + "loc": { + "start": { + "line": 35, + "column": 29 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + "range": [ + 849, + 859 + ], + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + "range": [ + 840, + 859 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "offset", + "range": [ + 877, + 883 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cookie", + "range": [ + 886, + 892 + ], + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 893, + 900 + ], + "loc": { + "start": { + "line": 36, + "column": 32 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + "range": [ + 886, + 900 + ], + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "search", + "range": [ + 901, + 907 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 46 + } + } + } + ], + "range": [ + 886, + 908 + ], + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 47 + } + } + }, + "range": [ + 877, + 908 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 836, + 909 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 36, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "offset", + "range": [ + 926, + 932 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 938, + 939 + ], + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 937, + 939 + ], + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + "range": [ + 926, + 939 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "Identifier", + "name": "offset", + "range": [ + 959, + 965 + ], + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "search", + "range": [ + 969, + 975 + ], + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 976, + 982 + ], + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + "range": [ + 969, + 982 + ], + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + "range": [ + 959, + 982 + ], + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + "range": [ + 959, + 983 + ], + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "end", + "range": [ + 1004, + 1007 + ], + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cookie", + "range": [ + 1010, + 1016 + ], + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 1017, + 1024 + ], + "loc": { + "start": { + "line": 39, + "column": 33 + }, + "end": { + "line": 39, + "column": 40 + } + } + }, + "range": [ + 1010, + 1024 + ], + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": ";", + "raw": "';'", + "range": [ + 1025, + 1028 + ], + "loc": { + "start": { + "line": 39, + "column": 41 + }, + "end": { + "line": 39, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "offset", + "range": [ + 1030, + 1036 + ], + "loc": { + "start": { + "line": 39, + "column": 46 + }, + "end": { + "line": 39, + "column": 52 + } + } + } + ], + "range": [ + 1010, + 1037 + ], + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 53 + } + } + }, + "range": [ + 1004, + 1037 + ], + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 1000, + 1038 + ], + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 54 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "end", + "range": [ + 1059, + 1062 + ], + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1068, + 1069 + ], + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 1067, + 1069 + ], + "loc": { + "start": { + "line": 40, + "column": 28 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + "range": [ + 1059, + 1069 + ], + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "end", + "range": [ + 1093, + 1096 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cookie", + "range": [ + 1099, + 1105 + ], + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1106, + 1112 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + "range": [ + 1099, + 1112 + ], + "loc": { + "start": { + "line": 41, + "column": 26 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + "range": [ + 1093, + 1112 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + "range": [ + 1093, + 1113 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 40 + } + } + } + ], + "range": [ + 1071, + 1131 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 1055, + 1131 + ], + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "cookieValue", + "range": [ + 1148, + 1159 + ], + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "unescape", + "range": [ + 1162, + 1170 + ], + "loc": { + "start": { + "line": 43, + "column": 30 + }, + "end": { + "line": 43, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cookie", + "range": [ + 1171, + 1177 + ], + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 43, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "substring", + "range": [ + 1178, + 1187 + ], + "loc": { + "start": { + "line": 43, + "column": 46 + }, + "end": { + "line": 43, + "column": 55 + } + } + }, + "range": [ + 1171, + 1187 + ], + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 43, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "offset", + "range": [ + 1188, + 1194 + ], + "loc": { + "start": { + "line": 43, + "column": 56 + }, + "end": { + "line": 43, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "end", + "range": [ + 1196, + 1199 + ], + "loc": { + "start": { + "line": 43, + "column": 64 + }, + "end": { + "line": 43, + "column": 67 + } + } + } + ], + "range": [ + 1171, + 1200 + ], + "loc": { + "start": { + "line": 43, + "column": 39 + }, + "end": { + "line": 43, + "column": 68 + } + } + } + ], + "range": [ + 1162, + 1201 + ], + "loc": { + "start": { + "line": 43, + "column": 30 + }, + "end": { + "line": 43, + "column": 69 + } + } + }, + "range": [ + 1148, + 1201 + ], + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 69 + } + } + }, + "range": [ + 1148, + 1202 + ], + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 70 + } + } + } + ], + "range": [ + 941, + 1216 + ], + "loc": { + "start": { + "line": 37, + "column": 31 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 922, + 1216 + ], + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 44, + "column": 13 + } + } + } + ], + "range": [ + 822, + 1226 + ], + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 795, + 1226 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 45, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "cookieValue", + "range": [ + 1242, + 1253 + ], + "loc": { + "start": { + "line": 46, + "column": 15 + }, + "end": { + "line": 46, + "column": 26 + } + } + }, + "range": [ + 1235, + 1254 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 27 + } + } + } + ], + "range": [ + 722, + 1260 + ], + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 47, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 715, + 1260 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 47, + "column": 5 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 711, + 1260 + ], + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "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", + "key": { + "type": "Identifier", + "name": "remove", + "range": [ + 1353, + 1359 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 1360, + 1364 + ], + "loc": { + "start": { + "line": 53, + "column": 11 + }, + "end": { + "line": 53, + "column": 15 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1376, + 1380 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "write", + "range": [ + 1381, + 1386 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 18 + } + } + }, + "range": [ + 1376, + 1386 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 1387, + 1391 + ], + "loc": { + "start": { + "line": 54, + "column": 19 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 1393, + 1395 + ], + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1398, + 1399 + ], + "loc": { + "start": { + "line": 54, + "column": 30 + }, + "end": { + "line": 54, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 1397, + 1399 + ], + "loc": { + "start": { + "line": 54, + "column": 29 + }, + "end": { + "line": 54, + "column": 31 + } + } + } + ], + "range": [ + 1376, + 1400 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + "range": [ + 1376, + 1401 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 33 + } + } + } + ], + "range": [ + 1366, + 1407 + ], + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1359, + 1407 + ], + "loc": { + "start": { + "line": 53, + "column": 10 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 1353, + 1407 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "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, + 1410 + ], + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 57, + "column": 1 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "range": [ + 87, + 1411 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 57, + "column": 2 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 1411 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 57, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Cookie utilities\n ", + "range": [ + 30, + 57 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "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": "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": "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 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/dom.js.json b/docs/ast/source/dom.js.json new file mode 100644 index 00000000..c33cacd7 --- /dev/null +++ b/docs/ast/source/dom.js.json @@ -0,0 +1,10331 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./root", + "raw": "'./root'", + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 0, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 37, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 37, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "range": [ + 37, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isString", + "range": [ + 46, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isString", + "range": [ + 46, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "range": [ + 46, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 56, + 63 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 56, + 63 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "range": [ + 56, + 63 + ], + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 34 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./types", + "raw": "'./types'", + "range": [ + 70, + 79 + ], + "loc": { + "start": { + "line": 2, + "column": 41 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + "range": [ + 29, + 80 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "trim", + "range": [ + 89, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "trim", + "range": [ + 89, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "range": [ + 89, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./string", + "raw": "'./string'", + "range": [ + 100, + 110 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + "range": [ + 81, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * DOM utilities\n ", + "range": [ + 113, + 137 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "doc", + "range": [ + 145, + 148 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 9 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 151, + 155 + ], + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "document", + "range": [ + 156, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 25 + } + } + }, + "range": [ + 151, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 25 + } + } + }, + "range": [ + 145, + 164 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 25 + } + } + } + ], + "kind": "const", + "range": [ + 139, + 165 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * DOM utilities\n ", + "range": [ + 113, + 137 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n ", + "range": [ + 167, + 273 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getText", + "range": [ + 287, + 294 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 298, + 302 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 317, + 324 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 325, + 329 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "textContent", + "range": [ + 330, + 341 + ], + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + "range": [ + 325, + 341 + ], + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 32 + } + } + } + ], + "range": [ + 317, + 342 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 361, + 365 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 366, + 370 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerText", + "range": [ + 371, + 380 + ], + "loc": { + "start": { + "line": 18, + "column": 25 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + "range": [ + 366, + 380 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 34 + } + } + } + ], + "range": [ + 361, + 381 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + "range": [ + 354, + 382 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 36 + } + } + } + ], + "range": [ + 344, + 388 + ], + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 313, + 388 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 400, + 404 + ], + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 405, + 409 + ], + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "textContent", + "range": [ + 410, + 421 + ], + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + "range": [ + 405, + 421 + ], + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 32 + } + } + } + ], + "range": [ + 400, + 422 + ], + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 33 + } + } + }, + "range": [ + 393, + 423 + ], + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 34 + } + } + } + ], + "range": [ + 307, + 425 + ], + "loc": { + "start": { + "line": 16, + "column": 33 + }, + "end": { + "line": 21, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 297, + 425 + ], + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 21, + "column": 1 + } + } + }, + "range": [ + 287, + 425 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 21, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 281, + 426 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 21, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n ", + "range": [ + 167, + 273 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 428, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 274, + 426 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 21, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n ", + "range": [ + 167, + 273 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 428, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getFirstTextNode", + "range": [ + 566, + 582 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 586, + 590 + ], + "loc": { + "start": { + "line": 28, + "column": 33 + }, + "end": { + "line": 28, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 610, + 611 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 614, + 615 + ], + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + "range": [ + 610, + 615 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 606, + 615 + ], + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 617, + 618 + ], + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 621, + 625 + ], + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 626, + 636 + ], + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 39 + } + } + }, + "range": [ + 621, + 636 + ], + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 637, + 643 + ], + "loc": { + "start": { + "line": 29, + "column": 40 + }, + "end": { + "line": 29, + "column": 46 + } + } + }, + "range": [ + 621, + 643 + ], + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 46 + } + } + }, + "range": [ + 617, + 643 + ], + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 46 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 645, + 646 + ], + "loc": { + "start": { + "line": 29, + "column": 48 + }, + "end": { + "line": 29, + "column": 49 + } + } + }, + "prefix": false, + "range": [ + 645, + 648 + ], + "loc": { + "start": { + "line": 29, + "column": 48 + }, + "end": { + "line": 29, + "column": 51 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 664, + 665 + ], + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 668, + 672 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 673, + 683 + ], + "loc": { + "start": { + "line": 30, + "column": 21 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + "range": [ + 668, + 683 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 684, + 685 + ], + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + "range": [ + 668, + 686 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + "range": [ + 664, + 686 + ], + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 660, + 687 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 700, + 701 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeType", + "range": [ + 702, + 710 + ], + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + "range": [ + 700, + 710 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 715, + 716 + ], + "loc": { + "start": { + "line": 31, + "column": 27 + }, + "end": { + "line": 31, + "column": 28 + } + } + }, + "range": [ + 700, + 716 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 739, + 740 + ], + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "data", + "range": [ + 741, + 745 + ], + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + "range": [ + 739, + 745 + ], + "loc": { + "start": { + "line": 32, + "column": 19 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + "range": [ + 732, + 746 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 26 + } + } + } + ], + "range": [ + 718, + 756 + ], + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 696, + 756 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 33, + "column": 9 + } + } + } + ], + "range": [ + 650, + 762 + ], + "loc": { + "start": { + "line": 29, + "column": 53 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + "range": [ + 601, + 762 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 34, + "column": 5 + } + } + } + ], + "range": [ + 595, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 42 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 585, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 32 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + "range": [ + 566, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 35, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 560, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 35, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 428, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 767, + 1086 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 553, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 35, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 428, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 767, + 1086 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "createElm", + "range": [ + 1100, + 1109 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "RestElement", + "argument": { + "type": "Identifier", + "name": "args", + "range": [ + 1116, + 1120 + ], + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + "range": [ + 1113, + 1120 + ], + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tag", + "range": [ + 1135, + 1138 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 11 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 1141, + 1145 + ], + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1146, + 1147 + ], + "loc": { + "start": { + "line": 45, + "column": 19 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + "range": [ + 1141, + 1148 + ], + "loc": { + "start": { + "line": 45, + "column": 14 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + "range": [ + 1135, + 1148 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 21 + } + } + } + ], + "kind": "let", + "range": [ + 1131, + 1149 + ], + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 22 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isString", + "range": [ + 1159, + 1167 + ], + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tag", + "range": [ + 1168, + 1171 + ], + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 21 + } + } + } + ], + "range": [ + 1159, + 1172 + ], + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 1158, + 1172 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1191, + 1195 + ], + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + "range": [ + 1184, + 1196 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 20 + } + } + } + ], + "range": [ + 1174, + 1202 + ], + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1154, + 1202 + ], + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "el", + "range": [ + 1212, + 1214 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 10 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 1217, + 1220 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "createElement", + "range": [ + 1221, + 1234 + ], + "loc": { + "start": { + "line": 50, + "column": 17 + }, + "end": { + "line": 50, + "column": 30 + } + } + }, + "range": [ + 1217, + 1234 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tag", + "range": [ + 1235, + 1238 + ], + "loc": { + "start": { + "line": 50, + "column": 31 + }, + "end": { + "line": 50, + "column": 34 + } + } + } + ], + "range": [ + 1217, + 1239 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 35 + } + } + }, + "range": [ + 1212, + 1239 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 1208, + 1240 + ], + "loc": { + "start": { + "line": 50, + "column": 4 + }, + "end": { + "line": 50, + "column": 36 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 1254, + 1255 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1258, + 1259 + ], + "loc": { + "start": { + "line": 51, + "column": 17 + }, + "end": { + "line": 51, + "column": 18 + } + } + }, + "range": [ + 1254, + 1259 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 1250, + 1259 + ], + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 18 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1261, + 1262 + ], + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 1265, + 1269 + ], + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1270, + 1276 + ], + "loc": { + "start": { + "line": 51, + "column": 29 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + "range": [ + 1265, + 1276 + ], + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + "range": [ + 1261, + 1276 + ], + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1278, + 1279 + ], + "loc": { + "start": { + "line": 51, + "column": 37 + }, + "end": { + "line": 51, + "column": 38 + } + } + }, + "prefix": false, + "range": [ + 1278, + 1281 + ], + "loc": { + "start": { + "line": 51, + "column": 37 + }, + "end": { + "line": 51, + "column": 40 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "arg", + "range": [ + 1297, + 1300 + ], + "loc": { + "start": { + "line": 52, + "column": 12 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 1303, + 1307 + ], + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 1308, + 1309 + ], + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 24 + } + } + }, + "range": [ + 1303, + 1310 + ], + "loc": { + "start": { + "line": 52, + "column": 18 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + "range": [ + 1297, + 1310 + ], + "loc": { + "start": { + "line": 52, + "column": 12 + }, + "end": { + "line": 52, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 1293, + 1311 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 26 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 1325, + 1332 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 1333, + 1336 + ], + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 23 + } + } + } + ], + "range": [ + 1325, + 1337 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "arg", + "range": [ + 1341, + 1344 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1345, + 1351 + ], + "loc": { + "start": { + "line": 54, + "column": 32 + }, + "end": { + "line": 54, + "column": 38 + } + } + }, + "range": [ + 1341, + 1351 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 1356, + 1357 + ], + "loc": { + "start": { + "line": 54, + "column": 43 + }, + "end": { + "line": 54, + "column": 44 + } + } + }, + "range": [ + 1341, + 1357 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 44 + } + } + }, + "range": [ + 1325, + 1357 + ], + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "el", + "range": [ + 1373, + 1375 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 1376, + 1388 + ], + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "range": [ + 1373, + 1388 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "arg", + "range": [ + 1389, + 1392 + ], + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 31 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1393, + 1394 + ], + "loc": { + "start": { + "line": 55, + "column": 32 + }, + "end": { + "line": 55, + "column": 33 + } + } + }, + "range": [ + 1389, + 1395 + ], + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 34 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "arg", + "range": [ + 1397, + 1400 + ], + "loc": { + "start": { + "line": 55, + "column": 36 + }, + "end": { + "line": 55, + "column": 39 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1401, + 1402 + ], + "loc": { + "start": { + "line": 55, + "column": 40 + }, + "end": { + "line": 55, + "column": 41 + } + } + }, + "range": [ + 1397, + 1403 + ], + "loc": { + "start": { + "line": 55, + "column": 36 + }, + "end": { + "line": 55, + "column": 42 + } + } + } + ], + "range": [ + 1373, + 1404 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 43 + } + } + }, + "range": [ + 1373, + 1405 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 44 + } + } + } + ], + "range": [ + 1359, + 1415 + ], + "loc": { + "start": { + "line": 54, + "column": 46 + }, + "end": { + "line": 56, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1321, + 1415 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 56, + "column": 9 + } + } + } + ], + "range": [ + 1283, + 1421 + ], + "loc": { + "start": { + "line": 51, + "column": 42 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + "range": [ + 1245, + 1421 + ], + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "el", + "range": [ + 1433, + 1435 + ], + "loc": { + "start": { + "line": 58, + "column": 11 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + "range": [ + 1426, + 1436 + ], + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 14 + } + } + } + ], + "range": [ + 1125, + 1438 + ], + "loc": { + "start": { + "line": 44, + "column": 38 + }, + "end": { + "line": 59, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1112, + 1438 + ], + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 59, + "column": 1 + } + } + }, + "range": [ + 1100, + 1438 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 59, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 1094, + 1439 + ], + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 59, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 767, + 1086 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", + "range": [ + 1441, + 1552 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 65, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1087, + 1439 + ], + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 59, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 767, + 1086 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", + "range": [ + 1441, + 1552 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 65, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 1566, + 1575 + ], + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 1579, + 1583 + ], + "loc": { + "start": { + "line": 66, + "column": 26 + }, + "end": { + "line": 66, + "column": 30 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1588, + 1592 + ], + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 1593, + 1603 + ], + "loc": { + "start": { + "line": 66, + "column": 40 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + "range": [ + 1588, + 1603 + ], + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeChild", + "range": [ + 1604, + 1615 + ], + "loc": { + "start": { + "line": 66, + "column": 51 + }, + "end": { + "line": 66, + "column": 62 + } + } + }, + "range": [ + 1588, + 1615 + ], + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 1616, + 1620 + ], + "loc": { + "start": { + "line": 66, + "column": 63 + }, + "end": { + "line": 66, + "column": 67 + } + } + } + ], + "range": [ + 1588, + 1621 + ], + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 68 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1578, + 1621 + ], + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 66, + "column": 68 + } + } + }, + "range": [ + 1566, + 1621 + ], + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 68 + } + } + } + ], + "kind": "const", + "range": [ + 1560, + 1622 + ], + "loc": { + "start": { + "line": 66, + "column": 7 + }, + "end": { + "line": 66, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", + "range": [ + 1441, + 1552 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 65, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", + "range": [ + 1624, + 1714 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1553, + 1622 + ], + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 66, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", + "range": [ + 1441, + 1552 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 65, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", + "range": [ + 1624, + 1714 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "createText", + "range": [ + 1728, + 1738 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "txt", + "range": [ + 1742, + 1745 + ], + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 30 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 1750, + 1753 + ], + "loc": { + "start": { + "line": 73, + "column": 35 + }, + "end": { + "line": 73, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "createTextNode", + "range": [ + 1754, + 1768 + ], + "loc": { + "start": { + "line": 73, + "column": 39 + }, + "end": { + "line": 73, + "column": 53 + } + } + }, + "range": [ + 1750, + 1768 + ], + "loc": { + "start": { + "line": 73, + "column": 35 + }, + "end": { + "line": 73, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "txt", + "range": [ + 1769, + 1772 + ], + "loc": { + "start": { + "line": 73, + "column": 54 + }, + "end": { + "line": 73, + "column": 57 + } + } + } + ], + "range": [ + 1750, + 1773 + ], + "loc": { + "start": { + "line": 73, + "column": 35 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1741, + 1773 + ], + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + "range": [ + 1728, + 1773 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 58 + } + } + } + ], + "kind": "const", + "range": [ + 1722, + 1774 + ], + "loc": { + "start": { + "line": 73, + "column": 7 + }, + "end": { + "line": 73, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", + "range": [ + 1624, + 1714 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n ", + "range": [ + 1776, + 1951 + ], + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1715, + 1774 + ], + "loc": { + "start": { + "line": 73, + "column": 0 + }, + "end": { + "line": 73, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", + "range": [ + 1624, + 1714 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n ", + "range": [ + 1776, + 1951 + ], + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasClass", + "range": [ + 1965, + 1973 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 1977, + 1980 + ], + "loc": { + "start": { + "line": 81, + "column": 25 + }, + "end": { + "line": 81, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "cls", + "range": [ + 1982, + 1985 + ], + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 2000, + 2007 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2008, + 2011 + ], + "loc": { + "start": { + "line": 82, + "column": 16 + }, + "end": { + "line": 82, + "column": 19 + } + } + } + ], + "range": [ + 2000, + 2012 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 2031, + 2036 + ], + "loc": { + "start": { + "line": 83, + "column": 15 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + "range": [ + 2024, + 2037 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 21 + } + } + } + ], + "range": [ + 2014, + 2043 + ], + "loc": { + "start": { + "line": 82, + "column": 22 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1996, + 2043 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "supportsClassList", + "range": [ + 2053, + 2070 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 2053, + 2072 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2091, + 2094 + ], + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "classList", + "range": [ + 2095, + 2104 + ], + "loc": { + "start": { + "line": 87, + "column": 19 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "range": [ + 2091, + 2104 + ], + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "contains", + "range": [ + 2105, + 2113 + ], + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + "range": [ + 2091, + 2113 + ], + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cls", + "range": [ + 2114, + 2117 + ], + "loc": { + "start": { + "line": 87, + "column": 38 + }, + "end": { + "line": 87, + "column": 41 + } + } + } + ], + "range": [ + 2091, + 2118 + ], + "loc": { + "start": { + "line": 87, + "column": 15 + }, + "end": { + "line": 87, + "column": 42 + } + } + }, + "range": [ + 2084, + 2119 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 43 + } + } + } + ], + "range": [ + 2074, + 2125 + ], + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2049, + 2125 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2137, + 2140 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2141, + 2150 + ], + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + "range": [ + 2137, + 2150 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "match", + "range": [ + 2151, + 2156 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + "range": [ + 2137, + 2156 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 2161, + 2167 + ], + "loc": { + "start": { + "line": 89, + "column": 35 + }, + "end": { + "line": 89, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "(\\s|^)", + "raw": "'(\\\\s|^)'", + "range": [ + 2168, + 2177 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "cls", + "range": [ + 2180, + 2183 + ], + "loc": { + "start": { + "line": 89, + "column": 54 + }, + "end": { + "line": 89, + "column": 57 + } + } + }, + "range": [ + 2168, + 2183 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": "(\\s|$)", + "raw": "'(\\\\s|$)'", + "range": [ + 2186, + 2195 + ], + "loc": { + "start": { + "line": 89, + "column": 60 + }, + "end": { + "line": 89, + "column": 69 + } + } + }, + "range": [ + 2168, + 2195 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 69 + } + } + } + ], + "range": [ + 2157, + 2196 + ], + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 70 + } + } + } + ], + "range": [ + 2137, + 2197 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 71 + } + } + }, + "range": [ + 2130, + 2198 + ], + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 72 + } + } + } + ], + "range": [ + 1990, + 2200 + ], + "loc": { + "start": { + "line": 81, + "column": 38 + }, + "end": { + "line": 90, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1976, + 2200 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 90, + "column": 1 + } + } + }, + "range": [ + 1965, + 2200 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 90, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 1959, + 2201 + ], + "loc": { + "start": { + "line": 81, + "column": 7 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n ", + "range": [ + 1776, + 1951 + ], + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2203, + 2337 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1952, + 2201 + ], + "loc": { + "start": { + "line": 81, + "column": 0 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n ", + "range": [ + 1776, + 1951 + ], + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2203, + 2337 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "addClass", + "range": [ + 2351, + 2359 + ], + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 21 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2363, + 2366 + ], + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "cls", + "range": [ + 2368, + 2371 + ], + "loc": { + "start": { + "line": 97, + "column": 30 + }, + "end": { + "line": 97, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 2386, + 2393 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2394, + 2397 + ], + "loc": { + "start": { + "line": 98, + "column": 16 + }, + "end": { + "line": 98, + "column": 19 + } + } + } + ], + "range": [ + 2386, + 2398 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2410, + 2417 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 15 + } + } + } + ], + "range": [ + 2400, + 2423 + ], + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2382, + 2423 + ], + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "supportsClassList", + "range": [ + 2433, + 2450 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 2433, + 2452 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2464, + 2467 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "classList", + "range": [ + 2468, + 2477 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + "range": [ + 2464, + 2477 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "add", + "range": [ + 2478, + 2481 + ], + "loc": { + "start": { + "line": 103, + "column": 22 + }, + "end": { + "line": 103, + "column": 25 + } + } + }, + "range": [ + 2464, + 2481 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cls", + "range": [ + 2482, + 2485 + ], + "loc": { + "start": { + "line": 103, + "column": 26 + }, + "end": { + "line": 103, + "column": 29 + } + } + } + ], + "range": [ + 2464, + 2486 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + "range": [ + 2464, + 2487 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2496, + 2503 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 15 + } + } + } + ], + "range": [ + 2454, + 2509 + ], + "loc": { + "start": { + "line": 102, + "column": 29 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2429, + 2509 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2519, + 2522 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2523, + 2532 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + "range": [ + 2519, + 2532 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 2537, + 2539 + ], + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + "range": [ + 2519, + 2539 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2551, + 2554 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2555, + 2564 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 21 + } + } + }, + "range": [ + 2551, + 2564 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "cls", + "range": [ + 2567, + 2570 + ], + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + "range": [ + 2551, + 2570 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + "range": [ + 2551, + 2571 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 28 + } + } + } + ], + "range": [ + 2541, + 2577 + ], + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 109, + "column": 5 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "hasClass", + "range": [ + 2592, + 2600 + ], + "loc": { + "start": { + "line": 110, + "column": 14 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2601, + 2604 + ], + "loc": { + "start": { + "line": 110, + "column": 23 + }, + "end": { + "line": 110, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "cls", + "range": [ + 2606, + 2609 + ], + "loc": { + "start": { + "line": 110, + "column": 28 + }, + "end": { + "line": 110, + "column": 31 + } + } + } + ], + "range": [ + 2592, + 2610 + ], + "loc": { + "start": { + "line": 110, + "column": 14 + }, + "end": { + "line": 110, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 2591, + 2610 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2622, + 2625 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2626, + 2635 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "range": [ + 2622, + 2635 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 2639, + 2642 + ], + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "cls", + "range": [ + 2645, + 2648 + ], + "loc": { + "start": { + "line": 111, + "column": 31 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + "range": [ + 2639, + 2648 + ], + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + "range": [ + 2622, + 2648 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + "range": [ + 2622, + 2649 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 35 + } + } + } + ], + "range": [ + 2612, + 2655 + ], + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2587, + 2655 + ], + "loc": { + "start": { + "line": 110, + "column": 9 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "range": [ + 2515, + 2655 + ], + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ], + "range": [ + 2376, + 2657 + ], + "loc": { + "start": { + "line": 97, + "column": 38 + }, + "end": { + "line": 113, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2362, + 2657 + ], + "loc": { + "start": { + "line": 97, + "column": 24 + }, + "end": { + "line": 113, + "column": 1 + } + } + }, + "range": [ + 2351, + 2657 + ], + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 113, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2345, + 2658 + ], + "loc": { + "start": { + "line": 97, + "column": 7 + }, + "end": { + "line": 113, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2203, + 2337 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2660, + 2797 + ], + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 119, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 2338, + 2658 + ], + "loc": { + "start": { + "line": 97, + "column": 0 + }, + "end": { + "line": 113, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2203, + 2337 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2660, + 2797 + ], + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 119, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 2811, + 2822 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2826, + 2829 + ], + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "cls", + "range": [ + 2831, + 2834 + ], + "loc": { + "start": { + "line": 120, + "column": 33 + }, + "end": { + "line": 120, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 2849, + 2856 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ele", + "range": [ + 2857, + 2860 + ], + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 19 + } + } + } + ], + "range": [ + 2849, + 2861 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2873, + 2880 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 15 + } + } + } + ], + "range": [ + 2863, + 2886 + ], + "loc": { + "start": { + "line": 121, + "column": 22 + }, + "end": { + "line": 123, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2845, + 2886 + ], + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 123, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "supportsClassList", + "range": [ + 2896, + 2913 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 2896, + 2915 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 2927, + 2930 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "classList", + "range": [ + 2931, + 2940 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 21 + } + } + }, + "range": [ + 2927, + 2940 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "remove", + "range": [ + 2941, + 2947 + ], + "loc": { + "start": { + "line": 126, + "column": 22 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + "range": [ + 2927, + 2947 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cls", + "range": [ + 2948, + 2951 + ], + "loc": { + "start": { + "line": 126, + "column": 29 + }, + "end": { + "line": 126, + "column": 32 + } + } + } + ], + "range": [ + 2927, + 2952 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 33 + } + } + }, + "range": [ + 2927, + 2953 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 34 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2962, + 2969 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 15 + } + } + } + ], + "range": [ + 2917, + 2975 + ], + "loc": { + "start": { + "line": 125, + "column": 29 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2892, + 2975 + ], + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reg", + "range": [ + 2984, + 2987 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 2994, + 3000 + ], + "loc": { + "start": { + "line": 129, + "column": 18 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "(\\s|^)", + "raw": "'(\\\\s|^)'", + "range": [ + 3001, + 3010 + ], + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 34 + } + } + }, + "right": { + "type": "Identifier", + "name": "cls", + "range": [ + 3013, + 3016 + ], + "loc": { + "start": { + "line": 129, + "column": 37 + }, + "end": { + "line": 129, + "column": 40 + } + } + }, + "range": [ + 3001, + 3016 + ], + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": "(\\s|$)", + "raw": "'(\\\\s|$)'", + "range": [ + 3019, + 3028 + ], + "loc": { + "start": { + "line": 129, + "column": 43 + }, + "end": { + "line": 129, + "column": 52 + } + } + }, + "range": [ + 3001, + 3028 + ], + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": "g", + "raw": "'g'", + "range": [ + 3030, + 3033 + ], + "loc": { + "start": { + "line": 129, + "column": 54 + }, + "end": { + "line": 129, + "column": 57 + } + } + } + ], + "range": [ + 2990, + 3034 + ], + "loc": { + "start": { + "line": 129, + "column": 14 + }, + "end": { + "line": 129, + "column": 58 + } + } + }, + "range": [ + 2984, + 3034 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 2980, + 3035 + ], + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 129, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 3040, + 3043 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 3044, + 3053 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + "range": [ + 3040, + 3053 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ele", + "range": [ + 3056, + 3059 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 3060, + 3069 + ], + "loc": { + "start": { + "line": 130, + "column": 24 + }, + "end": { + "line": 130, + "column": 33 + } + } + }, + "range": [ + 3056, + 3069 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 3070, + 3077 + ], + "loc": { + "start": { + "line": 130, + "column": 34 + }, + "end": { + "line": 130, + "column": 41 + } + } + }, + "range": [ + 3056, + 3077 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reg", + "range": [ + 3078, + 3081 + ], + "loc": { + "start": { + "line": 130, + "column": 42 + }, + "end": { + "line": 130, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 3083, + 3085 + ], + "loc": { + "start": { + "line": 130, + "column": 47 + }, + "end": { + "line": 130, + "column": 49 + } + } + } + ], + "range": [ + 3056, + 3086 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 50 + } + } + }, + "range": [ + 3040, + 3086 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 50 + } + } + }, + "range": [ + 3040, + 3087 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 51 + } + } + } + ], + "range": [ + 2839, + 3089 + ], + "loc": { + "start": { + "line": 120, + "column": 41 + }, + "end": { + "line": 131, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2825, + 3089 + ], + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 131, + "column": 1 + } + } + }, + "range": [ + 2811, + 3089 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 131, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2805, + 3090 + ], + "loc": { + "start": { + "line": 120, + "column": 7 + }, + "end": { + "line": 131, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2660, + 2797 + ], + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 119, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", + "range": [ + 3092, + 3315 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 139, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 2798, + 3090 + ], + "loc": { + "start": { + "line": 120, + "column": 0 + }, + "end": { + "line": 131, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2660, + 2797 + ], + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 119, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", + "range": [ + 3092, + 3315 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 139, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 3329, + 3338 + ], + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 3342, + 3346 + ], + "loc": { + "start": { + "line": 140, + "column": 26 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "value", + "range": [ + 3348, + 3353 + ], + "loc": { + "start": { + "line": 140, + "column": 32 + }, + "end": { + "line": 140, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "isSel", + "range": [ + 3355, + 3360 + ], + "loc": { + "start": { + "line": 140, + "column": 39 + }, + "end": { + "line": 140, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isSelected", + "range": [ + 3375, + 3385 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 18 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isSel", + "range": [ + 3388, + 3393 + ], + "loc": { + "start": { + "line": 141, + "column": 21 + }, + "end": { + "line": 141, + "column": 26 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3396, + 3400 + ], + "loc": { + "start": { + "line": 141, + "column": 29 + }, + "end": { + "line": 141, + "column": 33 + } + } + }, + "alternate": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 3403, + 3408 + ], + "loc": { + "start": { + "line": 141, + "column": 36 + }, + "end": { + "line": 141, + "column": 41 + } + } + }, + "range": [ + 3388, + 3408 + ], + "loc": { + "start": { + "line": 141, + "column": 21 + }, + "end": { + "line": 141, + "column": 41 + } + } + }, + "range": [ + 3375, + 3408 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 3371, + 3409 + ], + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt", + "range": [ + 3418, + 3421 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 11 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isSelected", + "range": [ + 3424, + 3434 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3445, + 3454 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "option", + "raw": "'option'", + "range": [ + 3455, + 3463 + ], + "loc": { + "start": { + "line": 143, + "column": 18 + }, + "end": { + "line": 143, + "column": 26 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 3466, + 3473 + ], + "loc": { + "start": { + "line": 143, + "column": 29 + }, + "end": { + "line": 143, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "value", + "range": [ + 3475, + 3480 + ], + "loc": { + "start": { + "line": 143, + "column": 38 + }, + "end": { + "line": 143, + "column": 43 + } + } + } + ], + "range": [ + 3465, + 3481 + ], + "loc": { + "start": { + "line": 143, + "column": 28 + }, + "end": { + "line": 143, + "column": 44 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "selected", + "raw": "'selected'", + "range": [ + 3484, + 3494 + ], + "loc": { + "start": { + "line": 143, + "column": 47 + }, + "end": { + "line": 143, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": "true", + "raw": "'true'", + "range": [ + 3496, + 3502 + ], + "loc": { + "start": { + "line": 143, + "column": 59 + }, + "end": { + "line": 143, + "column": 65 + } + } + } + ], + "range": [ + 3483, + 3503 + ], + "loc": { + "start": { + "line": 143, + "column": 46 + }, + "end": { + "line": 143, + "column": 66 + } + } + } + ], + "range": [ + 3445, + 3504 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 67 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3515, + 3524 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "option", + "raw": "'option'", + "range": [ + 3525, + 3533 + ], + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 144, + "column": 26 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 3536, + 3543 + ], + "loc": { + "start": { + "line": 144, + "column": 29 + }, + "end": { + "line": 144, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "value", + "range": [ + 3545, + 3550 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 43 + } + } + } + ], + "range": [ + 3535, + 3551 + ], + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 144, + "column": 44 + } + } + } + ], + "range": [ + 3515, + 3552 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + "range": [ + 3424, + 3552 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + "range": [ + 3418, + 3552 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 144, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 3414, + 3553 + ], + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 144, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opt", + "range": [ + 3558, + 3561 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3562, + 3573 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 19 + } + } + }, + "range": [ + 3558, + 3573 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 3574, + 3584 + ], + "loc": { + "start": { + "line": 145, + "column": 20 + }, + "end": { + "line": 145, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 3585, + 3589 + ], + "loc": { + "start": { + "line": 145, + "column": 31 + }, + "end": { + "line": 145, + "column": 35 + } + } + } + ], + "range": [ + 3574, + 3590 + ], + "loc": { + "start": { + "line": 145, + "column": 20 + }, + "end": { + "line": 145, + "column": 36 + } + } + } + ], + "range": [ + 3558, + 3591 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 37 + } + } + }, + "range": [ + 3558, + 3592 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 38 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "opt", + "range": [ + 3604, + 3607 + ], + "loc": { + "start": { + "line": 146, + "column": 11 + }, + "end": { + "line": 146, + "column": 14 + } + } + }, + "range": [ + 3597, + 3608 + ], + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 15 + } + } + } + ], + "range": [ + 3365, + 3610 + ], + "loc": { + "start": { + "line": 140, + "column": 49 + }, + "end": { + "line": 147, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3341, + 3610 + ], + "loc": { + "start": { + "line": 140, + "column": 25 + }, + "end": { + "line": 147, + "column": 1 + } + } + }, + "range": [ + 3329, + 3610 + ], + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 147, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 3323, + 3611 + ], + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 147, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", + "range": [ + 3092, + 3315 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 139, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", + "range": [ + 3613, + 3848 + ], + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 155, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 3316, + 3611 + ], + "loc": { + "start": { + "line": 140, + "column": 0 + }, + "end": { + "line": 147, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", + "range": [ + 3092, + 3315 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 139, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", + "range": [ + 3613, + 3848 + ], + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 155, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 3862, + 3877 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 28 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 3881, + 3883 + ], + "loc": { + "start": { + "line": 156, + "column": 32 + }, + "end": { + "line": 156, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "chkValue", + "range": [ + 3885, + 3893 + ], + "loc": { + "start": { + "line": 156, + "column": 36 + }, + "end": { + "line": 156, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "labelText", + "range": [ + 3895, + 3904 + ], + "loc": { + "start": { + "line": 156, + "column": 46 + }, + "end": { + "line": 156, + "column": 55 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 3919, + 3921 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 10 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3924, + 3933 + ], + "loc": { + "start": { + "line": 157, + "column": 13 + }, + "end": { + "line": 157, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "li", + "raw": "'li'", + "range": [ + 3934, + 3938 + ], + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 27 + } + } + } + ], + "range": [ + 3924, + 3939 + ], + "loc": { + "start": { + "line": 157, + "column": 13 + }, + "end": { + "line": 157, + "column": 28 + } + } + }, + "range": [ + 3919, + 3939 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 28 + } + } + } + ], + "kind": "let", + "range": [ + 3915, + 3940 + ], + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 29 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "label", + "range": [ + 3949, + 3954 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3957, + 3966 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "label", + "raw": "'label'", + "range": [ + 3967, + 3974 + ], + "loc": { + "start": { + "line": 158, + "column": 26 + }, + "end": { + "line": 158, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "for", + "raw": "'for'", + "range": [ + 3977, + 3982 + ], + "loc": { + "start": { + "line": 158, + "column": 36 + }, + "end": { + "line": 158, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 3984, + 3986 + ], + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 45 + } + } + } + ], + "range": [ + 3976, + 3987 + ], + "loc": { + "start": { + "line": 158, + "column": 35 + }, + "end": { + "line": 158, + "column": 46 + } + } + } + ], + "range": [ + 3957, + 3988 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 47 + } + } + }, + "range": [ + 3949, + 3988 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 3945, + 3989 + ], + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "check", + "range": [ + 3998, + 4003 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4006, + 4015 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "input", + "raw": "'input'", + "range": [ + 4016, + 4023 + ], + "loc": { + "start": { + "line": 159, + "column": 26 + }, + "end": { + "line": 159, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 4034, + 4038 + ], + "loc": { + "start": { + "line": 160, + "column": 9 + }, + "end": { + "line": 160, + "column": 13 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 4040, + 4042 + ], + "loc": { + "start": { + "line": 160, + "column": 15 + }, + "end": { + "line": 160, + "column": 17 + } + } + } + ], + "range": [ + 4033, + 4043 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 18 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "name", + "raw": "'name'", + "range": [ + 4054, + 4060 + ], + "loc": { + "start": { + "line": 161, + "column": 9 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "id", + "range": [ + 4062, + 4064 + ], + "loc": { + "start": { + "line": 161, + "column": 17 + }, + "end": { + "line": 161, + "column": 19 + } + } + } + ], + "range": [ + 4053, + 4065 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 20 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 4076, + 4082 + ], + "loc": { + "start": { + "line": 162, + "column": 9 + }, + "end": { + "line": 162, + "column": 15 + } + } + }, + { + "type": "Literal", + "value": "checkbox", + "raw": "'checkbox'", + "range": [ + 4084, + 4094 + ], + "loc": { + "start": { + "line": 162, + "column": 17 + }, + "end": { + "line": 162, + "column": 27 + } + } + } + ], + "range": [ + 4075, + 4095 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 28 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 4106, + 4113 + ], + "loc": { + "start": { + "line": 163, + "column": 9 + }, + "end": { + "line": 163, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "chkValue", + "range": [ + 4115, + 4123 + ], + "loc": { + "start": { + "line": 163, + "column": 18 + }, + "end": { + "line": 163, + "column": 26 + } + } + } + ], + "range": [ + 4105, + 4124 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 27 + } + } + } + ], + "range": [ + 4006, + 4130 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 164, + "column": 5 + } + } + }, + "range": [ + 3998, + 4130 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 164, + "column": 5 + } + } + } + ], + "kind": "let", + "range": [ + 3994, + 4131 + ], + "loc": { + "start": { + "line": 159, + "column": 4 + }, + "end": { + "line": 164, + "column": 6 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "label", + "range": [ + 4136, + 4141 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4142, + 4153 + ], + "loc": { + "start": { + "line": 165, + "column": 10 + }, + "end": { + "line": 165, + "column": 21 + } + } + }, + "range": [ + 4136, + 4153 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "check", + "range": [ + 4154, + 4159 + ], + "loc": { + "start": { + "line": 165, + "column": 22 + }, + "end": { + "line": 165, + "column": 27 + } + } + } + ], + "range": [ + 4136, + 4160 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 28 + } + } + }, + "range": [ + 4136, + 4161 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "label", + "range": [ + 4166, + 4171 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4172, + 4183 + ], + "loc": { + "start": { + "line": 166, + "column": 10 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + "range": [ + 4166, + 4183 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 4184, + 4194 + ], + "loc": { + "start": { + "line": 166, + "column": 22 + }, + "end": { + "line": 166, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "labelText", + "range": [ + 4195, + 4204 + ], + "loc": { + "start": { + "line": 166, + "column": 33 + }, + "end": { + "line": 166, + "column": 42 + } + } + } + ], + "range": [ + 4184, + 4205 + ], + "loc": { + "start": { + "line": 166, + "column": 22 + }, + "end": { + "line": 166, + "column": 43 + } + } + } + ], + "range": [ + 4166, + 4206 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 44 + } + } + }, + "range": [ + 4166, + 4207 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 4212, + 4214 + ], + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4215, + 4226 + ], + "loc": { + "start": { + "line": 167, + "column": 7 + }, + "end": { + "line": 167, + "column": 18 + } + } + }, + "range": [ + 4212, + 4226 + ], + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "label", + "range": [ + 4227, + 4232 + ], + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 24 + } + } + } + ], + "range": [ + 4212, + 4233 + ], + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + "range": [ + 4212, + 4234 + ], + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 4239, + 4241 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 4242, + 4247 + ], + "loc": { + "start": { + "line": 168, + "column": 7 + }, + "end": { + "line": 168, + "column": 12 + } + } + }, + "range": [ + 4239, + 4247 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "label", + "range": [ + 4250, + 4255 + ], + "loc": { + "start": { + "line": 168, + "column": 15 + }, + "end": { + "line": 168, + "column": 20 + } + } + }, + "range": [ + 4239, + 4255 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 20 + } + } + }, + "range": [ + 4239, + 4256 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 168, + "column": 21 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 4261, + 4263 + ], + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 4264, + 4269 + ], + "loc": { + "start": { + "line": 169, + "column": 7 + }, + "end": { + "line": 169, + "column": 12 + } + } + }, + "range": [ + 4261, + 4269 + ], + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "check", + "range": [ + 4272, + 4277 + ], + "loc": { + "start": { + "line": 169, + "column": 15 + }, + "end": { + "line": 169, + "column": 20 + } + } + }, + "range": [ + 4261, + 4277 + ], + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 20 + } + } + }, + "range": [ + 4261, + 4278 + ], + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "li", + "range": [ + 4290, + 4292 + ], + "loc": { + "start": { + "line": 170, + "column": 11 + }, + "end": { + "line": 170, + "column": 13 + } + } + }, + "range": [ + 4283, + 4293 + ], + "loc": { + "start": { + "line": 170, + "column": 4 + }, + "end": { + "line": 170, + "column": 14 + } + } + } + ], + "range": [ + 3909, + 4295 + ], + "loc": { + "start": { + "line": 156, + "column": 60 + }, + "end": { + "line": 171, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3880, + 4295 + ], + "loc": { + "start": { + "line": 156, + "column": 31 + }, + "end": { + "line": 171, + "column": 1 + } + } + }, + "range": [ + 3862, + 4295 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 171, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 3856, + 4296 + ], + "loc": { + "start": { + "line": 156, + "column": 7 + }, + "end": { + "line": 171, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", + "range": [ + 3613, + 3848 + ], + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 155, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n ", + "range": [ + 4298, + 4420 + ], + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 3849, + 4296 + ], + "loc": { + "start": { + "line": 156, + "column": 0 + }, + "end": { + "line": 171, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", + "range": [ + 3613, + 3848 + ], + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 155, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n ", + "range": [ + 4298, + 4420 + ], + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 4434, + 4437 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 4441, + 4443 + ], + "loc": { + "start": { + "line": 178, + "column": 20 + }, + "end": { + "line": 178, + "column": 22 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 4448, + 4451 + ], + "loc": { + "start": { + "line": 178, + "column": 27 + }, + "end": { + "line": 178, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getElementById", + "range": [ + 4452, + 4466 + ], + "loc": { + "start": { + "line": 178, + "column": 31 + }, + "end": { + "line": 178, + "column": 45 + } + } + }, + "range": [ + 4448, + 4466 + ], + "loc": { + "start": { + "line": 178, + "column": 27 + }, + "end": { + "line": 178, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 4467, + 4469 + ], + "loc": { + "start": { + "line": 178, + "column": 46 + }, + "end": { + "line": 178, + "column": 48 + } + } + } + ], + "range": [ + 4448, + 4470 + ], + "loc": { + "start": { + "line": 178, + "column": 27 + }, + "end": { + "line": 178, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4440, + 4470 + ], + "loc": { + "start": { + "line": 178, + "column": 19 + }, + "end": { + "line": 178, + "column": 49 + } + } + }, + "range": [ + 4434, + 4470 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 49 + } + } + } + ], + "kind": "const", + "range": [ + 4428, + 4471 + ], + "loc": { + "start": { + "line": 178, + "column": 7 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n ", + "range": [ + 4298, + 4420 + ], + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n ", + "range": [ + 4473, + 4598 + ], + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 184, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 4421, + 4471 + ], + "loc": { + "start": { + "line": 178, + "column": 0 + }, + "end": { + "line": 178, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n ", + "range": [ + 4298, + 4420 + ], + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n ", + "range": [ + 4473, + 4598 + ], + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 184, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tag", + "range": [ + 4612, + 4615 + ], + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 16 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "o", + "range": [ + 4619, + 4620 + ], + "loc": { + "start": { + "line": 185, + "column": 20 + }, + "end": { + "line": 185, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "tagname", + "range": [ + 4622, + 4629 + ], + "loc": { + "start": { + "line": 185, + "column": 23 + }, + "end": { + "line": 185, + "column": 30 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 4634, + 4635 + ], + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "getElementsByTagName", + "range": [ + 4636, + 4656 + ], + "loc": { + "start": { + "line": 185, + "column": 37 + }, + "end": { + "line": 185, + "column": 57 + } + } + }, + "range": [ + 4634, + 4656 + ], + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tagname", + "range": [ + 4657, + 4664 + ], + "loc": { + "start": { + "line": 185, + "column": 58 + }, + "end": { + "line": 185, + "column": 65 + } + } + } + ], + "range": [ + 4634, + 4665 + ], + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4618, + 4665 + ], + "loc": { + "start": { + "line": 185, + "column": 19 + }, + "end": { + "line": 185, + "column": 66 + } + } + }, + "range": [ + 4612, + 4665 + ], + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 66 + } + } + } + ], + "kind": "const", + "range": [ + 4606, + 4666 + ], + "loc": { + "start": { + "line": 185, + "column": 7 + }, + "end": { + "line": 185, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n ", + "range": [ + 4473, + 4598 + ], + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 184, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " HTML5 classList API", + "range": [ + 4668, + 4690 + ], + "loc": { + "start": { + "line": 187, + "column": 0 + }, + "end": { + "line": 187, + "column": 22 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 4599, + 4666 + ], + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n ", + "range": [ + 4473, + 4598 + ], + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 184, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " HTML5 classList API", + "range": [ + 4668, + 4690 + ], + "loc": { + "start": { + "line": 187, + "column": 0 + }, + "end": { + "line": 187, + "column": 22 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "supportsClassList", + "range": [ + 4700, + 4717 + ], + "loc": { + "start": { + "line": 188, + "column": 9 + }, + "end": { + "line": 188, + "column": 26 + } + } + }, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 4733, + 4736 + ], + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "documentElement", + "range": [ + 4737, + 4752 + ], + "loc": { + "start": { + "line": 189, + "column": 15 + }, + "end": { + "line": 189, + "column": 30 + } + } + }, + "range": [ + 4733, + 4752 + ], + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "classList", + "range": [ + 4753, + 4762 + ], + "loc": { + "start": { + "line": 189, + "column": 31 + }, + "end": { + "line": 189, + "column": 40 + } + } + }, + "range": [ + 4733, + 4762 + ], + "loc": { + "start": { + "line": 189, + "column": 11 + }, + "end": { + "line": 189, + "column": 40 + } + } + }, + "range": [ + 4726, + 4763 + ], + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 189, + "column": 41 + } + } + } + ], + "range": [ + 4720, + 4765 + ], + "loc": { + "start": { + "line": 188, + "column": 29 + }, + "end": { + "line": 190, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4691, + 4765 + ], + "loc": { + "start": { + "line": 188, + "column": 0 + }, + "end": { + "line": 190, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " HTML5 classList API", + "range": [ + 4668, + 4690 + ], + "loc": { + "start": { + "line": 187, + "column": 0 + }, + "end": { + "line": 187, + "column": 22 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 4765 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 190, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * DOM utilities\n ", + "range": [ + 113, + 137 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n ", + "range": [ + 167, + 273 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n ", + "range": [ + 428, + 552 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n ", + "range": [ + 767, + 1086 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 43, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n ", + "range": [ + 1441, + 1552 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 65, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n ", + "range": [ + 1624, + 1714 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n ", + "range": [ + 1776, + 1951 + ], + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2203, + 2337 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n ", + "range": [ + 2660, + 2797 + ], + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 119, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n ", + "range": [ + 3092, + 3315 + ], + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 139, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n ", + "range": [ + 3613, + 3848 + ], + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 155, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n ", + "range": [ + 4298, + 4420 + ], + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 177, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n ", + "range": [ + 4473, + 4598 + ], + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 184, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " HTML5 classList API", + "range": [ + 4668, + 4690 + ], + "loc": { + "start": { + "line": 187, + "column": 0 + }, + "end": { + "line": 187, + "column": 22 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/emitter.js.json b/docs/ast/source/emitter.js.json new file mode 100644 index 00000000..2ef5701b --- /dev/null +++ b/docs/ast/source/emitter.js.json @@ -0,0 +1,2962 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Emitter", + "range": [ + 44, + 51 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 113, + 124 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 212, + 216 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 217, + 223 + ], + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + "range": [ + 212, + 223 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 226, + 228 + ], + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + "range": [ + 212, + 228 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + "range": [ + 212, + 229 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Events object\n * @type {Object}\n ", + "range": [ + 137, + 203 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 12, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 127, + 235 + ], + "loc": { + "start": { + "line": 8, + "column": 18 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 124, + 235 + ], + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 113, + 235 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 14, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Emitter.\n ", + "range": [ + 58, + 108 + ], + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 7, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 241, + 406 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "on", + "range": [ + 411, + 413 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evts", + "range": [ + 414, + 418 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + { + "type": "Identifier", + "name": "fn", + "range": [ + 420, + 422 + ], + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 15 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evts", + "range": [ + 434, + 438 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 439, + 446 + ], + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + "range": [ + 434, + 446 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 448, + 451 + ], + "loc": { + "start": { + "line": 22, + "column": 22 + }, + "end": { + "line": 22, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 470, + 474 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 475, + 481 + ], + "loc": { + "start": { + "line": 23, + "column": 17 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + "range": [ + 470, + 481 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 482, + 485 + ], + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 470, + 486 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 489, + 493 + ], + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 494, + 500 + ], + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 42 + } + } + }, + "range": [ + 489, + 500 + ], + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 501, + 504 + ], + "loc": { + "start": { + "line": 23, + "column": 43 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + "range": [ + 489, + 505 + ], + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 47 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 509, + 511 + ], + "loc": { + "start": { + "line": 23, + "column": 51 + }, + "end": { + "line": 23, + "column": 53 + } + } + }, + "range": [ + 489, + 511 + ], + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 53 + } + } + }, + "range": [ + 470, + 511 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 53 + } + } + }, + "range": [ + 470, + 512 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 525, + 529 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 530, + 536 + ], + "loc": { + "start": { + "line": 24, + "column": 17 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "range": [ + 525, + 536 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 537, + 540 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + "range": [ + 525, + 541 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 542, + 546 + ], + "loc": { + "start": { + "line": 24, + "column": 29 + }, + "end": { + "line": 24, + "column": 33 + } + } + }, + "range": [ + 525, + 546 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fn", + "range": [ + 547, + 549 + ], + "loc": { + "start": { + "line": 24, + "column": 34 + }, + "end": { + "line": 24, + "column": 36 + } + } + } + ], + "range": [ + 525, + 550 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + "range": [ + 525, + 551 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 38 + } + } + } + ], + "range": [ + 456, + 561 + ], + "loc": { + "start": { + "line": 22, + "column": 30 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 447, + 561 + ], + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 25, + "column": 9 + } + } + } + ], + "range": [ + 434, + 562 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + "range": [ + 434, + 563 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 25, + "column": 11 + } + } + } + ], + "range": [ + 424, + 569 + ], + "loc": { + "start": { + "line": 21, + "column": 17 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 413, + 569 + ], + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 411, + 569 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 26, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 241, + 406 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 575, + 742 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "off", + "range": [ + 747, + 750 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evts", + "range": [ + 751, + 755 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + { + "type": "Identifier", + "name": "fn", + "range": [ + 757, + 759 + ], + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 16 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evts", + "range": [ + 771, + 775 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 776, + 783 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "range": [ + 771, + 783 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 785, + 788 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "in", + "left": { + "type": "Identifier", + "name": "evt", + "range": [ + 811, + 814 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 818, + 822 + ], + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 823, + 829 + ], + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + "range": [ + 818, + 829 + ], + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + "range": [ + 811, + 829 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 849, + 853 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 854, + 860 + ], + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "range": [ + 849, + 860 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 861, + 864 + ], + "loc": { + "start": { + "line": 36, + "column": 28 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + "range": [ + 849, + 865 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "splice", + "range": [ + 866, + 872 + ], + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + "range": [ + 849, + 872 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 873, + 877 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 878, + 884 + ], + "loc": { + "start": { + "line": 36, + "column": 45 + }, + "end": { + "line": 36, + "column": 51 + } + } + }, + "range": [ + 873, + 884 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 885, + 888 + ], + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 55 + } + } + }, + "range": [ + 873, + 889 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 890, + 897 + ], + "loc": { + "start": { + "line": 36, + "column": 57 + }, + "end": { + "line": 36, + "column": 64 + } + } + }, + "range": [ + 873, + 897 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 64 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fn", + "range": [ + 898, + 900 + ], + "loc": { + "start": { + "line": 36, + "column": 65 + }, + "end": { + "line": 36, + "column": 67 + } + } + } + ], + "range": [ + 873, + 901 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 68 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 903, + 904 + ], + "loc": { + "start": { + "line": 36, + "column": 70 + }, + "end": { + "line": 36, + "column": 71 + } + } + } + ], + "range": [ + 849, + 905 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 72 + } + } + }, + "range": [ + 849, + 906 + ], + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 73 + } + } + } + ], + "range": [ + 831, + 920 + ], + "loc": { + "start": { + "line": 35, + "column": 36 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 807, + 920 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 37, + "column": 13 + } + } + } + ], + "range": [ + 793, + 930 + ], + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 784, + 930 + ], + "loc": { + "start": { + "line": 34, + "column": 21 + }, + "end": { + "line": 38, + "column": 9 + } + } + } + ], + "range": [ + 771, + 931 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 38, + "column": 10 + } + } + }, + "range": [ + 771, + 932 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 38, + "column": 11 + } + } + } + ], + "range": [ + 761, + 938 + ], + "loc": { + "start": { + "line": 33, + "column": 18 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 750, + 938 + ], + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 747, + 938 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 39, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 575, + 742 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ", + "range": [ + 944, + 1084 + ], + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 45, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "emit", + "range": [ + 1089, + 1093 + ], + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 1094, + 1097 + ], + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 12 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": ", args...", + "range": [ + 1098, + 1111 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 26 + } + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "in", + "left": { + "type": "Identifier", + "name": "evt", + "range": [ + 1127, + 1130 + ], + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1134, + 1138 + ], + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 1139, + 1145 + ], + "loc": { + "start": { + "line": 47, + "column": 24 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + "range": [ + 1134, + 1145 + ], + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + "range": [ + 1127, + 1145 + ], + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 1170, + 1171 + ], + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1174, + 1175 + ], + "loc": { + "start": { + "line": 48, + "column": 25 + }, + "end": { + "line": 48, + "column": 26 + } + } + }, + "range": [ + 1170, + 1175 + ], + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 1166, + 1175 + ], + "loc": { + "start": { + "line": 48, + "column": 17 + }, + "end": { + "line": 48, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1177, + 1178 + ], + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1181, + 1185 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 1186, + 1192 + ], + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 43 + } + } + }, + "range": [ + 1181, + 1192 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 1193, + 1196 + ], + "loc": { + "start": { + "line": 48, + "column": 44 + }, + "end": { + "line": 48, + "column": 47 + } + } + }, + "range": [ + 1181, + 1197 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1198, + 1204 + ], + "loc": { + "start": { + "line": 48, + "column": 49 + }, + "end": { + "line": 48, + "column": 55 + } + } + }, + "range": [ + 1181, + 1204 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 55 + } + } + }, + "range": [ + 1177, + 1204 + ], + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 55 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1206, + 1207 + ], + "loc": { + "start": { + "line": 48, + "column": 57 + }, + "end": { + "line": 48, + "column": 58 + } + } + }, + "prefix": false, + "range": [ + 1206, + 1209 + ], + "loc": { + "start": { + "line": 48, + "column": 57 + }, + "end": { + "line": 48, + "column": 60 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1229, + 1233 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "events", + "range": [ + 1234, + 1240 + ], + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + "range": [ + 1229, + 1240 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 1241, + 1244 + ], + "loc": { + "start": { + "line": 49, + "column": 28 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + "range": [ + 1229, + 1245 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 1246, + 1247 + ], + "loc": { + "start": { + "line": 49, + "column": 33 + }, + "end": { + "line": 49, + "column": 34 + } + } + }, + "range": [ + 1229, + 1248 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "apply", + "range": [ + 1249, + 1254 + ], + "loc": { + "start": { + "line": 49, + "column": 36 + }, + "end": { + "line": 49, + "column": 41 + } + } + }, + "range": [ + 1229, + 1254 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 1255, + 1259 + ], + "loc": { + "start": { + "line": 49, + "column": 42 + }, + "end": { + "line": 49, + "column": 46 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1261, + 1263 + ], + "loc": { + "start": { + "line": 49, + "column": 48 + }, + "end": { + "line": 49, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "slice", + "range": [ + 1264, + 1269 + ], + "loc": { + "start": { + "line": 49, + "column": 51 + }, + "end": { + "line": 49, + "column": 56 + } + } + }, + "range": [ + 1261, + 1269 + ], + "loc": { + "start": { + "line": 49, + "column": 48 + }, + "end": { + "line": 49, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 1270, + 1274 + ], + "loc": { + "start": { + "line": 49, + "column": 57 + }, + "end": { + "line": 49, + "column": 61 + } + } + }, + "range": [ + 1261, + 1274 + ], + "loc": { + "start": { + "line": 49, + "column": 48 + }, + "end": { + "line": 49, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arguments", + "range": [ + 1275, + 1284 + ], + "loc": { + "start": { + "line": 49, + "column": 62 + }, + "end": { + "line": 49, + "column": 71 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1286, + 1287 + ], + "loc": { + "start": { + "line": 49, + "column": 73 + }, + "end": { + "line": 49, + "column": 74 + } + } + } + ], + "range": [ + 1261, + 1288 + ], + "loc": { + "start": { + "line": 49, + "column": 48 + }, + "end": { + "line": 49, + "column": 75 + } + } + } + ], + "range": [ + 1229, + 1289 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 76 + } + } + }, + "range": [ + 1229, + 1290 + ], + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 77 + } + } + } + ], + "range": [ + 1211, + 1304 + ], + "loc": { + "start": { + "line": 48, + "column": 62 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + "range": [ + 1161, + 1304 + ], + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + } + ], + "range": [ + 1147, + 1314 + ], + "loc": { + "start": { + "line": 47, + "column": 32 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1123, + 1314 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 51, + "column": 9 + } + } + } + ], + "range": [ + 1113, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 28 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": ", args...", + "range": [ + 1098, + 1111 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 26 + } + } + } + ] + }, + "generator": false, + "expression": false, + "range": [ + 1093, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1089, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ", + "range": [ + 944, + 1084 + ], + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 45, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 52, + 1322 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 53, + "column": 1 + } + } + }, + "range": [ + 38, + 1322 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Event emitter class\n ", + "range": [ + 0, + 30 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 31, + 1322 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Event emitter class\n ", + "range": [ + 0, + 30 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 31, + 1322 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Event emitter class\n ", + "range": [ + 0, + 30 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Emitter.\n ", + "range": [ + 58, + 108 + ], + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Events object\n * @type {Object}\n ", + "range": [ + 137, + 203 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 241, + 406 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n ", + "range": [ + 575, + 742 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n ", + "range": [ + 944, + 1084 + ], + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": "Block", + "value": ", args...", + "range": [ + 1098, + 1111 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 26 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/event.js.json b/docs/ast/source/event.js.json new file mode 100644 index 00000000..a0ac8956 --- /dev/null +++ b/docs/ast/source/event.js.json @@ -0,0 +1,4670 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./root", + "raw": "'./root'", + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 0, + 28 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * DOM event utilities\n ", + "range": [ + 30, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Add event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 363, + 369 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 373, + 376 + ], + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "type", + "range": [ + 378, + 382 + ], + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 384, + 388 + ], + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "capture", + "range": [ + 390, + 397 + ], + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 412, + 415 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "addEventListener", + "range": [ + 416, + 432 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + "range": [ + 412, + 432 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 444, + 447 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "addEventListener", + "range": [ + 448, + 464 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + "range": [ + 444, + 464 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "type", + "range": [ + 465, + 469 + ], + "loc": { + "start": { + "line": 18, + "column": 29 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 471, + 475 + ], + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "capture", + "range": [ + 477, + 484 + ], + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 48 + } + } + } + ], + "range": [ + 444, + 485 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 49 + } + } + }, + "range": [ + 444, + 486 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 50 + } + } + } + ], + "range": [ + 434, + 492 + ], + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 506, + 509 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "attachEvent", + "range": [ + 510, + 521 + ], + "loc": { + "start": { + "line": 20, + "column": 17 + }, + "end": { + "line": 20, + "column": 28 + } + } + }, + "range": [ + 506, + 521 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 533, + 536 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "attachEvent", + "range": [ + 537, + 548 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 23 + } + } + }, + "range": [ + 533, + 548 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "on", + "raw": "'on'", + "range": [ + 549, + 553 + ], + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "type", + "range": [ + 556, + 560 + ], + "loc": { + "start": { + "line": 21, + "column": 31 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + "range": [ + 549, + 560 + ], + "loc": { + "start": { + "line": 21, + "column": 24 + }, + "end": { + "line": 21, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 562, + 566 + ], + "loc": { + "start": { + "line": 21, + "column": 37 + }, + "end": { + "line": 21, + "column": 41 + } + } + } + ], + "range": [ + 533, + 567 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + "range": [ + 533, + 568 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 43 + } + } + } + ], + "range": [ + 523, + 574 + ], + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 22, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 590, + 593 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "on", + "raw": "'on'", + "range": [ + 594, + 598 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "type", + "range": [ + 601, + 605 + ], + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + "range": [ + 594, + 605 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + "range": [ + 590, + 606 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "func", + "range": [ + 609, + 613 + ], + "loc": { + "start": { + "line": 23, + "column": 27 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + "range": [ + 590, + 613 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + "range": [ + 590, + 614 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 32 + } + } + } + ], + "range": [ + 580, + 620 + ], + "loc": { + "start": { + "line": 22, + "column": 11 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + "range": [ + 502, + 620 + ], + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + "range": [ + 408, + 620 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 24, + "column": 5 + } + } + } + ], + "range": [ + 402, + 622 + ], + "loc": { + "start": { + "line": 16, + "column": 52 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 372, + 622 + ], + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + "range": [ + 363, + 622 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 25, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 357, + 623 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 25, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * DOM event utilities\n ", + "range": [ + 30, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Add event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 625, + 915 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 350, + 623 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 25, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * DOM event utilities\n ", + "range": [ + 30, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Add event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 625, + 915 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 929, + 938 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 942, + 945 + ], + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "type", + "range": [ + 947, + 951 + ], + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 953, + 957 + ], + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "capture", + "range": [ + 959, + 966 + ], + "loc": { + "start": { + "line": 36, + "column": 43 + }, + "end": { + "line": 36, + "column": 50 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 981, + 984 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeEventListener", + "range": [ + 985, + 1004 + ], + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + "range": [ + 981, + 1004 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 1016, + 1019 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeEventListener", + "range": [ + 1020, + 1039 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 31 + } + } + }, + "range": [ + 1016, + 1039 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "type", + "range": [ + 1040, + 1044 + ], + "loc": { + "start": { + "line": 38, + "column": 32 + }, + "end": { + "line": 38, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 1046, + 1050 + ], + "loc": { + "start": { + "line": 38, + "column": 38 + }, + "end": { + "line": 38, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "capture", + "range": [ + 1052, + 1059 + ], + "loc": { + "start": { + "line": 38, + "column": 44 + }, + "end": { + "line": 38, + "column": 51 + } + } + } + ], + "range": [ + 1016, + 1060 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 52 + } + } + }, + "range": [ + 1016, + 1061 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 53 + } + } + } + ], + "range": [ + 1006, + 1067 + ], + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 39, + "column": 5 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 1077, + 1080 + ], + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "detachEvent", + "range": [ + 1081, + 1092 + ], + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 30 + } + } + }, + "range": [ + 1077, + 1092 + ], + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 1104, + 1107 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "detachEvent", + "range": [ + 1108, + 1119 + ], + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + "range": [ + 1104, + 1119 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "on", + "raw": "'on'", + "range": [ + 1120, + 1124 + ], + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "type", + "range": [ + 1127, + 1131 + ], + "loc": { + "start": { + "line": 40, + "column": 31 + }, + "end": { + "line": 40, + "column": 35 + } + } + }, + "range": [ + 1120, + 1131 + ], + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "func", + "range": [ + 1133, + 1137 + ], + "loc": { + "start": { + "line": 40, + "column": 37 + }, + "end": { + "line": 40, + "column": 41 + } + } + } + ], + "range": [ + 1104, + 1138 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 42 + } + } + }, + "range": [ + 1104, + 1139 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 43 + } + } + } + ], + "range": [ + 1094, + 1145 + ], + "loc": { + "start": { + "line": 39, + "column": 32 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 1161, + 1164 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "on", + "raw": "'on'", + "range": [ + 1165, + 1169 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "type", + "range": [ + 1172, + 1176 + ], + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + "range": [ + 1165, + 1176 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + "range": [ + 1161, + 1177 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1180, + 1184 + ], + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 31 + } + } + }, + "range": [ + 1161, + 1184 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 31 + } + } + }, + "range": [ + 1161, + 1185 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 32 + } + } + } + ], + "range": [ + 1151, + 1191 + ], + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + "range": [ + 1073, + 1191 + ], + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + "range": [ + 977, + 1191 + ], + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 43, + "column": 5 + } + } + } + ], + "range": [ + 971, + 1193 + ], + "loc": { + "start": { + "line": 36, + "column": 55 + }, + "end": { + "line": 44, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 941, + 1193 + ], + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 44, + "column": 1 + } + } + }, + "range": [ + 929, + 1193 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 44, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 923, + 1194 + ], + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 44, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 625, + 915 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1196, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 916, + 1194 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 44, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 625, + 915 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1196, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 1334, + 1341 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 1345, + 1348 + ], + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "evt", + "range": [ + 1364, + 1367 + ], + "loc": { + "start": { + "line": 52, + "column": 9 + }, + "end": { + "line": 52, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 1363, + 1367 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "evt", + "range": [ + 1379, + 1382 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 1385, + 1389 + ], + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "event", + "range": [ + 1390, + 1395 + ], + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "range": [ + 1385, + 1395 + ], + "loc": { + "start": { + "line": 53, + "column": 14 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "range": [ + 1379, + 1395 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "range": [ + 1379, + 1396 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 25 + } + } + } + ], + "range": [ + 1369, + 1402 + ], + "loc": { + "start": { + "line": 52, + "column": 14 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1359, + 1402 + ], + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1411, + 1414 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "stopPropagation", + "range": [ + 1415, + 1430 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "range": [ + 1411, + 1430 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1442, + 1445 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "stopPropagation", + "range": [ + 1446, + 1461 + ], + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 27 + } + } + }, + "range": [ + 1442, + 1461 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 1442, + 1463 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 29 + } + } + }, + "range": [ + 1442, + 1464 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 30 + } + } + } + ], + "range": [ + 1432, + 1470 + ], + "loc": { + "start": { + "line": 55, + "column": 29 + }, + "end": { + "line": 57, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1486, + 1489 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "cancelBubble", + "range": [ + 1490, + 1502 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + "range": [ + 1486, + 1502 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1505, + 1509 + ], + "loc": { + "start": { + "line": 58, + "column": 27 + }, + "end": { + "line": 58, + "column": 31 + } + } + }, + "range": [ + 1486, + 1509 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 31 + } + } + }, + "range": [ + 1486, + 1510 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 32 + } + } + } + ], + "range": [ + 1476, + 1516 + ], + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + "range": [ + 1407, + 1516 + ], + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 59, + "column": 5 + } + } + } + ], + "range": [ + 1353, + 1518 + ], + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 60, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1344, + 1518 + ], + "loc": { + "start": { + "line": 51, + "column": 23 + }, + "end": { + "line": 60, + "column": 1 + } + } + }, + "range": [ + 1334, + 1518 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 60, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 1328, + 1519 + ], + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 60, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1196, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1521, + 1666 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 67, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1321, + 1519 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 60, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1196, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1521, + 1666 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 67, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 1680, + 1689 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 1693, + 1696 + ], + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "evt", + "range": [ + 1712, + 1715 + ], + "loc": { + "start": { + "line": 69, + "column": 9 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 1711, + 1715 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "evt", + "range": [ + 1727, + 1730 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 1733, + 1737 + ], + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "event", + "range": [ + 1738, + 1743 + ], + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 24 + } + } + }, + "range": [ + 1733, + 1743 + ], + "loc": { + "start": { + "line": 70, + "column": 14 + }, + "end": { + "line": 70, + "column": 24 + } + } + }, + "range": [ + 1727, + 1743 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 24 + } + } + }, + "range": [ + 1727, + 1744 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 25 + } + } + } + ], + "range": [ + 1717, + 1750 + ], + "loc": { + "start": { + "line": 69, + "column": 14 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1707, + 1750 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1759, + 1762 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "preventDefault", + "range": [ + 1763, + 1777 + ], + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 26 + } + } + }, + "range": [ + 1759, + 1777 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1789, + 1792 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "preventDefault", + "range": [ + 1793, + 1807 + ], + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + "range": [ + 1789, + 1807 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 1789, + 1809 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 28 + } + } + }, + "range": [ + 1789, + 1810 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 29 + } + } + } + ], + "range": [ + 1779, + 1816 + ], + "loc": { + "start": { + "line": 72, + "column": 28 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 1832, + 1835 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "returnValue", + "range": [ + 1836, + 1847 + ], + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + "range": [ + 1832, + 1847 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1850, + 1855 + ], + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 75, + "column": 31 + } + } + }, + "range": [ + 1832, + 1855 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 31 + } + } + }, + "range": [ + 1832, + 1856 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 32 + } + } + } + ], + "range": [ + 1822, + 1862 + ], + "loc": { + "start": { + "line": 74, + "column": 11 + }, + "end": { + "line": 76, + "column": 5 + } + } + }, + "range": [ + 1755, + 1862 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 76, + "column": 5 + } + } + } + ], + "range": [ + 1701, + 1864 + ], + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 77, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1692, + 1864 + ], + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 77, + "column": 1 + } + } + }, + "range": [ + 1680, + 1864 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 77, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 1674, + 1865 + ], + "loc": { + "start": { + "line": 68, + "column": 7 + }, + "end": { + "line": 77, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1521, + 1666 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 67, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n ", + "range": [ + 1867, + 1994 + ], + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1667, + 1865 + ], + "loc": { + "start": { + "line": 68, + "column": 0 + }, + "end": { + "line": 77, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1521, + 1666 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 67, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n ", + "range": [ + 1867, + 1994 + ], + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 2008, + 2017 + ], + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 2021, + 2024 + ], + "loc": { + "start": { + "line": 85, + "column": 26 + }, + "end": { + "line": 85, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "evt", + "range": [ + 2040, + 2043 + ], + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 12 + } + } + }, + "prefix": true, + "range": [ + 2039, + 2043 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 12 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "evt", + "range": [ + 2055, + 2058 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 2061, + 2065 + ], + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "event", + "range": [ + 2066, + 2071 + ], + "loc": { + "start": { + "line": 87, + "column": 19 + }, + "end": { + "line": 87, + "column": 24 + } + } + }, + "range": [ + 2061, + 2071 + ], + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 24 + } + } + }, + "range": [ + 2055, + 2071 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 24 + } + } + }, + "range": [ + 2055, + 2072 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 25 + } + } + } + ], + "range": [ + 2045, + 2078 + ], + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 2035, + 2078 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2090, + 2093 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "target", + "range": [ + 2094, + 2100 + ], + "loc": { + "start": { + "line": 89, + "column": 15 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + "range": [ + 2090, + 2100 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2104, + 2107 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "srcElement", + "range": [ + 2108, + 2118 + ], + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + "range": [ + 2104, + 2118 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + "range": [ + 2090, + 2118 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + "range": [ + 2083, + 2119 + ], + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 40 + } + } + } + ], + "range": [ + 2029, + 2121 + ], + "loc": { + "start": { + "line": 85, + "column": 34 + }, + "end": { + "line": 90, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2020, + 2121 + ], + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 90, + "column": 1 + } + } + }, + "range": [ + 2008, + 2121 + ], + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 90, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2002, + 2122 + ], + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n ", + "range": [ + 1867, + 1994 + ], + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n ", + "range": [ + 2124, + 2238 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 97, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1995, + 2122 + ], + "loc": { + "start": { + "line": 85, + "column": 0 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n ", + "range": [ + 1867, + 1994 + ], + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n ", + "range": [ + 2124, + 2238 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 97, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 2252, + 2259 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 2263, + 2266 + ], + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2284, + 2287 + ], + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "charCode", + "range": [ + 2288, + 2296 + ], + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, + "range": [ + 2284, + 2296 + ], + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2299, + 2302 + ], + "loc": { + "start": { + "line": 99, + "column": 26 + }, + "end": { + "line": 99, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "charCode", + "range": [ + 2303, + 2311 + ], + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + "range": [ + 2299, + 2311 + ], + "loc": { + "start": { + "line": 99, + "column": 26 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + "alternate": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2323, + 2326 + ], + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 2327, + 2334 + ], + "loc": { + "start": { + "line": 100, + "column": 13 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "range": [ + 2323, + 2334 + ], + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2337, + 2340 + ], + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 2341, + 2348 + ], + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 34 + } + } + }, + "range": [ + 2337, + 2348 + ], + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 34 + } + } + }, + "alternate": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2352, + 2355 + ], + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "which", + "range": [ + 2356, + 2361 + ], + "loc": { + "start": { + "line": 100, + "column": 42 + }, + "end": { + "line": 100, + "column": 47 + } + } + }, + "range": [ + 2352, + 2361 + ], + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 47 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 2364, + 2367 + ], + "loc": { + "start": { + "line": 100, + "column": 50 + }, + "end": { + "line": 100, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "which", + "range": [ + 2368, + 2373 + ], + "loc": { + "start": { + "line": 100, + "column": 54 + }, + "end": { + "line": 100, + "column": 59 + } + } + }, + "range": [ + 2364, + 2373 + ], + "loc": { + "start": { + "line": 100, + "column": 50 + }, + "end": { + "line": 100, + "column": 59 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2376, + 2377 + ], + "loc": { + "start": { + "line": 100, + "column": 62 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + "range": [ + 2352, + 2377 + ], + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 63 + } + } + }, + "range": [ + 2323, + 2378 + ], + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 64 + } + } + }, + "range": [ + 2284, + 2379 + ], + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 100, + "column": 65 + } + } + }, + "range": [ + 2277, + 2380 + ], + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 100, + "column": 66 + } + } + } + ], + "range": [ + 2271, + 2382 + ], + "loc": { + "start": { + "line": 98, + "column": 32 + }, + "end": { + "line": 101, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2262, + 2382 + ], + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 101, + "column": 1 + } + } + }, + "range": [ + 2252, + 2382 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 101, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2246, + 2383 + ], + "loc": { + "start": { + "line": 98, + "column": 7 + }, + "end": { + "line": 101, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n ", + "range": [ + 2124, + 2238 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 97, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 2239, + 2383 + ], + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 101, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n ", + "range": [ + 2124, + 2238 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 97, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 2383 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 101, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * DOM event utilities\n ", + "range": [ + 30, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Add event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 62, + 349 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n ", + "range": [ + 625, + 915 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1196, + 1320 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n ", + "range": [ + 1521, + 1666 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 67, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n ", + "range": [ + 1867, + 1994 + ], + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n ", + "range": [ + 2124, + 2238 + ], + "loc": { + "start": { + "line": 92, + "column": 0 + }, + "end": { + "line": 97, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/advancedGrid/adapterEzEditTable.js.json b/docs/ast/source/extensions/advancedGrid/adapterEzEditTable.js.json new file mode 100644 index 00000000..d1c48a61 --- /dev/null +++ b/docs/ast/source/extensions/advancedGrid/adapterEzEditTable.js.json @@ -0,0 +1,35438 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../feature", + "raw": "'../../feature'", + "range": [ + 22, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + "range": [ + 0, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "tag", + "range": [ + 47, + 50 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + "imported": { + "type": "Identifier", + "name": "tag", + "range": [ + 47, + 50 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + "range": [ + 47, + 50 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 11 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../dom", + "raw": "'../../dom'", + "range": [ + 57, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 39, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 78, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 78, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + "range": [ + 78, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../const", + "raw": "'../../const'", + "range": [ + 90, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 70, + 104 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 113, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 113, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "range": [ + 113, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../settings", + "raw": "'../../settings'", + "range": [ + 131, + 147 + ], + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 42 + } + } + }, + "range": [ + 105, + 148 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 157, + 161 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 157, + 161 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 157, + 161 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../root", + "raw": "'../../root'", + "range": [ + 168, + 180 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "range": [ + 149, + 181 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 32 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "INSTANTIATION_ERROR", + "range": [ + 189, + 208 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "Failed to instantiate EditTable object.\n \\n\"ezEditTable\" dependency not found.", + "cooked": "Failed to instantiate EditTable object.\n \n\"ezEditTable\" dependency not found." + }, + "tail": true, + "range": [ + 211, + 294 + ], + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 8, + "column": 42 + } + } + } + ], + "expressions": [], + "range": [ + 211, + 294 + ], + "loc": { + "start": { + "line": 7, + "column": 28 + }, + "end": { + "line": 8, + "column": 42 + } + } + }, + "range": [ + 189, + 294 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 8, + "column": 42 + } + } + } + ], + "kind": "const", + "range": [ + 183, + 295 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 8, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Adapter module for ezEditTable, an external library providing advanced\n * grid features (selection and edition):\n * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus\n ", + "range": [ + 297, + 504 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "AdapterEzEditTable", + "range": [ + 526, + 544 + ], + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 39 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 553, + 560 + ], + "loc": { + "start": { + "line": 15, + "column": 48 + }, + "end": { + "line": 15, + "column": 55 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 765, + 776 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 777, + 779 + ], + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "cfg", + "range": [ + 781, + 784 + ], + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 796, + 801 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 802, + 804 + ], + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 16 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 806, + 809 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 810, + 814 + ], + "loc": { + "start": { + "line": 24, + "column": 22 + }, + "end": { + "line": 24, + "column": 26 + } + } + }, + "range": [ + 806, + 814 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 26 + } + } + } + ], + "range": [ + 796, + 815 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + "range": [ + 796, + 816 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 826, + 897 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 906, + 910 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "desc", + "range": [ + 911, + 915 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + "range": [ + 906, + 915 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 918, + 929 + ], + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 930, + 933 + ], + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "description", + "range": [ + 934, + 945 + ], + "loc": { + "start": { + "line": 30, + "column": 36 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + "range": [ + 930, + 945 + ], + "loc": { + "start": { + "line": 30, + "column": 32 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "ezEditTable adapter", + "raw": "'ezEditTable adapter'", + "range": [ + 947, + 968 + ], + "loc": { + "start": { + "line": 30, + "column": 49 + }, + "end": { + "line": 30, + "column": 70 + } + } + } + ], + "range": [ + 918, + 969 + ], + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 71 + } + } + }, + "range": [ + 906, + 969 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 71 + } + } + }, + "range": [ + 906, + 970 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 826, + 897 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filename of ezEditTable library\n * @type {String}\n ", + "range": [ + 980, + 1064 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1073, + 1077 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filename", + "range": [ + 1078, + 1086 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + "range": [ + 1073, + 1086 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1089, + 1100 + ], + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1101, + 1104 + ], + "loc": { + "start": { + "line": 36, + "column": 36 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "filename", + "range": [ + 1105, + 1113 + ], + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 48 + } + } + }, + "range": [ + 1101, + 1113 + ], + "loc": { + "start": { + "line": 36, + "column": 36 + }, + "end": { + "line": 36, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": "ezEditTable.js", + "raw": "'ezEditTable.js'", + "range": [ + 1115, + 1131 + ], + "loc": { + "start": { + "line": 36, + "column": 50 + }, + "end": { + "line": 36, + "column": 66 + } + } + } + ], + "range": [ + 1089, + 1132 + ], + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 67 + } + } + }, + "range": [ + 1073, + 1132 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 67 + } + } + }, + "range": [ + 1073, + 1133 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filename of ezEditTable library\n * @type {String}\n ", + "range": [ + 980, + 1064 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Path to ezEditTable library\n * @type {String}\n ", + "range": [ + 1143, + 1223 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1232, + 1236 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "vendorPath", + "range": [ + 1237, + 1247 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + "range": [ + 1232, + 1247 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1250, + 1253 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "vendor_path", + "range": [ + 1254, + 1265 + ], + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 41 + } + } + }, + "range": [ + 1250, + 1265 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 41 + } + } + }, + "range": [ + 1232, + 1265 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 41 + } + } + }, + "range": [ + 1232, + 1266 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Path to ezEditTable library\n * @type {String}\n ", + "range": [ + 1143, + 1223 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Load ezEditTable stylesheet\n * @type {Boolean}\n ", + "range": [ + 1276, + 1357 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1366, + 1370 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadStylesheet", + "range": [ + 1371, + 1385 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + "range": [ + 1366, + 1385 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 1388, + 1395 + ], + "loc": { + "start": { + "line": 48, + "column": 30 + }, + "end": { + "line": 48, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1396, + 1399 + ], + "loc": { + "start": { + "line": 48, + "column": 38 + }, + "end": { + "line": 48, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "load_stylesheet", + "range": [ + 1400, + 1415 + ], + "loc": { + "start": { + "line": 48, + "column": 42 + }, + "end": { + "line": 48, + "column": 57 + } + } + }, + "range": [ + 1396, + 1415 + ], + "loc": { + "start": { + "line": 48, + "column": 38 + }, + "end": { + "line": 48, + "column": 57 + } + } + } + ], + "range": [ + 1388, + 1416 + ], + "loc": { + "start": { + "line": 48, + "column": 30 + }, + "end": { + "line": 48, + "column": 58 + } + } + }, + "range": [ + 1366, + 1416 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 58 + } + } + }, + "range": [ + 1366, + 1417 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Load ezEditTable stylesheet\n * @type {Boolean}\n ", + "range": [ + 1276, + 1357 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Path to ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1427, + 1510 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1519, + 1523 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 1524, + 1534 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + "range": [ + 1519, + 1534 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1537, + 1548 + ], + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 54, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1549, + 1552 + ], + "loc": { + "start": { + "line": 54, + "column": 38 + }, + "end": { + "line": 54, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 1553, + 1563 + ], + "loc": { + "start": { + "line": 54, + "column": 42 + }, + "end": { + "line": 54, + "column": 52 + } + } + }, + "range": [ + 1549, + 1563 + ], + "loc": { + "start": { + "line": 54, + "column": 38 + }, + "end": { + "line": 54, + "column": 52 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1577, + 1581 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "vendorPath", + "range": [ + 1582, + 1592 + ], + "loc": { + "start": { + "line": 55, + "column": 17 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "range": [ + 1577, + 1592 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": "ezEditTable.css", + "raw": "'ezEditTable.css'", + "range": [ + 1595, + 1612 + ], + "loc": { + "start": { + "line": 55, + "column": 30 + }, + "end": { + "line": 55, + "column": 47 + } + } + }, + "range": [ + 1577, + 1612 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 47 + } + } + } + ], + "range": [ + 1537, + 1613 + ], + "loc": { + "start": { + "line": 54, + "column": 26 + }, + "end": { + "line": 55, + "column": 48 + } + } + }, + "range": [ + 1519, + 1613 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 55, + "column": 48 + } + } + }, + "range": [ + 1519, + 1614 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 55, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Path to ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1427, + 1510 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Name of ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1624, + 1707 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1716, + 1720 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheetName", + "range": [ + 1721, + 1735 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 27 + } + } + }, + "range": [ + 1716, + 1735 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1738, + 1749 + ], + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 61, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1750, + 1753 + ], + "loc": { + "start": { + "line": 61, + "column": 42 + }, + "end": { + "line": 61, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet_name", + "range": [ + 1754, + 1769 + ], + "loc": { + "start": { + "line": 61, + "column": 46 + }, + "end": { + "line": 61, + "column": 61 + } + } + }, + "range": [ + 1750, + 1769 + ], + "loc": { + "start": { + "line": 61, + "column": 42 + }, + "end": { + "line": 61, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": "ezEditTableCss", + "raw": "'ezEditTableCss'", + "range": [ + 1783, + 1799 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 28 + } + } + } + ], + "range": [ + 1738, + 1800 + ], + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + "range": [ + 1716, + 1800 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + "range": [ + 1716, + 1801 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 62, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Name of ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1624, + 1707 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Enable the ezEditTable's scroll into view behaviour if grid layout on", + "range": [ + 1811, + 1883 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 80 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1892, + 1895 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "scroll_into_view", + "range": [ + 1896, + 1912 + ], + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + "range": [ + 1892, + 1912 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1915, + 1918 + ], + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "scroll_into_view", + "range": [ + 1919, + 1935 + ], + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + "range": [ + 1915, + 1935 + ], + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1940, + 1945 + ], + "loc": { + "start": { + "line": 65, + "column": 56 + }, + "end": { + "line": 65, + "column": 61 + } + } + }, + "range": [ + 1915, + 1945 + ], + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 61 + } + } + }, + "consequent": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1960, + 1965 + ], + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1968, + 1970 + ], + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 1971, + 1981 + ], + "loc": { + "start": { + "line": 66, + "column": 23 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + "range": [ + 1968, + 1981 + ], + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + "range": [ + 1915, + 1981 + ], + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + "range": [ + 1892, + 1981 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 66, + "column": 33 + } + } + }, + "range": [ + 1892, + 1982 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 66, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Enable the ezEditTable's scroll into view behaviour if grid layout on", + "range": [ + 1811, + 1883 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 80 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ezEditTable instance\n * @type {EditTable}\n * @private\n ", + "range": [ + 1992, + 2088 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2097, + 2101 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 2102, + 2114 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + "range": [ + 2097, + 2114 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2117, + 2121 + ], + "loc": { + "start": { + "line": 73, + "column": 28 + }, + "end": { + "line": 73, + "column": 32 + } + } + }, + "range": [ + 2097, + 2121 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 32 + } + } + }, + "range": [ + 2097, + 2122 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ezEditTable instance\n * @type {EditTable}\n * @private\n ", + "range": [ + 1992, + 2088 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ezEditTable configuration\n * @private\n ", + "range": [ + 2132, + 2204 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2213, + 2217 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2218, + 2221 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + "range": [ + 2213, + 2221 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2224, + 2227 + ], + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + "range": [ + 2213, + 2227 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + "range": [ + 2213, + 2228 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ezEditTable configuration\n * @private\n ", + "range": [ + 2132, + 2204 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2238, + 2242 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 2243, + 2249 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + "range": [ + 2238, + 2249 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 2238, + 2251 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + "range": [ + 2238, + 2252 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 22 + } + } + } + ], + "range": [ + 786, + 2258 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 82, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 776, + 2258 + ], + "loc": { + "start": { + "line": 23, + "column": 15 + }, + "end": { + "line": 82, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 765, + 2258 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 82, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of AdapterEzEditTable\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} cfg Configuration options for ezEditTable library\n ", + "range": [ + 568, + 760 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Conditionally load ezEditTable library and set advanced grid\n ", + "range": [ + 2264, + 2343 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 2348, + 2352 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2369, + 2373 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2374, + 2385 + ], + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + "range": [ + 2369, + 2385 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2401, + 2408 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 19 + } + } + } + ], + "range": [ + 2387, + 2418 + ], + "loc": { + "start": { + "line": 88, + "column": 30 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2365, + 2418 + ], + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2431, + 2433 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2436, + 2440 + ], + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2441, + 2443 + ], + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + "range": [ + 2436, + 2443 + ], + "loc": { + "start": { + "line": 91, + "column": 17 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + "range": [ + 2431, + 2443 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2427, + 2444 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 2457, + 2461 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "EditTable", + "range": [ + 2462, + 2471 + ], + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + "range": [ + 2457, + 2471 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2487, + 2491 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "_setAdvancedGrid", + "range": [ + 2492, + 2508 + ], + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 33 + } + } + }, + "range": [ + 2487, + 2508 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 2487, + 2510 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 35 + } + } + }, + "range": [ + 2487, + 2511 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 36 + } + } + } + ], + "range": [ + 2473, + 2521 + ], + "loc": { + "start": { + "line": 92, + "column": 28 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "path", + "range": [ + 2545, + 2549 + ], + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 20 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2552, + 2556 + ], + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "vendorPath", + "range": [ + 2557, + 2567 + ], + "loc": { + "start": { + "line": 95, + "column": 28 + }, + "end": { + "line": 95, + "column": 38 + } + } + }, + "range": [ + 2552, + 2567 + ], + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2570, + 2574 + ], + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 95, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "filename", + "range": [ + 2575, + 2583 + ], + "loc": { + "start": { + "line": 95, + "column": 46 + }, + "end": { + "line": 95, + "column": 54 + } + } + }, + "range": [ + 2570, + 2583 + ], + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 95, + "column": 54 + } + } + }, + "range": [ + 2552, + 2583 + ], + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 54 + } + } + }, + "range": [ + 2545, + 2583 + ], + "loc": { + "start": { + "line": 95, + "column": 16 + }, + "end": { + "line": 95, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 2541, + 2584 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2597, + 2599 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "import", + "range": [ + 2600, + 2606 + ], + "loc": { + "start": { + "line": 96, + "column": 15 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + "range": [ + 2597, + 2606 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2607, + 2611 + ], + "loc": { + "start": { + "line": 96, + "column": 22 + }, + "end": { + "line": 96, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "filename", + "range": [ + 2612, + 2620 + ], + "loc": { + "start": { + "line": 96, + "column": 27 + }, + "end": { + "line": 96, + "column": 35 + } + } + }, + "range": [ + 2607, + 2620 + ], + "loc": { + "start": { + "line": 96, + "column": 22 + }, + "end": { + "line": 96, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "path", + "range": [ + 2622, + 2626 + ], + "loc": { + "start": { + "line": 96, + "column": 37 + }, + "end": { + "line": 96, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2634, + 2638 + ], + "loc": { + "start": { + "line": 96, + "column": 49 + }, + "end": { + "line": 96, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "_setAdvancedGrid", + "range": [ + 2639, + 2655 + ], + "loc": { + "start": { + "line": 96, + "column": 54 + }, + "end": { + "line": 96, + "column": 70 + } + } + }, + "range": [ + 2634, + 2655 + ], + "loc": { + "start": { + "line": 96, + "column": 49 + }, + "end": { + "line": 96, + "column": 70 + } + } + }, + "arguments": [], + "range": [ + 2634, + 2657 + ], + "loc": { + "start": { + "line": 96, + "column": 49 + }, + "end": { + "line": 96, + "column": 72 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2628, + 2657 + ], + "loc": { + "start": { + "line": 96, + "column": 43 + }, + "end": { + "line": 96, + "column": 72 + } + } + } + ], + "range": [ + 2597, + 2658 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 73 + } + } + }, + "range": [ + 2597, + 2659 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 74 + } + } + } + ], + "range": [ + 2527, + 2669 + ], + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + "range": [ + 2453, + 2669 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2682, + 2686 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadStylesheet", + "range": [ + 2687, + 2701 + ], + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + "range": [ + 2682, + 2701 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2706, + 2708 + ], + "loc": { + "start": { + "line": 98, + "column": 36 + }, + "end": { + "line": 98, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isImported", + "range": [ + 2709, + 2719 + ], + "loc": { + "start": { + "line": 98, + "column": 39 + }, + "end": { + "line": 98, + "column": 49 + } + } + }, + "range": [ + 2706, + 2719 + ], + "loc": { + "start": { + "line": 98, + "column": 36 + }, + "end": { + "line": 98, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2720, + 2724 + ], + "loc": { + "start": { + "line": 98, + "column": 50 + }, + "end": { + "line": 98, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 2725, + 2735 + ], + "loc": { + "start": { + "line": 98, + "column": 55 + }, + "end": { + "line": 98, + "column": 65 + } + } + }, + "range": [ + 2720, + 2735 + ], + "loc": { + "start": { + "line": 98, + "column": 50 + }, + "end": { + "line": 98, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 2737, + 2743 + ], + "loc": { + "start": { + "line": 98, + "column": 67 + }, + "end": { + "line": 98, + "column": 73 + } + } + } + ], + "range": [ + 2706, + 2744 + ], + "loc": { + "start": { + "line": 98, + "column": 36 + }, + "end": { + "line": 98, + "column": 74 + } + } + }, + "prefix": true, + "range": [ + 2705, + 2744 + ], + "loc": { + "start": { + "line": 98, + "column": 35 + }, + "end": { + "line": 98, + "column": 74 + } + } + }, + "range": [ + 2682, + 2744 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 74 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2760, + 2762 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "import", + "range": [ + 2763, + 2769 + ], + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + "range": [ + 2760, + 2769 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2770, + 2774 + ], + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheetName", + "range": [ + 2775, + 2789 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 41 + } + } + }, + "range": [ + 2770, + 2789 + ], + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 41 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2791, + 2795 + ], + "loc": { + "start": { + "line": 99, + "column": 43 + }, + "end": { + "line": 99, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 2796, + 2806 + ], + "loc": { + "start": { + "line": 99, + "column": 48 + }, + "end": { + "line": 99, + "column": 58 + } + } + }, + "range": [ + 2791, + 2806 + ], + "loc": { + "start": { + "line": 99, + "column": 43 + }, + "end": { + "line": 99, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2808, + 2812 + ], + "loc": { + "start": { + "line": 99, + "column": 60 + }, + "end": { + "line": 99, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 2814, + 2820 + ], + "loc": { + "start": { + "line": 99, + "column": 66 + }, + "end": { + "line": 99, + "column": 72 + } + } + } + ], + "range": [ + 2760, + 2821 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 73 + } + } + }, + "range": [ + 2760, + 2822 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 74 + } + } + } + ], + "range": [ + 2746, + 2832 + ], + "loc": { + "start": { + "line": 98, + "column": 76 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2678, + 2832 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 100, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TODO: hack to prevent ezEditTable enter key event hijaking.", + "range": [ + 2842, + 2904 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 70 + } + } + }, + { + "type": "Line", + "value": " Needs to be fixed in the vendor's library", + "range": [ + 2913, + 2957 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 52 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2966, + 2970 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2971, + 2978 + ], + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 20 + } + } + }, + "range": [ + 2966, + 2978 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 2979, + 2981 + ], + "loc": { + "start": { + "line": 104, + "column": 21 + }, + "end": { + "line": 104, + "column": 23 + } + } + }, + "range": [ + 2966, + 2981 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 2983, + 2997 + ], + "loc": { + "start": { + "line": 104, + "column": 25 + }, + "end": { + "line": 104, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "filter-blur", + "raw": "'filter-blur'", + "range": [ + 2999, + 3012 + ], + "loc": { + "start": { + "line": 104, + "column": 41 + }, + "end": { + "line": 104, + "column": 54 + } + } + } + ], + "range": [ + 2982, + 3013 + ], + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 55 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3033, + 3037 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_toggleForInputFilter", + "range": [ + 3038, + 3059 + ], + "loc": { + "start": { + "line": 105, + "column": 23 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + "range": [ + 3033, + 3059 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 3033, + 3061 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 46 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3027, + 3061 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 46 + } + } + } + ], + "range": [ + 2966, + 3062 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 105, + "column": 47 + } + } + }, + "range": [ + 2966, + 3063 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 105, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: hack to prevent ezEditTable enter key event hijaking.", + "range": [ + 2842, + 2904 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 70 + } + } + }, + { + "type": "Line", + "value": " Needs to be fixed in the vendor's library", + "range": [ + 2913, + 2957 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 52 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 3073, + 3110 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3119, + 3123 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3124, + 3135 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + "range": [ + 3119, + 3135 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3138, + 3142 + ], + "loc": { + "start": { + "line": 110, + "column": 27 + }, + "end": { + "line": 110, + "column": 31 + } + } + }, + "range": [ + 3119, + 3142 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 31 + } + } + }, + "range": [ + 3119, + 3143 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 3073, + 3110 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 2355, + 3149 + ], + "loc": { + "start": { + "line": 87, + "column": 11 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2352, + 3149 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 111, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2348, + 3149 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 111, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Conditionally load ezEditTable library and set advanced grid\n ", + "range": [ + 2264, + 2343 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Instantiate ezEditTable component for advanced grid features\n * @private\n ", + "range": [ + 3155, + 3250 + ], + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_setAdvancedGrid", + "range": [ + 3255, + 3271 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 3288, + 3290 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3293, + 3297 + ], + "loc": { + "start": { + "line": 118, + "column": 17 + }, + "end": { + "line": 118, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3298, + 3300 + ], + "loc": { + "start": { + "line": 118, + "column": 22 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "range": [ + 3293, + 3300 + ], + "loc": { + "start": { + "line": 118, + "column": 17 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "range": [ + 3288, + 3300 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3284, + 3301 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "start row for EditTable constructor needs to be calculated", + "range": [ + 3311, + 3371 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 68 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3384, + 3392 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + "init": null, + "range": [ + 3384, + 3392 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3406, + 3409 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3412, + 3416 + ], + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3417, + 3420 + ], + "loc": { + "start": { + "line": 122, + "column": 23 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + "range": [ + 3412, + 3420 + ], + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + "range": [ + 3406, + 3420 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "thead", + "range": [ + 3434, + 3439 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 3442, + 3445 + ], + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3446, + 3448 + ], + "loc": { + "start": { + "line": 123, + "column": 24 + }, + "end": { + "line": 123, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 3449, + 3452 + ], + "loc": { + "start": { + "line": 123, + "column": 27 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "range": [ + 3446, + 3452 + ], + "loc": { + "start": { + "line": 123, + "column": 24 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 3446, + 3454 + ], + "loc": { + "start": { + "line": 123, + "column": 24 + }, + "end": { + "line": 123, + "column": 32 + } + } + }, + { + "type": "Literal", + "value": "thead", + "raw": "'thead'", + "range": [ + 3456, + 3463 + ], + "loc": { + "start": { + "line": 123, + "column": 34 + }, + "end": { + "line": 123, + "column": 41 + } + } + } + ], + "range": [ + 3442, + 3464 + ], + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 42 + } + } + }, + "range": [ + 3434, + 3464 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 3380, + 3465 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 123, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "start row for EditTable constructor needs to be calculated", + "range": [ + 3311, + 3371 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 68 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "if thead exists and startRow not specified, startRow is calculated", + "range": [ + 3475, + 3543 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "automatically by EditTable", + "range": [ + 3552, + 3580 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 36 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "thead", + "range": [ + 3593, + 3598 + ], + "loc": { + "start": { + "line": 127, + "column": 12 + }, + "end": { + "line": 127, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 3599, + 3605 + ], + "loc": { + "start": { + "line": 127, + "column": 18 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + "range": [ + 3593, + 3605 + ], + "loc": { + "start": { + "line": 127, + "column": 12 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3608, + 3609 + ], + "loc": { + "start": { + "line": 127, + "column": 27 + }, + "end": { + "line": 127, + "column": 28 + } + } + }, + "range": [ + 3593, + 3609 + ], + "loc": { + "start": { + "line": 127, + "column": 12 + }, + "end": { + "line": 127, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3614, + 3617 + ], + "loc": { + "start": { + "line": 127, + "column": 33 + }, + "end": { + "line": 127, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3618, + 3626 + ], + "loc": { + "start": { + "line": 127, + "column": 37 + }, + "end": { + "line": 127, + "column": 45 + } + } + }, + "range": [ + 3614, + 3626 + ], + "loc": { + "start": { + "line": 127, + "column": 33 + }, + "end": { + "line": 127, + "column": 45 + } + } + }, + "prefix": true, + "range": [ + 3613, + 3626 + ], + "loc": { + "start": { + "line": 127, + "column": 32 + }, + "end": { + "line": 127, + "column": 45 + } + } + }, + "range": [ + 3593, + 3626 + ], + "loc": { + "start": { + "line": 127, + "column": 12 + }, + "end": { + "line": 127, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3642, + 3650 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 3653, + 3662 + ], + "loc": { + "start": { + "line": 128, + "column": 23 + }, + "end": { + "line": 128, + "column": 32 + } + } + }, + "range": [ + 3642, + 3662 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 32 + } + } + }, + "range": [ + 3642, + 3663 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 33 + } + } + } + ], + "range": [ + 3628, + 3673 + ], + "loc": { + "start": { + "line": 127, + "column": 47 + }, + "end": { + "line": 129, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "otherwise startRow config property if any or TableFilter refRow", + "range": [ + 3682, + 3747 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 73 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3775, + 3783 + ], + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3786, + 3789 + ], + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3790, + 3798 + ], + "loc": { + "start": { + "line": 132, + "column": 27 + }, + "end": { + "line": 132, + "column": 35 + } + } + }, + "range": [ + 3786, + 3798 + ], + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3802, + 3804 + ], + "loc": { + "start": { + "line": 132, + "column": 39 + }, + "end": { + "line": 132, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 3805, + 3811 + ], + "loc": { + "start": { + "line": 132, + "column": 42 + }, + "end": { + "line": 132, + "column": 48 + } + } + }, + "range": [ + 3802, + 3811 + ], + "loc": { + "start": { + "line": 132, + "column": 39 + }, + "end": { + "line": 132, + "column": 48 + } + } + }, + "range": [ + 3786, + 3811 + ], + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 48 + } + } + }, + "range": [ + 3775, + 3811 + ], + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 48 + } + } + }, + "range": [ + 3775, + 3812 + ], + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 49 + } + } + } + ], + "range": [ + 3761, + 3822 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 133, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "otherwise startRow config property if any or TableFilter refRow", + "range": [ + 3682, + 3747 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 73 + } + } + } + ] + }, + "range": [ + 3589, + 3822 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 133, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "if thead exists and startRow not specified, startRow is calculated", + "range": [ + 3475, + 3543 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "automatically by EditTable", + "range": [ + 3552, + 3580 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3832, + 3835 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "base_path", + "range": [ + 3836, + 3845 + ], + "loc": { + "start": { + "line": 135, + "column": 12 + }, + "end": { + "line": 135, + "column": 21 + } + } + }, + "range": [ + 3832, + 3845 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 21 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3848, + 3851 + ], + "loc": { + "start": { + "line": 135, + "column": 24 + }, + "end": { + "line": 135, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "base_path", + "range": [ + 3852, + 3861 + ], + "loc": { + "start": { + "line": 135, + "column": 28 + }, + "end": { + "line": 135, + "column": 37 + } + } + }, + "range": [ + 3848, + 3861 + ], + "loc": { + "start": { + "line": 135, + "column": 24 + }, + "end": { + "line": 135, + "column": 37 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3865, + 3867 + ], + "loc": { + "start": { + "line": 135, + "column": 41 + }, + "end": { + "line": 135, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "basePath", + "range": [ + 3868, + 3876 + ], + "loc": { + "start": { + "line": 135, + "column": 44 + }, + "end": { + "line": 135, + "column": 52 + } + } + }, + "range": [ + 3865, + 3876 + ], + "loc": { + "start": { + "line": 135, + "column": 41 + }, + "end": { + "line": 135, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": "ezEditTable/", + "raw": "'ezEditTable/'", + "range": [ + 3879, + 3893 + ], + "loc": { + "start": { + "line": 135, + "column": 55 + }, + "end": { + "line": 135, + "column": 69 + } + } + }, + "range": [ + 3865, + 3893 + ], + "loc": { + "start": { + "line": 135, + "column": 41 + }, + "end": { + "line": 135, + "column": 69 + } + } + }, + "range": [ + 3848, + 3893 + ], + "loc": { + "start": { + "line": 135, + "column": 24 + }, + "end": { + "line": 135, + "column": 69 + } + } + }, + "range": [ + 3832, + 3893 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 69 + } + } + }, + "range": [ + 3832, + 3894 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 70 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "editable", + "range": [ + 3907, + 3915 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3918, + 3921 + ], + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "editable", + "range": [ + 3922, + 3930 + ], + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + "range": [ + 3918, + 3930 + ], + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + "range": [ + 3907, + 3930 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 3903, + 3931 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 36 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "selectable", + "range": [ + 3944, + 3954 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3957, + 3960 + ], + "loc": { + "start": { + "line": 137, + "column": 25 + }, + "end": { + "line": 137, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "selection", + "range": [ + 3961, + 3970 + ], + "loc": { + "start": { + "line": 137, + "column": 29 + }, + "end": { + "line": 137, + "column": 38 + } + } + }, + "range": [ + 3957, + 3970 + ], + "loc": { + "start": { + "line": 137, + "column": 25 + }, + "end": { + "line": 137, + "column": 38 + } + } + }, + "range": [ + 3944, + 3970 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 3940, + 3971 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "selectable", + "range": [ + 3985, + 3995 + ], + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 139, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4011, + 4014 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "default_selection", + "range": [ + 4015, + 4032 + ], + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 33 + } + } + }, + "range": [ + 4011, + 4032 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 33 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4035, + 4038 + ], + "loc": { + "start": { + "line": 140, + "column": 36 + }, + "end": { + "line": 140, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "default_selection", + "range": [ + 4039, + 4056 + ], + "loc": { + "start": { + "line": 140, + "column": 40 + }, + "end": { + "line": 140, + "column": 57 + } + } + }, + "range": [ + 4035, + 4056 + ], + "loc": { + "start": { + "line": 140, + "column": 36 + }, + "end": { + "line": 140, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": "row", + "raw": "'row'", + "range": [ + 4060, + 4065 + ], + "loc": { + "start": { + "line": 140, + "column": 61 + }, + "end": { + "line": 140, + "column": 66 + } + } + }, + "range": [ + 4035, + 4065 + ], + "loc": { + "start": { + "line": 140, + "column": 36 + }, + "end": { + "line": 140, + "column": 66 + } + } + }, + "range": [ + 4011, + 4065 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 66 + } + } + }, + "range": [ + 4011, + 4066 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 67 + } + } + } + ], + "range": [ + 3997, + 4076 + ], + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 141, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3981, + 4076 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 141, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "CSS Styles", + "range": [ + 4085, + 4097 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 20 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4106, + 4109 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "active_cell_css", + "range": [ + 4110, + 4125 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 27 + } + } + }, + "range": [ + 4106, + 4125 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 27 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4128, + 4131 + ], + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "active_cell_css", + "range": [ + 4132, + 4147 + ], + "loc": { + "start": { + "line": 143, + "column": 34 + }, + "end": { + "line": 143, + "column": 49 + } + } + }, + "range": [ + 4128, + 4147 + ], + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": "ezETSelectedCell", + "raw": "'ezETSelectedCell'", + "range": [ + 4151, + 4169 + ], + "loc": { + "start": { + "line": 143, + "column": 53 + }, + "end": { + "line": 143, + "column": 71 + } + } + }, + "range": [ + 4128, + 4169 + ], + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 71 + } + } + }, + "range": [ + 4106, + 4169 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 71 + } + } + }, + "range": [ + 4106, + 4170 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "CSS Styles", + "range": [ + 4085, + 4097 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 20 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 4184, + 4202 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 30 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4205, + 4206 + ], + "loc": { + "start": { + "line": 145, + "column": 33 + }, + "end": { + "line": 145, + "column": 34 + } + } + }, + "range": [ + 4184, + 4206 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 4180, + 4207 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 35 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_lastRowIndex", + "range": [ + 4220, + 4233 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 25 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4236, + 4237 + ], + "loc": { + "start": { + "line": 146, + "column": 28 + }, + "end": { + "line": 146, + "column": 29 + } + } + }, + "range": [ + 4220, + 4237 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 4216, + 4238 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 30 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "selectable", + "range": [ + 4252, + 4262 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "onAfterSelection", + "range": [ + 4396, + 4412 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 32 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "et", + "range": [ + 4425, + 4427 + ], + "loc": { + "start": { + "line": 151, + "column": 45 + }, + "end": { + "line": 151, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 4429, + 4440 + ], + "loc": { + "start": { + "line": 151, + "column": 49 + }, + "end": { + "line": 151, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "e", + "range": [ + 4442, + 4443 + ], + "loc": { + "start": { + "line": 151, + "column": 62 + }, + "end": { + "line": 151, + "column": 63 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 4467, + 4470 + ], + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 4473, + 4475 + ], + "loc": { + "start": { + "line": 152, + "column": 26 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 4476, + 4485 + ], + "loc": { + "start": { + "line": 152, + "column": 29 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + "range": [ + 4473, + 4485 + ], + "loc": { + "start": { + "line": 152, + "column": 26 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + "range": [ + 4467, + 4485 + ], + "loc": { + "start": { + "line": 152, + "column": 20 + }, + "end": { + "line": 152, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 4463, + 4486 + ], + "loc": { + "start": { + "line": 152, + "column": 16 + }, + "end": { + "line": 152, + "column": 39 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Next valid filtered row needs to be selected", + "range": [ + 4503, + 4549 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 62 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "doSelect", + "range": [ + 4570, + 4578 + ], + "loc": { + "start": { + "line": 154, + "column": 20 + }, + "end": { + "line": 154, + "column": 28 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 4591, + 4603 + ], + "loc": { + "start": { + "line": 154, + "column": 41 + }, + "end": { + "line": 154, + "column": 53 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 4631, + 4633 + ], + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultSelection", + "range": [ + 4634, + 4650 + ], + "loc": { + "start": { + "line": 155, + "column": 27 + }, + "end": { + "line": 155, + "column": 43 + } + } + }, + "range": [ + 4631, + 4650 + ], + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "row", + "raw": "'row'", + "range": [ + 4655, + 4660 + ], + "loc": { + "start": { + "line": 155, + "column": 48 + }, + "end": { + "line": 155, + "column": 53 + } + } + }, + "range": [ + 4631, + 4660 + ], + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 155, + "column": 53 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 4733, + 4736 + ], + "loc": { + "start": { + "line": 157, + "column": 24 + }, + "end": { + "line": 157, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "SelectRowByIndex", + "range": [ + 4737, + 4753 + ], + "loc": { + "start": { + "line": 157, + "column": 28 + }, + "end": { + "line": 157, + "column": 44 + } + } + }, + "range": [ + 4733, + 4753 + ], + "loc": { + "start": { + "line": 157, + "column": 24 + }, + "end": { + "line": 157, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 4754, + 4766 + ], + "loc": { + "start": { + "line": 157, + "column": 45 + }, + "end": { + "line": 157, + "column": 57 + } + } + } + ], + "range": [ + 4733, + 4767 + ], + "loc": { + "start": { + "line": 157, + "column": 24 + }, + "end": { + "line": 157, + "column": 58 + } + } + }, + "range": [ + 4733, + 4768 + ], + "loc": { + "start": { + "line": 157, + "column": 24 + }, + "end": { + "line": 157, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 4688, + 4708 + ], + "loc": { + "start": { + "line": 156, + "column": 24 + }, + "end": { + "line": 156, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4793, + 4812 + ], + "loc": { + "start": { + "line": 158, + "column": 24 + }, + "end": { + "line": 158, + "column": 43 + } + } + } + ] + } + ], + "range": [ + 4662, + 4834 + ], + "loc": { + "start": { + "line": 155, + "column": 55 + }, + "end": { + "line": 159, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 4911, + 4913 + ], + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "ClearSelections", + "range": [ + 4914, + 4929 + ], + "loc": { + "start": { + "line": 161, + "column": 27 + }, + "end": { + "line": 161, + "column": 42 + } + } + }, + "range": [ + 4911, + 4929 + ], + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 4911, + 4931 + ], + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 44 + } + } + }, + "range": [ + 4911, + 4932 + ], + "loc": { + "start": { + "line": 161, + "column": 24 + }, + "end": { + "line": 161, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 4866, + 4886 + ], + "loc": { + "start": { + "line": 160, + "column": 24 + }, + "end": { + "line": 160, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4957, + 4976 + ], + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 162, + "column": 43 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 5005, + 5014 + ], + "loc": { + "start": { + "line": 163, + "column": 28 + }, + "end": { + "line": 163, + "column": 37 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 5017, + 5028 + ], + "loc": { + "start": { + "line": 163, + "column": 40 + }, + "end": { + "line": 163, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 5029, + 5038 + ], + "loc": { + "start": { + "line": 163, + "column": 52 + }, + "end": { + "line": 163, + "column": 61 + } + } + }, + "range": [ + 5017, + 5038 + ], + "loc": { + "start": { + "line": 163, + "column": 40 + }, + "end": { + "line": 163, + "column": 61 + } + } + }, + "range": [ + 5005, + 5038 + ], + "loc": { + "start": { + "line": 163, + "column": 28 + }, + "end": { + "line": 163, + "column": 61 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 5068, + 5071 + ], + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5074, + 5076 + ], + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 5077, + 5080 + ], + "loc": { + "start": { + "line": 164, + "column": 37 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "range": [ + 5074, + 5080 + ], + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "arguments": [], + "range": [ + 5074, + 5082 + ], + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 5083, + 5087 + ], + "loc": { + "start": { + "line": 164, + "column": 43 + }, + "end": { + "line": 164, + "column": 47 + } + } + }, + "range": [ + 5074, + 5087 + ], + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 5088, + 5100 + ], + "loc": { + "start": { + "line": 164, + "column": 48 + }, + "end": { + "line": 164, + "column": 60 + } + } + }, + "range": [ + 5074, + 5101 + ], + "loc": { + "start": { + "line": 164, + "column": 34 + }, + "end": { + "line": 164, + "column": 61 + } + } + }, + "range": [ + 5068, + 5101 + ], + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 61 + } + } + } + ], + "kind": "let", + "range": [ + 5001, + 5102 + ], + "loc": { + "start": { + "line": 163, + "column": 24 + }, + "end": { + "line": 164, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4957, + 4976 + ], + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 162, + "column": 43 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 5131, + 5133 + ], + "loc": { + "start": { + "line": 165, + "column": 28 + }, + "end": { + "line": 165, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultSelection", + "range": [ + 5134, + 5150 + ], + "loc": { + "start": { + "line": 165, + "column": 31 + }, + "end": { + "line": 165, + "column": 47 + } + } + }, + "range": [ + 5131, + 5150 + ], + "loc": { + "start": { + "line": 165, + "column": 28 + }, + "end": { + "line": 165, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": "both", + "raw": "'both'", + "range": [ + 5155, + 5161 + ], + "loc": { + "start": { + "line": 165, + "column": 52 + }, + "end": { + "line": 165, + "column": 58 + } + } + }, + "range": [ + 5131, + 5161 + ], + "loc": { + "start": { + "line": 165, + "column": 28 + }, + "end": { + "line": 165, + "column": 58 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 5242, + 5245 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "SelectRowByIndex", + "range": [ + 5246, + 5262 + ], + "loc": { + "start": { + "line": 167, + "column": 32 + }, + "end": { + "line": 167, + "column": 48 + } + } + }, + "range": [ + 5242, + 5262 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 5263, + 5275 + ], + "loc": { + "start": { + "line": 167, + "column": 49 + }, + "end": { + "line": 167, + "column": 61 + } + } + } + ], + "range": [ + 5242, + 5276 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 62 + } + } + }, + "range": [ + 5242, + 5277 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 5193, + 5213 + ], + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5306, + 5325 + ], + "loc": { + "start": { + "line": 168, + "column": 28 + }, + "end": { + "line": 168, + "column": 47 + } + } + } + ] + } + ], + "range": [ + 5163, + 5351 + ], + "loc": { + "start": { + "line": 165, + "column": 60 + }, + "end": { + "line": 169, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 5127, + 5351 + ], + "loc": { + "start": { + "line": 165, + "column": 24 + }, + "end": { + "line": 169, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "row", + "range": [ + 5380, + 5383 + ], + "loc": { + "start": { + "line": 170, + "column": 28 + }, + "end": { + "line": 170, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 5464, + 5467 + ], + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "SelectCell", + "range": [ + 5468, + 5478 + ], + "loc": { + "start": { + "line": 172, + "column": 32 + }, + "end": { + "line": 172, + "column": 42 + } + } + }, + "range": [ + 5464, + 5478 + ], + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 5479, + 5482 + ], + "loc": { + "start": { + "line": 172, + "column": 43 + }, + "end": { + "line": 172, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 5483, + 5488 + ], + "loc": { + "start": { + "line": 172, + "column": 47 + }, + "end": { + "line": 172, + "column": 52 + } + } + }, + "range": [ + 5479, + 5488 + ], + "loc": { + "start": { + "line": 172, + "column": 43 + }, + "end": { + "line": 172, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 5489, + 5498 + ], + "loc": { + "start": { + "line": 172, + "column": 53 + }, + "end": { + "line": 172, + "column": 62 + } + } + }, + "range": [ + 5479, + 5499 + ], + "loc": { + "start": { + "line": 172, + "column": 43 + }, + "end": { + "line": 172, + "column": 63 + } + } + } + ], + "range": [ + 5464, + 5500 + ], + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 64 + } + } + }, + "range": [ + 5464, + 5501 + ], + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 5415, + 5435 + ], + "loc": { + "start": { + "line": 171, + "column": 28 + }, + "end": { + "line": 171, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5530, + 5549 + ], + "loc": { + "start": { + "line": 173, + "column": 28 + }, + "end": { + "line": 173, + "column": 47 + } + } + } + ] + } + ], + "range": [ + 5385, + 5575 + ], + "loc": { + "start": { + "line": 170, + "column": 33 + }, + "end": { + "line": 174, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 5376, + 5575 + ], + "loc": { + "start": { + "line": 170, + "column": 24 + }, + "end": { + "line": 174, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5306, + 5325 + ], + "loc": { + "start": { + "line": 168, + "column": 28 + }, + "end": { + "line": 168, + "column": 47 + } + } + } + ] + } + ], + "range": [ + 4840, + 5597 + ], + "loc": { + "start": { + "line": 159, + "column": 27 + }, + "end": { + "line": 175, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4793, + 4812 + ], + "loc": { + "start": { + "line": 158, + "column": 24 + }, + "end": { + "line": 158, + "column": 43 + } + } + } + ] + }, + "range": [ + 4627, + 5597 + ], + "loc": { + "start": { + "line": 155, + "column": 20 + }, + "end": { + "line": 175, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Table is filtered", + "range": [ + 5618, + 5637 + ], + "loc": { + "start": { + "line": 176, + "column": 20 + }, + "end": { + "line": 176, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5662, + 5664 + ], + "loc": { + "start": { + "line": 177, + "column": 24 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 5665, + 5679 + ], + "loc": { + "start": { + "line": 177, + "column": 27 + }, + "end": { + "line": 177, + "column": 41 + } + } + }, + "range": [ + 5662, + 5679 + ], + "loc": { + "start": { + "line": 177, + "column": 24 + }, + "end": { + "line": 177, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 5680, + 5686 + ], + "loc": { + "start": { + "line": 177, + "column": 42 + }, + "end": { + "line": 177, + "column": 48 + } + } + }, + "range": [ + 5662, + 5686 + ], + "loc": { + "start": { + "line": 177, + "column": 24 + }, + "end": { + "line": 177, + "column": 48 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5691, + 5693 + ], + "loc": { + "start": { + "line": 177, + "column": 53 + }, + "end": { + "line": 177, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 5694, + 5703 + ], + "loc": { + "start": { + "line": 177, + "column": 56 + }, + "end": { + "line": 177, + "column": 65 + } + } + }, + "range": [ + 5691, + 5703 + ], + "loc": { + "start": { + "line": 177, + "column": 53 + }, + "end": { + "line": 177, + "column": 65 + } + } + }, + "arguments": [], + "range": [ + 5691, + 5705 + ], + "loc": { + "start": { + "line": 177, + "column": 53 + }, + "end": { + "line": 177, + "column": 67 + } + } + }, + "range": [ + 5662, + 5705 + ], + "loc": { + "start": { + "line": 177, + "column": 24 + }, + "end": { + "line": 177, + "column": 67 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 5737, + 5738 + ], + "loc": { + "start": { + "line": 178, + "column": 28 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5741, + 5743 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 5744, + 5747 + ], + "loc": { + "start": { + "line": 178, + "column": 35 + }, + "end": { + "line": 178, + "column": 38 + } + } + }, + "range": [ + 5741, + 5747 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 38 + } + } + }, + "arguments": [], + "range": [ + 5741, + 5749 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 5750, + 5754 + ], + "loc": { + "start": { + "line": 178, + "column": 41 + }, + "end": { + "line": 178, + "column": 45 + } + } + }, + "range": [ + 5741, + 5754 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 5755, + 5767 + ], + "loc": { + "start": { + "line": 178, + "column": 46 + }, + "end": { + "line": 178, + "column": 58 + } + } + }, + "range": [ + 5741, + 5768 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 59 + } + } + }, + "range": [ + 5737, + 5768 + ], + "loc": { + "start": { + "line": 178, + "column": 28 + }, + "end": { + "line": 178, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 5733, + 5769 + ], + "loc": { + "start": { + "line": 178, + "column": 24 + }, + "end": { + "line": 178, + "column": 60 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "r", + "range": [ + 5798, + 5799 + ], + "loc": { + "start": { + "line": 179, + "column": 28 + }, + "end": { + "line": 179, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 5831, + 5832 + ], + "loc": { + "start": { + "line": 180, + "column": 28 + }, + "end": { + "line": 180, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollIntoView", + "range": [ + 5833, + 5847 + ], + "loc": { + "start": { + "line": 180, + "column": 30 + }, + "end": { + "line": 180, + "column": 44 + } + } + }, + "range": [ + 5831, + 5847 + ], + "loc": { + "start": { + "line": 180, + "column": 28 + }, + "end": { + "line": 180, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 5848, + 5853 + ], + "loc": { + "start": { + "line": 180, + "column": 45 + }, + "end": { + "line": 180, + "column": 50 + } + } + } + ], + "range": [ + 5831, + 5854 + ], + "loc": { + "start": { + "line": 180, + "column": 28 + }, + "end": { + "line": 180, + "column": 51 + } + } + }, + "range": [ + 5831, + 5855 + ], + "loc": { + "start": { + "line": 180, + "column": 28 + }, + "end": { + "line": 180, + "column": 52 + } + } + } + ], + "range": [ + 5801, + 5881 + ], + "loc": { + "start": { + "line": 179, + "column": 31 + }, + "end": { + "line": 181, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 5794, + 5881 + ], + "loc": { + "start": { + "line": 179, + "column": 24 + }, + "end": { + "line": 181, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "cell", + "range": [ + 5910, + 5914 + ], + "loc": { + "start": { + "line": 182, + "column": 28 + }, + "end": { + "line": 182, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 5950, + 5954 + ], + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 183, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 5955, + 5964 + ], + "loc": { + "start": { + "line": 183, + "column": 37 + }, + "end": { + "line": 183, + "column": 46 + } + } + }, + "range": [ + 5950, + 5964 + ], + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 183, + "column": 46 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5970, + 5972 + ], + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 5973, + 5983 + ], + "loc": { + "start": { + "line": 183, + "column": 55 + }, + "end": { + "line": 183, + "column": 65 + } + } + }, + "range": [ + 5970, + 5983 + ], + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 65 + } + } + }, + "arguments": [], + "range": [ + 5970, + 5985 + ], + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 67 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5988, + 5989 + ], + "loc": { + "start": { + "line": 183, + "column": 70 + }, + "end": { + "line": 183, + "column": 71 + } + } + }, + "range": [ + 5970, + 5989 + ], + "loc": { + "start": { + "line": 183, + "column": 52 + }, + "end": { + "line": 183, + "column": 71 + } + } + }, + "range": [ + 5950, + 5990 + ], + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 183, + "column": 72 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6026, + 6028 + ], + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 6029, + 6039 + ], + "loc": { + "start": { + "line": 184, + "column": 35 + }, + "end": { + "line": 184, + "column": 45 + } + } + }, + "range": [ + 6026, + 6039 + ], + "loc": { + "start": { + "line": 184, + "column": 32 + }, + "end": { + "line": 184, + "column": 45 + } + } + }, + "range": [ + 5950, + 6039 + ], + "loc": { + "start": { + "line": 183, + "column": 32 + }, + "end": { + "line": 184, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6075, + 6077 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 6078, + 6085 + ], + "loc": { + "start": { + "line": 185, + "column": 35 + }, + "end": { + "line": 185, + "column": 42 + } + } + }, + "range": [ + 6075, + 6085 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 6086, + 6096 + ], + "loc": { + "start": { + "line": 185, + "column": 43 + }, + "end": { + "line": 185, + "column": 53 + } + } + }, + "range": [ + 6075, + 6096 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 100000000, + "raw": "100000000", + "range": [ + 6099, + 6108 + ], + "loc": { + "start": { + "line": 185, + "column": 56 + }, + "end": { + "line": 185, + "column": 65 + } + } + }, + "range": [ + 6075, + 6108 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 65 + } + } + }, + "range": [ + 6075, + 6109 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 66 + } + } + } + ], + "range": [ + 6041, + 6139 + ], + "loc": { + "start": { + "line": 184, + "column": 47 + }, + "end": { + "line": 186, + "column": 29 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 6177, + 6181 + ], + "loc": { + "start": { + "line": 187, + "column": 37 + }, + "end": { + "line": 187, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 6182, + 6191 + ], + "loc": { + "start": { + "line": 187, + "column": 42 + }, + "end": { + "line": 187, + "column": 51 + } + } + }, + "range": [ + 6177, + 6191 + ], + "loc": { + "start": { + "line": 187, + "column": 37 + }, + "end": { + "line": 187, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6196, + 6197 + ], + "loc": { + "start": { + "line": 187, + "column": 56 + }, + "end": { + "line": 187, + "column": 57 + } + } + }, + "range": [ + 6177, + 6197 + ], + "loc": { + "start": { + "line": 187, + "column": 37 + }, + "end": { + "line": 187, + "column": 57 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6201, + 6203 + ], + "loc": { + "start": { + "line": 187, + "column": 61 + }, + "end": { + "line": 187, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 6204, + 6214 + ], + "loc": { + "start": { + "line": 187, + "column": 64 + }, + "end": { + "line": 187, + "column": 74 + } + } + }, + "range": [ + 6201, + 6214 + ], + "loc": { + "start": { + "line": 187, + "column": 61 + }, + "end": { + "line": 187, + "column": 74 + } + } + }, + "range": [ + 6177, + 6214 + ], + "loc": { + "start": { + "line": 187, + "column": 37 + }, + "end": { + "line": 187, + "column": 74 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6250, + 6252 + ], + "loc": { + "start": { + "line": 188, + "column": 32 + }, + "end": { + "line": 188, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 6253, + 6260 + ], + "loc": { + "start": { + "line": 188, + "column": 35 + }, + "end": { + "line": 188, + "column": 42 + } + } + }, + "range": [ + 6250, + 6260 + ], + "loc": { + "start": { + "line": 188, + "column": 32 + }, + "end": { + "line": 188, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 6261, + 6271 + ], + "loc": { + "start": { + "line": 188, + "column": 43 + }, + "end": { + "line": 188, + "column": 53 + } + } + }, + "range": [ + 6250, + 6271 + ], + "loc": { + "start": { + "line": 188, + "column": 32 + }, + "end": { + "line": 188, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6274, + 6275 + ], + "loc": { + "start": { + "line": 188, + "column": 56 + }, + "end": { + "line": 188, + "column": 57 + } + } + }, + "range": [ + 6250, + 6275 + ], + "loc": { + "start": { + "line": 188, + "column": 32 + }, + "end": { + "line": 188, + "column": 57 + } + } + }, + "range": [ + 6250, + 6276 + ], + "loc": { + "start": { + "line": 188, + "column": 32 + }, + "end": { + "line": 188, + "column": 58 + } + } + } + ], + "range": [ + 6216, + 6306 + ], + "loc": { + "start": { + "line": 187, + "column": 76 + }, + "end": { + "line": 189, + "column": 29 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 6346, + 6350 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollIntoView", + "range": [ + 6351, + 6365 + ], + "loc": { + "start": { + "line": 190, + "column": 37 + }, + "end": { + "line": 190, + "column": 51 + } + } + }, + "range": [ + 6346, + 6365 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 6366, + 6371 + ], + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 57 + } + } + } + ], + "range": [ + 6346, + 6372 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 58 + } + } + }, + "range": [ + 6346, + 6373 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 59 + } + } + } + ], + "range": [ + 6312, + 6403 + ], + "loc": { + "start": { + "line": 189, + "column": 35 + }, + "end": { + "line": 191, + "column": 29 + } + } + }, + "range": [ + 6173, + 6403 + ], + "loc": { + "start": { + "line": 187, + "column": 33 + }, + "end": { + "line": 191, + "column": 29 + } + } + }, + "range": [ + 5946, + 6403 + ], + "loc": { + "start": { + "line": 183, + "column": 28 + }, + "end": { + "line": 191, + "column": 29 + } + } + } + ], + "range": [ + 5916, + 6429 + ], + "loc": { + "start": { + "line": 182, + "column": 34 + }, + "end": { + "line": 192, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 5906, + 6429 + ], + "loc": { + "start": { + "line": 182, + "column": 24 + }, + "end": { + "line": 192, + "column": 25 + } + } + } + ], + "range": [ + 5707, + 6451 + ], + "loc": { + "start": { + "line": 177, + "column": 69 + }, + "end": { + "line": 193, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 5658, + 6451 + ], + "loc": { + "start": { + "line": 177, + "column": 20 + }, + "end": { + "line": 193, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5530, + 5549 + ], + "loc": { + "start": { + "line": 173, + "column": 28 + }, + "end": { + "line": 173, + "column": 47 + } + } + }, + { + "type": "Line", + "value": "Table is filtered", + "range": [ + 5618, + 5637 + ], + "loc": { + "start": { + "line": 176, + "column": 20 + }, + "end": { + "line": 176, + "column": 39 + } + } + } + ] + } + ], + "range": [ + 4605, + 6469 + ], + "loc": { + "start": { + "line": 154, + "column": 55 + }, + "end": { + "line": 194, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4581, + 6469 + ], + "loc": { + "start": { + "line": 154, + "column": 31 + }, + "end": { + "line": 194, + "column": 17 + } + } + }, + "range": [ + 4570, + 6469 + ], + "loc": { + "start": { + "line": 154, + "column": 20 + }, + "end": { + "line": 194, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 4566, + 6470 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 194, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Next valid filtered row needs to be selected", + "range": [ + 4503, + 4549 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "table is not filtered", + "range": [ + 6488, + 6511 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6533, + 6535 + ], + "loc": { + "start": { + "line": 197, + "column": 21 + }, + "end": { + "line": 197, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 6536, + 6550 + ], + "loc": { + "start": { + "line": 197, + "column": 24 + }, + "end": { + "line": 197, + "column": 38 + } + } + }, + "range": [ + 6533, + 6550 + ], + "loc": { + "start": { + "line": 197, + "column": 21 + }, + "end": { + "line": 197, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 6532, + 6550 + ], + "loc": { + "start": { + "line": 197, + "column": 20 + }, + "end": { + "line": 197, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 6574, + 6581 + ], + "loc": { + "start": { + "line": 198, + "column": 20 + }, + "end": { + "line": 198, + "column": 27 + } + } + } + ], + "range": [ + 6552, + 6599 + ], + "loc": { + "start": { + "line": 197, + "column": 40 + }, + "end": { + "line": 199, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 6528, + 6599 + ], + "loc": { + "start": { + "line": 197, + "column": 16 + }, + "end": { + "line": 199, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "table is not filtered", + "range": [ + 6488, + 6511 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 39 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 6620, + 6632 + ], + "loc": { + "start": { + "line": 200, + "column": 20 + }, + "end": { + "line": 200, + "column": 32 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6635, + 6637 + ], + "loc": { + "start": { + "line": 200, + "column": 35 + }, + "end": { + "line": 200, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 6638, + 6652 + ], + "loc": { + "start": { + "line": 200, + "column": 38 + }, + "end": { + "line": 200, + "column": 52 + } + } + }, + "range": [ + 6635, + 6652 + ], + "loc": { + "start": { + "line": 200, + "column": 35 + }, + "end": { + "line": 200, + "column": 52 + } + } + }, + "range": [ + 6620, + 6652 + ], + "loc": { + "start": { + "line": 200, + "column": 20 + }, + "end": { + "line": 200, + "column": 52 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 6674, + 6685 + ], + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 6688, + 6700 + ], + "loc": { + "start": { + "line": 201, + "column": 34 + }, + "end": { + "line": 201, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 6701, + 6707 + ], + "loc": { + "start": { + "line": 201, + "column": 47 + }, + "end": { + "line": 201, + "column": 53 + } + } + }, + "range": [ + 6688, + 6707 + ], + "loc": { + "start": { + "line": 201, + "column": 34 + }, + "end": { + "line": 201, + "column": 53 + } + } + }, + "range": [ + 6674, + 6707 + ], + "loc": { + "start": { + "line": 201, + "column": 20 + }, + "end": { + "line": 201, + "column": 53 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 6729, + 6732 + ], + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 202, + "column": 23 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 6735, + 6737 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 202, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultSelection", + "range": [ + 6738, + 6754 + ], + "loc": { + "start": { + "line": 202, + "column": 29 + }, + "end": { + "line": 202, + "column": 45 + } + } + }, + "range": [ + 6735, + 6754 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 202, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": "row", + "raw": "'row'", + "range": [ + 6759, + 6764 + ], + "loc": { + "start": { + "line": 202, + "column": 50 + }, + "end": { + "line": 202, + "column": 55 + } + } + }, + "range": [ + 6735, + 6764 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 202, + "column": 55 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 6791, + 6802 + ], + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 6803, + 6813 + ], + "loc": { + "start": { + "line": 203, + "column": 36 + }, + "end": { + "line": 203, + "column": 46 + } + } + }, + "range": [ + 6791, + 6813 + ], + "loc": { + "start": { + "line": 203, + "column": 24 + }, + "end": { + "line": 203, + "column": 46 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 6816, + 6827 + ], + "loc": { + "start": { + "line": 203, + "column": 49 + }, + "end": { + "line": 203, + "column": 60 + } + } + }, + "range": [ + 6735, + 6827 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 203, + "column": 60 + } + } + }, + "range": [ + 6729, + 6827 + ], + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 203, + "column": 60 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 6917, + 6921 + ], + "loc": { + "start": { + "line": 205, + "column": 20 + }, + "end": { + "line": 205, + "column": 24 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 6924, + 6935 + ], + "loc": { + "start": { + "line": 205, + "column": 27 + }, + "end": { + "line": 205, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 6936, + 6944 + ], + "loc": { + "start": { + "line": 205, + "column": 39 + }, + "end": { + "line": 205, + "column": 47 + } + } + }, + "range": [ + 6924, + 6944 + ], + "loc": { + "start": { + "line": 205, + "column": 27 + }, + "end": { + "line": 205, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": "TD", + "raw": "'TD'", + "range": [ + 6949, + 6953 + ], + "loc": { + "start": { + "line": 205, + "column": 52 + }, + "end": { + "line": 205, + "column": 56 + } + } + }, + "range": [ + 6924, + 6953 + ], + "loc": { + "start": { + "line": 205, + "column": 27 + }, + "end": { + "line": 205, + "column": 56 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 6956, + 6967 + ], + "loc": { + "start": { + "line": 205, + "column": 59 + }, + "end": { + "line": 205, + "column": 70 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6970, + 6974 + ], + "loc": { + "start": { + "line": 205, + "column": 73 + }, + "end": { + "line": 205, + "column": 77 + } + } + }, + "range": [ + 6924, + 6974 + ], + "loc": { + "start": { + "line": 205, + "column": 27 + }, + "end": { + "line": 205, + "column": 77 + } + } + }, + "range": [ + 6917, + 6974 + ], + "loc": { + "start": { + "line": 205, + "column": 20 + }, + "end": { + "line": 205, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "cell for default_selection = 'both' or 'cell'", + "range": [ + 6849, + 6896 + ], + "loc": { + "start": { + "line": 204, + "column": 20 + }, + "end": { + "line": 204, + "column": 67 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 7037, + 7044 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 27 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "e", + "range": [ + 7047, + 7048 + ], + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 7053, + 7062 + ], + "loc": { + "start": { + "line": 207, + "column": 36 + }, + "end": { + "line": 207, + "column": 45 + } + } + }, + "range": [ + 7047, + 7062 + ], + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 45 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 7065, + 7067 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "Event", + "range": [ + 7068, + 7073 + ], + "loc": { + "start": { + "line": 207, + "column": 51 + }, + "end": { + "line": 207, + "column": 56 + } + } + }, + "range": [ + 7065, + 7073 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "GetKey", + "range": [ + 7074, + 7080 + ], + "loc": { + "start": { + "line": 207, + "column": 57 + }, + "end": { + "line": 207, + "column": 63 + } + } + }, + "range": [ + 7065, + 7080 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 7081, + 7082 + ], + "loc": { + "start": { + "line": 207, + "column": 64 + }, + "end": { + "line": 207, + "column": 65 + } + } + } + ], + "range": [ + 7065, + 7083 + ], + "loc": { + "start": { + "line": 207, + "column": 48 + }, + "end": { + "line": 207, + "column": 66 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7086, + 7087 + ], + "loc": { + "start": { + "line": 207, + "column": 69 + }, + "end": { + "line": 207, + "column": 70 + } + } + }, + "range": [ + 7047, + 7087 + ], + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 70 + } + } + }, + "range": [ + 7037, + 7087 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 6996, + 7016 + ], + "loc": { + "start": { + "line": 206, + "column": 20 + }, + "end": { + "line": 206, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 7149, + 7159 + ], + "loc": { + "start": { + "line": 209, + "column": 20 + }, + "end": { + "line": 209, + "column": 30 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 7162, + 7174 + ], + "loc": { + "start": { + "line": 209, + "column": 33 + }, + "end": { + "line": 209, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 7175, + 7182 + ], + "loc": { + "start": { + "line": 209, + "column": 46 + }, + "end": { + "line": 209, + "column": 53 + } + } + }, + "range": [ + 7162, + 7182 + ], + "loc": { + "start": { + "line": 209, + "column": 33 + }, + "end": { + "line": 209, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 7183, + 7186 + ], + "loc": { + "start": { + "line": 209, + "column": 54 + }, + "end": { + "line": 209, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 7187, + 7195 + ], + "loc": { + "start": { + "line": 209, + "column": 58 + }, + "end": { + "line": 209, + "column": 66 + } + } + }, + "range": [ + 7183, + 7195 + ], + "loc": { + "start": { + "line": 209, + "column": 54 + }, + "end": { + "line": 209, + "column": 66 + } + } + } + ], + "range": [ + 7162, + 7196 + ], + "loc": { + "start": { + "line": 209, + "column": 33 + }, + "end": { + "line": 209, + "column": 67 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7202, + 7203 + ], + "loc": { + "start": { + "line": 209, + "column": 73 + }, + "end": { + "line": 209, + "column": 74 + } + } + }, + "prefix": true, + "range": [ + 7201, + 7203 + ], + "loc": { + "start": { + "line": 209, + "column": 72 + }, + "end": { + "line": 209, + "column": 74 + } + } + }, + "range": [ + 7162, + 7203 + ], + "loc": { + "start": { + "line": 209, + "column": 33 + }, + "end": { + "line": 209, + "column": 74 + } + } + }, + "range": [ + 7149, + 7203 + ], + "loc": { + "start": { + "line": 209, + "column": 20 + }, + "end": { + "line": 209, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 7109, + 7128 + ], + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 39 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 7225, + 7237 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 210, + "column": 32 + } + } + }, + "init": null, + "range": [ + 7225, + 7237 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 210, + "column": 32 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "paging", + "range": [ + 7259, + 7265 + ], + "loc": { + "start": { + "line": 211, + "column": 20 + }, + "end": { + "line": 211, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7268, + 7270 + ], + "loc": { + "start": { + "line": 211, + "column": 29 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 7271, + 7278 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 39 + } + } + }, + "range": [ + 7268, + 7278 + ], + "loc": { + "start": { + "line": 211, + "column": 29 + }, + "end": { + "line": 211, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 7279, + 7287 + ], + "loc": { + "start": { + "line": 211, + "column": 40 + }, + "end": { + "line": 211, + "column": 48 + } + } + } + ], + "range": [ + 7268, + 7288 + ], + "loc": { + "start": { + "line": 211, + "column": 29 + }, + "end": { + "line": 211, + "column": 49 + } + } + }, + "range": [ + 7259, + 7288 + ], + "loc": { + "start": { + "line": 211, + "column": 20 + }, + "end": { + "line": 211, + "column": 49 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "d", + "range": [ + 7349, + 7350 + ], + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 21 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 7353, + 7360 + ], + "loc": { + "start": { + "line": 213, + "column": 24 + }, + "end": { + "line": 213, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": 34, + "raw": "34", + "range": [ + 7365, + 7367 + ], + "loc": { + "start": { + "line": 213, + "column": 36 + }, + "end": { + "line": 213, + "column": 38 + } + } + }, + "range": [ + 7353, + 7367 + ], + "loc": { + "start": { + "line": 213, + "column": 24 + }, + "end": { + "line": 213, + "column": 38 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 7371, + 7378 + ], + "loc": { + "start": { + "line": 213, + "column": 42 + }, + "end": { + "line": 213, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": 33, + "raw": "33", + "range": [ + 7383, + 7385 + ], + "loc": { + "start": { + "line": 213, + "column": 54 + }, + "end": { + "line": 213, + "column": 56 + } + } + }, + "range": [ + 7371, + 7385 + ], + "loc": { + "start": { + "line": 213, + "column": 42 + }, + "end": { + "line": 213, + "column": 56 + } + } + }, + "range": [ + 7353, + 7385 + ], + "loc": { + "start": { + "line": 213, + "column": 24 + }, + "end": { + "line": 213, + "column": 56 + } + } + }, + "consequent": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "paging", + "range": [ + 7413, + 7419 + ], + "loc": { + "start": { + "line": 214, + "column": 25 + }, + "end": { + "line": 214, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 7423, + 7429 + ], + "loc": { + "start": { + "line": 214, + "column": 35 + }, + "end": { + "line": 214, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 7430, + 7440 + ], + "loc": { + "start": { + "line": 214, + "column": 42 + }, + "end": { + "line": 214, + "column": 52 + } + } + }, + "range": [ + 7423, + 7440 + ], + "loc": { + "start": { + "line": 214, + "column": 35 + }, + "end": { + "line": 214, + "column": 52 + } + } + }, + "range": [ + 7413, + 7440 + ], + "loc": { + "start": { + "line": 214, + "column": 25 + }, + "end": { + "line": 214, + "column": 52 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 7444, + 7446 + ], + "loc": { + "start": { + "line": 214, + "column": 56 + }, + "end": { + "line": 214, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbRowsPerPage", + "range": [ + 7447, + 7460 + ], + "loc": { + "start": { + "line": 214, + "column": 59 + }, + "end": { + "line": 214, + "column": 72 + } + } + }, + "range": [ + 7444, + 7460 + ], + "loc": { + "start": { + "line": 214, + "column": 56 + }, + "end": { + "line": 214, + "column": 72 + } + } + }, + "range": [ + 7413, + 7460 + ], + "loc": { + "start": { + "line": 214, + "column": 25 + }, + "end": { + "line": 214, + "column": 72 + } + } + }, + "alternate": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7488, + 7489 + ], + "loc": { + "start": { + "line": 215, + "column": 24 + }, + "end": { + "line": 215, + "column": 25 + } + } + }, + "range": [ + 7353, + 7489 + ], + "loc": { + "start": { + "line": 213, + "column": 24 + }, + "end": { + "line": 215, + "column": 25 + } + } + }, + "range": [ + 7349, + 7489 + ], + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 215, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "pgup/pgdown keys", + "range": [ + 7310, + 7328 + ], + "loc": { + "start": { + "line": 212, + "column": 20 + }, + "end": { + "line": 212, + "column": 38 + } + } + } + ] + } + ], + "kind": "let", + "range": [ + 6616, + 7490 + ], + "loc": { + "start": { + "line": 200, + "column": 16 + }, + "end": { + "line": 215, + "column": 26 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "If next row is not valid, next valid filtered row needs to be", + "range": [ + 7508, + 7571 + ], + "loc": { + "start": { + "line": 217, + "column": 16 + }, + "end": { + "line": 217, + "column": 79 + } + } + }, + { + "type": "Line", + "value": "calculated", + "range": [ + 7588, + 7600 + ], + "loc": { + "start": { + "line": 218, + "column": 16 + }, + "end": { + "line": 218, + "column": 28 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 7622, + 7632 + ], + "loc": { + "start": { + "line": 219, + "column": 21 + }, + "end": { + "line": 219, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 7621, + 7632 + ], + "loc": { + "start": { + "line": 219, + "column": 20 + }, + "end": { + "line": 219, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 7710, + 7713 + ], + "loc": { + "start": { + "line": 221, + "column": 24 + }, + "end": { + "line": 221, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 7714, + 7722 + ], + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 36 + } + } + }, + "range": [ + 7710, + 7722 + ], + "loc": { + "start": { + "line": 221, + "column": 24 + }, + "end": { + "line": 221, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "_lastRowIndex", + "range": [ + 7725, + 7738 + ], + "loc": { + "start": { + "line": 221, + "column": 39 + }, + "end": { + "line": 221, + "column": 52 + } + } + }, + "range": [ + 7710, + 7738 + ], + "loc": { + "start": { + "line": 221, + "column": 24 + }, + "end": { + "line": 221, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 7805, + 7808 + ], + "loc": { + "start": { + "line": 223, + "column": 28 + }, + "end": { + "line": 223, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 7809, + 7817 + ], + "loc": { + "start": { + "line": 223, + "column": 32 + }, + "end": { + "line": 223, + "column": 40 + } + } + }, + "range": [ + 7805, + 7817 + ], + "loc": { + "start": { + "line": 223, + "column": 28 + }, + "end": { + "line": 223, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 7821, + 7833 + ], + "loc": { + "start": { + "line": 223, + "column": 44 + }, + "end": { + "line": 223, + "column": 56 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 7834, + 7845 + ], + "loc": { + "start": { + "line": 223, + "column": 57 + }, + "end": { + "line": 223, + "column": 68 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7848, + 7849 + ], + "loc": { + "start": { + "line": 223, + "column": 71 + }, + "end": { + "line": 223, + "column": 72 + } + } + }, + "range": [ + 7834, + 7849 + ], + "loc": { + "start": { + "line": 223, + "column": 57 + }, + "end": { + "line": 223, + "column": 72 + } + } + }, + "range": [ + 7821, + 7850 + ], + "loc": { + "start": { + "line": 223, + "column": 44 + }, + "end": { + "line": 223, + "column": 73 + } + } + }, + "range": [ + 7805, + 7850 + ], + "loc": { + "start": { + "line": 223, + "column": 28 + }, + "end": { + "line": 223, + "column": 73 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 7882, + 7894 + ], + "loc": { + "start": { + "line": 224, + "column": 28 + }, + "end": { + "line": 224, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 7897, + 7909 + ], + "loc": { + "start": { + "line": 224, + "column": 43 + }, + "end": { + "line": 224, + "column": 55 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 7910, + 7921 + ], + "loc": { + "start": { + "line": 224, + "column": 56 + }, + "end": { + "line": 224, + "column": 67 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7924, + 7925 + ], + "loc": { + "start": { + "line": 224, + "column": 70 + }, + "end": { + "line": 224, + "column": 71 + } + } + }, + "range": [ + 7910, + 7925 + ], + "loc": { + "start": { + "line": 224, + "column": 56 + }, + "end": { + "line": 224, + "column": 71 + } + } + }, + "range": [ + 7897, + 7926 + ], + "loc": { + "start": { + "line": 224, + "column": 43 + }, + "end": { + "line": 224, + "column": 72 + } + } + }, + "range": [ + 7882, + 7926 + ], + "loc": { + "start": { + "line": 224, + "column": 28 + }, + "end": { + "line": 224, + "column": 72 + } + } + }, + "range": [ + 7882, + 7927 + ], + "loc": { + "start": { + "line": 224, + "column": 28 + }, + "end": { + "line": 224, + "column": 73 + } + } + } + ], + "range": [ + 7852, + 7953 + ], + "loc": { + "start": { + "line": 223, + "column": 75 + }, + "end": { + "line": 225, + "column": 25 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "calcRowIndex", + "range": [ + 7993, + 8005 + ], + "loc": { + "start": { + "line": 226, + "column": 32 + }, + "end": { + "line": 226, + "column": 44 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 8009, + 8027 + ], + "loc": { + "start": { + "line": 226, + "column": 48 + }, + "end": { + "line": 226, + "column": 66 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 8030, + 8031 + ], + "loc": { + "start": { + "line": 226, + "column": 69 + }, + "end": { + "line": 226, + "column": 70 + } + } + }, + "range": [ + 8009, + 8031 + ], + "loc": { + "start": { + "line": 226, + "column": 48 + }, + "end": { + "line": 226, + "column": 70 + } + } + }, + "range": [ + 7993, + 8032 + ], + "loc": { + "start": { + "line": 226, + "column": 32 + }, + "end": { + "line": 226, + "column": 71 + } + } + } + ], + "kind": "let", + "range": [ + 7989, + 8033 + ], + "loc": { + "start": { + "line": 226, + "column": 28 + }, + "end": { + "line": 226, + "column": 72 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "calcRowIndex", + "range": [ + 8066, + 8078 + ], + "loc": { + "start": { + "line": 227, + "column": 32 + }, + "end": { + "line": 227, + "column": 44 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 8082, + 8093 + ], + "loc": { + "start": { + "line": 227, + "column": 48 + }, + "end": { + "line": 227, + "column": 59 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8096, + 8097 + ], + "loc": { + "start": { + "line": 227, + "column": 62 + }, + "end": { + "line": 227, + "column": 63 + } + } + }, + "range": [ + 8082, + 8097 + ], + "loc": { + "start": { + "line": 227, + "column": 48 + }, + "end": { + "line": 227, + "column": 63 + } + } + }, + "range": [ + 8066, + 8098 + ], + "loc": { + "start": { + "line": 227, + "column": 32 + }, + "end": { + "line": 227, + "column": 64 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 8134, + 8146 + ], + "loc": { + "start": { + "line": 228, + "column": 32 + }, + "end": { + "line": 228, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8149, + 8161 + ], + "loc": { + "start": { + "line": 228, + "column": 47 + }, + "end": { + "line": 228, + "column": 59 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 8162, + 8173 + ], + "loc": { + "start": { + "line": 228, + "column": 60 + }, + "end": { + "line": 228, + "column": 71 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8176, + 8177 + ], + "loc": { + "start": { + "line": 228, + "column": 74 + }, + "end": { + "line": 228, + "column": 75 + } + } + }, + "range": [ + 8162, + 8177 + ], + "loc": { + "start": { + "line": 228, + "column": 60 + }, + "end": { + "line": 228, + "column": 75 + } + } + }, + "range": [ + 8149, + 8178 + ], + "loc": { + "start": { + "line": 228, + "column": 47 + }, + "end": { + "line": 228, + "column": 76 + } + } + }, + "range": [ + 8134, + 8178 + ], + "loc": { + "start": { + "line": 228, + "column": 32 + }, + "end": { + "line": 228, + "column": 76 + } + } + }, + "range": [ + 8134, + 8179 + ], + "loc": { + "start": { + "line": 228, + "column": 32 + }, + "end": { + "line": 228, + "column": 77 + } + } + } + ], + "range": [ + 8100, + 8209 + ], + "loc": { + "start": { + "line": 227, + "column": 66 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 8249, + 8261 + ], + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 230, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8264, + 8276 + ], + "loc": { + "start": { + "line": 230, + "column": 47 + }, + "end": { + "line": 230, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcRowIndex", + "range": [ + 8277, + 8289 + ], + "loc": { + "start": { + "line": 230, + "column": 60 + }, + "end": { + "line": 230, + "column": 72 + } + } + }, + "range": [ + 8264, + 8290 + ], + "loc": { + "start": { + "line": 230, + "column": 47 + }, + "end": { + "line": 230, + "column": 73 + } + } + }, + "range": [ + 8249, + 8290 + ], + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 230, + "column": 73 + } + } + }, + "range": [ + 8249, + 8291 + ], + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 230, + "column": 74 + } + } + } + ], + "range": [ + 8215, + 8321 + ], + "loc": { + "start": { + "line": 229, + "column": 35 + }, + "end": { + "line": 231, + "column": 29 + } + } + }, + "range": [ + 8062, + 8321 + ], + "loc": { + "start": { + "line": 227, + "column": 28 + }, + "end": { + "line": 231, + "column": 29 + } + } + } + ], + "range": [ + 7959, + 8347 + ], + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 232, + "column": 25 + } + } + }, + "range": [ + 7801, + 8347 + ], + "loc": { + "start": { + "line": 223, + "column": 24 + }, + "end": { + "line": 232, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "last row", + "range": [ + 7766, + 7776 + ], + "loc": { + "start": { + "line": 222, + "column": 24 + }, + "end": { + "line": 222, + "column": 34 + } + } + } + ] + } + ], + "range": [ + 7740, + 8369 + ], + "loc": { + "start": { + "line": 221, + "column": 54 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 8441, + 8444 + ], + "loc": { + "start": { + "line": 235, + "column": 28 + }, + "end": { + "line": 235, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 8445, + 8453 + ], + "loc": { + "start": { + "line": 235, + "column": 32 + }, + "end": { + "line": 235, + "column": 40 + } + } + }, + "range": [ + 8441, + 8453 + ], + "loc": { + "start": { + "line": 235, + "column": 28 + }, + "end": { + "line": 235, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8457, + 8469 + ], + "loc": { + "start": { + "line": 235, + "column": 44 + }, + "end": { + "line": 235, + "column": 56 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8470, + 8471 + ], + "loc": { + "start": { + "line": 235, + "column": 57 + }, + "end": { + "line": 235, + "column": 58 + } + } + }, + "range": [ + 8457, + 8472 + ], + "loc": { + "start": { + "line": 235, + "column": 44 + }, + "end": { + "line": 235, + "column": 59 + } + } + }, + "range": [ + 8441, + 8472 + ], + "loc": { + "start": { + "line": 235, + "column": 28 + }, + "end": { + "line": 235, + "column": 59 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 8504, + 8516 + ], + "loc": { + "start": { + "line": 236, + "column": 28 + }, + "end": { + "line": 236, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8519, + 8531 + ], + "loc": { + "start": { + "line": 236, + "column": 43 + }, + "end": { + "line": 236, + "column": 55 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8532, + 8533 + ], + "loc": { + "start": { + "line": 236, + "column": 56 + }, + "end": { + "line": 236, + "column": 57 + } + } + }, + "range": [ + 8519, + 8534 + ], + "loc": { + "start": { + "line": 236, + "column": 43 + }, + "end": { + "line": 236, + "column": 58 + } + } + }, + "range": [ + 8504, + 8534 + ], + "loc": { + "start": { + "line": 236, + "column": 28 + }, + "end": { + "line": 236, + "column": 58 + } + } + }, + "range": [ + 8504, + 8535 + ], + "loc": { + "start": { + "line": 236, + "column": 28 + }, + "end": { + "line": 236, + "column": 59 + } + } + } + ], + "range": [ + 8474, + 8561 + ], + "loc": { + "start": { + "line": 235, + "column": 61 + }, + "end": { + "line": 237, + "column": 25 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "v", + "range": [ + 8601, + 8602 + ], + "loc": { + "start": { + "line": 238, + "column": 32 + }, + "end": { + "line": 238, + "column": 33 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8605, + 8617 + ], + "loc": { + "start": { + "line": 238, + "column": 36 + }, + "end": { + "line": 238, + "column": 48 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 8618, + 8636 + ], + "loc": { + "start": { + "line": 238, + "column": 49 + }, + "end": { + "line": 238, + "column": 67 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 8639, + 8640 + ], + "loc": { + "start": { + "line": 238, + "column": 70 + }, + "end": { + "line": 238, + "column": 71 + } + } + }, + "range": [ + 8618, + 8640 + ], + "loc": { + "start": { + "line": 238, + "column": 49 + }, + "end": { + "line": 238, + "column": 71 + } + } + }, + "range": [ + 8605, + 8641 + ], + "loc": { + "start": { + "line": 238, + "column": 36 + }, + "end": { + "line": 238, + "column": 72 + } + } + }, + "range": [ + 8601, + 8641 + ], + "loc": { + "start": { + "line": 238, + "column": 32 + }, + "end": { + "line": 238, + "column": 72 + } + } + } + ], + "kind": "let", + "range": [ + 8597, + 8642 + ], + "loc": { + "start": { + "line": 238, + "column": 28 + }, + "end": { + "line": 238, + "column": 73 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 8671, + 8683 + ], + "loc": { + "start": { + "line": 239, + "column": 28 + }, + "end": { + "line": 239, + "column": 40 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "v", + "range": [ + 8686, + 8687 + ], + "loc": { + "start": { + "line": 239, + "column": 43 + }, + "end": { + "line": 239, + "column": 44 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "v", + "range": [ + 8690, + 8691 + ], + "loc": { + "start": { + "line": 239, + "column": 47 + }, + "end": { + "line": 239, + "column": 48 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 8694, + 8706 + ], + "loc": { + "start": { + "line": 239, + "column": 51 + }, + "end": { + "line": 239, + "column": 63 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8707, + 8708 + ], + "loc": { + "start": { + "line": 239, + "column": 64 + }, + "end": { + "line": 239, + "column": 65 + } + } + }, + "range": [ + 8694, + 8709 + ], + "loc": { + "start": { + "line": 239, + "column": 51 + }, + "end": { + "line": 239, + "column": 66 + } + } + }, + "range": [ + 8686, + 8709 + ], + "loc": { + "start": { + "line": 239, + "column": 43 + }, + "end": { + "line": 239, + "column": 66 + } + } + }, + "range": [ + 8671, + 8709 + ], + "loc": { + "start": { + "line": 239, + "column": 28 + }, + "end": { + "line": 239, + "column": 66 + } + } + }, + "range": [ + 8671, + 8710 + ], + "loc": { + "start": { + "line": 239, + "column": 28 + }, + "end": { + "line": 239, + "column": 67 + } + } + } + ], + "range": [ + 8567, + 8736 + ], + "loc": { + "start": { + "line": 237, + "column": 31 + }, + "end": { + "line": 240, + "column": 25 + } + } + }, + "range": [ + 8437, + 8736 + ], + "loc": { + "start": { + "line": 235, + "column": 24 + }, + "end": { + "line": 240, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "first row", + "range": [ + 8401, + 8412 + ], + "loc": { + "start": { + "line": 234, + "column": 24 + }, + "end": { + "line": 234, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 8375, + 8758 + ], + "loc": { + "start": { + "line": 233, + "column": 27 + }, + "end": { + "line": 241, + "column": 21 + } + } + }, + "range": [ + 7706, + 8758 + ], + "loc": { + "start": { + "line": 221, + "column": 20 + }, + "end": { + "line": 241, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Selection direction up/down", + "range": [ + 7656, + 7685 + ], + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 49 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "_lastRowIndex", + "range": [ + 8779, + 8792 + ], + "loc": { + "start": { + "line": 242, + "column": 20 + }, + "end": { + "line": 242, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 8795, + 8798 + ], + "loc": { + "start": { + "line": 242, + "column": 36 + }, + "end": { + "line": 242, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 8799, + 8807 + ], + "loc": { + "start": { + "line": 242, + "column": 40 + }, + "end": { + "line": 242, + "column": 48 + } + } + }, + "range": [ + 8795, + 8807 + ], + "loc": { + "start": { + "line": 242, + "column": 36 + }, + "end": { + "line": 242, + "column": 48 + } + } + }, + "range": [ + 8779, + 8807 + ], + "loc": { + "start": { + "line": 242, + "column": 20 + }, + "end": { + "line": 242, + "column": 48 + } + } + }, + "range": [ + 8779, + 8808 + ], + "loc": { + "start": { + "line": 242, + "column": 20 + }, + "end": { + "line": 242, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "doSelect", + "range": [ + 8829, + 8837 + ], + "loc": { + "start": { + "line": 243, + "column": 20 + }, + "end": { + "line": 243, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 8838, + 8850 + ], + "loc": { + "start": { + "line": 243, + "column": 29 + }, + "end": { + "line": 243, + "column": 41 + } + } + } + ], + "range": [ + 8829, + 8851 + ], + "loc": { + "start": { + "line": 243, + "column": 20 + }, + "end": { + "line": 243, + "column": 42 + } + } + }, + "range": [ + 8829, + 8852 + ], + "loc": { + "start": { + "line": 243, + "column": 20 + }, + "end": { + "line": 243, + "column": 43 + } + } + } + ], + "range": [ + 7634, + 8870 + ], + "loc": { + "start": { + "line": 219, + "column": 33 + }, + "end": { + "line": 244, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 9013, + 9020 + ], + "loc": { + "start": { + "line": 247, + "column": 24 + }, + "end": { + "line": 247, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": 34, + "raw": "34", + "range": [ + 9025, + 9027 + ], + "loc": { + "start": { + "line": 247, + "column": 36 + }, + "end": { + "line": 247, + "column": 38 + } + } + }, + "range": [ + 9013, + 9027 + ], + "loc": { + "start": { + "line": 247, + "column": 24 + }, + "end": { + "line": 247, + "column": 38 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 9031, + 9038 + ], + "loc": { + "start": { + "line": 247, + "column": 42 + }, + "end": { + "line": 247, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": 33, + "raw": "33", + "range": [ + 9043, + 9045 + ], + "loc": { + "start": { + "line": 247, + "column": 54 + }, + "end": { + "line": 247, + "column": 56 + } + } + }, + "range": [ + 9031, + 9045 + ], + "loc": { + "start": { + "line": 247, + "column": 42 + }, + "end": { + "line": 247, + "column": 56 + } + } + }, + "range": [ + 9013, + 9045 + ], + "loc": { + "start": { + "line": 247, + "column": 24 + }, + "end": { + "line": 247, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 9073, + 9091 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 42 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 9094, + 9106 + ], + "loc": { + "start": { + "line": 248, + "column": 45 + }, + "end": { + "line": 248, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 9107, + 9114 + ], + "loc": { + "start": { + "line": 248, + "column": 58 + }, + "end": { + "line": 248, + "column": 65 + } + } + }, + "range": [ + 9094, + 9114 + ], + "loc": { + "start": { + "line": 248, + "column": 45 + }, + "end": { + "line": 248, + "column": 65 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 9115, + 9118 + ], + "loc": { + "start": { + "line": 248, + "column": 66 + }, + "end": { + "line": 248, + "column": 69 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 9119, + 9127 + ], + "loc": { + "start": { + "line": 248, + "column": 70 + }, + "end": { + "line": 248, + "column": 78 + } + } + }, + "range": [ + 9115, + 9127 + ], + "loc": { + "start": { + "line": 248, + "column": 66 + }, + "end": { + "line": 248, + "column": 78 + } + } + } + ], + "range": [ + 9094, + 9128 + ], + "loc": { + "start": { + "line": 248, + "column": 45 + }, + "end": { + "line": 248, + "column": 79 + } + } + }, + "range": [ + 9073, + 9128 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 79 + } + } + }, + "range": [ + 9073, + 9129 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 80 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "_lastRowIndex", + "range": [ + 9154, + 9167 + ], + "loc": { + "start": { + "line": 249, + "column": 24 + }, + "end": { + "line": 249, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 9170, + 9173 + ], + "loc": { + "start": { + "line": 249, + "column": 40 + }, + "end": { + "line": 249, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 9174, + 9182 + ], + "loc": { + "start": { + "line": 249, + "column": 44 + }, + "end": { + "line": 249, + "column": 52 + } + } + }, + "range": [ + 9170, + 9182 + ], + "loc": { + "start": { + "line": 249, + "column": 40 + }, + "end": { + "line": 249, + "column": 52 + } + } + }, + "range": [ + 9154, + 9182 + ], + "loc": { + "start": { + "line": 249, + "column": 24 + }, + "end": { + "line": 249, + "column": 52 + } + } + }, + "range": [ + 9154, + 9183 + ], + "loc": { + "start": { + "line": 249, + "column": 24 + }, + "end": { + "line": 249, + "column": 53 + } + } + } + ], + "range": [ + 9047, + 9205 + ], + "loc": { + "start": { + "line": 247, + "column": 58 + }, + "end": { + "line": 250, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 9241, + 9248 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": 34, + "raw": "34", + "range": [ + 9253, + 9255 + ], + "loc": { + "start": { + "line": 251, + "column": 40 + }, + "end": { + "line": 251, + "column": 42 + } + } + }, + "range": [ + 9241, + 9255 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 9340, + 9358 + ], + "loc": { + "start": { + "line": 253, + "column": 33 + }, + "end": { + "line": 253, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 9361, + 9362 + ], + "loc": { + "start": { + "line": 253, + "column": 54 + }, + "end": { + "line": 253, + "column": 55 + } + } + }, + "range": [ + 9340, + 9362 + ], + "loc": { + "start": { + "line": 253, + "column": 33 + }, + "end": { + "line": 253, + "column": 55 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 9368, + 9379 + ], + "loc": { + "start": { + "line": 253, + "column": 61 + }, + "end": { + "line": 253, + "column": 72 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9382, + 9383 + ], + "loc": { + "start": { + "line": 253, + "column": 75 + }, + "end": { + "line": 253, + "column": 76 + } + } + }, + "range": [ + 9368, + 9383 + ], + "loc": { + "start": { + "line": 253, + "column": 61 + }, + "end": { + "line": 253, + "column": 76 + } + } + }, + "range": [ + 9339, + 9384 + ], + "loc": { + "start": { + "line": 253, + "column": 32 + }, + "end": { + "line": 253, + "column": 77 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 9420, + 9432 + ], + "loc": { + "start": { + "line": 254, + "column": 32 + }, + "end": { + "line": 254, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 9435, + 9447 + ], + "loc": { + "start": { + "line": 254, + "column": 47 + }, + "end": { + "line": 254, + "column": 59 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 9485, + 9503 + ], + "loc": { + "start": { + "line": 255, + "column": 36 + }, + "end": { + "line": 255, + "column": 54 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 9506, + 9507 + ], + "loc": { + "start": { + "line": 255, + "column": 57 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "range": [ + 9485, + 9507 + ], + "loc": { + "start": { + "line": 255, + "column": 36 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "range": [ + 9435, + 9508 + ], + "loc": { + "start": { + "line": 254, + "column": 47 + }, + "end": { + "line": 255, + "column": 59 + } + } + }, + "range": [ + 9420, + 9508 + ], + "loc": { + "start": { + "line": 254, + "column": 32 + }, + "end": { + "line": 255, + "column": 59 + } + } + }, + "range": [ + 9420, + 9509 + ], + "loc": { + "start": { + "line": 254, + "column": 32 + }, + "end": { + "line": 255, + "column": 60 + } + } + } + ], + "range": [ + 9386, + 9539 + ], + "loc": { + "start": { + "line": 253, + "column": 79 + }, + "end": { + "line": 256, + "column": 29 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 9579, + 9591 + ], + "loc": { + "start": { + "line": 257, + "column": 32 + }, + "end": { + "line": 257, + "column": 44 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 9595, + 9606 + ], + "loc": { + "start": { + "line": 257, + "column": 48 + }, + "end": { + "line": 257, + "column": 59 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9609, + 9610 + ], + "loc": { + "start": { + "line": 257, + "column": 62 + }, + "end": { + "line": 257, + "column": 63 + } + } + }, + "range": [ + 9595, + 9610 + ], + "loc": { + "start": { + "line": 257, + "column": 48 + }, + "end": { + "line": 257, + "column": 63 + } + } + } + ], + "range": [ + 9594, + 9611 + ], + "loc": { + "start": { + "line": 257, + "column": 47 + }, + "end": { + "line": 257, + "column": 64 + } + } + }, + "range": [ + 9579, + 9611 + ], + "loc": { + "start": { + "line": 257, + "column": 32 + }, + "end": { + "line": 257, + "column": 64 + } + } + }, + "range": [ + 9579, + 9612 + ], + "loc": { + "start": { + "line": 257, + "column": 32 + }, + "end": { + "line": 257, + "column": 65 + } + } + } + ], + "range": [ + 9545, + 9642 + ], + "loc": { + "start": { + "line": 256, + "column": 35 + }, + "end": { + "line": 258, + "column": 29 + } + } + }, + "range": [ + 9335, + 9642 + ], + "loc": { + "start": { + "line": 253, + "column": 28 + }, + "end": { + "line": 258, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "pgdown", + "range": [ + 9259, + 9267 + ], + "loc": { + "start": { + "line": 251, + "column": 46 + }, + "end": { + "line": 251, + "column": 54 + } + } + }, + { + "type": "Line", + "value": "last row", + "range": [ + 9296, + 9306 + ], + "loc": { + "start": { + "line": 252, + "column": 28 + }, + "end": { + "line": 252, + "column": 38 + } + } + } + ] + } + ], + "range": [ + 9257, + 9668 + ], + "loc": { + "start": { + "line": 251, + "column": 44 + }, + "end": { + "line": 259, + "column": 25 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 9756, + 9774 + ], + "loc": { + "start": { + "line": 261, + "column": 33 + }, + "end": { + "line": 261, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 9777, + 9778 + ], + "loc": { + "start": { + "line": 261, + "column": 54 + }, + "end": { + "line": 261, + "column": 55 + } + } + }, + "range": [ + 9756, + 9778 + ], + "loc": { + "start": { + "line": 261, + "column": 33 + }, + "end": { + "line": 261, + "column": 55 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 9783, + 9795 + ], + "loc": { + "start": { + "line": 261, + "column": 60 + }, + "end": { + "line": 261, + "column": 72 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9796, + 9797 + ], + "loc": { + "start": { + "line": 261, + "column": 73 + }, + "end": { + "line": 261, + "column": 74 + } + } + }, + "range": [ + 9783, + 9798 + ], + "loc": { + "start": { + "line": 261, + "column": 60 + }, + "end": { + "line": 261, + "column": 75 + } + } + }, + "range": [ + 9755, + 9798 + ], + "loc": { + "start": { + "line": 261, + "column": 32 + }, + "end": { + "line": 261, + "column": 75 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 9834, + 9846 + ], + "loc": { + "start": { + "line": 262, + "column": 32 + }, + "end": { + "line": 262, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 9849, + 9861 + ], + "loc": { + "start": { + "line": 262, + "column": 47 + }, + "end": { + "line": 262, + "column": 59 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9862, + 9863 + ], + "loc": { + "start": { + "line": 262, + "column": 60 + }, + "end": { + "line": 262, + "column": 61 + } + } + }, + "range": [ + 9849, + 9864 + ], + "loc": { + "start": { + "line": 262, + "column": 47 + }, + "end": { + "line": 262, + "column": 62 + } + } + }, + "range": [ + 9834, + 9864 + ], + "loc": { + "start": { + "line": 262, + "column": 32 + }, + "end": { + "line": 262, + "column": 62 + } + } + }, + "range": [ + 9834, + 9865 + ], + "loc": { + "start": { + "line": 262, + "column": 32 + }, + "end": { + "line": 262, + "column": 63 + } + } + } + ], + "range": [ + 9800, + 9895 + ], + "loc": { + "start": { + "line": 261, + "column": 77 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 9935, + 9947 + ], + "loc": { + "start": { + "line": 264, + "column": 32 + }, + "end": { + "line": 264, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 9950, + 9962 + ], + "loc": { + "start": { + "line": 264, + "column": 47 + }, + "end": { + "line": 264, + "column": 59 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 10000, + 10018 + ], + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 54 + } + } + }, + "right": { + "type": "Identifier", + "name": "d", + "range": [ + 10021, + 10022 + ], + "loc": { + "start": { + "line": 265, + "column": 57 + }, + "end": { + "line": 265, + "column": 58 + } + } + }, + "range": [ + 10000, + 10022 + ], + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 58 + } + } + }, + "range": [ + 9950, + 10023 + ], + "loc": { + "start": { + "line": 264, + "column": 47 + }, + "end": { + "line": 265, + "column": 59 + } + } + }, + "range": [ + 9935, + 10023 + ], + "loc": { + "start": { + "line": 264, + "column": 32 + }, + "end": { + "line": 265, + "column": 59 + } + } + }, + "range": [ + 9935, + 10024 + ], + "loc": { + "start": { + "line": 264, + "column": 32 + }, + "end": { + "line": 265, + "column": 60 + } + } + } + ], + "range": [ + 9901, + 10054 + ], + "loc": { + "start": { + "line": 263, + "column": 35 + }, + "end": { + "line": 266, + "column": 29 + } + } + }, + "range": [ + 9751, + 10054 + ], + "loc": { + "start": { + "line": 261, + "column": 28 + }, + "end": { + "line": 266, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "pgup", + "range": [ + 9676, + 9682 + ], + "loc": { + "start": { + "line": 259, + "column": 33 + }, + "end": { + "line": 259, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "first row", + "range": [ + 9711, + 9722 + ], + "loc": { + "start": { + "line": 260, + "column": 28 + }, + "end": { + "line": 260, + "column": 39 + } + } + } + ] + } + ], + "range": [ + 9674, + 10080 + ], + "loc": { + "start": { + "line": 259, + "column": 31 + }, + "end": { + "line": 267, + "column": 25 + } + } + }, + "range": [ + 9237, + 10080 + ], + "loc": { + "start": { + "line": 251, + "column": 24 + }, + "end": { + "line": 267, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "_lastRowIndex", + "range": [ + 10105, + 10118 + ], + "loc": { + "start": { + "line": 268, + "column": 24 + }, + "end": { + "line": 268, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 10121, + 10133 + ], + "loc": { + "start": { + "line": 268, + "column": 40 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "range": [ + 10105, + 10133 + ], + "loc": { + "start": { + "line": 268, + "column": 24 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "range": [ + 10105, + 10134 + ], + "loc": { + "start": { + "line": 268, + "column": 24 + }, + "end": { + "line": 268, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "_lastValidRowIndex", + "range": [ + 10159, + 10177 + ], + "loc": { + "start": { + "line": 269, + "column": 24 + }, + "end": { + "line": 269, + "column": 42 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 10180, + 10192 + ], + "loc": { + "start": { + "line": 269, + "column": 45 + }, + "end": { + "line": 269, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 10193, + 10200 + ], + "loc": { + "start": { + "line": 269, + "column": 58 + }, + "end": { + "line": 269, + "column": 65 + } + } + }, + "range": [ + 10180, + 10200 + ], + "loc": { + "start": { + "line": 269, + "column": 45 + }, + "end": { + "line": 269, + "column": 65 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 10201, + 10213 + ], + "loc": { + "start": { + "line": 269, + "column": 66 + }, + "end": { + "line": 269, + "column": 78 + } + } + } + ], + "range": [ + 10180, + 10214 + ], + "loc": { + "start": { + "line": 269, + "column": 45 + }, + "end": { + "line": 269, + "column": 79 + } + } + }, + "range": [ + 10159, + 10214 + ], + "loc": { + "start": { + "line": 269, + "column": 24 + }, + "end": { + "line": 269, + "column": 79 + } + } + }, + "range": [ + 10159, + 10215 + ], + "loc": { + "start": { + "line": 269, + "column": 24 + }, + "end": { + "line": 269, + "column": 80 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "doSelect", + "range": [ + 10240, + 10248 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextRowIndex", + "range": [ + 10249, + 10261 + ], + "loc": { + "start": { + "line": 270, + "column": 33 + }, + "end": { + "line": 270, + "column": 45 + } + } + } + ], + "range": [ + 10240, + 10262 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 46 + } + } + }, + "range": [ + 10240, + 10263 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 47 + } + } + } + ], + "range": [ + 9211, + 10285 + ], + "loc": { + "start": { + "line": 250, + "column": 27 + }, + "end": { + "line": 271, + "column": 21 + } + } + }, + "range": [ + 9009, + 10285 + ], + "loc": { + "start": { + "line": 247, + "column": 20 + }, + "end": { + "line": 271, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "If filtered row is valid, special calculation for", + "range": [ + 8898, + 8949 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 71 + } + } + }, + { + "type": "Line", + "value": "pgup/pgdown keys", + "range": [ + 8970, + 8988 + ], + "loc": { + "start": { + "line": 246, + "column": 20 + }, + "end": { + "line": 246, + "column": 38 + } + } + } + ] + } + ], + "range": [ + 8876, + 10303 + ], + "loc": { + "start": { + "line": 244, + "column": 23 + }, + "end": { + "line": 272, + "column": 17 + } + } + }, + "range": [ + 7617, + 10303 + ], + "loc": { + "start": { + "line": 219, + "column": 16 + }, + "end": { + "line": 272, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "If next row is not valid, next valid filtered row needs to be", + "range": [ + 7508, + 7571 + ], + "loc": { + "start": { + "line": 217, + "column": 16 + }, + "end": { + "line": 217, + "column": 79 + } + } + }, + { + "type": "Line", + "value": "calculated", + "range": [ + 7588, + 7600 + ], + "loc": { + "start": { + "line": 218, + "column": 16 + }, + "end": { + "line": 218, + "column": 28 + } + } + } + ] + } + ], + "range": [ + 4445, + 10317 + ], + "loc": { + "start": { + "line": 151, + "column": 65 + }, + "end": { + "line": 273, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4415, + 10317 + ], + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 273, + "column": 13 + } + } + }, + "range": [ + 4396, + 10317 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 273, + "column": 13 + } + } + } + ], + "kind": "let", + "range": [ + 4392, + 10318 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 273, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Row navigation needs to be calculated according to TableFilter's", + "range": [ + 4278, + 4344 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 78 + } + } + }, + { + "type": "Line", + "value": "validRowsIndex array", + "range": [ + 4357, + 4379 + ], + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Page navigation has to be enforced whenever selected row is out of", + "range": [ + 10332, + 10400 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 80 + } + } + }, + { + "type": "Line", + "value": "the current page range", + "range": [ + 10413, + 10437 + ], + "loc": { + "start": { + "line": 276, + "column": 12 + }, + "end": { + "line": 276, + "column": 36 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "onBeforeSelection", + "range": [ + 10454, + 10471 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 33 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "et", + "range": [ + 10484, + 10486 + ], + "loc": { + "start": { + "line": 277, + "column": 46 + }, + "end": { + "line": 277, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 10488, + 10499 + ], + "loc": { + "start": { + "line": 277, + "column": 50 + }, + "end": { + "line": 277, + "column": 61 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 10523, + 10526 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 23 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 10529, + 10531 + ], + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultSelection", + "range": [ + 10532, + 10548 + ], + "loc": { + "start": { + "line": 278, + "column": 29 + }, + "end": { + "line": 278, + "column": 45 + } + } + }, + "range": [ + 10529, + 10548 + ], + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": "row", + "raw": "'row'", + "range": [ + 10553, + 10558 + ], + "loc": { + "start": { + "line": 278, + "column": 50 + }, + "end": { + "line": 278, + "column": 55 + } + } + }, + "range": [ + 10529, + 10558 + ], + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 278, + "column": 55 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 10581, + 10592 + ], + "loc": { + "start": { + "line": 279, + "column": 20 + }, + "end": { + "line": 279, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 10593, + 10603 + ], + "loc": { + "start": { + "line": 279, + "column": 32 + }, + "end": { + "line": 279, + "column": 42 + } + } + }, + "range": [ + 10581, + 10603 + ], + "loc": { + "start": { + "line": 279, + "column": 20 + }, + "end": { + "line": 279, + "column": 42 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "selectedElm", + "range": [ + 10606, + 10617 + ], + "loc": { + "start": { + "line": 279, + "column": 45 + }, + "end": { + "line": 279, + "column": 56 + } + } + }, + "range": [ + 10529, + 10617 + ], + "loc": { + "start": { + "line": 278, + "column": 26 + }, + "end": { + "line": 279, + "column": 56 + } + } + }, + "range": [ + 10523, + 10617 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 279, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 10519, + 10618 + ], + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 279, + "column": 57 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10639, + 10641 + ], + "loc": { + "start": { + "line": 280, + "column": 20 + }, + "end": { + "line": 280, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 10642, + 10648 + ], + "loc": { + "start": { + "line": 280, + "column": 23 + }, + "end": { + "line": 280, + "column": 29 + } + } + }, + "range": [ + 10639, + 10648 + ], + "loc": { + "start": { + "line": 280, + "column": 20 + }, + "end": { + "line": 280, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10676, + 10678 + ], + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 10679, + 10686 + ], + "loc": { + "start": { + "line": 281, + "column": 27 + }, + "end": { + "line": 281, + "column": 34 + } + } + }, + "range": [ + 10676, + 10686 + ], + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 10687, + 10695 + ], + "loc": { + "start": { + "line": 281, + "column": 35 + }, + "end": { + "line": 281, + "column": 43 + } + } + } + ], + "range": [ + 10676, + 10696 + ], + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 10697, + 10704 + ], + "loc": { + "start": { + "line": 281, + "column": 45 + }, + "end": { + "line": 281, + "column": 52 + } + } + }, + "range": [ + 10676, + 10704 + ], + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 10707, + 10708 + ], + "loc": { + "start": { + "line": 281, + "column": 55 + }, + "end": { + "line": 281, + "column": 56 + } + } + }, + "range": [ + 10676, + 10708 + ], + "loc": { + "start": { + "line": 281, + "column": 24 + }, + "end": { + "line": 281, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "paging", + "range": [ + 10740, + 10746 + ], + "loc": { + "start": { + "line": 282, + "column": 28 + }, + "end": { + "line": 282, + "column": 34 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10749, + 10751 + ], + "loc": { + "start": { + "line": 282, + "column": 37 + }, + "end": { + "line": 282, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 10752, + 10759 + ], + "loc": { + "start": { + "line": 282, + "column": 40 + }, + "end": { + "line": 282, + "column": 47 + } + } + }, + "range": [ + 10749, + 10759 + ], + "loc": { + "start": { + "line": 282, + "column": 37 + }, + "end": { + "line": 282, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 10760, + 10768 + ], + "loc": { + "start": { + "line": 282, + "column": 48 + }, + "end": { + "line": 282, + "column": 56 + } + } + } + ], + "range": [ + 10749, + 10769 + ], + "loc": { + "start": { + "line": 282, + "column": 37 + }, + "end": { + "line": 282, + "column": 57 + } + } + }, + "range": [ + 10740, + 10769 + ], + "loc": { + "start": { + "line": 282, + "column": 28 + }, + "end": { + "line": 282, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 10736, + 10770 + ], + "loc": { + "start": { + "line": 282, + "column": 24 + }, + "end": { + "line": 282, + "column": 58 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "page length is re-assigned in case it has changed", + "range": [ + 10795, + 10846 + ], + "loc": { + "start": { + "line": 283, + "column": 24 + }, + "end": { + "line": 283, + "column": 75 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 10871, + 10873 + ], + "loc": { + "start": { + "line": 284, + "column": 24 + }, + "end": { + "line": 284, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbRowsPerPage", + "range": [ + 10874, + 10887 + ], + "loc": { + "start": { + "line": 284, + "column": 27 + }, + "end": { + "line": 284, + "column": 40 + } + } + }, + "range": [ + 10871, + 10887 + ], + "loc": { + "start": { + "line": 284, + "column": 24 + }, + "end": { + "line": 284, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 10890, + 10896 + ], + "loc": { + "start": { + "line": 284, + "column": 43 + }, + "end": { + "line": 284, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 10897, + 10907 + ], + "loc": { + "start": { + "line": 284, + "column": 50 + }, + "end": { + "line": 284, + "column": 60 + } + } + }, + "range": [ + 10890, + 10907 + ], + "loc": { + "start": { + "line": 284, + "column": 43 + }, + "end": { + "line": 284, + "column": 60 + } + } + }, + "range": [ + 10871, + 10907 + ], + "loc": { + "start": { + "line": 284, + "column": 24 + }, + "end": { + "line": 284, + "column": 60 + } + } + }, + "range": [ + 10871, + 10908 + ], + "loc": { + "start": { + "line": 284, + "column": 24 + }, + "end": { + "line": 284, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "page length is re-assigned in case it has changed", + "range": [ + 10795, + 10846 + ], + "loc": { + "start": { + "line": 283, + "column": 24 + }, + "end": { + "line": 283, + "column": 75 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 10937, + 10949 + ], + "loc": { + "start": { + "line": 285, + "column": 28 + }, + "end": { + "line": 285, + "column": 40 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10952, + 10954 + ], + "loc": { + "start": { + "line": 285, + "column": 43 + }, + "end": { + "line": 285, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 10955, + 10969 + ], + "loc": { + "start": { + "line": 285, + "column": 46 + }, + "end": { + "line": 285, + "column": 60 + } + } + }, + "range": [ + 10952, + 10969 + ], + "loc": { + "start": { + "line": 285, + "column": 43 + }, + "end": { + "line": 285, + "column": 60 + } + } + }, + "range": [ + 10937, + 10969 + ], + "loc": { + "start": { + "line": 285, + "column": 28 + }, + "end": { + "line": 285, + "column": 60 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 10999, + 11010 + ], + "loc": { + "start": { + "line": 286, + "column": 28 + }, + "end": { + "line": 286, + "column": 39 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11013, + 11025 + ], + "loc": { + "start": { + "line": 286, + "column": 42 + }, + "end": { + "line": 286, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11026, + 11032 + ], + "loc": { + "start": { + "line": 286, + "column": 55 + }, + "end": { + "line": 286, + "column": 61 + } + } + }, + "range": [ + 11013, + 11032 + ], + "loc": { + "start": { + "line": 286, + "column": 42 + }, + "end": { + "line": 286, + "column": 61 + } + } + }, + "range": [ + 10999, + 11032 + ], + "loc": { + "start": { + "line": 286, + "column": 28 + }, + "end": { + "line": 286, + "column": 61 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pagingEndRow", + "range": [ + 11062, + 11074 + ], + "loc": { + "start": { + "line": 287, + "column": 28 + }, + "end": { + "line": 287, + "column": 40 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11077, + 11085 + ], + "loc": { + "start": { + "line": 287, + "column": 43 + }, + "end": { + "line": 287, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11086, + 11092 + ], + "loc": { + "start": { + "line": 287, + "column": 52 + }, + "end": { + "line": 287, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 11093, + 11107 + ], + "loc": { + "start": { + "line": 287, + "column": 59 + }, + "end": { + "line": 287, + "column": 73 + } + } + }, + "range": [ + 11086, + 11107 + ], + "loc": { + "start": { + "line": 287, + "column": 52 + }, + "end": { + "line": 287, + "column": 73 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 11109, + 11111 + ], + "loc": { + "start": { + "line": 287, + "column": 75 + }, + "end": { + "line": 287, + "column": 77 + } + } + } + ], + "range": [ + 11077, + 11112 + ], + "loc": { + "start": { + "line": 287, + "column": 43 + }, + "end": { + "line": 287, + "column": 78 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11147, + 11155 + ], + "loc": { + "start": { + "line": 288, + "column": 32 + }, + "end": { + "line": 288, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11156, + 11162 + ], + "loc": { + "start": { + "line": 288, + "column": 41 + }, + "end": { + "line": 288, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 11163, + 11173 + ], + "loc": { + "start": { + "line": 288, + "column": 48 + }, + "end": { + "line": 288, + "column": 58 + } + } + }, + "range": [ + 11156, + 11173 + ], + "loc": { + "start": { + "line": 288, + "column": 41 + }, + "end": { + "line": 288, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 11175, + 11177 + ], + "loc": { + "start": { + "line": 288, + "column": 60 + }, + "end": { + "line": 288, + "column": 62 + } + } + } + ], + "range": [ + 11147, + 11178 + ], + "loc": { + "start": { + "line": 288, + "column": 32 + }, + "end": { + "line": 288, + "column": 63 + } + } + }, + "range": [ + 11077, + 11178 + ], + "loc": { + "start": { + "line": 287, + "column": 43 + }, + "end": { + "line": 288, + "column": 63 + } + } + }, + "range": [ + 11062, + 11178 + ], + "loc": { + "start": { + "line": 287, + "column": 28 + }, + "end": { + "line": 288, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 10933, + 11179 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 288, + "column": 64 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11208, + 11216 + ], + "loc": { + "start": { + "line": 289, + "column": 28 + }, + "end": { + "line": 289, + "column": 36 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 11219, + 11222 + ], + "loc": { + "start": { + "line": 289, + "column": 39 + }, + "end": { + "line": 289, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11223, + 11231 + ], + "loc": { + "start": { + "line": 289, + "column": 43 + }, + "end": { + "line": 289, + "column": 51 + } + } + }, + "range": [ + 11219, + 11231 + ], + "loc": { + "start": { + "line": 289, + "column": 39 + }, + "end": { + "line": 289, + "column": 51 + } + } + }, + "range": [ + 11208, + 11231 + ], + "loc": { + "start": { + "line": 289, + "column": 28 + }, + "end": { + "line": 289, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 11204, + 11232 + ], + "loc": { + "start": { + "line": 289, + "column": 24 + }, + "end": { + "line": 289, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11263, + 11271 + ], + "loc": { + "start": { + "line": 291, + "column": 29 + }, + "end": { + "line": 291, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11276, + 11288 + ], + "loc": { + "start": { + "line": 291, + "column": 42 + }, + "end": { + "line": 291, + "column": 54 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 11289, + 11300 + ], + "loc": { + "start": { + "line": 291, + "column": 55 + }, + "end": { + "line": 291, + "column": 66 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11303, + 11304 + ], + "loc": { + "start": { + "line": 291, + "column": 69 + }, + "end": { + "line": 291, + "column": 70 + } + } + }, + "range": [ + 11289, + 11304 + ], + "loc": { + "start": { + "line": 291, + "column": 55 + }, + "end": { + "line": 291, + "column": 70 + } + } + }, + "range": [ + 11276, + 11305 + ], + "loc": { + "start": { + "line": 291, + "column": 42 + }, + "end": { + "line": 291, + "column": 71 + } + } + }, + "range": [ + 11263, + 11305 + ], + "loc": { + "start": { + "line": 291, + "column": 29 + }, + "end": { + "line": 291, + "column": 71 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11338, + 11344 + ], + "loc": { + "start": { + "line": 292, + "column": 28 + }, + "end": { + "line": 292, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 11345, + 11358 + ], + "loc": { + "start": { + "line": 292, + "column": 35 + }, + "end": { + "line": 292, + "column": 48 + } + } + }, + "range": [ + 11338, + 11358 + ], + "loc": { + "start": { + "line": 292, + "column": 28 + }, + "end": { + "line": 292, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11363, + 11369 + ], + "loc": { + "start": { + "line": 292, + "column": 53 + }, + "end": { + "line": 292, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 11370, + 11377 + ], + "loc": { + "start": { + "line": 292, + "column": 60 + }, + "end": { + "line": 292, + "column": 67 + } + } + }, + "range": [ + 11363, + 11377 + ], + "loc": { + "start": { + "line": 292, + "column": 53 + }, + "end": { + "line": 292, + "column": 67 + } + } + }, + "range": [ + 11338, + 11377 + ], + "loc": { + "start": { + "line": 292, + "column": 28 + }, + "end": { + "line": 292, + "column": 67 + } + } + }, + "range": [ + 11262, + 11377 + ], + "loc": { + "start": { + "line": 291, + "column": 28 + }, + "end": { + "line": 292, + "column": 67 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11409, + 11415 + ], + "loc": { + "start": { + "line": 293, + "column": 28 + }, + "end": { + "line": 293, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 11416, + 11423 + ], + "loc": { + "start": { + "line": 293, + "column": 35 + }, + "end": { + "line": 293, + "column": 42 + } + } + }, + "range": [ + 11409, + 11423 + ], + "loc": { + "start": { + "line": 293, + "column": 28 + }, + "end": { + "line": 293, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "last", + "raw": "'last'", + "range": [ + 11424, + 11430 + ], + "loc": { + "start": { + "line": 293, + "column": 43 + }, + "end": { + "line": 293, + "column": 49 + } + } + } + ], + "range": [ + 11409, + 11431 + ], + "loc": { + "start": { + "line": 293, + "column": 28 + }, + "end": { + "line": 293, + "column": 50 + } + } + }, + "range": [ + 11409, + 11432 + ], + "loc": { + "start": { + "line": 293, + "column": 28 + }, + "end": { + "line": 293, + "column": 51 + } + } + } + ], + "range": [ + 11379, + 11458 + ], + "loc": { + "start": { + "line": 292, + "column": 69 + }, + "end": { + "line": 294, + "column": 25 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11493, + 11501 + ], + "loc": { + "start": { + "line": 295, + "column": 34 + }, + "end": { + "line": 295, + "column": 42 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11506, + 11518 + ], + "loc": { + "start": { + "line": 295, + "column": 47 + }, + "end": { + "line": 295, + "column": 59 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11519, + 11520 + ], + "loc": { + "start": { + "line": 295, + "column": 60 + }, + "end": { + "line": 295, + "column": 61 + } + } + }, + "range": [ + 11506, + 11521 + ], + "loc": { + "start": { + "line": 295, + "column": 47 + }, + "end": { + "line": 295, + "column": 62 + } + } + }, + "range": [ + 11493, + 11521 + ], + "loc": { + "start": { + "line": 295, + "column": 34 + }, + "end": { + "line": 295, + "column": 62 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11554, + 11560 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 11561, + 11574 + ], + "loc": { + "start": { + "line": 296, + "column": 35 + }, + "end": { + "line": 296, + "column": 48 + } + } + }, + "range": [ + 11554, + 11574 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11579, + 11580 + ], + "loc": { + "start": { + "line": 296, + "column": 53 + }, + "end": { + "line": 296, + "column": 54 + } + } + }, + "range": [ + 11554, + 11580 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 54 + } + } + }, + "range": [ + 11492, + 11580 + ], + "loc": { + "start": { + "line": 295, + "column": 33 + }, + "end": { + "line": 296, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11612, + 11618 + ], + "loc": { + "start": { + "line": 297, + "column": 28 + }, + "end": { + "line": 297, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 11619, + 11626 + ], + "loc": { + "start": { + "line": 297, + "column": 35 + }, + "end": { + "line": 297, + "column": 42 + } + } + }, + "range": [ + 11612, + 11626 + ], + "loc": { + "start": { + "line": 297, + "column": 28 + }, + "end": { + "line": 297, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "first", + "raw": "'first'", + "range": [ + 11627, + 11634 + ], + "loc": { + "start": { + "line": 297, + "column": 43 + }, + "end": { + "line": 297, + "column": 50 + } + } + } + ], + "range": [ + 11612, + 11635 + ], + "loc": { + "start": { + "line": 297, + "column": 28 + }, + "end": { + "line": 297, + "column": 51 + } + } + }, + "range": [ + 11612, + 11636 + ], + "loc": { + "start": { + "line": 297, + "column": 28 + }, + "end": { + "line": 297, + "column": 52 + } + } + } + ], + "range": [ + 11582, + 11662 + ], + "loc": { + "start": { + "line": 296, + "column": 56 + }, + "end": { + "line": 298, + "column": 25 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11696, + 11704 + ], + "loc": { + "start": { + "line": 299, + "column": 33 + }, + "end": { + "line": 299, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11707, + 11719 + ], + "loc": { + "start": { + "line": 299, + "column": 44 + }, + "end": { + "line": 299, + "column": 56 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "pagingEndRow", + "range": [ + 11720, + 11732 + ], + "loc": { + "start": { + "line": 299, + "column": 57 + }, + "end": { + "line": 299, + "column": 69 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11735, + 11736 + ], + "loc": { + "start": { + "line": 299, + "column": 72 + }, + "end": { + "line": 299, + "column": 73 + } + } + }, + "range": [ + 11720, + 11736 + ], + "loc": { + "start": { + "line": 299, + "column": 57 + }, + "end": { + "line": 299, + "column": 73 + } + } + }, + "range": [ + 11707, + 11737 + ], + "loc": { + "start": { + "line": 299, + "column": 44 + }, + "end": { + "line": 299, + "column": 74 + } + } + }, + "range": [ + 11696, + 11737 + ], + "loc": { + "start": { + "line": 299, + "column": 33 + }, + "end": { + "line": 299, + "column": 74 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11769, + 11777 + ], + "loc": { + "start": { + "line": 300, + "column": 28 + }, + "end": { + "line": 300, + "column": 36 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11780, + 11792 + ], + "loc": { + "start": { + "line": 300, + "column": 39 + }, + "end": { + "line": 300, + "column": 51 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "validIdxLen", + "range": [ + 11793, + 11804 + ], + "loc": { + "start": { + "line": 300, + "column": 52 + }, + "end": { + "line": 300, + "column": 63 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11807, + 11808 + ], + "loc": { + "start": { + "line": 300, + "column": 66 + }, + "end": { + "line": 300, + "column": 67 + } + } + }, + "range": [ + 11793, + 11808 + ], + "loc": { + "start": { + "line": 300, + "column": 52 + }, + "end": { + "line": 300, + "column": 67 + } + } + }, + "range": [ + 11780, + 11809 + ], + "loc": { + "start": { + "line": 300, + "column": 39 + }, + "end": { + "line": 300, + "column": 68 + } + } + }, + "range": [ + 11769, + 11809 + ], + "loc": { + "start": { + "line": 300, + "column": 28 + }, + "end": { + "line": 300, + "column": 68 + } + } + }, + "range": [ + 11696, + 11809 + ], + "loc": { + "start": { + "line": 299, + "column": 33 + }, + "end": { + "line": 300, + "column": 68 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11841, + 11847 + ], + "loc": { + "start": { + "line": 301, + "column": 28 + }, + "end": { + "line": 301, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 11848, + 11855 + ], + "loc": { + "start": { + "line": 301, + "column": 35 + }, + "end": { + "line": 301, + "column": 42 + } + } + }, + "range": [ + 11841, + 11855 + ], + "loc": { + "start": { + "line": 301, + "column": 28 + }, + "end": { + "line": 301, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "next", + "raw": "'next'", + "range": [ + 11856, + 11862 + ], + "loc": { + "start": { + "line": 301, + "column": 43 + }, + "end": { + "line": 301, + "column": 49 + } + } + } + ], + "range": [ + 11841, + 11863 + ], + "loc": { + "start": { + "line": 301, + "column": 28 + }, + "end": { + "line": 301, + "column": 50 + } + } + }, + "range": [ + 11841, + 11864 + ], + "loc": { + "start": { + "line": 301, + "column": 28 + }, + "end": { + "line": 301, + "column": 51 + } + } + } + ], + "range": [ + 11811, + 11890 + ], + "loc": { + "start": { + "line": 300, + "column": 70 + }, + "end": { + "line": 302, + "column": 25 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 11953, + 11961 + ], + "loc": { + "start": { + "line": 304, + "column": 28 + }, + "end": { + "line": 304, + "column": 36 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 11964, + 11976 + ], + "loc": { + "start": { + "line": 304, + "column": 39 + }, + "end": { + "line": 304, + "column": 51 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 11977, + 11983 + ], + "loc": { + "start": { + "line": 304, + "column": 52 + }, + "end": { + "line": 304, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 11984, + 11998 + ], + "loc": { + "start": { + "line": 304, + "column": 59 + }, + "end": { + "line": 304, + "column": 73 + } + } + }, + "range": [ + 11977, + 11998 + ], + "loc": { + "start": { + "line": 304, + "column": 52 + }, + "end": { + "line": 304, + "column": 73 + } + } + }, + "range": [ + 11964, + 11999 + ], + "loc": { + "start": { + "line": 304, + "column": 39 + }, + "end": { + "line": 304, + "column": 74 + } + } + }, + "range": [ + 11953, + 11999 + ], + "loc": { + "start": { + "line": 304, + "column": 28 + }, + "end": { + "line": 304, + "column": 74 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 12031, + 12039 + ], + "loc": { + "start": { + "line": 305, + "column": 28 + }, + "end": { + "line": 305, + "column": 36 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validIndexes", + "range": [ + 12042, + 12054 + ], + "loc": { + "start": { + "line": 305, + "column": 39 + }, + "end": { + "line": 305, + "column": 51 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12055, + 12056 + ], + "loc": { + "start": { + "line": 305, + "column": 52 + }, + "end": { + "line": 305, + "column": 53 + } + } + }, + "range": [ + 12042, + 12057 + ], + "loc": { + "start": { + "line": 305, + "column": 39 + }, + "end": { + "line": 305, + "column": 54 + } + } + }, + "range": [ + 12031, + 12057 + ], + "loc": { + "start": { + "line": 305, + "column": 28 + }, + "end": { + "line": 305, + "column": 54 + } + } + }, + "range": [ + 11953, + 12057 + ], + "loc": { + "start": { + "line": 304, + "column": 28 + }, + "end": { + "line": 305, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 12089, + 12095 + ], + "loc": { + "start": { + "line": 306, + "column": 28 + }, + "end": { + "line": 306, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 12096, + 12103 + ], + "loc": { + "start": { + "line": 306, + "column": 35 + }, + "end": { + "line": 306, + "column": 42 + } + } + }, + "range": [ + 12089, + 12103 + ], + "loc": { + "start": { + "line": 306, + "column": 28 + }, + "end": { + "line": 306, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "previous", + "raw": "'previous'", + "range": [ + 12104, + 12114 + ], + "loc": { + "start": { + "line": 306, + "column": 43 + }, + "end": { + "line": 306, + "column": 53 + } + } + } + ], + "range": [ + 12089, + 12115 + ], + "loc": { + "start": { + "line": 306, + "column": 28 + }, + "end": { + "line": 306, + "column": 54 + } + } + }, + "range": [ + 12089, + 12116 + ], + "loc": { + "start": { + "line": 306, + "column": 28 + }, + "end": { + "line": 306, + "column": 55 + } + } + } + ], + "range": [ + 12059, + 12142 + ], + "loc": { + "start": { + "line": 305, + "column": 56 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 11920, + 12142 + ], + "loc": { + "start": { + "line": 303, + "column": 29 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + "range": [ + 11692, + 12142 + ], + "loc": { + "start": { + "line": 299, + "column": 29 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + "range": [ + 11488, + 12142 + ], + "loc": { + "start": { + "line": 295, + "column": 29 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + "range": [ + 11258, + 12142 + ], + "loc": { + "start": { + "line": 291, + "column": 24 + }, + "end": { + "line": 307, + "column": 25 + } + } + } + ], + "range": [ + 10710, + 12164 + ], + "loc": { + "start": { + "line": 281, + "column": 58 + }, + "end": { + "line": 308, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 10672, + 12164 + ], + "loc": { + "start": { + "line": 281, + "column": 20 + }, + "end": { + "line": 308, + "column": 21 + } + } + } + ], + "range": [ + 10650, + 12182 + ], + "loc": { + "start": { + "line": 280, + "column": 31 + }, + "end": { + "line": 309, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 10635, + 12182 + ], + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 309, + "column": 17 + } + } + } + ], + "range": [ + 10501, + 12196 + ], + "loc": { + "start": { + "line": 277, + "column": 63 + }, + "end": { + "line": 310, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10474, + 12196 + ], + "loc": { + "start": { + "line": 277, + "column": 36 + }, + "end": { + "line": 310, + "column": 13 + } + } + }, + "range": [ + 10454, + 12196 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 310, + "column": 13 + } + } + } + ], + "kind": "let", + "range": [ + 10450, + 12197 + ], + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 310, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Page navigation has to be enforced whenever selected row is out of", + "range": [ + 10332, + 10400 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 80 + } + } + }, + { + "type": "Line", + "value": "the current page range", + "range": [ + 10413, + 10437 + ], + "loc": { + "start": { + "line": 276, + "column": 12 + }, + "end": { + "line": 276, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Selected row needs to be visible when paging is activated", + "range": [ + 12211, + 12270 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 71 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12287, + 12289 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 12290, + 12296 + ], + "loc": { + "start": { + "line": 313, + "column": 19 + }, + "end": { + "line": 313, + "column": 25 + } + } + }, + "range": [ + 12287, + 12296 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12316, + 12318 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 12319, + 12326 + ], + "loc": { + "start": { + "line": 314, + "column": 19 + }, + "end": { + "line": 314, + "column": 26 + } + } + }, + "range": [ + 12316, + 12326 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 12327, + 12335 + ], + "loc": { + "start": { + "line": 314, + "column": 27 + }, + "end": { + "line": 314, + "column": 35 + } + } + } + ], + "range": [ + 12316, + 12336 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterChangePage", + "range": [ + 12337, + 12354 + ], + "loc": { + "start": { + "line": 314, + "column": 37 + }, + "end": { + "line": 314, + "column": 54 + } + } + }, + "range": [ + 12316, + 12354 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 54 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "paging", + "range": [ + 12367, + 12373 + ], + "loc": { + "start": { + "line": 314, + "column": 67 + }, + "end": { + "line": 314, + "column": 73 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "advGrid", + "range": [ + 12401, + 12408 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 31 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 12411, + 12417 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12418, + 12420 + ], + "loc": { + "start": { + "line": 315, + "column": 41 + }, + "end": { + "line": 315, + "column": 43 + } + } + }, + "range": [ + 12411, + 12420 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "extension", + "range": [ + 12421, + 12430 + ], + "loc": { + "start": { + "line": 315, + "column": 44 + }, + "end": { + "line": 315, + "column": 53 + } + } + }, + "range": [ + 12411, + 12430 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "advancedGrid", + "raw": "'advancedGrid'", + "range": [ + 12431, + 12445 + ], + "loc": { + "start": { + "line": 315, + "column": 54 + }, + "end": { + "line": 315, + "column": 68 + } + } + } + ], + "range": [ + 12411, + 12446 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 69 + } + } + }, + "range": [ + 12401, + 12446 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 69 + } + } + } + ], + "kind": "let", + "range": [ + 12397, + 12447 + ], + "loc": { + "start": { + "line": 315, + "column": 20 + }, + "end": { + "line": 315, + "column": 70 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "et", + "range": [ + 12472, + 12474 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "advGrid", + "range": [ + 12477, + 12484 + ], + "loc": { + "start": { + "line": 316, + "column": 29 + }, + "end": { + "line": 316, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 12485, + 12497 + ], + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 316, + "column": 49 + } + } + }, + "range": [ + 12477, + 12497 + ], + "loc": { + "start": { + "line": 316, + "column": 29 + }, + "end": { + "line": 316, + "column": 49 + } + } + }, + "range": [ + 12472, + 12497 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 12468, + 12498 + ], + "loc": { + "start": { + "line": 316, + "column": 20 + }, + "end": { + "line": 316, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 12523, + 12526 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "et", + "range": [ + 12529, + 12531 + ], + "loc": { + "start": { + "line": 317, + "column": 30 + }, + "end": { + "line": 317, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 12532, + 12541 + ], + "loc": { + "start": { + "line": 317, + "column": 33 + }, + "end": { + "line": 317, + "column": 42 + } + } + }, + "range": [ + 12529, + 12541 + ], + "loc": { + "start": { + "line": 317, + "column": 30 + }, + "end": { + "line": 317, + "column": 42 + } + } + }, + "range": [ + 12523, + 12541 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 12519, + 12542 + ], + "loc": { + "start": { + "line": 317, + "column": 20 + }, + "end": { + "line": 317, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12563, + 12583 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 12608, + 12611 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 12614, + 12617 + ], + "loc": { + "start": { + "line": 319, + "column": 30 + }, + "end": { + "line": 319, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "GetActiveRow", + "range": [ + 12618, + 12630 + ], + "loc": { + "start": { + "line": 319, + "column": 34 + }, + "end": { + "line": 319, + "column": 46 + } + } + }, + "range": [ + 12614, + 12630 + ], + "loc": { + "start": { + "line": 319, + "column": 30 + }, + "end": { + "line": 319, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 12614, + 12632 + ], + "loc": { + "start": { + "line": 319, + "column": 30 + }, + "end": { + "line": 319, + "column": 48 + } + } + }, + "range": [ + 12608, + 12632 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 12604, + 12633 + ], + "loc": { + "start": { + "line": 319, + "column": 20 + }, + "end": { + "line": 319, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12563, + 12583 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 40 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12654, + 12673 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "row", + "range": [ + 12698, + 12701 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 12729, + 12732 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 322, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollIntoView", + "range": [ + 12733, + 12747 + ], + "loc": { + "start": { + "line": 322, + "column": 28 + }, + "end": { + "line": 322, + "column": 42 + } + } + }, + "range": [ + 12729, + 12747 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 322, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 12748, + 12753 + ], + "loc": { + "start": { + "line": 322, + "column": 43 + }, + "end": { + "line": 322, + "column": 48 + } + } + } + ], + "range": [ + 12729, + 12754 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 322, + "column": 49 + } + } + }, + "range": [ + 12729, + 12755 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 322, + "column": 50 + } + } + } + ], + "range": [ + 12703, + 12777 + ], + "loc": { + "start": { + "line": 321, + "column": 29 + }, + "end": { + "line": 323, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 12694, + 12777 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 323, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12654, + 12673 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 39 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12798, + 12818 + ], + "loc": { + "start": { + "line": 324, + "column": 20 + }, + "end": { + "line": 324, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 12843, + 12847 + ], + "loc": { + "start": { + "line": 325, + "column": 24 + }, + "end": { + "line": 325, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 12850, + 12853 + ], + "loc": { + "start": { + "line": 325, + "column": 31 + }, + "end": { + "line": 325, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "GetActiveCell", + "range": [ + 12854, + 12867 + ], + "loc": { + "start": { + "line": 325, + "column": 35 + }, + "end": { + "line": 325, + "column": 48 + } + } + }, + "range": [ + 12850, + 12867 + ], + "loc": { + "start": { + "line": 325, + "column": 31 + }, + "end": { + "line": 325, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 12850, + 12869 + ], + "loc": { + "start": { + "line": 325, + "column": 31 + }, + "end": { + "line": 325, + "column": 50 + } + } + }, + "range": [ + 12843, + 12869 + ], + "loc": { + "start": { + "line": 325, + "column": 24 + }, + "end": { + "line": 325, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 12839, + 12870 + ], + "loc": { + "start": { + "line": 325, + "column": 20 + }, + "end": { + "line": 325, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12798, + 12818 + ], + "loc": { + "start": { + "line": 324, + "column": 20 + }, + "end": { + "line": 324, + "column": 40 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12891, + 12910 + ], + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "cell", + "range": [ + 12935, + 12939 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 327, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 12967, + 12971 + ], + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollIntoView", + "range": [ + 12972, + 12986 + ], + "loc": { + "start": { + "line": 328, + "column": 29 + }, + "end": { + "line": 328, + "column": 43 + } + } + }, + "range": [ + 12967, + 12986 + ], + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 12987, + 12992 + ], + "loc": { + "start": { + "line": 328, + "column": 44 + }, + "end": { + "line": 328, + "column": 49 + } + } + } + ], + "range": [ + 12967, + 12993 + ], + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 50 + } + } + }, + "range": [ + 12967, + 12994 + ], + "loc": { + "start": { + "line": 328, + "column": 24 + }, + "end": { + "line": 328, + "column": 51 + } + } + } + ], + "range": [ + 12941, + 13016 + ], + "loc": { + "start": { + "line": 327, + "column": 30 + }, + "end": { + "line": 329, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 12931, + 13016 + ], + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 329, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12891, + 12910 + ], + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 39 + } + } + } + ] + } + ], + "range": [ + 12375, + 13034 + ], + "loc": { + "start": { + "line": 314, + "column": 75 + }, + "end": { + "line": 330, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12357, + 13034 + ], + "loc": { + "start": { + "line": 314, + "column": 57 + }, + "end": { + "line": 330, + "column": 17 + } + } + }, + "range": [ + 12316, + 13034 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 330, + "column": 17 + } + } + }, + "range": [ + 12316, + 13035 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 330, + "column": 18 + } + } + } + ], + "range": [ + 12298, + 13049 + ], + "loc": { + "start": { + "line": 313, + "column": 27 + }, + "end": { + "line": 331, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12283, + 13049 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 331, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Selected row needs to be visible when paging is activated", + "range": [ + 12211, + 12270 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 71 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Rows navigation when rows are filtered is performed with the", + "range": [ + 13063, + 13125 + ], + "loc": { + "start": { + "line": 333, + "column": 12 + }, + "end": { + "line": 333, + "column": 74 + } + } + }, + { + "type": "Line", + "value": "EditTable row selection callback events", + "range": [ + 13138, + 13179 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 53 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13196, + 13199 + ], + "loc": { + "start": { + "line": 335, + "column": 16 + }, + "end": { + "line": 335, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "default_selection", + "range": [ + 13200, + 13217 + ], + "loc": { + "start": { + "line": 335, + "column": 20 + }, + "end": { + "line": 335, + "column": 37 + } + } + }, + "range": [ + 13196, + 13217 + ], + "loc": { + "start": { + "line": 335, + "column": 16 + }, + "end": { + "line": 335, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": "row", + "raw": "'row'", + "range": [ + 13222, + 13227 + ], + "loc": { + "start": { + "line": 335, + "column": 42 + }, + "end": { + "line": 335, + "column": 47 + } + } + }, + "range": [ + 13196, + 13227 + ], + "loc": { + "start": { + "line": 335, + "column": 16 + }, + "end": { + "line": 335, + "column": 47 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnB", + "range": [ + 13251, + 13254 + ], + "loc": { + "start": { + "line": 336, + "column": 20 + }, + "end": { + "line": 336, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13257, + 13260 + ], + "loc": { + "start": { + "line": 336, + "column": 26 + }, + "end": { + "line": 336, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_selected_row", + "range": [ + 13261, + 13283 + ], + "loc": { + "start": { + "line": 336, + "column": 30 + }, + "end": { + "line": 336, + "column": 52 + } + } + }, + "range": [ + 13257, + 13283 + ], + "loc": { + "start": { + "line": 336, + "column": 26 + }, + "end": { + "line": 336, + "column": 52 + } + } + }, + "range": [ + 13251, + 13283 + ], + "loc": { + "start": { + "line": 336, + "column": 20 + }, + "end": { + "line": 336, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 13247, + 13284 + ], + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13301, + 13304 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_selected_row", + "range": [ + 13305, + 13327 + ], + "loc": { + "start": { + "line": 337, + "column": 20 + }, + "end": { + "line": 337, + "column": 42 + } + } + }, + "range": [ + 13301, + 13327 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 42 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 13368, + 13372 + ], + "loc": { + "start": { + "line": 338, + "column": 24 + }, + "end": { + "line": 338, + "column": 28 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 13375, + 13384 + ], + "loc": { + "start": { + "line": 338, + "column": 31 + }, + "end": { + "line": 338, + "column": 40 + } + } + }, + "range": [ + 13368, + 13384 + ], + "loc": { + "start": { + "line": 338, + "column": 24 + }, + "end": { + "line": 338, + "column": 40 + } + } + } + ], + "kind": "var", + "range": [ + 13364, + 13385 + ], + "loc": { + "start": { + "line": 338, + "column": 20 + }, + "end": { + "line": 338, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "onBeforeSelection", + "range": [ + 13406, + 13423 + ], + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13424, + 13428 + ], + "loc": { + "start": { + "line": 339, + "column": 38 + }, + "end": { + "line": 339, + "column": 42 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13429, + 13430 + ], + "loc": { + "start": { + "line": 339, + "column": 43 + }, + "end": { + "line": 339, + "column": 44 + } + } + }, + "range": [ + 13424, + 13431 + ], + "loc": { + "start": { + "line": 339, + "column": 38 + }, + "end": { + "line": 339, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13433, + 13437 + ], + "loc": { + "start": { + "line": 339, + "column": 47 + }, + "end": { + "line": 339, + "column": 51 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 13438, + 13439 + ], + "loc": { + "start": { + "line": 339, + "column": 52 + }, + "end": { + "line": 339, + "column": 53 + } + } + }, + "range": [ + 13433, + 13440 + ], + "loc": { + "start": { + "line": 339, + "column": 47 + }, + "end": { + "line": 339, + "column": 54 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13442, + 13446 + ], + "loc": { + "start": { + "line": 339, + "column": 56 + }, + "end": { + "line": 339, + "column": 60 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 13447, + 13448 + ], + "loc": { + "start": { + "line": 339, + "column": 61 + }, + "end": { + "line": 339, + "column": 62 + } + } + }, + "range": [ + 13442, + 13449 + ], + "loc": { + "start": { + "line": 339, + "column": 56 + }, + "end": { + "line": 339, + "column": 63 + } + } + } + ], + "range": [ + 13406, + 13450 + ], + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 64 + } + } + }, + "range": [ + 13406, + 13451 + ], + "loc": { + "start": { + "line": 339, + "column": 20 + }, + "end": { + "line": 339, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnB", + "range": [ + 13476, + 13479 + ], + "loc": { + "start": { + "line": 340, + "column": 24 + }, + "end": { + "line": 340, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnB", + "range": [ + 13507, + 13510 + ], + "loc": { + "start": { + "line": 341, + "column": 24 + }, + "end": { + "line": 341, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 13511, + 13515 + ], + "loc": { + "start": { + "line": 341, + "column": 28 + }, + "end": { + "line": 341, + "column": 32 + } + } + }, + "range": [ + 13507, + 13515 + ], + "loc": { + "start": { + "line": 341, + "column": 24 + }, + "end": { + "line": 341, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13516, + 13520 + ], + "loc": { + "start": { + "line": 341, + "column": 33 + }, + "end": { + "line": 341, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13522, + 13526 + ], + "loc": { + "start": { + "line": 341, + "column": 39 + }, + "end": { + "line": 341, + "column": 43 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13527, + 13528 + ], + "loc": { + "start": { + "line": 341, + "column": 44 + }, + "end": { + "line": 341, + "column": 45 + } + } + }, + "range": [ + 13522, + 13529 + ], + "loc": { + "start": { + "line": 341, + "column": 39 + }, + "end": { + "line": 341, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13531, + 13535 + ], + "loc": { + "start": { + "line": 341, + "column": 48 + }, + "end": { + "line": 341, + "column": 52 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 13536, + 13537 + ], + "loc": { + "start": { + "line": 341, + "column": 53 + }, + "end": { + "line": 341, + "column": 54 + } + } + }, + "range": [ + 13531, + 13538 + ], + "loc": { + "start": { + "line": 341, + "column": 48 + }, + "end": { + "line": 341, + "column": 55 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13540, + 13544 + ], + "loc": { + "start": { + "line": 341, + "column": 57 + }, + "end": { + "line": 341, + "column": 61 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 13545, + 13546 + ], + "loc": { + "start": { + "line": 341, + "column": 62 + }, + "end": { + "line": 341, + "column": 63 + } + } + }, + "range": [ + 13540, + 13547 + ], + "loc": { + "start": { + "line": 341, + "column": 57 + }, + "end": { + "line": 341, + "column": 64 + } + } + } + ], + "range": [ + 13507, + 13548 + ], + "loc": { + "start": { + "line": 341, + "column": 24 + }, + "end": { + "line": 341, + "column": 65 + } + } + }, + "range": [ + 13507, + 13549 + ], + "loc": { + "start": { + "line": 341, + "column": 24 + }, + "end": { + "line": 341, + "column": 66 + } + } + } + ], + "range": [ + 13481, + 13571 + ], + "loc": { + "start": { + "line": 340, + "column": 29 + }, + "end": { + "line": 342, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 13472, + 13571 + ], + "loc": { + "start": { + "line": 340, + "column": 20 + }, + "end": { + "line": 342, + "column": 21 + } + } + } + ], + "range": [ + 13342, + 13589 + ], + "loc": { + "start": { + "line": 337, + "column": 57 + }, + "end": { + "line": 343, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13330, + 13589 + ], + "loc": { + "start": { + "line": 337, + "column": 45 + }, + "end": { + "line": 343, + "column": 17 + } + } + }, + "range": [ + 13301, + 13589 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 343, + "column": 17 + } + } + }, + "range": [ + 13301, + 13590 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 343, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnA", + "range": [ + 13611, + 13614 + ], + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13617, + 13620 + ], + "loc": { + "start": { + "line": 344, + "column": 26 + }, + "end": { + "line": 344, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_selected_row", + "range": [ + 13621, + 13642 + ], + "loc": { + "start": { + "line": 344, + "column": 30 + }, + "end": { + "line": 344, + "column": 51 + } + } + }, + "range": [ + 13617, + 13642 + ], + "loc": { + "start": { + "line": 344, + "column": 26 + }, + "end": { + "line": 344, + "column": 51 + } + } + }, + "range": [ + 13611, + 13642 + ], + "loc": { + "start": { + "line": 344, + "column": 20 + }, + "end": { + "line": 344, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 13607, + 13643 + ], + "loc": { + "start": { + "line": 344, + "column": 16 + }, + "end": { + "line": 344, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13660, + 13663 + ], + "loc": { + "start": { + "line": 345, + "column": 16 + }, + "end": { + "line": 345, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_selected_row", + "range": [ + 13664, + 13685 + ], + "loc": { + "start": { + "line": 345, + "column": 20 + }, + "end": { + "line": 345, + "column": 41 + } + } + }, + "range": [ + 13660, + 13685 + ], + "loc": { + "start": { + "line": 345, + "column": 16 + }, + "end": { + "line": 345, + "column": 41 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 13726, + 13730 + ], + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 28 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 13733, + 13742 + ], + "loc": { + "start": { + "line": 346, + "column": 31 + }, + "end": { + "line": 346, + "column": 40 + } + } + }, + "range": [ + 13726, + 13742 + ], + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 40 + } + } + } + ], + "kind": "var", + "range": [ + 13722, + 13743 + ], + "loc": { + "start": { + "line": 346, + "column": 20 + }, + "end": { + "line": 346, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "onAfterSelection", + "range": [ + 13764, + 13780 + ], + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13781, + 13785 + ], + "loc": { + "start": { + "line": 347, + "column": 37 + }, + "end": { + "line": 347, + "column": 41 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13786, + 13787 + ], + "loc": { + "start": { + "line": 347, + "column": 42 + }, + "end": { + "line": 347, + "column": 43 + } + } + }, + "range": [ + 13781, + 13788 + ], + "loc": { + "start": { + "line": 347, + "column": 37 + }, + "end": { + "line": 347, + "column": 44 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13790, + 13794 + ], + "loc": { + "start": { + "line": 347, + "column": 46 + }, + "end": { + "line": 347, + "column": 50 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 13795, + 13796 + ], + "loc": { + "start": { + "line": 347, + "column": 51 + }, + "end": { + "line": 347, + "column": 52 + } + } + }, + "range": [ + 13790, + 13797 + ], + "loc": { + "start": { + "line": 347, + "column": 46 + }, + "end": { + "line": 347, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13799, + 13803 + ], + "loc": { + "start": { + "line": 347, + "column": 55 + }, + "end": { + "line": 347, + "column": 59 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 13804, + 13805 + ], + "loc": { + "start": { + "line": 347, + "column": 60 + }, + "end": { + "line": 347, + "column": 61 + } + } + }, + "range": [ + 13799, + 13806 + ], + "loc": { + "start": { + "line": 347, + "column": 55 + }, + "end": { + "line": 347, + "column": 62 + } + } + } + ], + "range": [ + 13764, + 13807 + ], + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 63 + } + } + }, + "range": [ + 13764, + 13808 + ], + "loc": { + "start": { + "line": 347, + "column": 20 + }, + "end": { + "line": 347, + "column": 64 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnA", + "range": [ + 13833, + 13836 + ], + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnA", + "range": [ + 13864, + 13867 + ], + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 13868, + 13872 + ], + "loc": { + "start": { + "line": 349, + "column": 28 + }, + "end": { + "line": 349, + "column": 32 + } + } + }, + "range": [ + 13864, + 13872 + ], + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13873, + 13877 + ], + "loc": { + "start": { + "line": 349, + "column": 33 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13879, + 13883 + ], + "loc": { + "start": { + "line": 349, + "column": 39 + }, + "end": { + "line": 349, + "column": 43 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13884, + 13885 + ], + "loc": { + "start": { + "line": 349, + "column": 44 + }, + "end": { + "line": 349, + "column": 45 + } + } + }, + "range": [ + 13879, + 13886 + ], + "loc": { + "start": { + "line": 349, + "column": 39 + }, + "end": { + "line": 349, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13888, + 13892 + ], + "loc": { + "start": { + "line": 349, + "column": 48 + }, + "end": { + "line": 349, + "column": 52 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 13893, + 13894 + ], + "loc": { + "start": { + "line": 349, + "column": 53 + }, + "end": { + "line": 349, + "column": 54 + } + } + }, + "range": [ + 13888, + 13895 + ], + "loc": { + "start": { + "line": 349, + "column": 48 + }, + "end": { + "line": 349, + "column": 55 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 13897, + 13901 + ], + "loc": { + "start": { + "line": 349, + "column": 57 + }, + "end": { + "line": 349, + "column": 61 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 13902, + 13903 + ], + "loc": { + "start": { + "line": 349, + "column": 62 + }, + "end": { + "line": 349, + "column": 63 + } + } + }, + "range": [ + 13897, + 13904 + ], + "loc": { + "start": { + "line": 349, + "column": 57 + }, + "end": { + "line": 349, + "column": 64 + } + } + } + ], + "range": [ + 13864, + 13905 + ], + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 65 + } + } + }, + "range": [ + 13864, + 13906 + ], + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 66 + } + } + } + ], + "range": [ + 13838, + 13928 + ], + "loc": { + "start": { + "line": 348, + "column": 29 + }, + "end": { + "line": 350, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 13829, + 13928 + ], + "loc": { + "start": { + "line": 348, + "column": 20 + }, + "end": { + "line": 350, + "column": 21 + } + } + } + ], + "range": [ + 13700, + 13946 + ], + "loc": { + "start": { + "line": 345, + "column": 56 + }, + "end": { + "line": 351, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13688, + 13946 + ], + "loc": { + "start": { + "line": 345, + "column": 44 + }, + "end": { + "line": 351, + "column": 17 + } + } + }, + "range": [ + 13660, + 13946 + ], + "loc": { + "start": { + "line": 345, + "column": 16 + }, + "end": { + "line": 351, + "column": 17 + } + } + }, + "range": [ + 13660, + 13947 + ], + "loc": { + "start": { + "line": 345, + "column": 16 + }, + "end": { + "line": 351, + "column": 18 + } + } + } + ], + "range": [ + 13229, + 13961 + ], + "loc": { + "start": { + "line": 335, + "column": 49 + }, + "end": { + "line": 352, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnD", + "range": [ + 13989, + 13992 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 13995, + 13998 + ], + "loc": { + "start": { + "line": 353, + "column": 26 + }, + "end": { + "line": 353, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_selected_cell", + "range": [ + 13999, + 14022 + ], + "loc": { + "start": { + "line": 353, + "column": 30 + }, + "end": { + "line": 353, + "column": 53 + } + } + }, + "range": [ + 13995, + 14022 + ], + "loc": { + "start": { + "line": 353, + "column": 26 + }, + "end": { + "line": 353, + "column": 53 + } + } + }, + "range": [ + 13989, + 14022 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 13985, + 14023 + ], + "loc": { + "start": { + "line": 353, + "column": 16 + }, + "end": { + "line": 353, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 14040, + 14043 + ], + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 354, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_selected_cell", + "range": [ + 14044, + 14067 + ], + "loc": { + "start": { + "line": 354, + "column": 20 + }, + "end": { + "line": 354, + "column": 43 + } + } + }, + "range": [ + 14040, + 14067 + ], + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 354, + "column": 43 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 14108, + 14112 + ], + "loc": { + "start": { + "line": 355, + "column": 24 + }, + "end": { + "line": 355, + "column": 28 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 14115, + 14124 + ], + "loc": { + "start": { + "line": 355, + "column": 31 + }, + "end": { + "line": 355, + "column": 40 + } + } + }, + "range": [ + 14108, + 14124 + ], + "loc": { + "start": { + "line": 355, + "column": 24 + }, + "end": { + "line": 355, + "column": 40 + } + } + } + ], + "kind": "var", + "range": [ + 14104, + 14125 + ], + "loc": { + "start": { + "line": 355, + "column": 20 + }, + "end": { + "line": 355, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "onBeforeSelection", + "range": [ + 14146, + 14163 + ], + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14164, + 14168 + ], + "loc": { + "start": { + "line": 356, + "column": 38 + }, + "end": { + "line": 356, + "column": 42 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 14169, + 14170 + ], + "loc": { + "start": { + "line": 356, + "column": 43 + }, + "end": { + "line": 356, + "column": 44 + } + } + }, + "range": [ + 14164, + 14171 + ], + "loc": { + "start": { + "line": 356, + "column": 38 + }, + "end": { + "line": 356, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14173, + 14177 + ], + "loc": { + "start": { + "line": 356, + "column": 47 + }, + "end": { + "line": 356, + "column": 51 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 14178, + 14179 + ], + "loc": { + "start": { + "line": 356, + "column": 52 + }, + "end": { + "line": 356, + "column": 53 + } + } + }, + "range": [ + 14173, + 14180 + ], + "loc": { + "start": { + "line": 356, + "column": 47 + }, + "end": { + "line": 356, + "column": 54 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14182, + 14186 + ], + "loc": { + "start": { + "line": 356, + "column": 56 + }, + "end": { + "line": 356, + "column": 60 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 14187, + 14188 + ], + "loc": { + "start": { + "line": 356, + "column": 61 + }, + "end": { + "line": 356, + "column": 62 + } + } + }, + "range": [ + 14182, + 14189 + ], + "loc": { + "start": { + "line": 356, + "column": 56 + }, + "end": { + "line": 356, + "column": 63 + } + } + } + ], + "range": [ + 14146, + 14190 + ], + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 64 + } + } + }, + "range": [ + 14146, + 14191 + ], + "loc": { + "start": { + "line": 356, + "column": 20 + }, + "end": { + "line": 356, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnD", + "range": [ + 14216, + 14219 + ], + "loc": { + "start": { + "line": 357, + "column": 24 + }, + "end": { + "line": 357, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnD", + "range": [ + 14247, + 14250 + ], + "loc": { + "start": { + "line": 358, + "column": 24 + }, + "end": { + "line": 358, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 14251, + 14255 + ], + "loc": { + "start": { + "line": 358, + "column": 28 + }, + "end": { + "line": 358, + "column": 32 + } + } + }, + "range": [ + 14247, + 14255 + ], + "loc": { + "start": { + "line": 358, + "column": 24 + }, + "end": { + "line": 358, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 14256, + 14260 + ], + "loc": { + "start": { + "line": 358, + "column": 33 + }, + "end": { + "line": 358, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14262, + 14266 + ], + "loc": { + "start": { + "line": 358, + "column": 39 + }, + "end": { + "line": 358, + "column": 43 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 14267, + 14268 + ], + "loc": { + "start": { + "line": 358, + "column": 44 + }, + "end": { + "line": 358, + "column": 45 + } + } + }, + "range": [ + 14262, + 14269 + ], + "loc": { + "start": { + "line": 358, + "column": 39 + }, + "end": { + "line": 358, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14271, + 14275 + ], + "loc": { + "start": { + "line": 358, + "column": 48 + }, + "end": { + "line": 358, + "column": 52 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 14276, + 14277 + ], + "loc": { + "start": { + "line": 358, + "column": 53 + }, + "end": { + "line": 358, + "column": 54 + } + } + }, + "range": [ + 14271, + 14278 + ], + "loc": { + "start": { + "line": 358, + "column": 48 + }, + "end": { + "line": 358, + "column": 55 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14280, + 14284 + ], + "loc": { + "start": { + "line": 358, + "column": 57 + }, + "end": { + "line": 358, + "column": 61 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 14285, + 14286 + ], + "loc": { + "start": { + "line": 358, + "column": 62 + }, + "end": { + "line": 358, + "column": 63 + } + } + }, + "range": [ + 14280, + 14287 + ], + "loc": { + "start": { + "line": 358, + "column": 57 + }, + "end": { + "line": 358, + "column": 64 + } + } + } + ], + "range": [ + 14247, + 14288 + ], + "loc": { + "start": { + "line": 358, + "column": 24 + }, + "end": { + "line": 358, + "column": 65 + } + } + }, + "range": [ + 14247, + 14289 + ], + "loc": { + "start": { + "line": 358, + "column": 24 + }, + "end": { + "line": 358, + "column": 66 + } + } + } + ], + "range": [ + 14221, + 14311 + ], + "loc": { + "start": { + "line": 357, + "column": 29 + }, + "end": { + "line": 359, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 14212, + 14311 + ], + "loc": { + "start": { + "line": 357, + "column": 20 + }, + "end": { + "line": 359, + "column": 21 + } + } + } + ], + "range": [ + 14082, + 14329 + ], + "loc": { + "start": { + "line": 354, + "column": 58 + }, + "end": { + "line": 360, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14070, + 14329 + ], + "loc": { + "start": { + "line": 354, + "column": 46 + }, + "end": { + "line": 360, + "column": 17 + } + } + }, + "range": [ + 14040, + 14329 + ], + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 360, + "column": 17 + } + } + }, + "range": [ + 14040, + 14330 + ], + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 360, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnC", + "range": [ + 14351, + 14354 + ], + "loc": { + "start": { + "line": 361, + "column": 20 + }, + "end": { + "line": 361, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 14357, + 14360 + ], + "loc": { + "start": { + "line": 361, + "column": 26 + }, + "end": { + "line": 361, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_selected_cell", + "range": [ + 14361, + 14383 + ], + "loc": { + "start": { + "line": 361, + "column": 30 + }, + "end": { + "line": 361, + "column": 52 + } + } + }, + "range": [ + 14357, + 14383 + ], + "loc": { + "start": { + "line": 361, + "column": 26 + }, + "end": { + "line": 361, + "column": 52 + } + } + }, + "range": [ + 14351, + 14383 + ], + "loc": { + "start": { + "line": 361, + "column": 20 + }, + "end": { + "line": 361, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 14347, + 14384 + ], + "loc": { + "start": { + "line": 361, + "column": 16 + }, + "end": { + "line": 361, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 14401, + 14404 + ], + "loc": { + "start": { + "line": 362, + "column": 16 + }, + "end": { + "line": 362, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_selected_cell", + "range": [ + 14405, + 14427 + ], + "loc": { + "start": { + "line": 362, + "column": 20 + }, + "end": { + "line": 362, + "column": 42 + } + } + }, + "range": [ + 14401, + 14427 + ], + "loc": { + "start": { + "line": 362, + "column": 16 + }, + "end": { + "line": 362, + "column": 42 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 14468, + 14472 + ], + "loc": { + "start": { + "line": 363, + "column": 24 + }, + "end": { + "line": 363, + "column": 28 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 14475, + 14484 + ], + "loc": { + "start": { + "line": 363, + "column": 31 + }, + "end": { + "line": 363, + "column": 40 + } + } + }, + "range": [ + 14468, + 14484 + ], + "loc": { + "start": { + "line": 363, + "column": 24 + }, + "end": { + "line": 363, + "column": 40 + } + } + } + ], + "kind": "var", + "range": [ + 14464, + 14485 + ], + "loc": { + "start": { + "line": 363, + "column": 20 + }, + "end": { + "line": 363, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "onAfterSelection", + "range": [ + 14506, + 14522 + ], + "loc": { + "start": { + "line": 364, + "column": 20 + }, + "end": { + "line": 364, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14523, + 14527 + ], + "loc": { + "start": { + "line": 364, + "column": 37 + }, + "end": { + "line": 364, + "column": 41 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 14528, + 14529 + ], + "loc": { + "start": { + "line": 364, + "column": 42 + }, + "end": { + "line": 364, + "column": 43 + } + } + }, + "range": [ + 14523, + 14530 + ], + "loc": { + "start": { + "line": 364, + "column": 37 + }, + "end": { + "line": 364, + "column": 44 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14532, + 14536 + ], + "loc": { + "start": { + "line": 364, + "column": 46 + }, + "end": { + "line": 364, + "column": 50 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 14537, + 14538 + ], + "loc": { + "start": { + "line": 364, + "column": 51 + }, + "end": { + "line": 364, + "column": 52 + } + } + }, + "range": [ + 14532, + 14539 + ], + "loc": { + "start": { + "line": 364, + "column": 46 + }, + "end": { + "line": 364, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14541, + 14545 + ], + "loc": { + "start": { + "line": 364, + "column": 55 + }, + "end": { + "line": 364, + "column": 59 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 14546, + 14547 + ], + "loc": { + "start": { + "line": 364, + "column": 60 + }, + "end": { + "line": 364, + "column": 61 + } + } + }, + "range": [ + 14541, + 14548 + ], + "loc": { + "start": { + "line": 364, + "column": 55 + }, + "end": { + "line": 364, + "column": 62 + } + } + } + ], + "range": [ + 14506, + 14549 + ], + "loc": { + "start": { + "line": 364, + "column": 20 + }, + "end": { + "line": 364, + "column": 63 + } + } + }, + "range": [ + 14506, + 14550 + ], + "loc": { + "start": { + "line": 364, + "column": 20 + }, + "end": { + "line": 364, + "column": 64 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnC", + "range": [ + 14575, + 14578 + ], + "loc": { + "start": { + "line": 365, + "column": 24 + }, + "end": { + "line": 365, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnC", + "range": [ + 14606, + 14609 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 14610, + 14614 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 32 + } + } + }, + "range": [ + 14606, + 14614 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 14615, + 14619 + ], + "loc": { + "start": { + "line": 366, + "column": 33 + }, + "end": { + "line": 366, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14621, + 14625 + ], + "loc": { + "start": { + "line": 366, + "column": 39 + }, + "end": { + "line": 366, + "column": 43 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 14626, + 14627 + ], + "loc": { + "start": { + "line": 366, + "column": 44 + }, + "end": { + "line": 366, + "column": 45 + } + } + }, + "range": [ + 14621, + 14628 + ], + "loc": { + "start": { + "line": 366, + "column": 39 + }, + "end": { + "line": 366, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14630, + 14634 + ], + "loc": { + "start": { + "line": 366, + "column": 48 + }, + "end": { + "line": 366, + "column": 52 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 14635, + 14636 + ], + "loc": { + "start": { + "line": 366, + "column": 53 + }, + "end": { + "line": 366, + "column": 54 + } + } + }, + "range": [ + 14630, + 14637 + ], + "loc": { + "start": { + "line": 366, + "column": 48 + }, + "end": { + "line": 366, + "column": 55 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 14639, + 14643 + ], + "loc": { + "start": { + "line": 366, + "column": 57 + }, + "end": { + "line": 366, + "column": 61 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 14644, + 14645 + ], + "loc": { + "start": { + "line": 366, + "column": 62 + }, + "end": { + "line": 366, + "column": 63 + } + } + }, + "range": [ + 14639, + 14646 + ], + "loc": { + "start": { + "line": 366, + "column": 57 + }, + "end": { + "line": 366, + "column": 64 + } + } + } + ], + "range": [ + 14606, + 14647 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 65 + } + } + }, + "range": [ + 14606, + 14648 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 66 + } + } + } + ], + "range": [ + 14580, + 14670 + ], + "loc": { + "start": { + "line": 365, + "column": 29 + }, + "end": { + "line": 367, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 14571, + 14670 + ], + "loc": { + "start": { + "line": 365, + "column": 20 + }, + "end": { + "line": 367, + "column": 21 + } + } + } + ], + "range": [ + 14442, + 14688 + ], + "loc": { + "start": { + "line": 362, + "column": 57 + }, + "end": { + "line": 368, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14430, + 14688 + ], + "loc": { + "start": { + "line": 362, + "column": 45 + }, + "end": { + "line": 368, + "column": 17 + } + } + }, + "range": [ + 14401, + 14688 + ], + "loc": { + "start": { + "line": 362, + "column": 16 + }, + "end": { + "line": 368, + "column": 17 + } + } + }, + "range": [ + 14401, + 14689 + ], + "loc": { + "start": { + "line": 362, + "column": 16 + }, + "end": { + "line": 368, + "column": 18 + } + } + } + ], + "range": [ + 13967, + 14703 + ], + "loc": { + "start": { + "line": 352, + "column": 19 + }, + "end": { + "line": 369, + "column": 13 + } + } + }, + "range": [ + 13192, + 14703 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 369, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Rows navigation when rows are filtered is performed with the", + "range": [ + 13063, + 13125 + ], + "loc": { + "start": { + "line": 333, + "column": 12 + }, + "end": { + "line": 333, + "column": 74 + } + } + }, + { + "type": "Line", + "value": "EditTable row selection callback events", + "range": [ + 13138, + 13179 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 53 + } + } + } + ] + } + ], + "range": [ + 4264, + 14713 + ], + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 370, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4248, + 14713 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 370, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "editable", + "range": [ + 14726, + 14734 + ], + "loc": { + "start": { + "line": 371, + "column": 12 + }, + "end": { + "line": 371, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnE", + "range": [ + 14832, + 14835 + ], + "loc": { + "start": { + "line": 373, + "column": 16 + }, + "end": { + "line": 373, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 14838, + 14841 + ], + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_added_dom_row", + "range": [ + 14842, + 14858 + ], + "loc": { + "start": { + "line": 373, + "column": 26 + }, + "end": { + "line": 373, + "column": 42 + } + } + }, + "range": [ + 14838, + 14858 + ], + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 42 + } + } + }, + "range": [ + 14832, + 14858 + ], + "loc": { + "start": { + "line": 373, + "column": 16 + }, + "end": { + "line": 373, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 14828, + 14859 + ], + "loc": { + "start": { + "line": 373, + "column": 12 + }, + "end": { + "line": 373, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Added or removed rows, TF rows number needs to be re-calculated", + "range": [ + 14750, + 14815 + ], + "loc": { + "start": { + "line": 372, + "column": 12 + }, + "end": { + "line": 372, + "column": 77 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 14872, + 14875 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_added_dom_row", + "range": [ + 14876, + 14892 + ], + "loc": { + "start": { + "line": 374, + "column": 16 + }, + "end": { + "line": 374, + "column": 32 + } + } + }, + "range": [ + 14872, + 14892 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 32 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 14929, + 14933 + ], + "loc": { + "start": { + "line": 375, + "column": 20 + }, + "end": { + "line": 375, + "column": 24 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 14936, + 14945 + ], + "loc": { + "start": { + "line": 375, + "column": 27 + }, + "end": { + "line": 375, + "column": 36 + } + } + }, + "range": [ + 14929, + 14945 + ], + "loc": { + "start": { + "line": 375, + "column": 20 + }, + "end": { + "line": 375, + "column": 36 + } + } + } + ], + "kind": "var", + "range": [ + 14925, + 14946 + ], + "loc": { + "start": { + "line": 375, + "column": 16 + }, + "end": { + "line": 375, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14963, + 14965 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 14966, + 14982 + ], + "loc": { + "start": { + "line": 376, + "column": 19 + }, + "end": { + "line": 376, + "column": 35 + } + } + }, + "range": [ + 14963, + 14982 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 35 + } + } + }, + "prefix": false, + "range": [ + 14963, + 14984 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 37 + } + } + }, + "range": [ + 14963, + 14985 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15007, + 15009 + ], + "loc": { + "start": { + "line": 377, + "column": 21 + }, + "end": { + "line": 377, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 15010, + 15016 + ], + "loc": { + "start": { + "line": 377, + "column": 24 + }, + "end": { + "line": 377, + "column": 30 + } + } + }, + "range": [ + 15007, + 15016 + ], + "loc": { + "start": { + "line": 377, + "column": 21 + }, + "end": { + "line": 377, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 15006, + 15016 + ], + "loc": { + "start": { + "line": 377, + "column": 20 + }, + "end": { + "line": 377, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15040, + 15042 + ], + "loc": { + "start": { + "line": 378, + "column": 20 + }, + "end": { + "line": 378, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 15043, + 15050 + ], + "loc": { + "start": { + "line": 378, + "column": 23 + }, + "end": { + "line": 378, + "column": 30 + } + } + }, + "range": [ + 15040, + 15050 + ], + "loc": { + "start": { + "line": 378, + "column": 20 + }, + "end": { + "line": 378, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 15051, + 15055 + ], + "loc": { + "start": { + "line": 378, + "column": 31 + }, + "end": { + "line": 378, + "column": 35 + } + } + }, + "range": [ + 15040, + 15055 + ], + "loc": { + "start": { + "line": 378, + "column": 20 + }, + "end": { + "line": 378, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 15056, + 15070 + ], + "loc": { + "start": { + "line": 378, + "column": 36 + }, + "end": { + "line": 378, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 15072, + 15074 + ], + "loc": { + "start": { + "line": 378, + "column": 52 + }, + "end": { + "line": 378, + "column": 54 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 15076, + 15080 + ], + "loc": { + "start": { + "line": 378, + "column": 56 + }, + "end": { + "line": 378, + "column": 60 + } + } + } + ], + "range": [ + 15040, + 15081 + ], + "loc": { + "start": { + "line": 378, + "column": 20 + }, + "end": { + "line": 378, + "column": 61 + } + } + }, + "range": [ + 15040, + 15082 + ], + "loc": { + "start": { + "line": 378, + "column": 20 + }, + "end": { + "line": 378, + "column": 62 + } + } + } + ], + "range": [ + 15018, + 15100 + ], + "loc": { + "start": { + "line": 377, + "column": 32 + }, + "end": { + "line": 379, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15128, + 15130 + ], + "loc": { + "start": { + "line": 380, + "column": 20 + }, + "end": { + "line": 380, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 15131, + 15147 + ], + "loc": { + "start": { + "line": 380, + "column": 23 + }, + "end": { + "line": 380, + "column": 39 + } + } + }, + "range": [ + 15128, + 15147 + ], + "loc": { + "start": { + "line": 380, + "column": 20 + }, + "end": { + "line": 380, + "column": 39 + } + } + }, + "prefix": false, + "range": [ + 15128, + 15149 + ], + "loc": { + "start": { + "line": 380, + "column": 20 + }, + "end": { + "line": 380, + "column": 41 + } + } + }, + "range": [ + 15128, + 15150 + ], + "loc": { + "start": { + "line": 380, + "column": 20 + }, + "end": { + "line": 380, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15171, + 15173 + ], + "loc": { + "start": { + "line": 381, + "column": 20 + }, + "end": { + "line": 381, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 15174, + 15180 + ], + "loc": { + "start": { + "line": 381, + "column": 23 + }, + "end": { + "line": 381, + "column": 29 + } + } + }, + "range": [ + 15171, + 15180 + ], + "loc": { + "start": { + "line": 381, + "column": 20 + }, + "end": { + "line": 381, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 15183, + 15188 + ], + "loc": { + "start": { + "line": 381, + "column": 32 + }, + "end": { + "line": 381, + "column": 37 + } + } + }, + "range": [ + 15171, + 15188 + ], + "loc": { + "start": { + "line": 381, + "column": 20 + }, + "end": { + "line": 381, + "column": 37 + } + } + }, + "range": [ + 15171, + 15189 + ], + "loc": { + "start": { + "line": 381, + "column": 20 + }, + "end": { + "line": 381, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15210, + 15212 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 15213, + 15220 + ], + "loc": { + "start": { + "line": 382, + "column": 23 + }, + "end": { + "line": 382, + "column": 30 + } + } + }, + "range": [ + 15210, + 15220 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 15221, + 15229 + ], + "loc": { + "start": { + "line": 382, + "column": 31 + }, + "end": { + "line": 382, + "column": 39 + } + } + } + ], + "range": [ + 15210, + 15230 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 15231, + 15238 + ], + "loc": { + "start": { + "line": 382, + "column": 41 + }, + "end": { + "line": 382, + "column": 48 + } + } + }, + "range": [ + 15210, + 15238 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 15210, + 15240 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 50 + } + } + }, + "range": [ + 15210, + 15241 + ], + "loc": { + "start": { + "line": 382, + "column": 20 + }, + "end": { + "line": 382, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15262, + 15264 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 15265, + 15272 + ], + "loc": { + "start": { + "line": 383, + "column": 23 + }, + "end": { + "line": 383, + "column": 30 + } + } + }, + "range": [ + 15262, + 15272 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 15273, + 15281 + ], + "loc": { + "start": { + "line": 383, + "column": 31 + }, + "end": { + "line": 383, + "column": 39 + } + } + } + ], + "range": [ + 15262, + 15282 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "reset", + "range": [ + 15283, + 15288 + ], + "loc": { + "start": { + "line": 383, + "column": 41 + }, + "end": { + "line": 383, + "column": 46 + } + } + }, + "range": [ + 15262, + 15288 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 15262, + 15290 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 48 + } + } + }, + "range": [ + 15262, + 15291 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 49 + } + } + } + ], + "range": [ + 15106, + 15309 + ], + "loc": { + "start": { + "line": 379, + "column": 23 + }, + "end": { + "line": 384, + "column": 17 + } + } + }, + "range": [ + 15002, + 15309 + ], + "loc": { + "start": { + "line": 377, + "column": 16 + }, + "end": { + "line": 384, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15330, + 15332 + ], + "loc": { + "start": { + "line": 385, + "column": 20 + }, + "end": { + "line": 385, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 15333, + 15346 + ], + "loc": { + "start": { + "line": 385, + "column": 23 + }, + "end": { + "line": 385, + "column": 36 + } + } + }, + "range": [ + 15330, + 15346 + ], + "loc": { + "start": { + "line": 385, + "column": 20 + }, + "end": { + "line": 385, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15370, + 15372 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 15373, + 15380 + ], + "loc": { + "start": { + "line": 386, + "column": 23 + }, + "end": { + "line": 386, + "column": 30 + } + } + }, + "range": [ + 15370, + 15380 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "alternateRows", + "raw": "'alternateRows'", + "range": [ + 15381, + 15396 + ], + "loc": { + "start": { + "line": 386, + "column": 31 + }, + "end": { + "line": 386, + "column": 46 + } + } + } + ], + "range": [ + 15370, + 15397 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 15398, + 15402 + ], + "loc": { + "start": { + "line": 386, + "column": 48 + }, + "end": { + "line": 386, + "column": 52 + } + } + }, + "range": [ + 15370, + 15402 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 52 + } + } + }, + "arguments": [], + "range": [ + 15370, + 15404 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 54 + } + } + }, + "range": [ + 15370, + 15405 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 55 + } + } + } + ], + "range": [ + 15348, + 15423 + ], + "loc": { + "start": { + "line": 385, + "column": 38 + }, + "end": { + "line": 387, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 15326, + 15423 + ], + "loc": { + "start": { + "line": 385, + "column": 16 + }, + "end": { + "line": 387, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnE", + "range": [ + 15444, + 15447 + ], + "loc": { + "start": { + "line": 388, + "column": 20 + }, + "end": { + "line": 388, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnE", + "range": [ + 15471, + 15474 + ], + "loc": { + "start": { + "line": 389, + "column": 20 + }, + "end": { + "line": 389, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 15475, + 15479 + ], + "loc": { + "start": { + "line": 389, + "column": 24 + }, + "end": { + "line": 389, + "column": 28 + } + } + }, + "range": [ + 15471, + 15479 + ], + "loc": { + "start": { + "line": 389, + "column": 20 + }, + "end": { + "line": 389, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 15480, + 15484 + ], + "loc": { + "start": { + "line": 389, + "column": 29 + }, + "end": { + "line": 389, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 15486, + 15490 + ], + "loc": { + "start": { + "line": 389, + "column": 35 + }, + "end": { + "line": 389, + "column": 39 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15491, + 15492 + ], + "loc": { + "start": { + "line": 389, + "column": 40 + }, + "end": { + "line": 389, + "column": 41 + } + } + }, + "range": [ + 15486, + 15493 + ], + "loc": { + "start": { + "line": 389, + "column": 35 + }, + "end": { + "line": 389, + "column": 42 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 15495, + 15499 + ], + "loc": { + "start": { + "line": 389, + "column": 44 + }, + "end": { + "line": 389, + "column": 48 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15500, + 15501 + ], + "loc": { + "start": { + "line": 389, + "column": 49 + }, + "end": { + "line": 389, + "column": 50 + } + } + }, + "range": [ + 15495, + 15502 + ], + "loc": { + "start": { + "line": 389, + "column": 44 + }, + "end": { + "line": 389, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 15504, + 15508 + ], + "loc": { + "start": { + "line": 389, + "column": 53 + }, + "end": { + "line": 389, + "column": 57 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 15509, + 15510 + ], + "loc": { + "start": { + "line": 389, + "column": 58 + }, + "end": { + "line": 389, + "column": 59 + } + } + }, + "range": [ + 15504, + 15511 + ], + "loc": { + "start": { + "line": 389, + "column": 53 + }, + "end": { + "line": 389, + "column": 60 + } + } + } + ], + "range": [ + 15471, + 15512 + ], + "loc": { + "start": { + "line": 389, + "column": 20 + }, + "end": { + "line": 389, + "column": 61 + } + } + }, + "range": [ + 15471, + 15513 + ], + "loc": { + "start": { + "line": 389, + "column": 20 + }, + "end": { + "line": 389, + "column": 62 + } + } + } + ], + "range": [ + 15449, + 15531 + ], + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 390, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 15440, + 15531 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 390, + "column": 17 + } + } + } + ], + "range": [ + 14907, + 15545 + ], + "loc": { + "start": { + "line": 374, + "column": 47 + }, + "end": { + "line": 391, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14895, + 15545 + ], + "loc": { + "start": { + "line": 374, + "column": 35 + }, + "end": { + "line": 391, + "column": 13 + } + } + }, + "range": [ + 14872, + 15545 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 391, + "column": 13 + } + } + }, + "range": [ + 14872, + 15546 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 391, + "column": 14 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 15563, + 15566 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "actions", + "range": [ + 15567, + 15574 + ], + "loc": { + "start": { + "line": 392, + "column": 20 + }, + "end": { + "line": 392, + "column": 27 + } + } + }, + "range": [ + 15563, + 15574 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 15578, + 15581 + ], + "loc": { + "start": { + "line": 392, + "column": 31 + }, + "end": { + "line": 392, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "actions", + "range": [ + 15582, + 15589 + ], + "loc": { + "start": { + "line": 392, + "column": 35 + }, + "end": { + "line": 392, + "column": 42 + } + } + }, + "range": [ + 15578, + 15589 + ], + "loc": { + "start": { + "line": 392, + "column": 31 + }, + "end": { + "line": 392, + "column": 42 + } + } + }, + "property": { + "type": "Literal", + "value": "delete", + "raw": "'delete'", + "range": [ + 15590, + 15598 + ], + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 51 + } + } + }, + "range": [ + 15578, + 15599 + ], + "loc": { + "start": { + "line": 392, + "column": 31 + }, + "end": { + "line": 392, + "column": 52 + } + } + }, + "range": [ + 15563, + 15599 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fnF", + "range": [ + 15623, + 15626 + ], + "loc": { + "start": { + "line": 393, + "column": 20 + }, + "end": { + "line": 393, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 15629, + 15632 + ], + "loc": { + "start": { + "line": 393, + "column": 26 + }, + "end": { + "line": 393, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "actions", + "range": [ + 15633, + 15640 + ], + "loc": { + "start": { + "line": 393, + "column": 30 + }, + "end": { + "line": 393, + "column": 37 + } + } + }, + "range": [ + 15629, + 15640 + ], + "loc": { + "start": { + "line": 393, + "column": 26 + }, + "end": { + "line": 393, + "column": 37 + } + } + }, + "property": { + "type": "Literal", + "value": "delete", + "raw": "'delete'", + "range": [ + 15641, + 15649 + ], + "loc": { + "start": { + "line": 393, + "column": 38 + }, + "end": { + "line": 393, + "column": 46 + } + } + }, + "range": [ + 15629, + 15650 + ], + "loc": { + "start": { + "line": 393, + "column": 26 + }, + "end": { + "line": 393, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_submit", + "range": [ + 15651, + 15666 + ], + "loc": { + "start": { + "line": 393, + "column": 48 + }, + "end": { + "line": 393, + "column": 63 + } + } + }, + "range": [ + 15629, + 15666 + ], + "loc": { + "start": { + "line": 393, + "column": 26 + }, + "end": { + "line": 393, + "column": 63 + } + } + }, + "range": [ + 15623, + 15666 + ], + "loc": { + "start": { + "line": 393, + "column": 20 + }, + "end": { + "line": 393, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 15619, + 15667 + ], + "loc": { + "start": { + "line": 393, + "column": 16 + }, + "end": { + "line": 393, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 15684, + 15687 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "actions", + "range": [ + 15688, + 15695 + ], + "loc": { + "start": { + "line": 394, + "column": 20 + }, + "end": { + "line": 394, + "column": 27 + } + } + }, + "range": [ + 15684, + 15695 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 27 + } + } + }, + "property": { + "type": "Literal", + "value": "delete", + "raw": "'delete'", + "range": [ + 15696, + 15704 + ], + "loc": { + "start": { + "line": 394, + "column": 28 + }, + "end": { + "line": 394, + "column": 36 + } + } + }, + "range": [ + 15684, + 15705 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_submit", + "range": [ + 15706, + 15721 + ], + "loc": { + "start": { + "line": 394, + "column": 38 + }, + "end": { + "line": 394, + "column": 53 + } + } + }, + "range": [ + 15684, + 15721 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 53 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "args", + "range": [ + 15762, + 15766 + ], + "loc": { + "start": { + "line": 395, + "column": 24 + }, + "end": { + "line": 395, + "column": 28 + } + } + }, + "init": { + "type": "Identifier", + "name": "arguments", + "range": [ + 15769, + 15778 + ], + "loc": { + "start": { + "line": 395, + "column": 31 + }, + "end": { + "line": 395, + "column": 40 + } + } + }, + "range": [ + 15762, + 15778 + ], + "loc": { + "start": { + "line": 395, + "column": 24 + }, + "end": { + "line": 395, + "column": 40 + } + } + } + ], + "kind": "var", + "range": [ + 15758, + 15779 + ], + "loc": { + "start": { + "line": 395, + "column": 20 + }, + "end": { + "line": 395, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15800, + 15802 + ], + "loc": { + "start": { + "line": 396, + "column": 20 + }, + "end": { + "line": 396, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 15803, + 15819 + ], + "loc": { + "start": { + "line": 396, + "column": 23 + }, + "end": { + "line": 396, + "column": 39 + } + } + }, + "range": [ + 15800, + 15819 + ], + "loc": { + "start": { + "line": 396, + "column": 20 + }, + "end": { + "line": 396, + "column": 39 + } + } + }, + "prefix": false, + "range": [ + 15800, + 15821 + ], + "loc": { + "start": { + "line": 396, + "column": 20 + }, + "end": { + "line": 396, + "column": 41 + } + } + }, + "range": [ + 15800, + 15822 + ], + "loc": { + "start": { + "line": 396, + "column": 20 + }, + "end": { + "line": 396, + "column": 42 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15848, + 15850 + ], + "loc": { + "start": { + "line": 397, + "column": 25 + }, + "end": { + "line": 397, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 15851, + 15857 + ], + "loc": { + "start": { + "line": 397, + "column": 28 + }, + "end": { + "line": 397, + "column": 34 + } + } + }, + "range": [ + 15848, + 15857 + ], + "loc": { + "start": { + "line": 397, + "column": 25 + }, + "end": { + "line": 397, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 15847, + 15857 + ], + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 397, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15885, + 15887 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 15888, + 15895 + ], + "loc": { + "start": { + "line": 398, + "column": 27 + }, + "end": { + "line": 398, + "column": 34 + } + } + }, + "range": [ + 15885, + 15895 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 15896, + 15900 + ], + "loc": { + "start": { + "line": 398, + "column": 35 + }, + "end": { + "line": 398, + "column": 39 + } + } + }, + "range": [ + 15885, + 15900 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 15901, + 15915 + ], + "loc": { + "start": { + "line": 398, + "column": 40 + }, + "end": { + "line": 398, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 15917, + 15919 + ], + "loc": { + "start": { + "line": 398, + "column": 56 + }, + "end": { + "line": 398, + "column": 58 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 15921, + 15925 + ], + "loc": { + "start": { + "line": 398, + "column": 60 + }, + "end": { + "line": 398, + "column": 64 + } + } + } + ], + "range": [ + 15885, + 15926 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 65 + } + } + }, + "range": [ + 15885, + 15927 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 66 + } + } + } + ], + "range": [ + 15859, + 15949 + ], + "loc": { + "start": { + "line": 397, + "column": 36 + }, + "end": { + "line": 399, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15981, + 15983 + ], + "loc": { + "start": { + "line": 400, + "column": 24 + }, + "end": { + "line": 400, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 15984, + 16000 + ], + "loc": { + "start": { + "line": 400, + "column": 27 + }, + "end": { + "line": 400, + "column": 43 + } + } + }, + "range": [ + 15981, + 16000 + ], + "loc": { + "start": { + "line": 400, + "column": 24 + }, + "end": { + "line": 400, + "column": 43 + } + } + }, + "prefix": false, + "range": [ + 15981, + 16002 + ], + "loc": { + "start": { + "line": 400, + "column": 24 + }, + "end": { + "line": 400, + "column": 45 + } + } + }, + "range": [ + 15981, + 16003 + ], + "loc": { + "start": { + "line": 400, + "column": 24 + }, + "end": { + "line": 400, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16028, + 16030 + ], + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 16031, + 16037 + ], + "loc": { + "start": { + "line": 401, + "column": 27 + }, + "end": { + "line": 401, + "column": 33 + } + } + }, + "range": [ + 16028, + 16037 + ], + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 16040, + 16045 + ], + "loc": { + "start": { + "line": 401, + "column": 36 + }, + "end": { + "line": 401, + "column": 41 + } + } + }, + "range": [ + 16028, + 16045 + ], + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 41 + } + } + }, + "range": [ + 16028, + 16046 + ], + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16071, + 16073 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 16074, + 16081 + ], + "loc": { + "start": { + "line": 402, + "column": 27 + }, + "end": { + "line": 402, + "column": 34 + } + } + }, + "range": [ + 16071, + 16081 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 16082, + 16090 + ], + "loc": { + "start": { + "line": 402, + "column": 35 + }, + "end": { + "line": 402, + "column": 43 + } + } + } + ], + "range": [ + 16071, + 16091 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 16092, + 16099 + ], + "loc": { + "start": { + "line": 402, + "column": 45 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + "range": [ + 16071, + 16099 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + "arguments": [], + "range": [ + 16071, + 16101 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 54 + } + } + }, + "range": [ + 16071, + 16102 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16127, + 16129 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 16130, + 16137 + ], + "loc": { + "start": { + "line": 403, + "column": 27 + }, + "end": { + "line": 403, + "column": 34 + } + } + }, + "range": [ + 16127, + 16137 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 16138, + 16146 + ], + "loc": { + "start": { + "line": 403, + "column": 35 + }, + "end": { + "line": 403, + "column": 43 + } + } + } + ], + "range": [ + 16127, + 16147 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "reset", + "range": [ + 16148, + 16153 + ], + "loc": { + "start": { + "line": 403, + "column": 45 + }, + "end": { + "line": 403, + "column": 50 + } + } + }, + "range": [ + 16127, + 16153 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 16154, + 16159 + ], + "loc": { + "start": { + "line": 403, + "column": 51 + }, + "end": { + "line": 403, + "column": 56 + } + } + } + ], + "range": [ + 16127, + 16160 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 57 + } + } + }, + "range": [ + 16127, + 16161 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 58 + } + } + } + ], + "range": [ + 15955, + 16183 + ], + "loc": { + "start": { + "line": 399, + "column": 27 + }, + "end": { + "line": 404, + "column": 21 + } + } + }, + "range": [ + 15843, + 16183 + ], + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 404, + "column": 21 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16208, + 16210 + ], + "loc": { + "start": { + "line": 405, + "column": 24 + }, + "end": { + "line": 405, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 16211, + 16224 + ], + "loc": { + "start": { + "line": 405, + "column": 27 + }, + "end": { + "line": 405, + "column": 40 + } + } + }, + "range": [ + 16208, + 16224 + ], + "loc": { + "start": { + "line": 405, + "column": 24 + }, + "end": { + "line": 405, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16252, + 16254 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 16255, + 16262 + ], + "loc": { + "start": { + "line": 406, + "column": 27 + }, + "end": { + "line": 406, + "column": 34 + } + } + }, + "range": [ + 16252, + 16262 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "alternateRows", + "raw": "'alternateRows'", + "range": [ + 16263, + 16278 + ], + "loc": { + "start": { + "line": 406, + "column": 35 + }, + "end": { + "line": 406, + "column": 50 + } + } + } + ], + "range": [ + 16252, + 16279 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 16280, + 16284 + ], + "loc": { + "start": { + "line": 406, + "column": 52 + }, + "end": { + "line": 406, + "column": 56 + } + } + }, + "range": [ + 16252, + 16284 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 56 + } + } + }, + "arguments": [], + "range": [ + 16252, + 16286 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 58 + } + } + }, + "range": [ + 16252, + 16287 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 59 + } + } + } + ], + "range": [ + 16226, + 16309 + ], + "loc": { + "start": { + "line": 405, + "column": 42 + }, + "end": { + "line": 407, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 16204, + 16309 + ], + "loc": { + "start": { + "line": 405, + "column": 20 + }, + "end": { + "line": 407, + "column": 21 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "fnF", + "range": [ + 16334, + 16337 + ], + "loc": { + "start": { + "line": 408, + "column": 24 + }, + "end": { + "line": 408, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fnF", + "range": [ + 16365, + 16368 + ], + "loc": { + "start": { + "line": 409, + "column": 24 + }, + "end": { + "line": 409, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 16369, + 16373 + ], + "loc": { + "start": { + "line": 409, + "column": 28 + }, + "end": { + "line": 409, + "column": 32 + } + } + }, + "range": [ + 16365, + 16373 + ], + "loc": { + "start": { + "line": 409, + "column": 24 + }, + "end": { + "line": 409, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 16374, + 16378 + ], + "loc": { + "start": { + "line": 409, + "column": 33 + }, + "end": { + "line": 409, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 16380, + 16384 + ], + "loc": { + "start": { + "line": 409, + "column": 39 + }, + "end": { + "line": 409, + "column": 43 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 16385, + 16386 + ], + "loc": { + "start": { + "line": 409, + "column": 44 + }, + "end": { + "line": 409, + "column": 45 + } + } + }, + "range": [ + 16380, + 16387 + ], + "loc": { + "start": { + "line": 409, + "column": 39 + }, + "end": { + "line": 409, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 16389, + 16393 + ], + "loc": { + "start": { + "line": 409, + "column": 48 + }, + "end": { + "line": 409, + "column": 52 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 16394, + 16395 + ], + "loc": { + "start": { + "line": 409, + "column": 53 + }, + "end": { + "line": 409, + "column": 54 + } + } + }, + "range": [ + 16389, + 16396 + ], + "loc": { + "start": { + "line": 409, + "column": 48 + }, + "end": { + "line": 409, + "column": 55 + } + } + } + ], + "range": [ + 16365, + 16397 + ], + "loc": { + "start": { + "line": 409, + "column": 24 + }, + "end": { + "line": 409, + "column": 56 + } + } + }, + "range": [ + 16365, + 16398 + ], + "loc": { + "start": { + "line": 409, + "column": 24 + }, + "end": { + "line": 409, + "column": 57 + } + } + } + ], + "range": [ + 16339, + 16420 + ], + "loc": { + "start": { + "line": 408, + "column": 29 + }, + "end": { + "line": 410, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 16330, + 16420 + ], + "loc": { + "start": { + "line": 408, + "column": 20 + }, + "end": { + "line": 410, + "column": 21 + } + } + } + ], + "range": [ + 15736, + 16438 + ], + "loc": { + "start": { + "line": 394, + "column": 68 + }, + "end": { + "line": 411, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15724, + 16438 + ], + "loc": { + "start": { + "line": 394, + "column": 56 + }, + "end": { + "line": 411, + "column": 17 + } + } + }, + "range": [ + 15684, + 16438 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 411, + "column": 17 + } + } + }, + "range": [ + 15684, + 16439 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 411, + "column": 18 + } + } + } + ], + "range": [ + 15601, + 16453 + ], + "loc": { + "start": { + "line": 392, + "column": 54 + }, + "end": { + "line": 412, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 15559, + 16453 + ], + "loc": { + "start": { + "line": 392, + "column": 12 + }, + "end": { + "line": 412, + "column": 13 + } + } + } + ], + "range": [ + 14736, + 16463 + ], + "loc": { + "start": { + "line": 371, + "column": 22 + }, + "end": { + "line": 413, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14722, + 16463 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 413, + "column": 9 + } + } + }, + { + "type": "TryStatement", + "block": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16524, + 16528 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 16529, + 16541 + ], + "loc": { + "start": { + "line": 417, + "column": 17 + }, + "end": { + "line": 417, + "column": 29 + } + } + }, + "range": [ + 16524, + 16541 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 29 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "EditTable", + "range": [ + 16548, + 16557 + ], + "loc": { + "start": { + "line": 417, + "column": 36 + }, + "end": { + "line": 417, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16558, + 16560 + ], + "loc": { + "start": { + "line": 417, + "column": 46 + }, + "end": { + "line": 417, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 16561, + 16563 + ], + "loc": { + "start": { + "line": 417, + "column": 49 + }, + "end": { + "line": 417, + "column": 51 + } + } + }, + "range": [ + 16558, + 16563 + ], + "loc": { + "start": { + "line": 417, + "column": 46 + }, + "end": { + "line": 417, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "cfg", + "range": [ + 16565, + 16568 + ], + "loc": { + "start": { + "line": 417, + "column": 53 + }, + "end": { + "line": 417, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "startRow", + "range": [ + 16570, + 16578 + ], + "loc": { + "start": { + "line": 417, + "column": 58 + }, + "end": { + "line": 417, + "column": 66 + } + } + } + ], + "range": [ + 16544, + 16579 + ], + "loc": { + "start": { + "line": 417, + "column": 32 + }, + "end": { + "line": 417, + "column": 67 + } + } + }, + "range": [ + 16524, + 16579 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 67 + } + } + }, + "range": [ + 16524, + 16580 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 16491, + 16511 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16593, + 16597 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 16598, + 16610 + ], + "loc": { + "start": { + "line": 418, + "column": 17 + }, + "end": { + "line": 418, + "column": 29 + } + } + }, + "range": [ + 16593, + 16610 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "Init", + "range": [ + 16611, + 16615 + ], + "loc": { + "start": { + "line": 418, + "column": 30 + }, + "end": { + "line": 418, + "column": 34 + } + } + }, + "range": [ + 16593, + 16615 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 16593, + 16617 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 36 + } + } + }, + "range": [ + 16593, + 16618 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 37 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 16631, + 16650 + ], + "loc": { + "start": { + "line": 419, + "column": 12 + }, + "end": { + "line": 419, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 16477, + 16660 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 420, + "column": 9 + } + } + }, + "handler": { + "type": "CatchClause", + "param": { + "type": "Identifier", + "name": "e", + "range": [ + 16668, + 16669 + ], + "loc": { + "start": { + "line": 420, + "column": 17 + }, + "end": { + "line": 420, + "column": 18 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 16683, + 16688 + ], + "loc": { + "start": { + "line": 420, + "column": 32 + }, + "end": { + "line": 420, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INSTANTIATION_ERROR", + "range": [ + 16689, + 16708 + ], + "loc": { + "start": { + "line": 420, + "column": 38 + }, + "end": { + "line": 420, + "column": 57 + } + } + } + ], + "range": [ + 16679, + 16709 + ], + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 420, + "column": 58 + } + } + }, + "range": [ + 16673, + 16710 + ], + "loc": { + "start": { + "line": 420, + "column": 22 + }, + "end": { + "line": 420, + "column": 59 + } + } + } + ], + "range": [ + 16671, + 16712 + ], + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 61 + } + } + }, + "range": [ + 16661, + 16712 + ], + "loc": { + "start": { + "line": 420, + "column": 10 + }, + "end": { + "line": 420, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 16631, + 16650 + ], + "loc": { + "start": { + "line": 419, + "column": 12 + }, + "end": { + "line": 419, + "column": 31 + } + } + } + ] + }, + "finalizer": null, + "range": [ + 16473, + 16712 + ], + "loc": { + "start": { + "line": 415, + "column": 8 + }, + "end": { + "line": 420, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16722, + 16726 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 16727, + 16738 + ], + "loc": { + "start": { + "line": 422, + "column": 13 + }, + "end": { + "line": 422, + "column": 24 + } + } + }, + "range": [ + 16722, + 16738 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 16741, + 16745 + ], + "loc": { + "start": { + "line": 422, + "column": 27 + }, + "end": { + "line": 422, + "column": 31 + } + } + }, + "range": [ + 16722, + 16745 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 31 + } + } + }, + "range": [ + 16722, + 16746 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 32 + } + } + } + ], + "range": [ + 3274, + 16752 + ], + "loc": { + "start": { + "line": 117, + "column": 23 + }, + "end": { + "line": 423, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3271, + 16752 + ], + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 423, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3255, + 16752 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 423, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Instantiate ezEditTable component for advanced grid features\n * @private\n ", + "range": [ + 3155, + 3250 + ], + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reset advanced grid when previously removed\n ", + "range": [ + 16758, + 16820 + ], + "loc": { + "start": { + "line": 425, + "column": 4 + }, + "end": { + "line": 427, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "reset", + "range": [ + 16825, + 16830 + ], + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 428, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 16847, + 16858 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16861, + 16865 + ], + "loc": { + "start": { + "line": 429, + "column": 26 + }, + "end": { + "line": 429, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 16866, + 16878 + ], + "loc": { + "start": { + "line": 429, + "column": 31 + }, + "end": { + "line": 429, + "column": 43 + } + } + }, + "range": [ + 16861, + 16878 + ], + "loc": { + "start": { + "line": 429, + "column": 26 + }, + "end": { + "line": 429, + "column": 43 + } + } + }, + "range": [ + 16847, + 16878 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 16843, + 16879 + ], + "loc": { + "start": { + "line": 429, + "column": 8 + }, + "end": { + "line": 429, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 16892, + 16903 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16923, + 16927 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 16928, + 16931 + ], + "loc": { + "start": { + "line": 431, + "column": 21 + }, + "end": { + "line": 431, + "column": 24 + } + } + }, + "range": [ + 16923, + 16931 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "selection", + "range": [ + 16932, + 16941 + ], + "loc": { + "start": { + "line": 431, + "column": 25 + }, + "end": { + "line": 431, + "column": 34 + } + } + }, + "range": [ + 16923, + 16941 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 16998, + 17009 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 17010, + 17019 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 37 + } + } + }, + "range": [ + 16998, + 17019 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "Set", + "range": [ + 17020, + 17023 + ], + "loc": { + "start": { + "line": 433, + "column": 38 + }, + "end": { + "line": 433, + "column": 41 + } + } + }, + "range": [ + 16998, + 17023 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 16998, + 17025 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 43 + } + } + }, + "range": [ + 16998, + 17026 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 16961, + 16981 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17043, + 17062 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 16943, + 17076 + ], + "loc": { + "start": { + "line": 431, + "column": 36 + }, + "end": { + "line": 435, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 16919, + 17076 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 435, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17093, + 17097 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 17098, + 17101 + ], + "loc": { + "start": { + "line": 436, + "column": 21 + }, + "end": { + "line": 436, + "column": 24 + } + } + }, + "range": [ + 17093, + 17101 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "editable", + "range": [ + 17102, + 17110 + ], + "loc": { + "start": { + "line": 436, + "column": 25 + }, + "end": { + "line": 436, + "column": 33 + } + } + }, + "range": [ + 17093, + 17110 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17167, + 17178 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "Editable", + "range": [ + 17179, + 17187 + ], + "loc": { + "start": { + "line": 438, + "column": 28 + }, + "end": { + "line": 438, + "column": 36 + } + } + }, + "range": [ + 17167, + 17187 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "Set", + "range": [ + 17188, + 17191 + ], + "loc": { + "start": { + "line": 438, + "column": 37 + }, + "end": { + "line": 438, + "column": 40 + } + } + }, + "range": [ + 17167, + 17191 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 40 + } + } + }, + "arguments": [], + "range": [ + 17167, + 17193 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 42 + } + } + }, + "range": [ + 17167, + 17194 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17130, + 17150 + ], + "loc": { + "start": { + "line": 437, + "column": 16 + }, + "end": { + "line": 437, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17211, + 17230 + ], + "loc": { + "start": { + "line": 439, + "column": 16 + }, + "end": { + "line": 439, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 17112, + 17244 + ], + "loc": { + "start": { + "line": 436, + "column": 35 + }, + "end": { + "line": 440, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 17089, + 17244 + ], + "loc": { + "start": { + "line": 436, + "column": 12 + }, + "end": { + "line": 440, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17043, + 17062 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 16905, + 17254 + ], + "loc": { + "start": { + "line": 430, + "column": 25 + }, + "end": { + "line": 441, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 16888, + 17254 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 441, + "column": 9 + } + } + } + ], + "range": [ + 16833, + 17260 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 442, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16830, + 17260 + ], + "loc": { + "start": { + "line": 428, + "column": 9 + }, + "end": { + "line": 442, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 16825, + 17260 + ], + "loc": { + "start": { + "line": 428, + "column": 4 + }, + "end": { + "line": 442, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reset advanced grid when previously removed\n ", + "range": [ + 16758, + 16820 + ], + "loc": { + "start": { + "line": 425, + "column": 4 + }, + "end": { + "line": 427, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle behaviour\n ", + "range": [ + 17266, + 17301 + ], + "loc": { + "start": { + "line": 444, + "column": 4 + }, + "end": { + "line": 446, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggle", + "range": [ + 17306, + 17312 + ], + "loc": { + "start": { + "line": 447, + "column": 4 + }, + "end": { + "line": 447, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17329, + 17340 + ], + "loc": { + "start": { + "line": 448, + "column": 12 + }, + "end": { + "line": 448, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17343, + 17347 + ], + "loc": { + "start": { + "line": 448, + "column": 26 + }, + "end": { + "line": 448, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 17348, + 17360 + ], + "loc": { + "start": { + "line": 448, + "column": 31 + }, + "end": { + "line": 448, + "column": 43 + } + } + }, + "range": [ + 17343, + 17360 + ], + "loc": { + "start": { + "line": 448, + "column": 26 + }, + "end": { + "line": 448, + "column": 43 + } + } + }, + "range": [ + 17329, + 17360 + ], + "loc": { + "start": { + "line": 448, + "column": 12 + }, + "end": { + "line": 448, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 17325, + 17361 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17374, + 17385 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "editable", + "range": [ + 17386, + 17394 + ], + "loc": { + "start": { + "line": 449, + "column": 24 + }, + "end": { + "line": 449, + "column": 32 + } + } + }, + "range": [ + 17374, + 17394 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17443, + 17454 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "Editable", + "range": [ + 17455, + 17463 + ], + "loc": { + "start": { + "line": 451, + "column": 24 + }, + "end": { + "line": 451, + "column": 32 + } + } + }, + "range": [ + 17443, + 17463 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "Remove", + "range": [ + 17464, + 17470 + ], + "loc": { + "start": { + "line": 451, + "column": 33 + }, + "end": { + "line": 451, + "column": 39 + } + } + }, + "range": [ + 17443, + 17470 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 39 + } + } + }, + "arguments": [], + "range": [ + 17443, + 17472 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 41 + } + } + }, + "range": [ + 17443, + 17473 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17410, + 17430 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17486, + 17505 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 17396, + 17515 + ], + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 453, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17568, + 17579 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "Editable", + "range": [ + 17580, + 17588 + ], + "loc": { + "start": { + "line": 455, + "column": 24 + }, + "end": { + "line": 455, + "column": 32 + } + } + }, + "range": [ + 17568, + 17588 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "Set", + "range": [ + 17589, + 17592 + ], + "loc": { + "start": { + "line": 455, + "column": 33 + }, + "end": { + "line": 455, + "column": 36 + } + } + }, + "range": [ + 17568, + 17592 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 36 + } + } + }, + "arguments": [], + "range": [ + 17568, + 17594 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 38 + } + } + }, + "range": [ + 17568, + 17595 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17535, + 17555 + ], + "loc": { + "start": { + "line": 454, + "column": 12 + }, + "end": { + "line": 454, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17608, + 17627 + ], + "loc": { + "start": { + "line": 456, + "column": 12 + }, + "end": { + "line": 456, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 17521, + 17637 + ], + "loc": { + "start": { + "line": 453, + "column": 15 + }, + "end": { + "line": 457, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17486, + 17505 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 31 + } + } + } + ] + }, + "range": [ + 17370, + 17637 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 457, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17650, + 17661 + ], + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 458, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "selection", + "range": [ + 17662, + 17671 + ], + "loc": { + "start": { + "line": 458, + "column": 24 + }, + "end": { + "line": 458, + "column": 33 + } + } + }, + "range": [ + 17650, + 17671 + ], + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 458, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17720, + 17731 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 17732, + 17741 + ], + "loc": { + "start": { + "line": 460, + "column": 24 + }, + "end": { + "line": 460, + "column": 33 + } + } + }, + "range": [ + 17720, + 17741 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "Remove", + "range": [ + 17742, + 17748 + ], + "loc": { + "start": { + "line": 460, + "column": 34 + }, + "end": { + "line": 460, + "column": 40 + } + } + }, + "range": [ + 17720, + 17748 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 40 + } + } + }, + "arguments": [], + "range": [ + 17720, + 17750 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 42 + } + } + }, + "range": [ + 17720, + 17751 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17687, + 17707 + ], + "loc": { + "start": { + "line": 459, + "column": 12 + }, + "end": { + "line": 459, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17764, + 17783 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 17673, + 17793 + ], + "loc": { + "start": { + "line": 458, + "column": 35 + }, + "end": { + "line": 462, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 17846, + 17857 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 17858, + 17867 + ], + "loc": { + "start": { + "line": 464, + "column": 24 + }, + "end": { + "line": 464, + "column": 33 + } + } + }, + "range": [ + 17846, + 17867 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "Set", + "range": [ + 17868, + 17871 + ], + "loc": { + "start": { + "line": 464, + "column": 34 + }, + "end": { + "line": 464, + "column": 37 + } + } + }, + "range": [ + 17846, + 17871 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 17846, + 17873 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 39 + } + } + }, + "range": [ + 17846, + 17874 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17813, + 17833 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17887, + 17906 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 17799, + 17916 + ], + "loc": { + "start": { + "line": 462, + "column": 15 + }, + "end": { + "line": 466, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17764, + 17783 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 31 + } + } + } + ] + }, + "range": [ + 17646, + 17916 + ], + "loc": { + "start": { + "line": 458, + "column": 8 + }, + "end": { + "line": 466, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17608, + 17627 + ], + "loc": { + "start": { + "line": 456, + "column": 12 + }, + "end": { + "line": 456, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 17315, + 17922 + ], + "loc": { + "start": { + "line": 447, + "column": 13 + }, + "end": { + "line": 467, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17312, + 17922 + ], + "loc": { + "start": { + "line": 447, + "column": 10 + }, + "end": { + "line": 467, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17306, + 17922 + ], + "loc": { + "start": { + "line": 447, + "column": 4 + }, + "end": { + "line": 467, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17211, + 17230 + ], + "loc": { + "start": { + "line": 439, + "column": 16 + }, + "end": { + "line": 439, + "column": 35 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle behaviour\n ", + "range": [ + 17266, + 17301 + ], + "loc": { + "start": { + "line": 444, + "column": 4 + }, + "end": { + "line": 446, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_toggleForInputFilter", + "range": [ + 17928, + 17949 + ], + "loc": { + "start": { + "line": 469, + "column": 4 + }, + "end": { + "line": 469, + "column": 25 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 17966, + 17968 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17971, + 17975 + ], + "loc": { + "start": { + "line": 470, + "column": 17 + }, + "end": { + "line": 470, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 17976, + 17978 + ], + "loc": { + "start": { + "line": 470, + "column": 22 + }, + "end": { + "line": 470, + "column": 24 + } + } + }, + "range": [ + 17971, + 17978 + ], + "loc": { + "start": { + "line": 470, + "column": 17 + }, + "end": { + "line": 470, + "column": 24 + } + } + }, + "range": [ + 17966, + 17978 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 17962, + 17979 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17993, + 17995 + ], + "loc": { + "start": { + "line": 471, + "column": 13 + }, + "end": { + "line": 471, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "getActiveFilterId", + "range": [ + 17996, + 18013 + ], + "loc": { + "start": { + "line": 471, + "column": 16 + }, + "end": { + "line": 471, + "column": 33 + } + } + }, + "range": [ + 17993, + 18013 + ], + "loc": { + "start": { + "line": 471, + "column": 13 + }, + "end": { + "line": 471, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 17993, + 18015 + ], + "loc": { + "start": { + "line": 471, + "column": 13 + }, + "end": { + "line": 471, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 17992, + 18015 + ], + "loc": { + "start": { + "line": 471, + "column": 12 + }, + "end": { + "line": 471, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 18031, + 18038 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 19 + } + } + } + ], + "range": [ + 18017, + 18048 + ], + "loc": { + "start": { + "line": 471, + "column": 37 + }, + "end": { + "line": 473, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 17988, + 18048 + ], + "loc": { + "start": { + "line": 471, + "column": 8 + }, + "end": { + "line": 473, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 18061, + 18069 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 18072, + 18074 + ], + "loc": { + "start": { + "line": 474, + "column": 23 + }, + "end": { + "line": 474, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 18075, + 18101 + ], + "loc": { + "start": { + "line": 474, + "column": 26 + }, + "end": { + "line": 474, + "column": 52 + } + } + }, + "range": [ + 18072, + 18101 + ], + "loc": { + "start": { + "line": 474, + "column": 23 + }, + "end": { + "line": 474, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 18102, + 18104 + ], + "loc": { + "start": { + "line": 474, + "column": 53 + }, + "end": { + "line": 474, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "getActiveFilterId", + "range": [ + 18105, + 18122 + ], + "loc": { + "start": { + "line": 474, + "column": 56 + }, + "end": { + "line": 474, + "column": 73 + } + } + }, + "range": [ + 18102, + 18122 + ], + "loc": { + "start": { + "line": 474, + "column": 53 + }, + "end": { + "line": 474, + "column": 73 + } + } + }, + "arguments": [], + "range": [ + 18102, + 18124 + ], + "loc": { + "start": { + "line": 474, + "column": 53 + }, + "end": { + "line": 474, + "column": 75 + } + } + } + ], + "range": [ + 18072, + 18125 + ], + "loc": { + "start": { + "line": 474, + "column": 23 + }, + "end": { + "line": 474, + "column": 76 + } + } + }, + "range": [ + 18061, + 18125 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 76 + } + } + } + ], + "kind": "let", + "range": [ + 18057, + 18126 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 77 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filterType", + "range": [ + 18139, + 18149 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 18152, + 18154 + ], + "loc": { + "start": { + "line": 475, + "column": 25 + }, + "end": { + "line": 475, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 18155, + 18168 + ], + "loc": { + "start": { + "line": 475, + "column": 28 + }, + "end": { + "line": 475, + "column": 41 + } + } + }, + "range": [ + 18152, + 18168 + ], + "loc": { + "start": { + "line": 475, + "column": 25 + }, + "end": { + "line": 475, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 18169, + 18177 + ], + "loc": { + "start": { + "line": 475, + "column": 42 + }, + "end": { + "line": 475, + "column": 50 + } + } + } + ], + "range": [ + 18152, + 18178 + ], + "loc": { + "start": { + "line": 475, + "column": 25 + }, + "end": { + "line": 475, + "column": 51 + } + } + }, + "range": [ + 18139, + 18178 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 18135, + 18179 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "filterType", + "range": [ + 18192, + 18202 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 18207, + 18212 + ], + "loc": { + "start": { + "line": 476, + "column": 27 + }, + "end": { + "line": 476, + "column": 32 + } + } + }, + "range": [ + 18192, + 18212 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18228, + 18232 + ], + "loc": { + "start": { + "line": 477, + "column": 12 + }, + "end": { + "line": 477, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 18233, + 18239 + ], + "loc": { + "start": { + "line": 477, + "column": 17 + }, + "end": { + "line": 477, + "column": 23 + } + } + }, + "range": [ + 18228, + 18239 + ], + "loc": { + "start": { + "line": 477, + "column": 12 + }, + "end": { + "line": 477, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 18228, + 18241 + ], + "loc": { + "start": { + "line": 477, + "column": 12 + }, + "end": { + "line": 477, + "column": 25 + } + } + }, + "range": [ + 18228, + 18242 + ], + "loc": { + "start": { + "line": 477, + "column": 12 + }, + "end": { + "line": 477, + "column": 26 + } + } + } + ], + "range": [ + 18214, + 18252 + ], + "loc": { + "start": { + "line": 476, + "column": 34 + }, + "end": { + "line": 478, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18188, + 18252 + ], + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 478, + "column": 9 + } + } + } + ], + "range": [ + 17952, + 18258 + ], + "loc": { + "start": { + "line": 469, + "column": 28 + }, + "end": { + "line": 479, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17949, + 18258 + ], + "loc": { + "start": { + "line": 469, + "column": 25 + }, + "end": { + "line": 479, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17928, + 18258 + ], + "loc": { + "start": { + "line": 469, + "column": 4 + }, + "end": { + "line": 479, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17887, + 17906 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove advanced grid\n ", + "range": [ + 18264, + 18303 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 18308, + 18315 + ], + "loc": { + "start": { + "line": 484, + "column": 4 + }, + "end": { + "line": 484, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18333, + 18337 + ], + "loc": { + "start": { + "line": 485, + "column": 13 + }, + "end": { + "line": 485, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 18338, + 18349 + ], + "loc": { + "start": { + "line": 485, + "column": 18 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "range": [ + 18333, + 18349 + ], + "loc": { + "start": { + "line": 485, + "column": 13 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 18332, + 18349 + ], + "loc": { + "start": { + "line": 485, + "column": 12 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 18365, + 18372 + ], + "loc": { + "start": { + "line": 486, + "column": 12 + }, + "end": { + "line": 486, + "column": 19 + } + } + } + ], + "range": [ + 18351, + 18382 + ], + "loc": { + "start": { + "line": 485, + "column": 31 + }, + "end": { + "line": 487, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18328, + 18382 + ], + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 487, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 18395, + 18406 + ], + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18409, + 18413 + ], + "loc": { + "start": { + "line": 488, + "column": 26 + }, + "end": { + "line": 488, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "_ezEditTable", + "range": [ + 18414, + 18426 + ], + "loc": { + "start": { + "line": 488, + "column": 31 + }, + "end": { + "line": 488, + "column": 43 + } + } + }, + "range": [ + 18409, + 18426 + ], + "loc": { + "start": { + "line": 488, + "column": 26 + }, + "end": { + "line": 488, + "column": 43 + } + } + }, + "range": [ + 18395, + 18426 + ], + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 18391, + 18427 + ], + "loc": { + "start": { + "line": 488, + "column": 8 + }, + "end": { + "line": 488, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 18440, + 18451 + ], + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 489, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18471, + 18475 + ], + "loc": { + "start": { + "line": 490, + "column": 16 + }, + "end": { + "line": 490, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 18476, + 18479 + ], + "loc": { + "start": { + "line": 490, + "column": 21 + }, + "end": { + "line": 490, + "column": 24 + } + } + }, + "range": [ + 18471, + 18479 + ], + "loc": { + "start": { + "line": 490, + "column": 16 + }, + "end": { + "line": 490, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "selection", + "range": [ + 18480, + 18489 + ], + "loc": { + "start": { + "line": 490, + "column": 25 + }, + "end": { + "line": 490, + "column": 34 + } + } + }, + "range": [ + 18471, + 18489 + ], + "loc": { + "start": { + "line": 490, + "column": 16 + }, + "end": { + "line": 490, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 18546, + 18557 + ], + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 18558, + 18567 + ], + "loc": { + "start": { + "line": 492, + "column": 28 + }, + "end": { + "line": 492, + "column": 37 + } + } + }, + "range": [ + 18546, + 18567 + ], + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "ClearSelections", + "range": [ + 18568, + 18583 + ], + "loc": { + "start": { + "line": 492, + "column": 38 + }, + "end": { + "line": 492, + "column": 53 + } + } + }, + "range": [ + 18546, + 18583 + ], + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 53 + } + } + }, + "arguments": [], + "range": [ + 18546, + 18585 + ], + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 55 + } + } + }, + "range": [ + 18546, + 18586 + ], + "loc": { + "start": { + "line": 492, + "column": 16 + }, + "end": { + "line": 492, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 18509, + 18529 + ], + "loc": { + "start": { + "line": 491, + "column": 16 + }, + "end": { + "line": 491, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 18603, + 18614 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "Selection", + "range": [ + 18615, + 18624 + ], + "loc": { + "start": { + "line": 493, + "column": 28 + }, + "end": { + "line": 493, + "column": 37 + } + } + }, + "range": [ + 18603, + 18624 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "Remove", + "range": [ + 18625, + 18631 + ], + "loc": { + "start": { + "line": 493, + "column": 38 + }, + "end": { + "line": 493, + "column": 44 + } + } + }, + "range": [ + 18603, + 18631 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 18603, + 18633 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 46 + } + } + }, + "range": [ + 18603, + 18634 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 47 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18651, + 18670 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 18491, + 18684 + ], + "loc": { + "start": { + "line": 490, + "column": 36 + }, + "end": { + "line": 495, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 18467, + 18684 + ], + "loc": { + "start": { + "line": 490, + "column": 12 + }, + "end": { + "line": 495, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18701, + 18705 + ], + "loc": { + "start": { + "line": 496, + "column": 16 + }, + "end": { + "line": 496, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 18706, + 18709 + ], + "loc": { + "start": { + "line": 496, + "column": 21 + }, + "end": { + "line": 496, + "column": 24 + } + } + }, + "range": [ + 18701, + 18709 + ], + "loc": { + "start": { + "line": 496, + "column": 16 + }, + "end": { + "line": 496, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "editable", + "range": [ + 18710, + 18718 + ], + "loc": { + "start": { + "line": 496, + "column": 25 + }, + "end": { + "line": 496, + "column": 33 + } + } + }, + "range": [ + 18701, + 18718 + ], + "loc": { + "start": { + "line": 496, + "column": 16 + }, + "end": { + "line": 496, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ezEditTable", + "range": [ + 18775, + 18786 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "Editable", + "range": [ + 18787, + 18795 + ], + "loc": { + "start": { + "line": 498, + "column": 28 + }, + "end": { + "line": 498, + "column": 36 + } + } + }, + "range": [ + 18775, + 18795 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "Remove", + "range": [ + 18796, + 18802 + ], + "loc": { + "start": { + "line": 498, + "column": 37 + }, + "end": { + "line": 498, + "column": 43 + } + } + }, + "range": [ + 18775, + 18802 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 18775, + 18804 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 45 + } + } + }, + "range": [ + 18775, + 18805 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 18738, + 18758 + ], + "loc": { + "start": { + "line": 497, + "column": 16 + }, + "end": { + "line": 497, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18822, + 18841 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 18720, + 18855 + ], + "loc": { + "start": { + "line": 496, + "column": 35 + }, + "end": { + "line": 500, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 18697, + 18855 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 500, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18651, + 18670 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 18453, + 18865 + ], + "loc": { + "start": { + "line": 489, + "column": 25 + }, + "end": { + "line": 501, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18436, + 18865 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 501, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18875, + 18879 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 18880, + 18887 + ], + "loc": { + "start": { + "line": 503, + "column": 13 + }, + "end": { + "line": 503, + "column": 20 + } + } + }, + "range": [ + 18875, + 18887 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 18888, + 18891 + ], + "loc": { + "start": { + "line": 503, + "column": 21 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "range": [ + 18875, + 18891 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 18893, + 18907 + ], + "loc": { + "start": { + "line": 503, + "column": 26 + }, + "end": { + "line": 503, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "filter-blur", + "raw": "'filter-blur'", + "range": [ + 18909, + 18922 + ], + "loc": { + "start": { + "line": 503, + "column": 42 + }, + "end": { + "line": 503, + "column": 55 + } + } + } + ], + "range": [ + 18892, + 18923 + ], + "loc": { + "start": { + "line": 503, + "column": 25 + }, + "end": { + "line": 503, + "column": 56 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18943, + 18947 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_toggleForInputFilter", + "range": [ + 18948, + 18969 + ], + "loc": { + "start": { + "line": 504, + "column": 23 + }, + "end": { + "line": 504, + "column": 44 + } + } + }, + "range": [ + 18943, + 18969 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 18943, + 18971 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 46 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 18937, + 18971 + ], + "loc": { + "start": { + "line": 504, + "column": 12 + }, + "end": { + "line": 504, + "column": 46 + } + } + } + ], + "range": [ + 18875, + 18972 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 504, + "column": 47 + } + } + }, + "range": [ + 18875, + 18973 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 504, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18822, + 18841 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18982, + 18986 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 18987, + 18998 + ], + "loc": { + "start": { + "line": 505, + "column": 13 + }, + "end": { + "line": 505, + "column": 24 + } + } + }, + "range": [ + 18982, + 18998 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 19001, + 19006 + ], + "loc": { + "start": { + "line": 505, + "column": 27 + }, + "end": { + "line": 505, + "column": 32 + } + } + }, + "range": [ + 18982, + 19006 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 32 + } + } + }, + "range": [ + 18982, + 19007 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 33 + } + } + } + ], + "range": [ + 18318, + 19013 + ], + "loc": { + "start": { + "line": 484, + "column": 14 + }, + "end": { + "line": 506, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 18315, + 19013 + ], + "loc": { + "start": { + "line": 484, + "column": 11 + }, + "end": { + "line": 506, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 18308, + 19013 + ], + "loc": { + "start": { + "line": 484, + "column": 4 + }, + "end": { + "line": 506, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove advanced grid\n ", + "range": [ + 18264, + 18303 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 561, + 19015 + ], + "loc": { + "start": { + "line": 15, + "column": 56 + }, + "end": { + "line": 507, + "column": 1 + } + } + }, + "range": [ + 520, + 19015 + ], + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 507, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Adapter module for ezEditTable, an external library providing advanced\n * grid features (selection and edition):\n * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus\n ", + "range": [ + 297, + 504 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "range": [ + 505, + 19015 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 507, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Adapter module for ezEditTable, an external library providing advanced\n * grid features (selection and edition):\n * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus\n ", + "range": [ + 297, + 504 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 19015 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 507, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Adapter module for ezEditTable, an external library providing advanced\n * grid features (selection and edition):\n * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus\n ", + "range": [ + 297, + 504 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of AdapterEzEditTable\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} cfg Configuration options for ezEditTable library\n ", + "range": [ + 568, + 760 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 826, + 897 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Filename of ezEditTable library\n * @type {String}\n ", + "range": [ + 980, + 1064 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Path to ezEditTable library\n * @type {String}\n ", + "range": [ + 1143, + 1223 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Load ezEditTable stylesheet\n * @type {Boolean}\n ", + "range": [ + 1276, + 1357 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Path to ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1427, + 1510 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Name of ezEditTable stylesheet\n * @type {String}\n ", + "range": [ + 1624, + 1707 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " Enable the ezEditTable's scroll into view behaviour if grid layout on", + "range": [ + 1811, + 1883 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 80 + } + } + }, + { + "type": "Block", + "value": "*\n * ezEditTable instance\n * @type {EditTable}\n * @private\n ", + "range": [ + 1992, + 2088 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ezEditTable configuration\n * @private\n ", + "range": [ + 2132, + 2204 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Conditionally load ezEditTable library and set advanced grid\n ", + "range": [ + 2264, + 2343 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: hack to prevent ezEditTable enter key event hijaking.", + "range": [ + 2842, + 2904 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 70 + } + } + }, + { + "type": "Line", + "value": " Needs to be fixed in the vendor's library", + "range": [ + 2913, + 2957 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 52 + } + } + }, + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 3073, + 3110 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Instantiate ezEditTable component for advanced grid features\n * @private\n ", + "range": [ + 3155, + 3250 + ], + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "start row for EditTable constructor needs to be calculated", + "range": [ + 3311, + 3371 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 68 + } + } + }, + { + "type": "Line", + "value": "if thead exists and startRow not specified, startRow is calculated", + "range": [ + 3475, + 3543 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "automatically by EditTable", + "range": [ + 3552, + 3580 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 36 + } + } + }, + { + "type": "Line", + "value": "otherwise startRow config property if any or TableFilter refRow", + "range": [ + 3682, + 3747 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "CSS Styles", + "range": [ + 4085, + 4097 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "Line", + "value": "Row navigation needs to be calculated according to TableFilter's", + "range": [ + 4278, + 4344 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 78 + } + } + }, + { + "type": "Line", + "value": "validRowsIndex array", + "range": [ + 4357, + 4379 + ], + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "Next valid filtered row needs to be selected", + "range": [ + 4503, + 4549 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 62 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 4688, + 4708 + ], + "loc": { + "start": { + "line": 156, + "column": 24 + }, + "end": { + "line": 156, + "column": 44 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4793, + 4812 + ], + "loc": { + "start": { + "line": 158, + "column": 24 + }, + "end": { + "line": 158, + "column": 43 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 4866, + 4886 + ], + "loc": { + "start": { + "line": 160, + "column": 24 + }, + "end": { + "line": 160, + "column": 44 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 4957, + 4976 + ], + "loc": { + "start": { + "line": 162, + "column": 24 + }, + "end": { + "line": 162, + "column": 43 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 5193, + 5213 + ], + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5306, + 5325 + ], + "loc": { + "start": { + "line": 168, + "column": 28 + }, + "end": { + "line": 168, + "column": 47 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 5415, + 5435 + ], + "loc": { + "start": { + "line": 171, + "column": 28 + }, + "end": { + "line": 171, + "column": 48 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 5530, + 5549 + ], + "loc": { + "start": { + "line": 173, + "column": 28 + }, + "end": { + "line": 173, + "column": 47 + } + } + }, + { + "type": "Line", + "value": "Table is filtered", + "range": [ + 5618, + 5637 + ], + "loc": { + "start": { + "line": 176, + "column": 20 + }, + "end": { + "line": 176, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "table is not filtered", + "range": [ + 6488, + 6511 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "cell for default_selection = 'both' or 'cell'", + "range": [ + 6849, + 6896 + ], + "loc": { + "start": { + "line": 204, + "column": 20 + }, + "end": { + "line": 204, + "column": 67 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 6996, + 7016 + ], + "loc": { + "start": { + "line": 206, + "column": 20 + }, + "end": { + "line": 206, + "column": 40 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 7109, + 7128 + ], + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "pgup/pgdown keys", + "range": [ + 7310, + 7328 + ], + "loc": { + "start": { + "line": 212, + "column": 20 + }, + "end": { + "line": 212, + "column": 38 + } + } + }, + { + "type": "Line", + "value": "If next row is not valid, next valid filtered row needs to be", + "range": [ + 7508, + 7571 + ], + "loc": { + "start": { + "line": 217, + "column": 16 + }, + "end": { + "line": 217, + "column": 79 + } + } + }, + { + "type": "Line", + "value": "calculated", + "range": [ + 7588, + 7600 + ], + "loc": { + "start": { + "line": 218, + "column": 16 + }, + "end": { + "line": 218, + "column": 28 + } + } + }, + { + "type": "Line", + "value": "Selection direction up/down", + "range": [ + 7656, + 7685 + ], + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 49 + } + } + }, + { + "type": "Line", + "value": "last row", + "range": [ + 7766, + 7776 + ], + "loc": { + "start": { + "line": 222, + "column": 24 + }, + "end": { + "line": 222, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "first row", + "range": [ + 8401, + 8412 + ], + "loc": { + "start": { + "line": 234, + "column": 24 + }, + "end": { + "line": 234, + "column": 35 + } + } + }, + { + "type": "Line", + "value": "If filtered row is valid, special calculation for", + "range": [ + 8898, + 8949 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 71 + } + } + }, + { + "type": "Line", + "value": "pgup/pgdown keys", + "range": [ + 8970, + 8988 + ], + "loc": { + "start": { + "line": 246, + "column": 20 + }, + "end": { + "line": 246, + "column": 38 + } + } + }, + { + "type": "Line", + "value": "pgdown", + "range": [ + 9259, + 9267 + ], + "loc": { + "start": { + "line": 251, + "column": 46 + }, + "end": { + "line": 251, + "column": 54 + } + } + }, + { + "type": "Line", + "value": "last row", + "range": [ + 9296, + 9306 + ], + "loc": { + "start": { + "line": 252, + "column": 28 + }, + "end": { + "line": 252, + "column": 38 + } + } + }, + { + "type": "Line", + "value": "pgup", + "range": [ + 9676, + 9682 + ], + "loc": { + "start": { + "line": 259, + "column": 33 + }, + "end": { + "line": 259, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "first row", + "range": [ + 9711, + 9722 + ], + "loc": { + "start": { + "line": 260, + "column": 28 + }, + "end": { + "line": 260, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "Page navigation has to be enforced whenever selected row is out of", + "range": [ + 10332, + 10400 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 80 + } + } + }, + { + "type": "Line", + "value": "the current page range", + "range": [ + 10413, + 10437 + ], + "loc": { + "start": { + "line": 276, + "column": 12 + }, + "end": { + "line": 276, + "column": 36 + } + } + }, + { + "type": "Line", + "value": "page length is re-assigned in case it has changed", + "range": [ + 10795, + 10846 + ], + "loc": { + "start": { + "line": 283, + "column": 24 + }, + "end": { + "line": 283, + "column": 75 + } + } + }, + { + "type": "Line", + "value": "Selected row needs to be visible when paging is activated", + "range": [ + 12211, + 12270 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 71 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12563, + 12583 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 40 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12654, + 12673 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 39 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 12798, + 12818 + ], + "loc": { + "start": { + "line": 324, + "column": 20 + }, + "end": { + "line": 324, + "column": 40 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 12891, + 12910 + ], + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 326, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "Rows navigation when rows are filtered is performed with the", + "range": [ + 13063, + 13125 + ], + "loc": { + "start": { + "line": 333, + "column": 12 + }, + "end": { + "line": 333, + "column": 74 + } + } + }, + { + "type": "Line", + "value": "EditTable row selection callback events", + "range": [ + 13138, + 13179 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 53 + } + } + }, + { + "type": "Line", + "value": "Added or removed rows, TF rows number needs to be re-calculated", + "range": [ + 14750, + 14815 + ], + "loc": { + "start": { + "line": 372, + "column": 12 + }, + "end": { + "line": 372, + "column": 77 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 16491, + 16511 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 16631, + 16650 + ], + "loc": { + "start": { + "line": 419, + "column": 12 + }, + "end": { + "line": 419, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Reset advanced grid when previously removed\n ", + "range": [ + 16758, + 16820 + ], + "loc": { + "start": { + "line": 425, + "column": 4 + }, + "end": { + "line": 427, + "column": 7 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 16961, + 16981 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 36 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17043, + 17062 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 35 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17130, + 17150 + ], + "loc": { + "start": { + "line": 437, + "column": 16 + }, + "end": { + "line": 437, + "column": 36 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17211, + 17230 + ], + "loc": { + "start": { + "line": 439, + "column": 16 + }, + "end": { + "line": 439, + "column": 35 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle behaviour\n ", + "range": [ + 17266, + 17301 + ], + "loc": { + "start": { + "line": 444, + "column": 4 + }, + "end": { + "line": 446, + "column": 7 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17410, + 17430 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17486, + 17505 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 31 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17535, + 17555 + ], + "loc": { + "start": { + "line": 454, + "column": 12 + }, + "end": { + "line": 454, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17608, + 17627 + ], + "loc": { + "start": { + "line": 456, + "column": 12 + }, + "end": { + "line": 456, + "column": 31 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17687, + 17707 + ], + "loc": { + "start": { + "line": 459, + "column": 12 + }, + "end": { + "line": 459, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17764, + 17783 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 31 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 17813, + 17833 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 17887, + 17906 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove advanced grid\n ", + "range": [ + 18264, + 18303 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 18509, + 18529 + ], + "loc": { + "start": { + "line": 491, + "column": 16 + }, + "end": { + "line": 491, + "column": 36 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18651, + 18670 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 35 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 18738, + 18758 + ], + "loc": { + "start": { + "line": 497, + "column": 16 + }, + "end": { + "line": 497, + "column": 36 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 18822, + 18841 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 35 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/advancedGrid/advancedGrid.js.json b/docs/ast/source/extensions/advancedGrid/advancedGrid.js.json new file mode 100644 index 00000000..844ecdd7 --- /dev/null +++ b/docs/ast/source/extensions/advancedGrid/advancedGrid.js.json @@ -0,0 +1,131 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "AdapterEzEditTable", + "range": [ + 7, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 7, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./adapterEzEditTable", + "raw": "'./adapterEzEditTable'", + "range": [ + 31, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 54 + } + } + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "Identifier", + "name": "AdapterEzEditTable", + "range": [ + 71, + 89 + ], + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 33 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "range": [ + 56, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 90 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/colOps/colOps.js.json b/docs/ast/source/extensions/colOps/colOps.js.json new file mode 100644 index 00000000..2ab87a76 --- /dev/null +++ b/docs/ast/source/extensions/colOps/colOps.js.json @@ -0,0 +1,25837 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../feature", + "raw": "'../../feature'", + "range": [ + 22, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + "range": [ + 0, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 47, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 47, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + "range": [ + 47, + 57 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 59, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 59, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + "range": [ + 59, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 23 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../dom", + "raw": "'../../dom'", + "range": [ + 69, + 80 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + "range": [ + 39, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 90, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 90, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "range": [ + 90, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 99, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 99, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + "range": [ + 99, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 108, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 108, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "range": [ + 108, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 34 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../types", + "raw": "'../../types'", + "range": [ + 123, + 136 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + "range": [ + 82, + 137 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 55 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 146, + 156 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 146, + 156 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + "range": [ + 146, + 156 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../sort", + "raw": "'../../sort'", + "range": [ + 163, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 37 + } + } + }, + "range": [ + 138, + 176 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 185, + 201 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 185, + 201 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + "range": [ + 185, + 201 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../const", + "raw": "'../../const'", + "range": [ + 208, + 221 + ], + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 44 + } + } + }, + "range": [ + 177, + 222 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "formatNumber", + "range": [ + 230, + 242 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + "range": [ + 230, + 242 + ], + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "format-number", + "raw": "'format-number'", + "range": [ + 248, + 263 + ], + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 40 + } + } + }, + "range": [ + 223, + 264 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 41 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 273, + 283 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 273, + 283 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + "range": [ + 273, + 283 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 285, + 296 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 285, + 296 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "range": [ + 285, + 296 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../settings", + "raw": "'../../settings'", + "range": [ + 303, + 319 + ], + "loc": { + "start": { + "line": 7, + "column": 38 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + "range": [ + 265, + 320 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 55 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 328, + 334 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 343, + 360 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": "Literal", + "value": "after-page-change", + "raw": "'after-page-change'", + "range": [ + 366, + 385 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "after-page-length-change", + "raw": "'after-page-length-change'", + "range": [ + 391, + 417 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 30 + } + } + } + ], + "range": [ + 337, + 419 + ], + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + "range": [ + 328, + 419 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 13, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 322, + 420 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 13, + "column": 2 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "SUM", + "range": [ + 428, + 431 + ], + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": "sum", + "raw": "'sum'", + "range": [ + 434, + 439 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + "range": [ + 428, + 439 + ], + "loc": { + "start": { + "line": 15, + "column": 6 + }, + "end": { + "line": 15, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 422, + 440 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "MEAN", + "range": [ + 447, + 451 + ], + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + "init": { + "type": "Literal", + "value": "mean", + "raw": "'mean'", + "range": [ + 454, + 460 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + "range": [ + 447, + 460 + ], + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 19 + } + } + } + ], + "kind": "const", + "range": [ + 441, + 461 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "MIN", + "range": [ + 468, + 471 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": "min", + "raw": "'min'", + "range": [ + 474, + 479 + ], + "loc": { + "start": { + "line": 17, + "column": 12 + }, + "end": { + "line": 17, + "column": 17 + } + } + }, + "range": [ + 468, + 479 + ], + "loc": { + "start": { + "line": 17, + "column": 6 + }, + "end": { + "line": 17, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 462, + 480 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "MAX", + "range": [ + 487, + 490 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + "init": { + "type": "Literal", + "value": "max", + "raw": "'max'", + "range": [ + 493, + 498 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + "range": [ + 487, + 498 + ], + "loc": { + "start": { + "line": 18, + "column": 6 + }, + "end": { + "line": 18, + "column": 17 + } + } + } + ], + "kind": "const", + "range": [ + 481, + 499 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "MEDIAN", + "range": [ + 506, + 512 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + "init": { + "type": "Literal", + "value": "median", + "raw": "'median'", + "range": [ + 515, + 523 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + "range": [ + 506, + 523 + ], + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 23 + } + } + } + ], + "kind": "const", + "range": [ + 500, + 524 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "Q1", + "range": [ + 531, + 533 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + "init": { + "type": "Literal", + "value": "q1", + "raw": "'q1'", + "range": [ + 536, + 540 + ], + "loc": { + "start": { + "line": 20, + "column": 11 + }, + "end": { + "line": 20, + "column": 15 + } + } + }, + "range": [ + 531, + 540 + ], + "loc": { + "start": { + "line": 20, + "column": 6 + }, + "end": { + "line": 20, + "column": 15 + } + } + } + ], + "kind": "const", + "range": [ + 525, + 541 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "Q3", + "range": [ + 548, + 550 + ], + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 8 + } + } + }, + "init": { + "type": "Literal", + "value": "q3", + "raw": "'q3'", + "range": [ + 553, + 557 + ], + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + "range": [ + 548, + 557 + ], + "loc": { + "start": { + "line": 21, + "column": 6 + }, + "end": { + "line": 21, + "column": 15 + } + } + } + ], + "kind": "const", + "range": [ + 542, + 558 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 16 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Column calculations extension\n ", + "range": [ + 560, + 600 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "ColOps", + "range": [ + 622, + 628 + ], + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 637, + 644 + ], + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 43 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 813, + 824 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 825, + 827 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "opts", + "range": [ + 829, + 833 + ], + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 845, + 850 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 851, + 853 + ], + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 855, + 859 + ], + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 860, + 864 + ], + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "range": [ + 855, + 864 + ], + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 27 + } + } + } + ], + "range": [ + 845, + 865 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + "range": [ + 845, + 866 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 29 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before columns operations start\n * @type {Function}\n ", + "range": [ + 876, + 977 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 986, + 990 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOperation", + "range": [ + 991, + 1008 + ], + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 30 + } + } + }, + "range": [ + 986, + 1008 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1011, + 1021 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1022, + 1026 + ], + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 41, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_operation", + "range": [ + 1027, + 1046 + ], + "loc": { + "start": { + "line": 41, + "column": 49 + }, + "end": { + "line": 41, + "column": 68 + } + } + }, + "range": [ + 1022, + 1046 + ], + "loc": { + "start": { + "line": 41, + "column": 44 + }, + "end": { + "line": 41, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1048, + 1056 + ], + "loc": { + "start": { + "line": 41, + "column": 70 + }, + "end": { + "line": 41, + "column": 78 + } + } + } + ], + "range": [ + 1011, + 1057 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 79 + } + } + }, + "range": [ + 986, + 1057 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 79 + } + } + }, + "range": [ + 986, + 1058 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before columns operations start\n * @type {Function}\n ", + "range": [ + 876, + 977 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after columns operations are completed\n * @type {Function}\n ", + "range": [ + 1068, + 1176 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1185, + 1189 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOperation", + "range": [ + 1190, + 1206 + ], + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 29 + } + } + }, + "range": [ + 1185, + 1206 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1209, + 1219 + ], + "loc": { + "start": { + "line": 47, + "column": 32 + }, + "end": { + "line": 47, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1220, + 1224 + ], + "loc": { + "start": { + "line": 47, + "column": 43 + }, + "end": { + "line": 47, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_operation", + "range": [ + 1225, + 1243 + ], + "loc": { + "start": { + "line": 47, + "column": 48 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + "range": [ + 1220, + 1243 + ], + "loc": { + "start": { + "line": 47, + "column": 43 + }, + "end": { + "line": 47, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1245, + 1253 + ], + "loc": { + "start": { + "line": 47, + "column": 68 + }, + "end": { + "line": 47, + "column": 76 + } + } + } + ], + "range": [ + 1209, + 1254 + ], + "loc": { + "start": { + "line": 47, + "column": 32 + }, + "end": { + "line": 47, + "column": 77 + } + } + }, + "range": [ + 1185, + 1254 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 77 + } + } + }, + "range": [ + 1185, + 1255 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after columns operations are completed\n * @type {Function}\n ", + "range": [ + 1068, + 1176 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Configuration options\n * @type {Object}\n ", + "range": [ + 1265, + 1339 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1348, + 1352 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 1353, + 1357 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + "range": [ + 1348, + 1357 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "opts", + "range": [ + 1360, + 1364 + ], + "loc": { + "start": { + "line": 53, + "column": 20 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "range": [ + 1348, + 1364 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 24 + } + } + }, + "range": [ + 1348, + 1365 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Configuration options\n * @type {Object}\n ", + "range": [ + 1265, + 1339 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of DOM element IDs containing column's calculation result\n * @type {Array}\n ", + "range": [ + 1375, + 1489 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1498, + 1502 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "labelIds", + "range": [ + 1503, + 1511 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 21 + } + } + }, + "range": [ + 1498, + 1511 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1514, + 1525 + ], + "loc": { + "start": { + "line": 59, + "column": 24 + }, + "end": { + "line": 59, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1526, + 1530 + ], + "loc": { + "start": { + "line": 59, + "column": 36 + }, + "end": { + "line": 59, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 1531, + 1533 + ], + "loc": { + "start": { + "line": 59, + "column": 41 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + "range": [ + 1526, + 1533 + ], + "loc": { + "start": { + "line": 59, + "column": 36 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1535, + 1537 + ], + "loc": { + "start": { + "line": 59, + "column": 45 + }, + "end": { + "line": 59, + "column": 47 + } + } + } + ], + "range": [ + 1514, + 1538 + ], + "loc": { + "start": { + "line": 59, + "column": 24 + }, + "end": { + "line": 59, + "column": 48 + } + } + }, + "range": [ + 1498, + 1538 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 48 + } + } + }, + "range": [ + 1498, + 1539 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of DOM element IDs containing column's calculation result\n * @type {Array}\n ", + "range": [ + 1375, + 1489 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of columns' indexes for calculations\n * @type {Array}\n ", + "range": [ + 1549, + 1642 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1651, + 1655 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 1656, + 1666 + ], + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + "range": [ + 1651, + 1666 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1669, + 1680 + ], + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1681, + 1685 + ], + "loc": { + "start": { + "line": 65, + "column": 38 + }, + "end": { + "line": 65, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "col", + "range": [ + 1686, + 1689 + ], + "loc": { + "start": { + "line": 65, + "column": 43 + }, + "end": { + "line": 65, + "column": 46 + } + } + }, + "range": [ + 1681, + 1689 + ], + "loc": { + "start": { + "line": 65, + "column": 38 + }, + "end": { + "line": 65, + "column": 46 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1691, + 1693 + ], + "loc": { + "start": { + "line": 65, + "column": 48 + }, + "end": { + "line": 65, + "column": 50 + } + } + } + ], + "range": [ + 1669, + 1694 + ], + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + "range": [ + 1651, + 1694 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 51 + } + } + }, + "range": [ + 1651, + 1695 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of columns' indexes for calculations\n * @type {Array}\n ", + "range": [ + 1549, + 1642 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of operations - possible values: 'sum', 'mean', 'min', 'max',\n * 'median', 'q1', 'q3'\n * @type {Array}\n ", + "range": [ + 1705, + 1855 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 71, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1864, + 1868 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "operations", + "range": [ + 1869, + 1879 + ], + "loc": { + "start": { + "line": 72, + "column": 13 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + "range": [ + 1864, + 1879 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1882, + 1893 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1894, + 1898 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "operation", + "range": [ + 1899, + 1908 + ], + "loc": { + "start": { + "line": 72, + "column": 43 + }, + "end": { + "line": 72, + "column": 52 + } + } + }, + "range": [ + 1894, + 1908 + ], + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 52 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1910, + 1912 + ], + "loc": { + "start": { + "line": 72, + "column": 54 + }, + "end": { + "line": 72, + "column": 56 + } + } + } + ], + "range": [ + 1882, + 1913 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 57 + } + } + }, + "range": [ + 1864, + 1913 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 57 + } + } + }, + "range": [ + 1864, + 1914 + ], + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of operations - possible values: 'sum', 'mean', 'min', 'max',\n * 'median', 'q1', 'q3'\n * @type {Array}\n ", + "range": [ + 1705, + 1855 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 71, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of write methods used to write the result - possible values:\n * 'innerHTML', 'setValue', 'createTextNode'\n * @type {Array}\n ", + "range": [ + 1924, + 2094 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2103, + 2107 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "outputTypes", + "range": [ + 2108, + 2119 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + "range": [ + 2103, + 2119 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2122, + 2133 + ], + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 79, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2134, + 2138 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "write_method", + "range": [ + 2139, + 2151 + ], + "loc": { + "start": { + "line": 79, + "column": 44 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + "range": [ + 2134, + 2151 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2153, + 2155 + ], + "loc": { + "start": { + "line": 79, + "column": 58 + }, + "end": { + "line": 79, + "column": 60 + } + } + } + ], + "range": [ + 2122, + 2156 + ], + "loc": { + "start": { + "line": 79, + "column": 27 + }, + "end": { + "line": 79, + "column": 61 + } + } + }, + "range": [ + 2103, + 2156 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 61 + } + } + }, + "range": [ + 2103, + 2157 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of write methods used to write the result - possible values:\n * 'innerHTML', 'setValue', 'createTextNode'\n * @type {Array}\n ", + "range": [ + 1924, + 2094 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of format objects used for formatting the result -\n * refer to https://github.com/componitable/format-number to check\n * configuration options\n * @type {Array}\n ", + "range": [ + 2167, + 2382 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2391, + 2395 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "formatResults", + "range": [ + 2396, + 2409 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + "range": [ + 2391, + 2409 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2412, + 2423 + ], + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2424, + 2428 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "format_result", + "range": [ + 2429, + 2442 + ], + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 59 + } + } + }, + "range": [ + 2424, + 2442 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 59 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2444, + 2446 + ], + "loc": { + "start": { + "line": 87, + "column": 61 + }, + "end": { + "line": 87, + "column": 63 + } + } + } + ], + "range": [ + 2412, + 2447 + ], + "loc": { + "start": { + "line": 87, + "column": 29 + }, + "end": { + "line": 87, + "column": 64 + } + } + }, + "range": [ + 2391, + 2447 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 64 + } + } + }, + "range": [ + 2391, + 2448 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of format objects used for formatting the result -\n * refer to https://github.com/componitable/format-number to check\n * configuration options\n * @type {Array}\n ", + "range": [ + 2167, + 2382 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes displaying the results\n * @type {Array}\n ", + "range": [ + 2458, + 2552 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2561, + 2565 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 2566, + 2579 + ], + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 26 + } + } + }, + "range": [ + 2561, + 2579 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2582, + 2593 + ], + "loc": { + "start": { + "line": 93, + "column": 29 + }, + "end": { + "line": 93, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2594, + 2598 + ], + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "tot_row_index", + "range": [ + 2599, + 2612 + ], + "loc": { + "start": { + "line": 93, + "column": 46 + }, + "end": { + "line": 93, + "column": 59 + } + } + }, + "range": [ + 2594, + 2612 + ], + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 59 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2614, + 2616 + ], + "loc": { + "start": { + "line": 93, + "column": 61 + }, + "end": { + "line": 93, + "column": 63 + } + } + } + ], + "range": [ + 2582, + 2617 + ], + "loc": { + "start": { + "line": 93, + "column": 29 + }, + "end": { + "line": 93, + "column": 64 + } + } + }, + "range": [ + 2561, + 2617 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 64 + } + } + }, + "range": [ + 2561, + 2618 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes displaying the results\n * @type {Array}\n ", + "range": [ + 2458, + 2552 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes excluded from calculations\n * @type {Array}\n ", + "range": [ + 2628, + 2726 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2735, + 2739 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 2740, + 2751 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "range": [ + 2735, + 2751 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2754, + 2765 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2766, + 2770 + ], + "loc": { + "start": { + "line": 99, + "column": 39 + }, + "end": { + "line": 99, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "exclude_row", + "range": [ + 2771, + 2782 + ], + "loc": { + "start": { + "line": 99, + "column": 44 + }, + "end": { + "line": 99, + "column": 55 + } + } + }, + "range": [ + 2766, + 2782 + ], + "loc": { + "start": { + "line": 99, + "column": 39 + }, + "end": { + "line": 99, + "column": 55 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2784, + 2786 + ], + "loc": { + "start": { + "line": 99, + "column": 57 + }, + "end": { + "line": 99, + "column": 59 + } + } + } + ], + "range": [ + 2754, + 2787 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 60 + } + } + }, + "range": [ + 2735, + 2787 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 60 + } + } + }, + "range": [ + 2735, + 2788 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes excluded from calculations\n * @type {Array}\n ", + "range": [ + 2628, + 2726 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of decimal precision for calculation results\n * @type {Array}\n ", + "range": [ + 2798, + 2899 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2908, + 2912 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimalPrecisions", + "range": [ + 2913, + 2930 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + "range": [ + 2908, + 2930 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2933, + 2944 + ], + "loc": { + "start": { + "line": 105, + "column": 33 + }, + "end": { + "line": 105, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2945, + 2949 + ], + "loc": { + "start": { + "line": 105, + "column": 45 + }, + "end": { + "line": 105, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal_precision", + "range": [ + 2950, + 2967 + ], + "loc": { + "start": { + "line": 105, + "column": 50 + }, + "end": { + "line": 105, + "column": 67 + } + } + }, + "range": [ + 2945, + 2967 + ], + "loc": { + "start": { + "line": 105, + "column": 45 + }, + "end": { + "line": 105, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 2969, + 2970 + ], + "loc": { + "start": { + "line": 105, + "column": 69 + }, + "end": { + "line": 105, + "column": 70 + } + } + } + ], + "range": [ + 2933, + 2971 + ], + "loc": { + "start": { + "line": 105, + "column": 33 + }, + "end": { + "line": 105, + "column": 71 + } + } + }, + "range": [ + 2908, + 2971 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 71 + } + } + }, + "range": [ + 2908, + 2972 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of decimal precision for calculation results\n * @type {Array}\n ", + "range": [ + 2798, + 2899 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2982, + 2986 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 2987, + 2993 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + "range": [ + 2982, + 2993 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 2982, + 2995 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + "range": [ + 2982, + 2996 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 22 + } + } + } + ], + "range": [ + 835, + 3002 + ], + "loc": { + "start": { + "line": 34, + "column": 26 + }, + "end": { + "line": 108, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 824, + 3002 + ], + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 108, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 813, + 3002 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 108, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of ColOps\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n ", + "range": [ + 652, + 808 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColOps instance\n ", + "range": [ + 3008, + 3054 + ], + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 112, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 3059, + 3063 + ], + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 113, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3080, + 3084 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3085, + 3096 + ], + "loc": { + "start": { + "line": 114, + "column": 17 + }, + "end": { + "line": 114, + "column": 28 + } + } + }, + "range": [ + 3080, + 3096 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3112, + 3119 + ], + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 19 + } + } + } + ], + "range": [ + 3098, + 3129 + ], + "loc": { + "start": { + "line": 114, + "column": 30 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3076, + 3129 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 116, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3138, + 3160 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3169, + 3173 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3174, + 3181 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "range": [ + 3169, + 3181 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3182, + 3184 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + "range": [ + 3169, + 3184 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 3185, + 3191 + ], + "loc": { + "start": { + "line": 118, + "column": 24 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3199, + 3203 + ], + "loc": { + "start": { + "line": 118, + "column": 38 + }, + "end": { + "line": 118, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcAll", + "range": [ + 3204, + 3211 + ], + "loc": { + "start": { + "line": 118, + "column": 43 + }, + "end": { + "line": 118, + "column": 50 + } + } + }, + "range": [ + 3199, + 3211 + ], + "loc": { + "start": { + "line": 118, + "column": 38 + }, + "end": { + "line": 118, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 3199, + 3213 + ], + "loc": { + "start": { + "line": 118, + "column": 38 + }, + "end": { + "line": 118, + "column": 52 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3193, + 3213 + ], + "loc": { + "start": { + "line": 118, + "column": 32 + }, + "end": { + "line": 118, + "column": 52 + } + } + } + ], + "range": [ + 3169, + 3214 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 53 + } + } + }, + "range": [ + 3169, + 3215 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3138, + 3160 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3225, + 3229 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcAll", + "range": [ + 3230, + 3237 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + "range": [ + 3225, + 3237 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 3225, + 3239 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + "range": [ + 3225, + 3240 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 23 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3250, + 3267 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3276, + 3280 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3281, + 3292 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 24 + } + } + }, + "range": [ + 3276, + 3292 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3295, + 3299 + ], + "loc": { + "start": { + "line": 123, + "column": 27 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + "range": [ + 3276, + 3299 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + "range": [ + 3276, + 3300 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3250, + 3267 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 3066, + 3306 + ], + "loc": { + "start": { + "line": 113, + "column": 11 + }, + "end": { + "line": 124, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3063, + 3306 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 124, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3059, + 3306 + ], + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 124, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColOps instance\n ", + "range": [ + 3008, + 3054 + ], + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 112, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculates columns' values\n * Configuration options are stored in 'opts' property\n * - 'id' contains ids of elements showing result (array)\n * - 'col' contains the columns' indexes (array)\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\n * 'min', 'max', 'median', 'q1', 'q3')\n * - 'write_method' array defines which method to use for displaying the\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\n * - 'tot_row_index' defines in which row results are displayed\n * (integers array)\n *\n * - changes made by Nuovella:\n * (1) optimized the routine (now it will only process each column once),\n * (2) added calculations for the median, lower and upper quartile.\n ", + "range": [ + 3312, + 4093 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcAll", + "range": [ + 4098, + 4105 + ], + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4122, + 4124 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4127, + 4131 + ], + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4132, + 4134 + ], + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + "range": [ + 4127, + 4134 + ], + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + "range": [ + 4122, + 4134 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4118, + 4135 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4149, + 4151 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "isInitialized", + "range": [ + 4152, + 4165 + ], + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "range": [ + 4149, + 4165 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 4149, + 4167 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 4148, + 4167 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4183, + 4190 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 19 + } + } + } + ], + "range": [ + 4169, + 4200 + ], + "loc": { + "start": { + "line": 144, + "column": 33 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4144, + 4200 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4210, + 4214 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOperation", + "range": [ + 4215, + 4232 + ], + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 30 + } + } + }, + "range": [ + 4210, + 4232 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4233, + 4235 + ], + "loc": { + "start": { + "line": 148, + "column": 31 + }, + "end": { + "line": 148, + "column": 33 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 4237, + 4241 + ], + "loc": { + "start": { + "line": 148, + "column": 35 + }, + "end": { + "line": 148, + "column": 39 + } + } + } + ], + "range": [ + 4210, + 4242 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 40 + } + } + }, + "range": [ + 4210, + 4243 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4252, + 4256 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4257, + 4264 + ], + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 20 + } + } + }, + "range": [ + 4252, + 4264 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 4265, + 4269 + ], + "loc": { + "start": { + "line": 149, + "column": 21 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + "range": [ + 4252, + 4269 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-column-operation", + "raw": "'before-column-operation'", + "range": [ + 4270, + 4295 + ], + "loc": { + "start": { + "line": 149, + "column": 26 + }, + "end": { + "line": 149, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 4297, + 4299 + ], + "loc": { + "start": { + "line": 149, + "column": 53 + }, + "end": { + "line": 149, + "column": 55 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 4301, + 4305 + ], + "loc": { + "start": { + "line": 149, + "column": 57 + }, + "end": { + "line": 149, + "column": 61 + } + } + } + ], + "range": [ + 4252, + 4306 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 62 + } + } + }, + "range": [ + 4252, + 4307 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 63 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 4323, + 4333 + ], + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 24 + } + } + }, + "value": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 4323, + 4333 + ], + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 24 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4323, + 4333 + ], + "loc": { + "start": { + "line": 151, + "column": 14 + }, + "end": { + "line": 151, + "column": 24 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "operations", + "range": [ + 4335, + 4345 + ], + "loc": { + "start": { + "line": 151, + "column": 26 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + "value": { + "type": "Identifier", + "name": "colOperations", + "range": [ + 4347, + 4360 + ], + "loc": { + "start": { + "line": 151, + "column": 38 + }, + "end": { + "line": 151, + "column": 51 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 4335, + 4360 + ], + "loc": { + "start": { + "line": 151, + "column": 26 + }, + "end": { + "line": 151, + "column": 51 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "outputTypes", + "range": [ + 4362, + 4373 + ], + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 64 + } + } + }, + "value": { + "type": "Identifier", + "name": "outputTypes", + "range": [ + 4362, + 4373 + ], + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 64 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4362, + 4373 + ], + "loc": { + "start": { + "line": 151, + "column": 53 + }, + "end": { + "line": 151, + "column": 64 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 4387, + 4400 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + "value": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 4387, + 4400 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4387, + 4400 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 4402, + 4413 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + "value": { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 4402, + 4413 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4402, + 4413 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 38 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "formatResults", + "range": [ + 4415, + 4428 + ], + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 53 + } + } + }, + "value": { + "type": "Identifier", + "name": "formatResults", + "range": [ + 4415, + 4428 + ], + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 53 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4415, + 4428 + ], + "loc": { + "start": { + "line": 152, + "column": 40 + }, + "end": { + "line": 152, + "column": 53 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "decimalPrecisions", + "range": [ + 4442, + 4459 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 29 + } + } + }, + "value": { + "type": "Identifier", + "name": "decimalPrecisions", + "range": [ + 4442, + 4459 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 29 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 4442, + 4459 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 29 + } + } + } + ], + "range": [ + 4321, + 4461 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 153, + "column": 31 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 4464, + 4468 + ], + "loc": { + "start": { + "line": 153, + "column": 34 + }, + "end": { + "line": 153, + "column": 38 + } + } + }, + "range": [ + 4321, + 4468 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 153, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 4317, + 4469 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 153, + "column": 39 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "nuovella: determine unique list of columns to operate on", + "range": [ + 4479, + 4537 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 66 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 4550, + 4558 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 20 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 4561, + 4563 + ], + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "range": [ + 4550, + 4563 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 4546, + 4564 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "nuovella: determine unique list of columns to operate on", + "range": [ + 4479, + 4537 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 66 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 4573, + 4583 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 4584, + 4591 + ], + "loc": { + "start": { + "line": 157, + "column": 19 + }, + "end": { + "line": 157, + "column": 26 + } + } + }, + "range": [ + 4573, + 4591 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 4593, + 4596 + ], + "loc": { + "start": { + "line": 157, + "column": 28 + }, + "end": { + "line": 157, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 4619, + 4627 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 4628, + 4635 + ], + "loc": { + "start": { + "line": 158, + "column": 25 + }, + "end": { + "line": 158, + "column": 32 + } + } + }, + "range": [ + 4619, + 4635 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 4636, + 4639 + ], + "loc": { + "start": { + "line": 158, + "column": 33 + }, + "end": { + "line": 158, + "column": 36 + } + } + } + ], + "range": [ + 4619, + 4640 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 37 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4646, + 4647 + ], + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + "prefix": true, + "range": [ + 4645, + 4647 + ], + "loc": { + "start": { + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + "range": [ + 4619, + 4647 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 4667, + 4675 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 4676, + 4680 + ], + "loc": { + "start": { + "line": 159, + "column": 25 + }, + "end": { + "line": 159, + "column": 29 + } + } + }, + "range": [ + 4667, + 4680 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 4681, + 4684 + ], + "loc": { + "start": { + "line": 159, + "column": 30 + }, + "end": { + "line": 159, + "column": 33 + } + } + } + ], + "range": [ + 4667, + 4685 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 34 + } + } + }, + "range": [ + 4667, + 4686 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 35 + } + } + } + ], + "range": [ + 4649, + 4700 + ], + "loc": { + "start": { + "line": 158, + "column": 46 + }, + "end": { + "line": 160, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 4615, + 4700 + ], + "loc": { + "start": { + "line": 158, + "column": 12 + }, + "end": { + "line": 160, + "column": 13 + } + } + } + ], + "range": [ + 4601, + 4710 + ], + "loc": { + "start": { + "line": 157, + "column": 36 + }, + "end": { + "line": 161, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4592, + 4710 + ], + "loc": { + "start": { + "line": 157, + "column": 27 + }, + "end": { + "line": 161, + "column": 9 + } + } + } + ], + "range": [ + 4573, + 4711 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 161, + "column": 10 + } + } + }, + "range": [ + 4573, + 4712 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbCols", + "range": [ + 4726, + 4732 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 4735, + 4743 + ], + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 4744, + 4750 + ], + "loc": { + "start": { + "line": 163, + "column": 30 + }, + "end": { + "line": 163, + "column": 36 + } + } + }, + "range": [ + 4735, + 4750 + ], + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 36 + } + } + }, + "range": [ + 4726, + 4750 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 36 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 4764, + 4768 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4771, + 4773 + ], + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4774, + 4777 + ], + "loc": { + "start": { + "line": 164, + "column": 22 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "range": [ + 4771, + 4777 + ], + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 4771, + 4779 + ], + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 4780, + 4784 + ], + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 32 + } + } + }, + "range": [ + 4771, + 4784 + ], + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 32 + } + } + }, + "range": [ + 4764, + 4784 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 32 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colValues", + "range": [ + 4798, + 4807 + ], + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 21 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 4810, + 4812 + ], + "loc": { + "start": { + "line": 165, + "column": 24 + }, + "end": { + "line": 165, + "column": 26 + } + } + }, + "range": [ + 4798, + 4812 + ], + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 4722, + 4813 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 165, + "column": 27 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "u", + "range": [ + 4832, + 4833 + ], + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4836, + 4837 + ], + "loc": { + "start": { + "line": 167, + "column": 21 + }, + "end": { + "line": 167, + "column": 22 + } + } + }, + "range": [ + 4832, + 4837 + ], + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 4828, + 4837 + ], + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "u", + "range": [ + 4839, + 4840 + ], + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbCols", + "range": [ + 4843, + 4849 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 34 + } + } + }, + "range": [ + 4839, + 4849 + ], + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 34 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "u", + "range": [ + 4851, + 4852 + ], + "loc": { + "start": { + "line": 167, + "column": 36 + }, + "end": { + "line": 167, + "column": 37 + } + } + }, + "prefix": false, + "range": [ + 4851, + 4854 + ], + "loc": { + "start": { + "line": 167, + "column": 36 + }, + "end": { + "line": 167, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colValues", + "range": [ + 5056, + 5065 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 5066, + 5070 + ], + "loc": { + "start": { + "line": 171, + "column": 22 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "range": [ + 5056, + 5070 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5088, + 5090 + ], + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getVisibleColumnData", + "range": [ + 5091, + 5111 + ], + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 39 + } + } + }, + "range": [ + 5088, + 5111 + ], + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 5112, + 5120 + ], + "loc": { + "start": { + "line": 172, + "column": 40 + }, + "end": { + "line": 172, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 5121, + 5122 + ], + "loc": { + "start": { + "line": 172, + "column": 49 + }, + "end": { + "line": 172, + "column": 50 + } + } + }, + "range": [ + 5112, + 5123 + ], + "loc": { + "start": { + "line": 172, + "column": 40 + }, + "end": { + "line": 172, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 5125, + 5130 + ], + "loc": { + "start": { + "line": 172, + "column": 53 + }, + "end": { + "line": 172, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 5132, + 5143 + ], + "loc": { + "start": { + "line": 172, + "column": 60 + }, + "end": { + "line": 172, + "column": 71 + } + } + } + ], + "range": [ + 5088, + 5144 + ], + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 72 + } + } + } + ], + "range": [ + 5056, + 5158 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 173, + "column": 13 + } + } + }, + "range": [ + 5056, + 5159 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 173, + "column": 14 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "this retrieves col values", + "range": [ + 4870, + 4897 + ], + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "use uIndexes because we only want to pass through this loop", + "range": [ + 4910, + 4971 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "once for each column get the values in this unique column", + "range": [ + 4984, + 5043 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 71 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "curValues", + "range": [ + 5177, + 5186 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 25 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "colValues", + "range": [ + 5189, + 5198 + ], + "loc": { + "start": { + "line": 175, + "column": 28 + }, + "end": { + "line": 175, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 5199, + 5200 + ], + "loc": { + "start": { + "line": 175, + "column": 38 + }, + "end": { + "line": 175, + "column": 39 + } + } + }, + "range": [ + 5189, + 5201 + ], + "loc": { + "start": { + "line": 175, + "column": 28 + }, + "end": { + "line": 175, + "column": 40 + } + } + }, + "range": [ + 5177, + 5201 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 5173, + 5202 + ], + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 41 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "next: calculate all operations for this column", + "range": [ + 5216, + 5264 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 60 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "result", + "range": [ + 5281, + 5287 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5290, + 5291 + ], + "loc": { + "start": { + "line": 178, + "column": 25 + }, + "end": { + "line": 178, + "column": 26 + } + } + }, + "range": [ + 5281, + 5291 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "operations", + "range": [ + 5309, + 5319 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 26 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5322, + 5324 + ], + "loc": { + "start": { + "line": 179, + "column": 29 + }, + "end": { + "line": 179, + "column": 31 + } + } + }, + "range": [ + 5309, + 5324 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 31 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "precisions", + "range": [ + 5342, + 5352 + ], + "loc": { + "start": { + "line": 180, + "column": 16 + }, + "end": { + "line": 180, + "column": 26 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5355, + 5357 + ], + "loc": { + "start": { + "line": 180, + "column": 29 + }, + "end": { + "line": 180, + "column": 31 + } + } + }, + "range": [ + 5342, + 5357 + ], + "loc": { + "start": { + "line": 180, + "column": 16 + }, + "end": { + "line": 180, + "column": 31 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "labels", + "range": [ + 5375, + 5381 + ], + "loc": { + "start": { + "line": 181, + "column": 16 + }, + "end": { + "line": 181, + "column": 22 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5384, + 5386 + ], + "loc": { + "start": { + "line": 181, + "column": 25 + }, + "end": { + "line": 181, + "column": 27 + } + } + }, + "range": [ + 5375, + 5386 + ], + "loc": { + "start": { + "line": 181, + "column": 16 + }, + "end": { + "line": 181, + "column": 27 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "writeType", + "range": [ + 5404, + 5413 + ], + "loc": { + "start": { + "line": 182, + "column": 16 + }, + "end": { + "line": 182, + "column": 25 + } + } + }, + "init": null, + "range": [ + 5404, + 5413 + ], + "loc": { + "start": { + "line": 182, + "column": 16 + }, + "end": { + "line": 182, + "column": 25 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "formatResult", + "range": [ + 5431, + 5443 + ], + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 28 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5446, + 5448 + ], + "loc": { + "start": { + "line": 183, + "column": 31 + }, + "end": { + "line": 183, + "column": 33 + } + } + }, + "range": [ + 5431, + 5448 + ], + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 33 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 5466, + 5469 + ], + "loc": { + "start": { + "line": 184, + "column": 16 + }, + "end": { + "line": 184, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5472, + 5473 + ], + "loc": { + "start": { + "line": 184, + "column": 22 + }, + "end": { + "line": 184, + "column": 23 + } + } + }, + "range": [ + 5466, + 5473 + ], + "loc": { + "start": { + "line": 184, + "column": 16 + }, + "end": { + "line": 184, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 5277, + 5474 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 184, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "next: calculate all operations for this column", + "range": [ + 5216, + 5264 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 60 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 5497, + 5498 + ], + "loc": { + "start": { + "line": 186, + "column": 21 + }, + "end": { + "line": 186, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5501, + 5502 + ], + "loc": { + "start": { + "line": 186, + "column": 25 + }, + "end": { + "line": 186, + "column": 26 + } + } + }, + "range": [ + 5497, + 5502 + ], + "loc": { + "start": { + "line": 186, + "column": 21 + }, + "end": { + "line": 186, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 5493, + 5502 + ], + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 5504, + 5505 + ], + "loc": { + "start": { + "line": 186, + "column": 28 + }, + "end": { + "line": 186, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 5508, + 5518 + ], + "loc": { + "start": { + "line": 186, + "column": 32 + }, + "end": { + "line": 186, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 5519, + 5525 + ], + "loc": { + "start": { + "line": 186, + "column": 43 + }, + "end": { + "line": 186, + "column": 49 + } + } + }, + "range": [ + 5508, + 5525 + ], + "loc": { + "start": { + "line": 186, + "column": 32 + }, + "end": { + "line": 186, + "column": 49 + } + } + }, + "range": [ + 5504, + 5525 + ], + "loc": { + "start": { + "line": 186, + "column": 28 + }, + "end": { + "line": 186, + "column": 49 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 5527, + 5528 + ], + "loc": { + "start": { + "line": 186, + "column": 51 + }, + "end": { + "line": 186, + "column": 52 + } + } + }, + "prefix": false, + "range": [ + 5527, + 5530 + ], + "loc": { + "start": { + "line": 186, + "column": 51 + }, + "end": { + "line": 186, + "column": 54 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 5554, + 5564 + ], + "loc": { + "start": { + "line": 187, + "column": 20 + }, + "end": { + "line": 187, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5565, + 5566 + ], + "loc": { + "start": { + "line": 187, + "column": 31 + }, + "end": { + "line": 187, + "column": 32 + } + } + }, + "range": [ + 5554, + 5567 + ], + "loc": { + "start": { + "line": 187, + "column": 20 + }, + "end": { + "line": 187, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 5572, + 5580 + ], + "loc": { + "start": { + "line": 187, + "column": 38 + }, + "end": { + "line": 187, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 5581, + 5582 + ], + "loc": { + "start": { + "line": 187, + "column": 47 + }, + "end": { + "line": 187, + "column": 48 + } + } + }, + "range": [ + 5572, + 5583 + ], + "loc": { + "start": { + "line": 187, + "column": 38 + }, + "end": { + "line": 187, + "column": 49 + } + } + }, + "range": [ + 5554, + 5583 + ], + "loc": { + "start": { + "line": 187, + "column": 20 + }, + "end": { + "line": 187, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 5607, + 5616 + ], + "loc": { + "start": { + "line": 188, + "column": 20 + }, + "end": { + "line": 188, + "column": 29 + } + } + } + ], + "range": [ + 5585, + 5634 + ], + "loc": { + "start": { + "line": 187, + "column": 51 + }, + "end": { + "line": 189, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 5550, + 5634 + ], + "loc": { + "start": { + "line": 187, + "column": 16 + }, + "end": { + "line": 189, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "operations", + "range": [ + 5651, + 5661 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 5662, + 5665 + ], + "loc": { + "start": { + "line": 190, + "column": 27 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + "range": [ + 5651, + 5666 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "colOperations", + "range": [ + 5670, + 5683 + ], + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5684, + 5685 + ], + "loc": { + "start": { + "line": 190, + "column": 49 + }, + "end": { + "line": 190, + "column": 50 + } + } + }, + "range": [ + 5670, + 5686 + ], + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": "sum", + "raw": "'sum'", + "range": [ + 5690, + 5695 + ], + "loc": { + "start": { + "line": 190, + "column": 55 + }, + "end": { + "line": 190, + "column": 60 + } + } + }, + "range": [ + 5670, + 5695 + ], + "loc": { + "start": { + "line": 190, + "column": 35 + }, + "end": { + "line": 190, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 5697, + 5708 + ], + "loc": { + "start": { + "line": 190, + "column": 62 + }, + "end": { + "line": 190, + "column": 73 + } + } + }, + "range": [ + 5669, + 5708 + ], + "loc": { + "start": { + "line": 190, + "column": 34 + }, + "end": { + "line": 190, + "column": 73 + } + } + }, + "arguments": [], + "range": [ + 5669, + 5710 + ], + "loc": { + "start": { + "line": 190, + "column": 34 + }, + "end": { + "line": 190, + "column": 75 + } + } + }, + "range": [ + 5651, + 5710 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 75 + } + } + }, + "range": [ + 5651, + 5711 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "precisions", + "range": [ + 5728, + 5738 + ], + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 5739, + 5742 + ], + "loc": { + "start": { + "line": 191, + "column": 27 + }, + "end": { + "line": 191, + "column": 30 + } + } + }, + "range": [ + 5728, + 5743 + ], + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "decimalPrecisions", + "range": [ + 5746, + 5763 + ], + "loc": { + "start": { + "line": 191, + "column": 34 + }, + "end": { + "line": 191, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5764, + 5765 + ], + "loc": { + "start": { + "line": 191, + "column": 52 + }, + "end": { + "line": 191, + "column": 53 + } + } + }, + "range": [ + 5746, + 5766 + ], + "loc": { + "start": { + "line": 191, + "column": 34 + }, + "end": { + "line": 191, + "column": 54 + } + } + }, + "range": [ + 5728, + 5766 + ], + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 54 + } + } + }, + "range": [ + 5728, + 5767 + ], + "loc": { + "start": { + "line": 191, + "column": 16 + }, + "end": { + "line": 191, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "labels", + "range": [ + 5784, + 5790 + ], + "loc": { + "start": { + "line": 192, + "column": 16 + }, + "end": { + "line": 192, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 5791, + 5794 + ], + "loc": { + "start": { + "line": 192, + "column": 23 + }, + "end": { + "line": 192, + "column": 26 + } + } + }, + "range": [ + 5784, + 5795 + ], + "loc": { + "start": { + "line": 192, + "column": 16 + }, + "end": { + "line": 192, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5798, + 5802 + ], + "loc": { + "start": { + "line": 192, + "column": 30 + }, + "end": { + "line": 192, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "labelIds", + "range": [ + 5803, + 5811 + ], + "loc": { + "start": { + "line": 192, + "column": 35 + }, + "end": { + "line": 192, + "column": 43 + } + } + }, + "range": [ + 5798, + 5811 + ], + "loc": { + "start": { + "line": 192, + "column": 30 + }, + "end": { + "line": 192, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5812, + 5813 + ], + "loc": { + "start": { + "line": 192, + "column": 44 + }, + "end": { + "line": 192, + "column": 45 + } + } + }, + "range": [ + 5798, + 5814 + ], + "loc": { + "start": { + "line": 192, + "column": 30 + }, + "end": { + "line": 192, + "column": 46 + } + } + }, + "range": [ + 5784, + 5814 + ], + "loc": { + "start": { + "line": 192, + "column": 16 + }, + "end": { + "line": 192, + "column": 46 + } + } + }, + "range": [ + 5784, + 5815 + ], + "loc": { + "start": { + "line": 192, + "column": 16 + }, + "end": { + "line": 192, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "writeType", + "range": [ + 5832, + 5841 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 5844, + 5851 + ], + "loc": { + "start": { + "line": 193, + "column": 28 + }, + "end": { + "line": 193, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "outputTypes", + "range": [ + 5852, + 5863 + ], + "loc": { + "start": { + "line": 193, + "column": 36 + }, + "end": { + "line": 193, + "column": 47 + } + } + } + ], + "range": [ + 5844, + 5864 + ], + "loc": { + "start": { + "line": 193, + "column": 28 + }, + "end": { + "line": 193, + "column": 48 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "outputTypes", + "range": [ + 5867, + 5878 + ], + "loc": { + "start": { + "line": 193, + "column": 51 + }, + "end": { + "line": 193, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5879, + 5880 + ], + "loc": { + "start": { + "line": 193, + "column": 63 + }, + "end": { + "line": 193, + "column": 64 + } + } + }, + "range": [ + 5867, + 5881 + ], + "loc": { + "start": { + "line": 193, + "column": 51 + }, + "end": { + "line": 193, + "column": 65 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5884, + 5888 + ], + "loc": { + "start": { + "line": 193, + "column": 68 + }, + "end": { + "line": 193, + "column": 72 + } + } + }, + "range": [ + 5844, + 5888 + ], + "loc": { + "start": { + "line": 193, + "column": 28 + }, + "end": { + "line": 193, + "column": 72 + } + } + }, + "range": [ + 5832, + 5888 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 72 + } + } + }, + "range": [ + 5832, + 5889 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 73 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "formatResult", + "range": [ + 5906, + 5918 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 5919, + 5922 + ], + "loc": { + "start": { + "line": 194, + "column": 29 + }, + "end": { + "line": 194, + "column": 32 + } + } + }, + "range": [ + 5906, + 5923 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5946, + 5950 + ], + "loc": { + "start": { + "line": 195, + "column": 20 + }, + "end": { + "line": 195, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "configureFormat", + "range": [ + 5951, + 5966 + ], + "loc": { + "start": { + "line": 195, + "column": 25 + }, + "end": { + "line": 195, + "column": 40 + } + } + }, + "range": [ + 5946, + 5966 + ], + "loc": { + "start": { + "line": 195, + "column": 20 + }, + "end": { + "line": 195, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 5967, + 5975 + ], + "loc": { + "start": { + "line": 195, + "column": 41 + }, + "end": { + "line": 195, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 5976, + 5977 + ], + "loc": { + "start": { + "line": 195, + "column": 50 + }, + "end": { + "line": 195, + "column": 51 + } + } + }, + "range": [ + 5967, + 5978 + ], + "loc": { + "start": { + "line": 195, + "column": 41 + }, + "end": { + "line": 195, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "formatResults", + "range": [ + 5980, + 5993 + ], + "loc": { + "start": { + "line": 195, + "column": 54 + }, + "end": { + "line": 195, + "column": 67 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5994, + 5995 + ], + "loc": { + "start": { + "line": 195, + "column": 68 + }, + "end": { + "line": 195, + "column": 69 + } + } + }, + "range": [ + 5980, + 5996 + ], + "loc": { + "start": { + "line": 195, + "column": 54 + }, + "end": { + "line": 195, + "column": 70 + } + } + } + ], + "range": [ + 5946, + 5997 + ], + "loc": { + "start": { + "line": 195, + "column": 20 + }, + "end": { + "line": 195, + "column": 71 + } + } + }, + "range": [ + 5906, + 5997 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 195, + "column": 71 + } + } + }, + "range": [ + 5906, + 5998 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 195, + "column": 72 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "idx", + "range": [ + 6015, + 6018 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 19 + } + } + }, + "prefix": false, + "range": [ + 6015, + 6020 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 21 + } + } + }, + "range": [ + 6015, + 6021 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 22 + } + } + } + ], + "range": [ + 5532, + 6035 + ], + "loc": { + "start": { + "line": 186, + "column": 56 + }, + "end": { + "line": 197, + "column": 13 + } + } + }, + "range": [ + 5488, + 6035 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 197, + "column": 13 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 6058, + 6059 + ], + "loc": { + "start": { + "line": 199, + "column": 21 + }, + "end": { + "line": 199, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6062, + 6063 + ], + "loc": { + "start": { + "line": 199, + "column": 25 + }, + "end": { + "line": 199, + "column": 26 + } + } + }, + "range": [ + 6058, + 6063 + ], + "loc": { + "start": { + "line": 199, + "column": 21 + }, + "end": { + "line": 199, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 6054, + 6063 + ], + "loc": { + "start": { + "line": 199, + "column": 17 + }, + "end": { + "line": 199, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 6065, + 6066 + ], + "loc": { + "start": { + "line": 199, + "column": 28 + }, + "end": { + "line": 199, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "idx", + "range": [ + 6069, + 6072 + ], + "loc": { + "start": { + "line": 199, + "column": 32 + }, + "end": { + "line": 199, + "column": 35 + } + } + }, + "range": [ + 6065, + 6072 + ], + "loc": { + "start": { + "line": 199, + "column": 28 + }, + "end": { + "line": 199, + "column": 35 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 6074, + 6075 + ], + "loc": { + "start": { + "line": 199, + "column": 37 + }, + "end": { + "line": 199, + "column": 38 + } + } + }, + "prefix": false, + "range": [ + 6074, + 6077 + ], + "loc": { + "start": { + "line": 199, + "column": 37 + }, + "end": { + "line": 199, + "column": 40 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6154, + 6158 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6159, + 6166 + ], + "loc": { + "start": { + "line": 201, + "column": 21 + }, + "end": { + "line": 201, + "column": 28 + } + } + }, + "range": [ + 6154, + 6166 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 6167, + 6171 + ], + "loc": { + "start": { + "line": 201, + "column": 29 + }, + "end": { + "line": 201, + "column": 33 + } + } + }, + "range": [ + 6154, + 6171 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-column-calc", + "raw": "'before-column-calc'", + "range": [ + 6193, + 6213 + ], + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 202, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 6235, + 6237 + ], + "loc": { + "start": { + "line": 203, + "column": 20 + }, + "end": { + "line": 203, + "column": 22 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 6259, + 6263 + ], + "loc": { + "start": { + "line": 204, + "column": 20 + }, + "end": { + "line": 204, + "column": 24 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 6285, + 6293 + ], + "loc": { + "start": { + "line": 205, + "column": 20 + }, + "end": { + "line": 205, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 6294, + 6295 + ], + "loc": { + "start": { + "line": 205, + "column": 29 + }, + "end": { + "line": 205, + "column": 30 + } + } + }, + "range": [ + 6285, + 6296 + ], + "loc": { + "start": { + "line": 205, + "column": 20 + }, + "end": { + "line": 205, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "curValues", + "range": [ + 6318, + 6327 + ], + "loc": { + "start": { + "line": 206, + "column": 20 + }, + "end": { + "line": 206, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "operations", + "range": [ + 6349, + 6359 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6360, + 6361 + ], + "loc": { + "start": { + "line": 207, + "column": 31 + }, + "end": { + "line": 207, + "column": 32 + } + } + }, + "range": [ + 6349, + 6362 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "precisions", + "range": [ + 6384, + 6394 + ], + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6395, + 6396 + ], + "loc": { + "start": { + "line": 208, + "column": 31 + }, + "end": { + "line": 208, + "column": 32 + } + } + }, + "range": [ + 6384, + 6397 + ], + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 33 + } + } + } + ], + "range": [ + 6154, + 6415 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 209, + "column": 17 + } + } + }, + "range": [ + 6154, + 6416 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 209, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " emit values before column calculation", + "range": [ + 6097, + 6137 + ], + "loc": { + "start": { + "line": 200, + "column": 16 + }, + "end": { + "line": 200, + "column": 56 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 6434, + 6440 + ], + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 6443, + 6449 + ], + "loc": { + "start": { + "line": 211, + "column": 25 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6450, + 6454 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "calc", + "range": [ + 6455, + 6459 + ], + "loc": { + "start": { + "line": 211, + "column": 37 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + "range": [ + 6450, + 6459 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "curValues", + "range": [ + 6460, + 6469 + ], + "loc": { + "start": { + "line": 211, + "column": 42 + }, + "end": { + "line": 211, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "operations", + "range": [ + 6471, + 6481 + ], + "loc": { + "start": { + "line": 211, + "column": 53 + }, + "end": { + "line": 211, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6482, + 6483 + ], + "loc": { + "start": { + "line": 211, + "column": 64 + }, + "end": { + "line": 211, + "column": 65 + } + } + }, + "range": [ + 6471, + 6484 + ], + "loc": { + "start": { + "line": 211, + "column": 53 + }, + "end": { + "line": 211, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6486, + 6490 + ], + "loc": { + "start": { + "line": 211, + "column": 68 + }, + "end": { + "line": 211, + "column": 72 + } + } + } + ], + "range": [ + 6450, + 6491 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 73 + } + } + } + ], + "range": [ + 6443, + 6492 + ], + "loc": { + "start": { + "line": 211, + "column": 25 + }, + "end": { + "line": 211, + "column": 74 + } + } + }, + "range": [ + 6434, + 6492 + ], + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 74 + } + } + }, + "range": [ + 6434, + 6493 + ], + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 75 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " emit column calculation result", + "range": [ + 6511, + 6544 + ], + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 49 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6561, + 6565 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 214, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6566, + 6573 + ], + "loc": { + "start": { + "line": 214, + "column": 21 + }, + "end": { + "line": 214, + "column": 28 + } + } + }, + "range": [ + 6561, + 6573 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 214, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 6574, + 6578 + ], + "loc": { + "start": { + "line": 214, + "column": 29 + }, + "end": { + "line": 214, + "column": 33 + } + } + }, + "range": [ + 6561, + 6578 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 214, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "column-calc", + "raw": "'column-calc'", + "range": [ + 6600, + 6613 + ], + "loc": { + "start": { + "line": 215, + "column": 20 + }, + "end": { + "line": 215, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 6635, + 6637 + ], + "loc": { + "start": { + "line": 216, + "column": 20 + }, + "end": { + "line": 216, + "column": 22 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 6659, + 6663 + ], + "loc": { + "start": { + "line": 217, + "column": 20 + }, + "end": { + "line": 217, + "column": 24 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "uIndexes", + "range": [ + 6685, + 6693 + ], + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 6694, + 6695 + ], + "loc": { + "start": { + "line": 218, + "column": 29 + }, + "end": { + "line": 218, + "column": 30 + } + } + }, + "range": [ + 6685, + 6696 + ], + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "result", + "range": [ + 6718, + 6724 + ], + "loc": { + "start": { + "line": 219, + "column": 20 + }, + "end": { + "line": 219, + "column": 26 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "operations", + "range": [ + 6746, + 6756 + ], + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6757, + 6758 + ], + "loc": { + "start": { + "line": 220, + "column": 31 + }, + "end": { + "line": 220, + "column": 32 + } + } + }, + "range": [ + 6746, + 6759 + ], + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "precisions", + "range": [ + 6781, + 6791 + ], + "loc": { + "start": { + "line": 221, + "column": 20 + }, + "end": { + "line": 221, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6792, + 6793 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + "range": [ + 6781, + 6794 + ], + "loc": { + "start": { + "line": 221, + "column": 20 + }, + "end": { + "line": 221, + "column": 33 + } + } + } + ], + "range": [ + 6561, + 6812 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 222, + "column": 17 + } + } + }, + "range": [ + 6561, + 6813 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 222, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " emit column calculation result", + "range": [ + 6511, + 6544 + ], + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 49 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " write result in expected DOM element", + "range": [ + 6831, + 6870 + ], + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 55 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6887, + 6891 + ], + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "writeResult", + "range": [ + 6892, + 6903 + ], + "loc": { + "start": { + "line": 225, + "column": 21 + }, + "end": { + "line": 225, + "column": 32 + } + } + }, + "range": [ + 6887, + 6903 + ], + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 6925, + 6931 + ], + "loc": { + "start": { + "line": 226, + "column": 20 + }, + "end": { + "line": 226, + "column": 26 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "labels", + "range": [ + 6953, + 6959 + ], + "loc": { + "start": { + "line": 227, + "column": 20 + }, + "end": { + "line": 227, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 6960, + 6961 + ], + "loc": { + "start": { + "line": 227, + "column": 27 + }, + "end": { + "line": 227, + "column": 28 + } + } + }, + "range": [ + 6953, + 6962 + ], + "loc": { + "start": { + "line": 227, + "column": 20 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "writeType", + "range": [ + 6984, + 6993 + ], + "loc": { + "start": { + "line": 228, + "column": 20 + }, + "end": { + "line": 228, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "precisions", + "range": [ + 7015, + 7025 + ], + "loc": { + "start": { + "line": 229, + "column": 20 + }, + "end": { + "line": 229, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7026, + 7027 + ], + "loc": { + "start": { + "line": 229, + "column": 31 + }, + "end": { + "line": 229, + "column": 32 + } + } + }, + "range": [ + 7015, + 7028 + ], + "loc": { + "start": { + "line": 229, + "column": 20 + }, + "end": { + "line": 229, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "formatResult", + "range": [ + 7050, + 7062 + ], + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7063, + 7064 + ], + "loc": { + "start": { + "line": 230, + "column": 33 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 7050, + 7065 + ], + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 35 + } + } + } + ], + "range": [ + 6887, + 7083 + ], + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 231, + "column": 17 + } + } + }, + "range": [ + 6887, + 7084 + ], + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 231, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " write result in expected DOM element", + "range": [ + 6831, + 6870 + ], + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 55 + } + } + } + ] + } + ], + "range": [ + 6079, + 7099 + ], + "loc": { + "start": { + "line": 199, + "column": 42 + }, + "end": { + "line": 233, + "column": 13 + } + } + }, + "range": [ + 6049, + 7099 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 233, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "for i", + "range": [ + 7099, + 7106 + ], + "loc": { + "start": { + "line": 233, + "column": 13 + }, + "end": { + "line": 233, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " row(s) with result are always visible", + "range": [ + 7120, + 7160 + ], + "loc": { + "start": { + "line": 235, + "column": 12 + }, + "end": { + "line": 235, + "column": 52 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "totRow", + "range": [ + 7177, + 7183 + ], + "loc": { + "start": { + "line": 236, + "column": 16 + }, + "end": { + "line": 236, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 7186, + 7199 + ], + "loc": { + "start": { + "line": 236, + "column": 25 + }, + "end": { + "line": 236, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 7203, + 7216 + ], + "loc": { + "start": { + "line": 236, + "column": 42 + }, + "end": { + "line": 236, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 7217, + 7218 + ], + "loc": { + "start": { + "line": 236, + "column": 56 + }, + "end": { + "line": 236, + "column": 57 + } + } + }, + "range": [ + 7203, + 7219 + ], + "loc": { + "start": { + "line": 236, + "column": 42 + }, + "end": { + "line": 236, + "column": 58 + } + } + }, + "range": [ + 7186, + 7219 + ], + "loc": { + "start": { + "line": 236, + "column": 25 + }, + "end": { + "line": 236, + "column": 58 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 7238, + 7242 + ], + "loc": { + "start": { + "line": 237, + "column": 16 + }, + "end": { + "line": 237, + "column": 20 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "totRowIndexes", + "range": [ + 7243, + 7256 + ], + "loc": { + "start": { + "line": 237, + "column": 21 + }, + "end": { + "line": 237, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 7257, + 7258 + ], + "loc": { + "start": { + "line": 237, + "column": 35 + }, + "end": { + "line": 237, + "column": 36 + } + } + }, + "range": [ + 7243, + 7259 + ], + "loc": { + "start": { + "line": 237, + "column": 21 + }, + "end": { + "line": 237, + "column": 37 + } + } + }, + "range": [ + 7238, + 7260 + ], + "loc": { + "start": { + "line": 237, + "column": 16 + }, + "end": { + "line": 237, + "column": 38 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7263, + 7267 + ], + "loc": { + "start": { + "line": 237, + "column": 41 + }, + "end": { + "line": 237, + "column": 45 + } + } + }, + "range": [ + 7186, + 7267 + ], + "loc": { + "start": { + "line": 236, + "column": 25 + }, + "end": { + "line": 237, + "column": 45 + } + } + }, + "range": [ + 7177, + 7267 + ], + "loc": { + "start": { + "line": 236, + "column": 16 + }, + "end": { + "line": 237, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 7173, + 7268 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 237, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "for i", + "range": [ + 7099, + 7106 + ], + "loc": { + "start": { + "line": 233, + "column": 13 + }, + "end": { + "line": 233, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " row(s) with result are always visible", + "range": [ + 7120, + 7160 + ], + "loc": { + "start": { + "line": 235, + "column": 12 + }, + "end": { + "line": 235, + "column": 52 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "totRow", + "range": [ + 7285, + 7291 + ], + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "totRow", + "range": [ + 7311, + 7317 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 7318, + 7323 + ], + "loc": { + "start": { + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 28 + } + } + }, + "range": [ + 7311, + 7323 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 7324, + 7331 + ], + "loc": { + "start": { + "line": 239, + "column": 29 + }, + "end": { + "line": 239, + "column": 36 + } + } + }, + "range": [ + 7311, + 7331 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 7334, + 7336 + ], + "loc": { + "start": { + "line": 239, + "column": 39 + }, + "end": { + "line": 239, + "column": 41 + } + } + }, + "range": [ + 7311, + 7336 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 41 + } + } + }, + "range": [ + 7311, + 7337 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 42 + } + } + } + ], + "range": [ + 7293, + 7351 + ], + "loc": { + "start": { + "line": 238, + "column": 24 + }, + "end": { + "line": 240, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7281, + 7351 + ], + "loc": { + "start": { + "line": 238, + "column": 12 + }, + "end": { + "line": 240, + "column": 13 + } + } + } + ], + "range": [ + 4856, + 7361 + ], + "loc": { + "start": { + "line": 167, + "column": 41 + }, + "end": { + "line": 241, + "column": 9 + } + } + }, + "range": [ + 4823, + 7361 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 241, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "for u", + "range": [ + 7361, + 7368 + ], + "loc": { + "start": { + "line": 241, + "column": 9 + }, + "end": { + "line": 241, + "column": 16 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7378, + 7382 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOperation", + "range": [ + 7383, + 7399 + ], + "loc": { + "start": { + "line": 243, + "column": 13 + }, + "end": { + "line": 243, + "column": 29 + } + } + }, + "range": [ + 7378, + 7399 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 7400, + 7402 + ], + "loc": { + "start": { + "line": 243, + "column": 30 + }, + "end": { + "line": 243, + "column": 32 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 7404, + 7408 + ], + "loc": { + "start": { + "line": 243, + "column": 34 + }, + "end": { + "line": 243, + "column": 38 + } + } + } + ], + "range": [ + 7378, + 7409 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 39 + } + } + }, + "range": [ + 7378, + 7410 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "for u", + "range": [ + 7361, + 7368 + ], + "loc": { + "start": { + "line": 241, + "column": 9 + }, + "end": { + "line": 241, + "column": 16 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7419, + 7423 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7424, + 7431 + ], + "loc": { + "start": { + "line": 244, + "column": 13 + }, + "end": { + "line": 244, + "column": 20 + } + } + }, + "range": [ + 7419, + 7431 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 7432, + 7436 + ], + "loc": { + "start": { + "line": 244, + "column": 21 + }, + "end": { + "line": 244, + "column": 25 + } + } + }, + "range": [ + 7419, + 7436 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-column-operation", + "raw": "'after-column-operation'", + "range": [ + 7437, + 7461 + ], + "loc": { + "start": { + "line": 244, + "column": 26 + }, + "end": { + "line": 244, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 7463, + 7465 + ], + "loc": { + "start": { + "line": 244, + "column": 52 + }, + "end": { + "line": 244, + "column": 54 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 7467, + 7471 + ], + "loc": { + "start": { + "line": 244, + "column": 56 + }, + "end": { + "line": 244, + "column": 60 + } + } + } + ], + "range": [ + 7419, + 7472 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 61 + } + } + }, + "range": [ + 7419, + 7473 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 62 + } + } + } + ], + "range": [ + 4108, + 7479 + ], + "loc": { + "start": { + "line": 142, + "column": 14 + }, + "end": { + "line": 245, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4105, + 7479 + ], + "loc": { + "start": { + "line": 142, + "column": 11 + }, + "end": { + "line": 245, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4098, + 7479 + ], + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 245, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculates columns' values\n * Configuration options are stored in 'opts' property\n * - 'id' contains ids of elements showing result (array)\n * - 'col' contains the columns' indexes (array)\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\n * 'min', 'max', 'median', 'q1', 'q3')\n * - 'write_method' array defines which method to use for displaying the\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\n * - 'tot_row_index' defines in which row results are displayed\n * (integers array)\n *\n * - changes made by Nuovella:\n * (1) optimized the routine (now it will only process each column once),\n * (2) added calculations for the median, lower and upper quartile.\n ", + "range": [ + 3312, + 4093 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Make desired calculation on specified column.\n * @param {Number} colIndex Column index\n * @param {String} [operation=SUM] Operation type\n * @param {Number} precision Decimal precision\n * @returns {Number}\n ", + "range": [ + 7485, + 7724 + ], + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 253, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "columnCalc", + "range": [ + 7729, + 7739 + ], + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7740, + 7748 + ], + "loc": { + "start": { + "line": 254, + "column": 15 + }, + "end": { + "line": 254, + "column": 23 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "operation", + "range": [ + 7750, + 7759 + ], + "loc": { + "start": { + "line": 254, + "column": 25 + }, + "end": { + "line": 254, + "column": 34 + } + } + }, + "right": { + "type": "Identifier", + "name": "SUM", + "range": [ + 7762, + 7765 + ], + "loc": { + "start": { + "line": 254, + "column": 37 + }, + "end": { + "line": 254, + "column": 40 + } + } + }, + "range": [ + 7750, + 7765 + ], + "loc": { + "start": { + "line": 254, + "column": 25 + }, + "end": { + "line": 254, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "precision", + "range": [ + 7767, + 7776 + ], + "loc": { + "start": { + "line": 254, + "column": 42 + }, + "end": { + "line": 254, + "column": 51 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 7792, + 7803 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 23 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7806, + 7810 + ], + "loc": { + "start": { + "line": 255, + "column": 26 + }, + "end": { + "line": 255, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 7811, + 7822 + ], + "loc": { + "start": { + "line": 255, + "column": 31 + }, + "end": { + "line": 255, + "column": 42 + } + } + }, + "range": [ + 7806, + 7822 + ], + "loc": { + "start": { + "line": 255, + "column": 26 + }, + "end": { + "line": 255, + "column": 42 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 7826, + 7828 + ], + "loc": { + "start": { + "line": 255, + "column": 46 + }, + "end": { + "line": 255, + "column": 48 + } + } + }, + "range": [ + 7806, + 7828 + ], + "loc": { + "start": { + "line": 255, + "column": 26 + }, + "end": { + "line": 255, + "column": 48 + } + } + }, + "range": [ + 7792, + 7828 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 7788, + 7829 + ], + "loc": { + "start": { + "line": 255, + "column": 8 + }, + "end": { + "line": 255, + "column": 49 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colValues", + "range": [ + 7842, + 7851 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7854, + 7856 + ], + "loc": { + "start": { + "line": 256, + "column": 24 + }, + "end": { + "line": 256, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getVisibleColumnData", + "range": [ + 7857, + 7877 + ], + "loc": { + "start": { + "line": 256, + "column": 27 + }, + "end": { + "line": 256, + "column": 47 + } + } + }, + "range": [ + 7854, + 7877 + ], + "loc": { + "start": { + "line": 256, + "column": 24 + }, + "end": { + "line": 256, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7878, + 7886 + ], + "loc": { + "start": { + "line": 256, + "column": 48 + }, + "end": { + "line": 256, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 7888, + 7893 + ], + "loc": { + "start": { + "line": 256, + "column": 58 + }, + "end": { + "line": 256, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "excludeRows", + "range": [ + 7895, + 7906 + ], + "loc": { + "start": { + "line": 256, + "column": 65 + }, + "end": { + "line": 256, + "column": 76 + } + } + } + ], + "range": [ + 7854, + 7907 + ], + "loc": { + "start": { + "line": 256, + "column": 24 + }, + "end": { + "line": 256, + "column": 77 + } + } + }, + "range": [ + 7842, + 7907 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 77 + } + } + } + ], + "kind": "let", + "range": [ + 7838, + 7908 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 78 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 7925, + 7931 + ], + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7932, + 7936 + ], + "loc": { + "start": { + "line": 258, + "column": 22 + }, + "end": { + "line": 258, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "calc", + "range": [ + 7937, + 7941 + ], + "loc": { + "start": { + "line": 258, + "column": 27 + }, + "end": { + "line": 258, + "column": 31 + } + } + }, + "range": [ + 7932, + 7941 + ], + "loc": { + "start": { + "line": 258, + "column": 22 + }, + "end": { + "line": 258, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 7942, + 7951 + ], + "loc": { + "start": { + "line": 258, + "column": 32 + }, + "end": { + "line": 258, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "operation", + "range": [ + 7953, + 7962 + ], + "loc": { + "start": { + "line": 258, + "column": 43 + }, + "end": { + "line": 258, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "precision", + "range": [ + 7964, + 7973 + ], + "loc": { + "start": { + "line": 258, + "column": 54 + }, + "end": { + "line": 258, + "column": 63 + } + } + } + ], + "range": [ + 7932, + 7974 + ], + "loc": { + "start": { + "line": 258, + "column": 22 + }, + "end": { + "line": 258, + "column": 64 + } + } + } + ], + "range": [ + 7925, + 7975 + ], + "loc": { + "start": { + "line": 258, + "column": 15 + }, + "end": { + "line": 258, + "column": 65 + } + } + }, + "range": [ + 7918, + 7976 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 258, + "column": 66 + } + } + } + ], + "range": [ + 7778, + 7982 + ], + "loc": { + "start": { + "line": 254, + "column": 53 + }, + "end": { + "line": 259, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7739, + 7982 + ], + "loc": { + "start": { + "line": 254, + "column": 14 + }, + "end": { + "line": 259, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 7729, + 7982 + ], + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 259, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Make desired calculation on specified column.\n * @param {Number} colIndex Column index\n * @param {String} [operation=SUM] Operation type\n * @param {Number} precision Decimal precision\n * @returns {Number}\n ", + "range": [ + 7485, + 7724 + ], + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 253, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Make calculation on passed values.\n * @param {Array} values List of values\n * @param {String} [operation=SUM] Optional operation type\n * @param {Number} precision Optional result precision\n * @returns {Number}\n * @private\n ", + "range": [ + 7988, + 8248 + ], + "loc": { + "start": { + "line": 261, + "column": 4 + }, + "end": { + "line": 268, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calc", + "range": [ + 8253, + 8257 + ], + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 269, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8258, + 8267 + ], + "loc": { + "start": { + "line": 269, + "column": 9 + }, + "end": { + "line": 269, + "column": 18 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "operation", + "range": [ + 8269, + 8278 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "SUM", + "range": [ + 8281, + 8284 + ], + "loc": { + "start": { + "line": 269, + "column": 32 + }, + "end": { + "line": 269, + "column": 35 + } + } + }, + "range": [ + 8269, + 8284 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "precision", + "range": [ + 8286, + 8295 + ], + "loc": { + "start": { + "line": 269, + "column": 37 + }, + "end": { + "line": 269, + "column": 46 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "result", + "range": [ + 8311, + 8317 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8320, + 8321 + ], + "loc": { + "start": { + "line": 270, + "column": 21 + }, + "end": { + "line": 270, + "column": 22 + } + } + }, + "range": [ + 8311, + 8321 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 8307, + 8322 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 23 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "operation", + "range": [ + 8336, + 8345 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "Q1", + "range": [ + 8350, + 8352 + ], + "loc": { + "start": { + "line": 272, + "column": 26 + }, + "end": { + "line": 272, + "column": 28 + } + } + }, + "range": [ + 8336, + 8352 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 28 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "operation", + "range": [ + 8356, + 8365 + ], + "loc": { + "start": { + "line": 272, + "column": 32 + }, + "end": { + "line": 272, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "Q3", + "range": [ + 8370, + 8372 + ], + "loc": { + "start": { + "line": 272, + "column": 46 + }, + "end": { + "line": 272, + "column": 48 + } + } + }, + "range": [ + 8356, + 8372 + ], + "loc": { + "start": { + "line": 272, + "column": 32 + }, + "end": { + "line": 272, + "column": 48 + } + } + }, + "range": [ + 8336, + 8372 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 48 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "operation", + "range": [ + 8376, + 8385 + ], + "loc": { + "start": { + "line": 272, + "column": 52 + }, + "end": { + "line": 272, + "column": 61 + } + } + }, + "right": { + "type": "Identifier", + "name": "MEDIAN", + "range": [ + 8390, + 8396 + ], + "loc": { + "start": { + "line": 272, + "column": 66 + }, + "end": { + "line": 272, + "column": 72 + } + } + }, + "range": [ + 8376, + 8396 + ], + "loc": { + "start": { + "line": 272, + "column": 52 + }, + "end": { + "line": 272, + "column": 72 + } + } + }, + "range": [ + 8336, + 8396 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colValues", + "range": [ + 8412, + 8421 + ], + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8424, + 8428 + ], + "loc": { + "start": { + "line": 273, + "column": 24 + }, + "end": { + "line": 273, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColumnValues", + "range": [ + 8429, + 8445 + ], + "loc": { + "start": { + "line": 273, + "column": 29 + }, + "end": { + "line": 273, + "column": 45 + } + } + }, + "range": [ + 8424, + 8445 + ], + "loc": { + "start": { + "line": 273, + "column": 24 + }, + "end": { + "line": 273, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8446, + 8455 + ], + "loc": { + "start": { + "line": 273, + "column": 46 + }, + "end": { + "line": 273, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 8457, + 8467 + ], + "loc": { + "start": { + "line": 273, + "column": 57 + }, + "end": { + "line": 273, + "column": 67 + } + } + } + ], + "range": [ + 8424, + 8468 + ], + "loc": { + "start": { + "line": 273, + "column": 24 + }, + "end": { + "line": 273, + "column": 68 + } + } + }, + "range": [ + 8412, + 8468 + ], + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 68 + } + } + }, + "range": [ + 8412, + 8469 + ], + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 69 + } + } + } + ], + "range": [ + 8398, + 8479 + ], + "loc": { + "start": { + "line": 272, + "column": 74 + }, + "end": { + "line": 274, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8332, + 8479 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 274, + "column": 9 + } + } + }, + { + "type": "SwitchStatement", + "discriminant": { + "type": "Identifier", + "name": "operation", + "range": [ + 8497, + 8506 + ], + "loc": { + "start": { + "line": 276, + "column": 16 + }, + "end": { + "line": 276, + "column": 25 + } + } + }, + "cases": [ + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "MEAN", + "range": [ + 8527, + 8531 + ], + "loc": { + "start": { + "line": 277, + "column": 17 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 8549, + 8555 + ], + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8558, + 8562 + ], + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 278, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcMean", + "range": [ + 8563, + 8571 + ], + "loc": { + "start": { + "line": 278, + "column": 30 + }, + "end": { + "line": 278, + "column": 38 + } + } + }, + "range": [ + 8558, + 8571 + ], + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 278, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8572, + 8581 + ], + "loc": { + "start": { + "line": 278, + "column": 39 + }, + "end": { + "line": 278, + "column": 48 + } + } + } + ], + "range": [ + 8558, + 8582 + ], + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 278, + "column": 49 + } + } + }, + "range": [ + 8549, + 8582 + ], + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 49 + } + } + }, + "range": [ + 8549, + 8583 + ], + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 50 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 8600, + 8606 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 22 + } + } + } + ], + "range": [ + 8522, + 8606 + ], + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 279, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "SUM", + "range": [ + 8624, + 8627 + ], + "loc": { + "start": { + "line": 280, + "column": 17 + }, + "end": { + "line": 280, + "column": 20 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 8645, + 8651 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8654, + 8658 + ], + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcSum", + "range": [ + 8659, + 8666 + ], + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 37 + } + } + }, + "range": [ + 8654, + 8666 + ], + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8667, + 8676 + ], + "loc": { + "start": { + "line": 281, + "column": 38 + }, + "end": { + "line": 281, + "column": 47 + } + } + } + ], + "range": [ + 8654, + 8677 + ], + "loc": { + "start": { + "line": 281, + "column": 25 + }, + "end": { + "line": 281, + "column": 48 + } + } + }, + "range": [ + 8645, + 8677 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 48 + } + } + }, + "range": [ + 8645, + 8678 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 49 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 8695, + 8701 + ], + "loc": { + "start": { + "line": 282, + "column": 16 + }, + "end": { + "line": 282, + "column": 22 + } + } + } + ], + "range": [ + 8619, + 8701 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 282, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "MIN", + "range": [ + 8719, + 8722 + ], + "loc": { + "start": { + "line": 283, + "column": 17 + }, + "end": { + "line": 283, + "column": 20 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 8740, + 8746 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8749, + 8753 + ], + "loc": { + "start": { + "line": 284, + "column": 25 + }, + "end": { + "line": 284, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcMin", + "range": [ + 8754, + 8761 + ], + "loc": { + "start": { + "line": 284, + "column": 30 + }, + "end": { + "line": 284, + "column": 37 + } + } + }, + "range": [ + 8749, + 8761 + ], + "loc": { + "start": { + "line": 284, + "column": 25 + }, + "end": { + "line": 284, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8762, + 8771 + ], + "loc": { + "start": { + "line": 284, + "column": 38 + }, + "end": { + "line": 284, + "column": 47 + } + } + } + ], + "range": [ + 8749, + 8772 + ], + "loc": { + "start": { + "line": 284, + "column": 25 + }, + "end": { + "line": 284, + "column": 48 + } + } + }, + "range": [ + 8740, + 8772 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 48 + } + } + }, + "range": [ + 8740, + 8773 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 49 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 8790, + 8796 + ], + "loc": { + "start": { + "line": 285, + "column": 16 + }, + "end": { + "line": 285, + "column": 22 + } + } + } + ], + "range": [ + 8714, + 8796 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 285, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "MAX", + "range": [ + 8814, + 8817 + ], + "loc": { + "start": { + "line": 286, + "column": 17 + }, + "end": { + "line": 286, + "column": 20 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 8835, + 8841 + ], + "loc": { + "start": { + "line": 287, + "column": 16 + }, + "end": { + "line": 287, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8844, + 8848 + ], + "loc": { + "start": { + "line": 287, + "column": 25 + }, + "end": { + "line": 287, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcMax", + "range": [ + 8849, + 8856 + ], + "loc": { + "start": { + "line": 287, + "column": 30 + }, + "end": { + "line": 287, + "column": 37 + } + } + }, + "range": [ + 8844, + 8856 + ], + "loc": { + "start": { + "line": 287, + "column": 25 + }, + "end": { + "line": 287, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8857, + 8866 + ], + "loc": { + "start": { + "line": 287, + "column": 38 + }, + "end": { + "line": 287, + "column": 47 + } + } + } + ], + "range": [ + 8844, + 8867 + ], + "loc": { + "start": { + "line": 287, + "column": 25 + }, + "end": { + "line": 287, + "column": 48 + } + } + }, + "range": [ + 8835, + 8867 + ], + "loc": { + "start": { + "line": 287, + "column": 16 + }, + "end": { + "line": 287, + "column": 48 + } + } + }, + "range": [ + 8835, + 8868 + ], + "loc": { + "start": { + "line": 287, + "column": 16 + }, + "end": { + "line": 287, + "column": 49 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 8885, + 8891 + ], + "loc": { + "start": { + "line": 288, + "column": 16 + }, + "end": { + "line": 288, + "column": 22 + } + } + } + ], + "range": [ + 8809, + 8891 + ], + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "MEDIAN", + "range": [ + 8909, + 8915 + ], + "loc": { + "start": { + "line": 289, + "column": 17 + }, + "end": { + "line": 289, + "column": 23 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 8933, + 8939 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8942, + 8946 + ], + "loc": { + "start": { + "line": 290, + "column": 25 + }, + "end": { + "line": 290, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcMedian", + "range": [ + 8947, + 8957 + ], + "loc": { + "start": { + "line": 290, + "column": 30 + }, + "end": { + "line": 290, + "column": 40 + } + } + }, + "range": [ + 8942, + 8957 + ], + "loc": { + "start": { + "line": 290, + "column": 25 + }, + "end": { + "line": 290, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 8958, + 8967 + ], + "loc": { + "start": { + "line": 290, + "column": 41 + }, + "end": { + "line": 290, + "column": 50 + } + } + } + ], + "range": [ + 8942, + 8968 + ], + "loc": { + "start": { + "line": 290, + "column": 25 + }, + "end": { + "line": 290, + "column": 51 + } + } + }, + "range": [ + 8933, + 8968 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 51 + } + } + }, + "range": [ + 8933, + 8969 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 52 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 8986, + 8992 + ], + "loc": { + "start": { + "line": 291, + "column": 16 + }, + "end": { + "line": 291, + "column": 22 + } + } + } + ], + "range": [ + 8904, + 8992 + ], + "loc": { + "start": { + "line": 289, + "column": 12 + }, + "end": { + "line": 291, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "Q1", + "range": [ + 9010, + 9012 + ], + "loc": { + "start": { + "line": 292, + "column": 17 + }, + "end": { + "line": 292, + "column": 19 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 9030, + 9036 + ], + "loc": { + "start": { + "line": 293, + "column": 16 + }, + "end": { + "line": 293, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9039, + 9043 + ], + "loc": { + "start": { + "line": 293, + "column": 25 + }, + "end": { + "line": 293, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcQ1", + "range": [ + 9044, + 9050 + ], + "loc": { + "start": { + "line": 293, + "column": 30 + }, + "end": { + "line": 293, + "column": 36 + } + } + }, + "range": [ + 9039, + 9050 + ], + "loc": { + "start": { + "line": 293, + "column": 25 + }, + "end": { + "line": 293, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 9051, + 9060 + ], + "loc": { + "start": { + "line": 293, + "column": 37 + }, + "end": { + "line": 293, + "column": 46 + } + } + } + ], + "range": [ + 9039, + 9061 + ], + "loc": { + "start": { + "line": 293, + "column": 25 + }, + "end": { + "line": 293, + "column": 47 + } + } + }, + "range": [ + 9030, + 9061 + ], + "loc": { + "start": { + "line": 293, + "column": 16 + }, + "end": { + "line": 293, + "column": 47 + } + } + }, + "range": [ + 9030, + 9062 + ], + "loc": { + "start": { + "line": 293, + "column": 16 + }, + "end": { + "line": 293, + "column": 48 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 9079, + 9085 + ], + "loc": { + "start": { + "line": 294, + "column": 16 + }, + "end": { + "line": 294, + "column": 22 + } + } + } + ], + "range": [ + 9005, + 9085 + ], + "loc": { + "start": { + "line": 292, + "column": 12 + }, + "end": { + "line": 294, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Identifier", + "name": "Q3", + "range": [ + 9103, + 9105 + ], + "loc": { + "start": { + "line": 295, + "column": 17 + }, + "end": { + "line": 295, + "column": 19 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 9123, + 9129 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9132, + 9136 + ], + "loc": { + "start": { + "line": 296, + "column": 25 + }, + "end": { + "line": 296, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcQ3", + "range": [ + 9137, + 9143 + ], + "loc": { + "start": { + "line": 296, + "column": 30 + }, + "end": { + "line": 296, + "column": 36 + } + } + }, + "range": [ + 9132, + 9143 + ], + "loc": { + "start": { + "line": 296, + "column": 25 + }, + "end": { + "line": 296, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colValues", + "range": [ + 9144, + 9153 + ], + "loc": { + "start": { + "line": 296, + "column": 37 + }, + "end": { + "line": 296, + "column": 46 + } + } + } + ], + "range": [ + 9132, + 9154 + ], + "loc": { + "start": { + "line": 296, + "column": 25 + }, + "end": { + "line": 296, + "column": 47 + } + } + }, + "range": [ + 9123, + 9154 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 47 + } + } + }, + "range": [ + 9123, + 9155 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 48 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 9172, + 9178 + ], + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 297, + "column": 22 + } + } + } + ], + "range": [ + 9098, + 9178 + ], + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 297, + "column": 22 + } + } + } + ], + "range": [ + 8489, + 9188 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 298, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 9205, + 9212 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 300, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "precision", + "range": [ + 9213, + 9222 + ], + "loc": { + "start": { + "line": 300, + "column": 23 + }, + "end": { + "line": 300, + "column": 32 + } + } + } + ], + "range": [ + 9205, + 9223 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 300, + "column": 33 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "result", + "range": [ + 9226, + 9232 + ], + "loc": { + "start": { + "line": 300, + "column": 36 + }, + "end": { + "line": 300, + "column": 42 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "result", + "range": [ + 9235, + 9241 + ], + "loc": { + "start": { + "line": 300, + "column": 45 + }, + "end": { + "line": 300, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "toFixed", + "range": [ + 9242, + 9249 + ], + "loc": { + "start": { + "line": 300, + "column": 52 + }, + "end": { + "line": 300, + "column": 59 + } + } + }, + "range": [ + 9235, + 9249 + ], + "loc": { + "start": { + "line": 300, + "column": 45 + }, + "end": { + "line": 300, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "precision", + "range": [ + 9250, + 9259 + ], + "loc": { + "start": { + "line": 300, + "column": 60 + }, + "end": { + "line": 300, + "column": 69 + } + } + } + ], + "range": [ + 9235, + 9260 + ], + "loc": { + "start": { + "line": 300, + "column": 45 + }, + "end": { + "line": 300, + "column": 70 + } + } + }, + "range": [ + 9205, + 9260 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 300, + "column": 70 + } + } + }, + "range": [ + 9198, + 9261 + ], + "loc": { + "start": { + "line": 300, + "column": 8 + }, + "end": { + "line": 300, + "column": 71 + } + } + } + ], + "range": [ + 8297, + 9267 + ], + "loc": { + "start": { + "line": 269, + "column": 48 + }, + "end": { + "line": 301, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8257, + 9267 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 301, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8253, + 9267 + ], + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 301, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Make calculation on passed values.\n * @param {Array} values List of values\n * @param {String} [operation=SUM] Optional operation type\n * @param {Number} precision Optional result precision\n * @returns {Number}\n * @private\n ", + "range": [ + 7988, + 8248 + ], + "loc": { + "start": { + "line": 261, + "column": 4 + }, + "end": { + "line": 268, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the sum of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9273, + 9401 + ], + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 307, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcSum", + "range": [ + 9406, + 9413 + ], + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 308, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 9414, + 9420 + ], + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 18 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 9423, + 9425 + ], + "loc": { + "start": { + "line": 308, + "column": 21 + }, + "end": { + "line": 308, + "column": 23 + } + } + }, + "range": [ + 9414, + 9425 + ], + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 9441, + 9448 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "values", + "range": [ + 9449, + 9455 + ], + "loc": { + "start": { + "line": 309, + "column": 20 + }, + "end": { + "line": 309, + "column": 26 + } + } + } + ], + "range": [ + 9441, + 9456 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9479, + 9480 + ], + "loc": { + "start": { + "line": 310, + "column": 19 + }, + "end": { + "line": 310, + "column": 20 + } + } + }, + "range": [ + 9472, + 9481 + ], + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 21 + } + } + } + ], + "range": [ + 9458, + 9491 + ], + "loc": { + "start": { + "line": 309, + "column": 29 + }, + "end": { + "line": 311, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9437, + 9491 + ], + "loc": { + "start": { + "line": 309, + "column": 8 + }, + "end": { + "line": 311, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "result", + "range": [ + 9504, + 9510 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 9513, + 9519 + ], + "loc": { + "start": { + "line": 312, + "column": 21 + }, + "end": { + "line": 312, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "reduce", + "range": [ + 9520, + 9526 + ], + "loc": { + "start": { + "line": 312, + "column": 28 + }, + "end": { + "line": 312, + "column": 34 + } + } + }, + "range": [ + 9513, + 9526 + ], + "loc": { + "start": { + "line": 312, + "column": 21 + }, + "end": { + "line": 312, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 9528, + 9529 + ], + "loc": { + "start": { + "line": 312, + "column": 36 + }, + "end": { + "line": 312, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "y", + "range": [ + 9531, + 9532 + ], + "loc": { + "start": { + "line": 312, + "column": 39 + }, + "end": { + "line": 312, + "column": 40 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 9537, + 9543 + ], + "loc": { + "start": { + "line": 312, + "column": 45 + }, + "end": { + "line": 312, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "x", + "range": [ + 9544, + 9545 + ], + "loc": { + "start": { + "line": 312, + "column": 52 + }, + "end": { + "line": 312, + "column": 53 + } + } + } + ], + "range": [ + 9537, + 9546 + ], + "loc": { + "start": { + "line": 312, + "column": 45 + }, + "end": { + "line": 312, + "column": 54 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 9549, + 9555 + ], + "loc": { + "start": { + "line": 312, + "column": 57 + }, + "end": { + "line": 312, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "y", + "range": [ + 9556, + 9557 + ], + "loc": { + "start": { + "line": 312, + "column": 64 + }, + "end": { + "line": 312, + "column": 65 + } + } + } + ], + "range": [ + 9549, + 9558 + ], + "loc": { + "start": { + "line": 312, + "column": 57 + }, + "end": { + "line": 312, + "column": 66 + } + } + }, + "range": [ + 9537, + 9558 + ], + "loc": { + "start": { + "line": 312, + "column": 45 + }, + "end": { + "line": 312, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 9527, + 9558 + ], + "loc": { + "start": { + "line": 312, + "column": 35 + }, + "end": { + "line": 312, + "column": 66 + } + } + } + ], + "range": [ + 9513, + 9559 + ], + "loc": { + "start": { + "line": 312, + "column": 21 + }, + "end": { + "line": 312, + "column": 67 + } + } + }, + "range": [ + 9504, + 9559 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 67 + } + } + } + ], + "kind": "let", + "range": [ + 9500, + 9560 + ], + "loc": { + "start": { + "line": 312, + "column": 8 + }, + "end": { + "line": 312, + "column": 68 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "result", + "range": [ + 9576, + 9582 + ], + "loc": { + "start": { + "line": 313, + "column": 15 + }, + "end": { + "line": 313, + "column": 21 + } + } + }, + "range": [ + 9569, + 9583 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 22 + } + } + } + ], + "range": [ + 9427, + 9589 + ], + "loc": { + "start": { + "line": 308, + "column": 25 + }, + "end": { + "line": 314, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9413, + 9589 + ], + "loc": { + "start": { + "line": 308, + "column": 11 + }, + "end": { + "line": 314, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9406, + 9589 + ], + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 314, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the sum of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9273, + 9401 + ], + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 307, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the mean of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9595, + 9724 + ], + "loc": { + "start": { + "line": 316, + "column": 4 + }, + "end": { + "line": 320, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcMean", + "range": [ + 9729, + 9737 + ], + "loc": { + "start": { + "line": 321, + "column": 4 + }, + "end": { + "line": 321, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 9738, + 9744 + ], + "loc": { + "start": { + "line": 321, + "column": 13 + }, + "end": { + "line": 321, + "column": 19 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 9747, + 9749 + ], + "loc": { + "start": { + "line": 321, + "column": 22 + }, + "end": { + "line": 321, + "column": 24 + } + } + }, + "range": [ + 9738, + 9749 + ], + "loc": { + "start": { + "line": 321, + "column": 13 + }, + "end": { + "line": 321, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "result", + "range": [ + 9765, + 9771 + ], + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 322, + "column": 18 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9774, + 9778 + ], + "loc": { + "start": { + "line": 322, + "column": 21 + }, + "end": { + "line": 322, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcSum", + "range": [ + 9779, + 9786 + ], + "loc": { + "start": { + "line": 322, + "column": 26 + }, + "end": { + "line": 322, + "column": 33 + } + } + }, + "range": [ + 9774, + 9786 + ], + "loc": { + "start": { + "line": 322, + "column": 21 + }, + "end": { + "line": 322, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "values", + "range": [ + 9787, + 9793 + ], + "loc": { + "start": { + "line": 322, + "column": 34 + }, + "end": { + "line": 322, + "column": 40 + } + } + } + ], + "range": [ + 9774, + 9794 + ], + "loc": { + "start": { + "line": 322, + "column": 21 + }, + "end": { + "line": 322, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 9797, + 9803 + ], + "loc": { + "start": { + "line": 322, + "column": 44 + }, + "end": { + "line": 322, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 9804, + 9810 + ], + "loc": { + "start": { + "line": 322, + "column": 51 + }, + "end": { + "line": 322, + "column": 57 + } + } + }, + "range": [ + 9797, + 9810 + ], + "loc": { + "start": { + "line": 322, + "column": 44 + }, + "end": { + "line": 322, + "column": 57 + } + } + }, + "range": [ + 9774, + 9810 + ], + "loc": { + "start": { + "line": 322, + "column": 21 + }, + "end": { + "line": 322, + "column": 57 + } + } + }, + "range": [ + 9765, + 9810 + ], + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 322, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 9761, + 9811 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 322, + "column": 58 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 9827, + 9833 + ], + "loc": { + "start": { + "line": 323, + "column": 15 + }, + "end": { + "line": 323, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 9834, + 9840 + ], + "loc": { + "start": { + "line": 323, + "column": 22 + }, + "end": { + "line": 323, + "column": 28 + } + } + } + ], + "range": [ + 9827, + 9841 + ], + "loc": { + "start": { + "line": 323, + "column": 15 + }, + "end": { + "line": 323, + "column": 29 + } + } + }, + "range": [ + 9820, + 9842 + ], + "loc": { + "start": { + "line": 323, + "column": 8 + }, + "end": { + "line": 323, + "column": 30 + } + } + } + ], + "range": [ + 9751, + 9848 + ], + "loc": { + "start": { + "line": 321, + "column": 26 + }, + "end": { + "line": 324, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9737, + 9848 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 324, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9729, + 9848 + ], + "loc": { + "start": { + "line": 321, + "column": 4 + }, + "end": { + "line": 324, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the mean of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9595, + 9724 + ], + "loc": { + "start": { + "line": 316, + "column": 4 + }, + "end": { + "line": 320, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the max value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9854, + 9988 + ], + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 330, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcMax", + "range": [ + 9993, + 10000 + ], + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 10001, + 10007 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 18 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10010, + 10012 + ], + "loc": { + "start": { + "line": 331, + "column": 21 + }, + "end": { + "line": 331, + "column": 23 + } + } + }, + "range": [ + 10001, + 10012 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 10031, + 10035 + ], + "loc": { + "start": { + "line": 332, + "column": 15 + }, + "end": { + "line": 332, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "max", + "range": [ + 10036, + 10039 + ], + "loc": { + "start": { + "line": 332, + "column": 20 + }, + "end": { + "line": 332, + "column": 23 + } + } + }, + "range": [ + 10031, + 10039 + ], + "loc": { + "start": { + "line": 332, + "column": 15 + }, + "end": { + "line": 332, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "apply", + "range": [ + 10040, + 10045 + ], + "loc": { + "start": { + "line": 332, + "column": 24 + }, + "end": { + "line": 332, + "column": 29 + } + } + }, + "range": [ + 10031, + 10045 + ], + "loc": { + "start": { + "line": 332, + "column": 15 + }, + "end": { + "line": 332, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 10046, + 10050 + ], + "loc": { + "start": { + "line": 332, + "column": 30 + }, + "end": { + "line": 332, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 10052, + 10058 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 42 + } + } + } + ], + "range": [ + 10031, + 10059 + ], + "loc": { + "start": { + "line": 332, + "column": 15 + }, + "end": { + "line": 332, + "column": 43 + } + } + }, + "range": [ + 10024, + 10060 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 44 + } + } + } + ], + "range": [ + 10014, + 10066 + ], + "loc": { + "start": { + "line": 331, + "column": 25 + }, + "end": { + "line": 333, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10000, + 10066 + ], + "loc": { + "start": { + "line": 331, + "column": 11 + }, + "end": { + "line": 333, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9993, + 10066 + ], + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 333, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the max value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9854, + 9988 + ], + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 330, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the min value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10072, + 10206 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcMin", + "range": [ + 10211, + 10218 + ], + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 10219, + 10225 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 18 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10228, + 10230 + ], + "loc": { + "start": { + "line": 340, + "column": 21 + }, + "end": { + "line": 340, + "column": 23 + } + } + }, + "range": [ + 10219, + 10230 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 10249, + 10253 + ], + "loc": { + "start": { + "line": 341, + "column": 15 + }, + "end": { + "line": 341, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "min", + "range": [ + 10254, + 10257 + ], + "loc": { + "start": { + "line": 341, + "column": 20 + }, + "end": { + "line": 341, + "column": 23 + } + } + }, + "range": [ + 10249, + 10257 + ], + "loc": { + "start": { + "line": 341, + "column": 15 + }, + "end": { + "line": 341, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "apply", + "range": [ + 10258, + 10263 + ], + "loc": { + "start": { + "line": 341, + "column": 24 + }, + "end": { + "line": 341, + "column": 29 + } + } + }, + "range": [ + 10249, + 10263 + ], + "loc": { + "start": { + "line": 341, + "column": 15 + }, + "end": { + "line": 341, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 10264, + 10268 + ], + "loc": { + "start": { + "line": 341, + "column": 30 + }, + "end": { + "line": 341, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 10270, + 10276 + ], + "loc": { + "start": { + "line": 341, + "column": 36 + }, + "end": { + "line": 341, + "column": 42 + } + } + } + ], + "range": [ + 10249, + 10277 + ], + "loc": { + "start": { + "line": 341, + "column": 15 + }, + "end": { + "line": 341, + "column": 43 + } + } + }, + "range": [ + 10242, + 10278 + ], + "loc": { + "start": { + "line": 341, + "column": 8 + }, + "end": { + "line": 341, + "column": 44 + } + } + } + ], + "range": [ + 10232, + 10284 + ], + "loc": { + "start": { + "line": 340, + "column": 25 + }, + "end": { + "line": 342, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10218, + 10284 + ], + "loc": { + "start": { + "line": 340, + "column": 11 + }, + "end": { + "line": 342, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10211, + 10284 + ], + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 342, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the min value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10072, + 10206 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the median of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10290, + 10421 + ], + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 348, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcMedian", + "range": [ + 10426, + 10436 + ], + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 349, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 10437, + 10443 + ], + "loc": { + "start": { + "line": 349, + "column": 15 + }, + "end": { + "line": 349, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10446, + 10448 + ], + "loc": { + "start": { + "line": 349, + "column": 24 + }, + "end": { + "line": 349, + "column": 26 + } + } + }, + "range": [ + 10437, + 10448 + ], + "loc": { + "start": { + "line": 349, + "column": 15 + }, + "end": { + "line": 349, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10464, + 10472 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10475, + 10481 + ], + "loc": { + "start": { + "line": 350, + "column": 23 + }, + "end": { + "line": 350, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 10482, + 10488 + ], + "loc": { + "start": { + "line": 350, + "column": 30 + }, + "end": { + "line": 350, + "column": 36 + } + } + }, + "range": [ + 10475, + 10488 + ], + "loc": { + "start": { + "line": 350, + "column": 23 + }, + "end": { + "line": 350, + "column": 36 + } + } + }, + "range": [ + 10464, + 10488 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 10460, + 10489 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "aux", + "range": [ + 10502, + 10505 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 15 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 10508, + 10509 + ], + "loc": { + "start": { + "line": 351, + "column": 18 + }, + "end": { + "line": 351, + "column": 19 + } + } + }, + "range": [ + 10502, + 10509 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 10498, + 10510 + ], + "loc": { + "start": { + "line": 351, + "column": 8 + }, + "end": { + "line": 351, + "column": 20 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10523, + 10531 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 10534, + 10535 + ], + "loc": { + "start": { + "line": 352, + "column": 23 + }, + "end": { + "line": 352, + "column": 24 + } + } + }, + "range": [ + 10523, + 10535 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 10540, + 10541 + ], + "loc": { + "start": { + "line": 352, + "column": 29 + }, + "end": { + "line": 352, + "column": 30 + } + } + }, + "range": [ + 10523, + 10541 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "aux", + "range": [ + 10557, + 10560 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 15 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 10563, + 10567 + ], + "loc": { + "start": { + "line": 353, + "column": 18 + }, + "end": { + "line": 353, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "floor", + "range": [ + 10568, + 10573 + ], + "loc": { + "start": { + "line": 353, + "column": 23 + }, + "end": { + "line": 353, + "column": 28 + } + } + }, + "range": [ + 10563, + 10573 + ], + "loc": { + "start": { + "line": 353, + "column": 18 + }, + "end": { + "line": 353, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10574, + 10582 + ], + "loc": { + "start": { + "line": 353, + "column": 29 + }, + "end": { + "line": 353, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 10585, + 10586 + ], + "loc": { + "start": { + "line": 353, + "column": 40 + }, + "end": { + "line": 353, + "column": 41 + } + } + }, + "range": [ + 10574, + 10586 + ], + "loc": { + "start": { + "line": 353, + "column": 29 + }, + "end": { + "line": 353, + "column": 41 + } + } + } + ], + "range": [ + 10563, + 10587 + ], + "loc": { + "start": { + "line": 353, + "column": 18 + }, + "end": { + "line": 353, + "column": 42 + } + } + }, + "range": [ + 10557, + 10587 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 42 + } + } + }, + "range": [ + 10557, + 10588 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 43 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 10608, + 10614 + ], + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10615, + 10621 + ], + "loc": { + "start": { + "line": 354, + "column": 26 + }, + "end": { + "line": 354, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "aux", + "range": [ + 10622, + 10625 + ], + "loc": { + "start": { + "line": 354, + "column": 33 + }, + "end": { + "line": 354, + "column": 36 + } + } + }, + "range": [ + 10615, + 10626 + ], + "loc": { + "start": { + "line": 354, + "column": 26 + }, + "end": { + "line": 354, + "column": 37 + } + } + } + ], + "range": [ + 10608, + 10627 + ], + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 38 + } + } + }, + "range": [ + 10601, + 10628 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 39 + } + } + } + ], + "range": [ + 10543, + 10638 + ], + "loc": { + "start": { + "line": 352, + "column": 32 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10519, + 10638 + ], + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 10655, + 10661 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10662, + 10668 + ], + "loc": { + "start": { + "line": 356, + "column": 23 + }, + "end": { + "line": 356, + "column": 29 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10669, + 10677 + ], + "loc": { + "start": { + "line": 356, + "column": 30 + }, + "end": { + "line": 356, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 10680, + 10681 + ], + "loc": { + "start": { + "line": 356, + "column": 41 + }, + "end": { + "line": 356, + "column": 42 + } + } + }, + "range": [ + 10669, + 10681 + ], + "loc": { + "start": { + "line": 356, + "column": 30 + }, + "end": { + "line": 356, + "column": 42 + } + } + }, + "range": [ + 10662, + 10682 + ], + "loc": { + "start": { + "line": 356, + "column": 23 + }, + "end": { + "line": 356, + "column": 43 + } + } + } + ], + "range": [ + 10655, + 10683 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 44 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 10698, + 10704 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10705, + 10711 + ], + "loc": { + "start": { + "line": 357, + "column": 19 + }, + "end": { + "line": 357, + "column": 25 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10714, + 10722 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 10725, + 10726 + ], + "loc": { + "start": { + "line": 357, + "column": 39 + }, + "end": { + "line": 357, + "column": 40 + } + } + }, + "range": [ + 10714, + 10726 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 10730, + 10731 + ], + "loc": { + "start": { + "line": 357, + "column": 44 + }, + "end": { + "line": 357, + "column": 45 + } + } + }, + "range": [ + 10713, + 10731 + ], + "loc": { + "start": { + "line": 357, + "column": 27 + }, + "end": { + "line": 357, + "column": 45 + } + } + }, + "range": [ + 10705, + 10733 + ], + "loc": { + "start": { + "line": 357, + "column": 19 + }, + "end": { + "line": 357, + "column": 47 + } + } + } + ], + "range": [ + 10698, + 10734 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 48 + } + } + }, + "range": [ + 10655, + 10734 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 357, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 10738, + 10739 + ], + "loc": { + "start": { + "line": 357, + "column": 52 + }, + "end": { + "line": 357, + "column": 53 + } + } + }, + "range": [ + 10654, + 10739 + ], + "loc": { + "start": { + "line": 356, + "column": 15 + }, + "end": { + "line": 357, + "column": 53 + } + } + }, + "range": [ + 10647, + 10740 + ], + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 357, + "column": 54 + } + } + } + ], + "range": [ + 10450, + 10746 + ], + "loc": { + "start": { + "line": 349, + "column": 28 + }, + "end": { + "line": 358, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10436, + 10746 + ], + "loc": { + "start": { + "line": 349, + "column": 14 + }, + "end": { + "line": 358, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10426, + 10746 + ], + "loc": { + "start": { + "line": 349, + "column": 4 + }, + "end": { + "line": 358, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the median of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10290, + 10421 + ], + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 348, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the lower quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10752, + 10891 + ], + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcQ1", + "range": [ + 10896, + 10902 + ], + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 365, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 10903, + 10909 + ], + "loc": { + "start": { + "line": 365, + "column": 11 + }, + "end": { + "line": 365, + "column": 17 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10912, + 10914 + ], + "loc": { + "start": { + "line": 365, + "column": 20 + }, + "end": { + "line": 365, + "column": 22 + } + } + }, + "range": [ + 10903, + 10914 + ], + "loc": { + "start": { + "line": 365, + "column": 11 + }, + "end": { + "line": 365, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 10930, + 10938 + ], + "loc": { + "start": { + "line": 366, + "column": 12 + }, + "end": { + "line": 366, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10941, + 10947 + ], + "loc": { + "start": { + "line": 366, + "column": 23 + }, + "end": { + "line": 366, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 10948, + 10954 + ], + "loc": { + "start": { + "line": 366, + "column": 30 + }, + "end": { + "line": 366, + "column": 36 + } + } + }, + "range": [ + 10941, + 10954 + ], + "loc": { + "start": { + "line": 366, + "column": 23 + }, + "end": { + "line": 366, + "column": 36 + } + } + }, + "range": [ + 10930, + 10954 + ], + "loc": { + "start": { + "line": 366, + "column": 12 + }, + "end": { + "line": 366, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 10926, + 10955 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 366, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "posa", + "range": [ + 10968, + 10972 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 16 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0.0", + "range": [ + 10975, + 10978 + ], + "loc": { + "start": { + "line": 367, + "column": 19 + }, + "end": { + "line": 367, + "column": 22 + } + } + }, + "range": [ + 10968, + 10978 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 10964, + 10979 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 367, + "column": 23 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "posa", + "range": [ + 10988, + 10992 + ], + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 10995, + 10999 + ], + "loc": { + "start": { + "line": 368, + "column": 15 + }, + "end": { + "line": 368, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "floor", + "range": [ + 11000, + 11005 + ], + "loc": { + "start": { + "line": 368, + "column": 20 + }, + "end": { + "line": 368, + "column": 25 + } + } + }, + "range": [ + 10995, + 11005 + ], + "loc": { + "start": { + "line": 368, + "column": 15 + }, + "end": { + "line": 368, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11006, + 11014 + ], + "loc": { + "start": { + "line": 368, + "column": 26 + }, + "end": { + "line": 368, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 4, + "raw": "4", + "range": [ + 11017, + 11018 + ], + "loc": { + "start": { + "line": 368, + "column": 37 + }, + "end": { + "line": 368, + "column": 38 + } + } + }, + "range": [ + 11006, + 11018 + ], + "loc": { + "start": { + "line": 368, + "column": 26 + }, + "end": { + "line": 368, + "column": 38 + } + } + } + ], + "range": [ + 10995, + 11019 + ], + "loc": { + "start": { + "line": 368, + "column": 15 + }, + "end": { + "line": 368, + "column": 39 + } + } + }, + "range": [ + 10988, + 11019 + ], + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 39 + } + } + }, + "range": [ + 10988, + 11020 + ], + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 368, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Literal", + "value": 4, + "raw": "4", + "range": [ + 11033, + 11034 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "posa", + "range": [ + 11037, + 11041 + ], + "loc": { + "start": { + "line": 369, + "column": 16 + }, + "end": { + "line": 369, + "column": 20 + } + } + }, + "range": [ + 11033, + 11041 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11046, + 11054 + ], + "loc": { + "start": { + "line": 369, + "column": 25 + }, + "end": { + "line": 369, + "column": 33 + } + } + }, + "range": [ + 11033, + 11054 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11078, + 11084 + ], + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11085, + 11091 + ], + "loc": { + "start": { + "line": 370, + "column": 27 + }, + "end": { + "line": 370, + "column": 33 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "posa", + "range": [ + 11092, + 11096 + ], + "loc": { + "start": { + "line": 370, + "column": 34 + }, + "end": { + "line": 370, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11099, + 11100 + ], + "loc": { + "start": { + "line": 370, + "column": 41 + }, + "end": { + "line": 370, + "column": 42 + } + } + }, + "range": [ + 11092, + 11100 + ], + "loc": { + "start": { + "line": 370, + "column": 34 + }, + "end": { + "line": 370, + "column": 42 + } + } + }, + "range": [ + 11085, + 11101 + ], + "loc": { + "start": { + "line": 370, + "column": 27 + }, + "end": { + "line": 370, + "column": 43 + } + } + } + ], + "range": [ + 11078, + 11102 + ], + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 44 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11121, + 11127 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11128, + 11134 + ], + "loc": { + "start": { + "line": 371, + "column": 23 + }, + "end": { + "line": 371, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "posa", + "range": [ + 11135, + 11139 + ], + "loc": { + "start": { + "line": 371, + "column": 30 + }, + "end": { + "line": 371, + "column": 34 + } + } + }, + "range": [ + 11128, + 11140 + ], + "loc": { + "start": { + "line": 371, + "column": 23 + }, + "end": { + "line": 371, + "column": 35 + } + } + } + ], + "range": [ + 11121, + 11141 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 36 + } + } + }, + "range": [ + 11078, + 11141 + ], + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 371, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 11145, + 11146 + ], + "loc": { + "start": { + "line": 371, + "column": 40 + }, + "end": { + "line": 371, + "column": 41 + } + } + }, + "range": [ + 11077, + 11146 + ], + "loc": { + "start": { + "line": 370, + "column": 19 + }, + "end": { + "line": 371, + "column": 41 + } + } + }, + "range": [ + 11070, + 11147 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 371, + "column": 42 + } + } + } + ], + "range": [ + 11056, + 11157 + ], + "loc": { + "start": { + "line": 369, + "column": 35 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11029, + 11157 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11173, + 11179 + ], + "loc": { + "start": { + "line": 373, + "column": 15 + }, + "end": { + "line": 373, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11180, + 11186 + ], + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "posa", + "range": [ + 11187, + 11191 + ], + "loc": { + "start": { + "line": 373, + "column": 29 + }, + "end": { + "line": 373, + "column": 33 + } + } + }, + "range": [ + 11180, + 11192 + ], + "loc": { + "start": { + "line": 373, + "column": 22 + }, + "end": { + "line": 373, + "column": 34 + } + } + } + ], + "range": [ + 11173, + 11193 + ], + "loc": { + "start": { + "line": 373, + "column": 15 + }, + "end": { + "line": 373, + "column": 35 + } + } + }, + "range": [ + 11166, + 11194 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 373, + "column": 36 + } + } + } + ], + "range": [ + 10916, + 11200 + ], + "loc": { + "start": { + "line": 365, + "column": 24 + }, + "end": { + "line": 374, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10902, + 11200 + ], + "loc": { + "start": { + "line": 365, + "column": 10 + }, + "end": { + "line": 374, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10896, + 11200 + ], + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 374, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the lower quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10752, + 10891 + ], + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the upper quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 11206, + 11345 + ], + "loc": { + "start": { + "line": 376, + "column": 4 + }, + "end": { + "line": 380, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "calcQ3", + "range": [ + 11350, + 11356 + ], + "loc": { + "start": { + "line": 381, + "column": 4 + }, + "end": { + "line": 381, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 11357, + 11363 + ], + "loc": { + "start": { + "line": 381, + "column": 11 + }, + "end": { + "line": 381, + "column": 17 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11366, + 11368 + ], + "loc": { + "start": { + "line": 381, + "column": 20 + }, + "end": { + "line": 381, + "column": 22 + } + } + }, + "range": [ + 11357, + 11368 + ], + "loc": { + "start": { + "line": 381, + "column": 11 + }, + "end": { + "line": 381, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11384, + 11392 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11395, + 11401 + ], + "loc": { + "start": { + "line": 382, + "column": 23 + }, + "end": { + "line": 382, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11402, + 11408 + ], + "loc": { + "start": { + "line": 382, + "column": 30 + }, + "end": { + "line": 382, + "column": 36 + } + } + }, + "range": [ + 11395, + 11408 + ], + "loc": { + "start": { + "line": 382, + "column": 23 + }, + "end": { + "line": 382, + "column": 36 + } + } + }, + "range": [ + 11384, + 11408 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 11380, + 11409 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "posa", + "range": [ + 11422, + 11426 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 16 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0.0", + "range": [ + 11429, + 11432 + ], + "loc": { + "start": { + "line": 383, + "column": 19 + }, + "end": { + "line": 383, + "column": 22 + } + } + }, + "range": [ + 11422, + 11432 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 11418, + 11433 + ], + "loc": { + "start": { + "line": 383, + "column": 8 + }, + "end": { + "line": 383, + "column": 23 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "posb", + "range": [ + 11446, + 11450 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 16 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0.0", + "range": [ + 11453, + 11456 + ], + "loc": { + "start": { + "line": 384, + "column": 19 + }, + "end": { + "line": 384, + "column": 22 + } + } + }, + "range": [ + 11446, + 11456 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 11442, + 11457 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 23 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "posa", + "range": [ + 11466, + 11470 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 11473, + 11477 + ], + "loc": { + "start": { + "line": 385, + "column": 15 + }, + "end": { + "line": 385, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "floor", + "range": [ + 11478, + 11483 + ], + "loc": { + "start": { + "line": 385, + "column": 20 + }, + "end": { + "line": 385, + "column": 25 + } + } + }, + "range": [ + 11473, + 11483 + ], + "loc": { + "start": { + "line": 385, + "column": 15 + }, + "end": { + "line": 385, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11484, + 11492 + ], + "loc": { + "start": { + "line": 385, + "column": 26 + }, + "end": { + "line": 385, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 4, + "raw": "4", + "range": [ + 11495, + 11496 + ], + "loc": { + "start": { + "line": 385, + "column": 37 + }, + "end": { + "line": 385, + "column": 38 + } + } + }, + "range": [ + 11484, + 11496 + ], + "loc": { + "start": { + "line": 385, + "column": 26 + }, + "end": { + "line": 385, + "column": 38 + } + } + } + ], + "range": [ + 11473, + 11497 + ], + "loc": { + "start": { + "line": 385, + "column": 15 + }, + "end": { + "line": 385, + "column": 39 + } + } + }, + "range": [ + 11466, + 11497 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 39 + } + } + }, + "range": [ + 11466, + 11498 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Literal", + "value": 4, + "raw": "4", + "range": [ + 11511, + 11512 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 13 + } + } + }, + "right": { + "type": "Identifier", + "name": "posa", + "range": [ + 11515, + 11519 + ], + "loc": { + "start": { + "line": 386, + "column": 16 + }, + "end": { + "line": 386, + "column": 20 + } + } + }, + "range": [ + 11511, + 11519 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11524, + 11532 + ], + "loc": { + "start": { + "line": 386, + "column": 25 + }, + "end": { + "line": 386, + "column": 33 + } + } + }, + "range": [ + 11511, + 11532 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "posb", + "range": [ + 11548, + 11552 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 16 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 11555, + 11556 + ], + "loc": { + "start": { + "line": 387, + "column": 19 + }, + "end": { + "line": 387, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "posa", + "range": [ + 11559, + 11563 + ], + "loc": { + "start": { + "line": 387, + "column": 23 + }, + "end": { + "line": 387, + "column": 27 + } + } + }, + "range": [ + 11555, + 11563 + ], + "loc": { + "start": { + "line": 387, + "column": 19 + }, + "end": { + "line": 387, + "column": 27 + } + } + }, + "range": [ + 11548, + 11563 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 27 + } + } + }, + "range": [ + 11548, + 11564 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 28 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11585, + 11591 + ], + "loc": { + "start": { + "line": 388, + "column": 20 + }, + "end": { + "line": 388, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11592, + 11598 + ], + "loc": { + "start": { + "line": 388, + "column": 27 + }, + "end": { + "line": 388, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "posb", + "range": [ + 11599, + 11603 + ], + "loc": { + "start": { + "line": 388, + "column": 34 + }, + "end": { + "line": 388, + "column": 38 + } + } + }, + "range": [ + 11592, + 11604 + ], + "loc": { + "start": { + "line": 388, + "column": 27 + }, + "end": { + "line": 388, + "column": 39 + } + } + } + ], + "range": [ + 11585, + 11605 + ], + "loc": { + "start": { + "line": 388, + "column": 20 + }, + "end": { + "line": 388, + "column": 40 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11624, + 11630 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11631, + 11637 + ], + "loc": { + "start": { + "line": 389, + "column": 23 + }, + "end": { + "line": 389, + "column": 29 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "posb", + "range": [ + 11638, + 11642 + ], + "loc": { + "start": { + "line": 389, + "column": 30 + }, + "end": { + "line": 389, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11645, + 11646 + ], + "loc": { + "start": { + "line": 389, + "column": 37 + }, + "end": { + "line": 389, + "column": 38 + } + } + }, + "range": [ + 11638, + 11646 + ], + "loc": { + "start": { + "line": 389, + "column": 30 + }, + "end": { + "line": 389, + "column": 38 + } + } + }, + "range": [ + 11631, + 11647 + ], + "loc": { + "start": { + "line": 389, + "column": 23 + }, + "end": { + "line": 389, + "column": 39 + } + } + } + ], + "range": [ + 11624, + 11648 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 40 + } + } + }, + "range": [ + 11585, + 11648 + ], + "loc": { + "start": { + "line": 388, + "column": 20 + }, + "end": { + "line": 389, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 11652, + 11653 + ], + "loc": { + "start": { + "line": 389, + "column": 44 + }, + "end": { + "line": 389, + "column": 45 + } + } + }, + "range": [ + 11584, + 11653 + ], + "loc": { + "start": { + "line": 388, + "column": 19 + }, + "end": { + "line": 389, + "column": 45 + } + } + }, + "range": [ + 11577, + 11654 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 389, + "column": 46 + } + } + } + ], + "range": [ + 11534, + 11664 + ], + "loc": { + "start": { + "line": 386, + "column": 35 + }, + "end": { + "line": 390, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11507, + 11664 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 390, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 11680, + 11686 + ], + "loc": { + "start": { + "line": 391, + "column": 15 + }, + "end": { + "line": 391, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11687, + 11693 + ], + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 28 + } + } + }, + "property": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "nbValues", + "range": [ + 11694, + 11702 + ], + "loc": { + "start": { + "line": 391, + "column": 29 + }, + "end": { + "line": 391, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "posa", + "range": [ + 11705, + 11709 + ], + "loc": { + "start": { + "line": 391, + "column": 40 + }, + "end": { + "line": 391, + "column": 44 + } + } + }, + "range": [ + 11694, + 11709 + ], + "loc": { + "start": { + "line": 391, + "column": 29 + }, + "end": { + "line": 391, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11712, + 11713 + ], + "loc": { + "start": { + "line": 391, + "column": 47 + }, + "end": { + "line": 391, + "column": 48 + } + } + }, + "range": [ + 11694, + 11713 + ], + "loc": { + "start": { + "line": 391, + "column": 29 + }, + "end": { + "line": 391, + "column": 48 + } + } + }, + "range": [ + 11687, + 11714 + ], + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 49 + } + } + } + ], + "range": [ + 11680, + 11715 + ], + "loc": { + "start": { + "line": 391, + "column": 15 + }, + "end": { + "line": 391, + "column": 50 + } + } + }, + "range": [ + 11673, + 11716 + ], + "loc": { + "start": { + "line": 391, + "column": 8 + }, + "end": { + "line": 391, + "column": 51 + } + } + } + ], + "range": [ + 11370, + 11722 + ], + "loc": { + "start": { + "line": 381, + "column": 24 + }, + "end": { + "line": 392, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11356, + 11722 + ], + "loc": { + "start": { + "line": 381, + "column": 10 + }, + "end": { + "line": 392, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11350, + 11722 + ], + "loc": { + "start": { + "line": 381, + "column": 4 + }, + "end": { + "line": 392, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculate the upper quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 11206, + 11345 + ], + "loc": { + "start": { + "line": 376, + "column": 4 + }, + "end": { + "line": 380, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sort passed values with supplied sorter function.\n * @param {Array} [values=[]] List of values to be sorted\n * @param {Function} sorter Sorter function\n * @returns {Array}\n ", + "range": [ + 11728, + 11930 + ], + "loc": { + "start": { + "line": 394, + "column": 4 + }, + "end": { + "line": 399, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sortColumnValues", + "range": [ + 11935, + 11951 + ], + "loc": { + "start": { + "line": 400, + "column": 4 + }, + "end": { + "line": 400, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 11952, + 11958 + ], + "loc": { + "start": { + "line": 400, + "column": 21 + }, + "end": { + "line": 400, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11961, + 11963 + ], + "loc": { + "start": { + "line": 400, + "column": 30 + }, + "end": { + "line": 400, + "column": 32 + } + } + }, + "range": [ + 11952, + 11963 + ], + "loc": { + "start": { + "line": 400, + "column": 21 + }, + "end": { + "line": 400, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "sorter", + "range": [ + 11965, + 11971 + ], + "loc": { + "start": { + "line": 400, + "column": 34 + }, + "end": { + "line": 400, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11990, + 11996 + ], + "loc": { + "start": { + "line": 401, + "column": 15 + }, + "end": { + "line": 401, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 11997, + 12001 + ], + "loc": { + "start": { + "line": 401, + "column": 22 + }, + "end": { + "line": 401, + "column": 26 + } + } + }, + "range": [ + 11990, + 12001 + ], + "loc": { + "start": { + "line": 401, + "column": 15 + }, + "end": { + "line": 401, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "sorter", + "range": [ + 12002, + 12008 + ], + "loc": { + "start": { + "line": 401, + "column": 27 + }, + "end": { + "line": 401, + "column": 33 + } + } + } + ], + "range": [ + 11990, + 12009 + ], + "loc": { + "start": { + "line": 401, + "column": 15 + }, + "end": { + "line": 401, + "column": 34 + } + } + }, + "range": [ + 11983, + 12010 + ], + "loc": { + "start": { + "line": 401, + "column": 8 + }, + "end": { + "line": 401, + "column": 35 + } + } + } + ], + "range": [ + 11973, + 12016 + ], + "loc": { + "start": { + "line": 400, + "column": 42 + }, + "end": { + "line": 402, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11951, + 12016 + ], + "loc": { + "start": { + "line": 400, + "column": 20 + }, + "end": { + "line": 402, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11935, + 12016 + ], + "loc": { + "start": { + "line": 400, + "column": 4 + }, + "end": { + "line": 402, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sort passed values with supplied sorter function.\n * @param {Array} [values=[]] List of values to be sorted\n * @param {Function} sorter Sorter function\n * @returns {Array}\n ", + "range": [ + 11728, + 11930 + ], + "loc": { + "start": { + "line": 394, + "column": 4 + }, + "end": { + "line": 399, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Write calculation result in passed DOM element with supplied write method\n * and decimal precision.\n * @param {Number} [result=0] Calculation result\n * @param {DOMElement} label DOM element\n * @param {String} [writeType='innerhtml'] Write method\n * @param {Number} [precision=2] Applied decimal precision\n * @private\n ", + "range": [ + 12022, + 12381 + ], + "loc": { + "start": { + "line": 404, + "column": 4 + }, + "end": { + "line": 412, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "writeResult", + "range": [ + 12386, + 12397 + ], + "loc": { + "start": { + "line": 413, + "column": 4 + }, + "end": { + "line": 413, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 12398, + 12404 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12407, + 12408 + ], + "loc": { + "start": { + "line": 413, + "column": 25 + }, + "end": { + "line": 413, + "column": 26 + } + } + }, + "range": [ + 12398, + 12408 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "label", + "range": [ + 12410, + 12415 + ], + "loc": { + "start": { + "line": 413, + "column": 28 + }, + "end": { + "line": 413, + "column": 33 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "writeType", + "range": [ + 12417, + 12426 + ], + "loc": { + "start": { + "line": 413, + "column": 35 + }, + "end": { + "line": 413, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": "innerhtml", + "raw": "'innerhtml'", + "range": [ + 12429, + 12440 + ], + "loc": { + "start": { + "line": 413, + "column": 47 + }, + "end": { + "line": 413, + "column": 58 + } + } + }, + "range": [ + 12417, + 12440 + ], + "loc": { + "start": { + "line": 413, + "column": 35 + }, + "end": { + "line": 413, + "column": 58 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "precision", + "range": [ + 12450, + 12459 + ], + "loc": { + "start": { + "line": 414, + "column": 8 + }, + "end": { + "line": 414, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 12462, + 12463 + ], + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 21 + } + } + }, + "range": [ + 12450, + 12463 + ], + "loc": { + "start": { + "line": 414, + "column": 8 + }, + "end": { + "line": 414, + "column": 21 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "format", + "range": [ + 12465, + 12471 + ], + "loc": { + "start": { + "line": 414, + "column": 23 + }, + "end": { + "line": 414, + "column": 29 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 12474, + 12476 + ], + "loc": { + "start": { + "line": 414, + "column": 32 + }, + "end": { + "line": 414, + "column": 34 + } + } + }, + "range": [ + 12465, + 12476 + ], + "loc": { + "start": { + "line": 414, + "column": 23 + }, + "end": { + "line": 414, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 12492, + 12500 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 12503, + 12506 + ], + "loc": { + "start": { + "line": 415, + "column": 23 + }, + "end": { + "line": 415, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "label", + "range": [ + 12507, + 12512 + ], + "loc": { + "start": { + "line": 415, + "column": 27 + }, + "end": { + "line": 415, + "column": 32 + } + } + } + ], + "range": [ + 12503, + 12513 + ], + "loc": { + "start": { + "line": 415, + "column": 23 + }, + "end": { + "line": 415, + "column": 33 + } + } + }, + "range": [ + 12492, + 12513 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 12488, + 12514 + ], + "loc": { + "start": { + "line": 415, + "column": 8 + }, + "end": { + "line": 415, + "column": 34 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 12529, + 12537 + ], + "loc": { + "start": { + "line": 417, + "column": 13 + }, + "end": { + "line": 417, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 12528, + 12537 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 12553, + 12560 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 19 + } + } + } + ], + "range": [ + 12539, + 12570 + ], + "loc": { + "start": { + "line": 417, + "column": 23 + }, + "end": { + "line": 419, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 12524, + 12570 + ], + "loc": { + "start": { + "line": 417, + "column": 8 + }, + "end": { + "line": 419, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 12580, + 12586 + ], + "loc": { + "start": { + "line": 421, + "column": 8 + }, + "end": { + "line": 421, + "column": 14 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "result", + "range": [ + 12589, + 12595 + ], + "loc": { + "start": { + "line": 421, + "column": 17 + }, + "end": { + "line": 421, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "toFixed", + "range": [ + 12596, + 12603 + ], + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 31 + } + } + }, + "range": [ + 12589, + 12603 + ], + "loc": { + "start": { + "line": 421, + "column": 17 + }, + "end": { + "line": 421, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "precision", + "range": [ + 12604, + 12613 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 421, + "column": 41 + } + } + } + ], + "range": [ + 12589, + 12614 + ], + "loc": { + "start": { + "line": 421, + "column": 17 + }, + "end": { + "line": 421, + "column": 42 + } + } + }, + "range": [ + 12580, + 12614 + ], + "loc": { + "start": { + "line": 421, + "column": 8 + }, + "end": { + "line": 421, + "column": 42 + } + } + }, + "range": [ + 12580, + 12615 + ], + "loc": { + "start": { + "line": 421, + "column": 8 + }, + "end": { + "line": 421, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 12628, + 12633 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 12634, + 12640 + ], + "loc": { + "start": { + "line": 422, + "column": 18 + }, + "end": { + "line": 422, + "column": 24 + } + } + } + ], + "range": [ + 12628, + 12641 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isFinite", + "range": [ + 12646, + 12654 + ], + "loc": { + "start": { + "line": 422, + "column": 30 + }, + "end": { + "line": 422, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 12655, + 12661 + ], + "loc": { + "start": { + "line": 422, + "column": 39 + }, + "end": { + "line": 422, + "column": 45 + } + } + } + ], + "range": [ + 12646, + 12662 + ], + "loc": { + "start": { + "line": 422, + "column": 30 + }, + "end": { + "line": 422, + "column": 46 + } + } + }, + "prefix": true, + "range": [ + 12645, + 12662 + ], + "loc": { + "start": { + "line": 422, + "column": 29 + }, + "end": { + "line": 422, + "column": 46 + } + } + }, + "range": [ + 12628, + 12662 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 12678, + 12684 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12687, + 12689 + ], + "loc": { + "start": { + "line": 423, + "column": 21 + }, + "end": { + "line": 423, + "column": 23 + } + } + }, + "range": [ + 12678, + 12689 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 23 + } + } + }, + "range": [ + 12678, + 12690 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 24 + } + } + } + ], + "range": [ + 12664, + 12700 + ], + "loc": { + "start": { + "line": 422, + "column": 48 + }, + "end": { + "line": 424, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "result", + "range": [ + 12720, + 12726 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "formatNumber", + "range": [ + 12729, + 12741 + ], + "loc": { + "start": { + "line": 425, + "column": 21 + }, + "end": { + "line": 425, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "format", + "range": [ + 12742, + 12748 + ], + "loc": { + "start": { + "line": 425, + "column": 34 + }, + "end": { + "line": 425, + "column": 40 + } + } + } + ], + "range": [ + 12729, + 12749 + ], + "loc": { + "start": { + "line": 425, + "column": 21 + }, + "end": { + "line": 425, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 12750, + 12756 + ], + "loc": { + "start": { + "line": 425, + "column": 42 + }, + "end": { + "line": 425, + "column": 48 + } + } + } + ], + "range": [ + 12729, + 12757 + ], + "loc": { + "start": { + "line": 425, + "column": 21 + }, + "end": { + "line": 425, + "column": 49 + } + } + }, + "range": [ + 12720, + 12757 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 49 + } + } + }, + "range": [ + 12720, + 12758 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 50 + } + } + } + ], + "range": [ + 12706, + 12768 + ], + "loc": { + "start": { + "line": 424, + "column": 15 + }, + "end": { + "line": 426, + "column": 9 + } + } + }, + "range": [ + 12624, + 12768 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 426, + "column": 9 + } + } + }, + { + "type": "SwitchStatement", + "discriminant": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "writeType", + "range": [ + 12786, + 12795 + ], + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 12796, + 12807 + ], + "loc": { + "start": { + "line": 428, + "column": 26 + }, + "end": { + "line": 428, + "column": 37 + } + } + }, + "range": [ + 12786, + 12807 + ], + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 12786, + 12809 + ], + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 39 + } + } + }, + "cases": [ + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "innerhtml", + "raw": "'innerhtml'", + "range": [ + 12830, + 12841 + ], + "loc": { + "start": { + "line": 429, + "column": 17 + }, + "end": { + "line": 429, + "column": 28 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 12859, + 12867 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 12868, + 12877 + ], + "loc": { + "start": { + "line": 430, + "column": 25 + }, + "end": { + "line": 430, + "column": 34 + } + } + }, + "range": [ + 12859, + 12877 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 34 + } + } + }, + "right": { + "type": "Identifier", + "name": "result", + "range": [ + 12880, + 12886 + ], + "loc": { + "start": { + "line": 430, + "column": 37 + }, + "end": { + "line": 430, + "column": 43 + } + } + }, + "range": [ + 12859, + 12886 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 43 + } + } + }, + "range": [ + 12859, + 12887 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 44 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 12904, + 12910 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 22 + } + } + } + ], + "range": [ + 12825, + 12910 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 431, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "setvalue", + "raw": "'setvalue'", + "range": [ + 12928, + 12938 + ], + "loc": { + "start": { + "line": 432, + "column": 17 + }, + "end": { + "line": 432, + "column": 27 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 12956, + 12964 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 12965, + 12970 + ], + "loc": { + "start": { + "line": 433, + "column": 25 + }, + "end": { + "line": 433, + "column": 30 + } + } + }, + "range": [ + 12956, + 12970 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "result", + "range": [ + 12973, + 12979 + ], + "loc": { + "start": { + "line": 433, + "column": 33 + }, + "end": { + "line": 433, + "column": 39 + } + } + }, + "range": [ + 12956, + 12979 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 39 + } + } + }, + "range": [ + 12956, + 12980 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 40 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 12997, + 13003 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 22 + } + } + } + ], + "range": [ + 12923, + 13003 + ], + "loc": { + "start": { + "line": 432, + "column": 12 + }, + "end": { + "line": 434, + "column": 22 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "createtextnode", + "raw": "'createtextnode'", + "range": [ + 13021, + 13037 + ], + "loc": { + "start": { + "line": 435, + "column": 17 + }, + "end": { + "line": 435, + "column": 33 + } + } + }, + "consequent": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "oldNode", + "range": [ + 13059, + 13066 + ], + "loc": { + "start": { + "line": 436, + "column": 20 + }, + "end": { + "line": 436, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 13069, + 13077 + ], + "loc": { + "start": { + "line": 436, + "column": 30 + }, + "end": { + "line": 436, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 13078, + 13088 + ], + "loc": { + "start": { + "line": 436, + "column": 39 + }, + "end": { + "line": 436, + "column": 49 + } + } + }, + "range": [ + 13069, + 13088 + ], + "loc": { + "start": { + "line": 436, + "column": 30 + }, + "end": { + "line": 436, + "column": 49 + } + } + }, + "range": [ + 13059, + 13088 + ], + "loc": { + "start": { + "line": 436, + "column": 20 + }, + "end": { + "line": 436, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 13055, + 13089 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "txtNode", + "range": [ + 13110, + 13117 + ], + "loc": { + "start": { + "line": 437, + "column": 20 + }, + "end": { + "line": 437, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 13120, + 13130 + ], + "loc": { + "start": { + "line": 437, + "column": 30 + }, + "end": { + "line": 437, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "result", + "range": [ + 13131, + 13137 + ], + "loc": { + "start": { + "line": 437, + "column": 41 + }, + "end": { + "line": 437, + "column": 47 + } + } + } + ], + "range": [ + 13120, + 13138 + ], + "loc": { + "start": { + "line": 437, + "column": 30 + }, + "end": { + "line": 437, + "column": 48 + } + } + }, + "range": [ + 13110, + 13138 + ], + "loc": { + "start": { + "line": 437, + "column": 20 + }, + "end": { + "line": 437, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 13106, + 13139 + ], + "loc": { + "start": { + "line": 437, + "column": 16 + }, + "end": { + "line": 437, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "labelElm", + "range": [ + 13156, + 13164 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "replaceChild", + "range": [ + 13165, + 13177 + ], + "loc": { + "start": { + "line": 438, + "column": 25 + }, + "end": { + "line": 438, + "column": 37 + } + } + }, + "range": [ + 13156, + 13177 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "txtNode", + "range": [ + 13178, + 13185 + ], + "loc": { + "start": { + "line": 438, + "column": 38 + }, + "end": { + "line": 438, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "oldNode", + "range": [ + 13187, + 13194 + ], + "loc": { + "start": { + "line": 438, + "column": 47 + }, + "end": { + "line": 438, + "column": 54 + } + } + } + ], + "range": [ + 13156, + 13195 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 55 + } + } + }, + "range": [ + 13156, + 13196 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 438, + "column": 56 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 13213, + 13219 + ], + "loc": { + "start": { + "line": 439, + "column": 16 + }, + "end": { + "line": 439, + "column": 22 + } + } + } + ], + "range": [ + 13016, + 13219 + ], + "loc": { + "start": { + "line": 435, + "column": 12 + }, + "end": { + "line": 439, + "column": 22 + } + } + } + ], + "range": [ + 12778, + 13229 + ], + "loc": { + "start": { + "line": 428, + "column": 8 + }, + "end": { + "line": 440, + "column": 9 + } + } + } + ], + "range": [ + 12478, + 13235 + ], + "loc": { + "start": { + "line": 414, + "column": 36 + }, + "end": { + "line": 441, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12397, + 13235 + ], + "loc": { + "start": { + "line": 413, + "column": 15 + }, + "end": { + "line": 441, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12386, + 13235 + ], + "loc": { + "start": { + "line": 413, + "column": 4 + }, + "end": { + "line": 441, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Write calculation result in passed DOM element with supplied write method\n * and decimal precision.\n * @param {Number} [result=0] Calculation result\n * @param {DOMElement} label DOM element\n * @param {String} [writeType='innerhtml'] Write method\n * @param {Number} [precision=2] Applied decimal precision\n * @private\n ", + "range": [ + 12022, + 12381 + ], + "loc": { + "start": { + "line": 404, + "column": 4 + }, + "end": { + "line": 412, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Configure the format options used to format the operation result based\n * on column type.\n * @param {Number} colIndex Column index\n * @param {Object} [format={}] Format object\n * @returns {Object}\n * @private\n ", + "range": [ + 13241, + 13488 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 450, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "configureFormat", + "range": [ + 13493, + 13508 + ], + "loc": { + "start": { + "line": 451, + "column": 4 + }, + "end": { + "line": 451, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13509, + 13517 + ], + "loc": { + "start": { + "line": 451, + "column": 20 + }, + "end": { + "line": 451, + "column": 28 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "format", + "range": [ + 13519, + 13525 + ], + "loc": { + "start": { + "line": 451, + "column": 30 + }, + "end": { + "line": 451, + "column": 36 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 13528, + 13530 + ], + "loc": { + "start": { + "line": 451, + "column": 39 + }, + "end": { + "line": 451, + "column": 41 + } + } + }, + "range": [ + 13519, + 13530 + ], + "loc": { + "start": { + "line": 451, + "column": 30 + }, + "end": { + "line": 451, + "column": 41 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 13546, + 13548 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13551, + 13555 + ], + "loc": { + "start": { + "line": 452, + "column": 17 + }, + "end": { + "line": 452, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 13556, + 13558 + ], + "loc": { + "start": { + "line": 452, + "column": 22 + }, + "end": { + "line": 452, + "column": 24 + } + } + }, + "range": [ + 13551, + 13558 + ], + "loc": { + "start": { + "line": 452, + "column": 17 + }, + "end": { + "line": 452, + "column": 24 + } + } + }, + "range": [ + 13546, + 13558 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 13542, + 13559 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13572, + 13574 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 13575, + 13582 + ], + "loc": { + "start": { + "line": 453, + "column": 15 + }, + "end": { + "line": 453, + "column": 22 + } + } + }, + "range": [ + 13572, + 13582 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13583, + 13591 + ], + "loc": { + "start": { + "line": 453, + "column": 23 + }, + "end": { + "line": 453, + "column": 31 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 13594, + 13610 + ], + "loc": { + "start": { + "line": 453, + "column": 34 + }, + "end": { + "line": 453, + "column": 50 + } + } + } + ], + "range": [ + 13593, + 13611 + ], + "loc": { + "start": { + "line": 453, + "column": 33 + }, + "end": { + "line": 453, + "column": 51 + } + } + } + ], + "range": [ + 13572, + 13612 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 13632, + 13639 + ], + "loc": { + "start": { + "line": 454, + "column": 16 + }, + "end": { + "line": 454, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13642, + 13644 + ], + "loc": { + "start": { + "line": 454, + "column": 26 + }, + "end": { + "line": 454, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 13645, + 13653 + ], + "loc": { + "start": { + "line": 454, + "column": 29 + }, + "end": { + "line": 454, + "column": 37 + } + } + }, + "range": [ + 13642, + 13653 + ], + "loc": { + "start": { + "line": 454, + "column": 26 + }, + "end": { + "line": 454, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13654, + 13662 + ], + "loc": { + "start": { + "line": 454, + "column": 38 + }, + "end": { + "line": 454, + "column": 46 + } + } + }, + "range": [ + 13642, + 13663 + ], + "loc": { + "start": { + "line": 454, + "column": 26 + }, + "end": { + "line": 454, + "column": 47 + } + } + }, + "range": [ + 13632, + 13663 + ], + "loc": { + "start": { + "line": 454, + "column": 16 + }, + "end": { + "line": 454, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 13628, + 13664 + ], + "loc": { + "start": { + "line": 454, + "column": 12 + }, + "end": { + "line": 454, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 13681, + 13688 + ], + "loc": { + "start": { + "line": 455, + "column": 16 + }, + "end": { + "line": 455, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13689, + 13696 + ], + "loc": { + "start": { + "line": 455, + "column": 24 + }, + "end": { + "line": 455, + "column": 31 + } + } + }, + "range": [ + 13681, + 13696 + ], + "loc": { + "start": { + "line": 455, + "column": 16 + }, + "end": { + "line": 455, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13701, + 13707 + ], + "loc": { + "start": { + "line": 455, + "column": 36 + }, + "end": { + "line": 455, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13708, + 13715 + ], + "loc": { + "start": { + "line": 455, + "column": 43 + }, + "end": { + "line": 455, + "column": 50 + } + } + }, + "range": [ + 13701, + 13715 + ], + "loc": { + "start": { + "line": 455, + "column": 36 + }, + "end": { + "line": 455, + "column": 50 + } + } + }, + "prefix": true, + "range": [ + 13700, + 13715 + ], + "loc": { + "start": { + "line": 455, + "column": 35 + }, + "end": { + "line": 455, + "column": 50 + } + } + }, + "range": [ + 13681, + 13715 + ], + "loc": { + "start": { + "line": 455, + "column": 16 + }, + "end": { + "line": 455, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13735, + 13741 + ], + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13742, + 13749 + ], + "loc": { + "start": { + "line": 456, + "column": 23 + }, + "end": { + "line": 456, + "column": 30 + } + } + }, + "range": [ + 13735, + 13749 + ], + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 13752, + 13759 + ], + "loc": { + "start": { + "line": 456, + "column": 33 + }, + "end": { + "line": 456, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13760, + 13767 + ], + "loc": { + "start": { + "line": 456, + "column": 41 + }, + "end": { + "line": 456, + "column": 48 + } + } + }, + "range": [ + 13752, + 13767 + ], + "loc": { + "start": { + "line": 456, + "column": 33 + }, + "end": { + "line": 456, + "column": 48 + } + } + }, + "range": [ + 13735, + 13767 + ], + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 48 + } + } + }, + "range": [ + 13735, + 13768 + ], + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 49 + } + } + } + ], + "range": [ + 13717, + 13782 + ], + "loc": { + "start": { + "line": 455, + "column": 52 + }, + "end": { + "line": 457, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13677, + 13782 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 457, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 13799, + 13806 + ], + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 458, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "thousands", + "range": [ + 13807, + 13816 + ], + "loc": { + "start": { + "line": 458, + "column": 24 + }, + "end": { + "line": 458, + "column": 33 + } + } + }, + "range": [ + 13799, + 13816 + ], + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 458, + "column": 33 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13821, + 13827 + ], + "loc": { + "start": { + "line": 458, + "column": 38 + }, + "end": { + "line": 458, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "integerSeparator", + "range": [ + 13828, + 13844 + ], + "loc": { + "start": { + "line": 458, + "column": 45 + }, + "end": { + "line": 458, + "column": 61 + } + } + }, + "range": [ + 13821, + 13844 + ], + "loc": { + "start": { + "line": 458, + "column": 38 + }, + "end": { + "line": 458, + "column": 61 + } + } + }, + "prefix": true, + "range": [ + 13820, + 13844 + ], + "loc": { + "start": { + "line": 458, + "column": 37 + }, + "end": { + "line": 458, + "column": 61 + } + } + }, + "range": [ + 13799, + 13844 + ], + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 458, + "column": 61 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13864, + 13870 + ], + "loc": { + "start": { + "line": 459, + "column": 16 + }, + "end": { + "line": 459, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "integerSeparator", + "range": [ + 13871, + 13887 + ], + "loc": { + "start": { + "line": 459, + "column": 23 + }, + "end": { + "line": 459, + "column": 39 + } + } + }, + "range": [ + 13864, + 13887 + ], + "loc": { + "start": { + "line": 459, + "column": 16 + }, + "end": { + "line": 459, + "column": 39 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 13890, + 13897 + ], + "loc": { + "start": { + "line": 459, + "column": 42 + }, + "end": { + "line": 459, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "thousands", + "range": [ + 13898, + 13907 + ], + "loc": { + "start": { + "line": 459, + "column": 50 + }, + "end": { + "line": 459, + "column": 59 + } + } + }, + "range": [ + 13890, + 13907 + ], + "loc": { + "start": { + "line": 459, + "column": 42 + }, + "end": { + "line": 459, + "column": 59 + } + } + }, + "range": [ + 13864, + 13907 + ], + "loc": { + "start": { + "line": 459, + "column": 16 + }, + "end": { + "line": 459, + "column": 59 + } + } + }, + "range": [ + 13864, + 13908 + ], + "loc": { + "start": { + "line": 459, + "column": 16 + }, + "end": { + "line": 459, + "column": 60 + } + } + } + ], + "range": [ + 13846, + 13922 + ], + "loc": { + "start": { + "line": 458, + "column": 63 + }, + "end": { + "line": 460, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13795, + 13922 + ], + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 460, + "column": 13 + } + } + } + ], + "range": [ + 13614, + 13932 + ], + "loc": { + "start": { + "line": 453, + "column": 54 + }, + "end": { + "line": 461, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13952, + 13958 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13959, + 13966 + ], + "loc": { + "start": { + "line": 462, + "column": 19 + }, + "end": { + "line": 462, + "column": 26 + } + } + }, + "range": [ + 13952, + 13966 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 26 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 13969, + 13975 + ], + "loc": { + "start": { + "line": 462, + "column": 29 + }, + "end": { + "line": 462, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 13976, + 13983 + ], + "loc": { + "start": { + "line": 462, + "column": 36 + }, + "end": { + "line": 462, + "column": 43 + } + } + }, + "range": [ + 13969, + 13983 + ], + "loc": { + "start": { + "line": 462, + "column": 29 + }, + "end": { + "line": 462, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13987, + 13989 + ], + "loc": { + "start": { + "line": 462, + "column": 47 + }, + "end": { + "line": 462, + "column": 49 + } + } + }, + "range": [ + 13969, + 13989 + ], + "loc": { + "start": { + "line": 462, + "column": 29 + }, + "end": { + "line": 462, + "column": 49 + } + } + }, + "range": [ + 13952, + 13989 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 49 + } + } + }, + "range": [ + 13952, + 13990 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 14003, + 14009 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "integerSeparator", + "range": [ + 14010, + 14026 + ], + "loc": { + "start": { + "line": 463, + "column": 19 + }, + "end": { + "line": 463, + "column": 35 + } + } + }, + "range": [ + 14003, + 14026 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 35 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "format", + "range": [ + 14029, + 14035 + ], + "loc": { + "start": { + "line": 463, + "column": 38 + }, + "end": { + "line": 463, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "integerSeparator", + "range": [ + 14036, + 14052 + ], + "loc": { + "start": { + "line": 463, + "column": 45 + }, + "end": { + "line": 463, + "column": 61 + } + } + }, + "range": [ + 14029, + 14052 + ], + "loc": { + "start": { + "line": 463, + "column": 38 + }, + "end": { + "line": 463, + "column": 61 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 14056, + 14058 + ], + "loc": { + "start": { + "line": 463, + "column": 65 + }, + "end": { + "line": 463, + "column": 67 + } + } + }, + "range": [ + 14029, + 14058 + ], + "loc": { + "start": { + "line": 463, + "column": 38 + }, + "end": { + "line": 463, + "column": 67 + } + } + }, + "range": [ + 14003, + 14058 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 67 + } + } + }, + "range": [ + 14003, + 14059 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 68 + } + } + } + ], + "range": [ + 13938, + 14069 + ], + "loc": { + "start": { + "line": 461, + "column": 15 + }, + "end": { + "line": 464, + "column": 9 + } + } + }, + "range": [ + 13568, + 14069 + ], + "loc": { + "start": { + "line": 453, + "column": 8 + }, + "end": { + "line": 464, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "format", + "range": [ + 14085, + 14091 + ], + "loc": { + "start": { + "line": 465, + "column": 15 + }, + "end": { + "line": 465, + "column": 21 + } + } + }, + "range": [ + 14078, + 14092 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 22 + } + } + } + ], + "range": [ + 13532, + 14098 + ], + "loc": { + "start": { + "line": 451, + "column": 43 + }, + "end": { + "line": 466, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13508, + 14098 + ], + "loc": { + "start": { + "line": 451, + "column": 19 + }, + "end": { + "line": 466, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13493, + 14098 + ], + "loc": { + "start": { + "line": 451, + "column": 4 + }, + "end": { + "line": 466, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Configure the format options used to format the operation result based\n * on column type.\n * @param {Number} colIndex Column index\n * @param {Object} [format={}] Format object\n * @returns {Object}\n * @private\n ", + "range": [ + 13241, + 13488 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 450, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* Remove extension ", + "range": [ + 14104, + 14127 + ], + "loc": { + "start": { + "line": 468, + "column": 4 + }, + "end": { + "line": 468, + "column": 27 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 14132, + 14139 + ], + "loc": { + "start": { + "line": 469, + "column": 4 + }, + "end": { + "line": 469, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14157, + 14161 + ], + "loc": { + "start": { + "line": 470, + "column": 13 + }, + "end": { + "line": 470, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 14162, + 14173 + ], + "loc": { + "start": { + "line": 470, + "column": 18 + }, + "end": { + "line": 470, + "column": 29 + } + } + }, + "range": [ + 14157, + 14173 + ], + "loc": { + "start": { + "line": 470, + "column": 13 + }, + "end": { + "line": 470, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 14156, + 14173 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 14189, + 14196 + ], + "loc": { + "start": { + "line": 471, + "column": 12 + }, + "end": { + "line": 471, + "column": 19 + } + } + } + ], + "range": [ + 14175, + 14206 + ], + "loc": { + "start": { + "line": 470, + "column": 31 + }, + "end": { + "line": 472, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14152, + 14206 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 472, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 14215, + 14239 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14248, + 14252 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14253, + 14260 + ], + "loc": { + "start": { + "line": 474, + "column": 13 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "range": [ + 14248, + 14260 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 14261, + 14264 + ], + "loc": { + "start": { + "line": 474, + "column": 21 + }, + "end": { + "line": 474, + "column": 24 + } + } + }, + "range": [ + 14248, + 14264 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 14265, + 14271 + ], + "loc": { + "start": { + "line": 474, + "column": 25 + }, + "end": { + "line": 474, + "column": 31 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14279, + 14283 + ], + "loc": { + "start": { + "line": 474, + "column": 39 + }, + "end": { + "line": 474, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "calcAll", + "range": [ + 14284, + 14291 + ], + "loc": { + "start": { + "line": 474, + "column": 44 + }, + "end": { + "line": 474, + "column": 51 + } + } + }, + "range": [ + 14279, + 14291 + ], + "loc": { + "start": { + "line": 474, + "column": 39 + }, + "end": { + "line": 474, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 14279, + 14293 + ], + "loc": { + "start": { + "line": 474, + "column": 39 + }, + "end": { + "line": 474, + "column": 53 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14273, + 14293 + ], + "loc": { + "start": { + "line": 474, + "column": 33 + }, + "end": { + "line": 474, + "column": 53 + } + } + } + ], + "range": [ + 14248, + 14294 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 54 + } + } + }, + "range": [ + 14248, + 14295 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 14215, + 14239 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14305, + 14309 + ], + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 14310, + 14321 + ], + "loc": { + "start": { + "line": 476, + "column": 13 + }, + "end": { + "line": 476, + "column": 24 + } + } + }, + "range": [ + 14305, + 14321 + ], + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 14324, + 14329 + ], + "loc": { + "start": { + "line": 476, + "column": 27 + }, + "end": { + "line": 476, + "column": 32 + } + } + }, + "range": [ + 14305, + 14329 + ], + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 32 + } + } + }, + "range": [ + 14305, + 14330 + ], + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 33 + } + } + } + ], + "range": [ + 14142, + 14336 + ], + "loc": { + "start": { + "line": 469, + "column": 14 + }, + "end": { + "line": 477, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14139, + 14336 + ], + "loc": { + "start": { + "line": 469, + "column": 11 + }, + "end": { + "line": 477, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 14132, + 14336 + ], + "loc": { + "start": { + "line": 469, + "column": 4 + }, + "end": { + "line": 477, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Remove extension ", + "range": [ + 14104, + 14127 + ], + "loc": { + "start": { + "line": 468, + "column": 4 + }, + "end": { + "line": 468, + "column": 27 + } + } + } + ], + "static": false + } + ], + "range": [ + 645, + 14339 + ], + "loc": { + "start": { + "line": 26, + "column": 44 + }, + "end": { + "line": 479, + "column": 1 + } + } + }, + "range": [ + 616, + 14339 + ], + "loc": { + "start": { + "line": 26, + "column": 15 + }, + "end": { + "line": 479, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Column calculations extension\n ", + "range": [ + 560, + 600 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "range": [ + 601, + 14339 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 479, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Column calculations extension\n ", + "range": [ + 560, + 600 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 14339 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 479, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Column calculations extension\n ", + "range": [ + 560, + 600 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of ColOps\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n ", + "range": [ + 652, + 808 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before columns operations start\n * @type {Function}\n ", + "range": [ + 876, + 977 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after columns operations are completed\n * @type {Function}\n ", + "range": [ + 1068, + 1176 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Configuration options\n * @type {Object}\n ", + "range": [ + 1265, + 1339 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of DOM element IDs containing column's calculation result\n * @type {Array}\n ", + "range": [ + 1375, + 1489 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of columns' indexes for calculations\n * @type {Array}\n ", + "range": [ + 1549, + 1642 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of operations - possible values: 'sum', 'mean', 'min', 'max',\n * 'median', 'q1', 'q3'\n * @type {Array}\n ", + "range": [ + 1705, + 1855 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 71, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of write methods used to write the result - possible values:\n * 'innerHTML', 'setValue', 'createTextNode'\n * @type {Array}\n ", + "range": [ + 1924, + 2094 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of format objects used for formatting the result -\n * refer to https://github.com/componitable/format-number to check\n * configuration options\n * @type {Array}\n ", + "range": [ + 2167, + 2382 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of row indexes displaying the results\n * @type {Array}\n ", + "range": [ + 2458, + 2552 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of row indexes excluded from calculations\n * @type {Array}\n ", + "range": [ + 2628, + 2726 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of decimal precision for calculation results\n * @type {Array}\n ", + "range": [ + 2798, + 2899 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes ColOps instance\n ", + "range": [ + 3008, + 3054 + ], + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 112, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3138, + 3160 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3250, + 3267 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculates columns' values\n * Configuration options are stored in 'opts' property\n * - 'id' contains ids of elements showing result (array)\n * - 'col' contains the columns' indexes (array)\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\n * 'min', 'max', 'median', 'q1', 'q3')\n * - 'write_method' array defines which method to use for displaying the\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\n * - 'tot_row_index' defines in which row results are displayed\n * (integers array)\n *\n * - changes made by Nuovella:\n * (1) optimized the routine (now it will only process each column once),\n * (2) added calculations for the median, lower and upper quartile.\n ", + "range": [ + 3312, + 4093 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "nuovella: determine unique list of columns to operate on", + "range": [ + 4479, + 4537 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 66 + } + } + }, + { + "type": "Line", + "value": "this retrieves col values", + "range": [ + 4870, + 4897 + ], + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "use uIndexes because we only want to pass through this loop", + "range": [ + 4910, + 4971 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "once for each column get the values in this unique column", + "range": [ + 4984, + 5043 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 71 + } + } + }, + { + "type": "Line", + "value": "next: calculate all operations for this column", + "range": [ + 5216, + 5264 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " emit values before column calculation", + "range": [ + 6097, + 6137 + ], + "loc": { + "start": { + "line": 200, + "column": 16 + }, + "end": { + "line": 200, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " emit column calculation result", + "range": [ + 6511, + 6544 + ], + "loc": { + "start": { + "line": 213, + "column": 16 + }, + "end": { + "line": 213, + "column": 49 + } + } + }, + { + "type": "Line", + "value": " write result in expected DOM element", + "range": [ + 6831, + 6870 + ], + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 55 + } + } + }, + { + "type": "Line", + "value": "for i", + "range": [ + 7099, + 7106 + ], + "loc": { + "start": { + "line": 233, + "column": 13 + }, + "end": { + "line": 233, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " row(s) with result are always visible", + "range": [ + 7120, + 7160 + ], + "loc": { + "start": { + "line": 235, + "column": 12 + }, + "end": { + "line": 235, + "column": 52 + } + } + }, + { + "type": "Line", + "value": "for u", + "range": [ + 7361, + 7368 + ], + "loc": { + "start": { + "line": 241, + "column": 9 + }, + "end": { + "line": 241, + "column": 16 + } + } + }, + { + "type": "Block", + "value": "*\n * Make desired calculation on specified column.\n * @param {Number} colIndex Column index\n * @param {String} [operation=SUM] Operation type\n * @param {Number} precision Decimal precision\n * @returns {Number}\n ", + "range": [ + 7485, + 7724 + ], + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 253, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Make calculation on passed values.\n * @param {Array} values List of values\n * @param {String} [operation=SUM] Optional operation type\n * @param {Number} precision Optional result precision\n * @returns {Number}\n * @private\n ", + "range": [ + 7988, + 8248 + ], + "loc": { + "start": { + "line": 261, + "column": 4 + }, + "end": { + "line": 268, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the sum of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9273, + 9401 + ], + "loc": { + "start": { + "line": 303, + "column": 4 + }, + "end": { + "line": 307, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the mean of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9595, + 9724 + ], + "loc": { + "start": { + "line": 316, + "column": 4 + }, + "end": { + "line": 320, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the max value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 9854, + 9988 + ], + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 330, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the min value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10072, + 10206 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the median of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10290, + 10421 + ], + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 348, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the lower quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 10752, + 10891 + ], + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 364, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculate the upper quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n ", + "range": [ + 11206, + 11345 + ], + "loc": { + "start": { + "line": 376, + "column": 4 + }, + "end": { + "line": 380, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sort passed values with supplied sorter function.\n * @param {Array} [values=[]] List of values to be sorted\n * @param {Function} sorter Sorter function\n * @returns {Array}\n ", + "range": [ + 11728, + 11930 + ], + "loc": { + "start": { + "line": 394, + "column": 4 + }, + "end": { + "line": 399, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Write calculation result in passed DOM element with supplied write method\n * and decimal precision.\n * @param {Number} [result=0] Calculation result\n * @param {DOMElement} label DOM element\n * @param {String} [writeType='innerhtml'] Write method\n * @param {Number} [precision=2] Applied decimal precision\n * @private\n ", + "range": [ + 12022, + 12381 + ], + "loc": { + "start": { + "line": 404, + "column": 4 + }, + "end": { + "line": 412, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Configure the format options used to format the operation result based\n * on column type.\n * @param {Number} colIndex Column index\n * @param {Object} [format={}] Format object\n * @returns {Object}\n * @private\n ", + "range": [ + 13241, + 13488 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 450, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* Remove extension ", + "range": [ + 14104, + 14127 + ], + "loc": { + "start": { + "line": 468, + "column": 4 + }, + "end": { + "line": 468, + "column": 27 + } + } + }, + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 14215, + 14239 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json new file mode 100644 index 00000000..77e04d82 --- /dev/null +++ b/docs/ast/source/extensions/colsVisibility/colsVisibility.js.json @@ -0,0 +1,42800 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../feature", + "raw": "'../../feature'", + "range": [ + 22, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + "range": [ + 0, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addClass", + "range": [ + 52, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addClass", + "range": [ + 52, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "range": [ + 52, + 60 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 62, + 73 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 62, + 73 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 62, + 73 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 75, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 75, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + "range": [ + 75, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 92, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 92, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + "range": [ + 92, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 44 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 108, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 60 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 108, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 60 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + "range": [ + 108, + 117 + ], + "loc": { + "start": { + "line": 3, + "column": 60 + }, + "end": { + "line": 3, + "column": 69 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getText", + "range": [ + 123, + 130 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getText", + "range": [ + 123, + 130 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + "range": [ + 123, + 130 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 11 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../dom", + "raw": "'../../dom'", + "range": [ + 138, + 149 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + "range": [ + 39, + 150 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 159, + 166 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 159, + 166 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 159, + 166 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 168, + 176 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 168, + 176 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + "range": [ + 168, + 176 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../types", + "raw": "'../../types'", + "range": [ + 183, + 196 + ], + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 45 + } + } + }, + "range": [ + 151, + 197 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 46 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 206, + 212 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 206, + 212 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + "range": [ + 206, + 212 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 214, + 223 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 214, + 223 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + "range": [ + 214, + 223 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 225, + 234 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 225, + 234 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } + }, + "range": [ + 225, + 234 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 36 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../event", + "raw": "'../../event'", + "range": [ + 241, + 254 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 56 + } + } + }, + "range": [ + 198, + 255 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 57 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 264, + 268 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 264, + 268 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "range": [ + 264, + 268 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../root", + "raw": "'../../root'", + "range": [ + 275, + 287 + ], + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 31 + } + } + }, + "range": [ + 256, + 288 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 32 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 297, + 301 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 297, + 301 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + "range": [ + 297, + 301 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../const", + "raw": "'../../const'", + "range": [ + 308, + 321 + ], + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + "range": [ + 289, + 322 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 33 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 336, + 348 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 336, + 348 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + "range": [ + 336, + 348 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 350, + 361 + ], + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 350, + 361 + ], + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 29 + } + } + }, + "range": [ + 350, + 361 + ], + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 363, + 373 + ], + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 363, + 373 + ], + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + "range": [ + 363, + 373 + ], + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 379, + 389 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 379, + 389 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + "range": [ + 379, + 389 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 391, + 402 + ], + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 391, + 402 + ], + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 27 + } + } + }, + "range": [ + 391, + 402 + ], + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 27 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../settings", + "raw": "'../../settings'", + "range": [ + 410, + 426 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + "range": [ + 323, + 427 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 13, + "column": 24 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 429, + 468 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "ColsVisibility", + "range": [ + 490, + 504 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 513, + 520 + ], + "loc": { + "start": { + "line": 18, + "column": 44 + }, + "end": { + "line": 18, + "column": 51 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 685, + 696 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 697, + 699 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "f", + "range": [ + 701, + 702 + ], + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 25, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 714, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 720, + 722 + ], + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 724, + 725 + ], + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 726, + 730 + ], + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 24 + } + } + }, + "range": [ + 724, + 730 + ], + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 24 + } + } + } + ], + "range": [ + 714, + 731 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + "range": [ + 714, + 732 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 26 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 742, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cfg", + "range": [ + 778, + 781 + ], + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 784, + 788 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 789, + 795 + ], + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 29 + } + } + }, + "range": [ + 784, + 795 + ], + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 29 + } + } + }, + "range": [ + 778, + 795 + ], + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 774, + 796 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 742, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 806, + 870 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 879, + 883 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 884, + 888 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + "range": [ + 879, + 888 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 891, + 892 + ], + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 893, + 897 + ], + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 891, + 897 + ], + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 879, + 897 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 879, + 898 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 806, + 870 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 908, + 979 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 988, + 992 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "desc", + "range": [ + 993, + 997 + ], + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "range": [ + 988, + 997 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1000, + 1011 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1012, + 1013 + ], + "loc": { + "start": { + "line": 41, + "column": 32 + }, + "end": { + "line": 41, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "description", + "range": [ + 1014, + 1025 + ], + "loc": { + "start": { + "line": 41, + "column": 34 + }, + "end": { + "line": 41, + "column": 45 + } + } + }, + "range": [ + 1012, + 1025 + ], + "loc": { + "start": { + "line": 41, + "column": 32 + }, + "end": { + "line": 41, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "Columns visibility manager", + "raw": "'Columns visibility manager'", + "range": [ + 1027, + 1055 + ], + "loc": { + "start": { + "line": 41, + "column": 47 + }, + "end": { + "line": 41, + "column": 75 + } + } + } + ], + "range": [ + 1000, + 1056 + ], + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 76 + } + } + }, + "range": [ + 988, + 1056 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 76 + } + } + }, + "range": [ + 988, + 1057 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 908, + 979 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", + "range": [ + 1067, + 1149 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1158, + 1162 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "spanEl", + "range": [ + 1163, + 1169 + ], + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + "range": [ + 1158, + 1169 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1172, + 1176 + ], + "loc": { + "start": { + "line": 47, + "column": 22 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + "range": [ + 1158, + 1176 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + "range": [ + 1158, + 1177 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", + "range": [ + 1067, + 1149 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", + "range": [ + 1187, + 1266 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1275, + 1279 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 1280, + 1285 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + "range": [ + 1275, + 1285 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1288, + 1292 + ], + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + "range": [ + 1275, + 1292 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 25 + } + } + }, + "range": [ + 1275, + 1293 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", + "range": [ + 1187, + 1266 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", + "range": [ + 1303, + 1390 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1399, + 1403 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 1404, + 1410 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + "range": [ + 1399, + 1410 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1413, + 1417 + ], + "loc": { + "start": { + "line": 59, + "column": 22 + }, + "end": { + "line": 59, + "column": 26 + } + } + }, + "range": [ + 1399, + 1417 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 26 + } + } + }, + "range": [ + 1399, + 1418 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", + "range": [ + 1303, + 1390 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1428, + 1528 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1537, + 1541 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 1542, + 1552 + ], + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + "range": [ + 1537, + 1552 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 1555, + 1567 + ], + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1568, + 1569 + ], + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "tick_to_hide", + "range": [ + 1570, + 1582 + ], + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 53 + } + } + }, + "range": [ + 1568, + 1582 + ], + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 53 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1584, + 1588 + ], + "loc": { + "start": { + "line": 65, + "column": 55 + }, + "end": { + "line": 65, + "column": 59 + } + } + } + ], + "range": [ + 1555, + 1589 + ], + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 60 + } + } + }, + "range": [ + 1537, + 1589 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 60 + } + } + }, + "range": [ + 1537, + 1590 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1428, + 1528 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1600, + 1697 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1706, + 1710 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "manager", + "range": [ + 1711, + 1718 + ], + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + "range": [ + 1706, + 1718 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 1721, + 1733 + ], + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1734, + 1735 + ], + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "manager", + "range": [ + 1736, + 1743 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 45 + } + } + }, + "range": [ + 1734, + 1743 + ], + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1745, + 1749 + ], + "loc": { + "start": { + "line": 71, + "column": 47 + }, + "end": { + "line": 71, + "column": 51 + } + } + } + ], + "range": [ + 1721, + 1750 + ], + "loc": { + "start": { + "line": 71, + "column": 23 + }, + "end": { + "line": 71, + "column": 52 + } + } + }, + "range": [ + 1706, + 1750 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 52 + } + } + }, + "range": [ + 1706, + 1751 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1600, + 1697 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", + "range": [ + 1761, + 1875 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1884, + 1888 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 1889, + 1899 + ], + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 23 + } + } + }, + "range": [ + 1884, + 1899 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1902, + 1903 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_table", + "range": [ + 1904, + 1917 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 41 + } + } + }, + "range": [ + 1902, + 1917 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1921, + 1925 + ], + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 49 + } + } + }, + "range": [ + 1902, + 1925 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 49 + } + } + }, + "range": [ + 1884, + 1925 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 49 + } + } + }, + "range": [ + 1884, + 1926 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", + "range": [ + 1761, + 1875 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", + "range": [ + 1936, + 2035 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2044, + 2048 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersIndex", + "range": [ + 2049, + 2061 + ], + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + "range": [ + 2044, + 2061 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 2064, + 2074 + ], + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2075, + 2076 + ], + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_index", + "range": [ + 2077, + 2090 + ], + "loc": { + "start": { + "line": 83, + "column": 41 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, + "range": [ + 2075, + 2090 + ], + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2092, + 2093 + ], + "loc": { + "start": { + "line": 83, + "column": 56 + }, + "end": { + "line": 83, + "column": 57 + } + } + } + ], + "range": [ + 2064, + 2094 + ], + "loc": { + "start": { + "line": 83, + "column": 28 + }, + "end": { + "line": 83, + "column": 58 + } + } + }, + "range": [ + 2044, + 2094 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 58 + } + } + }, + "range": [ + 2044, + 2095 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", + "range": [ + 1936, + 2035 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", + "range": [ + 2105, + 2186 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2195, + 2199 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contElTgtId", + "range": [ + 2200, + 2211 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + "range": [ + 2195, + 2211 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2214, + 2225 + ], + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2226, + 2227 + ], + "loc": { + "start": { + "line": 89, + "column": 39 + }, + "end": { + "line": 89, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "container_target_id", + "range": [ + 2228, + 2247 + ], + "loc": { + "start": { + "line": 89, + "column": 41 + }, + "end": { + "line": 89, + "column": 60 + } + } + }, + "range": [ + 2226, + 2247 + ], + "loc": { + "start": { + "line": 89, + "column": 39 + }, + "end": { + "line": 89, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2249, + 2253 + ], + "loc": { + "start": { + "line": 89, + "column": 62 + }, + "end": { + "line": 89, + "column": 66 + } + } + } + ], + "range": [ + 2214, + 2254 + ], + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 67 + } + } + }, + "range": [ + 2195, + 2254 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 67 + } + } + }, + "range": [ + 2195, + 2255 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", + "range": [ + 2105, + 2186 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", + "range": [ + 2265, + 2373 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2382, + 2386 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersText", + "range": [ + 2387, + 2398 + ], + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "range": [ + 2382, + 2398 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2401, + 2412 + ], + "loc": { + "start": { + "line": 95, + "column": 27 + }, + "end": { + "line": 95, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2413, + 2414 + ], + "loc": { + "start": { + "line": 95, + "column": 39 + }, + "end": { + "line": 95, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_text", + "range": [ + 2415, + 2427 + ], + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 95, + "column": 53 + } + } + }, + "range": [ + 2413, + 2427 + ], + "loc": { + "start": { + "line": 95, + "column": 39 + }, + "end": { + "line": 95, + "column": 53 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2429, + 2431 + ], + "loc": { + "start": { + "line": 95, + "column": 55 + }, + "end": { + "line": 95, + "column": 57 + } + } + } + ], + "range": [ + 2401, + 2432 + ], + "loc": { + "start": { + "line": 95, + "column": 27 + }, + "end": { + "line": 95, + "column": 58 + } + } + }, + "range": [ + 2382, + 2432 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 58 + } + } + }, + "range": [ + 2382, + 2433 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", + "range": [ + 2265, + 2373 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", + "range": [ + 2443, + 2528 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2537, + 2541 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnTgtId", + "range": [ + 2542, + 2550 + ], + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + "range": [ + 2537, + 2550 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2553, + 2564 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2565, + 2566 + ], + "loc": { + "start": { + "line": 101, + "column": 36 + }, + "end": { + "line": 101, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_target_id", + "range": [ + 2567, + 2580 + ], + "loc": { + "start": { + "line": 101, + "column": 38 + }, + "end": { + "line": 101, + "column": 51 + } + } + }, + "range": [ + 2565, + 2580 + ], + "loc": { + "start": { + "line": 101, + "column": 36 + }, + "end": { + "line": 101, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2582, + 2586 + ], + "loc": { + "start": { + "line": 101, + "column": 53 + }, + "end": { + "line": 101, + "column": 57 + } + } + } + ], + "range": [ + 2553, + 2587 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 58 + } + } + }, + "range": [ + 2537, + 2587 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 58 + } + } + }, + "range": [ + 2537, + 2588 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", + "range": [ + 2443, + 2528 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", + "range": [ + 2598, + 2692 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2701, + 2705 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 2706, + 2713 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + "range": [ + 2701, + 2713 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2716, + 2727 + ], + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2728, + 2729 + ], + "loc": { + "start": { + "line": 107, + "column": 35 + }, + "end": { + "line": 107, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_text", + "range": [ + 2730, + 2738 + ], + "loc": { + "start": { + "line": 107, + "column": 37 + }, + "end": { + "line": 107, + "column": 45 + } + } + }, + "range": [ + 2728, + 2738 + ], + "loc": { + "start": { + "line": 107, + "column": 35 + }, + "end": { + "line": 107, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "Columns▼", + "raw": "'Columns▼'", + "range": [ + 2740, + 2756 + ], + "loc": { + "start": { + "line": 107, + "column": 47 + }, + "end": { + "line": 107, + "column": 63 + } + } + } + ], + "range": [ + 2716, + 2757 + ], + "loc": { + "start": { + "line": 107, + "column": 23 + }, + "end": { + "line": 107, + "column": 64 + } + } + }, + "range": [ + 2701, + 2757 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 64 + } + } + }, + "range": [ + 2701, + 2758 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", + "range": [ + 2598, + 2692 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", + "range": [ + 2768, + 2840 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2849, + 2853 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 2854, + 2861 + ], + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "range": [ + 2849, + 2861 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2864, + 2875 + ], + "loc": { + "start": { + "line": 113, + "column": 23 + }, + "end": { + "line": 113, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2876, + 2877 + ], + "loc": { + "start": { + "line": 113, + "column": 35 + }, + "end": { + "line": 113, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_html", + "range": [ + 2878, + 2886 + ], + "loc": { + "start": { + "line": 113, + "column": 37 + }, + "end": { + "line": 113, + "column": 45 + } + } + }, + "range": [ + 2876, + 2886 + ], + "loc": { + "start": { + "line": 113, + "column": 35 + }, + "end": { + "line": 113, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2888, + 2892 + ], + "loc": { + "start": { + "line": 113, + "column": 47 + }, + "end": { + "line": 113, + "column": 51 + } + } + } + ], + "range": [ + 2864, + 2893 + ], + "loc": { + "start": { + "line": 113, + "column": 23 + }, + "end": { + "line": 113, + "column": 52 + } + } + }, + "range": [ + 2849, + 2893 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 52 + } + } + }, + "range": [ + 2849, + 2894 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", + "range": [ + 2768, + 2840 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", + "range": [ + 2904, + 2977 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2986, + 2990 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 2991, + 3002 + ], + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + "range": [ + 2986, + 3002 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3005, + 3016 + ], + "loc": { + "start": { + "line": 119, + "column": 27 + }, + "end": { + "line": 119, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3017, + 3018 + ], + "loc": { + "start": { + "line": 119, + "column": 39 + }, + "end": { + "line": 119, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_css_class", + "range": [ + 3019, + 3032 + ], + "loc": { + "start": { + "line": 119, + "column": 41 + }, + "end": { + "line": 119, + "column": 54 + } + } + }, + "range": [ + 3017, + 3032 + ], + "loc": { + "start": { + "line": 119, + "column": 39 + }, + "end": { + "line": 119, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "colVis", + "raw": "'colVis'", + "range": [ + 3034, + 3042 + ], + "loc": { + "start": { + "line": 119, + "column": 56 + }, + "end": { + "line": 119, + "column": 64 + } + } + } + ], + "range": [ + 3005, + 3043 + ], + "loc": { + "start": { + "line": 119, + "column": 27 + }, + "end": { + "line": 119, + "column": 65 + } + } + }, + "range": [ + 2986, + 3043 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 65 + } + } + }, + "range": [ + 2986, + 3044 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", + "range": [ + 2904, + 2977 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", + "range": [ + 3054, + 3162 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3171, + 3175 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseText", + "range": [ + 3176, + 3188 + ], + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 125, + "column": 25 + } + } + }, + "range": [ + 3171, + 3188 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3191, + 3202 + ], + "loc": { + "start": { + "line": 125, + "column": 28 + }, + "end": { + "line": 125, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3203, + 3204 + ], + "loc": { + "start": { + "line": 125, + "column": 40 + }, + "end": { + "line": 125, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_close_text", + "range": [ + 3205, + 3219 + ], + "loc": { + "start": { + "line": 125, + "column": 42 + }, + "end": { + "line": 125, + "column": 56 + } + } + }, + "range": [ + 3203, + 3219 + ], + "loc": { + "start": { + "line": 125, + "column": 40 + }, + "end": { + "line": 125, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "Close", + "raw": "'Close'", + "range": [ + 3221, + 3228 + ], + "loc": { + "start": { + "line": 125, + "column": 58 + }, + "end": { + "line": 125, + "column": 65 + } + } + } + ], + "range": [ + 3191, + 3229 + ], + "loc": { + "start": { + "line": 125, + "column": 28 + }, + "end": { + "line": 125, + "column": 66 + } + } + }, + "range": [ + 3171, + 3229 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 66 + } + } + }, + "range": [ + 3171, + 3230 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", + "range": [ + 3054, + 3162 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", + "range": [ + 3240, + 3327 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3336, + 3340 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseHtml", + "range": [ + 3341, + 3353 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 25 + } + } + }, + "range": [ + 3336, + 3353 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3356, + 3367 + ], + "loc": { + "start": { + "line": 131, + "column": 28 + }, + "end": { + "line": 131, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3368, + 3369 + ], + "loc": { + "start": { + "line": 131, + "column": 40 + }, + "end": { + "line": 131, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_close_html", + "range": [ + 3370, + 3384 + ], + "loc": { + "start": { + "line": 131, + "column": 42 + }, + "end": { + "line": 131, + "column": 56 + } + } + }, + "range": [ + 3368, + 3384 + ], + "loc": { + "start": { + "line": 131, + "column": 40 + }, + "end": { + "line": 131, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3386, + 3390 + ], + "loc": { + "start": { + "line": 131, + "column": 58 + }, + "end": { + "line": 131, + "column": 62 + } + } + } + ], + "range": [ + 3356, + 3391 + ], + "loc": { + "start": { + "line": 131, + "column": 28 + }, + "end": { + "line": 131, + "column": 63 + } + } + }, + "range": [ + 3336, + 3391 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 63 + } + } + }, + "range": [ + 3336, + 3392 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 64 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", + "range": [ + 3240, + 3327 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", + "range": [ + 3402, + 3492 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3501, + 3505 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseCssClass", + "range": [ + 3506, + 3522 + ], + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 29 + } + } + }, + "range": [ + 3501, + 3522 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3525, + 3536 + ], + "loc": { + "start": { + "line": 137, + "column": 32 + }, + "end": { + "line": 137, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3537, + 3538 + ], + "loc": { + "start": { + "line": 137, + "column": 44 + }, + "end": { + "line": 137, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_close_css_class", + "range": [ + 3539, + 3558 + ], + "loc": { + "start": { + "line": 137, + "column": 46 + }, + "end": { + "line": 137, + "column": 65 + } + } + }, + "range": [ + 3537, + 3558 + ], + "loc": { + "start": { + "line": 137, + "column": 44 + }, + "end": { + "line": 137, + "column": 65 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3572, + 3576 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 3577, + 3588 + ], + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + "range": [ + 3572, + 3588 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 28 + } + } + } + ], + "range": [ + 3525, + 3589 + ], + "loc": { + "start": { + "line": 137, + "column": 32 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "range": [ + 3501, + 3589 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "range": [ + 3501, + 3590 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 138, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", + "range": [ + 3402, + 3492 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", + "range": [ + 3600, + 3684 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3693, + 3697 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 3698, + 3708 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 23 + } + } + }, + "range": [ + 3693, + 3708 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3711, + 3722 + ], + "loc": { + "start": { + "line": 144, + "column": 26 + }, + "end": { + "line": 144, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3723, + 3724 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 3725, + 3735 + ], + "loc": { + "start": { + "line": 144, + "column": 40 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + "range": [ + 3723, + 3735 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": "colsVisibility.css", + "raw": "'colsVisibility.css'", + "range": [ + 3737, + 3757 + ], + "loc": { + "start": { + "line": 144, + "column": 52 + }, + "end": { + "line": 144, + "column": 72 + } + } + } + ], + "range": [ + 3711, + 3758 + ], + "loc": { + "start": { + "line": 144, + "column": 26 + }, + "end": { + "line": 144, + "column": 73 + } + } + }, + "range": [ + 3693, + 3758 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 73 + } + } + }, + "range": [ + 3693, + 3759 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", + "range": [ + 3600, + 3684 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", + "range": [ + 3769, + 3853 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3862, + 3866 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "spanCssClass", + "range": [ + 3867, + 3879 + ], + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 25 + } + } + }, + "range": [ + 3862, + 3879 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3882, + 3893 + ], + "loc": { + "start": { + "line": 150, + "column": 28 + }, + "end": { + "line": 150, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3894, + 3895 + ], + "loc": { + "start": { + "line": 150, + "column": 40 + }, + "end": { + "line": 150, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "span_css_class", + "range": [ + 3896, + 3910 + ], + "loc": { + "start": { + "line": 150, + "column": 42 + }, + "end": { + "line": 150, + "column": 56 + } + } + }, + "range": [ + 3894, + 3910 + ], + "loc": { + "start": { + "line": 150, + "column": 40 + }, + "end": { + "line": 150, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "colVisSpan", + "raw": "'colVisSpan'", + "range": [ + 3912, + 3924 + ], + "loc": { + "start": { + "line": 150, + "column": 58 + }, + "end": { + "line": 150, + "column": 70 + } + } + } + ], + "range": [ + 3882, + 3925 + ], + "loc": { + "start": { + "line": 150, + "column": 28 + }, + "end": { + "line": 150, + "column": 71 + } + } + }, + "range": [ + 3862, + 3925 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 71 + } + } + }, + "range": [ + 3862, + 3926 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", + "range": [ + 3769, + 3853 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", + "range": [ + 3936, + 4030 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 155, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4039, + 4043 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 4044, + 4056 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "range": [ + 4039, + 4056 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4059, + 4070 + ], + "loc": { + "start": { + "line": 156, + "column": 28 + }, + "end": { + "line": 156, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4071, + 4072 + ], + "loc": { + "start": { + "line": 156, + "column": 40 + }, + "end": { + "line": 156, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont_css_class", + "range": [ + 4073, + 4087 + ], + "loc": { + "start": { + "line": 156, + "column": 42 + }, + "end": { + "line": 156, + "column": 56 + } + } + }, + "range": [ + 4071, + 4087 + ], + "loc": { + "start": { + "line": 156, + "column": 40 + }, + "end": { + "line": 156, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "colVisCont", + "raw": "'colVisCont'", + "range": [ + 4089, + 4101 + ], + "loc": { + "start": { + "line": 156, + "column": 58 + }, + "end": { + "line": 156, + "column": 70 + } + } + } + ], + "range": [ + 4059, + 4102 + ], + "loc": { + "start": { + "line": 156, + "column": 28 + }, + "end": { + "line": 156, + "column": 71 + } + } + }, + "range": [ + 4039, + 4102 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 71 + } + } + }, + "range": [ + 4039, + 4103 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", + "range": [ + 3936, + 4030 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 155, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", + "range": [ + 4113, + 4207 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4216, + 4220 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "listCssClass", + "range": [ + 4221, + 4233 + ], + "loc": { + "start": { + "line": 162, + "column": 13 + }, + "end": { + "line": 162, + "column": 25 + } + } + }, + "range": [ + 4216, + 4233 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4236, + 4247 + ], + "loc": { + "start": { + "line": 162, + "column": 28 + }, + "end": { + "line": 162, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4248, + 4251 + ], + "loc": { + "start": { + "line": 162, + "column": 40 + }, + "end": { + "line": 162, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "list_css_class", + "range": [ + 4252, + 4266 + ], + "loc": { + "start": { + "line": 162, + "column": 44 + }, + "end": { + "line": 162, + "column": 58 + } + } + }, + "range": [ + 4248, + 4266 + ], + "loc": { + "start": { + "line": 162, + "column": 40 + }, + "end": { + "line": 162, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "cols_checklist", + "raw": "'cols_checklist'", + "range": [ + 4268, + 4284 + ], + "loc": { + "start": { + "line": 162, + "column": 60 + }, + "end": { + "line": 162, + "column": 76 + } + } + } + ], + "range": [ + 4236, + 4285 + ], + "loc": { + "start": { + "line": 162, + "column": 28 + }, + "end": { + "line": 162, + "column": 77 + } + } + }, + "range": [ + 4216, + 4285 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 77 + } + } + }, + "range": [ + 4216, + 4286 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", + "range": [ + 4113, + 4207 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", + "range": [ + 4296, + 4395 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 167, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4404, + 4408 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 168, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "listItemCssClass", + "range": [ + 4409, + 4425 + ], + "loc": { + "start": { + "line": 168, + "column": 13 + }, + "end": { + "line": 168, + "column": 29 + } + } + }, + "range": [ + 4404, + 4425 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 168, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4428, + 4439 + ], + "loc": { + "start": { + "line": 168, + "column": 32 + }, + "end": { + "line": 168, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4440, + 4443 + ], + "loc": { + "start": { + "line": 168, + "column": 44 + }, + "end": { + "line": 168, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_item_css_class", + "range": [ + 4444, + 4468 + ], + "loc": { + "start": { + "line": 168, + "column": 48 + }, + "end": { + "line": 168, + "column": 72 + } + } + }, + "range": [ + 4440, + 4468 + ], + "loc": { + "start": { + "line": 168, + "column": 44 + }, + "end": { + "line": 168, + "column": 72 + } + } + }, + { + "type": "Literal", + "value": "cols_checklist_item", + "raw": "'cols_checklist_item'", + "range": [ + 4482, + 4503 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 33 + } + } + } + ], + "range": [ + 4428, + 4504 + ], + "loc": { + "start": { + "line": 168, + "column": 32 + }, + "end": { + "line": 169, + "column": 34 + } + } + }, + "range": [ + 4404, + 4504 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 169, + "column": 34 + } + } + }, + "range": [ + 4404, + 4505 + ], + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 169, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", + "range": [ + 4296, + 4395 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 167, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", + "range": [ + 4515, + 4629 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 174, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4638, + 4642 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "listSlcItemCssClass", + "range": [ + 4643, + 4662 + ], + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 32 + } + } + }, + "range": [ + 4638, + 4662 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4665, + 4676 + ], + "loc": { + "start": { + "line": 175, + "column": 35 + }, + "end": { + "line": 175, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4690, + 4693 + ], + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_selected_item_css_class", + "range": [ + 4694, + 4727 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 49 + } + } + }, + "range": [ + 4690, + 4727 + ], + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "cols_checklist_slc_item", + "raw": "'cols_checklist_slc_item'", + "range": [ + 4741, + 4766 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 37 + } + } + } + ], + "range": [ + 4665, + 4776 + ], + "loc": { + "start": { + "line": 175, + "column": 35 + }, + "end": { + "line": 178, + "column": 9 + } + } + }, + "range": [ + 4638, + 4776 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 178, + "column": 9 + } + } + }, + "range": [ + 4638, + 4777 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 178, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", + "range": [ + 4515, + 4629 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 174, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", + "range": [ + 4787, + 4957 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 184, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4966, + 4970 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 4971, + 4975 + ], + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 17 + } + } + }, + "range": [ + 4966, + 4975 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4978, + 4989 + ], + "loc": { + "start": { + "line": 185, + "column": 20 + }, + "end": { + "line": 185, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4990, + 4991 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 4992, + 4996 + ], + "loc": { + "start": { + "line": 185, + "column": 34 + }, + "end": { + "line": 185, + "column": 38 + } + } + }, + "range": [ + 4990, + 4996 + ], + "loc": { + "start": { + "line": 185, + "column": 32 + }, + "end": { + "line": 185, + "column": 38 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4998, + 5002 + ], + "loc": { + "start": { + "line": 185, + "column": 40 + }, + "end": { + "line": 185, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 5003, + 5013 + ], + "loc": { + "start": { + "line": 185, + "column": 45 + }, + "end": { + "line": 185, + "column": 55 + } + } + }, + "range": [ + 4998, + 5013 + ], + "loc": { + "start": { + "line": 185, + "column": 40 + }, + "end": { + "line": 185, + "column": 55 + } + } + }, + "consequent": { + "type": "Literal", + "value": "Hide: ", + "raw": "'Hide: '", + "range": [ + 5016, + 5024 + ], + "loc": { + "start": { + "line": 185, + "column": 58 + }, + "end": { + "line": 185, + "column": 66 + } + } + }, + "alternate": { + "type": "Literal", + "value": "Show: ", + "raw": "'Show: '", + "range": [ + 5027, + 5035 + ], + "loc": { + "start": { + "line": 185, + "column": 69 + }, + "end": { + "line": 185, + "column": 77 + } + } + }, + "range": [ + 4998, + 5035 + ], + "loc": { + "start": { + "line": 185, + "column": 40 + }, + "end": { + "line": 185, + "column": 77 + } + } + } + ], + "range": [ + 4978, + 5036 + ], + "loc": { + "start": { + "line": 185, + "column": 20 + }, + "end": { + "line": 185, + "column": 78 + } + } + }, + "range": [ + 4966, + 5036 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 78 + } + } + }, + "range": [ + 4966, + 5037 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", + "range": [ + 4787, + 4957 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 184, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 5047, + 5153 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 190, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5162, + 5166 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "atStart", + "range": [ + 5167, + 5174 + ], + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "range": [ + 5162, + 5174 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 5177, + 5188 + ], + "loc": { + "start": { + "line": 191, + "column": 23 + }, + "end": { + "line": 191, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5189, + 5190 + ], + "loc": { + "start": { + "line": 191, + "column": 35 + }, + "end": { + "line": 191, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "at_start", + "range": [ + 5191, + 5199 + ], + "loc": { + "start": { + "line": 191, + "column": 37 + }, + "end": { + "line": 191, + "column": 45 + } + } + }, + "range": [ + 5189, + 5199 + ], + "loc": { + "start": { + "line": 191, + "column": 35 + }, + "end": { + "line": 191, + "column": 45 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5201, + 5203 + ], + "loc": { + "start": { + "line": 191, + "column": 47 + }, + "end": { + "line": 191, + "column": 49 + } + } + } + ], + "range": [ + 5177, + 5204 + ], + "loc": { + "start": { + "line": 191, + "column": 23 + }, + "end": { + "line": 191, + "column": 50 + } + } + }, + "range": [ + 5162, + 5204 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 50 + } + } + }, + "range": [ + 5162, + 5205 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 5047, + 5153 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 190, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", + "range": [ + 5215, + 5322 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 196, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5331, + 5335 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHover", + "range": [ + 5336, + 5347 + ], + "loc": { + "start": { + "line": 197, + "column": 13 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + "range": [ + 5331, + 5347 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 5350, + 5357 + ], + "loc": { + "start": { + "line": 197, + "column": 27 + }, + "end": { + "line": 197, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5358, + 5359 + ], + "loc": { + "start": { + "line": 197, + "column": 35 + }, + "end": { + "line": 197, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_hover", + "range": [ + 5360, + 5372 + ], + "loc": { + "start": { + "line": 197, + "column": 37 + }, + "end": { + "line": 197, + "column": 49 + } + } + }, + "range": [ + 5358, + 5372 + ], + "loc": { + "start": { + "line": 197, + "column": 35 + }, + "end": { + "line": 197, + "column": 49 + } + } + } + ], + "range": [ + 5350, + 5373 + ], + "loc": { + "start": { + "line": 197, + "column": 27 + }, + "end": { + "line": 197, + "column": 50 + } + } + }, + "range": [ + 5331, + 5373 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 50 + } + } + }, + "range": [ + 5331, + 5374 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", + "range": [ + 5215, + 5322 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 196, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", + "range": [ + 5384, + 5483 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 202, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5492, + 5496 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableTickAll", + "range": [ + 5497, + 5510 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 26 + } + } + }, + "range": [ + 5492, + 5510 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 5513, + 5520 + ], + "loc": { + "start": { + "line": 203, + "column": 29 + }, + "end": { + "line": 203, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5521, + 5522 + ], + "loc": { + "start": { + "line": 203, + "column": 37 + }, + "end": { + "line": 203, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_tick_all", + "range": [ + 5523, + 5538 + ], + "loc": { + "start": { + "line": 203, + "column": 39 + }, + "end": { + "line": 203, + "column": 54 + } + } + }, + "range": [ + 5521, + 5538 + ], + "loc": { + "start": { + "line": 203, + "column": 37 + }, + "end": { + "line": 203, + "column": 54 + } + } + } + ], + "range": [ + 5513, + 5539 + ], + "loc": { + "start": { + "line": 203, + "column": 29 + }, + "end": { + "line": 203, + "column": 55 + } + } + }, + "range": [ + 5492, + 5539 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 55 + } + } + }, + "range": [ + 5492, + 5540 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", + "range": [ + 5384, + 5483 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 202, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", + "range": [ + 5550, + 5656 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5665, + 5669 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickAllText", + "range": [ + 5670, + 5681 + ], + "loc": { + "start": { + "line": 209, + "column": 13 + }, + "end": { + "line": 209, + "column": 24 + } + } + }, + "range": [ + 5665, + 5681 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5684, + 5695 + ], + "loc": { + "start": { + "line": 209, + "column": 27 + }, + "end": { + "line": 209, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5696, + 5697 + ], + "loc": { + "start": { + "line": 209, + "column": 39 + }, + "end": { + "line": 209, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "tick_all_text", + "range": [ + 5698, + 5711 + ], + "loc": { + "start": { + "line": 209, + "column": 41 + }, + "end": { + "line": 209, + "column": 54 + } + } + }, + "range": [ + 5696, + 5711 + ], + "loc": { + "start": { + "line": 209, + "column": 39 + }, + "end": { + "line": 209, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "Select all:", + "raw": "'Select all:'", + "range": [ + 5713, + 5726 + ], + "loc": { + "start": { + "line": 209, + "column": 56 + }, + "end": { + "line": 209, + "column": 69 + } + } + } + ], + "range": [ + 5684, + 5727 + ], + "loc": { + "start": { + "line": 209, + "column": 27 + }, + "end": { + "line": 209, + "column": 70 + } + } + }, + "range": [ + 5665, + 5727 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 70 + } + } + }, + "range": [ + 5665, + 5728 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", + "range": [ + 5550, + 5656 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", + "range": [ + 5738, + 5818 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 214, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5827, + 5831 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 5832, + 5842 + ], + "loc": { + "start": { + "line": 215, + "column": 13 + }, + "end": { + "line": 215, + "column": 23 + } + } + }, + "range": [ + 5827, + 5842 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 23 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5845, + 5847 + ], + "loc": { + "start": { + "line": 215, + "column": 26 + }, + "end": { + "line": 215, + "column": 28 + } + } + }, + "range": [ + 5827, + 5847 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 28 + } + } + }, + "range": [ + 5827, + 5848 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", + "range": [ + 5738, + 5818 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 214, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5858, + 5926 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5935, + 5939 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 5940, + 5952 + ], + "loc": { + "start": { + "line": 221, + "column": 13 + }, + "end": { + "line": 221, + "column": 25 + } + } + }, + "range": [ + 5935, + 5952 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5955, + 5959 + ], + "loc": { + "start": { + "line": 221, + "column": 28 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + "range": [ + 5935, + 5959 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + "range": [ + 5935, + 5960 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5858, + 5926 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", + "range": [ + 5970, + 6073 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 226, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6082, + 6086 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onLoaded", + "range": [ + 6087, + 6095 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 21 + } + } + }, + "range": [ + 6082, + 6095 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6098, + 6108 + ], + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6109, + 6110 + ], + "loc": { + "start": { + "line": 227, + "column": 35 + }, + "end": { + "line": 227, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_loaded", + "range": [ + 6111, + 6120 + ], + "loc": { + "start": { + "line": 227, + "column": 37 + }, + "end": { + "line": 227, + "column": 46 + } + } + }, + "range": [ + 6109, + 6120 + ], + "loc": { + "start": { + "line": 227, + "column": 35 + }, + "end": { + "line": 227, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6122, + 6130 + ], + "loc": { + "start": { + "line": 227, + "column": 48 + }, + "end": { + "line": 227, + "column": 56 + } + } + } + ], + "range": [ + 6098, + 6131 + ], + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 57 + } + } + }, + "range": [ + 6082, + 6131 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 57 + } + } + }, + "range": [ + 6082, + 6132 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", + "range": [ + 5970, + 6073 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 226, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6142, + 6248 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 232, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6257, + 6261 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOpen", + "range": [ + 6262, + 6274 + ], + "loc": { + "start": { + "line": 233, + "column": 13 + }, + "end": { + "line": 233, + "column": 25 + } + } + }, + "range": [ + 6257, + 6274 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6277, + 6287 + ], + "loc": { + "start": { + "line": 233, + "column": 28 + }, + "end": { + "line": 233, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6288, + 6289 + ], + "loc": { + "start": { + "line": 233, + "column": 39 + }, + "end": { + "line": 233, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_open", + "range": [ + 6290, + 6304 + ], + "loc": { + "start": { + "line": 233, + "column": 41 + }, + "end": { + "line": 233, + "column": 55 + } + } + }, + "range": [ + 6288, + 6304 + ], + "loc": { + "start": { + "line": 233, + "column": 39 + }, + "end": { + "line": 233, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6306, + 6314 + ], + "loc": { + "start": { + "line": 233, + "column": 57 + }, + "end": { + "line": 233, + "column": 65 + } + } + } + ], + "range": [ + 6277, + 6315 + ], + "loc": { + "start": { + "line": 233, + "column": 28 + }, + "end": { + "line": 233, + "column": 66 + } + } + }, + "range": [ + 6257, + 6315 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 66 + } + } + }, + "range": [ + 6257, + 6316 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6142, + 6248 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 232, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6326, + 6431 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 238, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6440, + 6444 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOpen", + "range": [ + 6445, + 6456 + ], + "loc": { + "start": { + "line": 239, + "column": 13 + }, + "end": { + "line": 239, + "column": 24 + } + } + }, + "range": [ + 6440, + 6456 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6459, + 6469 + ], + "loc": { + "start": { + "line": 239, + "column": 27 + }, + "end": { + "line": 239, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6470, + 6471 + ], + "loc": { + "start": { + "line": 239, + "column": 38 + }, + "end": { + "line": 239, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_open", + "range": [ + 6472, + 6485 + ], + "loc": { + "start": { + "line": 239, + "column": 40 + }, + "end": { + "line": 239, + "column": 53 + } + } + }, + "range": [ + 6470, + 6485 + ], + "loc": { + "start": { + "line": 239, + "column": 38 + }, + "end": { + "line": 239, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6487, + 6495 + ], + "loc": { + "start": { + "line": 239, + "column": 55 + }, + "end": { + "line": 239, + "column": 63 + } + } + } + ], + "range": [ + 6459, + 6496 + ], + "loc": { + "start": { + "line": 239, + "column": 27 + }, + "end": { + "line": 239, + "column": 64 + } + } + }, + "range": [ + 6440, + 6496 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 64 + } + } + }, + "range": [ + 6440, + 6497 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6326, + 6431 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 238, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6507, + 6613 + ], + "loc": { + "start": { + "line": 241, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6622, + 6626 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeClose", + "range": [ + 6627, + 6640 + ], + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 26 + } + } + }, + "range": [ + 6622, + 6640 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6643, + 6653 + ], + "loc": { + "start": { + "line": 245, + "column": 29 + }, + "end": { + "line": 245, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6654, + 6655 + ], + "loc": { + "start": { + "line": 245, + "column": 40 + }, + "end": { + "line": 245, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_close", + "range": [ + 6656, + 6671 + ], + "loc": { + "start": { + "line": 245, + "column": 42 + }, + "end": { + "line": 245, + "column": 57 + } + } + }, + "range": [ + 6654, + 6671 + ], + "loc": { + "start": { + "line": 245, + "column": 40 + }, + "end": { + "line": 245, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6673, + 6681 + ], + "loc": { + "start": { + "line": 245, + "column": 59 + }, + "end": { + "line": 245, + "column": 67 + } + } + } + ], + "range": [ + 6643, + 6682 + ], + "loc": { + "start": { + "line": 245, + "column": 29 + }, + "end": { + "line": 245, + "column": 68 + } + } + }, + "range": [ + 6622, + 6682 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 68 + } + } + }, + "range": [ + 6622, + 6683 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6507, + 6613 + ], + "loc": { + "start": { + "line": 241, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6693, + 6798 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 250, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6807, + 6811 + ], + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterClose", + "range": [ + 6812, + 6824 + ], + "loc": { + "start": { + "line": 251, + "column": 13 + }, + "end": { + "line": 251, + "column": 25 + } + } + }, + "range": [ + 6807, + 6824 + ], + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6827, + 6837 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6838, + 6839 + ], + "loc": { + "start": { + "line": 251, + "column": 39 + }, + "end": { + "line": 251, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_close", + "range": [ + 6840, + 6854 + ], + "loc": { + "start": { + "line": 251, + "column": 41 + }, + "end": { + "line": 251, + "column": 55 + } + } + }, + "range": [ + 6838, + 6854 + ], + "loc": { + "start": { + "line": 251, + "column": 39 + }, + "end": { + "line": 251, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6856, + 6864 + ], + "loc": { + "start": { + "line": 251, + "column": 57 + }, + "end": { + "line": 251, + "column": 65 + } + } + } + ], + "range": [ + 6827, + 6865 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 66 + } + } + }, + "range": [ + 6807, + 6865 + ], + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 66 + } + } + }, + "range": [ + 6807, + 6866 + ], + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6693, + 6798 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 250, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", + "range": [ + 6876, + 6971 + ], + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 256, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6980, + 6984 + ], + "loc": { + "start": { + "line": 257, + "column": 8 + }, + "end": { + "line": 257, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeColHidden", + "range": [ + 6985, + 7002 + ], + "loc": { + "start": { + "line": 257, + "column": 13 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "range": [ + 6980, + 7002 + ], + "loc": { + "start": { + "line": 257, + "column": 8 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 7005, + 7015 + ], + "loc": { + "start": { + "line": 257, + "column": 33 + }, + "end": { + "line": 257, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7016, + 7017 + ], + "loc": { + "start": { + "line": 257, + "column": 44 + }, + "end": { + "line": 257, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_col_hidden", + "range": [ + 7018, + 7038 + ], + "loc": { + "start": { + "line": 257, + "column": 46 + }, + "end": { + "line": 257, + "column": 66 + } + } + }, + "range": [ + 7016, + 7038 + ], + "loc": { + "start": { + "line": 257, + "column": 44 + }, + "end": { + "line": 257, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 7040, + 7048 + ], + "loc": { + "start": { + "line": 257, + "column": 68 + }, + "end": { + "line": 257, + "column": 76 + } + } + } + ], + "range": [ + 7005, + 7049 + ], + "loc": { + "start": { + "line": 257, + "column": 33 + }, + "end": { + "line": 257, + "column": 77 + } + } + }, + "range": [ + 6980, + 7049 + ], + "loc": { + "start": { + "line": 257, + "column": 8 + }, + "end": { + "line": 257, + "column": 77 + } + } + }, + "range": [ + 6980, + 7050 + ], + "loc": { + "start": { + "line": 257, + "column": 8 + }, + "end": { + "line": 257, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", + "range": [ + 6876, + 6971 + ], + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 256, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", + "range": [ + 7060, + 7154 + ], + "loc": { + "start": { + "line": 259, + "column": 8 + }, + "end": { + "line": 262, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7163, + 7167 + ], + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterColHidden", + "range": [ + 7168, + 7184 + ], + "loc": { + "start": { + "line": 263, + "column": 13 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "range": [ + 7163, + 7184 + ], + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 7187, + 7197 + ], + "loc": { + "start": { + "line": 263, + "column": 32 + }, + "end": { + "line": 263, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7198, + 7199 + ], + "loc": { + "start": { + "line": 263, + "column": 43 + }, + "end": { + "line": 263, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_col_hidden", + "range": [ + 7200, + 7219 + ], + "loc": { + "start": { + "line": 263, + "column": 45 + }, + "end": { + "line": 263, + "column": 64 + } + } + }, + "range": [ + 7198, + 7219 + ], + "loc": { + "start": { + "line": 263, + "column": 43 + }, + "end": { + "line": 263, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 7221, + 7229 + ], + "loc": { + "start": { + "line": 263, + "column": 66 + }, + "end": { + "line": 263, + "column": 74 + } + } + } + ], + "range": [ + 7187, + 7230 + ], + "loc": { + "start": { + "line": 263, + "column": 32 + }, + "end": { + "line": 263, + "column": 75 + } + } + }, + "range": [ + 7163, + 7230 + ], + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 75 + } + } + }, + "range": [ + 7163, + 7231 + ], + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 263, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", + "range": [ + 7060, + 7154 + ], + "loc": { + "start": { + "line": 259, + "column": 8 + }, + "end": { + "line": 262, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", + "range": [ + 7241, + 7339 + ], + "loc": { + "start": { + "line": 265, + "column": 8 + }, + "end": { + "line": 268, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7348, + 7352 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeColDisplayed", + "range": [ + 7353, + 7373 + ], + "loc": { + "start": { + "line": 269, + "column": 13 + }, + "end": { + "line": 269, + "column": 33 + } + } + }, + "range": [ + 7348, + 7373 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 7376, + 7386 + ], + "loc": { + "start": { + "line": 269, + "column": 36 + }, + "end": { + "line": 269, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7387, + 7388 + ], + "loc": { + "start": { + "line": 269, + "column": 47 + }, + "end": { + "line": 269, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_col_displayed", + "range": [ + 7389, + 7412 + ], + "loc": { + "start": { + "line": 269, + "column": 49 + }, + "end": { + "line": 269, + "column": 72 + } + } + }, + "range": [ + 7387, + 7412 + ], + "loc": { + "start": { + "line": 269, + "column": 47 + }, + "end": { + "line": 269, + "column": 72 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 7426, + 7434 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 20 + } + } + } + ], + "range": [ + 7376, + 7435 + ], + "loc": { + "start": { + "line": 269, + "column": 36 + }, + "end": { + "line": 270, + "column": 21 + } + } + }, + "range": [ + 7348, + 7435 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 270, + "column": 21 + } + } + }, + "range": [ + 7348, + 7436 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 270, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", + "range": [ + 7241, + 7339 + ], + "loc": { + "start": { + "line": 265, + "column": 8 + }, + "end": { + "line": 268, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", + "range": [ + 7446, + 7543 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7552, + 7556 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterColDisplayed", + "range": [ + 7557, + 7576 + ], + "loc": { + "start": { + "line": 276, + "column": 13 + }, + "end": { + "line": 276, + "column": 32 + } + } + }, + "range": [ + 7552, + 7576 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 7579, + 7589 + ], + "loc": { + "start": { + "line": 276, + "column": 35 + }, + "end": { + "line": 276, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7590, + 7591 + ], + "loc": { + "start": { + "line": 276, + "column": 46 + }, + "end": { + "line": 276, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_col_displayed", + "range": [ + 7592, + 7614 + ], + "loc": { + "start": { + "line": 276, + "column": 48 + }, + "end": { + "line": 276, + "column": 70 + } + } + }, + "range": [ + 7590, + 7614 + ], + "loc": { + "start": { + "line": 276, + "column": 46 + }, + "end": { + "line": 276, + "column": 70 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 7628, + 7636 + ], + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 277, + "column": 20 + } + } + } + ], + "range": [ + 7579, + 7637 + ], + "loc": { + "start": { + "line": 276, + "column": 35 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + "range": [ + 7552, + 7637 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + "range": [ + 7552, + 7638 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 277, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", + "range": [ + 7446, + 7543 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Grid layout support", + "range": [ + 7648, + 7669 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 29 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7682, + 7684 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 280, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 7685, + 7695 + ], + "loc": { + "start": { + "line": 280, + "column": 15 + }, + "end": { + "line": 280, + "column": 25 + } + } + }, + "range": [ + 7682, + 7695 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 280, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7711, + 7715 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 7716, + 7726 + ], + "loc": { + "start": { + "line": 281, + "column": 17 + }, + "end": { + "line": 281, + "column": 27 + } + } + }, + "range": [ + 7711, + 7726 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7729, + 7731 + ], + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 7732, + 7739 + ], + "loc": { + "start": { + "line": 281, + "column": 33 + }, + "end": { + "line": 281, + "column": 40 + } + } + }, + "range": [ + 7729, + 7739 + ], + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "gridLayout", + "raw": "'gridLayout'", + "range": [ + 7740, + 7752 + ], + "loc": { + "start": { + "line": 281, + "column": 41 + }, + "end": { + "line": 281, + "column": 53 + } + } + } + ], + "range": [ + 7729, + 7753 + ], + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 7754, + 7761 + ], + "loc": { + "start": { + "line": 281, + "column": 55 + }, + "end": { + "line": 281, + "column": 62 + } + } + }, + "range": [ + 7729, + 7761 + ], + "loc": { + "start": { + "line": 281, + "column": 30 + }, + "end": { + "line": 281, + "column": 62 + } + } + }, + "range": [ + 7711, + 7761 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 62 + } + } + }, + "range": [ + 7711, + 7762 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 63 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "headers table", + "range": [ + 7763, + 7778 + ], + "loc": { + "start": { + "line": 281, + "column": 64 + }, + "end": { + "line": 281, + "column": 79 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7791, + 7795 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersIndex", + "range": [ + 7796, + 7808 + ], + "loc": { + "start": { + "line": 282, + "column": 17 + }, + "end": { + "line": 282, + "column": 29 + } + } + }, + "range": [ + 7791, + 7808 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7811, + 7812 + ], + "loc": { + "start": { + "line": 282, + "column": 32 + }, + "end": { + "line": 282, + "column": 33 + } + } + }, + "range": [ + 7791, + 7812 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 33 + } + } + }, + "range": [ + 7791, + 7813 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "headers table", + "range": [ + 7763, + 7778 + ], + "loc": { + "start": { + "line": 281, + "column": 64 + }, + "end": { + "line": 281, + "column": 79 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "headers index", + "range": [ + 7814, + 7829 + ], + "loc": { + "start": { + "line": 282, + "column": 35 + }, + "end": { + "line": 282, + "column": 50 + } + } + } + ] + } + ], + "range": [ + 7697, + 7839 + ], + "loc": { + "start": { + "line": 280, + "column": 27 + }, + "end": { + "line": 283, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7678, + 7839 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 283, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Grid layout support", + "range": [ + 7648, + 7669 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 29 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Loads extension stylesheet", + "range": [ + 7849, + 7877 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7886, + 7888 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 286, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "import", + "range": [ + 7889, + 7895 + ], + "loc": { + "start": { + "line": 286, + "column": 11 + }, + "end": { + "line": 286, + "column": 17 + } + } + }, + "range": [ + 7886, + 7895 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 286, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7896, + 7897 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 7898, + 7902 + ], + "loc": { + "start": { + "line": 286, + "column": 20 + }, + "end": { + "line": 286, + "column": 24 + } + } + }, + "range": [ + 7896, + 7902 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": "Style", + "raw": "'Style'", + "range": [ + 7905, + 7912 + ], + "loc": { + "start": { + "line": 286, + "column": 27 + }, + "end": { + "line": 286, + "column": 34 + } + } + }, + "range": [ + 7896, + 7912 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 34 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7914, + 7916 + ], + "loc": { + "start": { + "line": 286, + "column": 36 + }, + "end": { + "line": 286, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylePath", + "range": [ + 7917, + 7929 + ], + "loc": { + "start": { + "line": 286, + "column": 39 + }, + "end": { + "line": 286, + "column": 51 + } + } + }, + "range": [ + 7914, + 7929 + ], + "loc": { + "start": { + "line": 286, + "column": 36 + }, + "end": { + "line": 286, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 7914, + 7931 + ], + "loc": { + "start": { + "line": 286, + "column": 36 + }, + "end": { + "line": 286, + "column": 53 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7934, + 7938 + ], + "loc": { + "start": { + "line": 286, + "column": 56 + }, + "end": { + "line": 286, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 7939, + 7949 + ], + "loc": { + "start": { + "line": 286, + "column": 61 + }, + "end": { + "line": 286, + "column": 71 + } + } + }, + "range": [ + 7934, + 7949 + ], + "loc": { + "start": { + "line": 286, + "column": 56 + }, + "end": { + "line": 286, + "column": 71 + } + } + }, + "range": [ + 7914, + 7949 + ], + "loc": { + "start": { + "line": 286, + "column": 36 + }, + "end": { + "line": 286, + "column": 71 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7951, + 7955 + ], + "loc": { + "start": { + "line": 286, + "column": 73 + }, + "end": { + "line": 286, + "column": 77 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 7969, + 7975 + ], + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 18 + } + } + } + ], + "range": [ + 7886, + 7976 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 287, + "column": 19 + } + } + }, + "range": [ + 7886, + 7977 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 287, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "headers index", + "range": [ + 7814, + 7829 + ], + "loc": { + "start": { + "line": 282, + "column": 35 + }, + "end": { + "line": 282, + "column": 50 + } + } + }, + { + "type": "Line", + "value": "Loads extension stylesheet", + "range": [ + 7849, + 7877 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7987, + 7991 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 7992, + 7998 + ], + "loc": { + "start": { + "line": 289, + "column": 13 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + "range": [ + 7987, + 7998 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 7987, + 8000 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 21 + } + } + }, + "range": [ + 7987, + 8001 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 22 + } + } + } + ], + "range": [ + 704, + 8007 + ], + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 290, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 696, + 8007 + ], + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 290, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 685, + 8007 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 290, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", + "range": [ + 528, + 680 + ], + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 8013, + 8106 + ], + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 295, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 8111, + 8120 + ], + "loc": { + "start": { + "line": 296, + "column": 4 + }, + "end": { + "line": 296, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8121, + 8124 + ], + "loc": { + "start": { + "line": 296, + "column": 14 + }, + "end": { + "line": 296, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8140, + 8149 + ], + "loc": { + "start": { + "line": 297, + "column": 12 + }, + "end": { + "line": 297, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 8152, + 8161 + ], + "loc": { + "start": { + "line": 297, + "column": 24 + }, + "end": { + "line": 297, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8162, + 8165 + ], + "loc": { + "start": { + "line": 297, + "column": 34 + }, + "end": { + "line": 297, + "column": 37 + } + } + } + ], + "range": [ + 8152, + 8166 + ], + "loc": { + "start": { + "line": 297, + "column": 24 + }, + "end": { + "line": 297, + "column": 38 + } + } + }, + "range": [ + 8140, + 8166 + ], + "loc": { + "start": { + "line": 297, + "column": 12 + }, + "end": { + "line": 297, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 8136, + 8167 + ], + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 39 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8184, + 8193 + ], + "loc": { + "start": { + "line": 299, + "column": 15 + }, + "end": { + "line": 299, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8197, + 8206 + ], + "loc": { + "start": { + "line": 299, + "column": 28 + }, + "end": { + "line": 299, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8211, + 8215 + ], + "loc": { + "start": { + "line": 299, + "column": 42 + }, + "end": { + "line": 299, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8216, + 8222 + ], + "loc": { + "start": { + "line": 299, + "column": 47 + }, + "end": { + "line": 299, + "column": 53 + } + } + }, + "range": [ + 8211, + 8222 + ], + "loc": { + "start": { + "line": 299, + "column": 42 + }, + "end": { + "line": 299, + "column": 53 + } + } + }, + "range": [ + 8197, + 8222 + ], + "loc": { + "start": { + "line": 299, + "column": 28 + }, + "end": { + "line": 299, + "column": 53 + } + } + }, + "range": [ + 8184, + 8222 + ], + "loc": { + "start": { + "line": 299, + "column": 15 + }, + "end": { + "line": 299, + "column": 53 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8238, + 8247 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 300, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8252, + 8256 + ], + "loc": { + "start": { + "line": 300, + "column": 29 + }, + "end": { + "line": 300, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 8257, + 8262 + ], + "loc": { + "start": { + "line": 300, + "column": 34 + }, + "end": { + "line": 300, + "column": 39 + } + } + }, + "range": [ + 8252, + 8262 + ], + "loc": { + "start": { + "line": 300, + "column": 29 + }, + "end": { + "line": 300, + "column": 39 + } + } + }, + "range": [ + 8238, + 8262 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 300, + "column": 39 + } + } + }, + "range": [ + 8184, + 8262 + ], + "loc": { + "start": { + "line": 299, + "column": 15 + }, + "end": { + "line": 300, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8278, + 8287 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8290, + 8299 + ], + "loc": { + "start": { + "line": 301, + "column": 24 + }, + "end": { + "line": 301, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 8300, + 8310 + ], + "loc": { + "start": { + "line": 301, + "column": 34 + }, + "end": { + "line": 301, + "column": 44 + } + } + }, + "range": [ + 8290, + 8310 + ], + "loc": { + "start": { + "line": 301, + "column": 24 + }, + "end": { + "line": 301, + "column": 44 + } + } + }, + "range": [ + 8278, + 8310 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 44 + } + } + }, + "range": [ + 8278, + 8311 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 45 + } + } + } + ], + "range": [ + 8264, + 8321 + ], + "loc": { + "start": { + "line": 300, + "column": 41 + }, + "end": { + "line": 302, + "column": 9 + } + } + }, + "range": [ + 8177, + 8321 + ], + "loc": { + "start": { + "line": 299, + "column": 8 + }, + "end": { + "line": 302, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8335, + 8344 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8349, + 8353 + ], + "loc": { + "start": { + "line": 304, + "column": 26 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8354, + 8360 + ], + "loc": { + "start": { + "line": 304, + "column": 31 + }, + "end": { + "line": 304, + "column": 37 + } + } + }, + "range": [ + 8349, + 8360 + ], + "loc": { + "start": { + "line": 304, + "column": 26 + }, + "end": { + "line": 304, + "column": 37 + } + } + }, + "range": [ + 8335, + 8360 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 37 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 8364, + 8373 + ], + "loc": { + "start": { + "line": 304, + "column": 41 + }, + "end": { + "line": 304, + "column": 50 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8378, + 8382 + ], + "loc": { + "start": { + "line": 304, + "column": 55 + }, + "end": { + "line": 304, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 8383, + 8388 + ], + "loc": { + "start": { + "line": 304, + "column": 60 + }, + "end": { + "line": 304, + "column": 65 + } + } + }, + "range": [ + 8378, + 8388 + ], + "loc": { + "start": { + "line": 304, + "column": 55 + }, + "end": { + "line": 304, + "column": 65 + } + } + }, + "range": [ + 8364, + 8388 + ], + "loc": { + "start": { + "line": 304, + "column": 41 + }, + "end": { + "line": 304, + "column": 65 + } + } + }, + "range": [ + 8335, + 8388 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8404, + 8408 + ], + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 8409, + 8415 + ], + "loc": { + "start": { + "line": 305, + "column": 17 + }, + "end": { + "line": 305, + "column": 23 + } + } + }, + "range": [ + 8404, + 8415 + ], + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 8404, + 8417 + ], + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 25 + } + } + }, + "range": [ + 8404, + 8418 + ], + "loc": { + "start": { + "line": 305, + "column": 12 + }, + "end": { + "line": 305, + "column": 26 + } + } + } + ], + "range": [ + 8390, + 8428 + ], + "loc": { + "start": { + "line": 304, + "column": 67 + }, + "end": { + "line": 306, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8331, + 8428 + ], + "loc": { + "start": { + "line": 304, + "column": 8 + }, + "end": { + "line": 306, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 8438, + 8445 + ], + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 15 + } + } + } + ], + "range": [ + 8126, + 8451 + ], + "loc": { + "start": { + "line": 296, + "column": 19 + }, + "end": { + "line": 309, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8120, + 8451 + ], + "loc": { + "start": { + "line": 296, + "column": 13 + }, + "end": { + "line": 309, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8111, + 8451 + ], + "loc": { + "start": { + "line": 296, + "column": 4 + }, + "end": { + "line": 309, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 8013, + 8106 + ], + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 295, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", + "range": [ + 8457, + 8501 + ], + "loc": { + "start": { + "line": 311, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggle", + "range": [ + 8506, + 8512 + ], + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 314, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 8576, + 8585 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 8586, + 8590 + ], + "loc": { + "start": { + "line": 316, + "column": 18 + }, + "end": { + "line": 316, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 8592, + 8601 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8603, + 8607 + ], + "loc": { + "start": { + "line": 316, + "column": 35 + }, + "end": { + "line": 316, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 8608, + 8620 + ], + "loc": { + "start": { + "line": 316, + "column": 40 + }, + "end": { + "line": 316, + "column": 52 + } + } + }, + "range": [ + 8603, + 8620 + ], + "loc": { + "start": { + "line": 316, + "column": 35 + }, + "end": { + "line": 316, + "column": 52 + } + } + } + ], + "range": [ + 8576, + 8621 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 53 + } + } + }, + "range": [ + 8576, + 8622 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 8525, + 8567 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 50 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 8636, + 8647 + ], + "loc": { + "start": { + "line": 318, + "column": 12 + }, + "end": { + "line": 318, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8650, + 8654 + ], + "loc": { + "start": { + "line": 318, + "column": 26 + }, + "end": { + "line": 318, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8655, + 8661 + ], + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 37 + } + } + }, + "range": [ + 8650, + 8661 + ], + "loc": { + "start": { + "line": 318, + "column": 26 + }, + "end": { + "line": 318, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 8662, + 8667 + ], + "loc": { + "start": { + "line": 318, + "column": 38 + }, + "end": { + "line": 318, + "column": 43 + } + } + }, + "range": [ + 8650, + 8667 + ], + "loc": { + "start": { + "line": 318, + "column": 26 + }, + "end": { + "line": 318, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 8668, + 8675 + ], + "loc": { + "start": { + "line": 318, + "column": 44 + }, + "end": { + "line": 318, + "column": 51 + } + } + }, + "range": [ + 8650, + 8675 + ], + "loc": { + "start": { + "line": 318, + "column": 26 + }, + "end": { + "line": 318, + "column": 51 + } + } + }, + "range": [ + 8636, + 8675 + ], + "loc": { + "start": { + "line": 318, + "column": 12 + }, + "end": { + "line": 318, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 8632, + 8676 + ], + "loc": { + "start": { + "line": 318, + "column": 8 + }, + "end": { + "line": 318, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 8690, + 8701 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 8706, + 8714 + ], + "loc": { + "start": { + "line": 320, + "column": 28 + }, + "end": { + "line": 320, + "column": 36 + } + } + }, + "range": [ + 8690, + 8714 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8730, + 8734 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOpen", + "range": [ + 8735, + 8747 + ], + "loc": { + "start": { + "line": 321, + "column": 17 + }, + "end": { + "line": 321, + "column": 29 + } + } + }, + "range": [ + 8730, + 8747 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 8748, + 8752 + ], + "loc": { + "start": { + "line": 321, + "column": 30 + }, + "end": { + "line": 321, + "column": 34 + } + } + } + ], + "range": [ + 8730, + 8753 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 35 + } + } + }, + "range": [ + 8730, + 8754 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 321, + "column": 36 + } + } + } + ], + "range": [ + 8716, + 8764 + ], + "loc": { + "start": { + "line": 320, + "column": 38 + }, + "end": { + "line": 322, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8686, + 8764 + ], + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 322, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 8777, + 8788 + ], + "loc": { + "start": { + "line": 323, + "column": 12 + }, + "end": { + "line": 323, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 8793, + 8801 + ], + "loc": { + "start": { + "line": 323, + "column": 28 + }, + "end": { + "line": 323, + "column": 36 + } + } + }, + "range": [ + 8777, + 8801 + ], + "loc": { + "start": { + "line": 323, + "column": 12 + }, + "end": { + "line": 323, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8817, + 8821 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeClose", + "range": [ + 8822, + 8835 + ], + "loc": { + "start": { + "line": 324, + "column": 17 + }, + "end": { + "line": 324, + "column": 30 + } + } + }, + "range": [ + 8817, + 8835 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 8836, + 8840 + ], + "loc": { + "start": { + "line": 324, + "column": 31 + }, + "end": { + "line": 324, + "column": 35 + } + } + } + ], + "range": [ + 8817, + 8841 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 36 + } + } + }, + "range": [ + 8817, + 8842 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 37 + } + } + } + ], + "range": [ + 8803, + 8852 + ], + "loc": { + "start": { + "line": 323, + "column": 38 + }, + "end": { + "line": 325, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8773, + 8852 + ], + "loc": { + "start": { + "line": 323, + "column": 8 + }, + "end": { + "line": 325, + "column": 9 + } + } + }, + { + "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": [ + 8862, + 8866 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 327, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 8867, + 8873 + ], + "loc": { + "start": { + "line": 327, + "column": 13 + }, + "end": { + "line": 327, + "column": 19 + } + } + }, + "range": [ + 8862, + 8873 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 327, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 8874, + 8879 + ], + "loc": { + "start": { + "line": 327, + "column": 20 + }, + "end": { + "line": 327, + "column": 25 + } + } + }, + "range": [ + 8862, + 8879 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 327, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 8880, + 8887 + ], + "loc": { + "start": { + "line": 327, + "column": 26 + }, + "end": { + "line": 327, + "column": 33 + } + } + }, + "range": [ + 8862, + 8887 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 327, + "column": 33 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 8890, + 8901 + ], + "loc": { + "start": { + "line": 327, + "column": 36 + }, + "end": { + "line": 327, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 8906, + 8914 + ], + "loc": { + "start": { + "line": 327, + "column": 52 + }, + "end": { + "line": 327, + "column": 60 + } + } + }, + "range": [ + 8890, + 8914 + ], + "loc": { + "start": { + "line": 327, + "column": 36 + }, + "end": { + "line": 327, + "column": 60 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "NONE", + "range": [ + 8929, + 8933 + ], + "loc": { + "start": { + "line": 328, + "column": 12 + }, + "end": { + "line": 328, + "column": 16 + } + } + }, + "alternate": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 8936, + 8944 + ], + "loc": { + "start": { + "line": 328, + "column": 19 + }, + "end": { + "line": 328, + "column": 27 + } + } + }, + "range": [ + 8890, + 8944 + ], + "loc": { + "start": { + "line": 327, + "column": 36 + }, + "end": { + "line": 328, + "column": 27 + } + } + }, + "range": [ + 8862, + 8944 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 328, + "column": 27 + } + } + }, + "range": [ + 8862, + 8945 + ], + "loc": { + "start": { + "line": 327, + "column": 8 + }, + "end": { + "line": 328, + "column": 28 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 8959, + 8970 + ], + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 8975, + 8983 + ], + "loc": { + "start": { + "line": 330, + "column": 28 + }, + "end": { + "line": 330, + "column": 36 + } + } + }, + "range": [ + 8959, + 8983 + ], + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8999, + 9003 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOpen", + "range": [ + 9004, + 9015 + ], + "loc": { + "start": { + "line": 331, + "column": 17 + }, + "end": { + "line": 331, + "column": 28 + } + } + }, + "range": [ + 8999, + 9015 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 9016, + 9020 + ], + "loc": { + "start": { + "line": 331, + "column": 29 + }, + "end": { + "line": 331, + "column": 33 + } + } + } + ], + "range": [ + 8999, + 9021 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 34 + } + } + }, + "range": [ + 8999, + 9022 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 9035, + 9041 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 332, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 9042, + 9046 + ], + "loc": { + "start": { + "line": 332, + "column": 19 + }, + "end": { + "line": 332, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 9048, + 9057 + ], + "loc": { + "start": { + "line": 332, + "column": 25 + }, + "end": { + "line": 332, + "column": 34 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9059, + 9063 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 9064, + 9076 + ], + "loc": { + "start": { + "line": 332, + "column": 41 + }, + "end": { + "line": 332, + "column": 53 + } + } + }, + "range": [ + 9059, + 9076 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 53 + } + } + } + ], + "range": [ + 9035, + 9077 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 332, + "column": 54 + } + } + }, + "range": [ + 9035, + 9078 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 332, + "column": 55 + } + } + } + ], + "range": [ + 8985, + 9088 + ], + "loc": { + "start": { + "line": 330, + "column": 38 + }, + "end": { + "line": 333, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8955, + 9088 + ], + "loc": { + "start": { + "line": 330, + "column": 8 + }, + "end": { + "line": 333, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "contDisplay", + "range": [ + 9101, + 9112 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 9117, + 9125 + ], + "loc": { + "start": { + "line": 334, + "column": 28 + }, + "end": { + "line": 334, + "column": 36 + } + } + }, + "range": [ + 9101, + 9125 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9141, + 9145 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterClose", + "range": [ + 9146, + 9158 + ], + "loc": { + "start": { + "line": 335, + "column": 17 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + "range": [ + 9141, + 9158 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 9159, + 9163 + ], + "loc": { + "start": { + "line": 335, + "column": 30 + }, + "end": { + "line": 335, + "column": 34 + } + } + } + ], + "range": [ + 9141, + 9164 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 35 + } + } + }, + "range": [ + 9141, + 9165 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 36 + } + } + } + ], + "range": [ + 9127, + 9175 + ], + "loc": { + "start": { + "line": 334, + "column": 38 + }, + "end": { + "line": 336, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9097, + 9175 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 336, + "column": 9 + } + } + } + ], + "range": [ + 8515, + 9181 + ], + "loc": { + "start": { + "line": 314, + "column": 13 + }, + "end": { + "line": 337, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8512, + 9181 + ], + "loc": { + "start": { + "line": 314, + "column": 10 + }, + "end": { + "line": 337, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8506, + 9181 + ], + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 337, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", + "range": [ + 8457, + 8501 + ], + "loc": { + "start": { + "line": 311, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 9187, + 9257 + ], + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 342, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "checkItem", + "range": [ + 9262, + 9271 + ], + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "lbl", + "range": [ + 9272, + 9275 + ], + "loc": { + "start": { + "line": 343, + "column": 14 + }, + "end": { + "line": 343, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 9291, + 9293 + ], + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 344, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "lbl", + "range": [ + 9296, + 9299 + ], + "loc": { + "start": { + "line": 344, + "column": 17 + }, + "end": { + "line": 344, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 9300, + 9310 + ], + "loc": { + "start": { + "line": 344, + "column": 21 + }, + "end": { + "line": 344, + "column": 31 + } + } + }, + "range": [ + 9296, + 9310 + ], + "loc": { + "start": { + "line": 344, + "column": 17 + }, + "end": { + "line": 344, + "column": 31 + } + } + }, + "range": [ + 9291, + 9310 + ], + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 344, + "column": 31 + } + } + } + ], + "kind": "let", + "range": [ + 9287, + 9311 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "li", + "range": [ + 9325, + 9327 + ], + "loc": { + "start": { + "line": 345, + "column": 13 + }, + "end": { + "line": 345, + "column": 15 + } + } + }, + "prefix": true, + "range": [ + 9324, + 9327 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 15 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "lbl", + "range": [ + 9332, + 9335 + ], + "loc": { + "start": { + "line": 345, + "column": 20 + }, + "end": { + "line": 345, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 9331, + 9335 + ], + "loc": { + "start": { + "line": 345, + "column": 19 + }, + "end": { + "line": 345, + "column": 23 + } + } + }, + "range": [ + 9324, + 9335 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 9351, + 9358 + ], + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 19 + } + } + } + ], + "range": [ + 9337, + 9368 + ], + "loc": { + "start": { + "line": 345, + "column": 25 + }, + "end": { + "line": 347, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9320, + 9368 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 347, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isChecked", + "range": [ + 9381, + 9390 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "lbl", + "range": [ + 9393, + 9396 + ], + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 9397, + 9407 + ], + "loc": { + "start": { + "line": 348, + "column": 28 + }, + "end": { + "line": 348, + "column": 38 + } + } + }, + "range": [ + 9393, + 9407 + ], + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 9408, + 9415 + ], + "loc": { + "start": { + "line": 348, + "column": 39 + }, + "end": { + "line": 348, + "column": 46 + } + } + }, + "range": [ + 9393, + 9415 + ], + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 348, + "column": 46 + } + } + }, + "range": [ + 9381, + 9415 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 9377, + 9416 + ], + "loc": { + "start": { + "line": 348, + "column": 8 + }, + "end": { + "line": 348, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9429, + 9437 + ], + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "lbl", + "range": [ + 9440, + 9443 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 9444, + 9454 + ], + "loc": { + "start": { + "line": 349, + "column": 27 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + "range": [ + 9440, + 9454 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 9455, + 9467 + ], + "loc": { + "start": { + "line": 349, + "column": 38 + }, + "end": { + "line": 349, + "column": 50 + } + } + }, + "range": [ + 9440, + 9467 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 9468, + 9472 + ], + "loc": { + "start": { + "line": 349, + "column": 51 + }, + "end": { + "line": 349, + "column": 55 + } + } + } + ], + "range": [ + 9440, + 9473 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 9474, + 9479 + ], + "loc": { + "start": { + "line": 349, + "column": 57 + }, + "end": { + "line": 349, + "column": 62 + } + } + }, + "range": [ + 9440, + 9479 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 9480, + 9483 + ], + "loc": { + "start": { + "line": 349, + "column": 63 + }, + "end": { + "line": 349, + "column": 66 + } + } + } + ], + "range": [ + 9440, + 9484 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 67 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9485, + 9486 + ], + "loc": { + "start": { + "line": 349, + "column": 68 + }, + "end": { + "line": 349, + "column": 69 + } + } + }, + "range": [ + 9440, + 9487 + ], + "loc": { + "start": { + "line": 349, + "column": 23 + }, + "end": { + "line": 349, + "column": 70 + } + } + }, + "range": [ + 9429, + 9487 + ], + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 70 + } + } + } + ], + "kind": "let", + "range": [ + 9425, + 9488 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 71 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9497, + 9505 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 9508, + 9516 + ], + "loc": { + "start": { + "line": 350, + "column": 19 + }, + "end": { + "line": 350, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9517, + 9525 + ], + "loc": { + "start": { + "line": 350, + "column": 28 + }, + "end": { + "line": 350, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 9527, + 9529 + ], + "loc": { + "start": { + "line": 350, + "column": 38 + }, + "end": { + "line": 350, + "column": 40 + } + } + } + ], + "range": [ + 9508, + 9530 + ], + "loc": { + "start": { + "line": 350, + "column": 19 + }, + "end": { + "line": 350, + "column": 41 + } + } + }, + "range": [ + 9497, + 9530 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 41 + } + } + }, + "range": [ + 9497, + 9531 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 42 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isChecked", + "range": [ + 9544, + 9553 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 9569, + 9577 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 9578, + 9580 + ], + "loc": { + "start": { + "line": 352, + "column": 21 + }, + "end": { + "line": 352, + "column": 23 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9582, + 9586 + ], + "loc": { + "start": { + "line": 352, + "column": 25 + }, + "end": { + "line": 352, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "listSlcItemCssClass", + "range": [ + 9587, + 9606 + ], + "loc": { + "start": { + "line": 352, + "column": 30 + }, + "end": { + "line": 352, + "column": 49 + } + } + }, + "range": [ + 9582, + 9606 + ], + "loc": { + "start": { + "line": 352, + "column": 25 + }, + "end": { + "line": 352, + "column": 49 + } + } + } + ], + "range": [ + 9569, + 9607 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 50 + } + } + }, + "range": [ + 9569, + 9608 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 51 + } + } + } + ], + "range": [ + 9555, + 9618 + ], + "loc": { + "start": { + "line": 351, + "column": 23 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 9638, + 9649 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 9650, + 9652 + ], + "loc": { + "start": { + "line": 354, + "column": 24 + }, + "end": { + "line": 354, + "column": 26 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9654, + 9658 + ], + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "listSlcItemCssClass", + "range": [ + 9659, + 9678 + ], + "loc": { + "start": { + "line": 354, + "column": 33 + }, + "end": { + "line": 354, + "column": 52 + } + } + }, + "range": [ + 9654, + 9678 + ], + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 52 + } + } + } + ], + "range": [ + 9638, + 9679 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 53 + } + } + }, + "range": [ + 9638, + 9680 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 54 + } + } + } + ], + "range": [ + 9624, + 9690 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "range": [ + 9540, + 9690 + ], + "loc": { + "start": { + "line": 351, + "column": 8 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hide", + "range": [ + 9704, + 9708 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 16 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 9711, + 9716 + ], + "loc": { + "start": { + "line": 357, + "column": 19 + }, + "end": { + "line": 357, + "column": 24 + } + } + }, + "range": [ + 9704, + 9716 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 9700, + 9717 + ], + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9731, + 9735 + ], + "loc": { + "start": { + "line": 358, + "column": 13 + }, + "end": { + "line": 358, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 9736, + 9746 + ], + "loc": { + "start": { + "line": 358, + "column": 18 + }, + "end": { + "line": 358, + "column": 28 + } + } + }, + "range": [ + 9731, + 9746 + ], + "loc": { + "start": { + "line": 358, + "column": 13 + }, + "end": { + "line": 358, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "isChecked", + "range": [ + 9750, + 9759 + ], + "loc": { + "start": { + "line": 358, + "column": 32 + }, + "end": { + "line": 358, + "column": 41 + } + } + }, + "range": [ + 9731, + 9759 + ], + "loc": { + "start": { + "line": 358, + "column": 13 + }, + "end": { + "line": 358, + "column": 41 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9778, + 9782 + ], + "loc": { + "start": { + "line": 359, + "column": 14 + }, + "end": { + "line": 359, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 9783, + 9793 + ], + "loc": { + "start": { + "line": 359, + "column": 19 + }, + "end": { + "line": 359, + "column": 29 + } + } + }, + "range": [ + 9778, + 9793 + ], + "loc": { + "start": { + "line": 359, + "column": 14 + }, + "end": { + "line": 359, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 9777, + 9793 + ], + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isChecked", + "range": [ + 9798, + 9807 + ], + "loc": { + "start": { + "line": 359, + "column": 34 + }, + "end": { + "line": 359, + "column": 43 + } + } + }, + "prefix": true, + "range": [ + 9797, + 9807 + ], + "loc": { + "start": { + "line": 359, + "column": 33 + }, + "end": { + "line": 359, + "column": 43 + } + } + }, + "range": [ + 9777, + 9807 + ], + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 43 + } + } + }, + "range": [ + 9730, + 9808 + ], + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 359, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "hide", + "range": [ + 9824, + 9828 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9831, + 9835 + ], + "loc": { + "start": { + "line": 360, + "column": 19 + }, + "end": { + "line": 360, + "column": 23 + } + } + }, + "range": [ + 9824, + 9835 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 23 + } + } + }, + "range": [ + 9824, + 9836 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 24 + } + } + } + ], + "range": [ + 9810, + 9846 + ], + "loc": { + "start": { + "line": 359, + "column": 46 + }, + "end": { + "line": 361, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9726, + 9846 + ], + "loc": { + "start": { + "line": 358, + "column": 8 + }, + "end": { + "line": 361, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9855, + 9859 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setHidden", + "range": [ + 9860, + 9869 + ], + "loc": { + "start": { + "line": 362, + "column": 13 + }, + "end": { + "line": 362, + "column": 22 + } + } + }, + "range": [ + 9855, + 9869 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9870, + 9878 + ], + "loc": { + "start": { + "line": 362, + "column": 23 + }, + "end": { + "line": 362, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "hide", + "range": [ + 9880, + 9884 + ], + "loc": { + "start": { + "line": 362, + "column": 33 + }, + "end": { + "line": 362, + "column": 37 + } + } + } + ], + "range": [ + 9855, + 9885 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 38 + } + } + }, + "range": [ + 9855, + 9886 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 39 + } + } + } + ], + "range": [ + 9277, + 9892 + ], + "loc": { + "start": { + "line": 343, + "column": 19 + }, + "end": { + "line": 363, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9271, + 9892 + ], + "loc": { + "start": { + "line": 343, + "column": 13 + }, + "end": { + "line": 363, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9262, + 9892 + ], + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 363, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 9187, + 9257 + ], + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 342, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9898, + 9952 + ], + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 9957, + 9961 + ], + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 368, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9978, + 9982 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 9983, + 9994 + ], + "loc": { + "start": { + "line": 369, + "column": 17 + }, + "end": { + "line": 369, + "column": 28 + } + } + }, + "range": [ + 9978, + 9994 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9999, + 10003 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "manager", + "range": [ + 10004, + 10011 + ], + "loc": { + "start": { + "line": 369, + "column": 38 + }, + "end": { + "line": 369, + "column": 45 + } + } + }, + "range": [ + 9999, + 10011 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 45 + } + } + }, + "prefix": true, + "range": [ + 9998, + 10011 + ], + "loc": { + "start": { + "line": 369, + "column": 32 + }, + "end": { + "line": 369, + "column": 45 + } + } + }, + "range": [ + 9978, + 10011 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 10027, + 10034 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 19 + } + } + } + ], + "range": [ + 10013, + 10044 + ], + "loc": { + "start": { + "line": 369, + "column": 47 + }, + "end": { + "line": 371, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9974, + 10044 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 371, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10054, + 10058 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 373, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 10059, + 10066 + ], + "loc": { + "start": { + "line": 373, + "column": 13 + }, + "end": { + "line": 373, + "column": 20 + } + } + }, + "range": [ + 10054, + 10066 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 373, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 10067, + 10069 + ], + "loc": { + "start": { + "line": 373, + "column": 21 + }, + "end": { + "line": 373, + "column": 23 + } + } + }, + "range": [ + 10054, + 10069 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 373, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "hide-column", + "raw": "'hide-column'", + "range": [ + 10071, + 10084 + ], + "loc": { + "start": { + "line": 373, + "column": 25 + }, + "end": { + "line": 373, + "column": 38 + } + } + } + ], + "range": [ + 10070, + 10085 + ], + "loc": { + "start": { + "line": 373, + "column": 24 + }, + "end": { + "line": 373, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 10100, + 10102 + ], + "loc": { + "start": { + "line": 374, + "column": 13 + }, + "end": { + "line": 374, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10104, + 10112 + ], + "loc": { + "start": { + "line": 374, + "column": 17 + }, + "end": { + "line": 374, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10117, + 10121 + ], + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "hideCol", + "range": [ + 10122, + 10129 + ], + "loc": { + "start": { + "line": 374, + "column": 35 + }, + "end": { + "line": 374, + "column": 42 + } + } + }, + "range": [ + 10117, + 10129 + ], + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10130, + 10138 + ], + "loc": { + "start": { + "line": 374, + "column": 43 + }, + "end": { + "line": 374, + "column": 51 + } + } + } + ], + "range": [ + 10117, + 10139 + ], + "loc": { + "start": { + "line": 374, + "column": 30 + }, + "end": { + "line": 374, + "column": 52 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 10099, + 10139 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 52 + } + } + } + ], + "range": [ + 10054, + 10140 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 374, + "column": 53 + } + } + }, + "range": [ + 10054, + 10141 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 374, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10151, + 10155 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildBtn", + "range": [ + 10156, + 10164 + ], + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 21 + } + } + }, + "range": [ + 10151, + 10164 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 10151, + 10166 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 23 + } + } + }, + "range": [ + 10151, + 10167 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 24 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10176, + 10180 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildManager", + "range": [ + 10181, + 10193 + ], + "loc": { + "start": { + "line": 377, + "column": 13 + }, + "end": { + "line": 377, + "column": 25 + } + } + }, + "range": [ + 10176, + 10193 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 10176, + 10195 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 27 + } + } + }, + "range": [ + 10176, + 10196 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 10206, + 10223 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10232, + 10236 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 10237, + 10248 + ], + "loc": { + "start": { + "line": 380, + "column": 13 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "range": [ + 10232, + 10248 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 10251, + 10255 + ], + "loc": { + "start": { + "line": 380, + "column": 27 + }, + "end": { + "line": 380, + "column": 31 + } + } + }, + "range": [ + 10232, + 10255 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 31 + } + } + }, + "range": [ + 10232, + 10256 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 10206, + 10223 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10266, + 10270 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 10271, + 10283 + ], + "loc": { + "start": { + "line": 382, + "column": 13 + }, + "end": { + "line": 382, + "column": 25 + } + } + }, + "range": [ + 10266, + 10283 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10286, + 10290 + ], + "loc": { + "start": { + "line": 382, + "column": 28 + }, + "end": { + "line": 382, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 10291, + 10300 + ], + "loc": { + "start": { + "line": 382, + "column": 33 + }, + "end": { + "line": 382, + "column": 42 + } + } + }, + "range": [ + 10286, + 10300 + ], + "loc": { + "start": { + "line": 382, + "column": 28 + }, + "end": { + "line": 382, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 10301, + 10305 + ], + "loc": { + "start": { + "line": 382, + "column": 43 + }, + "end": { + "line": 382, + "column": 47 + } + } + }, + "range": [ + 10286, + 10305 + ], + "loc": { + "start": { + "line": 382, + "column": 28 + }, + "end": { + "line": 382, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 10306, + 10310 + ], + "loc": { + "start": { + "line": 382, + "column": 48 + }, + "end": { + "line": 382, + "column": 52 + } + } + } + ], + "range": [ + 10286, + 10311 + ], + "loc": { + "start": { + "line": 382, + "column": 28 + }, + "end": { + "line": 382, + "column": 53 + } + } + }, + "range": [ + 10266, + 10311 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 53 + } + } + }, + "range": [ + 10266, + 10312 + ], + "loc": { + "start": { + "line": 382, + "column": 8 + }, + "end": { + "line": 382, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10322, + 10326 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 10327, + 10334 + ], + "loc": { + "start": { + "line": 384, + "column": 13 + }, + "end": { + "line": 384, + "column": 20 + } + } + }, + "range": [ + 10322, + 10334 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 10335, + 10339 + ], + "loc": { + "start": { + "line": 384, + "column": 21 + }, + "end": { + "line": 384, + "column": 25 + } + } + }, + "range": [ + 10322, + 10339 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "columns-visibility-initialized", + "raw": "'columns-visibility-initialized'", + "range": [ + 10340, + 10372 + ], + "loc": { + "start": { + "line": 384, + "column": 26 + }, + "end": { + "line": 384, + "column": 58 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10374, + 10378 + ], + "loc": { + "start": { + "line": 384, + "column": 60 + }, + "end": { + "line": 384, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10379, + 10381 + ], + "loc": { + "start": { + "line": 384, + "column": 65 + }, + "end": { + "line": 384, + "column": 67 + } + } + }, + "range": [ + 10374, + 10381 + ], + "loc": { + "start": { + "line": 384, + "column": 60 + }, + "end": { + "line": 384, + "column": 67 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 10383, + 10387 + ], + "loc": { + "start": { + "line": 384, + "column": 69 + }, + "end": { + "line": 384, + "column": 73 + } + } + } + ], + "range": [ + 10322, + 10388 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 74 + } + } + }, + "range": [ + 10322, + 10389 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 75 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Hide columns at start at very end of initialization, do not move", + "range": [ + 10399, + 10466 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 10475, + 10499 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10508, + 10512 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_hideAtStart", + "range": [ + 10513, + 10525 + ], + "loc": { + "start": { + "line": 388, + "column": 13 + }, + "end": { + "line": 388, + "column": 25 + } + } + }, + "range": [ + 10508, + 10525 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 10508, + 10527 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 27 + } + } + }, + "range": [ + 10508, + 10528 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Hide columns at start at very end of initialization, do not move", + "range": [ + 10399, + 10466 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 10475, + 10499 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 32 + } + } + } + ] + } + ], + "range": [ + 9964, + 10534 + ], + "loc": { + "start": { + "line": 368, + "column": 11 + }, + "end": { + "line": 389, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9961, + 10534 + ], + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 389, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9957, + 10534 + ], + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 389, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9898, + 9952 + ], + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build main button UI\n ", + "range": [ + 10540, + 10579 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 393, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildBtn", + "range": [ + 10584, + 10592 + ], + "loc": { + "start": { + "line": 394, + "column": 4 + }, + "end": { + "line": 394, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10609, + 10613 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 10614, + 10619 + ], + "loc": { + "start": { + "line": 395, + "column": 17 + }, + "end": { + "line": 395, + "column": 22 + } + } + }, + "range": [ + 10609, + 10619 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 10635, + 10642 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 19 + } + } + } + ], + "range": [ + 10621, + 10652 + ], + "loc": { + "start": { + "line": 395, + "column": 24 + }, + "end": { + "line": 397, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10605, + 10652 + ], + "loc": { + "start": { + "line": 395, + "column": 8 + }, + "end": { + "line": 397, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10665, + 10667 + ], + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10670, + 10674 + ], + "loc": { + "start": { + "line": 398, + "column": 17 + }, + "end": { + "line": 398, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10675, + 10677 + ], + "loc": { + "start": { + "line": 398, + "column": 22 + }, + "end": { + "line": 398, + "column": 24 + } + } + }, + "range": [ + 10670, + 10677 + ], + "loc": { + "start": { + "line": 398, + "column": 17 + }, + "end": { + "line": 398, + "column": 24 + } + } + }, + "range": [ + 10665, + 10677 + ], + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10661, + 10678 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 398, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "span", + "range": [ + 10691, + 10695 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10698, + 10707 + ], + "loc": { + "start": { + "line": 399, + "column": 19 + }, + "end": { + "line": 399, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 10708, + 10714 + ], + "loc": { + "start": { + "line": 399, + "column": 29 + }, + "end": { + "line": 399, + "column": 35 + } + } + } + ], + "range": [ + 10698, + 10715 + ], + "loc": { + "start": { + "line": 399, + "column": 19 + }, + "end": { + "line": 399, + "column": 36 + } + } + }, + "range": [ + 10691, + 10715 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 10687, + 10716 + ], + "loc": { + "start": { + "line": 399, + "column": 8 + }, + "end": { + "line": 399, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "span", + "range": [ + 10725, + 10729 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10730, + 10739 + ], + "loc": { + "start": { + "line": 400, + "column": 13 + }, + "end": { + "line": 400, + "column": 22 + } + } + }, + "range": [ + 10725, + 10739 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10742, + 10746 + ], + "loc": { + "start": { + "line": 400, + "column": 25 + }, + "end": { + "line": 400, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "spanCssClass", + "range": [ + 10747, + 10759 + ], + "loc": { + "start": { + "line": 400, + "column": 30 + }, + "end": { + "line": 400, + "column": 42 + } + } + }, + "range": [ + 10742, + 10759 + ], + "loc": { + "start": { + "line": 400, + "column": 25 + }, + "end": { + "line": 400, + "column": 42 + } + } + }, + "range": [ + 10725, + 10759 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 42 + } + } + }, + "range": [ + 10725, + 10760 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 400, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Container element (rdiv or custom element)", + "range": [ + 10770, + 10814 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 52 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10828, + 10832 + ], + "loc": { + "start": { + "line": 403, + "column": 13 + }, + "end": { + "line": 403, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnTgtId", + "range": [ + 10833, + 10841 + ], + "loc": { + "start": { + "line": 403, + "column": 18 + }, + "end": { + "line": 403, + "column": 26 + } + } + }, + "range": [ + 10828, + 10841 + ], + "loc": { + "start": { + "line": 403, + "column": 13 + }, + "end": { + "line": 403, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 10827, + 10841 + ], + "loc": { + "start": { + "line": 403, + "column": 12 + }, + "end": { + "line": 403, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10857, + 10859 + ], + "loc": { + "start": { + "line": 404, + "column": 12 + }, + "end": { + "line": 404, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 10860, + 10870 + ], + "loc": { + "start": { + "line": 404, + "column": 15 + }, + "end": { + "line": 404, + "column": 25 + } + } + }, + "range": [ + 10857, + 10870 + ], + "loc": { + "start": { + "line": 404, + "column": 12 + }, + "end": { + "line": 404, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 10857, + 10872 + ], + "loc": { + "start": { + "line": 404, + "column": 12 + }, + "end": { + "line": 404, + "column": 27 + } + } + }, + "range": [ + 10857, + 10873 + ], + "loc": { + "start": { + "line": 404, + "column": 12 + }, + "end": { + "line": 404, + "column": 28 + } + } + } + ], + "range": [ + 10843, + 10883 + ], + "loc": { + "start": { + "line": 403, + "column": 28 + }, + "end": { + "line": 405, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10823, + 10883 + ], + "loc": { + "start": { + "line": 403, + "column": 8 + }, + "end": { + "line": 405, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Container element (rdiv or custom element)", + "range": [ + 10770, + 10814 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 52 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 10896, + 10904 + ], + "loc": { + "start": { + "line": 406, + "column": 12 + }, + "end": { + "line": 406, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10908, + 10912 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnTgtId", + "range": [ + 10913, + 10921 + ], + "loc": { + "start": { + "line": 406, + "column": 29 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "range": [ + 10908, + 10921 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 10907, + 10921 + ], + "loc": { + "start": { + "line": 406, + "column": 23 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10924, + 10926 + ], + "loc": { + "start": { + "line": 406, + "column": 40 + }, + "end": { + "line": 406, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 10927, + 10931 + ], + "loc": { + "start": { + "line": 406, + "column": 43 + }, + "end": { + "line": 406, + "column": 47 + } + } + }, + "range": [ + 10924, + 10931 + ], + "loc": { + "start": { + "line": 406, + "column": 40 + }, + "end": { + "line": 406, + "column": 47 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 10934, + 10937 + ], + "loc": { + "start": { + "line": 406, + "column": 50 + }, + "end": { + "line": 406, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10938, + 10942 + ], + "loc": { + "start": { + "line": 406, + "column": 54 + }, + "end": { + "line": 406, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnTgtId", + "range": [ + 10943, + 10951 + ], + "loc": { + "start": { + "line": 406, + "column": 59 + }, + "end": { + "line": 406, + "column": 67 + } + } + }, + "range": [ + 10938, + 10951 + ], + "loc": { + "start": { + "line": 406, + "column": 54 + }, + "end": { + "line": 406, + "column": 67 + } + } + } + ], + "range": [ + 10934, + 10952 + ], + "loc": { + "start": { + "line": 406, + "column": 50 + }, + "end": { + "line": 406, + "column": 68 + } + } + }, + "range": [ + 10907, + 10952 + ], + "loc": { + "start": { + "line": 406, + "column": 23 + }, + "end": { + "line": 406, + "column": 68 + } + } + }, + "range": [ + 10896, + 10952 + ], + "loc": { + "start": { + "line": 406, + "column": 12 + }, + "end": { + "line": 406, + "column": 68 + } + } + } + ], + "kind": "let", + "range": [ + 10892, + 10953 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 406, + "column": 69 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10968, + 10972 + ], + "loc": { + "start": { + "line": 408, + "column": 13 + }, + "end": { + "line": 408, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnTgtId", + "range": [ + 10973, + 10981 + ], + "loc": { + "start": { + "line": 408, + "column": 18 + }, + "end": { + "line": 408, + "column": 26 + } + } + }, + "range": [ + 10968, + 10981 + ], + "loc": { + "start": { + "line": 408, + "column": 13 + }, + "end": { + "line": 408, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 10967, + 10981 + ], + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 408, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11001, + 11011 + ], + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 11014, + 11022 + ], + "loc": { + "start": { + "line": 409, + "column": 29 + }, + "end": { + "line": 409, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11023, + 11033 + ], + "loc": { + "start": { + "line": 409, + "column": 38 + }, + "end": { + "line": 409, + "column": 48 + } + } + }, + "range": [ + 11014, + 11033 + ], + "loc": { + "start": { + "line": 409, + "column": 29 + }, + "end": { + "line": 409, + "column": 48 + } + } + }, + "range": [ + 11001, + 11033 + ], + "loc": { + "start": { + "line": 409, + "column": 16 + }, + "end": { + "line": 409, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 10997, + 11034 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11047, + 11057 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 11058, + 11068 + ], + "loc": { + "start": { + "line": 410, + "column": 23 + }, + "end": { + "line": 410, + "column": 33 + } + } + }, + "range": [ + 11047, + 11068 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 11069, + 11081 + ], + "loc": { + "start": { + "line": 410, + "column": 34 + }, + "end": { + "line": 410, + "column": 46 + } + } + }, + "range": [ + 11047, + 11081 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "span", + "range": [ + 11082, + 11086 + ], + "loc": { + "start": { + "line": 410, + "column": 47 + }, + "end": { + "line": 410, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11088, + 11098 + ], + "loc": { + "start": { + "line": 410, + "column": 53 + }, + "end": { + "line": 410, + "column": 63 + } + } + } + ], + "range": [ + 11047, + 11099 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 64 + } + } + }, + "range": [ + 11047, + 11100 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 65 + } + } + } + ], + "range": [ + 10983, + 11110 + ], + "loc": { + "start": { + "line": 408, + "column": 28 + }, + "end": { + "line": 411, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 11130, + 11138 + ], + "loc": { + "start": { + "line": 412, + "column": 12 + }, + "end": { + "line": 412, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11139, + 11150 + ], + "loc": { + "start": { + "line": 412, + "column": 21 + }, + "end": { + "line": 412, + "column": 32 + } + } + }, + "range": [ + 11130, + 11150 + ], + "loc": { + "start": { + "line": 412, + "column": 12 + }, + "end": { + "line": 412, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "span", + "range": [ + 11151, + 11155 + ], + "loc": { + "start": { + "line": 412, + "column": 33 + }, + "end": { + "line": 412, + "column": 37 + } + } + } + ], + "range": [ + 11130, + 11156 + ], + "loc": { + "start": { + "line": 412, + "column": 12 + }, + "end": { + "line": 412, + "column": 38 + } + } + }, + "range": [ + 11130, + 11157 + ], + "loc": { + "start": { + "line": 412, + "column": 12 + }, + "end": { + "line": 412, + "column": 39 + } + } + } + ], + "range": [ + 11116, + 11167 + ], + "loc": { + "start": { + "line": 411, + "column": 15 + }, + "end": { + "line": 413, + "column": 9 + } + } + }, + "range": [ + 10963, + 11167 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 413, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11182, + 11186 + ], + "loc": { + "start": { + "line": 415, + "column": 13 + }, + "end": { + "line": 415, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 11187, + 11194 + ], + "loc": { + "start": { + "line": 415, + "column": 18 + }, + "end": { + "line": 415, + "column": 25 + } + } + }, + "range": [ + 11182, + 11194 + ], + "loc": { + "start": { + "line": 415, + "column": 13 + }, + "end": { + "line": 415, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 11181, + 11194 + ], + "loc": { + "start": { + "line": 415, + "column": 12 + }, + "end": { + "line": 415, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btn", + "range": [ + 11214, + 11217 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11220, + 11229 + ], + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 416, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "a", + "raw": "'a'", + "range": [ + 11230, + 11233 + ], + "loc": { + "start": { + "line": 416, + "column": 32 + }, + "end": { + "line": 416, + "column": 35 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 11236, + 11242 + ], + "loc": { + "start": { + "line": 416, + "column": 38 + }, + "end": { + "line": 416, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "javascript:;", + "raw": "'javascript:;'", + "range": [ + 11244, + 11258 + ], + "loc": { + "start": { + "line": 416, + "column": 46 + }, + "end": { + "line": 416, + "column": 60 + } + } + } + ], + "range": [ + 11235, + 11259 + ], + "loc": { + "start": { + "line": 416, + "column": 37 + }, + "end": { + "line": 416, + "column": 61 + } + } + } + ], + "range": [ + 11220, + 11260 + ], + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 416, + "column": 62 + } + } + }, + "range": [ + 11214, + 11260 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 11210, + 11261 + ], + "loc": { + "start": { + "line": 416, + "column": 12 + }, + "end": { + "line": 416, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 11274, + 11277 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 11278, + 11287 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 25 + } + } + }, + "range": [ + 11274, + 11287 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11290, + 11294 + ], + "loc": { + "start": { + "line": 417, + "column": 28 + }, + "end": { + "line": 417, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 11295, + 11306 + ], + "loc": { + "start": { + "line": 417, + "column": 33 + }, + "end": { + "line": 417, + "column": 44 + } + } + }, + "range": [ + 11290, + 11306 + ], + "loc": { + "start": { + "line": 417, + "column": 28 + }, + "end": { + "line": 417, + "column": 44 + } + } + }, + "range": [ + 11274, + 11306 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 44 + } + } + }, + "range": [ + 11274, + 11307 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 417, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 11320, + 11323 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "title", + "range": [ + 11324, + 11329 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 21 + } + } + }, + "range": [ + 11320, + 11329 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11332, + 11336 + ], + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "desc", + "range": [ + 11337, + 11341 + ], + "loc": { + "start": { + "line": 418, + "column": 29 + }, + "end": { + "line": 418, + "column": 33 + } + } + }, + "range": [ + 11332, + 11341 + ], + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 33 + } + } + }, + "range": [ + 11320, + 11341 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 33 + } + } + }, + "range": [ + 11320, + 11342 + ], + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 11356, + 11359 + ], + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 420, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 11360, + 11369 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 25 + } + } + }, + "range": [ + 11356, + 11369 + ], + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 420, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11372, + 11376 + ], + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 420, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 11377, + 11384 + ], + "loc": { + "start": { + "line": 420, + "column": 33 + }, + "end": { + "line": 420, + "column": 40 + } + } + }, + "range": [ + 11372, + 11384 + ], + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 420, + "column": 40 + } + } + }, + "range": [ + 11356, + 11384 + ], + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 420, + "column": 40 + } + } + }, + "range": [ + 11356, + 11385 + ], + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 420, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "span", + "range": [ + 11398, + 11402 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11403, + 11414 + ], + "loc": { + "start": { + "line": 421, + "column": 17 + }, + "end": { + "line": 421, + "column": 28 + } + } + }, + "range": [ + 11398, + 11414 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 11415, + 11418 + ], + "loc": { + "start": { + "line": 421, + "column": 29 + }, + "end": { + "line": 421, + "column": 32 + } + } + } + ], + "range": [ + 11398, + 11419 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 33 + } + } + }, + "range": [ + 11398, + 11420 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 34 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11438, + 11442 + ], + "loc": { + "start": { + "line": 422, + "column": 17 + }, + "end": { + "line": 422, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHover", + "range": [ + 11443, + 11454 + ], + "loc": { + "start": { + "line": 422, + "column": 22 + }, + "end": { + "line": 422, + "column": 33 + } + } + }, + "range": [ + 11438, + 11454 + ], + "loc": { + "start": { + "line": 422, + "column": 17 + }, + "end": { + "line": 422, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 11437, + 11454 + ], + "loc": { + "start": { + "line": 422, + "column": 16 + }, + "end": { + "line": 422, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11474, + 11480 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 11481, + 11484 + ], + "loc": { + "start": { + "line": 423, + "column": 23 + }, + "end": { + "line": 423, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11486, + 11493 + ], + "loc": { + "start": { + "line": 423, + "column": 28 + }, + "end": { + "line": 423, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11496, + 11499 + ], + "loc": { + "start": { + "line": 423, + "column": 38 + }, + "end": { + "line": 423, + "column": 41 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11504, + 11508 + ], + "loc": { + "start": { + "line": 423, + "column": 46 + }, + "end": { + "line": 423, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 11509, + 11515 + ], + "loc": { + "start": { + "line": 423, + "column": 51 + }, + "end": { + "line": 423, + "column": 57 + } + } + }, + "range": [ + 11504, + 11515 + ], + "loc": { + "start": { + "line": 423, + "column": 46 + }, + "end": { + "line": 423, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11516, + 11519 + ], + "loc": { + "start": { + "line": 423, + "column": 58 + }, + "end": { + "line": 423, + "column": 61 + } + } + } + ], + "range": [ + 11504, + 11520 + ], + "loc": { + "start": { + "line": 423, + "column": 46 + }, + "end": { + "line": 423, + "column": 62 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11495, + 11520 + ], + "loc": { + "start": { + "line": 423, + "column": 37 + }, + "end": { + "line": 423, + "column": 62 + } + } + } + ], + "range": [ + 11474, + 11521 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 63 + } + } + }, + "range": [ + 11474, + 11522 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 64 + } + } + } + ], + "range": [ + 11456, + 11536 + ], + "loc": { + "start": { + "line": 422, + "column": 35 + }, + "end": { + "line": 424, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11560, + 11566 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 11567, + 11570 + ], + "loc": { + "start": { + "line": 425, + "column": 23 + }, + "end": { + "line": 425, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "mouseover", + "raw": "'mouseover'", + "range": [ + 11572, + 11583 + ], + "loc": { + "start": { + "line": 425, + "column": 28 + }, + "end": { + "line": 425, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11586, + 11589 + ], + "loc": { + "start": { + "line": 425, + "column": 42 + }, + "end": { + "line": 425, + "column": 45 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11594, + 11598 + ], + "loc": { + "start": { + "line": 425, + "column": 50 + }, + "end": { + "line": 425, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 11599, + 11605 + ], + "loc": { + "start": { + "line": 425, + "column": 55 + }, + "end": { + "line": 425, + "column": 61 + } + } + }, + "range": [ + 11594, + 11605 + ], + "loc": { + "start": { + "line": 425, + "column": 50 + }, + "end": { + "line": 425, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11606, + 11609 + ], + "loc": { + "start": { + "line": 425, + "column": 62 + }, + "end": { + "line": 425, + "column": 65 + } + } + } + ], + "range": [ + 11594, + 11610 + ], + "loc": { + "start": { + "line": 425, + "column": 50 + }, + "end": { + "line": 425, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11585, + 11610 + ], + "loc": { + "start": { + "line": 425, + "column": 41 + }, + "end": { + "line": 425, + "column": 66 + } + } + } + ], + "range": [ + 11560, + 11611 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 67 + } + } + }, + "range": [ + 11560, + 11612 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 68 + } + } + } + ], + "range": [ + 11542, + 11626 + ], + "loc": { + "start": { + "line": 424, + "column": 19 + }, + "end": { + "line": 426, + "column": 13 + } + } + }, + "range": [ + 11433, + 11626 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 426, + "column": 13 + } + } + } + ], + "range": [ + 11196, + 11636 + ], + "loc": { + "start": { + "line": 415, + "column": 27 + }, + "end": { + "line": 427, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "span", + "range": [ + 11670, + 11674 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 11675, + 11684 + ], + "loc": { + "start": { + "line": 428, + "column": 17 + }, + "end": { + "line": 428, + "column": 26 + } + } + }, + "range": [ + 11670, + 11684 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11687, + 11691 + ], + "loc": { + "start": { + "line": 428, + "column": 29 + }, + "end": { + "line": 428, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 11692, + 11699 + ], + "loc": { + "start": { + "line": 428, + "column": 34 + }, + "end": { + "line": 428, + "column": 41 + } + } + }, + "range": [ + 11687, + 11699 + ], + "loc": { + "start": { + "line": 428, + "column": 29 + }, + "end": { + "line": 428, + "column": 41 + } + } + }, + "range": [ + 11670, + 11699 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 41 + } + } + }, + "range": [ + 11670, + 11700 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Custom html", + "range": [ + 11644, + 11657 + ], + "loc": { + "start": { + "line": 427, + "column": 17 + }, + "end": { + "line": 427, + "column": 30 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colVisEl", + "range": [ + 11717, + 11725 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "span", + "range": [ + 11728, + 11732 + ], + "loc": { + "start": { + "line": 429, + "column": 27 + }, + "end": { + "line": 429, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11733, + 11743 + ], + "loc": { + "start": { + "line": 429, + "column": 32 + }, + "end": { + "line": 429, + "column": 42 + } + } + }, + "range": [ + 11728, + 11743 + ], + "loc": { + "start": { + "line": 429, + "column": 27 + }, + "end": { + "line": 429, + "column": 42 + } + } + }, + "range": [ + 11717, + 11743 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 11713, + 11744 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11762, + 11766 + ], + "loc": { + "start": { + "line": 430, + "column": 17 + }, + "end": { + "line": 430, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHover", + "range": [ + 11767, + 11778 + ], + "loc": { + "start": { + "line": 430, + "column": 22 + }, + "end": { + "line": 430, + "column": 33 + } + } + }, + "range": [ + 11762, + 11778 + ], + "loc": { + "start": { + "line": 430, + "column": 17 + }, + "end": { + "line": 430, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 11761, + 11778 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11798, + 11804 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colVisEl", + "range": [ + 11805, + 11813 + ], + "loc": { + "start": { + "line": 431, + "column": 23 + }, + "end": { + "line": 431, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11815, + 11822 + ], + "loc": { + "start": { + "line": 431, + "column": 33 + }, + "end": { + "line": 431, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11825, + 11828 + ], + "loc": { + "start": { + "line": 431, + "column": 43 + }, + "end": { + "line": 431, + "column": 46 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11833, + 11837 + ], + "loc": { + "start": { + "line": 431, + "column": 51 + }, + "end": { + "line": 431, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 11838, + 11844 + ], + "loc": { + "start": { + "line": 431, + "column": 56 + }, + "end": { + "line": 431, + "column": 62 + } + } + }, + "range": [ + 11833, + 11844 + ], + "loc": { + "start": { + "line": 431, + "column": 51 + }, + "end": { + "line": 431, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11845, + 11848 + ], + "loc": { + "start": { + "line": 431, + "column": 63 + }, + "end": { + "line": 431, + "column": 66 + } + } + } + ], + "range": [ + 11833, + 11849 + ], + "loc": { + "start": { + "line": 431, + "column": 51 + }, + "end": { + "line": 431, + "column": 67 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11824, + 11849 + ], + "loc": { + "start": { + "line": 431, + "column": 42 + }, + "end": { + "line": 431, + "column": 67 + } + } + } + ], + "range": [ + 11798, + 11850 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 68 + } + } + }, + "range": [ + 11798, + 11851 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 69 + } + } + } + ], + "range": [ + 11780, + 11865 + ], + "loc": { + "start": { + "line": 430, + "column": 35 + }, + "end": { + "line": 432, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11889, + 11895 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colVisEl", + "range": [ + 11896, + 11904 + ], + "loc": { + "start": { + "line": 433, + "column": 23 + }, + "end": { + "line": 433, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "mouseover", + "raw": "'mouseover'", + "range": [ + 11906, + 11917 + ], + "loc": { + "start": { + "line": 433, + "column": 33 + }, + "end": { + "line": 433, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11920, + 11923 + ], + "loc": { + "start": { + "line": 433, + "column": 47 + }, + "end": { + "line": 433, + "column": 50 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11928, + 11932 + ], + "loc": { + "start": { + "line": 433, + "column": 55 + }, + "end": { + "line": 433, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 11933, + 11939 + ], + "loc": { + "start": { + "line": 433, + "column": 60 + }, + "end": { + "line": 433, + "column": 66 + } + } + }, + "range": [ + 11928, + 11939 + ], + "loc": { + "start": { + "line": 433, + "column": 55 + }, + "end": { + "line": 433, + "column": 66 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11940, + 11943 + ], + "loc": { + "start": { + "line": 433, + "column": 67 + }, + "end": { + "line": 433, + "column": 70 + } + } + } + ], + "range": [ + 11928, + 11944 + ], + "loc": { + "start": { + "line": 433, + "column": 55 + }, + "end": { + "line": 433, + "column": 71 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11919, + 11944 + ], + "loc": { + "start": { + "line": 433, + "column": 46 + }, + "end": { + "line": 433, + "column": 71 + } + } + } + ], + "range": [ + 11889, + 11945 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 72 + } + } + }, + "range": [ + 11889, + 11946 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 73 + } + } + } + ], + "range": [ + 11871, + 11960 + ], + "loc": { + "start": { + "line": 432, + "column": 19 + }, + "end": { + "line": 434, + "column": 13 + } + } + }, + "range": [ + 11757, + 11960 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 434, + "column": 13 + } + } + } + ], + "range": [ + 11642, + 11970 + ], + "loc": { + "start": { + "line": 427, + "column": 15 + }, + "end": { + "line": 435, + "column": 9 + } + } + }, + "range": [ + 11177, + 11970 + ], + "loc": { + "start": { + "line": 415, + "column": 8 + }, + "end": { + "line": 435, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11980, + 11984 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "spanEl", + "range": [ + 11985, + 11991 + ], + "loc": { + "start": { + "line": 437, + "column": 13 + }, + "end": { + "line": 437, + "column": 19 + } + } + }, + "range": [ + 11980, + 11991 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "span", + "range": [ + 11994, + 11998 + ], + "loc": { + "start": { + "line": 437, + "column": 22 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "range": [ + 11980, + 11998 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "range": [ + 11980, + 11999 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12008, + 12012 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 438, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 12013, + 12018 + ], + "loc": { + "start": { + "line": 438, + "column": 13 + }, + "end": { + "line": 438, + "column": 18 + } + } + }, + "range": [ + 12008, + 12018 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 438, + "column": 18 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12021, + 12025 + ], + "loc": { + "start": { + "line": 438, + "column": 21 + }, + "end": { + "line": 438, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "spanEl", + "range": [ + 12026, + 12032 + ], + "loc": { + "start": { + "line": 438, + "column": 26 + }, + "end": { + "line": 438, + "column": 32 + } + } + }, + "range": [ + 12021, + 12032 + ], + "loc": { + "start": { + "line": 438, + "column": 21 + }, + "end": { + "line": 438, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 12033, + 12043 + ], + "loc": { + "start": { + "line": 438, + "column": 33 + }, + "end": { + "line": 438, + "column": 43 + } + } + }, + "range": [ + 12021, + 12043 + ], + "loc": { + "start": { + "line": 438, + "column": 21 + }, + "end": { + "line": 438, + "column": 43 + } + } + }, + "range": [ + 12008, + 12043 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 438, + "column": 43 + } + } + }, + "range": [ + 12008, + 12044 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 438, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12054, + 12058 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onLoaded", + "range": [ + 12059, + 12067 + ], + "loc": { + "start": { + "line": 440, + "column": 13 + }, + "end": { + "line": 440, + "column": 21 + } + } + }, + "range": [ + 12054, + 12067 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 12068, + 12072 + ], + "loc": { + "start": { + "line": 440, + "column": 22 + }, + "end": { + "line": 440, + "column": 26 + } + } + } + ], + "range": [ + 12054, + 12073 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 27 + } + } + }, + "range": [ + 12054, + 12074 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 28 + } + } + } + ], + "range": [ + 10595, + 12080 + ], + "loc": { + "start": { + "line": 394, + "column": 15 + }, + "end": { + "line": 441, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10592, + 12080 + ], + "loc": { + "start": { + "line": 394, + "column": 12 + }, + "end": { + "line": 441, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10584, + 12080 + ], + "loc": { + "start": { + "line": 394, + "column": 4 + }, + "end": { + "line": 441, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build main button UI\n ", + "range": [ + 10540, + 10579 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 393, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build columns manager UI\n ", + "range": [ + 12086, + 12129 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 445, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildManager", + "range": [ + 12134, + 12146 + ], + "loc": { + "start": { + "line": 446, + "column": 4 + }, + "end": { + "line": 446, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 12163, + 12165 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12168, + 12172 + ], + "loc": { + "start": { + "line": 447, + "column": 17 + }, + "end": { + "line": 447, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12173, + 12175 + ], + "loc": { + "start": { + "line": 447, + "column": 22 + }, + "end": { + "line": 447, + "column": 24 + } + } + }, + "range": [ + 12168, + 12175 + ], + "loc": { + "start": { + "line": 447, + "column": 17 + }, + "end": { + "line": 447, + "column": 24 + } + } + }, + "range": [ + 12163, + 12175 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 12159, + 12176 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "container", + "range": [ + 12190, + 12199 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 21 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12203, + 12207 + ], + "loc": { + "start": { + "line": 449, + "column": 25 + }, + "end": { + "line": 449, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "contElTgtId", + "range": [ + 12208, + 12219 + ], + "loc": { + "start": { + "line": 449, + "column": 30 + }, + "end": { + "line": 449, + "column": 41 + } + } + }, + "range": [ + 12203, + 12219 + ], + "loc": { + "start": { + "line": 449, + "column": 25 + }, + "end": { + "line": 449, + "column": 41 + } + } + }, + "prefix": true, + "range": [ + 12202, + 12219 + ], + "loc": { + "start": { + "line": 449, + "column": 24 + }, + "end": { + "line": 449, + "column": 41 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12234, + 12243 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 12244, + 12249 + ], + "loc": { + "start": { + "line": 450, + "column": 22 + }, + "end": { + "line": 450, + "column": 27 + } + } + } + ], + "range": [ + 12234, + 12250 + ], + "loc": { + "start": { + "line": 450, + "column": 12 + }, + "end": { + "line": 450, + "column": 28 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 12265, + 12268 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12269, + 12273 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "contElTgtId", + "range": [ + 12274, + 12285 + ], + "loc": { + "start": { + "line": 451, + "column": 21 + }, + "end": { + "line": 451, + "column": 32 + } + } + }, + "range": [ + 12269, + 12285 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 32 + } + } + } + ], + "range": [ + 12265, + 12286 + ], + "loc": { + "start": { + "line": 451, + "column": 12 + }, + "end": { + "line": 451, + "column": 33 + } + } + }, + "range": [ + 12202, + 12286 + ], + "loc": { + "start": { + "line": 449, + "column": 24 + }, + "end": { + "line": 451, + "column": 33 + } + } + }, + "range": [ + 12190, + 12286 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 451, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 12186, + 12287 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 451, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 12296, + 12305 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 12306, + 12315 + ], + "loc": { + "start": { + "line": 452, + "column": 18 + }, + "end": { + "line": 452, + "column": 27 + } + } + }, + "range": [ + 12296, + 12315 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12318, + 12322 + ], + "loc": { + "start": { + "line": 452, + "column": 30 + }, + "end": { + "line": 452, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 12323, + 12335 + ], + "loc": { + "start": { + "line": 452, + "column": 35 + }, + "end": { + "line": 452, + "column": 47 + } + } + }, + "range": [ + 12318, + 12335 + ], + "loc": { + "start": { + "line": 452, + "column": 30 + }, + "end": { + "line": 452, + "column": 47 + } + } + }, + "range": [ + 12296, + 12335 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 47 + } + } + }, + "range": [ + 12296, + 12336 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 48 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Extension description", + "range": [ + 12346, + 12369 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "extNameLabel", + "range": [ + 12382, + 12394 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12397, + 12406 + ], + "loc": { + "start": { + "line": 455, + "column": 27 + }, + "end": { + "line": 455, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "p", + "raw": "'p'", + "range": [ + 12407, + 12410 + ], + "loc": { + "start": { + "line": 455, + "column": 37 + }, + "end": { + "line": 455, + "column": 40 + } + } + } + ], + "range": [ + 12397, + 12411 + ], + "loc": { + "start": { + "line": 455, + "column": 27 + }, + "end": { + "line": 455, + "column": 41 + } + } + }, + "range": [ + 12382, + 12411 + ], + "loc": { + "start": { + "line": 455, + "column": 12 + }, + "end": { + "line": 455, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 12378, + 12412 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Extension description", + "range": [ + 12346, + 12369 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "extNameLabel", + "range": [ + 12421, + 12433 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 12434, + 12443 + ], + "loc": { + "start": { + "line": 456, + "column": 21 + }, + "end": { + "line": 456, + "column": 30 + } + } + }, + "range": [ + 12421, + 12443 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12446, + 12450 + ], + "loc": { + "start": { + "line": 456, + "column": 33 + }, + "end": { + "line": 456, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 12451, + 12455 + ], + "loc": { + "start": { + "line": 456, + "column": 38 + }, + "end": { + "line": 456, + "column": 42 + } + } + }, + "range": [ + 12446, + 12455 + ], + "loc": { + "start": { + "line": 456, + "column": 33 + }, + "end": { + "line": 456, + "column": 42 + } + } + }, + "range": [ + 12421, + 12455 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 42 + } + } + }, + "range": [ + 12421, + 12456 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 12465, + 12474 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 12475, + 12486 + ], + "loc": { + "start": { + "line": 457, + "column": 18 + }, + "end": { + "line": 457, + "column": 29 + } + } + }, + "range": [ + 12465, + 12486 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "extNameLabel", + "range": [ + 12487, + 12499 + ], + "loc": { + "start": { + "line": 457, + "column": 30 + }, + "end": { + "line": 457, + "column": 42 + } + } + } + ], + "range": [ + 12465, + 12500 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 43 + } + } + }, + "range": [ + 12465, + 12501 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 44 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Headers list", + "range": [ + 12511, + 12525 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 22 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ul", + "range": [ + 12538, + 12540 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 14 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12543, + 12552 + ], + "loc": { + "start": { + "line": 460, + "column": 17 + }, + "end": { + "line": 460, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "ul", + "raw": "'ul'", + "range": [ + 12553, + 12557 + ], + "loc": { + "start": { + "line": 460, + "column": 27 + }, + "end": { + "line": 460, + "column": 31 + } + } + } + ], + "range": [ + 12543, + 12558 + ], + "loc": { + "start": { + "line": 460, + "column": 17 + }, + "end": { + "line": 460, + "column": 32 + } + } + }, + "range": [ + 12538, + 12558 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 12534, + 12559 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Headers list", + "range": [ + 12511, + 12525 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 12568, + 12570 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 12571, + 12580 + ], + "loc": { + "start": { + "line": 461, + "column": 11 + }, + "end": { + "line": 461, + "column": 20 + } + } + }, + "range": [ + 12568, + 12580 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12583, + 12587 + ], + "loc": { + "start": { + "line": 461, + "column": 23 + }, + "end": { + "line": 461, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "listCssClass", + "range": [ + 12588, + 12600 + ], + "loc": { + "start": { + "line": 461, + "column": 28 + }, + "end": { + "line": 461, + "column": 40 + } + } + }, + "range": [ + 12583, + 12600 + ], + "loc": { + "start": { + "line": 461, + "column": 23 + }, + "end": { + "line": 461, + "column": 40 + } + } + }, + "range": [ + 12568, + 12600 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 40 + } + } + }, + "range": [ + 12568, + 12601 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 12615, + 12618 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 15 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12621, + 12625 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 12626, + 12636 + ], + "loc": { + "start": { + "line": 463, + "column": 23 + }, + "end": { + "line": 463, + "column": 33 + } + } + }, + "range": [ + 12621, + 12636 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12640, + 12642 + ], + "loc": { + "start": { + "line": 463, + "column": 37 + }, + "end": { + "line": 463, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 12643, + 12646 + ], + "loc": { + "start": { + "line": 463, + "column": 40 + }, + "end": { + "line": 463, + "column": 43 + } + } + }, + "range": [ + 12640, + 12646 + ], + "loc": { + "start": { + "line": 463, + "column": 37 + }, + "end": { + "line": 463, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 12640, + 12648 + ], + "loc": { + "start": { + "line": 463, + "column": 37 + }, + "end": { + "line": 463, + "column": 45 + } + } + }, + "range": [ + 12621, + 12648 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 45 + } + } + }, + "range": [ + 12615, + 12648 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 12611, + 12649 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headerIndex", + "range": [ + 12662, + 12673 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 23 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12676, + 12680 + ], + "loc": { + "start": { + "line": 464, + "column": 26 + }, + "end": { + "line": 464, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 12681, + 12691 + ], + "loc": { + "start": { + "line": 464, + "column": 31 + }, + "end": { + "line": 464, + "column": 41 + } + } + }, + "range": [ + 12676, + 12691 + ], + "loc": { + "start": { + "line": 464, + "column": 26 + }, + "end": { + "line": 464, + "column": 41 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12706, + 12710 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersIndex", + "range": [ + 12711, + 12723 + ], + "loc": { + "start": { + "line": 465, + "column": 17 + }, + "end": { + "line": 465, + "column": 29 + } + } + }, + "range": [ + 12706, + 12723 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 29 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12726, + 12728 + ], + "loc": { + "start": { + "line": 465, + "column": 32 + }, + "end": { + "line": 465, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 12729, + 12747 + ], + "loc": { + "start": { + "line": 465, + "column": 35 + }, + "end": { + "line": 465, + "column": 53 + } + } + }, + "range": [ + 12726, + 12747 + ], + "loc": { + "start": { + "line": 465, + "column": 32 + }, + "end": { + "line": 465, + "column": 53 + } + } + }, + "arguments": [], + "range": [ + 12726, + 12749 + ], + "loc": { + "start": { + "line": 465, + "column": 32 + }, + "end": { + "line": 465, + "column": 55 + } + } + }, + "range": [ + 12676, + 12749 + ], + "loc": { + "start": { + "line": 464, + "column": 26 + }, + "end": { + "line": 465, + "column": 55 + } + } + }, + "range": [ + 12662, + 12749 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 465, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 12658, + 12750 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 465, + "column": 56 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headerRow", + "range": [ + 12763, + 12772 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 12775, + 12778 + ], + "loc": { + "start": { + "line": 466, + "column": 24 + }, + "end": { + "line": 466, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 12779, + 12783 + ], + "loc": { + "start": { + "line": 466, + "column": 28 + }, + "end": { + "line": 466, + "column": 32 + } + } + }, + "range": [ + 12775, + 12783 + ], + "loc": { + "start": { + "line": 466, + "column": 24 + }, + "end": { + "line": 466, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerIndex", + "range": [ + 12784, + 12795 + ], + "loc": { + "start": { + "line": 466, + "column": 33 + }, + "end": { + "line": 466, + "column": 44 + } + } + }, + "range": [ + 12775, + 12796 + ], + "loc": { + "start": { + "line": 466, + "column": 24 + }, + "end": { + "line": 466, + "column": 45 + } + } + }, + "range": [ + 12763, + 12796 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 12759, + 12797 + ], + "loc": { + "start": { + "line": 466, + "column": 8 + }, + "end": { + "line": 466, + "column": 46 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Tick all option", + "range": [ + 12807, + 12824 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 25 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12837, + 12841 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableTickAll", + "range": [ + 12842, + 12855 + ], + "loc": { + "start": { + "line": 469, + "column": 17 + }, + "end": { + "line": 469, + "column": 30 + } + } + }, + "range": [ + 12837, + 12855 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 12875, + 12877 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 470, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 12880, + 12895 + ], + "loc": { + "start": { + "line": 470, + "column": 21 + }, + "end": { + "line": 470, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "col__", + "raw": "'col__'", + "range": [ + 12896, + 12903 + ], + "loc": { + "start": { + "line": 470, + "column": 37 + }, + "end": { + "line": 470, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12906, + 12908 + ], + "loc": { + "start": { + "line": 470, + "column": 47 + }, + "end": { + "line": 470, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 12909, + 12911 + ], + "loc": { + "start": { + "line": 470, + "column": 50 + }, + "end": { + "line": 470, + "column": 52 + } + } + }, + "range": [ + 12906, + 12911 + ], + "loc": { + "start": { + "line": 470, + "column": 47 + }, + "end": { + "line": 470, + "column": 52 + } + } + }, + "range": [ + 12896, + 12911 + ], + "loc": { + "start": { + "line": 470, + "column": 37 + }, + "end": { + "line": 470, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12913, + 12917 + ], + "loc": { + "start": { + "line": 470, + "column": 54 + }, + "end": { + "line": 470, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickAllText", + "range": [ + 12918, + 12929 + ], + "loc": { + "start": { + "line": 470, + "column": 59 + }, + "end": { + "line": 470, + "column": 70 + } + } + }, + "range": [ + 12913, + 12929 + ], + "loc": { + "start": { + "line": 470, + "column": 54 + }, + "end": { + "line": 470, + "column": 70 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12947, + 12951 + ], + "loc": { + "start": { + "line": 471, + "column": 16 + }, + "end": { + "line": 471, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickAllText", + "range": [ + 12952, + 12963 + ], + "loc": { + "start": { + "line": 471, + "column": 21 + }, + "end": { + "line": 471, + "column": 32 + } + } + }, + "range": [ + 12947, + 12963 + ], + "loc": { + "start": { + "line": 471, + "column": 16 + }, + "end": { + "line": 471, + "column": 32 + } + } + } + ], + "range": [ + 12880, + 12964 + ], + "loc": { + "start": { + "line": 470, + "column": 21 + }, + "end": { + "line": 471, + "column": 33 + } + } + }, + "range": [ + 12875, + 12964 + ], + "loc": { + "start": { + "line": 470, + "column": 16 + }, + "end": { + "line": 471, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 12871, + 12965 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 471, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 12978, + 12986 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 12987, + 12989 + ], + "loc": { + "start": { + "line": 472, + "column": 21 + }, + "end": { + "line": 472, + "column": 23 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12991, + 12995 + ], + "loc": { + "start": { + "line": 472, + "column": 25 + }, + "end": { + "line": 472, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "listItemCssClass", + "range": [ + 12996, + 13012 + ], + "loc": { + "start": { + "line": 472, + "column": 30 + }, + "end": { + "line": 472, + "column": 46 + } + } + }, + "range": [ + 12991, + 13012 + ], + "loc": { + "start": { + "line": 472, + "column": 25 + }, + "end": { + "line": 472, + "column": 46 + } + } + } + ], + "range": [ + 12978, + 13013 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 47 + } + } + }, + "range": [ + 12978, + 13014 + ], + "loc": { + "start": { + "line": 472, + "column": 12 + }, + "end": { + "line": 472, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 13027, + 13029 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13030, + 13041 + ], + "loc": { + "start": { + "line": 473, + "column": 15 + }, + "end": { + "line": 473, + "column": 26 + } + } + }, + "range": [ + 13027, + 13041 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 13042, + 13044 + ], + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 29 + } + } + } + ], + "range": [ + 13027, + 13045 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 30 + } + } + }, + "range": [ + 13027, + 13046 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 13059, + 13061 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 13062, + 13067 + ], + "loc": { + "start": { + "line": 474, + "column": 15 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "range": [ + 13059, + 13067 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13068, + 13075 + ], + "loc": { + "start": { + "line": 474, + "column": 21 + }, + "end": { + "line": 474, + "column": 28 + } + } + }, + "range": [ + 13059, + 13075 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13079, + 13083 + ], + "loc": { + "start": { + "line": 474, + "column": 32 + }, + "end": { + "line": 474, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 13084, + 13094 + ], + "loc": { + "start": { + "line": 474, + "column": 37 + }, + "end": { + "line": 474, + "column": 47 + } + } + }, + "range": [ + 13079, + 13094 + ], + "loc": { + "start": { + "line": 474, + "column": 32 + }, + "end": { + "line": 474, + "column": 47 + } + } + }, + "prefix": true, + "range": [ + 13078, + 13094 + ], + "loc": { + "start": { + "line": 474, + "column": 31 + }, + "end": { + "line": 474, + "column": 47 + } + } + }, + "range": [ + 13059, + 13094 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 47 + } + } + }, + "range": [ + 13059, + 13095 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 13109, + 13115 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 13116, + 13118 + ], + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 13119, + 13124 + ], + "loc": { + "start": { + "line": 476, + "column": 22 + }, + "end": { + "line": 476, + "column": 27 + } + } + }, + "range": [ + 13116, + 13124 + ], + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 13126, + 13133 + ], + "loc": { + "start": { + "line": 476, + "column": 29 + }, + "end": { + "line": 476, + "column": 36 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "h", + "range": [ + 13168, + 13169 + ], + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 26 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13172, + 13173 + ], + "loc": { + "start": { + "line": 477, + "column": 29 + }, + "end": { + "line": 477, + "column": 30 + } + } + }, + "range": [ + 13168, + 13173 + ], + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 13164, + 13173 + ], + "loc": { + "start": { + "line": 477, + "column": 21 + }, + "end": { + "line": 477, + "column": 30 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "h", + "range": [ + 13175, + 13176 + ], + "loc": { + "start": { + "line": 477, + "column": 32 + }, + "end": { + "line": 477, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "headerRow", + "range": [ + 13179, + 13188 + ], + "loc": { + "start": { + "line": 477, + "column": 36 + }, + "end": { + "line": 477, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 13189, + 13194 + ], + "loc": { + "start": { + "line": 477, + "column": 46 + }, + "end": { + "line": 477, + "column": 51 + } + } + }, + "range": [ + 13179, + 13194 + ], + "loc": { + "start": { + "line": 477, + "column": 36 + }, + "end": { + "line": 477, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 13195, + 13201 + ], + "loc": { + "start": { + "line": 477, + "column": 52 + }, + "end": { + "line": 477, + "column": 58 + } + } + }, + "range": [ + 13179, + 13201 + ], + "loc": { + "start": { + "line": 477, + "column": 36 + }, + "end": { + "line": 477, + "column": 58 + } + } + }, + "range": [ + 13175, + 13201 + ], + "loc": { + "start": { + "line": 477, + "column": 32 + }, + "end": { + "line": 477, + "column": 58 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "h", + "range": [ + 13203, + 13204 + ], + "loc": { + "start": { + "line": 477, + "column": 60 + }, + "end": { + "line": 477, + "column": 61 + } + } + }, + "prefix": false, + "range": [ + 13203, + 13206 + ], + "loc": { + "start": { + "line": 477, + "column": 60 + }, + "end": { + "line": 477, + "column": 63 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "itm", + "range": [ + 13234, + 13237 + ], + "loc": { + "start": { + "line": 478, + "column": 24 + }, + "end": { + "line": 478, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 13240, + 13243 + ], + "loc": { + "start": { + "line": 478, + "column": 30 + }, + "end": { + "line": 478, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "col_", + "raw": "'col_'", + "range": [ + 13244, + 13250 + ], + "loc": { + "start": { + "line": 478, + "column": 34 + }, + "end": { + "line": 478, + "column": 40 + } + } + }, + "right": { + "type": "Identifier", + "name": "h", + "range": [ + 13253, + 13254 + ], + "loc": { + "start": { + "line": 478, + "column": 43 + }, + "end": { + "line": 478, + "column": 44 + } + } + }, + "range": [ + 13244, + 13254 + ], + "loc": { + "start": { + "line": 478, + "column": 34 + }, + "end": { + "line": 478, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 13257, + 13260 + ], + "loc": { + "start": { + "line": 478, + "column": 47 + }, + "end": { + "line": 478, + "column": 50 + } + } + }, + "range": [ + 13244, + 13260 + ], + "loc": { + "start": { + "line": 478, + "column": 34 + }, + "end": { + "line": 478, + "column": 50 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13263, + 13265 + ], + "loc": { + "start": { + "line": 478, + "column": 53 + }, + "end": { + "line": 478, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 13266, + 13268 + ], + "loc": { + "start": { + "line": 478, + "column": 56 + }, + "end": { + "line": 478, + "column": 58 + } + } + }, + "range": [ + 13263, + 13268 + ], + "loc": { + "start": { + "line": 478, + "column": 53 + }, + "end": { + "line": 478, + "column": 58 + } + } + }, + "range": [ + 13244, + 13268 + ], + "loc": { + "start": { + "line": 478, + "column": 34 + }, + "end": { + "line": 478, + "column": 58 + } + } + } + ], + "range": [ + 13240, + 13269 + ], + "loc": { + "start": { + "line": 478, + "column": 30 + }, + "end": { + "line": 478, + "column": 59 + } + } + }, + "range": [ + 13234, + 13269 + ], + "loc": { + "start": { + "line": 478, + "column": 24 + }, + "end": { + "line": 478, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 13230, + 13270 + ], + "loc": { + "start": { + "line": 478, + "column": 20 + }, + "end": { + "line": 478, + "column": 60 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "itm", + "range": [ + 13295, + 13298 + ], + "loc": { + "start": { + "line": 479, + "column": 24 + }, + "end": { + "line": 479, + "column": 27 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 13302, + 13304 + ], + "loc": { + "start": { + "line": 479, + "column": 31 + }, + "end": { + "line": 479, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 13305, + 13310 + ], + "loc": { + "start": { + "line": 479, + "column": 34 + }, + "end": { + "line": 479, + "column": 39 + } + } + }, + "range": [ + 13302, + 13310 + ], + "loc": { + "start": { + "line": 479, + "column": 31 + }, + "end": { + "line": 479, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13311, + 13318 + ], + "loc": { + "start": { + "line": 479, + "column": 40 + }, + "end": { + "line": 479, + "column": 47 + } + } + }, + "range": [ + 13302, + 13318 + ], + "loc": { + "start": { + "line": 479, + "column": 31 + }, + "end": { + "line": 479, + "column": 47 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "itm", + "range": [ + 13323, + 13326 + ], + "loc": { + "start": { + "line": 479, + "column": 52 + }, + "end": { + "line": 479, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13327, + 13334 + ], + "loc": { + "start": { + "line": 479, + "column": 56 + }, + "end": { + "line": 479, + "column": 63 + } + } + }, + "range": [ + 13323, + 13334 + ], + "loc": { + "start": { + "line": 479, + "column": 52 + }, + "end": { + "line": 479, + "column": 63 + } + } + }, + "range": [ + 13302, + 13334 + ], + "loc": { + "start": { + "line": 479, + "column": 31 + }, + "end": { + "line": 479, + "column": 63 + } + } + }, + "range": [ + 13295, + 13334 + ], + "loc": { + "start": { + "line": 479, + "column": 24 + }, + "end": { + "line": 479, + "column": 63 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "itm", + "range": [ + 13362, + 13365 + ], + "loc": { + "start": { + "line": 480, + "column": 24 + }, + "end": { + "line": 480, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "click", + "range": [ + 13366, + 13371 + ], + "loc": { + "start": { + "line": 480, + "column": 28 + }, + "end": { + "line": 480, + "column": 33 + } + } + }, + "range": [ + 13362, + 13371 + ], + "loc": { + "start": { + "line": 480, + "column": 24 + }, + "end": { + "line": 480, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 13362, + 13373 + ], + "loc": { + "start": { + "line": 480, + "column": 24 + }, + "end": { + "line": 480, + "column": 35 + } + } + }, + "range": [ + 13362, + 13374 + ], + "loc": { + "start": { + "line": 480, + "column": 24 + }, + "end": { + "line": 480, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "itm", + "range": [ + 13399, + 13402 + ], + "loc": { + "start": { + "line": 481, + "column": 24 + }, + "end": { + "line": 481, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13403, + 13410 + ], + "loc": { + "start": { + "line": 481, + "column": 28 + }, + "end": { + "line": 481, + "column": 35 + } + } + }, + "range": [ + 13399, + 13410 + ], + "loc": { + "start": { + "line": 481, + "column": 24 + }, + "end": { + "line": 481, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 13413, + 13415 + ], + "loc": { + "start": { + "line": 481, + "column": 38 + }, + "end": { + "line": 481, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 13416, + 13421 + ], + "loc": { + "start": { + "line": 481, + "column": 41 + }, + "end": { + "line": 481, + "column": 46 + } + } + }, + "range": [ + 13413, + 13421 + ], + "loc": { + "start": { + "line": 481, + "column": 38 + }, + "end": { + "line": 481, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13422, + 13429 + ], + "loc": { + "start": { + "line": 481, + "column": 47 + }, + "end": { + "line": 481, + "column": 54 + } + } + }, + "range": [ + 13413, + 13429 + ], + "loc": { + "start": { + "line": 481, + "column": 38 + }, + "end": { + "line": 481, + "column": 54 + } + } + }, + "range": [ + 13399, + 13429 + ], + "loc": { + "start": { + "line": 481, + "column": 24 + }, + "end": { + "line": 481, + "column": 54 + } + } + }, + "range": [ + 13399, + 13430 + ], + "loc": { + "start": { + "line": 481, + "column": 24 + }, + "end": { + "line": 481, + "column": 55 + } + } + } + ], + "range": [ + 13336, + 13452 + ], + "loc": { + "start": { + "line": 479, + "column": 65 + }, + "end": { + "line": 482, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 13291, + 13452 + ], + "loc": { + "start": { + "line": 479, + "column": 20 + }, + "end": { + "line": 482, + "column": 21 + } + } + } + ], + "range": [ + 13208, + 13470 + ], + "loc": { + "start": { + "line": 477, + "column": 65 + }, + "end": { + "line": 483, + "column": 17 + } + } + }, + "range": [ + 13159, + 13470 + ], + "loc": { + "start": { + "line": 477, + "column": 16 + }, + "end": { + "line": 483, + "column": 17 + } + } + } + ], + "range": [ + 13141, + 13484 + ], + "loc": { + "start": { + "line": 476, + "column": 44 + }, + "end": { + "line": 484, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13135, + 13484 + ], + "loc": { + "start": { + "line": 476, + "column": 38 + }, + "end": { + "line": 484, + "column": 13 + } + } + } + ], + "range": [ + 13109, + 13485 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 484, + "column": 14 + } + } + }, + "range": [ + 13109, + 13486 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 484, + "column": 15 + } + } + } + ], + "range": [ + 12857, + 13496 + ], + "loc": { + "start": { + "line": 469, + "column": 32 + }, + "end": { + "line": 485, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 12833, + 13496 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 485, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Tick all option", + "range": [ + 12807, + 12824 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 25 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 13515, + 13516 + ], + "loc": { + "start": { + "line": 487, + "column": 17 + }, + "end": { + "line": 487, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13519, + 13520 + ], + "loc": { + "start": { + "line": 487, + "column": 21 + }, + "end": { + "line": 487, + "column": 22 + } + } + }, + "range": [ + 13515, + 13520 + ], + "loc": { + "start": { + "line": 487, + "column": 17 + }, + "end": { + "line": 487, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 13511, + 13520 + ], + "loc": { + "start": { + "line": 487, + "column": 13 + }, + "end": { + "line": 487, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 13522, + 13523 + ], + "loc": { + "start": { + "line": 487, + "column": 24 + }, + "end": { + "line": 487, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "headerRow", + "range": [ + 13526, + 13535 + ], + "loc": { + "start": { + "line": 487, + "column": 28 + }, + "end": { + "line": 487, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 13536, + 13541 + ], + "loc": { + "start": { + "line": 487, + "column": 38 + }, + "end": { + "line": 487, + "column": 43 + } + } + }, + "range": [ + 13526, + 13541 + ], + "loc": { + "start": { + "line": 487, + "column": 28 + }, + "end": { + "line": 487, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 13542, + 13548 + ], + "loc": { + "start": { + "line": 487, + "column": 44 + }, + "end": { + "line": 487, + "column": 50 + } + } + }, + "range": [ + 13526, + 13548 + ], + "loc": { + "start": { + "line": 487, + "column": 28 + }, + "end": { + "line": 487, + "column": 50 + } + } + }, + "range": [ + 13522, + 13548 + ], + "loc": { + "start": { + "line": 487, + "column": 24 + }, + "end": { + "line": 487, + "column": 50 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 13550, + 13551 + ], + "loc": { + "start": { + "line": 487, + "column": 52 + }, + "end": { + "line": 487, + "column": 53 + } + } + }, + "prefix": false, + "range": [ + 13550, + 13553 + ], + "loc": { + "start": { + "line": 487, + "column": 52 + }, + "end": { + "line": 487, + "column": 55 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 13573, + 13577 + ], + "loc": { + "start": { + "line": 488, + "column": 16 + }, + "end": { + "line": 488, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "headerRow", + "range": [ + 13580, + 13589 + ], + "loc": { + "start": { + "line": 488, + "column": 23 + }, + "end": { + "line": 488, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 13590, + 13595 + ], + "loc": { + "start": { + "line": 488, + "column": 33 + }, + "end": { + "line": 488, + "column": 38 + } + } + }, + "range": [ + 13580, + 13595 + ], + "loc": { + "start": { + "line": 488, + "column": 23 + }, + "end": { + "line": 488, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 13596, + 13597 + ], + "loc": { + "start": { + "line": 488, + "column": 39 + }, + "end": { + "line": 488, + "column": 40 + } + } + }, + "range": [ + 13580, + 13598 + ], + "loc": { + "start": { + "line": 488, + "column": 23 + }, + "end": { + "line": 488, + "column": 41 + } + } + }, + "range": [ + 13573, + 13598 + ], + "loc": { + "start": { + "line": 488, + "column": 16 + }, + "end": { + "line": 488, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 13569, + 13599 + ], + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellText", + "range": [ + 13616, + 13624 + ], + "loc": { + "start": { + "line": 489, + "column": 16 + }, + "end": { + "line": 489, + "column": 24 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13627, + 13631 + ], + "loc": { + "start": { + "line": 489, + "column": 27 + }, + "end": { + "line": 489, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersText", + "range": [ + 13632, + 13643 + ], + "loc": { + "start": { + "line": 489, + "column": 32 + }, + "end": { + "line": 489, + "column": 43 + } + } + }, + "range": [ + 13627, + 13643 + ], + "loc": { + "start": { + "line": 489, + "column": 27 + }, + "end": { + "line": 489, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 13644, + 13645 + ], + "loc": { + "start": { + "line": 489, + "column": 44 + }, + "end": { + "line": 489, + "column": 45 + } + } + }, + "range": [ + 13627, + 13646 + ], + "loc": { + "start": { + "line": 489, + "column": 27 + }, + "end": { + "line": 489, + "column": 46 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13650, + 13654 + ], + "loc": { + "start": { + "line": 489, + "column": 50 + }, + "end": { + "line": 489, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "_getHeaderText", + "range": [ + 13655, + 13669 + ], + "loc": { + "start": { + "line": 489, + "column": 55 + }, + "end": { + "line": 489, + "column": 69 + } + } + }, + "range": [ + 13650, + 13669 + ], + "loc": { + "start": { + "line": 489, + "column": 50 + }, + "end": { + "line": 489, + "column": 69 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 13670, + 13674 + ], + "loc": { + "start": { + "line": 489, + "column": 70 + }, + "end": { + "line": 489, + "column": 74 + } + } + } + ], + "range": [ + 13650, + 13675 + ], + "loc": { + "start": { + "line": 489, + "column": 50 + }, + "end": { + "line": 489, + "column": 75 + } + } + }, + "range": [ + 13627, + 13675 + ], + "loc": { + "start": { + "line": 489, + "column": 27 + }, + "end": { + "line": 489, + "column": 75 + } + } + }, + "range": [ + 13616, + 13675 + ], + "loc": { + "start": { + "line": 489, + "column": 16 + }, + "end": { + "line": 489, + "column": 75 + } + } + } + ], + "kind": "let", + "range": [ + 13612, + 13676 + ], + "loc": { + "start": { + "line": 489, + "column": 12 + }, + "end": { + "line": 489, + "column": 76 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "liElm", + "range": [ + 13693, + 13698 + ], + "loc": { + "start": { + "line": 490, + "column": 16 + }, + "end": { + "line": 490, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 13701, + 13716 + ], + "loc": { + "start": { + "line": 490, + "column": 24 + }, + "end": { + "line": 490, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "col_", + "raw": "'col_'", + "range": [ + 13717, + 13723 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 46 + } + } + }, + "right": { + "type": "Identifier", + "name": "i", + "range": [ + 13726, + 13727 + ], + "loc": { + "start": { + "line": 490, + "column": 49 + }, + "end": { + "line": 490, + "column": 50 + } + } + }, + "range": [ + 13717, + 13727 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 50 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 13730, + 13733 + ], + "loc": { + "start": { + "line": 490, + "column": 53 + }, + "end": { + "line": 490, + "column": 56 + } + } + }, + "range": [ + 13717, + 13733 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 56 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13736, + 13738 + ], + "loc": { + "start": { + "line": 490, + "column": 59 + }, + "end": { + "line": 490, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 13739, + 13741 + ], + "loc": { + "start": { + "line": 490, + "column": 62 + }, + "end": { + "line": 490, + "column": 64 + } + } + }, + "range": [ + 13736, + 13741 + ], + "loc": { + "start": { + "line": 490, + "column": 59 + }, + "end": { + "line": 490, + "column": 64 + } + } + }, + "range": [ + 13717, + 13741 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "cellText", + "range": [ + 13743, + 13751 + ], + "loc": { + "start": { + "line": 490, + "column": 66 + }, + "end": { + "line": 490, + "column": 74 + } + } + }, + { + "type": "Identifier", + "name": "cellText", + "range": [ + 13769, + 13777 + ], + "loc": { + "start": { + "line": 491, + "column": 16 + }, + "end": { + "line": 491, + "column": 24 + } + } + } + ], + "range": [ + 13701, + 13778 + ], + "loc": { + "start": { + "line": 490, + "column": 24 + }, + "end": { + "line": 491, + "column": 25 + } + } + }, + "range": [ + 13693, + 13778 + ], + "loc": { + "start": { + "line": 490, + "column": 16 + }, + "end": { + "line": 491, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 13689, + 13779 + ], + "loc": { + "start": { + "line": 490, + "column": 12 + }, + "end": { + "line": 491, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 13792, + 13800 + ], + "loc": { + "start": { + "line": 492, + "column": 12 + }, + "end": { + "line": 492, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "liElm", + "range": [ + 13801, + 13806 + ], + "loc": { + "start": { + "line": 492, + "column": 21 + }, + "end": { + "line": 492, + "column": 26 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13808, + 13812 + ], + "loc": { + "start": { + "line": 492, + "column": 28 + }, + "end": { + "line": 492, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "listItemCssClass", + "range": [ + 13813, + 13829 + ], + "loc": { + "start": { + "line": 492, + "column": 33 + }, + "end": { + "line": 492, + "column": 49 + } + } + }, + "range": [ + 13808, + 13829 + ], + "loc": { + "start": { + "line": 492, + "column": 28 + }, + "end": { + "line": 492, + "column": 49 + } + } + } + ], + "range": [ + 13792, + 13830 + ], + "loc": { + "start": { + "line": 492, + "column": 12 + }, + "end": { + "line": 492, + "column": 50 + } + } + }, + "range": [ + 13792, + 13831 + ], + "loc": { + "start": { + "line": 492, + "column": 12 + }, + "end": { + "line": 492, + "column": 51 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13849, + 13853 + ], + "loc": { + "start": { + "line": 493, + "column": 17 + }, + "end": { + "line": 493, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 13854, + 13864 + ], + "loc": { + "start": { + "line": 493, + "column": 22 + }, + "end": { + "line": 493, + "column": 32 + } + } + }, + "range": [ + 13849, + 13864 + ], + "loc": { + "start": { + "line": 493, + "column": 17 + }, + "end": { + "line": 493, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 13848, + 13864 + ], + "loc": { + "start": { + "line": 493, + "column": 16 + }, + "end": { + "line": 493, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 13884, + 13892 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "liElm", + "range": [ + 13893, + 13898 + ], + "loc": { + "start": { + "line": 494, + "column": 25 + }, + "end": { + "line": 494, + "column": 30 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13900, + 13904 + ], + "loc": { + "start": { + "line": 494, + "column": 32 + }, + "end": { + "line": 494, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "listSlcItemCssClass", + "range": [ + 13905, + 13924 + ], + "loc": { + "start": { + "line": 494, + "column": 37 + }, + "end": { + "line": 494, + "column": 56 + } + } + }, + "range": [ + 13900, + 13924 + ], + "loc": { + "start": { + "line": 494, + "column": 32 + }, + "end": { + "line": 494, + "column": 56 + } + } + } + ], + "range": [ + 13884, + 13925 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 57 + } + } + }, + "range": [ + 13884, + 13926 + ], + "loc": { + "start": { + "line": 494, + "column": 16 + }, + "end": { + "line": 494, + "column": 58 + } + } + } + ], + "range": [ + 13866, + 13940 + ], + "loc": { + "start": { + "line": 493, + "column": 34 + }, + "end": { + "line": 495, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13844, + 13940 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 495, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 13953, + 13955 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13956, + 13967 + ], + "loc": { + "start": { + "line": 496, + "column": 15 + }, + "end": { + "line": 496, + "column": 26 + } + } + }, + "range": [ + 13953, + 13967 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "liElm", + "range": [ + 13968, + 13973 + ], + "loc": { + "start": { + "line": 496, + "column": 27 + }, + "end": { + "line": 496, + "column": 32 + } + } + } + ], + "range": [ + 13953, + 13974 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 33 + } + } + }, + "range": [ + 13953, + 13975 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 34 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13993, + 13997 + ], + "loc": { + "start": { + "line": 497, + "column": 17 + }, + "end": { + "line": 497, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tickToHide", + "range": [ + 13998, + 14008 + ], + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 497, + "column": 32 + } + } + }, + "range": [ + 13993, + 14008 + ], + "loc": { + "start": { + "line": 497, + "column": 17 + }, + "end": { + "line": 497, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 13992, + 14008 + ], + "loc": { + "start": { + "line": 497, + "column": 16 + }, + "end": { + "line": 497, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "liElm", + "range": [ + 14028, + 14033 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 14034, + 14039 + ], + "loc": { + "start": { + "line": 498, + "column": 22 + }, + "end": { + "line": 498, + "column": 27 + } + } + }, + "range": [ + 14028, + 14039 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 14040, + 14047 + ], + "loc": { + "start": { + "line": 498, + "column": 28 + }, + "end": { + "line": 498, + "column": 35 + } + } + }, + "range": [ + 14028, + 14047 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 14050, + 14054 + ], + "loc": { + "start": { + "line": 498, + "column": 38 + }, + "end": { + "line": 498, + "column": 42 + } + } + }, + "range": [ + 14028, + 14054 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 42 + } + } + }, + "range": [ + 14028, + 14055 + ], + "loc": { + "start": { + "line": 498, + "column": 16 + }, + "end": { + "line": 498, + "column": 43 + } + } + } + ], + "range": [ + 14010, + 14069 + ], + "loc": { + "start": { + "line": 497, + "column": 34 + }, + "end": { + "line": 499, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13988, + 14069 + ], + "loc": { + "start": { + "line": 497, + "column": 12 + }, + "end": { + "line": 499, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 14083, + 14089 + ], + "loc": { + "start": { + "line": 501, + "column": 12 + }, + "end": { + "line": 501, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "liElm", + "range": [ + 14090, + 14095 + ], + "loc": { + "start": { + "line": 501, + "column": 19 + }, + "end": { + "line": 501, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 14096, + 14101 + ], + "loc": { + "start": { + "line": 501, + "column": 25 + }, + "end": { + "line": 501, + "column": 30 + } + } + }, + "range": [ + 14090, + 14101 + ], + "loc": { + "start": { + "line": 501, + "column": 19 + }, + "end": { + "line": 501, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 14103, + 14110 + ], + "loc": { + "start": { + "line": 501, + "column": 32 + }, + "end": { + "line": 501, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14113, + 14116 + ], + "loc": { + "start": { + "line": 501, + "column": 42 + }, + "end": { + "line": 501, + "column": 45 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 14143, + 14146 + ], + "loc": { + "start": { + "line": 502, + "column": 20 + }, + "end": { + "line": 502, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 14149, + 14158 + ], + "loc": { + "start": { + "line": 502, + "column": 26 + }, + "end": { + "line": 502, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14159, + 14162 + ], + "loc": { + "start": { + "line": 502, + "column": 36 + }, + "end": { + "line": 502, + "column": 39 + } + } + } + ], + "range": [ + 14149, + 14163 + ], + "loc": { + "start": { + "line": 502, + "column": 26 + }, + "end": { + "line": 502, + "column": 40 + } + } + }, + "range": [ + 14143, + 14163 + ], + "loc": { + "start": { + "line": 502, + "column": 20 + }, + "end": { + "line": 502, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 14139, + 14164 + ], + "loc": { + "start": { + "line": 502, + "column": 16 + }, + "end": { + "line": 502, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lbl", + "range": [ + 14185, + 14188 + ], + "loc": { + "start": { + "line": 503, + "column": 20 + }, + "end": { + "line": 503, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 14191, + 14194 + ], + "loc": { + "start": { + "line": 503, + "column": 26 + }, + "end": { + "line": 503, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 14195, + 14205 + ], + "loc": { + "start": { + "line": 503, + "column": 30 + }, + "end": { + "line": 503, + "column": 40 + } + } + }, + "range": [ + 14191, + 14205 + ], + "loc": { + "start": { + "line": 503, + "column": 26 + }, + "end": { + "line": 503, + "column": 40 + } + } + }, + "range": [ + 14185, + 14205 + ], + "loc": { + "start": { + "line": 503, + "column": 20 + }, + "end": { + "line": 503, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 14181, + 14206 + ], + "loc": { + "start": { + "line": 503, + "column": 16 + }, + "end": { + "line": 503, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14223, + 14227 + ], + "loc": { + "start": { + "line": 504, + "column": 16 + }, + "end": { + "line": 504, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "checkItem", + "range": [ + 14228, + 14237 + ], + "loc": { + "start": { + "line": 504, + "column": 21 + }, + "end": { + "line": 504, + "column": 30 + } + } + }, + "range": [ + 14223, + 14237 + ], + "loc": { + "start": { + "line": 504, + "column": 16 + }, + "end": { + "line": 504, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "lbl", + "range": [ + 14238, + 14241 + ], + "loc": { + "start": { + "line": 504, + "column": 31 + }, + "end": { + "line": 504, + "column": 34 + } + } + } + ], + "range": [ + 14223, + 14242 + ], + "loc": { + "start": { + "line": 504, + "column": 16 + }, + "end": { + "line": 504, + "column": 35 + } + } + }, + "range": [ + 14223, + 14243 + ], + "loc": { + "start": { + "line": 504, + "column": 16 + }, + "end": { + "line": 504, + "column": 36 + } + } + } + ], + "range": [ + 14121, + 14257 + ], + "loc": { + "start": { + "line": 501, + "column": 50 + }, + "end": { + "line": 505, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14112, + 14257 + ], + "loc": { + "start": { + "line": 501, + "column": 41 + }, + "end": { + "line": 505, + "column": 13 + } + } + } + ], + "range": [ + 14083, + 14258 + ], + "loc": { + "start": { + "line": 501, + "column": 12 + }, + "end": { + "line": 505, + "column": 14 + } + } + }, + "range": [ + 14083, + 14259 + ], + "loc": { + "start": { + "line": 501, + "column": 12 + }, + "end": { + "line": 505, + "column": 15 + } + } + } + ], + "range": [ + 13555, + 14269 + ], + "loc": { + "start": { + "line": 487, + "column": 57 + }, + "end": { + "line": 506, + "column": 9 + } + } + }, + "range": [ + 13506, + 14269 + ], + "loc": { + "start": { + "line": 487, + "column": 8 + }, + "end": { + "line": 506, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "separator", + "range": [ + 14279, + 14290 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 19 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "p", + "range": [ + 14303, + 14304 + ], + "loc": { + "start": { + "line": 509, + "column": 12 + }, + "end": { + "line": 509, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 14307, + 14316 + ], + "loc": { + "start": { + "line": 509, + "column": 16 + }, + "end": { + "line": 509, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "p", + "raw": "'p'", + "range": [ + 14317, + 14320 + ], + "loc": { + "start": { + "line": 509, + "column": 26 + }, + "end": { + "line": 509, + "column": 29 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "align", + "raw": "'align'", + "range": [ + 14323, + 14330 + ], + "loc": { + "start": { + "line": 509, + "column": 32 + }, + "end": { + "line": 509, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "center", + "raw": "'center'", + "range": [ + 14332, + 14340 + ], + "loc": { + "start": { + "line": 509, + "column": 41 + }, + "end": { + "line": 509, + "column": 49 + } + } + } + ], + "range": [ + 14322, + 14341 + ], + "loc": { + "start": { + "line": 509, + "column": 31 + }, + "end": { + "line": 509, + "column": 50 + } + } + } + ], + "range": [ + 14307, + 14342 + ], + "loc": { + "start": { + "line": 509, + "column": 16 + }, + "end": { + "line": 509, + "column": 51 + } + } + }, + "range": [ + 14303, + 14342 + ], + "loc": { + "start": { + "line": 509, + "column": 12 + }, + "end": { + "line": 509, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 14299, + 14343 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "separator", + "range": [ + 14279, + 14290 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 19 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btn", + "range": [ + 14356, + 14359 + ], + "loc": { + "start": { + "line": 510, + "column": 12 + }, + "end": { + "line": 510, + "column": 15 + } + } + }, + "init": null, + "range": [ + 14356, + 14359 + ], + "loc": { + "start": { + "line": 510, + "column": 12 + }, + "end": { + "line": 510, + "column": 15 + } + } + } + ], + "kind": "let", + "range": [ + 14352, + 14360 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 16 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Close link", + "range": [ + 14369, + 14381 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 20 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14395, + 14399 + ], + "loc": { + "start": { + "line": 512, + "column": 13 + }, + "end": { + "line": 512, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseHtml", + "range": [ + 14400, + 14412 + ], + "loc": { + "start": { + "line": 512, + "column": 18 + }, + "end": { + "line": 512, + "column": 30 + } + } + }, + "range": [ + 14395, + 14412 + ], + "loc": { + "start": { + "line": 512, + "column": 13 + }, + "end": { + "line": 512, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 14394, + 14412 + ], + "loc": { + "start": { + "line": 512, + "column": 12 + }, + "end": { + "line": 512, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "btn", + "range": [ + 14428, + 14431 + ], + "loc": { + "start": { + "line": 513, + "column": 12 + }, + "end": { + "line": 513, + "column": 15 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 14434, + 14443 + ], + "loc": { + "start": { + "line": 513, + "column": 18 + }, + "end": { + "line": 513, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "a", + "raw": "'a'", + "range": [ + 14444, + 14447 + ], + "loc": { + "start": { + "line": 513, + "column": 28 + }, + "end": { + "line": 513, + "column": 31 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 14450, + 14456 + ], + "loc": { + "start": { + "line": 513, + "column": 34 + }, + "end": { + "line": 513, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "javascript:;", + "raw": "'javascript:;'", + "range": [ + 14458, + 14472 + ], + "loc": { + "start": { + "line": 513, + "column": 42 + }, + "end": { + "line": 513, + "column": 56 + } + } + } + ], + "range": [ + 14449, + 14473 + ], + "loc": { + "start": { + "line": 513, + "column": 33 + }, + "end": { + "line": 513, + "column": 57 + } + } + } + ], + "range": [ + 14434, + 14474 + ], + "loc": { + "start": { + "line": 513, + "column": 18 + }, + "end": { + "line": 513, + "column": 58 + } + } + }, + "range": [ + 14428, + 14474 + ], + "loc": { + "start": { + "line": 513, + "column": 12 + }, + "end": { + "line": 513, + "column": 58 + } + } + }, + "range": [ + 14428, + 14475 + ], + "loc": { + "start": { + "line": 513, + "column": 12 + }, + "end": { + "line": 513, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 14488, + 14491 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 14492, + 14501 + ], + "loc": { + "start": { + "line": 514, + "column": 16 + }, + "end": { + "line": 514, + "column": 25 + } + } + }, + "range": [ + 14488, + 14501 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14504, + 14508 + ], + "loc": { + "start": { + "line": 514, + "column": 28 + }, + "end": { + "line": 514, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseCssClass", + "range": [ + 14509, + 14525 + ], + "loc": { + "start": { + "line": 514, + "column": 33 + }, + "end": { + "line": 514, + "column": 49 + } + } + }, + "range": [ + 14504, + 14525 + ], + "loc": { + "start": { + "line": 514, + "column": 28 + }, + "end": { + "line": 514, + "column": 49 + } + } + }, + "range": [ + 14488, + 14525 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 49 + } + } + }, + "range": [ + 14488, + 14526 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 14539, + 14542 + ], + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 14543, + 14552 + ], + "loc": { + "start": { + "line": 515, + "column": 16 + }, + "end": { + "line": 515, + "column": 25 + } + } + }, + "range": [ + 14539, + 14552 + ], + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14555, + 14559 + ], + "loc": { + "start": { + "line": 515, + "column": 28 + }, + "end": { + "line": 515, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseText", + "range": [ + 14560, + 14572 + ], + "loc": { + "start": { + "line": 515, + "column": 33 + }, + "end": { + "line": 515, + "column": 45 + } + } + }, + "range": [ + 14555, + 14572 + ], + "loc": { + "start": { + "line": 515, + "column": 28 + }, + "end": { + "line": 515, + "column": 45 + } + } + }, + "range": [ + 14539, + 14572 + ], + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 45 + } + } + }, + "range": [ + 14539, + 14573 + ], + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 14586, + 14592 + ], + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 14593, + 14596 + ], + "loc": { + "start": { + "line": 516, + "column": 19 + }, + "end": { + "line": 516, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 14598, + 14605 + ], + "loc": { + "start": { + "line": 516, + "column": 24 + }, + "end": { + "line": 516, + "column": 31 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14608, + 14611 + ], + "loc": { + "start": { + "line": 516, + "column": 34 + }, + "end": { + "line": 516, + "column": 37 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14616, + 14620 + ], + "loc": { + "start": { + "line": 516, + "column": 42 + }, + "end": { + "line": 516, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 14621, + 14627 + ], + "loc": { + "start": { + "line": 516, + "column": 47 + }, + "end": { + "line": 516, + "column": 53 + } + } + }, + "range": [ + 14616, + 14627 + ], + "loc": { + "start": { + "line": 516, + "column": 42 + }, + "end": { + "line": 516, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14628, + 14631 + ], + "loc": { + "start": { + "line": 516, + "column": 54 + }, + "end": { + "line": 516, + "column": 57 + } + } + } + ], + "range": [ + 14616, + 14632 + ], + "loc": { + "start": { + "line": 516, + "column": 42 + }, + "end": { + "line": 516, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14607, + 14632 + ], + "loc": { + "start": { + "line": 516, + "column": 33 + }, + "end": { + "line": 516, + "column": 58 + } + } + } + ], + "range": [ + 14586, + 14633 + ], + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 59 + } + } + }, + "range": [ + 14586, + 14634 + ], + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "p", + "range": [ + 14647, + 14648 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14649, + 14660 + ], + "loc": { + "start": { + "line": 517, + "column": 14 + }, + "end": { + "line": 517, + "column": 25 + } + } + }, + "range": [ + 14647, + 14660 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 14661, + 14664 + ], + "loc": { + "start": { + "line": 517, + "column": 26 + }, + "end": { + "line": 517, + "column": 29 + } + } + } + ], + "range": [ + 14647, + 14665 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 30 + } + } + }, + "range": [ + 14647, + 14666 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 31 + } + } + } + ], + "range": [ + 14414, + 14676 + ], + "loc": { + "start": { + "line": 512, + "column": 32 + }, + "end": { + "line": 518, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "p", + "range": [ + 14696, + 14697 + ], + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 14698, + 14707 + ], + "loc": { + "start": { + "line": 519, + "column": 14 + }, + "end": { + "line": 519, + "column": 23 + } + } + }, + "range": [ + 14696, + 14707 + ], + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14710, + 14714 + ], + "loc": { + "start": { + "line": 519, + "column": 26 + }, + "end": { + "line": 519, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCloseHtml", + "range": [ + 14715, + 14727 + ], + "loc": { + "start": { + "line": 519, + "column": 31 + }, + "end": { + "line": 519, + "column": 43 + } + } + }, + "range": [ + 14710, + 14727 + ], + "loc": { + "start": { + "line": 519, + "column": 26 + }, + "end": { + "line": 519, + "column": 43 + } + } + }, + "range": [ + 14696, + 14727 + ], + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 43 + } + } + }, + "range": [ + 14696, + 14728 + ], + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "btn", + "range": [ + 14741, + 14744 + ], + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "p", + "range": [ + 14747, + 14748 + ], + "loc": { + "start": { + "line": 520, + "column": 18 + }, + "end": { + "line": 520, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 14749, + 14759 + ], + "loc": { + "start": { + "line": 520, + "column": 20 + }, + "end": { + "line": 520, + "column": 30 + } + } + }, + "range": [ + 14747, + 14759 + ], + "loc": { + "start": { + "line": 520, + "column": 18 + }, + "end": { + "line": 520, + "column": 30 + } + } + }, + "range": [ + 14741, + 14759 + ], + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 30 + } + } + }, + "range": [ + 14741, + 14760 + ], + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 14773, + 14779 + ], + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 14780, + 14783 + ], + "loc": { + "start": { + "line": 521, + "column": 19 + }, + "end": { + "line": 521, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 14785, + 14792 + ], + "loc": { + "start": { + "line": 521, + "column": 24 + }, + "end": { + "line": 521, + "column": 31 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14795, + 14798 + ], + "loc": { + "start": { + "line": 521, + "column": 34 + }, + "end": { + "line": 521, + "column": 37 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14803, + 14807 + ], + "loc": { + "start": { + "line": 521, + "column": 42 + }, + "end": { + "line": 521, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 14808, + 14814 + ], + "loc": { + "start": { + "line": 521, + "column": 47 + }, + "end": { + "line": 521, + "column": 53 + } + } + }, + "range": [ + 14803, + 14814 + ], + "loc": { + "start": { + "line": 521, + "column": 42 + }, + "end": { + "line": 521, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14815, + 14818 + ], + "loc": { + "start": { + "line": 521, + "column": 54 + }, + "end": { + "line": 521, + "column": 57 + } + } + } + ], + "range": [ + 14803, + 14819 + ], + "loc": { + "start": { + "line": 521, + "column": 42 + }, + "end": { + "line": 521, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14794, + 14819 + ], + "loc": { + "start": { + "line": 521, + "column": 33 + }, + "end": { + "line": 521, + "column": 58 + } + } + } + ], + "range": [ + 14773, + 14820 + ], + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 59 + } + } + }, + "range": [ + 14773, + 14821 + ], + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 60 + } + } + } + ], + "range": [ + 14682, + 14831 + ], + "loc": { + "start": { + "line": 518, + "column": 15 + }, + "end": { + "line": 522, + "column": 9 + } + } + }, + "range": [ + 14390, + 14831 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 522, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Close link", + "range": [ + 14369, + 14381 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 20 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 14841, + 14850 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14851, + 14862 + ], + "loc": { + "start": { + "line": 524, + "column": 18 + }, + "end": { + "line": 524, + "column": 29 + } + } + }, + "range": [ + 14841, + 14862 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ul", + "range": [ + 14863, + 14865 + ], + "loc": { + "start": { + "line": 524, + "column": 30 + }, + "end": { + "line": 524, + "column": 32 + } + } + } + ], + "range": [ + 14841, + 14866 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 33 + } + } + }, + "range": [ + 14841, + 14867 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 14876, + 14885 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14886, + 14897 + ], + "loc": { + "start": { + "line": 525, + "column": 18 + }, + "end": { + "line": 525, + "column": 29 + } + } + }, + "range": [ + 14876, + 14897 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "p", + "range": [ + 14898, + 14899 + ], + "loc": { + "start": { + "line": 525, + "column": 30 + }, + "end": { + "line": 525, + "column": 31 + } + } + } + ], + "range": [ + 14876, + 14900 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 32 + } + } + }, + "range": [ + 14876, + 14901 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14911, + 14915 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 14916, + 14921 + ], + "loc": { + "start": { + "line": 527, + "column": 13 + }, + "end": { + "line": 527, + "column": 18 + } + } + }, + "range": [ + 14911, + 14921 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 14922, + 14932 + ], + "loc": { + "start": { + "line": 527, + "column": 19 + }, + "end": { + "line": 527, + "column": 29 + } + } + }, + "range": [ + 14911, + 14932 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 14933, + 14945 + ], + "loc": { + "start": { + "line": 527, + "column": 30 + }, + "end": { + "line": 527, + "column": 42 + } + } + }, + "range": [ + 14911, + 14945 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "container", + "range": [ + 14946, + 14955 + ], + "loc": { + "start": { + "line": 527, + "column": 43 + }, + "end": { + "line": 527, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14957, + 14961 + ], + "loc": { + "start": { + "line": 527, + "column": 54 + }, + "end": { + "line": 527, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 14962, + 14967 + ], + "loc": { + "start": { + "line": 527, + "column": 59 + }, + "end": { + "line": 527, + "column": 64 + } + } + }, + "range": [ + 14957, + 14967 + ], + "loc": { + "start": { + "line": 527, + "column": 54 + }, + "end": { + "line": 527, + "column": 64 + } + } + } + ], + "range": [ + 14911, + 14968 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 65 + } + } + }, + "range": [ + 14911, + 14969 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 66 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14978, + 14982 + ], + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 528, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 14983, + 14989 + ], + "loc": { + "start": { + "line": 528, + "column": 13 + }, + "end": { + "line": 528, + "column": 19 + } + } + }, + "range": [ + 14978, + 14989 + ], + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 528, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "container", + "range": [ + 14992, + 15001 + ], + "loc": { + "start": { + "line": 528, + "column": 22 + }, + "end": { + "line": 528, + "column": 31 + } + } + }, + "range": [ + 14978, + 15001 + ], + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 528, + "column": 31 + } + } + }, + "range": [ + 14978, + 15002 + ], + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 528, + "column": 32 + } + } + } + ], + "range": [ + 12149, + 15008 + ], + "loc": { + "start": { + "line": 446, + "column": 19 + }, + "end": { + "line": 529, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12146, + 15008 + ], + "loc": { + "start": { + "line": 446, + "column": 16 + }, + "end": { + "line": 529, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12134, + 15008 + ], + "loc": { + "start": { + "line": 446, + "column": 4 + }, + "end": { + "line": 529, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build columns manager UI\n ", + "range": [ + 12086, + 12129 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 445, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "range": [ + 15014, + 15177 + ], + "loc": { + "start": { + "line": 531, + "column": 4 + }, + "end": { + "line": 535, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setHidden", + "range": [ + 15182, + 15191 + ], + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 536, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15192, + 15200 + ], + "loc": { + "start": { + "line": 536, + "column": 14 + }, + "end": { + "line": 536, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "hide", + "range": [ + 15202, + 15206 + ], + "loc": { + "start": { + "line": 536, + "column": 24 + }, + "end": { + "line": 536, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 15222, + 15224 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15227, + 15231 + ], + "loc": { + "start": { + "line": 537, + "column": 17 + }, + "end": { + "line": 537, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 15232, + 15234 + ], + "loc": { + "start": { + "line": 537, + "column": 22 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "range": [ + 15227, + 15234 + ], + "loc": { + "start": { + "line": 537, + "column": 17 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "range": [ + 15222, + 15234 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 15218, + 15235 + ], + "loc": { + "start": { + "line": 537, + "column": 8 + }, + "end": { + "line": 537, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 15248, + 15251 + ], + "loc": { + "start": { + "line": 538, + "column": 12 + }, + "end": { + "line": 538, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15254, + 15256 + ], + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 15257, + 15260 + ], + "loc": { + "start": { + "line": 538, + "column": 21 + }, + "end": { + "line": 538, + "column": 24 + } + } + }, + "range": [ + 15254, + 15260 + ], + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 24 + } + } + }, + "arguments": [], + "range": [ + 15254, + 15262 + ], + "loc": { + "start": { + "line": 538, + "column": 18 + }, + "end": { + "line": 538, + "column": 26 + } + } + }, + "range": [ + 15248, + 15262 + ], + "loc": { + "start": { + "line": 538, + "column": 12 + }, + "end": { + "line": 538, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 15244, + 15263 + ], + "loc": { + "start": { + "line": 538, + "column": 8 + }, + "end": { + "line": 538, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hide", + "range": [ + 15277, + 15281 + ], + "loc": { + "start": { + "line": 540, + "column": 12 + }, + "end": { + "line": 540, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15297, + 15301 + ], + "loc": { + "start": { + "line": 541, + "column": 12 + }, + "end": { + "line": 541, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeColHidden", + "range": [ + 15302, + 15319 + ], + "loc": { + "start": { + "line": 541, + "column": 17 + }, + "end": { + "line": 541, + "column": 34 + } + } + }, + "range": [ + 15297, + 15319 + ], + "loc": { + "start": { + "line": 541, + "column": 12 + }, + "end": { + "line": 541, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 15320, + 15324 + ], + "loc": { + "start": { + "line": 541, + "column": 35 + }, + "end": { + "line": 541, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15326, + 15334 + ], + "loc": { + "start": { + "line": 541, + "column": 41 + }, + "end": { + "line": 541, + "column": 49 + } + } + } + ], + "range": [ + 15297, + 15335 + ], + "loc": { + "start": { + "line": 541, + "column": 12 + }, + "end": { + "line": 541, + "column": 50 + } + } + }, + "range": [ + 15297, + 15336 + ], + "loc": { + "start": { + "line": 541, + "column": 12 + }, + "end": { + "line": 541, + "column": 51 + } + } + } + ], + "range": [ + 15283, + 15346 + ], + "loc": { + "start": { + "line": 540, + "column": 18 + }, + "end": { + "line": 542, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15273, + 15346 + ], + "loc": { + "start": { + "line": 540, + "column": 8 + }, + "end": { + "line": 542, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "hide", + "range": [ + 15360, + 15364 + ], + "loc": { + "start": { + "line": 543, + "column": 13 + }, + "end": { + "line": 543, + "column": 17 + } + } + }, + "prefix": true, + "range": [ + 15359, + 15364 + ], + "loc": { + "start": { + "line": 543, + "column": 12 + }, + "end": { + "line": 543, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15380, + 15384 + ], + "loc": { + "start": { + "line": 544, + "column": 12 + }, + "end": { + "line": 544, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeColDisplayed", + "range": [ + 15385, + 15405 + ], + "loc": { + "start": { + "line": 544, + "column": 17 + }, + "end": { + "line": 544, + "column": 37 + } + } + }, + "range": [ + 15380, + 15405 + ], + "loc": { + "start": { + "line": 544, + "column": 12 + }, + "end": { + "line": 544, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 15406, + 15410 + ], + "loc": { + "start": { + "line": 544, + "column": 38 + }, + "end": { + "line": 544, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15412, + 15420 + ], + "loc": { + "start": { + "line": 544, + "column": 44 + }, + "end": { + "line": 544, + "column": 52 + } + } + } + ], + "range": [ + 15380, + 15421 + ], + "loc": { + "start": { + "line": 544, + "column": 12 + }, + "end": { + "line": 544, + "column": 53 + } + } + }, + "range": [ + 15380, + 15422 + ], + "loc": { + "start": { + "line": 544, + "column": 12 + }, + "end": { + "line": 544, + "column": 54 + } + } + } + ], + "range": [ + 15366, + 15432 + ], + "loc": { + "start": { + "line": 543, + "column": 19 + }, + "end": { + "line": 545, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15355, + 15432 + ], + "loc": { + "start": { + "line": 543, + "column": 8 + }, + "end": { + "line": 545, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15442, + 15446 + ], + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_hideCells", + "range": [ + 15447, + 15457 + ], + "loc": { + "start": { + "line": 547, + "column": 13 + }, + "end": { + "line": 547, + "column": 23 + } + } + }, + "range": [ + 15442, + 15457 + ], + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 15458, + 15461 + ], + "loc": { + "start": { + "line": 547, + "column": 24 + }, + "end": { + "line": 547, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15463, + 15471 + ], + "loc": { + "start": { + "line": 547, + "column": 29 + }, + "end": { + "line": 547, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "hide", + "range": [ + 15473, + 15477 + ], + "loc": { + "start": { + "line": 547, + "column": 39 + }, + "end": { + "line": 547, + "column": 43 + } + } + } + ], + "range": [ + 15442, + 15478 + ], + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 44 + } + } + }, + "range": [ + 15442, + 15479 + ], + "loc": { + "start": { + "line": 547, + "column": 8 + }, + "end": { + "line": 547, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15492, + 15496 + ], + "loc": { + "start": { + "line": 548, + "column": 12 + }, + "end": { + "line": 548, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 15497, + 15507 + ], + "loc": { + "start": { + "line": 548, + "column": 17 + }, + "end": { + "line": 548, + "column": 27 + } + } + }, + "range": [ + 15492, + 15507 + ], + "loc": { + "start": { + "line": 548, + "column": 12 + }, + "end": { + "line": 548, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15523, + 15527 + ], + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "_hideCells", + "range": [ + 15528, + 15538 + ], + "loc": { + "start": { + "line": 549, + "column": 17 + }, + "end": { + "line": 549, + "column": 27 + } + } + }, + "range": [ + 15523, + 15538 + ], + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15539, + 15543 + ], + "loc": { + "start": { + "line": 549, + "column": 28 + }, + "end": { + "line": 549, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersTbl", + "range": [ + 15544, + 15554 + ], + "loc": { + "start": { + "line": 549, + "column": 33 + }, + "end": { + "line": 549, + "column": 43 + } + } + }, + "range": [ + 15539, + 15554 + ], + "loc": { + "start": { + "line": 549, + "column": 28 + }, + "end": { + "line": 549, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15556, + 15564 + ], + "loc": { + "start": { + "line": 549, + "column": 45 + }, + "end": { + "line": 549, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "hide", + "range": [ + 15566, + 15570 + ], + "loc": { + "start": { + "line": 549, + "column": 55 + }, + "end": { + "line": 549, + "column": 59 + } + } + } + ], + "range": [ + 15523, + 15571 + ], + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 60 + } + } + }, + "range": [ + 15523, + 15572 + ], + "loc": { + "start": { + "line": 549, + "column": 12 + }, + "end": { + "line": 549, + "column": 61 + } + } + } + ], + "range": [ + 15509, + 15582 + ], + "loc": { + "start": { + "line": 548, + "column": 29 + }, + "end": { + "line": 550, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15488, + 15582 + ], + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 550, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 15596, + 15606 + ], + "loc": { + "start": { + "line": 552, + "column": 12 + }, + "end": { + "line": 552, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15609, + 15613 + ], + "loc": { + "start": { + "line": 552, + "column": 25 + }, + "end": { + "line": 552, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 15614, + 15624 + ], + "loc": { + "start": { + "line": 552, + "column": 30 + }, + "end": { + "line": 552, + "column": 40 + } + } + }, + "range": [ + 15609, + 15624 + ], + "loc": { + "start": { + "line": 552, + "column": 25 + }, + "end": { + "line": 552, + "column": 40 + } + } + }, + "range": [ + 15596, + 15624 + ], + "loc": { + "start": { + "line": 552, + "column": 12 + }, + "end": { + "line": 552, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 15592, + 15625 + ], + "loc": { + "start": { + "line": 552, + "column": 8 + }, + "end": { + "line": 552, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "itemIndex", + "range": [ + 15638, + 15647 + ], + "loc": { + "start": { + "line": 553, + "column": 12 + }, + "end": { + "line": 553, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 15650, + 15660 + ], + "loc": { + "start": { + "line": 553, + "column": 24 + }, + "end": { + "line": 553, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 15661, + 15668 + ], + "loc": { + "start": { + "line": 553, + "column": 35 + }, + "end": { + "line": 553, + "column": 42 + } + } + }, + "range": [ + 15650, + 15668 + ], + "loc": { + "start": { + "line": 553, + "column": 24 + }, + "end": { + "line": 553, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15669, + 15677 + ], + "loc": { + "start": { + "line": 553, + "column": 43 + }, + "end": { + "line": 553, + "column": 51 + } + } + } + ], + "range": [ + 15650, + 15678 + ], + "loc": { + "start": { + "line": 553, + "column": 24 + }, + "end": { + "line": 553, + "column": 52 + } + } + }, + "range": [ + 15638, + 15678 + ], + "loc": { + "start": { + "line": 553, + "column": 12 + }, + "end": { + "line": 553, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 15634, + 15679 + ], + "loc": { + "start": { + "line": 553, + "column": 8 + }, + "end": { + "line": 553, + "column": 53 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hide", + "range": [ + 15692, + 15696 + ], + "loc": { + "start": { + "line": 554, + "column": 12 + }, + "end": { + "line": 554, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "itemIndex", + "range": [ + 15716, + 15725 + ], + "loc": { + "start": { + "line": 555, + "column": 16 + }, + "end": { + "line": 555, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15731, + 15732 + ], + "loc": { + "start": { + "line": 555, + "column": 31 + }, + "end": { + "line": 555, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 15730, + 15732 + ], + "loc": { + "start": { + "line": 555, + "column": 30 + }, + "end": { + "line": 555, + "column": 32 + } + } + }, + "range": [ + 15716, + 15732 + ], + "loc": { + "start": { + "line": 555, + "column": 16 + }, + "end": { + "line": 555, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15752, + 15756 + ], + "loc": { + "start": { + "line": 556, + "column": 16 + }, + "end": { + "line": 556, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 15757, + 15767 + ], + "loc": { + "start": { + "line": 556, + "column": 21 + }, + "end": { + "line": 556, + "column": 31 + } + } + }, + "range": [ + 15752, + 15767 + ], + "loc": { + "start": { + "line": 556, + "column": 16 + }, + "end": { + "line": 556, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 15768, + 15772 + ], + "loc": { + "start": { + "line": 556, + "column": 32 + }, + "end": { + "line": 556, + "column": 36 + } + } + }, + "range": [ + 15752, + 15772 + ], + "loc": { + "start": { + "line": 556, + "column": 16 + }, + "end": { + "line": 556, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15773, + 15781 + ], + "loc": { + "start": { + "line": 556, + "column": 37 + }, + "end": { + "line": 556, + "column": 45 + } + } + } + ], + "range": [ + 15752, + 15782 + ], + "loc": { + "start": { + "line": 556, + "column": 16 + }, + "end": { + "line": 556, + "column": 46 + } + } + }, + "range": [ + 15752, + 15783 + ], + "loc": { + "start": { + "line": 556, + "column": 16 + }, + "end": { + "line": 556, + "column": 47 + } + } + } + ], + "range": [ + 15734, + 15797 + ], + "loc": { + "start": { + "line": 555, + "column": 34 + }, + "end": { + "line": 557, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 15712, + 15797 + ], + "loc": { + "start": { + "line": 555, + "column": 12 + }, + "end": { + "line": 557, + "column": 13 + } + } + } + ], + "range": [ + 15698, + 15807 + ], + "loc": { + "start": { + "line": 554, + "column": 18 + }, + "end": { + "line": 558, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "itemIndex", + "range": [ + 15831, + 15840 + ], + "loc": { + "start": { + "line": 559, + "column": 16 + }, + "end": { + "line": 559, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15846, + 15847 + ], + "loc": { + "start": { + "line": 559, + "column": 31 + }, + "end": { + "line": 559, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 15845, + 15847 + ], + "loc": { + "start": { + "line": 559, + "column": 30 + }, + "end": { + "line": 559, + "column": 32 + } + } + }, + "range": [ + 15831, + 15847 + ], + "loc": { + "start": { + "line": 559, + "column": 16 + }, + "end": { + "line": 559, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15867, + 15871 + ], + "loc": { + "start": { + "line": 560, + "column": 16 + }, + "end": { + "line": 560, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 15872, + 15882 + ], + "loc": { + "start": { + "line": 560, + "column": 21 + }, + "end": { + "line": 560, + "column": 31 + } + } + }, + "range": [ + 15867, + 15882 + ], + "loc": { + "start": { + "line": 560, + "column": 16 + }, + "end": { + "line": 560, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "splice", + "range": [ + 15883, + 15889 + ], + "loc": { + "start": { + "line": 560, + "column": 32 + }, + "end": { + "line": 560, + "column": 38 + } + } + }, + "range": [ + 15867, + 15889 + ], + "loc": { + "start": { + "line": 560, + "column": 16 + }, + "end": { + "line": 560, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "itemIndex", + "range": [ + 15890, + 15899 + ], + "loc": { + "start": { + "line": 560, + "column": 39 + }, + "end": { + "line": 560, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15901, + 15902 + ], + "loc": { + "start": { + "line": 560, + "column": 50 + }, + "end": { + "line": 560, + "column": 51 + } + } + } + ], + "range": [ + 15867, + 15903 + ], + "loc": { + "start": { + "line": 560, + "column": 16 + }, + "end": { + "line": 560, + "column": 52 + } + } + }, + "range": [ + 15867, + 15904 + ], + "loc": { + "start": { + "line": 560, + "column": 16 + }, + "end": { + "line": 560, + "column": 53 + } + } + } + ], + "range": [ + 15849, + 15918 + ], + "loc": { + "start": { + "line": 559, + "column": 34 + }, + "end": { + "line": 561, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 15827, + 15918 + ], + "loc": { + "start": { + "line": 559, + "column": 12 + }, + "end": { + "line": 561, + "column": 13 + } + } + } + ], + "range": [ + 15813, + 15928 + ], + "loc": { + "start": { + "line": 558, + "column": 15 + }, + "end": { + "line": 562, + "column": 9 + } + } + }, + "range": [ + 15688, + 15928 + ], + "loc": { + "start": { + "line": 554, + "column": 8 + }, + "end": { + "line": 562, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hide", + "range": [ + 15942, + 15946 + ], + "loc": { + "start": { + "line": 564, + "column": 12 + }, + "end": { + "line": 564, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15962, + 15966 + ], + "loc": { + "start": { + "line": 565, + "column": 12 + }, + "end": { + "line": 565, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterColHidden", + "range": [ + 15967, + 15983 + ], + "loc": { + "start": { + "line": 565, + "column": 17 + }, + "end": { + "line": 565, + "column": 33 + } + } + }, + "range": [ + 15962, + 15983 + ], + "loc": { + "start": { + "line": 565, + "column": 12 + }, + "end": { + "line": 565, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 15984, + 15988 + ], + "loc": { + "start": { + "line": 565, + "column": 34 + }, + "end": { + "line": 565, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15990, + 15998 + ], + "loc": { + "start": { + "line": 565, + "column": 40 + }, + "end": { + "line": 565, + "column": 48 + } + } + } + ], + "range": [ + 15962, + 15999 + ], + "loc": { + "start": { + "line": 565, + "column": 12 + }, + "end": { + "line": 565, + "column": 49 + } + } + }, + "range": [ + 15962, + 16000 + ], + "loc": { + "start": { + "line": 565, + "column": 12 + }, + "end": { + "line": 565, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16013, + 16017 + ], + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 16018, + 16025 + ], + "loc": { + "start": { + "line": 566, + "column": 17 + }, + "end": { + "line": 566, + "column": 24 + } + } + }, + "range": [ + 16013, + 16025 + ], + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 16026, + 16030 + ], + "loc": { + "start": { + "line": 566, + "column": 25 + }, + "end": { + "line": 566, + "column": 29 + } + } + }, + "range": [ + 16013, + 16030 + ], + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 566, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "column-hidden", + "raw": "'column-hidden'", + "range": [ + 16031, + 16046 + ], + "loc": { + "start": { + "line": 566, + "column": 30 + }, + "end": { + "line": 566, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 16048, + 16050 + ], + "loc": { + "start": { + "line": 566, + "column": 47 + }, + "end": { + "line": 566, + "column": 49 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 16052, + 16056 + ], + "loc": { + "start": { + "line": 566, + "column": 51 + }, + "end": { + "line": 566, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16058, + 16066 + ], + "loc": { + "start": { + "line": 566, + "column": 57 + }, + "end": { + "line": 566, + "column": 65 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16084, + 16088 + ], + "loc": { + "start": { + "line": 567, + "column": 16 + }, + "end": { + "line": 567, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 16089, + 16099 + ], + "loc": { + "start": { + "line": 567, + "column": 21 + }, + "end": { + "line": 567, + "column": 31 + } + } + }, + "range": [ + 16084, + 16099 + ], + "loc": { + "start": { + "line": 567, + "column": 16 + }, + "end": { + "line": 567, + "column": 31 + } + } + } + ], + "range": [ + 16013, + 16100 + ], + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 567, + "column": 32 + } + } + }, + "range": [ + 16013, + 16101 + ], + "loc": { + "start": { + "line": 566, + "column": 12 + }, + "end": { + "line": 567, + "column": 33 + } + } + } + ], + "range": [ + 15948, + 16111 + ], + "loc": { + "start": { + "line": 564, + "column": 18 + }, + "end": { + "line": 568, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15938, + 16111 + ], + "loc": { + "start": { + "line": 564, + "column": 8 + }, + "end": { + "line": 568, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "hide", + "range": [ + 16126, + 16130 + ], + "loc": { + "start": { + "line": 570, + "column": 13 + }, + "end": { + "line": 570, + "column": 17 + } + } + }, + "prefix": true, + "range": [ + 16125, + 16130 + ], + "loc": { + "start": { + "line": 570, + "column": 12 + }, + "end": { + "line": 570, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16146, + 16150 + ], + "loc": { + "start": { + "line": 571, + "column": 12 + }, + "end": { + "line": 571, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterColDisplayed", + "range": [ + 16151, + 16170 + ], + "loc": { + "start": { + "line": 571, + "column": 17 + }, + "end": { + "line": 571, + "column": 36 + } + } + }, + "range": [ + 16146, + 16170 + ], + "loc": { + "start": { + "line": 571, + "column": 12 + }, + "end": { + "line": 571, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 16171, + 16175 + ], + "loc": { + "start": { + "line": 571, + "column": 37 + }, + "end": { + "line": 571, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16177, + 16185 + ], + "loc": { + "start": { + "line": 571, + "column": 43 + }, + "end": { + "line": 571, + "column": 51 + } + } + } + ], + "range": [ + 16146, + 16186 + ], + "loc": { + "start": { + "line": 571, + "column": 12 + }, + "end": { + "line": 571, + "column": 52 + } + } + }, + "range": [ + 16146, + 16187 + ], + "loc": { + "start": { + "line": 571, + "column": 12 + }, + "end": { + "line": 571, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16200, + 16204 + ], + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 16205, + 16212 + ], + "loc": { + "start": { + "line": 572, + "column": 17 + }, + "end": { + "line": 572, + "column": 24 + } + } + }, + "range": [ + 16200, + 16212 + ], + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 16213, + 16217 + ], + "loc": { + "start": { + "line": 572, + "column": 25 + }, + "end": { + "line": 572, + "column": 29 + } + } + }, + "range": [ + 16200, + 16217 + ], + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "column-shown", + "raw": "'column-shown'", + "range": [ + 16218, + 16232 + ], + "loc": { + "start": { + "line": 572, + "column": 30 + }, + "end": { + "line": 572, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 16234, + 16236 + ], + "loc": { + "start": { + "line": 572, + "column": 46 + }, + "end": { + "line": 572, + "column": 48 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 16238, + 16242 + ], + "loc": { + "start": { + "line": 572, + "column": 50 + }, + "end": { + "line": 572, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16244, + 16252 + ], + "loc": { + "start": { + "line": 572, + "column": 56 + }, + "end": { + "line": 572, + "column": 64 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16270, + 16274 + ], + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 16275, + 16285 + ], + "loc": { + "start": { + "line": 573, + "column": 21 + }, + "end": { + "line": 573, + "column": 31 + } + } + }, + "range": [ + 16270, + 16285 + ], + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 31 + } + } + } + ], + "range": [ + 16200, + 16286 + ], + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 573, + "column": 32 + } + } + }, + "range": [ + 16200, + 16287 + ], + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 573, + "column": 33 + } + } + } + ], + "range": [ + 16132, + 16297 + ], + "loc": { + "start": { + "line": 570, + "column": 19 + }, + "end": { + "line": 574, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 16121, + 16297 + ], + "loc": { + "start": { + "line": 570, + "column": 8 + }, + "end": { + "line": 574, + "column": 9 + } + } + } + ], + "range": [ + 15208, + 16303 + ], + "loc": { + "start": { + "line": 536, + "column": 30 + }, + "end": { + "line": 575, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15191, + 16303 + ], + "loc": { + "start": { + "line": 536, + "column": 13 + }, + "end": { + "line": 575, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15182, + 16303 + ], + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 575, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "range": [ + 15014, + 15177 + ], + "loc": { + "start": { + "line": 531, + "column": 4 + }, + "end": { + "line": 535, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16309, + 16395 + ], + "loc": { + "start": { + "line": 577, + "column": 4 + }, + "end": { + "line": 580, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "showCol", + "range": [ + 16400, + 16407 + ], + "loc": { + "start": { + "line": 581, + "column": 4 + }, + "end": { + "line": 581, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16408, + 16416 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 16432, + 16439 + ], + "loc": { + "start": { + "line": 582, + "column": 12 + }, + "end": { + "line": 582, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16440, + 16448 + ], + "loc": { + "start": { + "line": 582, + "column": 20 + }, + "end": { + "line": 582, + "column": 28 + } + } + } + ], + "range": [ + 16432, + 16449 + ], + "loc": { + "start": { + "line": 582, + "column": 12 + }, + "end": { + "line": 582, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16454, + 16458 + ], + "loc": { + "start": { + "line": 582, + "column": 34 + }, + "end": { + "line": 582, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 16459, + 16470 + ], + "loc": { + "start": { + "line": 582, + "column": 39 + }, + "end": { + "line": 582, + "column": 50 + } + } + }, + "range": [ + 16454, + 16470 + ], + "loc": { + "start": { + "line": 582, + "column": 34 + }, + "end": { + "line": 582, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16471, + 16479 + ], + "loc": { + "start": { + "line": 582, + "column": 51 + }, + "end": { + "line": 582, + "column": 59 + } + } + } + ], + "range": [ + 16454, + 16480 + ], + "loc": { + "start": { + "line": 582, + "column": 34 + }, + "end": { + "line": 582, + "column": 60 + } + } + }, + "prefix": true, + "range": [ + 16453, + 16480 + ], + "loc": { + "start": { + "line": 582, + "column": 33 + }, + "end": { + "line": 582, + "column": 60 + } + } + }, + "range": [ + 16432, + 16480 + ], + "loc": { + "start": { + "line": 582, + "column": 12 + }, + "end": { + "line": 582, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 16496, + 16503 + ], + "loc": { + "start": { + "line": 583, + "column": 12 + }, + "end": { + "line": 583, + "column": 19 + } + } + } + ], + "range": [ + 16482, + 16513 + ], + "loc": { + "start": { + "line": 582, + "column": 62 + }, + "end": { + "line": 584, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 16428, + 16513 + ], + "loc": { + "start": { + "line": 582, + "column": 8 + }, + "end": { + "line": 584, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16526, + 16530 + ], + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "manager", + "range": [ + 16531, + 16538 + ], + "loc": { + "start": { + "line": 585, + "column": 17 + }, + "end": { + "line": 585, + "column": 24 + } + } + }, + "range": [ + 16526, + 16538 + ], + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16542, + 16546 + ], + "loc": { + "start": { + "line": 585, + "column": 28 + }, + "end": { + "line": 585, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 16547, + 16553 + ], + "loc": { + "start": { + "line": 585, + "column": 33 + }, + "end": { + "line": 585, + "column": 39 + } + } + }, + "range": [ + 16542, + 16553 + ], + "loc": { + "start": { + "line": 585, + "column": 28 + }, + "end": { + "line": 585, + "column": 39 + } + } + }, + "range": [ + 16526, + 16553 + ], + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "itm", + "range": [ + 16573, + 16576 + ], + "loc": { + "start": { + "line": 586, + "column": 16 + }, + "end": { + "line": 586, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 16579, + 16582 + ], + "loc": { + "start": { + "line": 586, + "column": 22 + }, + "end": { + "line": 586, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "col_", + "raw": "'col_'", + "range": [ + 16583, + 16589 + ], + "loc": { + "start": { + "line": 586, + "column": 26 + }, + "end": { + "line": 586, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16592, + 16600 + ], + "loc": { + "start": { + "line": 586, + "column": 35 + }, + "end": { + "line": 586, + "column": 43 + } + } + }, + "range": [ + 16583, + 16600 + ], + "loc": { + "start": { + "line": 586, + "column": 26 + }, + "end": { + "line": 586, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 16603, + 16606 + ], + "loc": { + "start": { + "line": 586, + "column": 46 + }, + "end": { + "line": 586, + "column": 49 + } + } + }, + "range": [ + 16583, + 16606 + ], + "loc": { + "start": { + "line": 586, + "column": 26 + }, + "end": { + "line": 586, + "column": 49 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16609, + 16613 + ], + "loc": { + "start": { + "line": 586, + "column": 52 + }, + "end": { + "line": 586, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 16614, + 16616 + ], + "loc": { + "start": { + "line": 586, + "column": 57 + }, + "end": { + "line": 586, + "column": 59 + } + } + }, + "range": [ + 16609, + 16616 + ], + "loc": { + "start": { + "line": 586, + "column": 52 + }, + "end": { + "line": 586, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 16617, + 16619 + ], + "loc": { + "start": { + "line": 586, + "column": 60 + }, + "end": { + "line": 586, + "column": 62 + } + } + }, + "range": [ + 16609, + 16619 + ], + "loc": { + "start": { + "line": 586, + "column": 52 + }, + "end": { + "line": 586, + "column": 62 + } + } + }, + "range": [ + 16583, + 16619 + ], + "loc": { + "start": { + "line": 586, + "column": 26 + }, + "end": { + "line": 586, + "column": 62 + } + } + } + ], + "range": [ + 16579, + 16620 + ], + "loc": { + "start": { + "line": 586, + "column": 22 + }, + "end": { + "line": 586, + "column": 63 + } + } + }, + "range": [ + 16573, + 16620 + ], + "loc": { + "start": { + "line": 586, + "column": 16 + }, + "end": { + "line": 586, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 16569, + 16621 + ], + "loc": { + "start": { + "line": 586, + "column": 12 + }, + "end": { + "line": 586, + "column": 64 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "itm", + "range": [ + 16638, + 16641 + ], + "loc": { + "start": { + "line": 587, + "column": 16 + }, + "end": { + "line": 587, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "itm", + "range": [ + 16661, + 16664 + ], + "loc": { + "start": { + "line": 588, + "column": 16 + }, + "end": { + "line": 588, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "click", + "range": [ + 16665, + 16670 + ], + "loc": { + "start": { + "line": 588, + "column": 20 + }, + "end": { + "line": 588, + "column": 25 + } + } + }, + "range": [ + 16661, + 16670 + ], + "loc": { + "start": { + "line": 588, + "column": 16 + }, + "end": { + "line": 588, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 16661, + 16672 + ], + "loc": { + "start": { + "line": 588, + "column": 16 + }, + "end": { + "line": 588, + "column": 27 + } + } + }, + "range": [ + 16661, + 16673 + ], + "loc": { + "start": { + "line": 588, + "column": 16 + }, + "end": { + "line": 588, + "column": 28 + } + } + } + ], + "range": [ + 16643, + 16687 + ], + "loc": { + "start": { + "line": 587, + "column": 21 + }, + "end": { + "line": 589, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 16634, + 16687 + ], + "loc": { + "start": { + "line": 587, + "column": 12 + }, + "end": { + "line": 589, + "column": 13 + } + } + } + ], + "range": [ + 16555, + 16697 + ], + "loc": { + "start": { + "line": 585, + "column": 41 + }, + "end": { + "line": 590, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16717, + 16721 + ], + "loc": { + "start": { + "line": 591, + "column": 12 + }, + "end": { + "line": 591, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setHidden", + "range": [ + 16722, + 16731 + ], + "loc": { + "start": { + "line": 591, + "column": 17 + }, + "end": { + "line": 591, + "column": 26 + } + } + }, + "range": [ + 16717, + 16731 + ], + "loc": { + "start": { + "line": 591, + "column": 12 + }, + "end": { + "line": 591, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16732, + 16740 + ], + "loc": { + "start": { + "line": 591, + "column": 27 + }, + "end": { + "line": 591, + "column": 35 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 16742, + 16747 + ], + "loc": { + "start": { + "line": 591, + "column": 37 + }, + "end": { + "line": 591, + "column": 42 + } + } + } + ], + "range": [ + 16717, + 16748 + ], + "loc": { + "start": { + "line": 591, + "column": 12 + }, + "end": { + "line": 591, + "column": 43 + } + } + }, + "range": [ + 16717, + 16749 + ], + "loc": { + "start": { + "line": 591, + "column": 12 + }, + "end": { + "line": 591, + "column": 44 + } + } + } + ], + "range": [ + 16703, + 16759 + ], + "loc": { + "start": { + "line": 590, + "column": 15 + }, + "end": { + "line": 592, + "column": 9 + } + } + }, + "range": [ + 16522, + 16759 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 592, + "column": 9 + } + } + } + ], + "range": [ + 16418, + 16765 + ], + "loc": { + "start": { + "line": 581, + "column": 22 + }, + "end": { + "line": 593, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16407, + 16765 + ], + "loc": { + "start": { + "line": 581, + "column": 11 + }, + "end": { + "line": 593, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 16400, + 16765 + ], + "loc": { + "start": { + "line": 581, + "column": 4 + }, + "end": { + "line": 593, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16309, + 16395 + ], + "loc": { + "start": { + "line": 577, + "column": 4 + }, + "end": { + "line": 580, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16771, + 16857 + ], + "loc": { + "start": { + "line": 595, + "column": 4 + }, + "end": { + "line": 598, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "hideCol", + "range": [ + 16862, + 16869 + ], + "loc": { + "start": { + "line": 599, + "column": 4 + }, + "end": { + "line": 599, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16870, + 16878 + ], + "loc": { + "start": { + "line": 599, + "column": 12 + }, + "end": { + "line": 599, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 16894, + 16901 + ], + "loc": { + "start": { + "line": 600, + "column": 12 + }, + "end": { + "line": 600, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16902, + 16910 + ], + "loc": { + "start": { + "line": 600, + "column": 20 + }, + "end": { + "line": 600, + "column": 28 + } + } + } + ], + "range": [ + 16894, + 16911 + ], + "loc": { + "start": { + "line": 600, + "column": 12 + }, + "end": { + "line": 600, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16915, + 16919 + ], + "loc": { + "start": { + "line": 600, + "column": 33 + }, + "end": { + "line": 600, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 16920, + 16931 + ], + "loc": { + "start": { + "line": 600, + "column": 38 + }, + "end": { + "line": 600, + "column": 49 + } + } + }, + "range": [ + 16915, + 16931 + ], + "loc": { + "start": { + "line": 600, + "column": 33 + }, + "end": { + "line": 600, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16932, + 16940 + ], + "loc": { + "start": { + "line": 600, + "column": 50 + }, + "end": { + "line": 600, + "column": 58 + } + } + } + ], + "range": [ + 16915, + 16941 + ], + "loc": { + "start": { + "line": 600, + "column": 33 + }, + "end": { + "line": 600, + "column": 59 + } + } + }, + "range": [ + 16894, + 16941 + ], + "loc": { + "start": { + "line": 600, + "column": 12 + }, + "end": { + "line": 600, + "column": 59 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 16957, + 16964 + ], + "loc": { + "start": { + "line": 601, + "column": 12 + }, + "end": { + "line": 601, + "column": 19 + } + } + } + ], + "range": [ + 16943, + 16974 + ], + "loc": { + "start": { + "line": 600, + "column": 61 + }, + "end": { + "line": 602, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 16890, + 16974 + ], + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 602, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16987, + 16991 + ], + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "manager", + "range": [ + 16992, + 16999 + ], + "loc": { + "start": { + "line": 603, + "column": 17 + }, + "end": { + "line": 603, + "column": 24 + } + } + }, + "range": [ + 16987, + 16999 + ], + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17003, + 17007 + ], + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 17008, + 17014 + ], + "loc": { + "start": { + "line": 603, + "column": 33 + }, + "end": { + "line": 603, + "column": 39 + } + } + }, + "range": [ + 17003, + 17014 + ], + "loc": { + "start": { + "line": 603, + "column": 28 + }, + "end": { + "line": 603, + "column": 39 + } + } + }, + "range": [ + 16987, + 17014 + ], + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "itm", + "range": [ + 17034, + 17037 + ], + "loc": { + "start": { + "line": 604, + "column": 16 + }, + "end": { + "line": 604, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 17040, + 17043 + ], + "loc": { + "start": { + "line": 604, + "column": 22 + }, + "end": { + "line": 604, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "col_", + "raw": "'col_'", + "range": [ + 17044, + 17050 + ], + "loc": { + "start": { + "line": 604, + "column": 26 + }, + "end": { + "line": 604, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17053, + 17061 + ], + "loc": { + "start": { + "line": 604, + "column": 35 + }, + "end": { + "line": 604, + "column": 43 + } + } + }, + "range": [ + 17044, + 17061 + ], + "loc": { + "start": { + "line": 604, + "column": 26 + }, + "end": { + "line": 604, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 17064, + 17067 + ], + "loc": { + "start": { + "line": 604, + "column": 46 + }, + "end": { + "line": 604, + "column": 49 + } + } + }, + "range": [ + 17044, + 17067 + ], + "loc": { + "start": { + "line": 604, + "column": 26 + }, + "end": { + "line": 604, + "column": 49 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17070, + 17074 + ], + "loc": { + "start": { + "line": 604, + "column": 52 + }, + "end": { + "line": 604, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 17075, + 17077 + ], + "loc": { + "start": { + "line": 604, + "column": 57 + }, + "end": { + "line": 604, + "column": 59 + } + } + }, + "range": [ + 17070, + 17077 + ], + "loc": { + "start": { + "line": 604, + "column": 52 + }, + "end": { + "line": 604, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 17078, + 17080 + ], + "loc": { + "start": { + "line": 604, + "column": 60 + }, + "end": { + "line": 604, + "column": 62 + } + } + }, + "range": [ + 17070, + 17080 + ], + "loc": { + "start": { + "line": 604, + "column": 52 + }, + "end": { + "line": 604, + "column": 62 + } + } + }, + "range": [ + 17044, + 17080 + ], + "loc": { + "start": { + "line": 604, + "column": 26 + }, + "end": { + "line": 604, + "column": 62 + } + } + } + ], + "range": [ + 17040, + 17081 + ], + "loc": { + "start": { + "line": 604, + "column": 22 + }, + "end": { + "line": 604, + "column": 63 + } + } + }, + "range": [ + 17034, + 17081 + ], + "loc": { + "start": { + "line": 604, + "column": 16 + }, + "end": { + "line": 604, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 17030, + 17082 + ], + "loc": { + "start": { + "line": 604, + "column": 12 + }, + "end": { + "line": 604, + "column": 64 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "itm", + "range": [ + 17099, + 17102 + ], + "loc": { + "start": { + "line": 605, + "column": 16 + }, + "end": { + "line": 605, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "itm", + "range": [ + 17122, + 17125 + ], + "loc": { + "start": { + "line": 606, + "column": 16 + }, + "end": { + "line": 606, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "click", + "range": [ + 17126, + 17131 + ], + "loc": { + "start": { + "line": 606, + "column": 20 + }, + "end": { + "line": 606, + "column": 25 + } + } + }, + "range": [ + 17122, + 17131 + ], + "loc": { + "start": { + "line": 606, + "column": 16 + }, + "end": { + "line": 606, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 17122, + 17133 + ], + "loc": { + "start": { + "line": 606, + "column": 16 + }, + "end": { + "line": 606, + "column": 27 + } + } + }, + "range": [ + 17122, + 17134 + ], + "loc": { + "start": { + "line": 606, + "column": 16 + }, + "end": { + "line": 606, + "column": 28 + } + } + } + ], + "range": [ + 17104, + 17148 + ], + "loc": { + "start": { + "line": 605, + "column": 21 + }, + "end": { + "line": 607, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 17095, + 17148 + ], + "loc": { + "start": { + "line": 605, + "column": 12 + }, + "end": { + "line": 607, + "column": 13 + } + } + } + ], + "range": [ + 17016, + 17158 + ], + "loc": { + "start": { + "line": 603, + "column": 41 + }, + "end": { + "line": 608, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17178, + 17182 + ], + "loc": { + "start": { + "line": 609, + "column": 12 + }, + "end": { + "line": 609, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setHidden", + "range": [ + 17183, + 17192 + ], + "loc": { + "start": { + "line": 609, + "column": 17 + }, + "end": { + "line": 609, + "column": 26 + } + } + }, + "range": [ + 17178, + 17192 + ], + "loc": { + "start": { + "line": 609, + "column": 12 + }, + "end": { + "line": 609, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17193, + 17201 + ], + "loc": { + "start": { + "line": 609, + "column": 27 + }, + "end": { + "line": 609, + "column": 35 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 17203, + 17207 + ], + "loc": { + "start": { + "line": 609, + "column": 37 + }, + "end": { + "line": 609, + "column": 41 + } + } + } + ], + "range": [ + 17178, + 17208 + ], + "loc": { + "start": { + "line": 609, + "column": 12 + }, + "end": { + "line": 609, + "column": 42 + } + } + }, + "range": [ + 17178, + 17209 + ], + "loc": { + "start": { + "line": 609, + "column": 12 + }, + "end": { + "line": 609, + "column": 43 + } + } + } + ], + "range": [ + 17164, + 17219 + ], + "loc": { + "start": { + "line": 608, + "column": 15 + }, + "end": { + "line": 610, + "column": 9 + } + } + }, + "range": [ + 16983, + 17219 + ], + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 610, + "column": 9 + } + } + } + ], + "range": [ + 16880, + 17225 + ], + "loc": { + "start": { + "line": 599, + "column": 22 + }, + "end": { + "line": 611, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16869, + 17225 + ], + "loc": { + "start": { + "line": 599, + "column": 11 + }, + "end": { + "line": 611, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 16862, + 17225 + ], + "loc": { + "start": { + "line": 599, + "column": 4 + }, + "end": { + "line": 611, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16771, + 16857 + ], + "loc": { + "start": { + "line": 595, + "column": 4 + }, + "end": { + "line": 598, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", + "range": [ + 17231, + 17335 + ], + "loc": { + "start": { + "line": 613, + "column": 4 + }, + "end": { + "line": 616, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 17340, + 17351 + ], + "loc": { + "start": { + "line": 617, + "column": 4 + }, + "end": { + "line": 617, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17352, + 17360 + ], + "loc": { + "start": { + "line": 617, + "column": 16 + }, + "end": { + "line": 617, + "column": 24 + } + } + } + ], + "body": { + "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": [ + 17376, + 17380 + ], + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 17381, + 17391 + ], + "loc": { + "start": { + "line": 618, + "column": 17 + }, + "end": { + "line": 618, + "column": 27 + } + } + }, + "range": [ + 17376, + 17391 + ], + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 17392, + 17399 + ], + "loc": { + "start": { + "line": 618, + "column": 28 + }, + "end": { + "line": 618, + "column": 35 + } + } + }, + "range": [ + 17376, + 17399 + ], + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17400, + 17408 + ], + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 44 + } + } + } + ], + "range": [ + 17376, + 17409 + ], + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 45 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 17415, + 17416 + ], + "loc": { + "start": { + "line": 618, + "column": 51 + }, + "end": { + "line": 618, + "column": 52 + } + } + }, + "prefix": true, + "range": [ + 17414, + 17416 + ], + "loc": { + "start": { + "line": 618, + "column": 50 + }, + "end": { + "line": 618, + "column": 52 + } + } + }, + "range": [ + 17376, + 17416 + ], + "loc": { + "start": { + "line": 618, + "column": 12 + }, + "end": { + "line": 618, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 17439, + 17443 + ], + "loc": { + "start": { + "line": 619, + "column": 19 + }, + "end": { + "line": 619, + "column": 23 + } + } + }, + "range": [ + 17432, + 17444 + ], + "loc": { + "start": { + "line": 619, + "column": 12 + }, + "end": { + "line": 619, + "column": 24 + } + } + } + ], + "range": [ + 17418, + 17454 + ], + "loc": { + "start": { + "line": 618, + "column": 54 + }, + "end": { + "line": 620, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 17372, + 17454 + ], + "loc": { + "start": { + "line": 618, + "column": 8 + }, + "end": { + "line": 620, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 17470, + 17475 + ], + "loc": { + "start": { + "line": 621, + "column": 15 + }, + "end": { + "line": 621, + "column": 20 + } + } + }, + "range": [ + 17463, + 17476 + ], + "loc": { + "start": { + "line": 621, + "column": 8 + }, + "end": { + "line": 621, + "column": 21 + } + } + } + ], + "range": [ + 17362, + 17482 + ], + "loc": { + "start": { + "line": 617, + "column": 26 + }, + "end": { + "line": 622, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17351, + 17482 + ], + "loc": { + "start": { + "line": 617, + "column": 15 + }, + "end": { + "line": 622, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17340, + 17482 + ], + "loc": { + "start": { + "line": 617, + "column": 4 + }, + "end": { + "line": 622, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", + "range": [ + 17231, + 17335 + ], + "loc": { + "start": { + "line": 613, + "column": 4 + }, + "end": { + "line": 616, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 17488, + 17590 + ], + "loc": { + "start": { + "line": 624, + "column": 4 + }, + "end": { + "line": 627, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggleCol", + "range": [ + 17595, + 17604 + ], + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 628, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17605, + 17613 + ], + "loc": { + "start": { + "line": 628, + "column": 14 + }, + "end": { + "line": 628, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 17629, + 17636 + ], + "loc": { + "start": { + "line": 629, + "column": 12 + }, + "end": { + "line": 629, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17637, + 17645 + ], + "loc": { + "start": { + "line": 629, + "column": 20 + }, + "end": { + "line": 629, + "column": 28 + } + } + } + ], + "range": [ + 17629, + 17646 + ], + "loc": { + "start": { + "line": 629, + "column": 12 + }, + "end": { + "line": 629, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17650, + 17654 + ], + "loc": { + "start": { + "line": 629, + "column": 33 + }, + "end": { + "line": 629, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 17655, + 17666 + ], + "loc": { + "start": { + "line": 629, + "column": 38 + }, + "end": { + "line": 629, + "column": 49 + } + } + }, + "range": [ + 17650, + 17666 + ], + "loc": { + "start": { + "line": 629, + "column": 33 + }, + "end": { + "line": 629, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17667, + 17675 + ], + "loc": { + "start": { + "line": 629, + "column": 50 + }, + "end": { + "line": 629, + "column": 58 + } + } + } + ], + "range": [ + 17650, + 17676 + ], + "loc": { + "start": { + "line": 629, + "column": 33 + }, + "end": { + "line": 629, + "column": 59 + } + } + }, + "range": [ + 17629, + 17676 + ], + "loc": { + "start": { + "line": 629, + "column": 12 + }, + "end": { + "line": 629, + "column": 59 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17692, + 17696 + ], + "loc": { + "start": { + "line": 630, + "column": 12 + }, + "end": { + "line": 630, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "showCol", + "range": [ + 17697, + 17704 + ], + "loc": { + "start": { + "line": 630, + "column": 17 + }, + "end": { + "line": 630, + "column": 24 + } + } + }, + "range": [ + 17692, + 17704 + ], + "loc": { + "start": { + "line": 630, + "column": 12 + }, + "end": { + "line": 630, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17705, + 17713 + ], + "loc": { + "start": { + "line": 630, + "column": 25 + }, + "end": { + "line": 630, + "column": 33 + } + } + } + ], + "range": [ + 17692, + 17714 + ], + "loc": { + "start": { + "line": 630, + "column": 12 + }, + "end": { + "line": 630, + "column": 34 + } + } + }, + "range": [ + 17692, + 17715 + ], + "loc": { + "start": { + "line": 630, + "column": 12 + }, + "end": { + "line": 630, + "column": 35 + } + } + } + ], + "range": [ + 17678, + 17725 + ], + "loc": { + "start": { + "line": 629, + "column": 61 + }, + "end": { + "line": 631, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17745, + 17749 + ], + "loc": { + "start": { + "line": 632, + "column": 12 + }, + "end": { + "line": 632, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hideCol", + "range": [ + 17750, + 17757 + ], + "loc": { + "start": { + "line": 632, + "column": 17 + }, + "end": { + "line": 632, + "column": 24 + } + } + }, + "range": [ + 17745, + 17757 + ], + "loc": { + "start": { + "line": 632, + "column": 12 + }, + "end": { + "line": 632, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 17758, + 17766 + ], + "loc": { + "start": { + "line": 632, + "column": 25 + }, + "end": { + "line": 632, + "column": 33 + } + } + } + ], + "range": [ + 17745, + 17767 + ], + "loc": { + "start": { + "line": 632, + "column": 12 + }, + "end": { + "line": 632, + "column": 34 + } + } + }, + "range": [ + 17745, + 17768 + ], + "loc": { + "start": { + "line": 632, + "column": 12 + }, + "end": { + "line": 632, + "column": 35 + } + } + } + ], + "range": [ + 17731, + 17778 + ], + "loc": { + "start": { + "line": 631, + "column": 15 + }, + "end": { + "line": 633, + "column": 9 + } + } + }, + "range": [ + 17625, + 17778 + ], + "loc": { + "start": { + "line": 629, + "column": 8 + }, + "end": { + "line": 633, + "column": 9 + } + } + } + ], + "range": [ + 17615, + 17784 + ], + "loc": { + "start": { + "line": 628, + "column": 24 + }, + "end": { + "line": 634, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17604, + 17784 + ], + "loc": { + "start": { + "line": 628, + "column": 13 + }, + "end": { + "line": 634, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17595, + 17784 + ], + "loc": { + "start": { + "line": 628, + "column": 4 + }, + "end": { + "line": 634, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 17488, + 17590 + ], + "loc": { + "start": { + "line": 624, + "column": 4 + }, + "end": { + "line": 627, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", + "range": [ + 17790, + 17897 + ], + "loc": { + "start": { + "line": 636, + "column": 4 + }, + "end": { + "line": 639, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getHiddenCols", + "range": [ + 17902, + 17915 + ], + "loc": { + "start": { + "line": 640, + "column": 4 + }, + "end": { + "line": 640, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17935, + 17939 + ], + "loc": { + "start": { + "line": 641, + "column": 15 + }, + "end": { + "line": 641, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 17940, + 17950 + ], + "loc": { + "start": { + "line": 641, + "column": 20 + }, + "end": { + "line": 641, + "column": 30 + } + } + }, + "range": [ + 17935, + 17950 + ], + "loc": { + "start": { + "line": 641, + "column": 15 + }, + "end": { + "line": 641, + "column": 30 + } + } + }, + "range": [ + 17928, + 17951 + ], + "loc": { + "start": { + "line": 641, + "column": 8 + }, + "end": { + "line": 641, + "column": 31 + } + } + } + ], + "range": [ + 17918, + 17957 + ], + "loc": { + "start": { + "line": 640, + "column": 20 + }, + "end": { + "line": 642, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17915, + 17957 + ], + "loc": { + "start": { + "line": 640, + "column": 17 + }, + "end": { + "line": 642, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17902, + 17957 + ], + "loc": { + "start": { + "line": 640, + "column": 4 + }, + "end": { + "line": 642, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", + "range": [ + 17790, + 17897 + ], + "loc": { + "start": { + "line": 636, + "column": 4 + }, + "end": { + "line": 639, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove the columns manager\n ", + "range": [ + 17963, + 18008 + ], + "loc": { + "start": { + "line": 644, + "column": 4 + }, + "end": { + "line": 646, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 18013, + 18020 + ], + "loc": { + "start": { + "line": 647, + "column": 4 + }, + "end": { + "line": 647, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18038, + 18042 + ], + "loc": { + "start": { + "line": 648, + "column": 13 + }, + "end": { + "line": 648, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 18043, + 18054 + ], + "loc": { + "start": { + "line": 648, + "column": 18 + }, + "end": { + "line": 648, + "column": 29 + } + } + }, + "range": [ + 18038, + 18054 + ], + "loc": { + "start": { + "line": 648, + "column": 13 + }, + "end": { + "line": 648, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 18037, + 18054 + ], + "loc": { + "start": { + "line": 648, + "column": 12 + }, + "end": { + "line": 648, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 18070, + 18077 + ], + "loc": { + "start": { + "line": 649, + "column": 12 + }, + "end": { + "line": 649, + "column": 19 + } + } + } + ], + "range": [ + 18056, + 18087 + ], + "loc": { + "start": { + "line": 648, + "column": 31 + }, + "end": { + "line": 650, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18033, + 18087 + ], + "loc": { + "start": { + "line": 648, + "column": 8 + }, + "end": { + "line": 650, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 18100, + 18103 + ], + "loc": { + "start": { + "line": 651, + "column": 12 + }, + "end": { + "line": 651, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18104, + 18108 + ], + "loc": { + "start": { + "line": 651, + "column": 16 + }, + "end": { + "line": 651, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "contElTgtId", + "range": [ + 18109, + 18120 + ], + "loc": { + "start": { + "line": 651, + "column": 21 + }, + "end": { + "line": 651, + "column": 32 + } + } + }, + "range": [ + 18104, + 18120 + ], + "loc": { + "start": { + "line": 651, + "column": 16 + }, + "end": { + "line": 651, + "column": 32 + } + } + } + ], + "range": [ + 18100, + 18121 + ], + "loc": { + "start": { + "line": 651, + "column": 12 + }, + "end": { + "line": 651, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 18137, + 18140 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18141, + 18145 + ], + "loc": { + "start": { + "line": 652, + "column": 16 + }, + "end": { + "line": 652, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "contElTgtId", + "range": [ + 18146, + 18157 + ], + "loc": { + "start": { + "line": 652, + "column": 21 + }, + "end": { + "line": 652, + "column": 32 + } + } + }, + "range": [ + 18141, + 18157 + ], + "loc": { + "start": { + "line": 652, + "column": 16 + }, + "end": { + "line": 652, + "column": 32 + } + } + } + ], + "range": [ + 18137, + 18158 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 18159, + 18168 + ], + "loc": { + "start": { + "line": 652, + "column": 34 + }, + "end": { + "line": 652, + "column": 43 + } + } + }, + "range": [ + 18137, + 18168 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 18171, + 18173 + ], + "loc": { + "start": { + "line": 652, + "column": 46 + }, + "end": { + "line": 652, + "column": 48 + } + } + }, + "range": [ + 18137, + 18173 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 48 + } + } + }, + "range": [ + 18137, + 18174 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 49 + } + } + } + ], + "range": [ + 18123, + 18184 + ], + "loc": { + "start": { + "line": 651, + "column": 35 + }, + "end": { + "line": 653, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18204, + 18208 + ], + "loc": { + "start": { + "line": 654, + "column": 12 + }, + "end": { + "line": 654, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 18209, + 18215 + ], + "loc": { + "start": { + "line": 654, + "column": 17 + }, + "end": { + "line": 654, + "column": 23 + } + } + }, + "range": [ + 18204, + 18215 + ], + "loc": { + "start": { + "line": 654, + "column": 12 + }, + "end": { + "line": 654, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 18216, + 18225 + ], + "loc": { + "start": { + "line": 654, + "column": 24 + }, + "end": { + "line": 654, + "column": 33 + } + } + }, + "range": [ + 18204, + 18225 + ], + "loc": { + "start": { + "line": 654, + "column": 12 + }, + "end": { + "line": 654, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 18228, + 18230 + ], + "loc": { + "start": { + "line": 654, + "column": 36 + }, + "end": { + "line": 654, + "column": 38 + } + } + }, + "range": [ + 18204, + 18230 + ], + "loc": { + "start": { + "line": 654, + "column": 12 + }, + "end": { + "line": 654, + "column": 38 + } + } + }, + "range": [ + 18204, + 18231 + ], + "loc": { + "start": { + "line": 654, + "column": 12 + }, + "end": { + "line": 654, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 18244, + 18253 + ], + "loc": { + "start": { + "line": 655, + "column": 12 + }, + "end": { + "line": 655, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18254, + 18258 + ], + "loc": { + "start": { + "line": 655, + "column": 22 + }, + "end": { + "line": 655, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 18259, + 18265 + ], + "loc": { + "start": { + "line": 655, + "column": 27 + }, + "end": { + "line": 655, + "column": 33 + } + } + }, + "range": [ + 18254, + 18265 + ], + "loc": { + "start": { + "line": 655, + "column": 22 + }, + "end": { + "line": 655, + "column": 33 + } + } + } + ], + "range": [ + 18244, + 18266 + ], + "loc": { + "start": { + "line": 655, + "column": 12 + }, + "end": { + "line": 655, + "column": 34 + } + } + }, + "range": [ + 18244, + 18267 + ], + "loc": { + "start": { + "line": 655, + "column": 12 + }, + "end": { + "line": 655, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18280, + 18284 + ], + "loc": { + "start": { + "line": 656, + "column": 12 + }, + "end": { + "line": 656, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "contEl", + "range": [ + 18285, + 18291 + ], + "loc": { + "start": { + "line": 656, + "column": 17 + }, + "end": { + "line": 656, + "column": 23 + } + } + }, + "range": [ + 18280, + 18291 + ], + "loc": { + "start": { + "line": 656, + "column": 12 + }, + "end": { + "line": 656, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 18294, + 18298 + ], + "loc": { + "start": { + "line": 656, + "column": 26 + }, + "end": { + "line": 656, + "column": 30 + } + } + }, + "range": [ + 18280, + 18298 + ], + "loc": { + "start": { + "line": 656, + "column": 12 + }, + "end": { + "line": 656, + "column": 30 + } + } + }, + "range": [ + 18280, + 18299 + ], + "loc": { + "start": { + "line": 656, + "column": 12 + }, + "end": { + "line": 656, + "column": 31 + } + } + } + ], + "range": [ + 18190, + 18309 + ], + "loc": { + "start": { + "line": 653, + "column": 15 + }, + "end": { + "line": 657, + "column": 9 + } + } + }, + "range": [ + 18096, + 18309 + ], + "loc": { + "start": { + "line": 651, + "column": 8 + }, + "end": { + "line": 657, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18318, + 18322 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 658, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 18323, + 18328 + ], + "loc": { + "start": { + "line": 658, + "column": 13 + }, + "end": { + "line": 658, + "column": 18 + } + } + }, + "range": [ + 18318, + 18328 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 658, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 18329, + 18338 + ], + "loc": { + "start": { + "line": 658, + "column": 19 + }, + "end": { + "line": 658, + "column": 28 + } + } + }, + "range": [ + 18318, + 18338 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 658, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 18341, + 18343 + ], + "loc": { + "start": { + "line": 658, + "column": 31 + }, + "end": { + "line": 658, + "column": 33 + } + } + }, + "range": [ + 18318, + 18343 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 658, + "column": 33 + } + } + }, + "range": [ + 18318, + 18344 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 658, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 18353, + 18362 + ], + "loc": { + "start": { + "line": 659, + "column": 8 + }, + "end": { + "line": 659, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18363, + 18367 + ], + "loc": { + "start": { + "line": 659, + "column": 18 + }, + "end": { + "line": 659, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 18368, + 18373 + ], + "loc": { + "start": { + "line": 659, + "column": 23 + }, + "end": { + "line": 659, + "column": 28 + } + } + }, + "range": [ + 18363, + 18373 + ], + "loc": { + "start": { + "line": 659, + "column": 18 + }, + "end": { + "line": 659, + "column": 28 + } + } + } + ], + "range": [ + 18353, + 18374 + ], + "loc": { + "start": { + "line": 659, + "column": 8 + }, + "end": { + "line": 659, + "column": 29 + } + } + }, + "range": [ + 18353, + 18375 + ], + "loc": { + "start": { + "line": 659, + "column": 8 + }, + "end": { + "line": 659, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18384, + 18388 + ], + "loc": { + "start": { + "line": 660, + "column": 8 + }, + "end": { + "line": 660, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnEl", + "range": [ + 18389, + 18394 + ], + "loc": { + "start": { + "line": 660, + "column": 13 + }, + "end": { + "line": 660, + "column": 18 + } + } + }, + "range": [ + 18384, + 18394 + ], + "loc": { + "start": { + "line": 660, + "column": 8 + }, + "end": { + "line": 660, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 18397, + 18401 + ], + "loc": { + "start": { + "line": 660, + "column": 21 + }, + "end": { + "line": 660, + "column": 25 + } + } + }, + "range": [ + 18384, + 18401 + ], + "loc": { + "start": { + "line": 660, + "column": 8 + }, + "end": { + "line": 660, + "column": 25 + } + } + }, + "range": [ + 18384, + 18402 + ], + "loc": { + "start": { + "line": 660, + "column": 8 + }, + "end": { + "line": 660, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18412, + 18416 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 18417, + 18424 + ], + "loc": { + "start": { + "line": 662, + "column": 13 + }, + "end": { + "line": 662, + "column": 20 + } + } + }, + "range": [ + 18412, + 18424 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 18425, + 18428 + ], + "loc": { + "start": { + "line": 662, + "column": 21 + }, + "end": { + "line": 662, + "column": 24 + } + } + }, + "range": [ + 18412, + 18428 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "hide-column", + "raw": "'hide-column'", + "range": [ + 18430, + 18443 + ], + "loc": { + "start": { + "line": 662, + "column": 26 + }, + "end": { + "line": 662, + "column": 39 + } + } + } + ], + "range": [ + 18429, + 18444 + ], + "loc": { + "start": { + "line": 662, + "column": 25 + }, + "end": { + "line": 662, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 18459, + 18461 + ], + "loc": { + "start": { + "line": 663, + "column": 13 + }, + "end": { + "line": 663, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 18463, + 18471 + ], + "loc": { + "start": { + "line": 663, + "column": 17 + }, + "end": { + "line": 663, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18476, + 18480 + ], + "loc": { + "start": { + "line": 663, + "column": 30 + }, + "end": { + "line": 663, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "hideCol", + "range": [ + 18481, + 18488 + ], + "loc": { + "start": { + "line": 663, + "column": 35 + }, + "end": { + "line": 663, + "column": 42 + } + } + }, + "range": [ + 18476, + 18488 + ], + "loc": { + "start": { + "line": 663, + "column": 30 + }, + "end": { + "line": 663, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 18489, + 18497 + ], + "loc": { + "start": { + "line": 663, + "column": 43 + }, + "end": { + "line": 663, + "column": 51 + } + } + } + ], + "range": [ + 18476, + 18498 + ], + "loc": { + "start": { + "line": 663, + "column": 30 + }, + "end": { + "line": 663, + "column": 52 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 18458, + 18498 + ], + "loc": { + "start": { + "line": 663, + "column": 12 + }, + "end": { + "line": 663, + "column": 52 + } + } + } + ], + "range": [ + 18412, + 18499 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 663, + "column": 53 + } + } + }, + "range": [ + 18412, + 18500 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 663, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18510, + 18514 + ], + "loc": { + "start": { + "line": 665, + "column": 8 + }, + "end": { + "line": 665, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 18515, + 18527 + ], + "loc": { + "start": { + "line": 665, + "column": 13 + }, + "end": { + "line": 665, + "column": 25 + } + } + }, + "range": [ + 18510, + 18527 + ], + "loc": { + "start": { + "line": 665, + "column": 8 + }, + "end": { + "line": 665, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 18530, + 18534 + ], + "loc": { + "start": { + "line": 665, + "column": 28 + }, + "end": { + "line": 665, + "column": 32 + } + } + }, + "range": [ + 18510, + 18534 + ], + "loc": { + "start": { + "line": 665, + "column": 8 + }, + "end": { + "line": 665, + "column": 32 + } + } + }, + "range": [ + 18510, + 18535 + ], + "loc": { + "start": { + "line": 665, + "column": 8 + }, + "end": { + "line": 665, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18545, + 18549 + ], + "loc": { + "start": { + "line": 667, + "column": 8 + }, + "end": { + "line": 667, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 18550, + 18561 + ], + "loc": { + "start": { + "line": 667, + "column": 13 + }, + "end": { + "line": 667, + "column": 24 + } + } + }, + "range": [ + 18545, + 18561 + ], + "loc": { + "start": { + "line": 667, + "column": 8 + }, + "end": { + "line": 667, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 18564, + 18569 + ], + "loc": { + "start": { + "line": 667, + "column": 27 + }, + "end": { + "line": 667, + "column": 32 + } + } + }, + "range": [ + 18545, + 18569 + ], + "loc": { + "start": { + "line": 667, + "column": 8 + }, + "end": { + "line": 667, + "column": 32 + } + } + }, + "range": [ + 18545, + 18570 + ], + "loc": { + "start": { + "line": 667, + "column": 8 + }, + "end": { + "line": 667, + "column": 33 + } + } + } + ], + "range": [ + 18023, + 18576 + ], + "loc": { + "start": { + "line": 647, + "column": 14 + }, + "end": { + "line": 668, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 18020, + 18576 + ], + "loc": { + "start": { + "line": 647, + "column": 11 + }, + "end": { + "line": 668, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 18013, + 18576 + ], + "loc": { + "start": { + "line": 647, + "column": 4 + }, + "end": { + "line": 668, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove the columns manager\n ", + "range": [ + 17963, + 18008 + ], + "loc": { + "start": { + "line": 644, + "column": 4 + }, + "end": { + "line": 646, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_getHeaderText", + "range": [ + 18582, + 18596 + ], + "loc": { + "start": { + "line": 670, + "column": 4 + }, + "end": { + "line": 670, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 18597, + 18601 + ], + "loc": { + "start": { + "line": 670, + "column": 19 + }, + "end": { + "line": 670, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 18618, + 18622 + ], + "loc": { + "start": { + "line": 671, + "column": 13 + }, + "end": { + "line": 671, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasChildNodes", + "range": [ + 18623, + 18636 + ], + "loc": { + "start": { + "line": 671, + "column": 18 + }, + "end": { + "line": 671, + "column": 31 + } + } + }, + "range": [ + 18618, + 18636 + ], + "loc": { + "start": { + "line": 671, + "column": 13 + }, + "end": { + "line": 671, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 18617, + 18636 + ], + "loc": { + "start": { + "line": 671, + "column": 12 + }, + "end": { + "line": 671, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 18659, + 18661 + ], + "loc": { + "start": { + "line": 672, + "column": 19 + }, + "end": { + "line": 672, + "column": 21 + } + } + }, + "range": [ + 18652, + 18662 + ], + "loc": { + "start": { + "line": 672, + "column": 12 + }, + "end": { + "line": 672, + "column": 22 + } + } + } + ], + "range": [ + 18638, + 18672 + ], + "loc": { + "start": { + "line": 671, + "column": 33 + }, + "end": { + "line": 673, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18613, + 18672 + ], + "loc": { + "start": { + "line": 671, + "column": 8 + }, + "end": { + "line": 673, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 18691, + 18692 + ], + "loc": { + "start": { + "line": 675, + "column": 17 + }, + "end": { + "line": 675, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 18695, + 18696 + ], + "loc": { + "start": { + "line": 675, + "column": 21 + }, + "end": { + "line": 675, + "column": 22 + } + } + }, + "range": [ + 18691, + 18696 + ], + "loc": { + "start": { + "line": 675, + "column": 17 + }, + "end": { + "line": 675, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 18687, + 18696 + ], + "loc": { + "start": { + "line": 675, + "column": 13 + }, + "end": { + "line": 675, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 18698, + 18699 + ], + "loc": { + "start": { + "line": 675, + "column": 24 + }, + "end": { + "line": 675, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 18702, + 18706 + ], + "loc": { + "start": { + "line": 675, + "column": 28 + }, + "end": { + "line": 675, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 18707, + 18717 + ], + "loc": { + "start": { + "line": 675, + "column": 33 + }, + "end": { + "line": 675, + "column": 43 + } + } + }, + "range": [ + 18702, + 18717 + ], + "loc": { + "start": { + "line": 675, + "column": 28 + }, + "end": { + "line": 675, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 18718, + 18724 + ], + "loc": { + "start": { + "line": 675, + "column": 44 + }, + "end": { + "line": 675, + "column": 50 + } + } + }, + "range": [ + 18702, + 18724 + ], + "loc": { + "start": { + "line": 675, + "column": 28 + }, + "end": { + "line": 675, + "column": 50 + } + } + }, + "range": [ + 18698, + 18724 + ], + "loc": { + "start": { + "line": 675, + "column": 24 + }, + "end": { + "line": 675, + "column": 50 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 18726, + 18727 + ], + "loc": { + "start": { + "line": 675, + "column": 52 + }, + "end": { + "line": 675, + "column": 53 + } + } + }, + "prefix": false, + "range": [ + 18726, + 18729 + ], + "loc": { + "start": { + "line": 675, + "column": 52 + }, + "end": { + "line": 675, + "column": 55 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 18749, + 18750 + ], + "loc": { + "start": { + "line": 676, + "column": 16 + }, + "end": { + "line": 676, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 18753, + 18757 + ], + "loc": { + "start": { + "line": 676, + "column": 20 + }, + "end": { + "line": 676, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 18758, + 18768 + ], + "loc": { + "start": { + "line": 676, + "column": 25 + }, + "end": { + "line": 676, + "column": 35 + } + } + }, + "range": [ + 18753, + 18768 + ], + "loc": { + "start": { + "line": 676, + "column": 20 + }, + "end": { + "line": 676, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 18769, + 18770 + ], + "loc": { + "start": { + "line": 676, + "column": 36 + }, + "end": { + "line": 676, + "column": 37 + } + } + }, + "range": [ + 18753, + 18771 + ], + "loc": { + "start": { + "line": 676, + "column": 20 + }, + "end": { + "line": 676, + "column": 38 + } + } + }, + "range": [ + 18749, + 18771 + ], + "loc": { + "start": { + "line": 676, + "column": 16 + }, + "end": { + "line": 676, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 18745, + 18772 + ], + "loc": { + "start": { + "line": 676, + "column": 12 + }, + "end": { + "line": 676, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 18789, + 18790 + ], + "loc": { + "start": { + "line": 677, + "column": 16 + }, + "end": { + "line": 677, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeType", + "range": [ + 18791, + 18799 + ], + "loc": { + "start": { + "line": 677, + "column": 18 + }, + "end": { + "line": 677, + "column": 26 + } + } + }, + "range": [ + 18789, + 18799 + ], + "loc": { + "start": { + "line": 677, + "column": 16 + }, + "end": { + "line": 677, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 18804, + 18805 + ], + "loc": { + "start": { + "line": 677, + "column": 31 + }, + "end": { + "line": 677, + "column": 32 + } + } + }, + "range": [ + 18789, + 18805 + ], + "loc": { + "start": { + "line": 677, + "column": 16 + }, + "end": { + "line": 677, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 18832, + 18833 + ], + "loc": { + "start": { + "line": 678, + "column": 23 + }, + "end": { + "line": 678, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeValue", + "range": [ + 18834, + 18843 + ], + "loc": { + "start": { + "line": 678, + "column": 25 + }, + "end": { + "line": 678, + "column": 34 + } + } + }, + "range": [ + 18832, + 18843 + ], + "loc": { + "start": { + "line": 678, + "column": 23 + }, + "end": { + "line": 678, + "column": 34 + } + } + }, + "range": [ + 18825, + 18844 + ], + "loc": { + "start": { + "line": 678, + "column": 16 + }, + "end": { + "line": 678, + "column": 35 + } + } + } + ], + "range": [ + 18807, + 18858 + ], + "loc": { + "start": { + "line": 677, + "column": 34 + }, + "end": { + "line": 679, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 18868, + 18869 + ], + "loc": { + "start": { + "line": 679, + "column": 23 + }, + "end": { + "line": 679, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeType", + "range": [ + 18870, + 18878 + ], + "loc": { + "start": { + "line": 679, + "column": 25 + }, + "end": { + "line": 679, + "column": 33 + } + } + }, + "range": [ + 18868, + 18878 + ], + "loc": { + "start": { + "line": 679, + "column": 23 + }, + "end": { + "line": 679, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 18883, + 18884 + ], + "loc": { + "start": { + "line": 679, + "column": 38 + }, + "end": { + "line": 679, + "column": 39 + } + } + }, + "range": [ + 18868, + 18884 + ], + "loc": { + "start": { + "line": 679, + "column": 23 + }, + "end": { + "line": 679, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 18908, + 18909 + ], + "loc": { + "start": { + "line": 680, + "column": 20 + }, + "end": { + "line": 680, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 18910, + 18912 + ], + "loc": { + "start": { + "line": 680, + "column": 22 + }, + "end": { + "line": 680, + "column": 24 + } + } + }, + "range": [ + 18908, + 18912 + ], + "loc": { + "start": { + "line": 680, + "column": 20 + }, + "end": { + "line": 680, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 18916, + 18917 + ], + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 18918, + 18920 + ], + "loc": { + "start": { + "line": 680, + "column": 30 + }, + "end": { + "line": 680, + "column": 32 + } + } + }, + "range": [ + 18916, + 18920 + ], + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 18921, + 18928 + ], + "loc": { + "start": { + "line": 680, + "column": 33 + }, + "end": { + "line": 680, + "column": 40 + } + } + }, + "range": [ + 18916, + 18928 + ], + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "popUp", + "raw": "'popUp'", + "range": [ + 18929, + 18936 + ], + "loc": { + "start": { + "line": 680, + "column": 41 + }, + "end": { + "line": 680, + "column": 48 + } + } + } + ], + "range": [ + 18916, + 18937 + ], + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 49 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 18943, + 18944 + ], + "loc": { + "start": { + "line": 680, + "column": 55 + }, + "end": { + "line": 680, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 18942, + 18944 + ], + "loc": { + "start": { + "line": 680, + "column": 54 + }, + "end": { + "line": 680, + "column": 56 + } + } + }, + "range": [ + 18916, + 18944 + ], + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 56 + } + } + }, + "range": [ + 18908, + 18944 + ], + "loc": { + "start": { + "line": 680, + "column": 20 + }, + "end": { + "line": 680, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 18968, + 18977 + ], + "loc": { + "start": { + "line": 681, + "column": 20 + }, + "end": { + "line": 681, + "column": 29 + } + } + } + ], + "range": [ + 18946, + 18995 + ], + "loc": { + "start": { + "line": 680, + "column": 58 + }, + "end": { + "line": 682, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 19030, + 19037 + ], + "loc": { + "start": { + "line": 683, + "column": 27 + }, + "end": { + "line": 683, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 19038, + 19039 + ], + "loc": { + "start": { + "line": 683, + "column": 35 + }, + "end": { + "line": 683, + "column": 36 + } + } + } + ], + "range": [ + 19030, + 19040 + ], + "loc": { + "start": { + "line": 683, + "column": 27 + }, + "end": { + "line": 683, + "column": 37 + } + } + }, + "range": [ + 19023, + 19041 + ], + "loc": { + "start": { + "line": 683, + "column": 20 + }, + "end": { + "line": 683, + "column": 38 + } + } + } + ], + "range": [ + 19001, + 19059 + ], + "loc": { + "start": { + "line": 682, + "column": 23 + }, + "end": { + "line": 684, + "column": 17 + } + } + }, + "range": [ + 18904, + 19059 + ], + "loc": { + "start": { + "line": 680, + "column": 16 + }, + "end": { + "line": 684, + "column": 17 + } + } + } + ], + "range": [ + 18886, + 19073 + ], + "loc": { + "start": { + "line": 679, + "column": 41 + }, + "end": { + "line": 685, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 18864, + 19073 + ], + "loc": { + "start": { + "line": 679, + "column": 19 + }, + "end": { + "line": 685, + "column": 13 + } + } + }, + "range": [ + 18785, + 19073 + ], + "loc": { + "start": { + "line": 677, + "column": 12 + }, + "end": { + "line": 685, + "column": 13 + } + } + }, + { + "type": "ContinueStatement", + "label": null, + "range": [ + 19086, + 19095 + ], + "loc": { + "start": { + "line": 686, + "column": 12 + }, + "end": { + "line": 686, + "column": 21 + } + } + } + ], + "range": [ + 18731, + 19105 + ], + "loc": { + "start": { + "line": 675, + "column": 57 + }, + "end": { + "line": 687, + "column": 9 + } + } + }, + "range": [ + 18682, + 19105 + ], + "loc": { + "start": { + "line": 675, + "column": 8 + }, + "end": { + "line": 687, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 19121, + 19123 + ], + "loc": { + "start": { + "line": 688, + "column": 15 + }, + "end": { + "line": 688, + "column": 17 + } + } + }, + "range": [ + 19114, + 19124 + ], + "loc": { + "start": { + "line": 688, + "column": 8 + }, + "end": { + "line": 688, + "column": 18 + } + } + } + ], + "range": [ + 18603, + 19130 + ], + "loc": { + "start": { + "line": 670, + "column": 25 + }, + "end": { + "line": 689, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 18596, + 19130 + ], + "loc": { + "start": { + "line": 670, + "column": 18 + }, + "end": { + "line": 689, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 18582, + 19130 + ], + "loc": { + "start": { + "line": 670, + "column": 4 + }, + "end": { + "line": 689, + "column": 5 + } + }, + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_hideCells", + "range": [ + 19136, + 19146 + ], + "loc": { + "start": { + "line": 691, + "column": 4 + }, + "end": { + "line": 691, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 19147, + 19150 + ], + "loc": { + "start": { + "line": 691, + "column": 15 + }, + "end": { + "line": 691, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 19152, + 19160 + ], + "loc": { + "start": { + "line": 691, + "column": 20 + }, + "end": { + "line": 691, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "hide", + "range": [ + 19162, + 19166 + ], + "loc": { + "start": { + "line": 691, + "column": 30 + }, + "end": { + "line": 691, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 19187, + 19188 + ], + "loc": { + "start": { + "line": 692, + "column": 17 + }, + "end": { + "line": 692, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 19191, + 19192 + ], + "loc": { + "start": { + "line": 692, + "column": 21 + }, + "end": { + "line": 692, + "column": 22 + } + } + }, + "range": [ + 19187, + 19192 + ], + "loc": { + "start": { + "line": 692, + "column": 17 + }, + "end": { + "line": 692, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 19183, + 19192 + ], + "loc": { + "start": { + "line": 692, + "column": 13 + }, + "end": { + "line": 692, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 19194, + 19195 + ], + "loc": { + "start": { + "line": 692, + "column": 24 + }, + "end": { + "line": 692, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 19198, + 19201 + ], + "loc": { + "start": { + "line": 692, + "column": 28 + }, + "end": { + "line": 692, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 19202, + 19206 + ], + "loc": { + "start": { + "line": 692, + "column": 32 + }, + "end": { + "line": 692, + "column": 36 + } + } + }, + "range": [ + 19198, + 19206 + ], + "loc": { + "start": { + "line": 692, + "column": 28 + }, + "end": { + "line": 692, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 19207, + 19213 + ], + "loc": { + "start": { + "line": 692, + "column": 37 + }, + "end": { + "line": 692, + "column": 43 + } + } + }, + "range": [ + 19198, + 19213 + ], + "loc": { + "start": { + "line": 692, + "column": 28 + }, + "end": { + "line": 692, + "column": 43 + } + } + }, + "range": [ + 19194, + 19213 + ], + "loc": { + "start": { + "line": 692, + "column": 24 + }, + "end": { + "line": 692, + "column": 43 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 19215, + 19216 + ], + "loc": { + "start": { + "line": 692, + "column": 45 + }, + "end": { + "line": 692, + "column": 46 + } + } + }, + "prefix": false, + "range": [ + 19215, + 19218 + ], + "loc": { + "start": { + "line": 692, + "column": 45 + }, + "end": { + "line": 692, + "column": 48 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 19238, + 19241 + ], + "loc": { + "start": { + "line": 693, + "column": 16 + }, + "end": { + "line": 693, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 19244, + 19247 + ], + "loc": { + "start": { + "line": 693, + "column": 22 + }, + "end": { + "line": 693, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 19248, + 19252 + ], + "loc": { + "start": { + "line": 693, + "column": 26 + }, + "end": { + "line": 693, + "column": 30 + } + } + }, + "range": [ + 19244, + 19252 + ], + "loc": { + "start": { + "line": 693, + "column": 22 + }, + "end": { + "line": 693, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 19253, + 19254 + ], + "loc": { + "start": { + "line": 693, + "column": 31 + }, + "end": { + "line": 693, + "column": 32 + } + } + }, + "range": [ + 19244, + 19255 + ], + "loc": { + "start": { + "line": 693, + "column": 22 + }, + "end": { + "line": 693, + "column": 33 + } + } + }, + "range": [ + 19238, + 19255 + ], + "loc": { + "start": { + "line": 693, + "column": 16 + }, + "end": { + "line": 693, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 19234, + 19256 + ], + "loc": { + "start": { + "line": 693, + "column": 12 + }, + "end": { + "line": 693, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 19273, + 19277 + ], + "loc": { + "start": { + "line": 694, + "column": 16 + }, + "end": { + "line": 694, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 19280, + 19283 + ], + "loc": { + "start": { + "line": 694, + "column": 23 + }, + "end": { + "line": 694, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 19284, + 19289 + ], + "loc": { + "start": { + "line": 694, + "column": 27 + }, + "end": { + "line": 694, + "column": 32 + } + } + }, + "range": [ + 19280, + 19289 + ], + "loc": { + "start": { + "line": 694, + "column": 23 + }, + "end": { + "line": 694, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 19290, + 19298 + ], + "loc": { + "start": { + "line": 694, + "column": 33 + }, + "end": { + "line": 694, + "column": 41 + } + } + }, + "range": [ + 19280, + 19299 + ], + "loc": { + "start": { + "line": 694, + "column": 23 + }, + "end": { + "line": 694, + "column": 42 + } + } + }, + "range": [ + 19273, + 19299 + ], + "loc": { + "start": { + "line": 694, + "column": 16 + }, + "end": { + "line": 694, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 19269, + 19300 + ], + "loc": { + "start": { + "line": 694, + "column": 12 + }, + "end": { + "line": 694, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "cell", + "range": [ + 19317, + 19321 + ], + "loc": { + "start": { + "line": 695, + "column": 16 + }, + "end": { + "line": 695, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 19341, + 19345 + ], + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 19346, + 19351 + ], + "loc": { + "start": { + "line": 696, + "column": 21 + }, + "end": { + "line": 696, + "column": 26 + } + } + }, + "range": [ + 19341, + 19351 + ], + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 19352, + 19359 + ], + "loc": { + "start": { + "line": 696, + "column": 27 + }, + "end": { + "line": 696, + "column": 34 + } + } + }, + "range": [ + 19341, + 19359 + ], + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 34 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "hide", + "range": [ + 19362, + 19366 + ], + "loc": { + "start": { + "line": 696, + "column": 37 + }, + "end": { + "line": 696, + "column": 41 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "NONE", + "range": [ + 19369, + 19373 + ], + "loc": { + "start": { + "line": 696, + "column": 44 + }, + "end": { + "line": 696, + "column": 48 + } + } + }, + "alternate": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 19376, + 19378 + ], + "loc": { + "start": { + "line": 696, + "column": 51 + }, + "end": { + "line": 696, + "column": 53 + } + } + }, + "range": [ + 19362, + 19378 + ], + "loc": { + "start": { + "line": 696, + "column": 37 + }, + "end": { + "line": 696, + "column": 53 + } + } + }, + "range": [ + 19341, + 19378 + ], + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 53 + } + } + }, + "range": [ + 19341, + 19379 + ], + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 54 + } + } + } + ], + "range": [ + 19323, + 19393 + ], + "loc": { + "start": { + "line": 695, + "column": 22 + }, + "end": { + "line": 697, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 19313, + 19393 + ], + "loc": { + "start": { + "line": 695, + "column": 12 + }, + "end": { + "line": 697, + "column": 13 + } + } + } + ], + "range": [ + 19220, + 19403 + ], + "loc": { + "start": { + "line": 692, + "column": 50 + }, + "end": { + "line": 698, + "column": 9 + } + } + }, + "range": [ + 19178, + 19403 + ], + "loc": { + "start": { + "line": 692, + "column": 8 + }, + "end": { + "line": 698, + "column": 9 + } + } + } + ], + "range": [ + 19168, + 19409 + ], + "loc": { + "start": { + "line": 691, + "column": 36 + }, + "end": { + "line": 699, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 19146, + 19409 + ], + "loc": { + "start": { + "line": 691, + "column": 14 + }, + "end": { + "line": 699, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 19136, + 19409 + ], + "loc": { + "start": { + "line": 691, + "column": 4 + }, + "end": { + "line": 699, + "column": 5 + } + }, + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_hideAtStart", + "range": [ + 19415, + 19427 + ], + "loc": { + "start": { + "line": 701, + "column": 4 + }, + "end": { + "line": 701, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19440, + 19444 + ], + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 702, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "atStart", + "range": [ + 19445, + 19452 + ], + "loc": { + "start": { + "line": 702, + "column": 13 + }, + "end": { + "line": 702, + "column": 20 + } + } + }, + "range": [ + 19440, + 19452 + ], + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 702, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 19453, + 19460 + ], + "loc": { + "start": { + "line": 702, + "column": 21 + }, + "end": { + "line": 702, + "column": 28 + } + } + }, + "range": [ + 19440, + 19460 + ], + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 702, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 19462, + 19468 + ], + "loc": { + "start": { + "line": 702, + "column": 30 + }, + "end": { + "line": 702, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19487, + 19491 + ], + "loc": { + "start": { + "line": 703, + "column": 12 + }, + "end": { + "line": 703, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hideCol", + "range": [ + 19492, + 19499 + ], + "loc": { + "start": { + "line": 703, + "column": 17 + }, + "end": { + "line": 703, + "column": 24 + } + } + }, + "range": [ + 19487, + 19499 + ], + "loc": { + "start": { + "line": 703, + "column": 12 + }, + "end": { + "line": 703, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 19500, + 19506 + ], + "loc": { + "start": { + "line": 703, + "column": 25 + }, + "end": { + "line": 703, + "column": 31 + } + } + } + ], + "range": [ + 19487, + 19507 + ], + "loc": { + "start": { + "line": 703, + "column": 12 + }, + "end": { + "line": 703, + "column": 32 + } + } + }, + "range": [ + 19487, + 19508 + ], + "loc": { + "start": { + "line": 703, + "column": 12 + }, + "end": { + "line": 703, + "column": 33 + } + } + } + ], + "range": [ + 19473, + 19518 + ], + "loc": { + "start": { + "line": 702, + "column": 41 + }, + "end": { + "line": 704, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 19461, + 19518 + ], + "loc": { + "start": { + "line": 702, + "column": 29 + }, + "end": { + "line": 704, + "column": 9 + } + } + } + ], + "range": [ + 19440, + 19519 + ], + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 704, + "column": 10 + } + } + }, + "range": [ + 19440, + 19520 + ], + "loc": { + "start": { + "line": 702, + "column": 8 + }, + "end": { + "line": 704, + "column": 11 + } + } + } + ], + "range": [ + 19430, + 19526 + ], + "loc": { + "start": { + "line": 701, + "column": 19 + }, + "end": { + "line": 705, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 19427, + 19526 + ], + "loc": { + "start": { + "line": 701, + "column": 16 + }, + "end": { + "line": 705, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 19415, + 19526 + ], + "loc": { + "start": { + "line": 701, + "column": 4 + }, + "end": { + "line": 705, + "column": 5 + } + }, + "static": false + } + ], + "range": [ + 521, + 19528 + ], + "loc": { + "start": { + "line": 18, + "column": 52 + }, + "end": { + "line": 706, + "column": 1 + } + } + }, + "range": [ + 484, + 19528 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 706, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 429, + 468 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "range": [ + 469, + 19528 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 706, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 429, + 468 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 19528 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 706, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Columns Visibility extension\n ", + "range": [ + 429, + 468 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n ", + "range": [ + 528, + 680 + ], + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Configuration object", + "range": [ + 742, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 806, + 870 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 908, + 979 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * show/hide columns container element\n * @private\n ", + "range": [ + 1067, + 1149 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * show/hide columns button element\n * @private\n ", + "range": [ + 1187, + 1266 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * show/hide columns main container element\n * @private\n ", + "range": [ + 1303, + 1390 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1428, + 1528 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n ", + "range": [ + 1600, + 1697 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n ", + "range": [ + 1761, + 1875 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Headers row index only if headers are external\n * @type {Number}\n ", + "range": [ + 1936, + 2035 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of main container element\n * @type {String}\n ", + "range": [ + 2105, + 2186 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Alternative text for column headers in column manager UI\n * @type {Array}\n ", + "range": [ + 2265, + 2373 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of button's container element\n * @type {String}\n ", + "range": [ + 2443, + 2528 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button's text, defaults to Columns▼\n * @type {String}\n ", + "range": [ + 2598, + 2692 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button's inner HTML\n * @type {String}\n ", + "range": [ + 2768, + 2840 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for button\n * @type {String}\n ", + "range": [ + 2904, + 2977 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n ", + "range": [ + 3054, + 3162 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Columns manager UI close link HTML\n * @type {String}\n ", + "range": [ + 3240, + 3327 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI close link\n * @type {String}\n ", + "range": [ + 3402, + 3492 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Extension's stylesheet filename\n * @type {String}\n ", + "range": [ + 3600, + 3684 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI span\n * @type {String}\n ", + "range": [ + 3769, + 3853 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 149, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI main container\n * @type {String}\n ", + "range": [ + 3936, + 4030 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 155, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist (ul)\n * @type {String}\n ", + "range": [ + 4113, + 4207 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 161, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item (li)\n * @type {String}\n ", + "range": [ + 4296, + 4395 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 167, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n ", + "range": [ + 4515, + 4629 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 174, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n ", + "range": [ + 4787, + 4957 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 184, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n ", + "range": [ + 5047, + 5153 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 190, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n ", + "range": [ + 5215, + 5322 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 196, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable select all option, disabled by default\n * @type {Boolean}\n ", + "range": [ + 5384, + 5483 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 202, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n ", + "range": [ + 5550, + 5656 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of indexes of hidden columns\n * @private\n ", + "range": [ + 5738, + 5818 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 214, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 5858, + 5926 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired when the extension is initialized\n * @type {Function}\n ", + "range": [ + 5970, + 6073 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 226, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6142, + 6248 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 232, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is opened\n * @type {Function}\n ", + "range": [ + 6326, + 6431 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 238, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6507, + 6613 + ], + "loc": { + "start": { + "line": 241, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the columns manager is closed\n * @type {Function}\n ", + "range": [ + 6693, + 6798 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 250, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a column is hidden\n * @type {Function}\n ", + "range": [ + 6876, + 6971 + ], + "loc": { + "start": { + "line": 253, + "column": 8 + }, + "end": { + "line": 256, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a column is hidden\n * @type {Function}\n ", + "range": [ + 7060, + 7154 + ], + "loc": { + "start": { + "line": 259, + "column": 8 + }, + "end": { + "line": 262, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a column is displayed\n * @type {Function}\n ", + "range": [ + 7241, + 7339 + ], + "loc": { + "start": { + "line": 265, + "column": 8 + }, + "end": { + "line": 268, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a column is displayed\n * @type {Function}\n ", + "range": [ + 7446, + 7543 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + }, + { + "type": "Line", + "value": "Grid layout support", + "range": [ + 7648, + 7669 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 29 + } + } + }, + { + "type": "Line", + "value": "headers table", + "range": [ + 7763, + 7778 + ], + "loc": { + "start": { + "line": 281, + "column": 64 + }, + "end": { + "line": 281, + "column": 79 + } + } + }, + { + "type": "Line", + "value": "headers index", + "range": [ + 7814, + 7829 + ], + "loc": { + "start": { + "line": 282, + "column": 35 + }, + "end": { + "line": 282, + "column": 50 + } + } + }, + { + "type": "Line", + "value": "Loads extension stylesheet", + "range": [ + 7849, + 7877 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 36 + } + } + }, + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 8013, + 8106 + ], + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 295, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle columns manager UI\n ", + "range": [ + 8457, + 8501 + ], + "loc": { + "start": { + "line": 311, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 8525, + 8567 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Check an item in columns manager UI\n * @private\n ", + "range": [ + 9187, + 9257 + ], + "loc": { + "start": { + "line": 339, + "column": 4 + }, + "end": { + "line": 342, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes ColsVisibility instance\n ", + "range": [ + 9898, + 9952 + ], + "loc": { + "start": { + "line": 365, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 10206, + 10223 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " Hide columns at start at very end of initialization, do not move", + "range": [ + 10399, + 10466 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " as order is important", + "range": [ + 10475, + 10499 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 32 + } + } + }, + { + "type": "Block", + "value": "*\n * Build main button UI\n ", + "range": [ + 10540, + 10579 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 393, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Container element (rdiv or custom element)", + "range": [ + 10770, + 10814 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + { + "type": "Line", + "value": "Custom html", + "range": [ + 11644, + 11657 + ], + "loc": { + "start": { + "line": 427, + "column": 17 + }, + "end": { + "line": 427, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Build columns manager UI\n ", + "range": [ + 12086, + 12129 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 445, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Extension description", + "range": [ + 12346, + 12369 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 31 + } + } + }, + { + "type": "Line", + "value": "Headers list", + "range": [ + 12511, + 12525 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 22 + } + } + }, + { + "type": "Line", + "value": "Tick all option", + "range": [ + 12807, + 12824 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 25 + } + } + }, + { + "type": "Line", + "value": "separator", + "range": [ + 14279, + 14290 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "Close link", + "range": [ + 14369, + 14381 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 20 + } + } + }, + { + "type": "Block", + "value": "*\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n ", + "range": [ + 15014, + 15177 + ], + "loc": { + "start": { + "line": 531, + "column": 4 + }, + "end": { + "line": 535, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Show specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16309, + 16395 + ], + "loc": { + "start": { + "line": 577, + "column": 4 + }, + "end": { + "line": 580, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Hide specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 16771, + 16857 + ], + "loc": { + "start": { + "line": 595, + "column": 4 + }, + "end": { + "line": 598, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n ", + "range": [ + 17231, + 17335 + ], + "loc": { + "start": { + "line": 613, + "column": 4 + }, + "end": { + "line": 616, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 17488, + 17590 + ], + "loc": { + "start": { + "line": 624, + "column": 4 + }, + "end": { + "line": 627, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n ", + "range": [ + 17790, + 17897 + ], + "loc": { + "start": { + "line": 636, + "column": 4 + }, + "end": { + "line": 639, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove the columns manager\n ", + "range": [ + 17963, + 18008 + ], + "loc": { + "start": { + "line": 644, + "column": 4 + }, + "end": { + "line": 646, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/sort/adapterSortabletable.js.json b/docs/ast/source/extensions/sort/adapterSortabletable.js.json new file mode 100644 index 00000000..5615ac1c --- /dev/null +++ b/docs/ast/source/extensions/sort/adapterSortabletable.js.json @@ -0,0 +1,35081 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../feature", + "raw": "'../../feature'", + "range": [ + 22, + 37 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 37 + } + } + }, + "range": [ + 0, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isObj", + "range": [ + 56, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isObj", + "range": [ + 56, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "range": [ + 56, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 63, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 63, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + "range": [ + 63, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 32 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../types", + "raw": "'../../types'", + "range": [ + 78, + 91 + ], + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 52 + } + } + }, + "range": [ + 39, + 92 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 53 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 101, + 110 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 101, + 110 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "range": [ + 101, + 110 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 112, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 112, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + "range": [ + 112, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getText", + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getText", + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "tag", + "range": [ + 126, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "tag", + "range": [ + 126, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + "range": [ + 126, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 36 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../dom", + "raw": "'../../dom'", + "range": [ + 136, + 147 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + "range": [ + 93, + 148 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 55 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 157, + 163 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 157, + 163 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "range": [ + 157, + 163 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../event", + "raw": "'../../event'", + "range": [ + 170, + 183 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "range": [ + 149, + 184 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 202, + 209 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "parse", + "range": [ + 193, + 198 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "range": [ + 193, + 209 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../number", + "raw": "'../../number'", + "range": [ + 216, + 230 + ], + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + "range": [ + 185, + 231 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 46 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 245, + 249 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 245, + 249 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + "range": [ + 245, + 249 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 251, + 259 + ], + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 251, + 259 + ], + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + "range": [ + 251, + 259 + ], + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 18 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "HEADER_TAG", + "range": [ + 261, + 271 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + "imported": { + "type": "Identifier", + "name": "HEADER_TAG", + "range": [ + 261, + 271 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + "range": [ + 261, + 271 + ], + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "STRING", + "range": [ + 273, + 279 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "STRING", + "range": [ + 273, + 279 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "range": [ + 273, + 279 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 281, + 287 + ], + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 281, + 287 + ], + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + "range": [ + 281, + 287 + ], + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DATE", + "range": [ + 289, + 293 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 52 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DATE", + "range": [ + 289, + 293 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 52 + } + } + }, + "range": [ + 289, + 293 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 52 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 295, + 311 + ], + "loc": { + "start": { + "line": 7, + "column": 54 + }, + "end": { + "line": 7, + "column": 70 + } + } + }, + "imported": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 295, + 311 + ], + "loc": { + "start": { + "line": 7, + "column": 54 + }, + "end": { + "line": 7, + "column": 70 + } + } + }, + "range": [ + 295, + 311 + ], + "loc": { + "start": { + "line": 7, + "column": 54 + }, + "end": { + "line": 7, + "column": 70 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "IP_ADDRESS", + "range": [ + 317, + 327 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "IP_ADDRESS", + "range": [ + 317, + 327 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "range": [ + 317, + 327 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../const", + "raw": "'../../const'", + "range": [ + 335, + 348 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + "range": [ + 232, + 349 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 358, + 369 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 358, + 369 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + "range": [ + 358, + 369 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 371, + 381 + ], + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 371, + 381 + ], + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 31 + } + } + }, + "range": [ + 371, + 381 + ], + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 31 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 383, + 394 + ], + "loc": { + "start": { + "line": 10, + "column": 33 + }, + "end": { + "line": 10, + "column": 44 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 383, + 394 + ], + "loc": { + "start": { + "line": 10, + "column": 33 + }, + "end": { + "line": 10, + "column": 44 + } + } + }, + "range": [ + 383, + 394 + ], + "loc": { + "start": { + "line": 10, + "column": 33 + }, + "end": { + "line": 10, + "column": 44 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../settings", + "raw": "'../../settings'", + "range": [ + 401, + 417 + ], + "loc": { + "start": { + "line": 10, + "column": 51 + }, + "end": { + "line": 10, + "column": 67 + } + } + }, + "range": [ + 350, + 418 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 68 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * SortableTable Adapter module\n ", + "range": [ + 420, + 459 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "AdapterSortableTable", + "range": [ + 481, + 501 + ], + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 510, + 517 + ], + "loc": { + "start": { + "line": 15, + "column": 50 + }, + "end": { + "line": 15, + "column": 57 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 693, + 704 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 705, + 707 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "opts", + "range": [ + 709, + 713 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 725, + 730 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 731, + 733 + ], + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 735, + 739 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 740, + 744 + ], + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 735, + 744 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 27 + } + } + } + ], + "range": [ + 725, + 745 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 28 + } + } + }, + "range": [ + 725, + 746 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 29 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 756, + 820 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 829, + 833 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 834, + 838 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + "range": [ + 829, + 838 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 841, + 845 + ], + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 846, + 850 + ], + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 29 + } + } + }, + "range": [ + 841, + 850 + ], + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 29 + } + } + }, + "range": [ + 829, + 850 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 29 + } + } + }, + "range": [ + 829, + 851 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 756, + 820 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 861, + 932 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 941, + 945 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "desc", + "range": [ + 946, + 950 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + "range": [ + 941, + 950 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 953, + 964 + ], + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 965, + 969 + ], + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "description", + "range": [ + 970, + 981 + ], + "loc": { + "start": { + "line": 35, + "column": 37 + }, + "end": { + "line": 35, + "column": 48 + } + } + }, + "range": [ + 965, + 981 + ], + "loc": { + "start": { + "line": 35, + "column": 32 + }, + "end": { + "line": 35, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": "Sortable table", + "raw": "'Sortable table'", + "range": [ + 983, + 999 + ], + "loc": { + "start": { + "line": 35, + "column": 50 + }, + "end": { + "line": 35, + "column": 66 + } + } + } + ], + "range": [ + 953, + 1000 + ], + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 67 + } + } + }, + "range": [ + 941, + 1000 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 67 + } + } + }, + "range": [ + 941, + 1001 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 861, + 932 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether table previously sorted\n * @type {Boolean}\n * @private\n ", + "range": [ + 1011, + 1125 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1134, + 1138 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sorted", + "range": [ + 1139, + 1145 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "range": [ + 1134, + 1145 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1148, + 1153 + ], + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 27 + } + } + }, + "range": [ + 1134, + 1153 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 27 + } + } + }, + "range": [ + 1134, + 1154 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether table previously sorted\n * @type {Boolean}\n * @private\n ", + "range": [ + 1011, + 1125 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of sort type per column basis\n * @type {Array}\n ", + "range": [ + 1164, + 1250 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1259, + 1263 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 1264, + 1273 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + "range": [ + 1259, + 1273 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1276, + 1287 + ], + "loc": { + "start": { + "line": 48, + "column": 25 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1288, + 1292 + ], + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 1293, + 1298 + ], + "loc": { + "start": { + "line": 48, + "column": 42 + }, + "end": { + "line": 48, + "column": 47 + } + } + }, + "range": [ + 1288, + 1298 + ], + "loc": { + "start": { + "line": 48, + "column": 37 + }, + "end": { + "line": 48, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1300, + 1302 + ], + "loc": { + "start": { + "line": 48, + "column": 49 + }, + "end": { + "line": 48, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 1303, + 1311 + ], + "loc": { + "start": { + "line": 48, + "column": 52 + }, + "end": { + "line": 48, + "column": 60 + } + } + }, + "range": [ + 1300, + 1311 + ], + "loc": { + "start": { + "line": 48, + "column": 49 + }, + "end": { + "line": 48, + "column": 60 + } + } + } + ], + "range": [ + 1276, + 1312 + ], + "loc": { + "start": { + "line": 48, + "column": 25 + }, + "end": { + "line": 48, + "column": 61 + } + } + }, + "range": [ + 1259, + 1312 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 61 + } + } + }, + "range": [ + 1259, + 1313 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of sort type per column basis\n * @type {Array}\n ", + "range": [ + 1164, + 1250 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Column to be sorted at initialization, ie:\n * sort_col_at_start: [1, true]\n * @type {Array}\n ", + "range": [ + 1323, + 1457 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1466, + 1470 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 1471, + 1485 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "range": [ + 1466, + 1485 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1488, + 1499 + ], + "loc": { + "start": { + "line": 55, + "column": 30 + }, + "end": { + "line": 55, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1500, + 1504 + ], + "loc": { + "start": { + "line": 55, + "column": 42 + }, + "end": { + "line": 55, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_col_at_start", + "range": [ + 1505, + 1522 + ], + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 64 + } + } + }, + "range": [ + 1500, + 1522 + ], + "loc": { + "start": { + "line": 55, + "column": 42 + }, + "end": { + "line": 55, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1524, + 1528 + ], + "loc": { + "start": { + "line": 55, + "column": 66 + }, + "end": { + "line": 55, + "column": 70 + } + } + } + ], + "range": [ + 1488, + 1529 + ], + "loc": { + "start": { + "line": 55, + "column": 30 + }, + "end": { + "line": 55, + "column": 71 + } + } + }, + "range": [ + 1466, + 1529 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 71 + } + } + }, + "range": [ + 1466, + 1530 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Column to be sorted at initialization, ie:\n * sort_col_at_start: [1, true]\n * @type {Array}\n ", + "range": [ + 1323, + 1457 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable asynchronous sort, if triggers are external\n * @type {Boolean}\n ", + "range": [ + 1540, + 1644 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1653, + 1657 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "asyncSort", + "range": [ + 1658, + 1667 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 22 + } + } + }, + "range": [ + 1653, + 1667 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 1670, + 1677 + ], + "loc": { + "start": { + "line": 61, + "column": 25 + }, + "end": { + "line": 61, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1678, + 1682 + ], + "loc": { + "start": { + "line": 61, + "column": 33 + }, + "end": { + "line": 61, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "async_sort", + "range": [ + 1683, + 1693 + ], + "loc": { + "start": { + "line": 61, + "column": 38 + }, + "end": { + "line": 61, + "column": 48 + } + } + }, + "range": [ + 1678, + 1693 + ], + "loc": { + "start": { + "line": 61, + "column": 33 + }, + "end": { + "line": 61, + "column": 48 + } + } + } + ], + "range": [ + 1670, + 1694 + ], + "loc": { + "start": { + "line": 61, + "column": 25 + }, + "end": { + "line": 61, + "column": 49 + } + } + }, + "range": [ + 1653, + 1694 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 49 + } + } + }, + "range": [ + 1653, + 1695 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable asynchronous sort, if triggers are external\n * @type {Boolean}\n ", + "range": [ + 1540, + 1644 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of element IDs triggering sort on a per column basis\n * @type {Array}\n ", + "range": [ + 1705, + 1814 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1823, + 1827 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 1828, + 1838 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 23 + } + } + }, + "range": [ + 1823, + 1838 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1841, + 1852 + ], + "loc": { + "start": { + "line": 67, + "column": 26 + }, + "end": { + "line": 67, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 1853, + 1857 + ], + "loc": { + "start": { + "line": 67, + "column": 38 + }, + "end": { + "line": 67, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "trigger_ids", + "range": [ + 1858, + 1869 + ], + "loc": { + "start": { + "line": 67, + "column": 43 + }, + "end": { + "line": 67, + "column": 54 + } + } + }, + "range": [ + 1853, + 1869 + ], + "loc": { + "start": { + "line": 67, + "column": 38 + }, + "end": { + "line": 67, + "column": 54 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1871, + 1873 + ], + "loc": { + "start": { + "line": 67, + "column": 56 + }, + "end": { + "line": 67, + "column": 58 + } + } + } + ], + "range": [ + 1841, + 1874 + ], + "loc": { + "start": { + "line": 67, + "column": 26 + }, + "end": { + "line": 67, + "column": 59 + } + } + }, + "range": [ + 1823, + 1874 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 59 + } + } + }, + "range": [ + 1823, + 1875 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of element IDs triggering sort on a per column basis\n * @type {Array}\n ", + "range": [ + 1705, + 1814 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " edit .sort-arrow.descending / .sort-arrow.ascending in", + "range": [ + 1885, + 1942 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 65 + } + } + }, + { + "type": "Line", + "value": " tablefilter.css to reflect any path change", + "range": [ + 1951, + 1996 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 53 + } + } + }, + { + "type": "Block", + "value": "*\n * Path to images\n * @type {String}\n ", + "range": [ + 2005, + 2072 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2081, + 2085 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgPath", + "range": [ + 2086, + 2093 + ], + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + "range": [ + 2081, + 2093 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2096, + 2107 + ], + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2108, + 2112 + ], + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "images_path", + "range": [ + 2113, + 2124 + ], + "loc": { + "start": { + "line": 75, + "column": 40 + }, + "end": { + "line": 75, + "column": 51 + } + } + }, + "range": [ + 2108, + 2124 + ], + "loc": { + "start": { + "line": 75, + "column": 35 + }, + "end": { + "line": 75, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2126, + 2128 + ], + "loc": { + "start": { + "line": 75, + "column": 53 + }, + "end": { + "line": 75, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "themesPath", + "range": [ + 2129, + 2139 + ], + "loc": { + "start": { + "line": 75, + "column": 56 + }, + "end": { + "line": 75, + "column": 66 + } + } + }, + "range": [ + 2126, + 2139 + ], + "loc": { + "start": { + "line": 75, + "column": 53 + }, + "end": { + "line": 75, + "column": 66 + } + } + } + ], + "range": [ + 2096, + 2140 + ], + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 67 + } + } + }, + "range": [ + 2081, + 2140 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 67 + } + } + }, + "range": [ + 2081, + 2141 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " edit .sort-arrow.descending / .sort-arrow.ascending in", + "range": [ + 1885, + 1942 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 65 + } + } + }, + { + "type": "Line", + "value": " tablefilter.css to reflect any path change", + "range": [ + 1951, + 1996 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 53 + } + } + }, + { + "type": "Block", + "value": "*\n * Path to images\n * @type {String}\n ", + "range": [ + 2005, + 2072 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Blank image file name\n * @type {String}\n ", + "range": [ + 2151, + 2225 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2234, + 2238 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgBlank", + "range": [ + 2239, + 2247 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + "range": [ + 2234, + 2247 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2250, + 2261 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2262, + 2266 + ], + "loc": { + "start": { + "line": 81, + "column": 36 + }, + "end": { + "line": 81, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_blank", + "range": [ + 2267, + 2278 + ], + "loc": { + "start": { + "line": 81, + "column": 41 + }, + "end": { + "line": 81, + "column": 52 + } + } + }, + "range": [ + 2262, + 2278 + ], + "loc": { + "start": { + "line": 81, + "column": 36 + }, + "end": { + "line": 81, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": "blank.png", + "raw": "'blank.png'", + "range": [ + 2280, + 2291 + ], + "loc": { + "start": { + "line": 81, + "column": 54 + }, + "end": { + "line": 81, + "column": 65 + } + } + } + ], + "range": [ + 2250, + 2292 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 66 + } + } + }, + "range": [ + 2234, + 2292 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 66 + } + } + }, + "range": [ + 2234, + 2293 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Blank image file name\n * @type {String}\n ", + "range": [ + 2151, + 2225 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for sort indicator image\n * @type {String}\n ", + "range": [ + 2303, + 2390 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2399, + 2403 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgClassName", + "range": [ + 2404, + 2416 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 25 + } + } + }, + "range": [ + 2399, + 2416 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2419, + 2430 + ], + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 87, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2431, + 2435 + ], + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 87, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_class_name", + "range": [ + 2436, + 2452 + ], + "loc": { + "start": { + "line": 87, + "column": 45 + }, + "end": { + "line": 87, + "column": 61 + } + } + }, + "range": [ + 2431, + 2452 + ], + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 87, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": "sort-arrow", + "raw": "'sort-arrow'", + "range": [ + 2454, + 2466 + ], + "loc": { + "start": { + "line": 87, + "column": 63 + }, + "end": { + "line": 87, + "column": 75 + } + } + } + ], + "range": [ + 2419, + 2467 + ], + "loc": { + "start": { + "line": 87, + "column": 28 + }, + "end": { + "line": 87, + "column": 76 + } + } + }, + "range": [ + 2399, + 2467 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 76 + } + } + }, + "range": [ + 2399, + 2468 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for sort indicator image\n * @type {String}\n ", + "range": [ + 2303, + 2390 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for ascending sort indicator image\n * @type {String}\n ", + "range": [ + 2478, + 2575 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2584, + 2588 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgAscClassName", + "range": [ + 2589, + 2604 + ], + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 28 + } + } + }, + "range": [ + 2584, + 2604 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2607, + 2618 + ], + "loc": { + "start": { + "line": 93, + "column": 31 + }, + "end": { + "line": 93, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2619, + 2623 + ], + "loc": { + "start": { + "line": 93, + "column": 43 + }, + "end": { + "line": 93, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_asc_class_name", + "range": [ + 2624, + 2644 + ], + "loc": { + "start": { + "line": 93, + "column": 48 + }, + "end": { + "line": 93, + "column": 68 + } + } + }, + "range": [ + 2619, + 2644 + ], + "loc": { + "start": { + "line": 93, + "column": 43 + }, + "end": { + "line": 93, + "column": 68 + } + } + }, + { + "type": "Literal", + "value": "ascending", + "raw": "'ascending'", + "range": [ + 2658, + 2669 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 23 + } + } + } + ], + "range": [ + 2607, + 2670 + ], + "loc": { + "start": { + "line": 93, + "column": 31 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "range": [ + 2584, + 2670 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "range": [ + 2584, + 2671 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 94, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for ascending sort indicator image\n * @type {String}\n ", + "range": [ + 2478, + 2575 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for descending sort indicator image\n * @type {String}\n ", + "range": [ + 2681, + 2779 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 99, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2788, + 2792 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgDescClassName", + "range": [ + 2793, + 2809 + ], + "loc": { + "start": { + "line": 100, + "column": 13 + }, + "end": { + "line": 100, + "column": 29 + } + } + }, + "range": [ + 2788, + 2809 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2812, + 2823 + ], + "loc": { + "start": { + "line": 100, + "column": 32 + }, + "end": { + "line": 100, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 2824, + 2828 + ], + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_desc_class_name", + "range": [ + 2829, + 2850 + ], + "loc": { + "start": { + "line": 100, + "column": 49 + }, + "end": { + "line": 100, + "column": 70 + } + } + }, + "range": [ + 2824, + 2850 + ], + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": "descending", + "raw": "'descending'", + "range": [ + 2864, + 2876 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 24 + } + } + } + ], + "range": [ + 2812, + 2877 + ], + "loc": { + "start": { + "line": 100, + "column": 32 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + "range": [ + 2788, + 2877 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + "range": [ + 2788, + 2878 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 101, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for descending sort indicator image\n * @type {String}\n ", + "range": [ + 2681, + 2779 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 99, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cell attribute key storing custom value used for sorting\n * @type {String}\n ", + "range": [ + 2888, + 2997 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3006, + 3010 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "customKey", + "range": [ + 3011, + 3020 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + "range": [ + 3006, + 3020 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3023, + 3034 + ], + "loc": { + "start": { + "line": 107, + "column": 25 + }, + "end": { + "line": 107, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 3035, + 3039 + ], + "loc": { + "start": { + "line": 107, + "column": 37 + }, + "end": { + "line": 107, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "custom_key", + "range": [ + 3040, + 3050 + ], + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 52 + } + } + }, + "range": [ + 3035, + 3050 + ], + "loc": { + "start": { + "line": 107, + "column": 37 + }, + "end": { + "line": 107, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": "data-tf-sortKey", + "raw": "'data-tf-sortKey'", + "range": [ + 3052, + 3069 + ], + "loc": { + "start": { + "line": 107, + "column": 54 + }, + "end": { + "line": 107, + "column": 71 + } + } + } + ], + "range": [ + 3023, + 3070 + ], + "loc": { + "start": { + "line": 107, + "column": 25 + }, + "end": { + "line": 107, + "column": 72 + } + } + }, + "range": [ + 3006, + 3070 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 72 + } + } + }, + "range": [ + 3006, + 3071 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cell attribute key storing custom value used for sorting\n * @type {String}\n ", + "range": [ + 2888, + 2997 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when sort extension is instanciated\n * @type {Function}\n ", + "range": [ + 3081, + 3186 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3195, + 3199 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSortLoaded", + "range": [ + 3200, + 3212 + ], + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 25 + } + } + }, + "range": [ + 3195, + 3212 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 3215, + 3225 + ], + "loc": { + "start": { + "line": 113, + "column": 28 + }, + "end": { + "line": 113, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 3226, + 3230 + ], + "loc": { + "start": { + "line": 113, + "column": 39 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_sort_loaded", + "range": [ + 3231, + 3245 + ], + "loc": { + "start": { + "line": 113, + "column": 44 + }, + "end": { + "line": 113, + "column": 58 + } + } + }, + "range": [ + 3226, + 3245 + ], + "loc": { + "start": { + "line": 113, + "column": 39 + }, + "end": { + "line": 113, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 3247, + 3255 + ], + "loc": { + "start": { + "line": 113, + "column": 60 + }, + "end": { + "line": 113, + "column": 68 + } + } + } + ], + "range": [ + 3215, + 3256 + ], + "loc": { + "start": { + "line": 113, + "column": 28 + }, + "end": { + "line": 113, + "column": 69 + } + } + }, + "range": [ + 3195, + 3256 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 69 + } + } + }, + "range": [ + 3195, + 3257 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when sort extension is instanciated\n * @type {Function}\n ", + "range": [ + 3081, + 3186 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a table column is sorted\n * @type {Function}\n ", + "range": [ + 3267, + 3368 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3377, + 3381 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeSort", + "range": [ + 3382, + 3394 + ], + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 25 + } + } + }, + "range": [ + 3377, + 3394 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 3397, + 3407 + ], + "loc": { + "start": { + "line": 119, + "column": 28 + }, + "end": { + "line": 119, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 3408, + 3412 + ], + "loc": { + "start": { + "line": 119, + "column": 39 + }, + "end": { + "line": 119, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_sort", + "range": [ + 3413, + 3427 + ], + "loc": { + "start": { + "line": 119, + "column": 44 + }, + "end": { + "line": 119, + "column": 58 + } + } + }, + "range": [ + 3408, + 3427 + ], + "loc": { + "start": { + "line": 119, + "column": 39 + }, + "end": { + "line": 119, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 3429, + 3437 + ], + "loc": { + "start": { + "line": 119, + "column": 60 + }, + "end": { + "line": 119, + "column": 68 + } + } + } + ], + "range": [ + 3397, + 3438 + ], + "loc": { + "start": { + "line": 119, + "column": 28 + }, + "end": { + "line": 119, + "column": 69 + } + } + }, + "range": [ + 3377, + 3438 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 69 + } + } + }, + "range": [ + 3377, + 3439 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a table column is sorted\n * @type {Function}\n ", + "range": [ + 3267, + 3368 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a table column is sorted\n * @type {Function}\n ", + "range": [ + 3449, + 3549 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3558, + 3562 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterSort", + "range": [ + 3563, + 3574 + ], + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 125, + "column": 24 + } + } + }, + "range": [ + 3558, + 3574 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 3577, + 3587 + ], + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opts", + "range": [ + 3588, + 3592 + ], + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_sort", + "range": [ + 3593, + 3606 + ], + "loc": { + "start": { + "line": 125, + "column": 43 + }, + "end": { + "line": 125, + "column": 56 + } + } + }, + "range": [ + 3588, + 3606 + ], + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 3608, + 3616 + ], + "loc": { + "start": { + "line": 125, + "column": 58 + }, + "end": { + "line": 125, + "column": 66 + } + } + } + ], + "range": [ + 3577, + 3617 + ], + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 67 + } + } + }, + "range": [ + 3558, + 3617 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 67 + } + } + }, + "range": [ + 3558, + 3618 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a table column is sorted\n * @type {Function}\n ", + "range": [ + 3449, + 3549 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * SortableTable instance\n * @private\n ", + "range": [ + 3628, + 3697 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3706, + 3710 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 3711, + 3714 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 16 + } + } + }, + "range": [ + 3706, + 3714 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3717, + 3721 + ], + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 131, + "column": 23 + } + } + }, + "range": [ + 3706, + 3721 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 23 + } + } + }, + "range": [ + 3706, + 3722 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * SortableTable instance\n * @private\n ", + "range": [ + 3628, + 3697 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3732, + 3736 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 3737, + 3743 + ], + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + "range": [ + 3732, + 3743 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 3732, + 3745 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 21 + } + } + }, + "range": [ + 3732, + 3746 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 22 + } + } + } + ], + "range": [ + 715, + 3752 + ], + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 134, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 704, + 3752 + ], + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 134, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 693, + 3752 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 134, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of AdapterSortableTable\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n ", + "range": [ + 525, + 688 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes AdapterSortableTable instance\n ", + "range": [ + 3758, + 3818 + ], + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 138, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 3823, + 3827 + ], + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3844, + 3848 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3849, + 3860 + ], + "loc": { + "start": { + "line": 140, + "column": 17 + }, + "end": { + "line": 140, + "column": 28 + } + } + }, + "range": [ + 3844, + 3860 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3876, + 3883 + ], + "loc": { + "start": { + "line": 141, + "column": 12 + }, + "end": { + "line": 141, + "column": 19 + } + } + } + ], + "range": [ + 3862, + 3893 + ], + "loc": { + "start": { + "line": 140, + "column": 30 + }, + "end": { + "line": 142, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3840, + 3893 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 142, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 3906, + 3908 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3911, + 3915 + ], + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3916, + 3918 + ], + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + "range": [ + 3911, + 3918 + ], + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + "range": [ + 3906, + 3918 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3902, + 3919 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "adpt", + "range": [ + 3932, + 3936 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 3939, + 3943 + ], + "loc": { + "start": { + "line": 144, + "column": 19 + }, + "end": { + "line": 144, + "column": 23 + } + } + }, + "range": [ + 3932, + 3943 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 3928, + 3944 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 24 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " SortableTable class sanity check (sortabletable.js)", + "range": [ + 3954, + 4008 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 62 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 4021, + 4028 + ], + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 4029, + 4042 + ], + "loc": { + "start": { + "line": 147, + "column": 20 + }, + "end": { + "line": 147, + "column": 33 + } + } + } + ], + "range": [ + 4021, + 4043 + ], + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 4069, + 4074 + ], + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "SortableTable class not found.", + "raw": "'SortableTable class not found.'", + "range": [ + 4075, + 4107 + ], + "loc": { + "start": { + "line": 148, + "column": 28 + }, + "end": { + "line": 148, + "column": 60 + } + } + } + ], + "range": [ + 4065, + 4108 + ], + "loc": { + "start": { + "line": 148, + "column": 18 + }, + "end": { + "line": 148, + "column": 61 + } + } + }, + "range": [ + 4059, + 4109 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 62 + } + } + } + ], + "range": [ + 4045, + 4119 + ], + "loc": { + "start": { + "line": 147, + "column": 36 + }, + "end": { + "line": 149, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4017, + 4119 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 149, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " SortableTable class sanity check (sortabletable.js)", + "range": [ + 3954, + 4008 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Add any date format if needed", + "range": [ + 4129, + 4161 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 40 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4170, + 4174 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4175, + 4182 + ], + "loc": { + "start": { + "line": 152, + "column": 13 + }, + "end": { + "line": 152, + "column": 20 + } + } + }, + "range": [ + 4170, + 4182 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 4183, + 4187 + ], + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + "range": [ + 4170, + 4187 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "add-date-type-formats", + "raw": "'add-date-type-formats'", + "range": [ + 4188, + 4211 + ], + "loc": { + "start": { + "line": 152, + "column": 26 + }, + "end": { + "line": 152, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4213, + 4217 + ], + "loc": { + "start": { + "line": 152, + "column": 51 + }, + "end": { + "line": 152, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4218, + 4220 + ], + "loc": { + "start": { + "line": 152, + "column": 56 + }, + "end": { + "line": 152, + "column": 58 + } + } + }, + "range": [ + 4213, + 4220 + ], + "loc": { + "start": { + "line": 152, + "column": 51 + }, + "end": { + "line": 152, + "column": 58 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4222, + 4226 + ], + "loc": { + "start": { + "line": 152, + "column": 60 + }, + "end": { + "line": 152, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 4227, + 4236 + ], + "loc": { + "start": { + "line": 152, + "column": 65 + }, + "end": { + "line": 152, + "column": 74 + } + } + }, + "range": [ + 4222, + 4236 + ], + "loc": { + "start": { + "line": 152, + "column": 60 + }, + "end": { + "line": 152, + "column": 74 + } + } + } + ], + "range": [ + 4170, + 4237 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 75 + } + } + }, + "range": [ + 4170, + 4238 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Add any date format if needed", + "range": [ + 4129, + 4161 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 40 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4248, + 4252 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "overrideSortableTable", + "range": [ + 4253, + 4274 + ], + "loc": { + "start": { + "line": 154, + "column": 13 + }, + "end": { + "line": 154, + "column": 34 + } + } + }, + "range": [ + 4248, + 4274 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 4248, + 4276 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 36 + } + } + }, + "range": [ + 4248, + 4277 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4286, + 4290 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setSortTypes", + "range": [ + 4291, + 4303 + ], + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 25 + } + } + }, + "range": [ + 4286, + 4303 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 4286, + 4305 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 27 + } + } + }, + "range": [ + 4286, + 4306 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4316, + 4320 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSortLoaded", + "range": [ + 4321, + 4333 + ], + "loc": { + "start": { + "line": 157, + "column": 13 + }, + "end": { + "line": 157, + "column": 25 + } + } + }, + "range": [ + 4316, + 4333 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4334, + 4336 + ], + "loc": { + "start": { + "line": 157, + "column": 26 + }, + "end": { + "line": 157, + "column": 28 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 4338, + 4342 + ], + "loc": { + "start": { + "line": 157, + "column": 30 + }, + "end": { + "line": 157, + "column": 34 + } + } + } + ], + "range": [ + 4316, + 4343 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 35 + } + } + }, + "range": [ + 4316, + 4344 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 36 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** SortableTable callbacks **", + "range": [ + 4354, + 4387 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4396, + 4400 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 4401, + 4404 + ], + "loc": { + "start": { + "line": 160, + "column": 13 + }, + "end": { + "line": 160, + "column": 16 + } + } + }, + "range": [ + 4396, + 4404 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onbeforesort", + "range": [ + 4405, + 4417 + ], + "loc": { + "start": { + "line": 160, + "column": 17 + }, + "end": { + "line": 160, + "column": 29 + } + } + }, + "range": [ + 4396, + 4417 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 29 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 4446, + 4450 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeSort", + "range": [ + 4451, + 4463 + ], + "loc": { + "start": { + "line": 161, + "column": 17 + }, + "end": { + "line": 161, + "column": 29 + } + } + }, + "range": [ + 4446, + 4463 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4464, + 4466 + ], + "loc": { + "start": { + "line": 161, + "column": 30 + }, + "end": { + "line": 161, + "column": 32 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 4468, + 4472 + ], + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 4473, + 4476 + ], + "loc": { + "start": { + "line": 161, + "column": 39 + }, + "end": { + "line": 161, + "column": 42 + } + } + }, + "range": [ + 4468, + 4476 + ], + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColumn", + "range": [ + 4477, + 4487 + ], + "loc": { + "start": { + "line": 161, + "column": 43 + }, + "end": { + "line": 161, + "column": 53 + } + } + }, + "range": [ + 4468, + 4487 + ], + "loc": { + "start": { + "line": 161, + "column": 34 + }, + "end": { + "line": 161, + "column": 53 + } + } + } + ], + "range": [ + 4446, + 4488 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 54 + } + } + }, + "range": [ + 4446, + 4489 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 55 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** sort behaviour for paging **", + "range": [ + 4503, + 4538 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 47 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4555, + 4557 + ], + "loc": { + "start": { + "line": 164, + "column": 16 + }, + "end": { + "line": 164, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 4558, + 4564 + ], + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "range": [ + 4555, + 4564 + ], + "loc": { + "start": { + "line": 164, + "column": 16 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4584, + 4586 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 4587, + 4594 + ], + "loc": { + "start": { + "line": 165, + "column": 19 + }, + "end": { + "line": 165, + "column": 26 + } + } + }, + "range": [ + 4584, + 4594 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 4595, + 4603 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 165, + "column": 35 + } + } + } + ], + "range": [ + 4584, + 4604 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "disable", + "range": [ + 4605, + 4612 + ], + "loc": { + "start": { + "line": 165, + "column": 37 + }, + "end": { + "line": 165, + "column": 44 + } + } + }, + "range": [ + 4584, + 4612 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 4584, + 4614 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 46 + } + } + }, + "range": [ + 4584, + 4615 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 47 + } + } + } + ], + "range": [ + 4566, + 4629 + ], + "loc": { + "start": { + "line": 164, + "column": 27 + }, + "end": { + "line": 166, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 4551, + 4629 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 166, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** sort behaviour for paging **", + "range": [ + 4503, + 4538 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 47 + } + } + } + ] + } + ], + "range": [ + 4432, + 4639 + ], + "loc": { + "start": { + "line": 160, + "column": 44 + }, + "end": { + "line": 167, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4420, + 4639 + ], + "loc": { + "start": { + "line": 160, + "column": 32 + }, + "end": { + "line": 167, + "column": 9 + } + } + }, + "range": [ + 4396, + 4639 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 167, + "column": 9 + } + } + }, + "range": [ + 4396, + 4640 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 167, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** SortableTable callbacks **", + "range": [ + 4354, + 4387 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4650, + 4654 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 4655, + 4658 + ], + "loc": { + "start": { + "line": 169, + "column": 13 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + "range": [ + 4650, + 4658 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onsort", + "range": [ + 4659, + 4665 + ], + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 23 + } + } + }, + "range": [ + 4650, + 4665 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 23 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 4694, + 4698 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "sorted", + "range": [ + 4699, + 4705 + ], + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 170, + "column": 23 + } + } + }, + "range": [ + 4694, + 4705 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 4708, + 4712 + ], + "loc": { + "start": { + "line": 170, + "column": 26 + }, + "end": { + "line": 170, + "column": 30 + } + } + }, + "range": [ + 4694, + 4712 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 30 + } + } + }, + "range": [ + 4694, + 4713 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "sort behaviour for paging", + "range": [ + 4727, + 4754 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4771, + 4773 + ], + "loc": { + "start": { + "line": 173, + "column": 16 + }, + "end": { + "line": 173, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 4774, + 4780 + ], + "loc": { + "start": { + "line": 173, + "column": 19 + }, + "end": { + "line": 173, + "column": 25 + } + } + }, + "range": [ + 4771, + 4780 + ], + "loc": { + "start": { + "line": 173, + "column": 16 + }, + "end": { + "line": 173, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "paginator", + "range": [ + 4804, + 4813 + ], + "loc": { + "start": { + "line": 174, + "column": 20 + }, + "end": { + "line": 174, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4816, + 4818 + ], + "loc": { + "start": { + "line": 174, + "column": 32 + }, + "end": { + "line": 174, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 4819, + 4826 + ], + "loc": { + "start": { + "line": 174, + "column": 35 + }, + "end": { + "line": 174, + "column": 42 + } + } + }, + "range": [ + 4816, + 4826 + ], + "loc": { + "start": { + "line": 174, + "column": 32 + }, + "end": { + "line": 174, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 4827, + 4835 + ], + "loc": { + "start": { + "line": 174, + "column": 43 + }, + "end": { + "line": 174, + "column": 51 + } + } + } + ], + "range": [ + 4816, + 4836 + ], + "loc": { + "start": { + "line": 174, + "column": 32 + }, + "end": { + "line": 174, + "column": 52 + } + } + }, + "range": [ + 4804, + 4836 + ], + "loc": { + "start": { + "line": 174, + "column": 20 + }, + "end": { + "line": 174, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 4800, + 4837 + ], + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " recalculate valid rows index as sorting may have change it", + "range": [ + 4854, + 4915 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 77 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4932, + 4934 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 4935, + 4947 + ], + "loc": { + "start": { + "line": 176, + "column": 19 + }, + "end": { + "line": 176, + "column": 31 + } + } + }, + "range": [ + 4932, + 4947 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 4948, + 4952 + ], + "loc": { + "start": { + "line": 176, + "column": 32 + }, + "end": { + "line": 176, + "column": 36 + } + } + } + ], + "range": [ + 4932, + 4953 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 37 + } + } + }, + "range": [ + 4932, + 4954 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " recalculate valid rows index as sorting may have change it", + "range": [ + 4854, + 4915 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 77 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paginator", + "range": [ + 4971, + 4980 + ], + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 4981, + 4987 + ], + "loc": { + "start": { + "line": 177, + "column": 26 + }, + "end": { + "line": 177, + "column": 32 + } + } + }, + "range": [ + 4971, + 4987 + ], + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 4971, + 4989 + ], + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 34 + } + } + }, + "range": [ + 4971, + 4990 + ], + "loc": { + "start": { + "line": 177, + "column": 16 + }, + "end": { + "line": 177, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paginator", + "range": [ + 5007, + 5016 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 5017, + 5024 + ], + "loc": { + "start": { + "line": 178, + "column": 26 + }, + "end": { + "line": 178, + "column": 33 + } + } + }, + "range": [ + 5007, + 5024 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paginator", + "range": [ + 5025, + 5034 + ], + "loc": { + "start": { + "line": 178, + "column": 34 + }, + "end": { + "line": 178, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "getPage", + "range": [ + 5035, + 5042 + ], + "loc": { + "start": { + "line": 178, + "column": 44 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "range": [ + 5025, + 5042 + ], + "loc": { + "start": { + "line": 178, + "column": 34 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 5025, + 5044 + ], + "loc": { + "start": { + "line": 178, + "column": 34 + }, + "end": { + "line": 178, + "column": 53 + } + } + } + ], + "range": [ + 5007, + 5045 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 54 + } + } + }, + "range": [ + 5007, + 5046 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 55 + } + } + } + ], + "range": [ + 4782, + 5060 + ], + "loc": { + "start": { + "line": 173, + "column": 27 + }, + "end": { + "line": 179, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 4767, + 5060 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 179, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "sort behaviour for paging", + "range": [ + 4727, + 4754 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 39 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5074, + 5078 + ], + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterSort", + "range": [ + 5079, + 5090 + ], + "loc": { + "start": { + "line": 181, + "column": 17 + }, + "end": { + "line": 181, + "column": 28 + } + } + }, + "range": [ + 5074, + 5090 + ], + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5091, + 5093 + ], + "loc": { + "start": { + "line": 181, + "column": 29 + }, + "end": { + "line": 181, + "column": 31 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5095, + 5099 + ], + "loc": { + "start": { + "line": 181, + "column": 33 + }, + "end": { + "line": 181, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5100, + 5103 + ], + "loc": { + "start": { + "line": 181, + "column": 38 + }, + "end": { + "line": 181, + "column": 41 + } + } + }, + "range": [ + 5095, + 5103 + ], + "loc": { + "start": { + "line": 181, + "column": 33 + }, + "end": { + "line": 181, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColumn", + "range": [ + 5104, + 5114 + ], + "loc": { + "start": { + "line": 181, + "column": 42 + }, + "end": { + "line": 181, + "column": 52 + } + } + }, + "range": [ + 5095, + 5114 + ], + "loc": { + "start": { + "line": 181, + "column": 33 + }, + "end": { + "line": 181, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5116, + 5120 + ], + "loc": { + "start": { + "line": 181, + "column": 54 + }, + "end": { + "line": 181, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5121, + 5124 + ], + "loc": { + "start": { + "line": 181, + "column": 59 + }, + "end": { + "line": 181, + "column": 62 + } + } + }, + "range": [ + 5116, + 5124 + ], + "loc": { + "start": { + "line": 181, + "column": 54 + }, + "end": { + "line": 181, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "descending", + "range": [ + 5125, + 5135 + ], + "loc": { + "start": { + "line": 181, + "column": 63 + }, + "end": { + "line": 181, + "column": 73 + } + } + }, + "range": [ + 5116, + 5135 + ], + "loc": { + "start": { + "line": 181, + "column": 54 + }, + "end": { + "line": 181, + "column": 73 + } + } + } + ], + "range": [ + 5074, + 5136 + ], + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 74 + } + } + }, + "range": [ + 5074, + 5137 + ], + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5150, + 5154 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5155, + 5162 + ], + "loc": { + "start": { + "line": 182, + "column": 17 + }, + "end": { + "line": 182, + "column": 24 + } + } + }, + "range": [ + 5150, + 5162 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 5163, + 5167 + ], + "loc": { + "start": { + "line": 182, + "column": 25 + }, + "end": { + "line": 182, + "column": 29 + } + } + }, + "range": [ + 5150, + 5167 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "column-sorted", + "raw": "'column-sorted'", + "range": [ + 5168, + 5183 + ], + "loc": { + "start": { + "line": 182, + "column": 30 + }, + "end": { + "line": 182, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 5185, + 5187 + ], + "loc": { + "start": { + "line": 182, + "column": 47 + }, + "end": { + "line": 182, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5189, + 5193 + ], + "loc": { + "start": { + "line": 182, + "column": 51 + }, + "end": { + "line": 182, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5194, + 5197 + ], + "loc": { + "start": { + "line": 182, + "column": 56 + }, + "end": { + "line": 182, + "column": 59 + } + } + }, + "range": [ + 5189, + 5197 + ], + "loc": { + "start": { + "line": 182, + "column": 51 + }, + "end": { + "line": 182, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColumn", + "range": [ + 5198, + 5208 + ], + "loc": { + "start": { + "line": 182, + "column": 60 + }, + "end": { + "line": 182, + "column": 70 + } + } + }, + "range": [ + 5189, + 5208 + ], + "loc": { + "start": { + "line": 182, + "column": 51 + }, + "end": { + "line": 182, + "column": 70 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5226, + 5230 + ], + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5231, + 5234 + ], + "loc": { + "start": { + "line": 183, + "column": 21 + }, + "end": { + "line": 183, + "column": 24 + } + } + }, + "range": [ + 5226, + 5234 + ], + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "descending", + "range": [ + 5235, + 5245 + ], + "loc": { + "start": { + "line": 183, + "column": 25 + }, + "end": { + "line": 183, + "column": 35 + } + } + }, + "range": [ + 5226, + 5245 + ], + "loc": { + "start": { + "line": 183, + "column": 16 + }, + "end": { + "line": 183, + "column": 35 + } + } + } + ], + "range": [ + 5150, + 5246 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 183, + "column": 36 + } + } + }, + "range": [ + 5150, + 5247 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 183, + "column": 37 + } + } + } + ], + "range": [ + 4680, + 5257 + ], + "loc": { + "start": { + "line": 169, + "column": 38 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4668, + 5257 + ], + "loc": { + "start": { + "line": 169, + "column": 26 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + "range": [ + 4650, + 5257 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + "range": [ + 4650, + 5258 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 184, + "column": 10 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Column sort at start", + "range": [ + 5268, + 5291 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 5304, + 5318 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 5321, + 5325 + ], + "loc": { + "start": { + "line": 187, + "column": 29 + }, + "end": { + "line": 187, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 5326, + 5340 + ], + "loc": { + "start": { + "line": 187, + "column": 34 + }, + "end": { + "line": 187, + "column": 48 + } + } + }, + "range": [ + 5321, + 5340 + ], + "loc": { + "start": { + "line": 187, + "column": 29 + }, + "end": { + "line": 187, + "column": 48 + } + } + }, + "range": [ + 5304, + 5340 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 5300, + 5341 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Column sort at start", + "range": [ + 5268, + 5291 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 31 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 5354, + 5368 + ], + "loc": { + "start": { + "line": 188, + "column": 12 + }, + "end": { + "line": 188, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5384, + 5388 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5389, + 5392 + ], + "loc": { + "start": { + "line": 189, + "column": 17 + }, + "end": { + "line": 189, + "column": 20 + } + } + }, + "range": [ + 5384, + 5392 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 5393, + 5397 + ], + "loc": { + "start": { + "line": 189, + "column": 21 + }, + "end": { + "line": 189, + "column": 25 + } + } + }, + "range": [ + 5384, + 5397 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 5398, + 5412 + ], + "loc": { + "start": { + "line": 189, + "column": 26 + }, + "end": { + "line": 189, + "column": 40 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5413, + 5414 + ], + "loc": { + "start": { + "line": 189, + "column": 41 + }, + "end": { + "line": 189, + "column": 42 + } + } + }, + "range": [ + 5398, + 5415 + ], + "loc": { + "start": { + "line": 189, + "column": 26 + }, + "end": { + "line": 189, + "column": 43 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "sortColAtStart", + "range": [ + 5417, + 5431 + ], + "loc": { + "start": { + "line": 189, + "column": 45 + }, + "end": { + "line": 189, + "column": 59 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5432, + 5433 + ], + "loc": { + "start": { + "line": 189, + "column": 60 + }, + "end": { + "line": 189, + "column": 61 + } + } + }, + "range": [ + 5417, + 5434 + ], + "loc": { + "start": { + "line": 189, + "column": 45 + }, + "end": { + "line": 189, + "column": 62 + } + } + } + ], + "range": [ + 5384, + 5435 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 63 + } + } + }, + "range": [ + 5384, + 5436 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 64 + } + } + } + ], + "range": [ + 5370, + 5446 + ], + "loc": { + "start": { + "line": 188, + "column": 28 + }, + "end": { + "line": 190, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5350, + 5446 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 190, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5456, + 5460 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5461, + 5468 + ], + "loc": { + "start": { + "line": 192, + "column": 13 + }, + "end": { + "line": 192, + "column": 20 + } + } + }, + "range": [ + 5456, + 5468 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5469, + 5471 + ], + "loc": { + "start": { + "line": 192, + "column": 21 + }, + "end": { + "line": 192, + "column": 23 + } + } + }, + "range": [ + 5456, + 5471 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "sort", + "raw": "'sort'", + "range": [ + 5473, + 5479 + ], + "loc": { + "start": { + "line": 192, + "column": 25 + }, + "end": { + "line": 192, + "column": 31 + } + } + } + ], + "range": [ + 5472, + 5480 + ], + "loc": { + "start": { + "line": 192, + "column": 24 + }, + "end": { + "line": 192, + "column": 32 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5495, + 5497 + ], + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 193, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 5499, + 5505 + ], + "loc": { + "start": { + "line": 193, + "column": 17 + }, + "end": { + "line": 193, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 5507, + 5511 + ], + "loc": { + "start": { + "line": 193, + "column": 25 + }, + "end": { + "line": 193, + "column": 29 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5516, + 5520 + ], + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortByColumnIndex", + "range": [ + 5521, + 5538 + ], + "loc": { + "start": { + "line": 193, + "column": 39 + }, + "end": { + "line": 193, + "column": 56 + } + } + }, + "range": [ + 5516, + 5538 + ], + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 5539, + 5545 + ], + "loc": { + "start": { + "line": 193, + "column": 57 + }, + "end": { + "line": 193, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 5547, + 5551 + ], + "loc": { + "start": { + "line": 193, + "column": 65 + }, + "end": { + "line": 193, + "column": 69 + } + } + } + ], + "range": [ + 5516, + 5552 + ], + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5494, + 5552 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 70 + } + } + } + ], + "range": [ + 5456, + 5553 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 193, + "column": 71 + } + } + }, + "range": [ + 5456, + 5554 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 193, + "column": 72 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5564, + 5581 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5590, + 5594 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5595, + 5606 + ], + "loc": { + "start": { + "line": 196, + "column": 13 + }, + "end": { + "line": 196, + "column": 24 + } + } + }, + "range": [ + 5590, + 5606 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5609, + 5613 + ], + "loc": { + "start": { + "line": 196, + "column": 27 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + "range": [ + 5590, + 5613 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + "range": [ + 5590, + 5614 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5564, + 5581 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5624, + 5628 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5629, + 5636 + ], + "loc": { + "start": { + "line": 198, + "column": 13 + }, + "end": { + "line": 198, + "column": 20 + } + } + }, + "range": [ + 5624, + 5636 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 5637, + 5641 + ], + "loc": { + "start": { + "line": 198, + "column": 21 + }, + "end": { + "line": 198, + "column": 25 + } + } + }, + "range": [ + 5624, + 5641 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "sort-initialized", + "raw": "'sort-initialized'", + "range": [ + 5642, + 5660 + ], + "loc": { + "start": { + "line": 198, + "column": 26 + }, + "end": { + "line": 198, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 5662, + 5664 + ], + "loc": { + "start": { + "line": 198, + "column": 46 + }, + "end": { + "line": 198, + "column": 48 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 5666, + 5670 + ], + "loc": { + "start": { + "line": 198, + "column": 50 + }, + "end": { + "line": 198, + "column": 54 + } + } + } + ], + "range": [ + 5624, + 5671 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 55 + } + } + }, + "range": [ + 5624, + 5672 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 56 + } + } + } + ], + "range": [ + 3830, + 5678 + ], + "loc": { + "start": { + "line": 139, + "column": 11 + }, + "end": { + "line": 199, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3827, + 5678 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 199, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3823, + 5678 + ], + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 199, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes AdapterSortableTable instance\n ", + "range": [ + 3758, + 3818 + ], + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 138, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n ", + "range": [ + 5684, + 5824 + ], + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 205, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sortByColumnIndex", + "range": [ + 5829, + 5846 + ], + "loc": { + "start": { + "line": 206, + "column": 4 + }, + "end": { + "line": 206, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 5847, + 5853 + ], + "loc": { + "start": { + "line": 206, + "column": 22 + }, + "end": { + "line": 206, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 5855, + 5859 + ], + "loc": { + "start": { + "line": 206, + "column": 30 + }, + "end": { + "line": 206, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5871, + 5875 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 5876, + 5879 + ], + "loc": { + "start": { + "line": 207, + "column": 13 + }, + "end": { + "line": 207, + "column": 16 + } + } + }, + "range": [ + 5871, + 5879 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 5880, + 5884 + ], + "loc": { + "start": { + "line": 207, + "column": 17 + }, + "end": { + "line": 207, + "column": 21 + } + } + }, + "range": [ + 5871, + 5884 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 5885, + 5891 + ], + "loc": { + "start": { + "line": 207, + "column": 22 + }, + "end": { + "line": 207, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 5893, + 5897 + ], + "loc": { + "start": { + "line": 207, + "column": 30 + }, + "end": { + "line": 207, + "column": 34 + } + } + } + ], + "range": [ + 5871, + 5898 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 35 + } + } + }, + "range": [ + 5871, + 5899 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 36 + } + } + } + ], + "range": [ + 5861, + 5905 + ], + "loc": { + "start": { + "line": 206, + "column": 36 + }, + "end": { + "line": 208, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5846, + 5905 + ], + "loc": { + "start": { + "line": 206, + "column": 21 + }, + "end": { + "line": 208, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5829, + 5905 + ], + "loc": { + "start": { + "line": 206, + "column": 4 + }, + "end": { + "line": 208, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n ", + "range": [ + 5684, + 5824 + ], + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 205, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Set SortableTable overrides for TableFilter integration\n ", + "range": [ + 5911, + 5985 + ], + "loc": { + "start": { + "line": 210, + "column": 4 + }, + "end": { + "line": 212, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "overrideSortableTable", + "range": [ + 5990, + 6011 + ], + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 213, + "column": 25 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "adpt", + "range": [ + 6028, + 6032 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 16 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 6035, + 6039 + ], + "loc": { + "start": { + "line": 214, + "column": 19 + }, + "end": { + "line": 214, + "column": 23 + } + } + }, + "range": [ + 6028, + 6039 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 23 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 6053, + 6055 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6058, + 6062 + ], + "loc": { + "start": { + "line": 215, + "column": 17 + }, + "end": { + "line": 215, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 6063, + 6065 + ], + "loc": { + "start": { + "line": 215, + "column": 22 + }, + "end": { + "line": 215, + "column": 24 + } + } + }, + "range": [ + 6058, + 6065 + ], + "loc": { + "start": { + "line": 215, + "column": 17 + }, + "end": { + "line": 215, + "column": 24 + } + } + }, + "range": [ + 6053, + 6065 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 6024, + 6066 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 215, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n ", + "range": [ + 6076, + 6205 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 6214, + 6227 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 6228, + 6237 + ], + "loc": { + "start": { + "line": 221, + "column": 22 + }, + "end": { + "line": 221, + "column": 31 + } + } + }, + "range": [ + 6214, + 6237 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerOnclick", + "range": [ + 6238, + 6251 + ], + "loc": { + "start": { + "line": 221, + "column": 32 + }, + "end": { + "line": 221, + "column": 45 + } + } + }, + "range": [ + 6214, + 6251 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 45 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 6264, + 6267 + ], + "loc": { + "start": { + "line": 221, + "column": 58 + }, + "end": { + "line": 221, + "column": 61 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 6288, + 6292 + ], + "loc": { + "start": { + "line": 222, + "column": 17 + }, + "end": { + "line": 222, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 6293, + 6304 + ], + "loc": { + "start": { + "line": 222, + "column": 22 + }, + "end": { + "line": 222, + "column": 33 + } + } + }, + "range": [ + 6288, + 6304 + ], + "loc": { + "start": { + "line": 222, + "column": 17 + }, + "end": { + "line": 222, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 6287, + 6304 + ], + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 6324, + 6331 + ], + "loc": { + "start": { + "line": 223, + "column": 16 + }, + "end": { + "line": 223, + "column": 23 + } + } + } + ], + "range": [ + 6306, + 6345 + ], + "loc": { + "start": { + "line": 222, + "column": 35 + }, + "end": { + "line": 224, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 6283, + 6345 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 224, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " find Header element", + "range": [ + 6359, + 6381 + ], + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 34 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "el", + "range": [ + 6398, + 6400 + ], + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 18 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 6403, + 6406 + ], + "loc": { + "start": { + "line": 227, + "column": 21 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "target", + "range": [ + 6407, + 6413 + ], + "loc": { + "start": { + "line": 227, + "column": 25 + }, + "end": { + "line": 227, + "column": 31 + } + } + }, + "range": [ + 6403, + 6413 + ], + "loc": { + "start": { + "line": 227, + "column": 21 + }, + "end": { + "line": 227, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 6417, + 6420 + ], + "loc": { + "start": { + "line": 227, + "column": 35 + }, + "end": { + "line": 227, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "srcElement", + "range": [ + 6421, + 6431 + ], + "loc": { + "start": { + "line": 227, + "column": 39 + }, + "end": { + "line": 227, + "column": 49 + } + } + }, + "range": [ + 6417, + 6431 + ], + "loc": { + "start": { + "line": 227, + "column": 35 + }, + "end": { + "line": 227, + "column": 49 + } + } + }, + "range": [ + 6403, + 6431 + ], + "loc": { + "start": { + "line": 227, + "column": 21 + }, + "end": { + "line": 227, + "column": 49 + } + } + }, + "range": [ + 6398, + 6431 + ], + "loc": { + "start": { + "line": 227, + "column": 16 + }, + "end": { + "line": 227, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 6394, + 6432 + ], + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " find Header element", + "range": [ + 6359, + 6381 + ], + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 34 + } + } + } + ] + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "el", + "range": [ + 6453, + 6455 + ], + "loc": { + "start": { + "line": 229, + "column": 19 + }, + "end": { + "line": 229, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tagName", + "range": [ + 6456, + 6463 + ], + "loc": { + "start": { + "line": 229, + "column": 22 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + "range": [ + 6453, + 6463 + ], + "loc": { + "start": { + "line": 229, + "column": 19 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 6468, + 6476 + ], + "loc": { + "start": { + "line": 229, + "column": 34 + }, + "end": { + "line": 229, + "column": 42 + } + } + }, + "range": [ + 6453, + 6476 + ], + "loc": { + "start": { + "line": 229, + "column": 19 + }, + "end": { + "line": 229, + "column": 42 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "el", + "range": [ + 6480, + 6482 + ], + "loc": { + "start": { + "line": 229, + "column": 46 + }, + "end": { + "line": 229, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "tagName", + "range": [ + 6483, + 6490 + ], + "loc": { + "start": { + "line": 229, + "column": 49 + }, + "end": { + "line": 229, + "column": 56 + } + } + }, + "range": [ + 6480, + 6490 + ], + "loc": { + "start": { + "line": 229, + "column": 46 + }, + "end": { + "line": 229, + "column": 56 + } + } + }, + "right": { + "type": "Identifier", + "name": "HEADER_TAG", + "range": [ + 6495, + 6505 + ], + "loc": { + "start": { + "line": 229, + "column": 61 + }, + "end": { + "line": 229, + "column": 71 + } + } + }, + "range": [ + 6480, + 6505 + ], + "loc": { + "start": { + "line": 229, + "column": 46 + }, + "end": { + "line": 229, + "column": 71 + } + } + }, + "range": [ + 6453, + 6505 + ], + "loc": { + "start": { + "line": 229, + "column": 19 + }, + "end": { + "line": 229, + "column": 71 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "el", + "range": [ + 6525, + 6527 + ], + "loc": { + "start": { + "line": 230, + "column": 16 + }, + "end": { + "line": 230, + "column": 18 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "el", + "range": [ + 6530, + 6532 + ], + "loc": { + "start": { + "line": 230, + "column": 21 + }, + "end": { + "line": 230, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 6533, + 6543 + ], + "loc": { + "start": { + "line": 230, + "column": 24 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 6530, + 6543 + ], + "loc": { + "start": { + "line": 230, + "column": 21 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 6525, + 6543 + ], + "loc": { + "start": { + "line": 230, + "column": 16 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 6525, + 6544 + ], + "loc": { + "start": { + "line": 230, + "column": 16 + }, + "end": { + "line": 230, + "column": 35 + } + } + } + ], + "range": [ + 6507, + 6558 + ], + "loc": { + "start": { + "line": 229, + "column": 73 + }, + "end": { + "line": 231, + "column": 13 + } + } + }, + "range": [ + 6446, + 6558 + ], + "loc": { + "start": { + "line": 229, + "column": 12 + }, + "end": { + "line": 231, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6572, + 6576 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 6577, + 6581 + ], + "loc": { + "start": { + "line": 233, + "column": 17 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "range": [ + 6572, + 6581 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 6599, + 6612 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 234, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "msie", + "range": [ + 6613, + 6617 + ], + "loc": { + "start": { + "line": 234, + "column": 30 + }, + "end": { + "line": 234, + "column": 34 + } + } + }, + "range": [ + 6599, + 6617 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 234, + "column": 34 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 6640, + 6653 + ], + "loc": { + "start": { + "line": 235, + "column": 20 + }, + "end": { + "line": 235, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellIndex", + "range": [ + 6654, + 6666 + ], + "loc": { + "start": { + "line": 235, + "column": 34 + }, + "end": { + "line": 235, + "column": 46 + } + } + }, + "range": [ + 6640, + 6666 + ], + "loc": { + "start": { + "line": 235, + "column": 20 + }, + "end": { + "line": 235, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "el", + "range": [ + 6667, + 6669 + ], + "loc": { + "start": { + "line": 235, + "column": 47 + }, + "end": { + "line": 235, + "column": 49 + } + } + } + ], + "range": [ + 6640, + 6670 + ], + "loc": { + "start": { + "line": 235, + "column": 20 + }, + "end": { + "line": 235, + "column": 50 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "el", + "range": [ + 6673, + 6675 + ], + "loc": { + "start": { + "line": 235, + "column": 53 + }, + "end": { + "line": 235, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 6676, + 6685 + ], + "loc": { + "start": { + "line": 235, + "column": 56 + }, + "end": { + "line": 235, + "column": 65 + } + } + }, + "range": [ + 6673, + 6685 + ], + "loc": { + "start": { + "line": 235, + "column": 53 + }, + "end": { + "line": 235, + "column": 65 + } + } + }, + "range": [ + 6599, + 6685 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 235, + "column": 65 + } + } + } + ], + "range": [ + 6572, + 6699 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 236, + "column": 13 + } + } + }, + "range": [ + 6572, + 6700 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 236, + "column": 14 + } + } + } + ], + "range": [ + 6269, + 6710 + ], + "loc": { + "start": { + "line": 221, + "column": 63 + }, + "end": { + "line": 237, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6254, + 6710 + ], + "loc": { + "start": { + "line": 221, + "column": 48 + }, + "end": { + "line": 237, + "column": 9 + } + } + }, + "range": [ + 6214, + 6710 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 237, + "column": 9 + } + } + }, + "range": [ + 6214, + 6711 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 237, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n ", + "range": [ + 6076, + 6205 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n ", + "range": [ + 6721, + 6918 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 6927, + 6940 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellIndex", + "range": [ + 6941, + 6953 + ], + "loc": { + "start": { + "line": 245, + "column": 22 + }, + "end": { + "line": 245, + "column": 34 + } + } + }, + "range": [ + 6927, + 6953 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 34 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "oTd", + "range": [ + 6966, + 6969 + ], + "loc": { + "start": { + "line": 245, + "column": 47 + }, + "end": { + "line": 245, + "column": 50 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 6989, + 6994 + ], + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "oTd", + "range": [ + 6997, + 7000 + ], + "loc": { + "start": { + "line": 246, + "column": 24 + }, + "end": { + "line": 246, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 7001, + 7011 + ], + "loc": { + "start": { + "line": 246, + "column": 28 + }, + "end": { + "line": 246, + "column": 38 + } + } + }, + "range": [ + 6997, + 7011 + ], + "loc": { + "start": { + "line": 246, + "column": 24 + }, + "end": { + "line": 246, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 7012, + 7017 + ], + "loc": { + "start": { + "line": 246, + "column": 39 + }, + "end": { + "line": 246, + "column": 44 + } + } + }, + "range": [ + 6997, + 7017 + ], + "loc": { + "start": { + "line": 246, + "column": 24 + }, + "end": { + "line": 246, + "column": 44 + } + } + }, + "range": [ + 6989, + 7017 + ], + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 44 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "l", + "range": [ + 7035, + 7036 + ], + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7039, + 7044 + ], + "loc": { + "start": { + "line": 247, + "column": 20 + }, + "end": { + "line": 247, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 7045, + 7051 + ], + "loc": { + "start": { + "line": 247, + "column": 26 + }, + "end": { + "line": 247, + "column": 32 + } + } + }, + "range": [ + 7039, + 7051 + ], + "loc": { + "start": { + "line": 247, + "column": 20 + }, + "end": { + "line": 247, + "column": 32 + } + } + }, + "range": [ + 7035, + 7051 + ], + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 32 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 7053, + 7054 + ], + "loc": { + "start": { + "line": 247, + "column": 34 + }, + "end": { + "line": 247, + "column": 35 + } + } + }, + "init": null, + "range": [ + 7053, + 7054 + ], + "loc": { + "start": { + "line": 247, + "column": 34 + }, + "end": { + "line": 247, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 6985, + 7055 + ], + "loc": { + "start": { + "line": 246, + "column": 12 + }, + "end": { + "line": 247, + "column": 36 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 7073, + 7074 + ], + "loc": { + "start": { + "line": 248, + "column": 17 + }, + "end": { + "line": 248, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7077, + 7078 + ], + "loc": { + "start": { + "line": 248, + "column": 21 + }, + "end": { + "line": 248, + "column": 22 + } + } + }, + "range": [ + 7073, + 7078 + ], + "loc": { + "start": { + "line": 248, + "column": 17 + }, + "end": { + "line": 248, + "column": 22 + } + } + }, + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7080, + 7085 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7086, + 7087 + ], + "loc": { + "start": { + "line": 248, + "column": 30 + }, + "end": { + "line": 248, + "column": 31 + } + } + }, + "range": [ + 7080, + 7088 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "oTd", + "range": [ + 7093, + 7096 + ], + "loc": { + "start": { + "line": 248, + "column": 37 + }, + "end": { + "line": 248, + "column": 40 + } + } + }, + "range": [ + 7080, + 7096 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 40 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 7100, + 7101 + ], + "loc": { + "start": { + "line": 248, + "column": 44 + }, + "end": { + "line": 248, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "l", + "range": [ + 7104, + 7105 + ], + "loc": { + "start": { + "line": 248, + "column": 48 + }, + "end": { + "line": 248, + "column": 49 + } + } + }, + "range": [ + 7100, + 7105 + ], + "loc": { + "start": { + "line": 248, + "column": 44 + }, + "end": { + "line": 248, + "column": 49 + } + } + }, + "range": [ + 7080, + 7105 + ], + "loc": { + "start": { + "line": 248, + "column": 24 + }, + "end": { + "line": 248, + "column": 49 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 7107, + 7108 + ], + "loc": { + "start": { + "line": 248, + "column": 51 + }, + "end": { + "line": 248, + "column": 52 + } + } + }, + "prefix": false, + "range": [ + 7107, + 7110 + ], + "loc": { + "start": { + "line": 248, + "column": 51 + }, + "end": { + "line": 248, + "column": 54 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [], + "range": [ + 7112, + 7115 + ], + "loc": { + "start": { + "line": 248, + "column": 56 + }, + "end": { + "line": 248, + "column": 59 + } + } + }, + "range": [ + 7068, + 7115 + ], + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 59 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 7135, + 7136 + ], + "loc": { + "start": { + "line": 249, + "column": 19 + }, + "end": { + "line": 249, + "column": 20 + } + } + }, + "range": [ + 7128, + 7137 + ], + "loc": { + "start": { + "line": 249, + "column": 12 + }, + "end": { + "line": 249, + "column": 21 + } + } + } + ], + "range": [ + 6971, + 7147 + ], + "loc": { + "start": { + "line": 245, + "column": 52 + }, + "end": { + "line": 250, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6956, + 7147 + ], + "loc": { + "start": { + "line": 245, + "column": 37 + }, + "end": { + "line": 250, + "column": 9 + } + } + }, + "range": [ + 6927, + 7147 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 250, + "column": 9 + } + } + }, + "range": [ + 6927, + 7148 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 250, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n ", + "range": [ + 6721, + 6918 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n ", + "range": [ + 7158, + 7283 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 255, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 7292, + 7305 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 7306, + 7315 + ], + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + "range": [ + 7292, + 7315 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "initHeader", + "range": [ + 7316, + 7326 + ], + "loc": { + "start": { + "line": 256, + "column": 32 + }, + "end": { + "line": 256, + "column": 42 + } + } + }, + "range": [ + 7292, + 7326 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 256, + "column": 42 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "oSortTypes", + "range": [ + 7339, + 7349 + ], + "loc": { + "start": { + "line": 256, + "column": 55 + }, + "end": { + "line": 256, + "column": 65 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "stt", + "range": [ + 7369, + 7372 + ], + "loc": { + "start": { + "line": 257, + "column": 16 + }, + "end": { + "line": 257, + "column": 19 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 7375, + 7379 + ], + "loc": { + "start": { + "line": 257, + "column": 22 + }, + "end": { + "line": 257, + "column": 26 + } + } + }, + "range": [ + 7369, + 7379 + ], + "loc": { + "start": { + "line": 257, + "column": 16 + }, + "end": { + "line": 257, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 7365, + 7380 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7398, + 7401 + ], + "loc": { + "start": { + "line": 258, + "column": 17 + }, + "end": { + "line": 258, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 7402, + 7407 + ], + "loc": { + "start": { + "line": 258, + "column": 21 + }, + "end": { + "line": 258, + "column": 26 + } + } + }, + "range": [ + 7398, + 7407 + ], + "loc": { + "start": { + "line": 258, + "column": 17 + }, + "end": { + "line": 258, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 7397, + 7407 + ], + "loc": { + "start": { + "line": 258, + "column": 16 + }, + "end": { + "line": 258, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7431, + 7433 + ], + "loc": { + "start": { + "line": 259, + "column": 20 + }, + "end": { + "line": 259, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 7434, + 7444 + ], + "loc": { + "start": { + "line": 259, + "column": 23 + }, + "end": { + "line": 259, + "column": 33 + } + } + }, + "range": [ + 7431, + 7444 + ], + "loc": { + "start": { + "line": 259, + "column": 20 + }, + "end": { + "line": 259, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7468, + 7471 + ], + "loc": { + "start": { + "line": 260, + "column": 20 + }, + "end": { + "line": 260, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 7472, + 7477 + ], + "loc": { + "start": { + "line": 260, + "column": 24 + }, + "end": { + "line": 260, + "column": 29 + } + } + }, + "range": [ + 7468, + 7477 + ], + "loc": { + "start": { + "line": 260, + "column": 20 + }, + "end": { + "line": 260, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7480, + 7482 + ], + "loc": { + "start": { + "line": 260, + "column": 32 + }, + "end": { + "line": 260, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 7483, + 7490 + ], + "loc": { + "start": { + "line": 260, + "column": 35 + }, + "end": { + "line": 260, + "column": 42 + } + } + }, + "range": [ + 7480, + 7490 + ], + "loc": { + "start": { + "line": 260, + "column": 32 + }, + "end": { + "line": 260, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "gridLayout", + "raw": "'gridLayout'", + "range": [ + 7491, + 7503 + ], + "loc": { + "start": { + "line": 260, + "column": 43 + }, + "end": { + "line": 260, + "column": 55 + } + } + } + ], + "range": [ + 7480, + 7504 + ], + "loc": { + "start": { + "line": 260, + "column": 32 + }, + "end": { + "line": 260, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 7505, + 7512 + ], + "loc": { + "start": { + "line": 260, + "column": 57 + }, + "end": { + "line": 260, + "column": 64 + } + } + }, + "range": [ + 7480, + 7512 + ], + "loc": { + "start": { + "line": 260, + "column": 32 + }, + "end": { + "line": 260, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 7513, + 7518 + ], + "loc": { + "start": { + "line": 260, + "column": 65 + }, + "end": { + "line": 260, + "column": 70 + } + } + }, + "range": [ + 7480, + 7518 + ], + "loc": { + "start": { + "line": 260, + "column": 32 + }, + "end": { + "line": 260, + "column": 70 + } + } + }, + "range": [ + 7468, + 7518 + ], + "loc": { + "start": { + "line": 260, + "column": 20 + }, + "end": { + "line": 260, + "column": 70 + } + } + }, + "range": [ + 7468, + 7519 + ], + "loc": { + "start": { + "line": 260, + "column": 20 + }, + "end": { + "line": 260, + "column": 71 + } + } + } + ], + "range": [ + 7446, + 7537 + ], + "loc": { + "start": { + "line": 259, + "column": 35 + }, + "end": { + "line": 261, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 7565, + 7572 + ], + "loc": { + "start": { + "line": 262, + "column": 20 + }, + "end": { + "line": 262, + "column": 27 + } + } + } + ], + "range": [ + 7543, + 7590 + ], + "loc": { + "start": { + "line": 261, + "column": 23 + }, + "end": { + "line": 263, + "column": 17 + } + } + }, + "range": [ + 7427, + 7590 + ], + "loc": { + "start": { + "line": 259, + "column": 16 + }, + "end": { + "line": 263, + "column": 17 + } + } + } + ], + "range": [ + 7409, + 7604 + ], + "loc": { + "start": { + "line": 258, + "column": 28 + }, + "end": { + "line": 264, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7393, + 7604 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 264, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7618, + 7621 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 7622, + 7632 + ], + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 26 + } + } + }, + "range": [ + 7618, + 7632 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7635, + 7637 + ], + "loc": { + "start": { + "line": 266, + "column": 29 + }, + "end": { + "line": 266, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 7638, + 7648 + ], + "loc": { + "start": { + "line": 266, + "column": 32 + }, + "end": { + "line": 266, + "column": 42 + } + } + }, + "range": [ + 7635, + 7648 + ], + "loc": { + "start": { + "line": 266, + "column": 29 + }, + "end": { + "line": 266, + "column": 42 + } + } + }, + "range": [ + 7618, + 7648 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 42 + } + } + }, + "range": [ + 7618, + 7649 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 43 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 7666, + 7671 + ], + "loc": { + "start": { + "line": 267, + "column": 16 + }, + "end": { + "line": 267, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7674, + 7677 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 7678, + 7683 + ], + "loc": { + "start": { + "line": 267, + "column": 28 + }, + "end": { + "line": 267, + "column": 33 + } + } + }, + "range": [ + 7674, + 7683 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 7684, + 7688 + ], + "loc": { + "start": { + "line": 267, + "column": 34 + }, + "end": { + "line": 267, + "column": 38 + } + } + }, + "range": [ + 7674, + 7688 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 38 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7689, + 7692 + ], + "loc": { + "start": { + "line": 267, + "column": 39 + }, + "end": { + "line": 267, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 7693, + 7703 + ], + "loc": { + "start": { + "line": 267, + "column": 43 + }, + "end": { + "line": 267, + "column": 53 + } + } + }, + "range": [ + 7689, + 7703 + ], + "loc": { + "start": { + "line": 267, + "column": 39 + }, + "end": { + "line": 267, + "column": 53 + } + } + }, + "range": [ + 7674, + 7704 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 7705, + 7710 + ], + "loc": { + "start": { + "line": 267, + "column": 55 + }, + "end": { + "line": 267, + "column": 60 + } + } + }, + "range": [ + 7674, + 7710 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 60 + } + } + }, + "range": [ + 7666, + 7710 + ], + "loc": { + "start": { + "line": 267, + "column": 16 + }, + "end": { + "line": 267, + "column": 60 + } + } + } + ], + "kind": "let", + "range": [ + 7662, + 7711 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7724, + 7727 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 7728, + 7737 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 25 + } + } + }, + "range": [ + 7724, + 7737 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "oSortTypes", + "range": [ + 7740, + 7750 + ], + "loc": { + "start": { + "line": 268, + "column": 28 + }, + "end": { + "line": 268, + "column": 38 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 7754, + 7756 + ], + "loc": { + "start": { + "line": 268, + "column": 42 + }, + "end": { + "line": 268, + "column": 44 + } + } + }, + "range": [ + 7740, + 7756 + ], + "loc": { + "start": { + "line": 268, + "column": 28 + }, + "end": { + "line": 268, + "column": 44 + } + } + }, + "range": [ + 7724, + 7756 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 44 + } + } + }, + "range": [ + 7724, + 7757 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "l", + "range": [ + 7774, + 7775 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7778, + 7783 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 7784, + 7790 + ], + "loc": { + "start": { + "line": 269, + "column": 26 + }, + "end": { + "line": 269, + "column": 32 + } + } + }, + "range": [ + 7778, + 7790 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 32 + } + } + }, + "range": [ + 7774, + 7790 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 7770, + 7791 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "img", + "range": [ + 7808, + 7811 + ], + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 19 + } + } + }, + "init": null, + "range": [ + 7808, + 7811 + ], + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 19 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "c", + "range": [ + 7813, + 7814 + ], + "loc": { + "start": { + "line": 270, + "column": 21 + }, + "end": { + "line": 270, + "column": 22 + } + } + }, + "init": null, + "range": [ + 7813, + 7814 + ], + "loc": { + "start": { + "line": 270, + "column": 21 + }, + "end": { + "line": 270, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 7804, + 7815 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 23 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 7838, + 7839 + ], + "loc": { + "start": { + "line": 272, + "column": 21 + }, + "end": { + "line": 272, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7842, + 7843 + ], + "loc": { + "start": { + "line": 272, + "column": 25 + }, + "end": { + "line": 272, + "column": 26 + } + } + }, + "range": [ + 7838, + 7843 + ], + "loc": { + "start": { + "line": 272, + "column": 21 + }, + "end": { + "line": 272, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 7834, + 7843 + ], + "loc": { + "start": { + "line": 272, + "column": 17 + }, + "end": { + "line": 272, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 7845, + 7846 + ], + "loc": { + "start": { + "line": 272, + "column": 28 + }, + "end": { + "line": 272, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "l", + "range": [ + 7849, + 7850 + ], + "loc": { + "start": { + "line": 272, + "column": 32 + }, + "end": { + "line": 272, + "column": 33 + } + } + }, + "range": [ + 7845, + 7850 + ], + "loc": { + "start": { + "line": 272, + "column": 28 + }, + "end": { + "line": 272, + "column": 33 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 7852, + 7853 + ], + "loc": { + "start": { + "line": 272, + "column": 35 + }, + "end": { + "line": 272, + "column": 36 + } + } + }, + "prefix": false, + "range": [ + 7852, + 7855 + ], + "loc": { + "start": { + "line": 272, + "column": 35 + }, + "end": { + "line": 272, + "column": 38 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "c", + "range": [ + 7875, + 7876 + ], + "loc": { + "start": { + "line": 273, + "column": 16 + }, + "end": { + "line": 273, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7879, + 7884 + ], + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 273, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7885, + 7886 + ], + "loc": { + "start": { + "line": 273, + "column": 26 + }, + "end": { + "line": 273, + "column": 27 + } + } + }, + "range": [ + 7879, + 7887 + ], + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 273, + "column": 28 + } + } + }, + "range": [ + 7875, + 7887 + ], + "loc": { + "start": { + "line": 273, + "column": 16 + }, + "end": { + "line": 273, + "column": 28 + } + } + }, + "range": [ + 7875, + 7888 + ], + "loc": { + "start": { + "line": 273, + "column": 16 + }, + "end": { + "line": 273, + "column": 29 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7909, + 7912 + ], + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 7913, + 7922 + ], + "loc": { + "start": { + "line": 274, + "column": 24 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "range": [ + 7909, + 7922 + ], + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7923, + 7924 + ], + "loc": { + "start": { + "line": 274, + "column": 34 + }, + "end": { + "line": 274, + "column": 35 + } + } + }, + "range": [ + 7909, + 7925 + ], + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7930, + 7934 + ], + "loc": { + "start": { + "line": 274, + "column": 41 + }, + "end": { + "line": 274, + "column": 45 + } + } + }, + "range": [ + 7909, + 7934 + ], + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 45 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 7938, + 7941 + ], + "loc": { + "start": { + "line": 274, + "column": 49 + }, + "end": { + "line": 274, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 7942, + 7951 + ], + "loc": { + "start": { + "line": 274, + "column": 53 + }, + "end": { + "line": 274, + "column": 62 + } + } + }, + "range": [ + 7938, + 7951 + ], + "loc": { + "start": { + "line": 274, + "column": 49 + }, + "end": { + "line": 274, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7952, + 7953 + ], + "loc": { + "start": { + "line": 274, + "column": 63 + }, + "end": { + "line": 274, + "column": 64 + } + } + }, + "range": [ + 7938, + 7954 + ], + "loc": { + "start": { + "line": 274, + "column": 49 + }, + "end": { + "line": 274, + "column": 65 + } + } + }, + "right": { + "type": "Literal", + "value": "None", + "raw": "'None'", + "range": [ + 7959, + 7965 + ], + "loc": { + "start": { + "line": 274, + "column": 70 + }, + "end": { + "line": 274, + "column": 76 + } + } + }, + "range": [ + 7938, + 7965 + ], + "loc": { + "start": { + "line": 274, + "column": 49 + }, + "end": { + "line": 274, + "column": 76 + } + } + }, + "range": [ + 7909, + 7965 + ], + "loc": { + "start": { + "line": 274, + "column": 20 + }, + "end": { + "line": 274, + "column": 76 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 7989, + 7990 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 7991, + 7996 + ], + "loc": { + "start": { + "line": 275, + "column": 22 + }, + "end": { + "line": 275, + "column": 27 + } + } + }, + "range": [ + 7989, + 7996 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "cursor", + "range": [ + 7997, + 8003 + ], + "loc": { + "start": { + "line": 275, + "column": 28 + }, + "end": { + "line": 275, + "column": 34 + } + } + }, + "range": [ + 7989, + 8003 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": "pointer", + "raw": "'pointer'", + "range": [ + 8006, + 8015 + ], + "loc": { + "start": { + "line": 275, + "column": 37 + }, + "end": { + "line": 275, + "column": 46 + } + } + }, + "range": [ + 7989, + 8015 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 46 + } + } + }, + "range": [ + 7989, + 8016 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "img", + "range": [ + 8037, + 8040 + ], + "loc": { + "start": { + "line": 276, + "column": 20 + }, + "end": { + "line": 276, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 8043, + 8052 + ], + "loc": { + "start": { + "line": 276, + "column": 26 + }, + "end": { + "line": 276, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "img", + "raw": "'img'", + "range": [ + 8053, + 8058 + ], + "loc": { + "start": { + "line": 276, + "column": 36 + }, + "end": { + "line": 276, + "column": 41 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "src", + "raw": "'src'", + "range": [ + 8085, + 8090 + ], + "loc": { + "start": { + "line": 277, + "column": 25 + }, + "end": { + "line": 277, + "column": 30 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 8092, + 8096 + ], + "loc": { + "start": { + "line": 277, + "column": 32 + }, + "end": { + "line": 277, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgPath", + "range": [ + 8097, + 8104 + ], + "loc": { + "start": { + "line": 277, + "column": 37 + }, + "end": { + "line": 277, + "column": 44 + } + } + }, + "range": [ + 8092, + 8104 + ], + "loc": { + "start": { + "line": 277, + "column": 32 + }, + "end": { + "line": 277, + "column": 44 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 8107, + 8111 + ], + "loc": { + "start": { + "line": 277, + "column": 47 + }, + "end": { + "line": 277, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgBlank", + "range": [ + 8112, + 8120 + ], + "loc": { + "start": { + "line": 277, + "column": 52 + }, + "end": { + "line": 277, + "column": 60 + } + } + }, + "range": [ + 8107, + 8120 + ], + "loc": { + "start": { + "line": 277, + "column": 47 + }, + "end": { + "line": 277, + "column": 60 + } + } + }, + "range": [ + 8092, + 8120 + ], + "loc": { + "start": { + "line": 277, + "column": 32 + }, + "end": { + "line": 277, + "column": 60 + } + } + } + ], + "range": [ + 8084, + 8121 + ], + "loc": { + "start": { + "line": 277, + "column": 24 + }, + "end": { + "line": 277, + "column": 61 + } + } + } + ], + "range": [ + 8043, + 8122 + ], + "loc": { + "start": { + "line": 276, + "column": 26 + }, + "end": { + "line": 277, + "column": 62 + } + } + }, + "range": [ + 8037, + 8122 + ], + "loc": { + "start": { + "line": 276, + "column": 20 + }, + "end": { + "line": 277, + "column": 62 + } + } + }, + "range": [ + 8037, + 8123 + ], + "loc": { + "start": { + "line": 276, + "column": 20 + }, + "end": { + "line": 277, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 8144, + 8145 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 8146, + 8157 + ], + "loc": { + "start": { + "line": 278, + "column": 22 + }, + "end": { + "line": 278, + "column": 33 + } + } + }, + "range": [ + 8144, + 8157 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "img", + "range": [ + 8158, + 8161 + ], + "loc": { + "start": { + "line": 278, + "column": 34 + }, + "end": { + "line": 278, + "column": 37 + } + } + } + ], + "range": [ + 8144, + 8162 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 38 + } + } + }, + "range": [ + 8144, + 8163 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 8188, + 8191 + ], + "loc": { + "start": { + "line": 279, + "column": 24 + }, + "end": { + "line": 279, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 8192, + 8201 + ], + "loc": { + "start": { + "line": 279, + "column": 28 + }, + "end": { + "line": 279, + "column": 37 + } + } + }, + "range": [ + 8188, + 8201 + ], + "loc": { + "start": { + "line": 279, + "column": 24 + }, + "end": { + "line": 279, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 8202, + 8203 + ], + "loc": { + "start": { + "line": 279, + "column": 38 + }, + "end": { + "line": 279, + "column": 39 + } + } + }, + "range": [ + 8188, + 8204 + ], + "loc": { + "start": { + "line": 279, + "column": 24 + }, + "end": { + "line": 279, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 8209, + 8213 + ], + "loc": { + "start": { + "line": 279, + "column": 45 + }, + "end": { + "line": 279, + "column": 49 + } + } + }, + "range": [ + 8188, + 8213 + ], + "loc": { + "start": { + "line": 279, + "column": 24 + }, + "end": { + "line": 279, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 8241, + 8242 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 8243, + 8255 + ], + "loc": { + "start": { + "line": 280, + "column": 26 + }, + "end": { + "line": 280, + "column": 38 + } + } + }, + "range": [ + 8241, + 8255 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_sortType", + "raw": "'_sortType'", + "range": [ + 8256, + 8267 + ], + "loc": { + "start": { + "line": 280, + "column": 39 + }, + "end": { + "line": 280, + "column": 50 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 8269, + 8272 + ], + "loc": { + "start": { + "line": 280, + "column": 52 + }, + "end": { + "line": 280, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 8273, + 8282 + ], + "loc": { + "start": { + "line": 280, + "column": 56 + }, + "end": { + "line": 280, + "column": 65 + } + } + }, + "range": [ + 8269, + 8282 + ], + "loc": { + "start": { + "line": 280, + "column": 52 + }, + "end": { + "line": 280, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 8283, + 8284 + ], + "loc": { + "start": { + "line": 280, + "column": 66 + }, + "end": { + "line": 280, + "column": 67 + } + } + }, + "range": [ + 8269, + 8285 + ], + "loc": { + "start": { + "line": 280, + "column": 52 + }, + "end": { + "line": 280, + "column": 68 + } + } + } + ], + "range": [ + 8241, + 8286 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 69 + } + } + }, + "range": [ + 8241, + 8287 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 70 + } + } + } + ], + "range": [ + 8215, + 8309 + ], + "loc": { + "start": { + "line": 279, + "column": 51 + }, + "end": { + "line": 281, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 8184, + 8309 + ], + "loc": { + "start": { + "line": 279, + "column": 20 + }, + "end": { + "line": 281, + "column": 21 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8330, + 8336 + ], + "loc": { + "start": { + "line": 282, + "column": 20 + }, + "end": { + "line": 282, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 8337, + 8338 + ], + "loc": { + "start": { + "line": 282, + "column": 27 + }, + "end": { + "line": 282, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 8340, + 8347 + ], + "loc": { + "start": { + "line": 282, + "column": 30 + }, + "end": { + "line": 282, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 8349, + 8352 + ], + "loc": { + "start": { + "line": 282, + "column": 39 + }, + "end": { + "line": 282, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "_headerOnclick", + "range": [ + 8353, + 8367 + ], + "loc": { + "start": { + "line": 282, + "column": 43 + }, + "end": { + "line": 282, + "column": 57 + } + } + }, + "range": [ + 8349, + 8367 + ], + "loc": { + "start": { + "line": 282, + "column": 39 + }, + "end": { + "line": 282, + "column": 57 + } + } + } + ], + "range": [ + 8330, + 8368 + ], + "loc": { + "start": { + "line": 282, + "column": 20 + }, + "end": { + "line": 282, + "column": 58 + } + } + }, + "range": [ + 8330, + 8369 + ], + "loc": { + "start": { + "line": 282, + "column": 20 + }, + "end": { + "line": 282, + "column": 59 + } + } + } + ], + "range": [ + 7967, + 8387 + ], + "loc": { + "start": { + "line": 274, + "column": 78 + }, + "end": { + "line": 283, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 8415, + 8416 + ], + "loc": { + "start": { + "line": 284, + "column": 20 + }, + "end": { + "line": 284, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 8417, + 8429 + ], + "loc": { + "start": { + "line": 284, + "column": 22 + }, + "end": { + "line": 284, + "column": 34 + } + } + }, + "range": [ + 8415, + 8429 + ], + "loc": { + "start": { + "line": 284, + "column": 20 + }, + "end": { + "line": 284, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_sortType", + "raw": "'_sortType'", + "range": [ + 8430, + 8441 + ], + "loc": { + "start": { + "line": 284, + "column": 35 + }, + "end": { + "line": 284, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "oSortTypes", + "range": [ + 8443, + 8453 + ], + "loc": { + "start": { + "line": 284, + "column": 48 + }, + "end": { + "line": 284, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 8454, + 8455 + ], + "loc": { + "start": { + "line": 284, + "column": 59 + }, + "end": { + "line": 284, + "column": 60 + } + } + }, + "range": [ + 8443, + 8456 + ], + "loc": { + "start": { + "line": 284, + "column": 48 + }, + "end": { + "line": 284, + "column": 61 + } + } + } + ], + "range": [ + 8415, + 8457 + ], + "loc": { + "start": { + "line": 284, + "column": 20 + }, + "end": { + "line": 284, + "column": 62 + } + } + }, + "range": [ + 8415, + 8458 + ], + "loc": { + "start": { + "line": 284, + "column": 20 + }, + "end": { + "line": 284, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 8479, + 8480 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "_sortType", + "range": [ + 8481, + 8490 + ], + "loc": { + "start": { + "line": 285, + "column": 22 + }, + "end": { + "line": 285, + "column": 31 + } + } + }, + "range": [ + 8479, + 8490 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "None", + "raw": "'None'", + "range": [ + 8493, + 8499 + ], + "loc": { + "start": { + "line": 285, + "column": 34 + }, + "end": { + "line": 285, + "column": 40 + } + } + }, + "range": [ + 8479, + 8499 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 40 + } + } + }, + "range": [ + 8479, + 8500 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 41 + } + } + } + ], + "range": [ + 8393, + 8518 + ], + "loc": { + "start": { + "line": 283, + "column": 23 + }, + "end": { + "line": 286, + "column": 17 + } + } + }, + "range": [ + 7905, + 8518 + ], + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 286, + "column": 17 + } + } + } + ], + "range": [ + 7857, + 8532 + ], + "loc": { + "start": { + "line": 272, + "column": 40 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + "range": [ + 7829, + 8532 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 8545, + 8548 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateHeaderArrows", + "range": [ + 8549, + 8567 + ], + "loc": { + "start": { + "line": 288, + "column": 16 + }, + "end": { + "line": 288, + "column": 34 + } + } + }, + "range": [ + 8545, + 8567 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 8545, + 8569 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 36 + } + } + }, + "range": [ + 8545, + 8570 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 37 + } + } + } + ], + "range": [ + 7351, + 8580 + ], + "loc": { + "start": { + "line": 256, + "column": 67 + }, + "end": { + "line": 289, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7329, + 8580 + ], + "loc": { + "start": { + "line": 256, + "column": 45 + }, + "end": { + "line": 289, + "column": 9 + } + } + }, + "range": [ + 7292, + 8580 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 289, + "column": 9 + } + } + }, + "range": [ + 7292, + 8581 + ], + "loc": { + "start": { + "line": 256, + "column": 8 + }, + "end": { + "line": 289, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n ", + "range": [ + 7158, + 7283 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 255, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides updateHeaderArrows in order to handle arrows indicators\n ", + "range": [ + 8591, + 8683 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 293, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 8692, + 8705 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 8706, + 8715 + ], + "loc": { + "start": { + "line": 294, + "column": 22 + }, + "end": { + "line": 294, + "column": 31 + } + } + }, + "range": [ + 8692, + 8715 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateHeaderArrows", + "range": [ + 8716, + 8734 + ], + "loc": { + "start": { + "line": 294, + "column": 32 + }, + "end": { + "line": 294, + "column": 50 + } + } + }, + "range": [ + 8692, + 8734 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 50 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "stt", + "range": [ + 8767, + 8770 + ], + "loc": { + "start": { + "line": 295, + "column": 16 + }, + "end": { + "line": 295, + "column": 19 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 8773, + 8777 + ], + "loc": { + "start": { + "line": 295, + "column": 22 + }, + "end": { + "line": 295, + "column": 26 + } + } + }, + "range": [ + 8767, + 8777 + ], + "loc": { + "start": { + "line": 295, + "column": 16 + }, + "end": { + "line": 295, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 8763, + 8778 + ], + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 8795, + 8800 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 21 + } + } + }, + "init": null, + "range": [ + 8795, + 8800 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 21 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "l", + "range": [ + 8802, + 8803 + ], + "loc": { + "start": { + "line": 296, + "column": 23 + }, + "end": { + "line": 296, + "column": 24 + } + } + }, + "init": null, + "range": [ + 8802, + 8803 + ], + "loc": { + "start": { + "line": 296, + "column": 23 + }, + "end": { + "line": 296, + "column": 24 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "img", + "range": [ + 8805, + 8808 + ], + "loc": { + "start": { + "line": 296, + "column": 26 + }, + "end": { + "line": 296, + "column": 29 + } + } + }, + "init": null, + "range": [ + 8805, + 8808 + ], + "loc": { + "start": { + "line": 296, + "column": 26 + }, + "end": { + "line": 296, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 8791, + 8809 + ], + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " external headers", + "range": [ + 8823, + 8842 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 31 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 8859, + 8863 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "asyncSort", + "range": [ + 8864, + 8873 + ], + "loc": { + "start": { + "line": 299, + "column": 21 + }, + "end": { + "line": 299, + "column": 30 + } + } + }, + "range": [ + 8859, + 8873 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 30 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 8877, + 8881 + ], + "loc": { + "start": { + "line": 299, + "column": 34 + }, + "end": { + "line": 299, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 8882, + 8892 + ], + "loc": { + "start": { + "line": 299, + "column": 39 + }, + "end": { + "line": 299, + "column": 49 + } + } + }, + "range": [ + 8877, + 8892 + ], + "loc": { + "start": { + "line": 299, + "column": 34 + }, + "end": { + "line": 299, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 8893, + 8899 + ], + "loc": { + "start": { + "line": 299, + "column": 50 + }, + "end": { + "line": 299, + "column": 56 + } + } + }, + "range": [ + 8877, + 8899 + ], + "loc": { + "start": { + "line": 299, + "column": 34 + }, + "end": { + "line": 299, + "column": 56 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8902, + 8903 + ], + "loc": { + "start": { + "line": 299, + "column": 59 + }, + "end": { + "line": 299, + "column": 60 + } + } + }, + "range": [ + 8877, + 8903 + ], + "loc": { + "start": { + "line": 299, + "column": 34 + }, + "end": { + "line": 299, + "column": 60 + } + } + }, + "range": [ + 8859, + 8903 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "triggers", + "range": [ + 8927, + 8935 + ], + "loc": { + "start": { + "line": 300, + "column": 20 + }, + "end": { + "line": 300, + "column": 28 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 8938, + 8942 + ], + "loc": { + "start": { + "line": 300, + "column": 31 + }, + "end": { + "line": 300, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 8943, + 8953 + ], + "loc": { + "start": { + "line": 300, + "column": 36 + }, + "end": { + "line": 300, + "column": 46 + } + } + }, + "range": [ + 8938, + 8953 + ], + "loc": { + "start": { + "line": 300, + "column": 31 + }, + "end": { + "line": 300, + "column": 46 + } + } + }, + "range": [ + 8927, + 8953 + ], + "loc": { + "start": { + "line": 300, + "column": 20 + }, + "end": { + "line": 300, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 8923, + 8954 + ], + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "cells", + "range": [ + 8971, + 8976 + ], + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 301, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 8979, + 8981 + ], + "loc": { + "start": { + "line": 301, + "column": 24 + }, + "end": { + "line": 301, + "column": 26 + } + } + }, + "range": [ + 8971, + 8981 + ], + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 301, + "column": 26 + } + } + }, + "range": [ + 8971, + 8982 + ], + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 301, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "l", + "range": [ + 8999, + 9000 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 9003, + 9011 + ], + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 302, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 9012, + 9018 + ], + "loc": { + "start": { + "line": 302, + "column": 29 + }, + "end": { + "line": 302, + "column": 35 + } + } + }, + "range": [ + 9003, + 9018 + ], + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 302, + "column": 35 + } + } + }, + "range": [ + 8999, + 9018 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 35 + } + } + }, + "range": [ + 8999, + 9019 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 36 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 9045, + 9046 + ], + "loc": { + "start": { + "line": 303, + "column": 25 + }, + "end": { + "line": 303, + "column": 26 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9049, + 9050 + ], + "loc": { + "start": { + "line": 303, + "column": 29 + }, + "end": { + "line": 303, + "column": 30 + } + } + }, + "range": [ + 9045, + 9050 + ], + "loc": { + "start": { + "line": 303, + "column": 25 + }, + "end": { + "line": 303, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 9041, + 9050 + ], + "loc": { + "start": { + "line": 303, + "column": 21 + }, + "end": { + "line": 303, + "column": 30 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 9052, + 9053 + ], + "loc": { + "start": { + "line": 303, + "column": 32 + }, + "end": { + "line": 303, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "l", + "range": [ + 9056, + 9057 + ], + "loc": { + "start": { + "line": 303, + "column": 36 + }, + "end": { + "line": 303, + "column": 37 + } + } + }, + "range": [ + 9052, + 9057 + ], + "loc": { + "start": { + "line": 303, + "column": 32 + }, + "end": { + "line": 303, + "column": 37 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 9059, + 9060 + ], + "loc": { + "start": { + "line": 303, + "column": 39 + }, + "end": { + "line": 303, + "column": 40 + } + } + }, + "prefix": false, + "range": [ + 9059, + 9062 + ], + "loc": { + "start": { + "line": 303, + "column": 39 + }, + "end": { + "line": 303, + "column": 42 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 9086, + 9091 + ], + "loc": { + "start": { + "line": 304, + "column": 20 + }, + "end": { + "line": 304, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 9092, + 9096 + ], + "loc": { + "start": { + "line": 304, + "column": 26 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + "range": [ + 9086, + 9096 + ], + "loc": { + "start": { + "line": 304, + "column": 20 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 9097, + 9100 + ], + "loc": { + "start": { + "line": 304, + "column": 31 + }, + "end": { + "line": 304, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 9101, + 9109 + ], + "loc": { + "start": { + "line": 304, + "column": 35 + }, + "end": { + "line": 304, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 9110, + 9111 + ], + "loc": { + "start": { + "line": 304, + "column": 44 + }, + "end": { + "line": 304, + "column": 45 + } + } + }, + "range": [ + 9101, + 9112 + ], + "loc": { + "start": { + "line": 304, + "column": 35 + }, + "end": { + "line": 304, + "column": 46 + } + } + } + ], + "range": [ + 9097, + 9113 + ], + "loc": { + "start": { + "line": 304, + "column": 31 + }, + "end": { + "line": 304, + "column": 47 + } + } + } + ], + "range": [ + 9086, + 9114 + ], + "loc": { + "start": { + "line": 304, + "column": 20 + }, + "end": { + "line": 304, + "column": 48 + } + } + }, + "range": [ + 9086, + 9115 + ], + "loc": { + "start": { + "line": 304, + "column": 20 + }, + "end": { + "line": 304, + "column": 49 + } + } + } + ], + "range": [ + 9064, + 9133 + ], + "loc": { + "start": { + "line": 303, + "column": 44 + }, + "end": { + "line": 305, + "column": 17 + } + } + }, + "range": [ + 9036, + 9133 + ], + "loc": { + "start": { + "line": 303, + "column": 16 + }, + "end": { + "line": 305, + "column": 17 + } + } + } + ], + "range": [ + 8905, + 9147 + ], + "loc": { + "start": { + "line": 299, + "column": 62 + }, + "end": { + "line": 306, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9176, + 9180 + ], + "loc": { + "start": { + "line": 307, + "column": 21 + }, + "end": { + "line": 307, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 9181, + 9186 + ], + "loc": { + "start": { + "line": 307, + "column": 26 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + "range": [ + 9176, + 9186 + ], + "loc": { + "start": { + "line": 307, + "column": 21 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 9175, + 9186 + ], + "loc": { + "start": { + "line": 307, + "column": 20 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 9210, + 9217 + ], + "loc": { + "start": { + "line": 308, + "column": 20 + }, + "end": { + "line": 308, + "column": 27 + } + } + } + ], + "range": [ + 9188, + 9235 + ], + "loc": { + "start": { + "line": 307, + "column": 33 + }, + "end": { + "line": 309, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 9171, + 9235 + ], + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 309, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "cells", + "range": [ + 9252, + 9257 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 9260, + 9263 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 9264, + 9269 + ], + "loc": { + "start": { + "line": 310, + "column": 28 + }, + "end": { + "line": 310, + "column": 33 + } + } + }, + "range": [ + 9260, + 9269 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 9270, + 9274 + ], + "loc": { + "start": { + "line": 310, + "column": 34 + }, + "end": { + "line": 310, + "column": 38 + } + } + }, + "range": [ + 9260, + 9274 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 38 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 9275, + 9278 + ], + "loc": { + "start": { + "line": 310, + "column": 39 + }, + "end": { + "line": 310, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 9279, + 9289 + ], + "loc": { + "start": { + "line": 310, + "column": 43 + }, + "end": { + "line": 310, + "column": 53 + } + } + }, + "range": [ + 9275, + 9289 + ], + "loc": { + "start": { + "line": 310, + "column": 39 + }, + "end": { + "line": 310, + "column": 53 + } + } + }, + "range": [ + 9260, + 9290 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 9291, + 9296 + ], + "loc": { + "start": { + "line": 310, + "column": 55 + }, + "end": { + "line": 310, + "column": 60 + } + } + }, + "range": [ + 9260, + 9296 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 60 + } + } + }, + "range": [ + 9252, + 9296 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 60 + } + } + }, + "range": [ + 9252, + 9297 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "l", + "range": [ + 9314, + 9315 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 9318, + 9323 + ], + "loc": { + "start": { + "line": 311, + "column": 20 + }, + "end": { + "line": 311, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 9324, + 9330 + ], + "loc": { + "start": { + "line": 311, + "column": 26 + }, + "end": { + "line": 311, + "column": 32 + } + } + }, + "range": [ + 9318, + 9330 + ], + "loc": { + "start": { + "line": 311, + "column": 20 + }, + "end": { + "line": 311, + "column": 32 + } + } + }, + "range": [ + 9314, + 9330 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 32 + } + } + }, + "range": [ + 9314, + 9331 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 33 + } + } + } + ], + "range": [ + 9153, + 9345 + ], + "loc": { + "start": { + "line": 306, + "column": 19 + }, + "end": { + "line": 312, + "column": 13 + } + } + }, + "range": [ + 8855, + 9345 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 312, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " external headers", + "range": [ + 8823, + 8842 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 31 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 9367, + 9368 + ], + "loc": { + "start": { + "line": 313, + "column": 21 + }, + "end": { + "line": 313, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9371, + 9372 + ], + "loc": { + "start": { + "line": 313, + "column": 25 + }, + "end": { + "line": 313, + "column": 26 + } + } + }, + "range": [ + 9367, + 9372 + ], + "loc": { + "start": { + "line": 313, + "column": 21 + }, + "end": { + "line": 313, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 9363, + 9372 + ], + "loc": { + "start": { + "line": 313, + "column": 17 + }, + "end": { + "line": 313, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 9374, + 9375 + ], + "loc": { + "start": { + "line": 313, + "column": 28 + }, + "end": { + "line": 313, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "l", + "range": [ + 9378, + 9379 + ], + "loc": { + "start": { + "line": 313, + "column": 32 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "range": [ + 9374, + 9379 + ], + "loc": { + "start": { + "line": 313, + "column": 28 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 9381, + 9382 + ], + "loc": { + "start": { + "line": 313, + "column": 35 + }, + "end": { + "line": 313, + "column": 36 + } + } + }, + "prefix": false, + "range": [ + 9381, + 9384 + ], + "loc": { + "start": { + "line": 313, + "column": 35 + }, + "end": { + "line": 313, + "column": 38 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 9408, + 9412 + ], + "loc": { + "start": { + "line": 314, + "column": 20 + }, + "end": { + "line": 314, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 9415, + 9420 + ], + "loc": { + "start": { + "line": 314, + "column": 27 + }, + "end": { + "line": 314, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 9421, + 9422 + ], + "loc": { + "start": { + "line": 314, + "column": 33 + }, + "end": { + "line": 314, + "column": 34 + } + } + }, + "range": [ + 9415, + 9423 + ], + "loc": { + "start": { + "line": 314, + "column": 27 + }, + "end": { + "line": 314, + "column": 35 + } + } + }, + "range": [ + 9408, + 9423 + ], + "loc": { + "start": { + "line": 314, + "column": 20 + }, + "end": { + "line": 314, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 9404, + 9424 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 36 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "cell", + "range": [ + 9446, + 9450 + ], + "loc": { + "start": { + "line": 315, + "column": 21 + }, + "end": { + "line": 315, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 9445, + 9450 + ], + "loc": { + "start": { + "line": 315, + "column": 20 + }, + "end": { + "line": 315, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 9474, + 9483 + ], + "loc": { + "start": { + "line": 316, + "column": 20 + }, + "end": { + "line": 316, + "column": 29 + } + } + } + ], + "range": [ + 9452, + 9501 + ], + "loc": { + "start": { + "line": 315, + "column": 27 + }, + "end": { + "line": 317, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 9441, + 9501 + ], + "loc": { + "start": { + "line": 315, + "column": 16 + }, + "end": { + "line": 317, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellAttr", + "range": [ + 9522, + 9530 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9533, + 9537 + ], + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 9538, + 9550 + ], + "loc": { + "start": { + "line": 318, + "column": 36 + }, + "end": { + "line": 318, + "column": 48 + } + } + }, + "range": [ + 9533, + 9550 + ], + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_sortType", + "raw": "'_sortType'", + "range": [ + 9551, + 9562 + ], + "loc": { + "start": { + "line": 318, + "column": 49 + }, + "end": { + "line": 318, + "column": 60 + } + } + } + ], + "range": [ + 9533, + 9563 + ], + "loc": { + "start": { + "line": 318, + "column": 31 + }, + "end": { + "line": 318, + "column": 61 + } + } + }, + "range": [ + 9522, + 9563 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 61 + } + } + } + ], + "kind": "let", + "range": [ + 9518, + 9564 + ], + "loc": { + "start": { + "line": 318, + "column": 16 + }, + "end": { + "line": 318, + "column": 62 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "cellAttr", + "range": [ + 9585, + 9593 + ], + "loc": { + "start": { + "line": 319, + "column": 20 + }, + "end": { + "line": 319, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9598, + 9602 + ], + "loc": { + "start": { + "line": 319, + "column": 33 + }, + "end": { + "line": 319, + "column": 37 + } + } + }, + "range": [ + 9585, + 9602 + ], + "loc": { + "start": { + "line": 319, + "column": 20 + }, + "end": { + "line": 319, + "column": 37 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "cellAttr", + "range": [ + 9606, + 9614 + ], + "loc": { + "start": { + "line": 319, + "column": 41 + }, + "end": { + "line": 319, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": "None", + "raw": "'None'", + "range": [ + 9619, + 9625 + ], + "loc": { + "start": { + "line": 319, + "column": 54 + }, + "end": { + "line": 319, + "column": 60 + } + } + }, + "range": [ + 9606, + 9625 + ], + "loc": { + "start": { + "line": 319, + "column": 41 + }, + "end": { + "line": 319, + "column": 60 + } + } + }, + "range": [ + 9585, + 9625 + ], + "loc": { + "start": { + "line": 319, + "column": 20 + }, + "end": { + "line": 319, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "img", + "range": [ + 9649, + 9652 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9655, + 9659 + ], + "loc": { + "start": { + "line": 320, + "column": 26 + }, + "end": { + "line": 320, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastChild", + "range": [ + 9660, + 9669 + ], + "loc": { + "start": { + "line": 320, + "column": 31 + }, + "end": { + "line": 320, + "column": 40 + } + } + }, + "range": [ + 9655, + 9669 + ], + "loc": { + "start": { + "line": 320, + "column": 26 + }, + "end": { + "line": 320, + "column": 40 + } + } + }, + "right": { + "type": "Identifier", + "name": "cell", + "range": [ + 9673, + 9677 + ], + "loc": { + "start": { + "line": 320, + "column": 44 + }, + "end": { + "line": 320, + "column": 48 + } + } + }, + "range": [ + 9655, + 9677 + ], + "loc": { + "start": { + "line": 320, + "column": 26 + }, + "end": { + "line": 320, + "column": 48 + } + } + }, + "range": [ + 9649, + 9677 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 48 + } + } + }, + "range": [ + 9649, + 9678 + ], + "loc": { + "start": { + "line": 320, + "column": 20 + }, + "end": { + "line": 320, + "column": 49 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "img", + "range": [ + 9703, + 9706 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 9707, + 9715 + ], + "loc": { + "start": { + "line": 321, + "column": 28 + }, + "end": { + "line": 321, + "column": 36 + } + } + }, + "range": [ + 9703, + 9715 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 9716, + 9727 + ], + "loc": { + "start": { + "line": 321, + "column": 37 + }, + "end": { + "line": 321, + "column": 48 + } + } + }, + "range": [ + 9703, + 9727 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 9703, + 9729 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 50 + } + } + }, + "right": { + "type": "Literal", + "value": "img", + "raw": "'img'", + "range": [ + 9734, + 9739 + ], + "loc": { + "start": { + "line": 321, + "column": 55 + }, + "end": { + "line": 321, + "column": 60 + } + } + }, + "range": [ + 9703, + 9739 + ], + "loc": { + "start": { + "line": 321, + "column": 24 + }, + "end": { + "line": 321, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "img", + "range": [ + 9767, + 9770 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 322, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 9773, + 9782 + ], + "loc": { + "start": { + "line": 322, + "column": 30 + }, + "end": { + "line": 322, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "img", + "raw": "'img'", + "range": [ + 9783, + 9788 + ], + "loc": { + "start": { + "line": 322, + "column": 40 + }, + "end": { + "line": 322, + "column": 45 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "src", + "raw": "'src'", + "range": [ + 9819, + 9824 + ], + "loc": { + "start": { + "line": 323, + "column": 29 + }, + "end": { + "line": 323, + "column": 34 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 9826, + 9830 + ], + "loc": { + "start": { + "line": 323, + "column": 36 + }, + "end": { + "line": 323, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgPath", + "range": [ + 9831, + 9838 + ], + "loc": { + "start": { + "line": 323, + "column": 41 + }, + "end": { + "line": 323, + "column": 48 + } + } + }, + "range": [ + 9826, + 9838 + ], + "loc": { + "start": { + "line": 323, + "column": 36 + }, + "end": { + "line": 323, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 9841, + 9845 + ], + "loc": { + "start": { + "line": 323, + "column": 51 + }, + "end": { + "line": 323, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgBlank", + "range": [ + 9846, + 9854 + ], + "loc": { + "start": { + "line": 323, + "column": 56 + }, + "end": { + "line": 323, + "column": 64 + } + } + }, + "range": [ + 9841, + 9854 + ], + "loc": { + "start": { + "line": 323, + "column": 51 + }, + "end": { + "line": 323, + "column": 64 + } + } + }, + "range": [ + 9826, + 9854 + ], + "loc": { + "start": { + "line": 323, + "column": 36 + }, + "end": { + "line": 323, + "column": 64 + } + } + } + ], + "range": [ + 9818, + 9855 + ], + "loc": { + "start": { + "line": 323, + "column": 28 + }, + "end": { + "line": 323, + "column": 65 + } + } + } + ], + "range": [ + 9773, + 9856 + ], + "loc": { + "start": { + "line": 322, + "column": 30 + }, + "end": { + "line": 323, + "column": 66 + } + } + }, + "range": [ + 9767, + 9856 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 323, + "column": 66 + } + } + }, + "range": [ + 9767, + 9857 + ], + "loc": { + "start": { + "line": 322, + "column": 24 + }, + "end": { + "line": 323, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9882, + 9886 + ], + "loc": { + "start": { + "line": 324, + "column": 24 + }, + "end": { + "line": 324, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 9887, + 9898 + ], + "loc": { + "start": { + "line": 324, + "column": 29 + }, + "end": { + "line": 324, + "column": 40 + } + } + }, + "range": [ + 9882, + 9898 + ], + "loc": { + "start": { + "line": 324, + "column": 24 + }, + "end": { + "line": 324, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "img", + "range": [ + 9899, + 9902 + ], + "loc": { + "start": { + "line": 324, + "column": 41 + }, + "end": { + "line": 324, + "column": 44 + } + } + } + ], + "range": [ + 9882, + 9903 + ], + "loc": { + "start": { + "line": 324, + "column": 24 + }, + "end": { + "line": 324, + "column": 45 + } + } + }, + "range": [ + 9882, + 9904 + ], + "loc": { + "start": { + "line": 324, + "column": 24 + }, + "end": { + "line": 324, + "column": 46 + } + } + } + ], + "range": [ + 9741, + 9926 + ], + "loc": { + "start": { + "line": 321, + "column": 62 + }, + "end": { + "line": 325, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 9699, + 9926 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 325, + "column": 21 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 9951, + 9952 + ], + "loc": { + "start": { + "line": 326, + "column": 24 + }, + "end": { + "line": 326, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 9957, + 9960 + ], + "loc": { + "start": { + "line": 326, + "column": 30 + }, + "end": { + "line": 326, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortColumn", + "range": [ + 9961, + 9971 + ], + "loc": { + "start": { + "line": 326, + "column": 34 + }, + "end": { + "line": 326, + "column": 44 + } + } + }, + "range": [ + 9957, + 9971 + ], + "loc": { + "start": { + "line": 326, + "column": 30 + }, + "end": { + "line": 326, + "column": 44 + } + } + }, + "range": [ + 9951, + 9971 + ], + "loc": { + "start": { + "line": 326, + "column": 24 + }, + "end": { + "line": 326, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "img", + "range": [ + 9999, + 10002 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 327, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10003, + 10012 + ], + "loc": { + "start": { + "line": 327, + "column": 28 + }, + "end": { + "line": 327, + "column": 37 + } + } + }, + "range": [ + 9999, + 10012 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 327, + "column": 37 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 10015, + 10019 + ], + "loc": { + "start": { + "line": 327, + "column": 40 + }, + "end": { + "line": 327, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgClassName", + "range": [ + 10020, + 10032 + ], + "loc": { + "start": { + "line": 327, + "column": 45 + }, + "end": { + "line": 327, + "column": 57 + } + } + }, + "range": [ + 10015, + 10032 + ], + "loc": { + "start": { + "line": 327, + "column": 40 + }, + "end": { + "line": 327, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 10035, + 10038 + ], + "loc": { + "start": { + "line": 327, + "column": 60 + }, + "end": { + "line": 327, + "column": 63 + } + } + }, + "range": [ + 10015, + 10038 + ], + "loc": { + "start": { + "line": 327, + "column": 40 + }, + "end": { + "line": 327, + "column": 63 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10070, + 10074 + ], + "loc": { + "start": { + "line": 328, + "column": 29 + }, + "end": { + "line": 328, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "descending", + "range": [ + 10075, + 10085 + ], + "loc": { + "start": { + "line": 328, + "column": 34 + }, + "end": { + "line": 328, + "column": 44 + } + } + }, + "range": [ + 10070, + 10085 + ], + "loc": { + "start": { + "line": 328, + "column": 29 + }, + "end": { + "line": 328, + "column": 44 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 10120, + 10124 + ], + "loc": { + "start": { + "line": 329, + "column": 32 + }, + "end": { + "line": 329, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgDescClassName", + "range": [ + 10125, + 10141 + ], + "loc": { + "start": { + "line": 329, + "column": 37 + }, + "end": { + "line": 329, + "column": 53 + } + } + }, + "range": [ + 10120, + 10141 + ], + "loc": { + "start": { + "line": 329, + "column": 32 + }, + "end": { + "line": 329, + "column": 53 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 10176, + 10180 + ], + "loc": { + "start": { + "line": 330, + "column": 32 + }, + "end": { + "line": 330, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgAscClassName", + "range": [ + 10181, + 10196 + ], + "loc": { + "start": { + "line": 330, + "column": 37 + }, + "end": { + "line": 330, + "column": 52 + } + } + }, + "range": [ + 10176, + 10196 + ], + "loc": { + "start": { + "line": 330, + "column": 32 + }, + "end": { + "line": 330, + "column": 52 + } + } + }, + "range": [ + 10070, + 10196 + ], + "loc": { + "start": { + "line": 328, + "column": 29 + }, + "end": { + "line": 330, + "column": 52 + } + } + }, + "range": [ + 10015, + 10197 + ], + "loc": { + "start": { + "line": 327, + "column": 40 + }, + "end": { + "line": 330, + "column": 53 + } + } + }, + "range": [ + 9999, + 10197 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 330, + "column": 53 + } + } + }, + "range": [ + 9999, + 10198 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 330, + "column": 54 + } + } + } + ], + "range": [ + 9973, + 10220 + ], + "loc": { + "start": { + "line": 326, + "column": 46 + }, + "end": { + "line": 331, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "img", + "range": [ + 10252, + 10255 + ], + "loc": { + "start": { + "line": 332, + "column": 24 + }, + "end": { + "line": 332, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10256, + 10265 + ], + "loc": { + "start": { + "line": 332, + "column": 28 + }, + "end": { + "line": 332, + "column": 37 + } + } + }, + "range": [ + 10252, + 10265 + ], + "loc": { + "start": { + "line": 332, + "column": 24 + }, + "end": { + "line": 332, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 10268, + 10272 + ], + "loc": { + "start": { + "line": 332, + "column": 40 + }, + "end": { + "line": 332, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "imgClassName", + "range": [ + 10273, + 10285 + ], + "loc": { + "start": { + "line": 332, + "column": 45 + }, + "end": { + "line": 332, + "column": 57 + } + } + }, + "range": [ + 10268, + 10285 + ], + "loc": { + "start": { + "line": 332, + "column": 40 + }, + "end": { + "line": 332, + "column": 57 + } + } + }, + "range": [ + 10252, + 10285 + ], + "loc": { + "start": { + "line": 332, + "column": 24 + }, + "end": { + "line": 332, + "column": 57 + } + } + }, + "range": [ + 10252, + 10286 + ], + "loc": { + "start": { + "line": 332, + "column": 24 + }, + "end": { + "line": 332, + "column": 58 + } + } + } + ], + "range": [ + 10226, + 10308 + ], + "loc": { + "start": { + "line": 331, + "column": 27 + }, + "end": { + "line": 333, + "column": 21 + } + } + }, + "range": [ + 9947, + 10308 + ], + "loc": { + "start": { + "line": 326, + "column": 20 + }, + "end": { + "line": 333, + "column": 21 + } + } + } + ], + "range": [ + 9627, + 10326 + ], + "loc": { + "start": { + "line": 319, + "column": 62 + }, + "end": { + "line": 334, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 9581, + 10326 + ], + "loc": { + "start": { + "line": 319, + "column": 16 + }, + "end": { + "line": 334, + "column": 17 + } + } + } + ], + "range": [ + 9386, + 10340 + ], + "loc": { + "start": { + "line": 313, + "column": 40 + }, + "end": { + "line": 335, + "column": 13 + } + } + }, + "range": [ + 9358, + 10340 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 335, + "column": 13 + } + } + } + ], + "range": [ + 8749, + 10350 + ], + "loc": { + "start": { + "line": 294, + "column": 65 + }, + "end": { + "line": 336, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8737, + 10350 + ], + "loc": { + "start": { + "line": 294, + "column": 53 + }, + "end": { + "line": 336, + "column": 9 + } + } + }, + "range": [ + 8692, + 10350 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 336, + "column": 9 + } + } + }, + "range": [ + 8692, + 10351 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 336, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides updateHeaderArrows in order to handle arrows indicators\n ", + "range": [ + 8591, + 8683 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 293, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n ", + "range": [ + 10361, + 10584 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 344, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 10593, + 10606 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 10607, + 10616 + ], + "loc": { + "start": { + "line": 345, + "column": 22 + }, + "end": { + "line": 345, + "column": 31 + } + } + }, + "range": [ + 10593, + 10616 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowValue", + "range": [ + 10617, + 10628 + ], + "loc": { + "start": { + "line": 345, + "column": 32 + }, + "end": { + "line": 345, + "column": 43 + } + } + }, + "range": [ + 10593, + 10628 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 43 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "oRow", + "range": [ + 10641, + 10645 + ], + "loc": { + "start": { + "line": 345, + "column": 56 + }, + "end": { + "line": 345, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "sType", + "range": [ + 10647, + 10652 + ], + "loc": { + "start": { + "line": 345, + "column": 62 + }, + "end": { + "line": 345, + "column": 67 + } + } + }, + { + "type": "Identifier", + "name": "nColumn", + "range": [ + 10654, + 10661 + ], + "loc": { + "start": { + "line": 345, + "column": 69 + }, + "end": { + "line": 345, + "column": 76 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "stt", + "range": [ + 10681, + 10684 + ], + "loc": { + "start": { + "line": 346, + "column": 16 + }, + "end": { + "line": 346, + "column": 19 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 10687, + 10691 + ], + "loc": { + "start": { + "line": 346, + "column": 22 + }, + "end": { + "line": 346, + "column": 26 + } + } + }, + "range": [ + 10681, + 10691 + ], + "loc": { + "start": { + "line": 346, + "column": 16 + }, + "end": { + "line": 346, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 10677, + 10692 + ], + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 27 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " if we have defined a custom getRowValue use that", + "range": [ + 10705, + 10756 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 63 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortTypeInfo", + "range": [ + 10773, + 10785 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 28 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 10788, + 10791 + ], + "loc": { + "start": { + "line": 348, + "column": 31 + }, + "end": { + "line": 348, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "_sortTypeInfo", + "range": [ + 10792, + 10805 + ], + "loc": { + "start": { + "line": 348, + "column": 35 + }, + "end": { + "line": 348, + "column": 48 + } + } + }, + "range": [ + 10788, + 10805 + ], + "loc": { + "start": { + "line": 348, + "column": 31 + }, + "end": { + "line": 348, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "sType", + "range": [ + 10806, + 10811 + ], + "loc": { + "start": { + "line": 348, + "column": 49 + }, + "end": { + "line": 348, + "column": 54 + } + } + }, + "range": [ + 10788, + 10812 + ], + "loc": { + "start": { + "line": 348, + "column": 31 + }, + "end": { + "line": 348, + "column": 55 + } + } + }, + "range": [ + 10773, + 10812 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 10769, + 10813 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " if we have defined a custom getRowValue use that", + "range": [ + 10705, + 10756 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 63 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "sortTypeInfo", + "range": [ + 10830, + 10842 + ], + "loc": { + "start": { + "line": 349, + "column": 16 + }, + "end": { + "line": 349, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sortTypeInfo", + "range": [ + 10846, + 10858 + ], + "loc": { + "start": { + "line": 349, + "column": 32 + }, + "end": { + "line": 349, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowValue", + "range": [ + 10859, + 10870 + ], + "loc": { + "start": { + "line": 349, + "column": 45 + }, + "end": { + "line": 349, + "column": 56 + } + } + }, + "range": [ + 10846, + 10870 + ], + "loc": { + "start": { + "line": 349, + "column": 32 + }, + "end": { + "line": 349, + "column": 56 + } + } + }, + "range": [ + 10830, + 10870 + ], + "loc": { + "start": { + "line": 349, + "column": 16 + }, + "end": { + "line": 349, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sortTypeInfo", + "range": [ + 10897, + 10909 + ], + "loc": { + "start": { + "line": 350, + "column": 23 + }, + "end": { + "line": 350, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowValue", + "range": [ + 10910, + 10921 + ], + "loc": { + "start": { + "line": 350, + "column": 36 + }, + "end": { + "line": 350, + "column": 47 + } + } + }, + "range": [ + 10897, + 10921 + ], + "loc": { + "start": { + "line": 350, + "column": 23 + }, + "end": { + "line": 350, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "oRow", + "range": [ + 10922, + 10926 + ], + "loc": { + "start": { + "line": 350, + "column": 48 + }, + "end": { + "line": 350, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "nColumn", + "range": [ + 10928, + 10935 + ], + "loc": { + "start": { + "line": 350, + "column": 54 + }, + "end": { + "line": 350, + "column": 61 + } + } + } + ], + "range": [ + 10897, + 10936 + ], + "loc": { + "start": { + "line": 350, + "column": 23 + }, + "end": { + "line": 350, + "column": 62 + } + } + }, + "range": [ + 10890, + 10937 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 63 + } + } + } + ], + "range": [ + 10872, + 10951 + ], + "loc": { + "start": { + "line": 349, + "column": 58 + }, + "end": { + "line": 351, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10826, + 10951 + ], + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 351, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "c", + "range": [ + 10968, + 10969 + ], + "loc": { + "start": { + "line": 352, + "column": 16 + }, + "end": { + "line": 352, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "oRow", + "range": [ + 10972, + 10976 + ], + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 10977, + 10982 + ], + "loc": { + "start": { + "line": 352, + "column": 25 + }, + "end": { + "line": 352, + "column": 30 + } + } + }, + "range": [ + 10972, + 10982 + ], + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nColumn", + "range": [ + 10983, + 10990 + ], + "loc": { + "start": { + "line": 352, + "column": 31 + }, + "end": { + "line": 352, + "column": 38 + } + } + }, + "range": [ + 10972, + 10991 + ], + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 39 + } + } + }, + "range": [ + 10968, + 10991 + ], + "loc": { + "start": { + "line": 352, + "column": 16 + }, + "end": { + "line": 352, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 10964, + 10992 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "s", + "range": [ + 11009, + 11010 + ], + "loc": { + "start": { + "line": 353, + "column": 16 + }, + "end": { + "line": 353, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 11013, + 11026 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getInnerText", + "range": [ + 11027, + 11039 + ], + "loc": { + "start": { + "line": 353, + "column": 34 + }, + "end": { + "line": 353, + "column": 46 + } + } + }, + "range": [ + 11013, + 11039 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "c", + "range": [ + 11040, + 11041 + ], + "loc": { + "start": { + "line": 353, + "column": 47 + }, + "end": { + "line": 353, + "column": 48 + } + } + } + ], + "range": [ + 11013, + 11042 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 49 + } + } + }, + "range": [ + 11009, + 11042 + ], + "loc": { + "start": { + "line": 353, + "column": 16 + }, + "end": { + "line": 353, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 11005, + 11043 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 50 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "stt", + "range": [ + 11063, + 11066 + ], + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValueFromString", + "range": [ + 11067, + 11085 + ], + "loc": { + "start": { + "line": 354, + "column": 23 + }, + "end": { + "line": 354, + "column": 41 + } + } + }, + "range": [ + 11063, + 11085 + ], + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "s", + "range": [ + 11086, + 11087 + ], + "loc": { + "start": { + "line": 354, + "column": 42 + }, + "end": { + "line": 354, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "sType", + "range": [ + 11089, + 11094 + ], + "loc": { + "start": { + "line": 354, + "column": 45 + }, + "end": { + "line": 354, + "column": 50 + } + } + } + ], + "range": [ + 11063, + 11095 + ], + "loc": { + "start": { + "line": 354, + "column": 19 + }, + "end": { + "line": 354, + "column": 51 + } + } + }, + "range": [ + 11056, + 11096 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 52 + } + } + } + ], + "range": [ + 10663, + 11106 + ], + "loc": { + "start": { + "line": 345, + "column": 78 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10631, + 11106 + ], + "loc": { + "start": { + "line": 345, + "column": 46 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "range": [ + 10593, + 11106 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 355, + "column": 9 + } + } + }, + "range": [ + 10593, + 11107 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 355, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n ", + "range": [ + 10361, + 10584 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 344, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n ", + "range": [ + 11117, + 11364 + ], + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 362, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 11373, + 11386 + ], + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "getInnerText", + "range": [ + 11387, + 11399 + ], + "loc": { + "start": { + "line": 363, + "column": 22 + }, + "end": { + "line": 363, + "column": 34 + } + } + }, + "range": [ + 11373, + 11399 + ], + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 363, + "column": 34 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "oNode", + "range": [ + 11412, + 11417 + ], + "loc": { + "start": { + "line": 363, + "column": 47 + }, + "end": { + "line": 363, + "column": 52 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "oNode", + "range": [ + 11438, + 11443 + ], + "loc": { + "start": { + "line": 364, + "column": 17 + }, + "end": { + "line": 364, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 11437, + 11443 + ], + "loc": { + "start": { + "line": 364, + "column": 16 + }, + "end": { + "line": 364, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 11463, + 11470 + ], + "loc": { + "start": { + "line": 365, + "column": 16 + }, + "end": { + "line": 365, + "column": 23 + } + } + } + ], + "range": [ + 11445, + 11484 + ], + "loc": { + "start": { + "line": 364, + "column": 24 + }, + "end": { + "line": 366, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 11433, + 11484 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 366, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "oNode", + "range": [ + 11501, + 11506 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 11507, + 11519 + ], + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 34 + } + } + }, + "range": [ + 11501, + 11519 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 11520, + 11524 + ], + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "customKey", + "range": [ + 11525, + 11534 + ], + "loc": { + "start": { + "line": 367, + "column": 40 + }, + "end": { + "line": 367, + "column": 49 + } + } + }, + "range": [ + 11520, + 11534 + ], + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 49 + } + } + } + ], + "range": [ + 11501, + 11535 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "oNode", + "range": [ + 11562, + 11567 + ], + "loc": { + "start": { + "line": 368, + "column": 23 + }, + "end": { + "line": 368, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 11568, + 11580 + ], + "loc": { + "start": { + "line": 368, + "column": 29 + }, + "end": { + "line": 368, + "column": 41 + } + } + }, + "range": [ + 11562, + 11580 + ], + "loc": { + "start": { + "line": 368, + "column": 23 + }, + "end": { + "line": 368, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "adpt", + "range": [ + 11581, + 11585 + ], + "loc": { + "start": { + "line": 368, + "column": 42 + }, + "end": { + "line": 368, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "customKey", + "range": [ + 11586, + 11595 + ], + "loc": { + "start": { + "line": 368, + "column": 47 + }, + "end": { + "line": 368, + "column": 56 + } + } + }, + "range": [ + 11581, + 11595 + ], + "loc": { + "start": { + "line": 368, + "column": 42 + }, + "end": { + "line": 368, + "column": 56 + } + } + } + ], + "range": [ + 11562, + 11596 + ], + "loc": { + "start": { + "line": 368, + "column": 23 + }, + "end": { + "line": 368, + "column": 57 + } + } + }, + "range": [ + 11555, + 11597 + ], + "loc": { + "start": { + "line": 368, + "column": 16 + }, + "end": { + "line": 368, + "column": 58 + } + } + } + ], + "range": [ + 11537, + 11611 + ], + "loc": { + "start": { + "line": 367, + "column": 52 + }, + "end": { + "line": 369, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 11642, + 11649 + ], + "loc": { + "start": { + "line": 370, + "column": 23 + }, + "end": { + "line": 370, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "oNode", + "range": [ + 11650, + 11655 + ], + "loc": { + "start": { + "line": 370, + "column": 31 + }, + "end": { + "line": 370, + "column": 36 + } + } + } + ], + "range": [ + 11642, + 11656 + ], + "loc": { + "start": { + "line": 370, + "column": 23 + }, + "end": { + "line": 370, + "column": 37 + } + } + }, + "range": [ + 11635, + 11657 + ], + "loc": { + "start": { + "line": 370, + "column": 16 + }, + "end": { + "line": 370, + "column": 38 + } + } + } + ], + "range": [ + 11617, + 11671 + ], + "loc": { + "start": { + "line": 369, + "column": 19 + }, + "end": { + "line": 371, + "column": 13 + } + } + }, + "range": [ + 11497, + 11671 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 371, + "column": 13 + } + } + } + ], + "range": [ + 11419, + 11681 + ], + "loc": { + "start": { + "line": 363, + "column": 54 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11402, + 11681 + ], + "loc": { + "start": { + "line": 363, + "column": 37 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + "range": [ + 11373, + 11681 + ], + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + "range": [ + 11373, + 11682 + ], + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 372, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n ", + "range": [ + 11117, + 11364 + ], + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 362, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 6014, + 11688 + ], + "loc": { + "start": { + "line": 213, + "column": 28 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6011, + 11688 + ], + "loc": { + "start": { + "line": 213, + "column": 25 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5990, + 11688 + ], + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 373, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Set SortableTable overrides for TableFilter integration\n ", + "range": [ + 5911, + 5985 + ], + "loc": { + "start": { + "line": 210, + "column": 4 + }, + "end": { + "line": 212, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Adds a sort type\n ", + "range": [ + 11694, + 11729 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 377, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 11734, + 11745 + ], + "loc": { + "start": { + "line": 378, + "column": 4 + }, + "end": { + "line": 378, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "RestElement", + "argument": { + "type": "Identifier", + "name": "args", + "range": [ + 11749, + 11753 + ], + "loc": { + "start": { + "line": 378, + "column": 19 + }, + "end": { + "line": 378, + "column": 23 + } + } + }, + "range": [ + 11746, + 11753 + ], + "loc": { + "start": { + "line": 378, + "column": 16 + }, + "end": { + "line": 378, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ArrayPattern", + "elements": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 11803, + 11805 + ], + "loc": { + "start": { + "line": 380, + "column": 13 + }, + "end": { + "line": 380, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "caster", + "range": [ + 11807, + 11813 + ], + "loc": { + "start": { + "line": 380, + "column": 17 + }, + "end": { + "line": 380, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "sorter", + "range": [ + 11815, + 11821 + ], + "loc": { + "start": { + "line": 380, + "column": 25 + }, + "end": { + "line": 380, + "column": 31 + } + } + } + ], + "range": [ + 11802, + 11822 + ], + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 380, + "column": 32 + } + } + }, + "init": { + "type": "Identifier", + "name": "args", + "range": [ + 11825, + 11829 + ], + "loc": { + "start": { + "line": 380, + "column": 35 + }, + "end": { + "line": 380, + "column": 39 + } + } + }, + "range": [ + 11802, + 11829 + ], + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 380, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 11798, + 11830 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Extract the arguments", + "range": [ + 11765, + 11789 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 11839, + 11852 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 11853, + 11862 + ], + "loc": { + "start": { + "line": 381, + "column": 22 + }, + "end": { + "line": 381, + "column": 31 + } + } + }, + "range": [ + 11839, + 11862 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 11863, + 11874 + ], + "loc": { + "start": { + "line": 381, + "column": 32 + }, + "end": { + "line": 381, + "column": 43 + } + } + }, + "range": [ + 11839, + 11874 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "id", + "range": [ + 11875, + 11877 + ], + "loc": { + "start": { + "line": 381, + "column": 44 + }, + "end": { + "line": 381, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "caster", + "range": [ + 11879, + 11885 + ], + "loc": { + "start": { + "line": 381, + "column": 48 + }, + "end": { + "line": 381, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "sorter", + "range": [ + 11887, + 11893 + ], + "loc": { + "start": { + "line": 381, + "column": 56 + }, + "end": { + "line": 381, + "column": 62 + } + } + } + ], + "range": [ + 11839, + 11894 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 63 + } + } + }, + "range": [ + 11839, + 11895 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 64 + } + } + } + ], + "range": [ + 11755, + 11901 + ], + "loc": { + "start": { + "line": 378, + "column": 25 + }, + "end": { + "line": 382, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11745, + 11901 + ], + "loc": { + "start": { + "line": 378, + "column": 15 + }, + "end": { + "line": 382, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11734, + 11901 + ], + "loc": { + "start": { + "line": 378, + "column": 4 + }, + "end": { + "line": 382, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Adds a sort type\n ", + "range": [ + 11694, + 11729 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 377, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets the sort types on a column basis\n * @private\n ", + "range": [ + 11907, + 11979 + ], + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 387, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setSortTypes", + "range": [ + 11984, + 11996 + ], + "loc": { + "start": { + "line": 388, + "column": 4 + }, + "end": { + "line": 388, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 12013, + 12015 + ], + "loc": { + "start": { + "line": 389, + "column": 12 + }, + "end": { + "line": 389, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12018, + 12022 + ], + "loc": { + "start": { + "line": 389, + "column": 17 + }, + "end": { + "line": 389, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12023, + 12025 + ], + "loc": { + "start": { + "line": 389, + "column": 22 + }, + "end": { + "line": 389, + "column": 24 + } + } + }, + "range": [ + 12018, + 12025 + ], + "loc": { + "start": { + "line": 389, + "column": 17 + }, + "end": { + "line": 389, + "column": 24 + } + } + }, + "range": [ + 12013, + 12025 + ], + "loc": { + "start": { + "line": 389, + "column": 12 + }, + "end": { + "line": 389, + "column": 24 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12039, + 12048 + ], + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 390, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12051, + 12055 + ], + "loc": { + "start": { + "line": 390, + "column": 24 + }, + "end": { + "line": 390, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12056, + 12065 + ], + "loc": { + "start": { + "line": 390, + "column": 29 + }, + "end": { + "line": 390, + "column": 38 + } + } + }, + "range": [ + 12051, + 12065 + ], + "loc": { + "start": { + "line": 390, + "column": 24 + }, + "end": { + "line": 390, + "column": 38 + } + } + }, + "range": [ + 12039, + 12065 + ], + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 390, + "column": 38 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_sortTypes", + "range": [ + 12079, + 12089 + ], + "loc": { + "start": { + "line": 391, + "column": 12 + }, + "end": { + "line": 391, + "column": 22 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12092, + 12094 + ], + "loc": { + "start": { + "line": 391, + "column": 25 + }, + "end": { + "line": 391, + "column": 27 + } + } + }, + "range": [ + 12079, + 12094 + ], + "loc": { + "start": { + "line": 391, + "column": 12 + }, + "end": { + "line": 391, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 12009, + 12095 + ], + "loc": { + "start": { + "line": 389, + "column": 8 + }, + "end": { + "line": 391, + "column": 28 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 12114, + 12115 + ], + "loc": { + "start": { + "line": 393, + "column": 17 + }, + "end": { + "line": 393, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12118, + 12119 + ], + "loc": { + "start": { + "line": 393, + "column": 21 + }, + "end": { + "line": 393, + "column": 22 + } + } + }, + "range": [ + 12114, + 12119 + ], + "loc": { + "start": { + "line": 393, + "column": 17 + }, + "end": { + "line": 393, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 12110, + 12119 + ], + "loc": { + "start": { + "line": 393, + "column": 13 + }, + "end": { + "line": 393, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 12121, + 12122 + ], + "loc": { + "start": { + "line": 393, + "column": 24 + }, + "end": { + "line": 393, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12125, + 12127 + ], + "loc": { + "start": { + "line": 393, + "column": 28 + }, + "end": { + "line": 393, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 12128, + 12135 + ], + "loc": { + "start": { + "line": 393, + "column": 31 + }, + "end": { + "line": 393, + "column": 38 + } + } + }, + "range": [ + 12125, + 12135 + ], + "loc": { + "start": { + "line": 393, + "column": 28 + }, + "end": { + "line": 393, + "column": 38 + } + } + }, + "range": [ + 12121, + 12135 + ], + "loc": { + "start": { + "line": 393, + "column": 24 + }, + "end": { + "line": 393, + "column": 38 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 12137, + 12138 + ], + "loc": { + "start": { + "line": 393, + "column": 40 + }, + "end": { + "line": 393, + "column": 41 + } + } + }, + "prefix": false, + "range": [ + 12137, + 12140 + ], + "loc": { + "start": { + "line": 393, + "column": 40 + }, + "end": { + "line": 393, + "column": 43 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 12160, + 12167 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 23 + } + } + }, + "init": null, + "range": [ + 12160, + 12167 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 12156, + 12168 + ], + "loc": { + "start": { + "line": 394, + "column": 12 + }, + "end": { + "line": 394, + "column": 24 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12185, + 12194 + ], + "loc": { + "start": { + "line": 395, + "column": 16 + }, + "end": { + "line": 395, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 12195, + 12196 + ], + "loc": { + "start": { + "line": 395, + "column": 26 + }, + "end": { + "line": 395, + "column": 27 + } + } + }, + "range": [ + 12185, + 12197 + ], + "loc": { + "start": { + "line": 395, + "column": 16 + }, + "end": { + "line": 395, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12217, + 12224 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12227, + 12236 + ], + "loc": { + "start": { + "line": 396, + "column": 26 + }, + "end": { + "line": 396, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 12237, + 12238 + ], + "loc": { + "start": { + "line": 396, + "column": 36 + }, + "end": { + "line": 396, + "column": 37 + } + } + }, + "range": [ + 12227, + 12239 + ], + "loc": { + "start": { + "line": 396, + "column": 26 + }, + "end": { + "line": 396, + "column": 38 + } + } + }, + "range": [ + 12217, + 12239 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 38 + } + } + }, + "range": [ + 12217, + 12240 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 12261, + 12266 + ], + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 397, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 12267, + 12274 + ], + "loc": { + "start": { + "line": 397, + "column": 26 + }, + "end": { + "line": 397, + "column": 33 + } + } + } + ], + "range": [ + 12261, + 12275 + ], + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 397, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 12303, + 12310 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "type", + "range": [ + 12311, + 12315 + ], + "loc": { + "start": { + "line": 398, + "column": 32 + }, + "end": { + "line": 398, + "column": 36 + } + } + }, + "range": [ + 12303, + 12315 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "DATE", + "range": [ + 12320, + 12324 + ], + "loc": { + "start": { + "line": 398, + "column": 41 + }, + "end": { + "line": 398, + "column": 45 + } + } + }, + "range": [ + 12303, + 12324 + ], + "loc": { + "start": { + "line": 398, + "column": 24 + }, + "end": { + "line": 398, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12352, + 12359 + ], + "loc": { + "start": { + "line": 399, + "column": 24 + }, + "end": { + "line": 399, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12362, + 12366 + ], + "loc": { + "start": { + "line": 399, + "column": 34 + }, + "end": { + "line": 399, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "_addDateType", + "range": [ + 12367, + 12379 + ], + "loc": { + "start": { + "line": 399, + "column": 39 + }, + "end": { + "line": 399, + "column": 51 + } + } + }, + "range": [ + 12362, + 12379 + ], + "loc": { + "start": { + "line": 399, + "column": 34 + }, + "end": { + "line": 399, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 12380, + 12381 + ], + "loc": { + "start": { + "line": 399, + "column": 52 + }, + "end": { + "line": 399, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12383, + 12392 + ], + "loc": { + "start": { + "line": 399, + "column": 55 + }, + "end": { + "line": 399, + "column": 64 + } + } + } + ], + "range": [ + 12362, + 12393 + ], + "loc": { + "start": { + "line": 399, + "column": 34 + }, + "end": { + "line": 399, + "column": 65 + } + } + }, + "range": [ + 12352, + 12393 + ], + "loc": { + "start": { + "line": 399, + "column": 24 + }, + "end": { + "line": 399, + "column": 65 + } + } + }, + "range": [ + 12352, + 12394 + ], + "loc": { + "start": { + "line": 399, + "column": 24 + }, + "end": { + "line": 399, + "column": 66 + } + } + } + ], + "range": [ + 12326, + 12416 + ], + "loc": { + "start": { + "line": 398, + "column": 47 + }, + "end": { + "line": 400, + "column": 21 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 12446, + 12453 + ], + "loc": { + "start": { + "line": 401, + "column": 29 + }, + "end": { + "line": 401, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "type", + "range": [ + 12454, + 12458 + ], + "loc": { + "start": { + "line": 401, + "column": 37 + }, + "end": { + "line": 401, + "column": 41 + } + } + }, + "range": [ + 12446, + 12458 + ], + "loc": { + "start": { + "line": 401, + "column": 29 + }, + "end": { + "line": 401, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 12463, + 12479 + ], + "loc": { + "start": { + "line": 401, + "column": 46 + }, + "end": { + "line": 401, + "column": 62 + } + } + }, + "range": [ + 12446, + 12479 + ], + "loc": { + "start": { + "line": 401, + "column": 29 + }, + "end": { + "line": 401, + "column": 62 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "decimal", + "range": [ + 12511, + 12518 + ], + "loc": { + "start": { + "line": 402, + "column": 28 + }, + "end": { + "line": 402, + "column": 35 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 12521, + 12528 + ], + "loc": { + "start": { + "line": 402, + "column": 38 + }, + "end": { + "line": 402, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 12529, + 12536 + ], + "loc": { + "start": { + "line": 402, + "column": 46 + }, + "end": { + "line": 402, + "column": 53 + } + } + }, + "range": [ + 12521, + 12536 + ], + "loc": { + "start": { + "line": 402, + "column": 38 + }, + "end": { + "line": 402, + "column": 53 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12540, + 12542 + ], + "loc": { + "start": { + "line": 402, + "column": 57 + }, + "end": { + "line": 402, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimalSeparator", + "range": [ + 12543, + 12559 + ], + "loc": { + "start": { + "line": 402, + "column": 60 + }, + "end": { + "line": 402, + "column": 76 + } + } + }, + "range": [ + 12540, + 12559 + ], + "loc": { + "start": { + "line": 402, + "column": 57 + }, + "end": { + "line": 402, + "column": 76 + } + } + }, + "range": [ + 12521, + 12559 + ], + "loc": { + "start": { + "line": 402, + "column": 38 + }, + "end": { + "line": 402, + "column": 76 + } + } + }, + "range": [ + 12511, + 12559 + ], + "loc": { + "start": { + "line": 402, + "column": 28 + }, + "end": { + "line": 402, + "column": 76 + } + } + } + ], + "kind": "let", + "range": [ + 12507, + 12560 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 77 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12585, + 12592 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12595, + 12599 + ], + "loc": { + "start": { + "line": 403, + "column": 34 + }, + "end": { + "line": 403, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "_addNumberType", + "range": [ + 12600, + 12614 + ], + "loc": { + "start": { + "line": 403, + "column": 39 + }, + "end": { + "line": 403, + "column": 53 + } + } + }, + "range": [ + 12595, + 12614 + ], + "loc": { + "start": { + "line": 403, + "column": 34 + }, + "end": { + "line": 403, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 12615, + 12616 + ], + "loc": { + "start": { + "line": 403, + "column": 54 + }, + "end": { + "line": 403, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 12618, + 12625 + ], + "loc": { + "start": { + "line": 403, + "column": 57 + }, + "end": { + "line": 403, + "column": 64 + } + } + } + ], + "range": [ + 12595, + 12626 + ], + "loc": { + "start": { + "line": 403, + "column": 34 + }, + "end": { + "line": 403, + "column": 65 + } + } + }, + "range": [ + 12585, + 12626 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 65 + } + } + }, + "range": [ + 12585, + 12627 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 66 + } + } + } + ], + "range": [ + 12481, + 12649 + ], + "loc": { + "start": { + "line": 401, + "column": 64 + }, + "end": { + "line": 404, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 12442, + 12649 + ], + "loc": { + "start": { + "line": 401, + "column": 25 + }, + "end": { + "line": 404, + "column": 21 + } + } + }, + "range": [ + 12299, + 12649 + ], + "loc": { + "start": { + "line": 398, + "column": 20 + }, + "end": { + "line": 404, + "column": 21 + } + } + } + ], + "range": [ + 12277, + 12667 + ], + "loc": { + "start": { + "line": 397, + "column": 36 + }, + "end": { + "line": 405, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12695, + 12702 + ], + "loc": { + "start": { + "line": 406, + "column": 20 + }, + "end": { + "line": 406, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 12705, + 12712 + ], + "loc": { + "start": { + "line": 406, + "column": 30 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 12713, + 12724 + ], + "loc": { + "start": { + "line": 406, + "column": 38 + }, + "end": { + "line": 406, + "column": 49 + } + } + }, + "range": [ + 12705, + 12724 + ], + "loc": { + "start": { + "line": 406, + "column": 30 + }, + "end": { + "line": 406, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 12705, + 12726 + ], + "loc": { + "start": { + "line": 406, + "column": 30 + }, + "end": { + "line": 406, + "column": 51 + } + } + }, + "range": [ + 12695, + 12726 + ], + "loc": { + "start": { + "line": 406, + "column": 20 + }, + "end": { + "line": 406, + "column": 51 + } + } + }, + "range": [ + 12695, + 12727 + ], + "loc": { + "start": { + "line": 406, + "column": 20 + }, + "end": { + "line": 406, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12752, + 12759 + ], + "loc": { + "start": { + "line": 407, + "column": 24 + }, + "end": { + "line": 407, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "DATE", + "range": [ + 12764, + 12768 + ], + "loc": { + "start": { + "line": 407, + "column": 36 + }, + "end": { + "line": 407, + "column": 40 + } + } + }, + "range": [ + 12752, + 12768 + ], + "loc": { + "start": { + "line": 407, + "column": 24 + }, + "end": { + "line": 407, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12796, + 12803 + ], + "loc": { + "start": { + "line": 408, + "column": 24 + }, + "end": { + "line": 408, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12806, + 12810 + ], + "loc": { + "start": { + "line": 408, + "column": 34 + }, + "end": { + "line": 408, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "_addDateType", + "range": [ + 12811, + 12823 + ], + "loc": { + "start": { + "line": 408, + "column": 39 + }, + "end": { + "line": 408, + "column": 51 + } + } + }, + "range": [ + 12806, + 12823 + ], + "loc": { + "start": { + "line": 408, + "column": 34 + }, + "end": { + "line": 408, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 12824, + 12825 + ], + "loc": { + "start": { + "line": 408, + "column": 52 + }, + "end": { + "line": 408, + "column": 53 + } + } + }, + { + "type": "Identifier", + "name": "sortTypes", + "range": [ + 12827, + 12836 + ], + "loc": { + "start": { + "line": 408, + "column": 55 + }, + "end": { + "line": 408, + "column": 64 + } + } + } + ], + "range": [ + 12806, + 12837 + ], + "loc": { + "start": { + "line": 408, + "column": 34 + }, + "end": { + "line": 408, + "column": 65 + } + } + }, + "range": [ + 12796, + 12837 + ], + "loc": { + "start": { + "line": 408, + "column": 24 + }, + "end": { + "line": 408, + "column": 65 + } + } + }, + "range": [ + 12796, + 12838 + ], + "loc": { + "start": { + "line": 408, + "column": 24 + }, + "end": { + "line": 408, + "column": 66 + } + } + } + ], + "range": [ + 12770, + 12860 + ], + "loc": { + "start": { + "line": 407, + "column": 42 + }, + "end": { + "line": 409, + "column": 21 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12890, + 12897 + ], + "loc": { + "start": { + "line": 410, + "column": 29 + }, + "end": { + "line": 410, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 12902, + 12918 + ], + "loc": { + "start": { + "line": 410, + "column": 41 + }, + "end": { + "line": 410, + "column": 57 + } + } + }, + "range": [ + 12890, + 12918 + ], + "loc": { + "start": { + "line": 410, + "column": 29 + }, + "end": { + "line": 410, + "column": 57 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12946, + 12953 + ], + "loc": { + "start": { + "line": 411, + "column": 24 + }, + "end": { + "line": 411, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 12958, + 12964 + ], + "loc": { + "start": { + "line": 411, + "column": 36 + }, + "end": { + "line": 411, + "column": 42 + } + } + }, + "range": [ + 12946, + 12964 + ], + "loc": { + "start": { + "line": 411, + "column": 24 + }, + "end": { + "line": 411, + "column": 42 + } + } + }, + "range": [ + 12890, + 12964 + ], + "loc": { + "start": { + "line": 410, + "column": 29 + }, + "end": { + "line": 411, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 12992, + 12999 + ], + "loc": { + "start": { + "line": 412, + "column": 24 + }, + "end": { + "line": 412, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13002, + 13006 + ], + "loc": { + "start": { + "line": 412, + "column": 34 + }, + "end": { + "line": 412, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "_addNumberType", + "range": [ + 13007, + 13021 + ], + "loc": { + "start": { + "line": 412, + "column": 39 + }, + "end": { + "line": 412, + "column": 53 + } + } + }, + "range": [ + 13002, + 13021 + ], + "loc": { + "start": { + "line": 412, + "column": 34 + }, + "end": { + "line": 412, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 13022, + 13023 + ], + "loc": { + "start": { + "line": 412, + "column": 54 + }, + "end": { + "line": 412, + "column": 55 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13025, + 13027 + ], + "loc": { + "start": { + "line": 412, + "column": 57 + }, + "end": { + "line": 412, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimalSeparator", + "range": [ + 13028, + 13044 + ], + "loc": { + "start": { + "line": 412, + "column": 60 + }, + "end": { + "line": 412, + "column": 76 + } + } + }, + "range": [ + 13025, + 13044 + ], + "loc": { + "start": { + "line": 412, + "column": 57 + }, + "end": { + "line": 412, + "column": 76 + } + } + } + ], + "range": [ + 13002, + 13045 + ], + "loc": { + "start": { + "line": 412, + "column": 34 + }, + "end": { + "line": 412, + "column": 77 + } + } + }, + "range": [ + 12992, + 13045 + ], + "loc": { + "start": { + "line": 412, + "column": 24 + }, + "end": { + "line": 412, + "column": 77 + } + } + }, + "range": [ + 12992, + 13046 + ], + "loc": { + "start": { + "line": 412, + "column": 24 + }, + "end": { + "line": 412, + "column": 78 + } + } + } + ], + "range": [ + 12966, + 13068 + ], + "loc": { + "start": { + "line": 411, + "column": 44 + }, + "end": { + "line": 413, + "column": 21 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 13098, + 13105 + ], + "loc": { + "start": { + "line": 414, + "column": 29 + }, + "end": { + "line": 414, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 13110, + 13114 + ], + "loc": { + "start": { + "line": 414, + "column": 41 + }, + "end": { + "line": 414, + "column": 45 + } + } + }, + "range": [ + 13098, + 13114 + ], + "loc": { + "start": { + "line": 414, + "column": 29 + }, + "end": { + "line": 414, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 13202, + 13209 + ], + "loc": { + "start": { + "line": 416, + "column": 24 + }, + "end": { + "line": 416, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "None", + "raw": "'None'", + "range": [ + 13212, + 13218 + ], + "loc": { + "start": { + "line": 416, + "column": 34 + }, + "end": { + "line": 416, + "column": 40 + } + } + }, + "range": [ + 13202, + 13218 + ], + "loc": { + "start": { + "line": 416, + "column": 24 + }, + "end": { + "line": 416, + "column": 40 + } + } + }, + "range": [ + 13202, + 13219 + ], + "loc": { + "start": { + "line": 416, + "column": 24 + }, + "end": { + "line": 416, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: normalise 'none' vs 'None'", + "range": [ + 13142, + 13177 + ], + "loc": { + "start": { + "line": 415, + "column": 24 + }, + "end": { + "line": 415, + "column": 59 + } + } + } + ] + } + ], + "range": [ + 13116, + 13241 + ], + "loc": { + "start": { + "line": 414, + "column": 47 + }, + "end": { + "line": 417, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 13094, + 13241 + ], + "loc": { + "start": { + "line": 414, + "column": 25 + }, + "end": { + "line": 417, + "column": 21 + } + } + }, + "range": [ + 12886, + 13241 + ], + "loc": { + "start": { + "line": 410, + "column": 25 + }, + "end": { + "line": 417, + "column": 21 + } + } + }, + "range": [ + 12748, + 13241 + ], + "loc": { + "start": { + "line": 407, + "column": 20 + }, + "end": { + "line": 417, + "column": 21 + } + } + } + ], + "range": [ + 12673, + 13259 + ], + "loc": { + "start": { + "line": 405, + "column": 23 + }, + "end": { + "line": 418, + "column": 17 + } + } + }, + "range": [ + 12257, + 13259 + ], + "loc": { + "start": { + "line": 397, + "column": 16 + }, + "end": { + "line": 418, + "column": 17 + } + } + } + ], + "range": [ + 12199, + 13273 + ], + "loc": { + "start": { + "line": 395, + "column": 30 + }, + "end": { + "line": 419, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 13297, + 13304 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "STRING", + "range": [ + 13307, + 13313 + ], + "loc": { + "start": { + "line": 420, + "column": 26 + }, + "end": { + "line": 420, + "column": 32 + } + } + }, + "range": [ + 13297, + 13313 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 32 + } + } + }, + "range": [ + 13297, + 13314 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 33 + } + } + } + ], + "range": [ + 13279, + 13328 + ], + "loc": { + "start": { + "line": 419, + "column": 19 + }, + "end": { + "line": 421, + "column": 13 + } + } + }, + "range": [ + 12181, + 13328 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 421, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "_sortTypes", + "range": [ + 13341, + 13351 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 13352, + 13356 + ], + "loc": { + "start": { + "line": 422, + "column": 23 + }, + "end": { + "line": 422, + "column": 27 + } + } + }, + "range": [ + 13341, + 13356 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 13357, + 13364 + ], + "loc": { + "start": { + "line": 422, + "column": 28 + }, + "end": { + "line": 422, + "column": 35 + } + } + } + ], + "range": [ + 13341, + 13365 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 36 + } + } + }, + "range": [ + 13341, + 13366 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 37 + } + } + } + ], + "range": [ + 12142, + 13376 + ], + "loc": { + "start": { + "line": 393, + "column": 45 + }, + "end": { + "line": 423, + "column": 9 + } + } + }, + "range": [ + 12105, + 13376 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 423, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Public TF method to add sort type", + "range": [ + 13386, + 13421 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 43 + } + } + }, + { + "type": "Line", + "value": "Custom sort types", + "range": [ + 13431, + 13450 + ], + "loc": { + "start": { + "line": 427, + "column": 8 + }, + "end": { + "line": 427, + "column": 27 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13459, + 13463 + ], + "loc": { + "start": { + "line": 428, + "column": 8 + }, + "end": { + "line": 428, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 13464, + 13475 + ], + "loc": { + "start": { + "line": 428, + "column": 13 + }, + "end": { + "line": 428, + "column": 24 + } + } + }, + "range": [ + 13459, + 13475 + ], + "loc": { + "start": { + "line": 428, + "column": 8 + }, + "end": { + "line": 428, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "caseinsensitivestring", + "raw": "'caseinsensitivestring'", + "range": [ + 13476, + 13499 + ], + "loc": { + "start": { + "line": 428, + "column": 25 + }, + "end": { + "line": 428, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 13501, + 13514 + ], + "loc": { + "start": { + "line": 428, + "column": 50 + }, + "end": { + "line": 428, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "toUpperCase", + "range": [ + 13515, + 13526 + ], + "loc": { + "start": { + "line": 428, + "column": 64 + }, + "end": { + "line": 428, + "column": 75 + } + } + }, + "range": [ + 13501, + 13526 + ], + "loc": { + "start": { + "line": 428, + "column": 50 + }, + "end": { + "line": 428, + "column": 75 + } + } + } + ], + "range": [ + 13459, + 13527 + ], + "loc": { + "start": { + "line": 428, + "column": 8 + }, + "end": { + "line": 428, + "column": 76 + } + } + }, + "range": [ + 13459, + 13528 + ], + "loc": { + "start": { + "line": 428, + "column": 8 + }, + "end": { + "line": 428, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Public TF method to add sort type", + "range": [ + 13386, + 13421 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 43 + } + } + }, + { + "type": "Line", + "value": "Custom sort types", + "range": [ + 13431, + 13450 + ], + "loc": { + "start": { + "line": 427, + "column": 8 + }, + "end": { + "line": 427, + "column": 27 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13537, + 13541 + ], + "loc": { + "start": { + "line": 429, + "column": 8 + }, + "end": { + "line": 429, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 13542, + 13553 + ], + "loc": { + "start": { + "line": 429, + "column": 13 + }, + "end": { + "line": 429, + "column": 24 + } + } + }, + "range": [ + 13537, + 13553 + ], + "loc": { + "start": { + "line": 429, + "column": 8 + }, + "end": { + "line": 429, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "STRING", + "range": [ + 13554, + 13560 + ], + "loc": { + "start": { + "line": 429, + "column": 25 + }, + "end": { + "line": 429, + "column": 31 + } + } + } + ], + "range": [ + 13537, + 13561 + ], + "loc": { + "start": { + "line": 429, + "column": 8 + }, + "end": { + "line": 429, + "column": 32 + } + } + }, + "range": [ + 13537, + 13562 + ], + "loc": { + "start": { + "line": 429, + "column": 8 + }, + "end": { + "line": 429, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13571, + 13575 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 13576, + 13587 + ], + "loc": { + "start": { + "line": 430, + "column": 13 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "range": [ + 13571, + 13587 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "IP_ADDRESS", + "range": [ + 13588, + 13598 + ], + "loc": { + "start": { + "line": 430, + "column": 25 + }, + "end": { + "line": 430, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "ipAddress", + "range": [ + 13600, + 13609 + ], + "loc": { + "start": { + "line": 430, + "column": 37 + }, + "end": { + "line": 430, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "sortIP", + "range": [ + 13611, + 13617 + ], + "loc": { + "start": { + "line": 430, + "column": 48 + }, + "end": { + "line": 430, + "column": 54 + } + } + } + ], + "range": [ + 13571, + 13618 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 55 + } + } + }, + "range": [ + 13571, + 13619 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13629, + 13633 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 432, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 13634, + 13637 + ], + "loc": { + "start": { + "line": 432, + "column": 13 + }, + "end": { + "line": 432, + "column": 16 + } + } + }, + "range": [ + 13629, + 13637 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 432, + "column": 16 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 13644, + 13657 + ], + "loc": { + "start": { + "line": 432, + "column": 23 + }, + "end": { + "line": 432, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13658, + 13660 + ], + "loc": { + "start": { + "line": 432, + "column": 37 + }, + "end": { + "line": 432, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 13661, + 13664 + ], + "loc": { + "start": { + "line": 432, + "column": 40 + }, + "end": { + "line": 432, + "column": 43 + } + } + }, + "range": [ + 13658, + 13664 + ], + "loc": { + "start": { + "line": 432, + "column": 37 + }, + "end": { + "line": 432, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 13658, + 13666 + ], + "loc": { + "start": { + "line": 432, + "column": 37 + }, + "end": { + "line": 432, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "_sortTypes", + "range": [ + 13668, + 13678 + ], + "loc": { + "start": { + "line": 432, + "column": 47 + }, + "end": { + "line": 432, + "column": 57 + } + } + } + ], + "range": [ + 13640, + 13679 + ], + "loc": { + "start": { + "line": 432, + "column": 19 + }, + "end": { + "line": 432, + "column": 58 + } + } + }, + "range": [ + 13629, + 13679 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 432, + "column": 58 + } + } + }, + "range": [ + 13629, + 13680 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 432, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** external table headers adapter **", + "range": [ + 13690, + 13730 + ], + "loc": { + "start": { + "line": 434, + "column": 8 + }, + "end": { + "line": 434, + "column": 48 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13743, + 13747 + ], + "loc": { + "start": { + "line": 435, + "column": 12 + }, + "end": { + "line": 435, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "asyncSort", + "range": [ + 13748, + 13757 + ], + "loc": { + "start": { + "line": 435, + "column": 17 + }, + "end": { + "line": 435, + "column": 26 + } + } + }, + "range": [ + 13743, + 13757 + ], + "loc": { + "start": { + "line": 435, + "column": 12 + }, + "end": { + "line": 435, + "column": 26 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13761, + 13765 + ], + "loc": { + "start": { + "line": 435, + "column": 30 + }, + "end": { + "line": 435, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 13766, + 13776 + ], + "loc": { + "start": { + "line": 435, + "column": 35 + }, + "end": { + "line": 435, + "column": 45 + } + } + }, + "range": [ + 13761, + 13776 + ], + "loc": { + "start": { + "line": 435, + "column": 30 + }, + "end": { + "line": 435, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 13777, + 13783 + ], + "loc": { + "start": { + "line": 435, + "column": 46 + }, + "end": { + "line": 435, + "column": 52 + } + } + }, + "range": [ + 13761, + 13783 + ], + "loc": { + "start": { + "line": 435, + "column": 30 + }, + "end": { + "line": 435, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13786, + 13787 + ], + "loc": { + "start": { + "line": 435, + "column": 55 + }, + "end": { + "line": 435, + "column": 56 + } + } + }, + "range": [ + 13761, + 13787 + ], + "loc": { + "start": { + "line": 435, + "column": 30 + }, + "end": { + "line": 435, + "column": 56 + } + } + }, + "range": [ + 13743, + 13787 + ], + "loc": { + "start": { + "line": 435, + "column": 12 + }, + "end": { + "line": 435, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "triggers", + "range": [ + 13807, + 13815 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13818, + 13822 + ], + "loc": { + "start": { + "line": 436, + "column": 27 + }, + "end": { + "line": 436, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 13823, + 13833 + ], + "loc": { + "start": { + "line": 436, + "column": 32 + }, + "end": { + "line": 436, + "column": 42 + } + } + }, + "range": [ + 13818, + 13833 + ], + "loc": { + "start": { + "line": 436, + "column": 27 + }, + "end": { + "line": 436, + "column": 42 + } + } + }, + "range": [ + 13807, + 13833 + ], + "loc": { + "start": { + "line": 436, + "column": 16 + }, + "end": { + "line": 436, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 13803, + 13834 + ], + "loc": { + "start": { + "line": 436, + "column": 12 + }, + "end": { + "line": 436, + "column": 43 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 13856, + 13857 + ], + "loc": { + "start": { + "line": 437, + "column": 21 + }, + "end": { + "line": 437, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13860, + 13861 + ], + "loc": { + "start": { + "line": 437, + "column": 25 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "range": [ + 13856, + 13861 + ], + "loc": { + "start": { + "line": 437, + "column": 21 + }, + "end": { + "line": 437, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 13852, + 13861 + ], + "loc": { + "start": { + "line": 437, + "column": 17 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 13863, + 13864 + ], + "loc": { + "start": { + "line": 437, + "column": 28 + }, + "end": { + "line": 437, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 13867, + 13875 + ], + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 13876, + 13882 + ], + "loc": { + "start": { + "line": 437, + "column": 41 + }, + "end": { + "line": 437, + "column": 47 + } + } + }, + "range": [ + 13867, + 13882 + ], + "loc": { + "start": { + "line": 437, + "column": 32 + }, + "end": { + "line": 437, + "column": 47 + } + } + }, + "range": [ + 13863, + 13882 + ], + "loc": { + "start": { + "line": 437, + "column": 28 + }, + "end": { + "line": 437, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 13884, + 13885 + ], + "loc": { + "start": { + "line": 437, + "column": 49 + }, + "end": { + "line": 437, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 13884, + 13887 + ], + "loc": { + "start": { + "line": 437, + "column": 49 + }, + "end": { + "line": 437, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 13911, + 13919 + ], + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 438, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 13920, + 13921 + ], + "loc": { + "start": { + "line": 438, + "column": 29 + }, + "end": { + "line": 438, + "column": 30 + } + } + }, + "range": [ + 13911, + 13922 + ], + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 438, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13927, + 13931 + ], + "loc": { + "start": { + "line": 438, + "column": 36 + }, + "end": { + "line": 438, + "column": 40 + } + } + }, + "range": [ + 13911, + 13931 + ], + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 438, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 13955, + 13964 + ], + "loc": { + "start": { + "line": 439, + "column": 20 + }, + "end": { + "line": 439, + "column": 29 + } + } + } + ], + "range": [ + 13933, + 13982 + ], + "loc": { + "start": { + "line": 438, + "column": 42 + }, + "end": { + "line": 440, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 13907, + 13982 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 440, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "trigger", + "range": [ + 14003, + 14010 + ], + "loc": { + "start": { + "line": 441, + "column": 20 + }, + "end": { + "line": 441, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 14013, + 14016 + ], + "loc": { + "start": { + "line": 441, + "column": 30 + }, + "end": { + "line": 441, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 14017, + 14025 + ], + "loc": { + "start": { + "line": 441, + "column": 34 + }, + "end": { + "line": 441, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 14026, + 14027 + ], + "loc": { + "start": { + "line": 441, + "column": 43 + }, + "end": { + "line": 441, + "column": 44 + } + } + }, + "range": [ + 14017, + 14028 + ], + "loc": { + "start": { + "line": 441, + "column": 34 + }, + "end": { + "line": 441, + "column": 45 + } + } + } + ], + "range": [ + 14013, + 14029 + ], + "loc": { + "start": { + "line": 441, + "column": 30 + }, + "end": { + "line": 441, + "column": 46 + } + } + }, + "range": [ + 14003, + 14029 + ], + "loc": { + "start": { + "line": 441, + "column": 20 + }, + "end": { + "line": 441, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 13999, + 14030 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 47 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "trigger", + "range": [ + 14051, + 14058 + ], + "loc": { + "start": { + "line": 442, + "column": 20 + }, + "end": { + "line": 442, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "trigger", + "range": [ + 14082, + 14089 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 14090, + 14095 + ], + "loc": { + "start": { + "line": 443, + "column": 28 + }, + "end": { + "line": 443, + "column": 33 + } + } + }, + "range": [ + 14082, + 14095 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "cursor", + "range": [ + 14096, + 14102 + ], + "loc": { + "start": { + "line": 443, + "column": 34 + }, + "end": { + "line": 443, + "column": 40 + } + } + }, + "range": [ + 14082, + 14102 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": "pointer", + "raw": "'pointer'", + "range": [ + 14105, + 14114 + ], + "loc": { + "start": { + "line": 443, + "column": 43 + }, + "end": { + "line": 443, + "column": 52 + } + } + }, + "range": [ + 14082, + 14114 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 52 + } + } + }, + "range": [ + 14082, + 14115 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 14137, + 14143 + ], + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 445, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "trigger", + "range": [ + 14144, + 14151 + ], + "loc": { + "start": { + "line": 445, + "column": 27 + }, + "end": { + "line": 445, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 14153, + 14160 + ], + "loc": { + "start": { + "line": 445, + "column": 36 + }, + "end": { + "line": 445, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 14163, + 14166 + ], + "loc": { + "start": { + "line": 445, + "column": 46 + }, + "end": { + "line": 445, + "column": 49 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 14201, + 14204 + ], + "loc": { + "start": { + "line": 446, + "column": 28 + }, + "end": { + "line": 446, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 14207, + 14210 + ], + "loc": { + "start": { + "line": 446, + "column": 34 + }, + "end": { + "line": 446, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "target", + "range": [ + 14211, + 14217 + ], + "loc": { + "start": { + "line": 446, + "column": 38 + }, + "end": { + "line": 446, + "column": 44 + } + } + }, + "range": [ + 14207, + 14217 + ], + "loc": { + "start": { + "line": 446, + "column": 34 + }, + "end": { + "line": 446, + "column": 44 + } + } + }, + "range": [ + 14201, + 14217 + ], + "loc": { + "start": { + "line": 446, + "column": 28 + }, + "end": { + "line": 446, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 14197, + 14218 + ], + "loc": { + "start": { + "line": 446, + "column": 24 + }, + "end": { + "line": 446, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14248, + 14252 + ], + "loc": { + "start": { + "line": 447, + "column": 29 + }, + "end": { + "line": 447, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 14253, + 14255 + ], + "loc": { + "start": { + "line": 447, + "column": 34 + }, + "end": { + "line": 447, + "column": 36 + } + } + }, + "range": [ + 14248, + 14255 + ], + "loc": { + "start": { + "line": 447, + "column": 29 + }, + "end": { + "line": 447, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 14256, + 14260 + ], + "loc": { + "start": { + "line": 447, + "column": 37 + }, + "end": { + "line": 447, + "column": 41 + } + } + }, + "range": [ + 14248, + 14260 + ], + "loc": { + "start": { + "line": 447, + "column": 29 + }, + "end": { + "line": 447, + "column": 41 + } + } + }, + "prefix": true, + "range": [ + 14247, + 14260 + ], + "loc": { + "start": { + "line": 447, + "column": 28 + }, + "end": { + "line": 447, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 14292, + 14299 + ], + "loc": { + "start": { + "line": 448, + "column": 28 + }, + "end": { + "line": 448, + "column": 35 + } + } + } + ], + "range": [ + 14262, + 14325 + ], + "loc": { + "start": { + "line": 447, + "column": 43 + }, + "end": { + "line": 449, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 14243, + 14325 + ], + "loc": { + "start": { + "line": 447, + "column": 24 + }, + "end": { + "line": 449, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14350, + 14354 + ], + "loc": { + "start": { + "line": 450, + "column": 24 + }, + "end": { + "line": 450, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 14355, + 14358 + ], + "loc": { + "start": { + "line": 450, + "column": 29 + }, + "end": { + "line": 450, + "column": 32 + } + } + }, + "range": [ + 14350, + 14358 + ], + "loc": { + "start": { + "line": 450, + "column": 24 + }, + "end": { + "line": 450, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "asyncSort", + "range": [ + 14359, + 14368 + ], + "loc": { + "start": { + "line": 450, + "column": 33 + }, + "end": { + "line": 450, + "column": 42 + } + } + }, + "range": [ + 14350, + 14368 + ], + "loc": { + "start": { + "line": 450, + "column": 24 + }, + "end": { + "line": 450, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "triggers", + "range": [ + 14369, + 14377 + ], + "loc": { + "start": { + "line": 450, + "column": 43 + }, + "end": { + "line": 450, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 14378, + 14385 + ], + "loc": { + "start": { + "line": 450, + "column": 52 + }, + "end": { + "line": 450, + "column": 59 + } + } + }, + "range": [ + 14369, + 14385 + ], + "loc": { + "start": { + "line": 450, + "column": 43 + }, + "end": { + "line": 450, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 14386, + 14389 + ], + "loc": { + "start": { + "line": 450, + "column": 60 + }, + "end": { + "line": 450, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 14390, + 14392 + ], + "loc": { + "start": { + "line": 450, + "column": 64 + }, + "end": { + "line": 450, + "column": 66 + } + } + }, + "range": [ + 14386, + 14392 + ], + "loc": { + "start": { + "line": 450, + "column": 60 + }, + "end": { + "line": 450, + "column": 66 + } + } + } + ], + "range": [ + 14369, + 14393 + ], + "loc": { + "start": { + "line": 450, + "column": 43 + }, + "end": { + "line": 450, + "column": 67 + } + } + } + ], + "range": [ + 14350, + 14394 + ], + "loc": { + "start": { + "line": 450, + "column": 24 + }, + "end": { + "line": 450, + "column": 68 + } + } + }, + "range": [ + 14350, + 14395 + ], + "loc": { + "start": { + "line": 450, + "column": 24 + }, + "end": { + "line": 450, + "column": 69 + } + } + } + ], + "range": [ + 14171, + 14417 + ], + "loc": { + "start": { + "line": 445, + "column": 54 + }, + "end": { + "line": 451, + "column": 21 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14162, + 14417 + ], + "loc": { + "start": { + "line": 445, + "column": 45 + }, + "end": { + "line": 451, + "column": 21 + } + } + } + ], + "range": [ + 14137, + 14418 + ], + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 451, + "column": 22 + } + } + }, + "range": [ + 14137, + 14419 + ], + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 451, + "column": 23 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "trigger", + "range": [ + 14440, + 14447 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 14448, + 14460 + ], + "loc": { + "start": { + "line": 452, + "column": 28 + }, + "end": { + "line": 452, + "column": 40 + } + } + }, + "range": [ + 14440, + 14460 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_sortType", + "raw": "'_sortType'", + "range": [ + 14461, + 14472 + ], + "loc": { + "start": { + "line": 452, + "column": 41 + }, + "end": { + "line": 452, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "_sortTypes", + "range": [ + 14474, + 14484 + ], + "loc": { + "start": { + "line": 452, + "column": 54 + }, + "end": { + "line": 452, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 14485, + 14486 + ], + "loc": { + "start": { + "line": 452, + "column": 65 + }, + "end": { + "line": 452, + "column": 66 + } + } + }, + "range": [ + 14474, + 14487 + ], + "loc": { + "start": { + "line": 452, + "column": 54 + }, + "end": { + "line": 452, + "column": 67 + } + } + } + ], + "range": [ + 14440, + 14488 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 68 + } + } + }, + "range": [ + 14440, + 14489 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 69 + } + } + } + ], + "range": [ + 14060, + 14507 + ], + "loc": { + "start": { + "line": 442, + "column": 29 + }, + "end": { + "line": 453, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 14047, + 14507 + ], + "loc": { + "start": { + "line": 442, + "column": 16 + }, + "end": { + "line": 453, + "column": 17 + } + } + } + ], + "range": [ + 13889, + 14521 + ], + "loc": { + "start": { + "line": 437, + "column": 54 + }, + "end": { + "line": 454, + "column": 13 + } + } + }, + "range": [ + 13847, + 14521 + ], + "loc": { + "start": { + "line": 437, + "column": 12 + }, + "end": { + "line": 454, + "column": 13 + } + } + } + ], + "range": [ + 13789, + 14531 + ], + "loc": { + "start": { + "line": 435, + "column": 58 + }, + "end": { + "line": 455, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13739, + 14531 + ], + "loc": { + "start": { + "line": 435, + "column": 8 + }, + "end": { + "line": 455, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** external table headers adapter **", + "range": [ + 13690, + 13730 + ], + "loc": { + "start": { + "line": 434, + "column": 8 + }, + "end": { + "line": 434, + "column": 48 + } + } + } + ] + } + ], + "range": [ + 11999, + 14537 + ], + "loc": { + "start": { + "line": 388, + "column": 19 + }, + "end": { + "line": 456, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11996, + 14537 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 456, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11984, + 14537 + ], + "loc": { + "start": { + "line": 388, + "column": 4 + }, + "end": { + "line": 456, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets the sort types on a column basis\n * @private\n ", + "range": [ + 11907, + 11979 + ], + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 387, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_addDateType", + "range": [ + 14543, + 14555 + ], + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 458, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14556, + 14564 + ], + "loc": { + "start": { + "line": 458, + "column": 17 + }, + "end": { + "line": 458, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 14566, + 14571 + ], + "loc": { + "start": { + "line": 458, + "column": 27 + }, + "end": { + "line": 458, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 14587, + 14589 + ], + "loc": { + "start": { + "line": 459, + "column": 12 + }, + "end": { + "line": 459, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14592, + 14596 + ], + "loc": { + "start": { + "line": 459, + "column": 17 + }, + "end": { + "line": 459, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 14597, + 14599 + ], + "loc": { + "start": { + "line": 459, + "column": 22 + }, + "end": { + "line": 459, + "column": 24 + } + } + }, + "range": [ + 14592, + 14599 + ], + "loc": { + "start": { + "line": 459, + "column": 17 + }, + "end": { + "line": 459, + "column": 24 + } + } + }, + "range": [ + 14587, + 14599 + ], + "loc": { + "start": { + "line": 459, + "column": 12 + }, + "end": { + "line": 459, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 14583, + 14600 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dateType", + "range": [ + 14613, + 14621 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14624, + 14626 + ], + "loc": { + "start": { + "line": 460, + "column": 23 + }, + "end": { + "line": 460, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 14627, + 14634 + ], + "loc": { + "start": { + "line": 460, + "column": 26 + }, + "end": { + "line": 460, + "column": 33 + } + } + }, + "range": [ + 14624, + 14634 + ], + "loc": { + "start": { + "line": 460, + "column": 23 + }, + "end": { + "line": 460, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "dateType", + "raw": "'dateType'", + "range": [ + 14635, + 14645 + ], + "loc": { + "start": { + "line": 460, + "column": 34 + }, + "end": { + "line": 460, + "column": 44 + } + } + } + ], + "range": [ + 14624, + 14646 + ], + "loc": { + "start": { + "line": 460, + "column": 23 + }, + "end": { + "line": 460, + "column": 45 + } + } + }, + "range": [ + 14613, + 14646 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 14609, + 14647 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "locale", + "range": [ + 14660, + 14666 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 18 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 14669, + 14677 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getOptions", + "range": [ + 14678, + 14688 + ], + "loc": { + "start": { + "line": 461, + "column": 30 + }, + "end": { + "line": 461, + "column": 40 + } + } + }, + "range": [ + 14669, + 14688 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14689, + 14697 + ], + "loc": { + "start": { + "line": 461, + "column": 41 + }, + "end": { + "line": 461, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 14699, + 14704 + ], + "loc": { + "start": { + "line": 461, + "column": 51 + }, + "end": { + "line": 461, + "column": 56 + } + } + } + ], + "range": [ + 14669, + 14705 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 14706, + 14712 + ], + "loc": { + "start": { + "line": 461, + "column": 58 + }, + "end": { + "line": 461, + "column": 64 + } + } + }, + "range": [ + 14669, + 14712 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 64 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14716, + 14718 + ], + "loc": { + "start": { + "line": 461, + "column": 68 + }, + "end": { + "line": 461, + "column": 70 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 14719, + 14725 + ], + "loc": { + "start": { + "line": 461, + "column": 71 + }, + "end": { + "line": 461, + "column": 77 + } + } + }, + "range": [ + 14716, + 14725 + ], + "loc": { + "start": { + "line": 461, + "column": 68 + }, + "end": { + "line": 461, + "column": 77 + } + } + }, + "range": [ + 14669, + 14725 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 77 + } + } + }, + "range": [ + 14660, + 14725 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 77 + } + } + } + ], + "kind": "let", + "range": [ + 14656, + 14726 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 78 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 14739, + 14746 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 19 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 14749, + 14752 + ], + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 25 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "-", + "cooked": "-" + }, + "tail": false, + "range": [ + 14756, + 14760 + ], + "loc": { + "start": { + "line": 462, + "column": 29 + }, + "end": { + "line": 462, + "column": 33 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 14766, + 14768 + ], + "loc": { + "start": { + "line": 462, + "column": 39 + }, + "end": { + "line": 462, + "column": 41 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "DATE", + "range": [ + 14752, + 14756 + ], + "loc": { + "start": { + "line": 462, + "column": 25 + }, + "end": { + "line": 462, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 14760, + 14766 + ], + "loc": { + "start": { + "line": 462, + "column": 33 + }, + "end": { + "line": 462, + "column": 39 + } + } + } + ], + "range": [ + 14749, + 14768 + ], + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 41 + } + } + }, + "range": [ + 14739, + 14768 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 14735, + 14769 + ], + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 462, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14779, + 14783 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 14784, + 14795 + ], + "loc": { + "start": { + "line": 464, + "column": 13 + }, + "end": { + "line": 464, + "column": 24 + } + } + }, + "range": [ + 14779, + 14795 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 14796, + 14803 + ], + "loc": { + "start": { + "line": 464, + "column": 25 + }, + "end": { + "line": 464, + "column": 32 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 14806, + 14811 + ], + "loc": { + "start": { + "line": 464, + "column": 35 + }, + "end": { + "line": 464, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "parsedDate", + "range": [ + 14834, + 14844 + ], + "loc": { + "start": { + "line": 465, + "column": 16 + }, + "end": { + "line": 465, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 14847, + 14855 + ], + "loc": { + "start": { + "line": 465, + "column": 29 + }, + "end": { + "line": 465, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 14856, + 14861 + ], + "loc": { + "start": { + "line": 465, + "column": 38 + }, + "end": { + "line": 465, + "column": 43 + } + } + }, + "range": [ + 14847, + 14861 + ], + "loc": { + "start": { + "line": 465, + "column": 29 + }, + "end": { + "line": 465, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 14862, + 14867 + ], + "loc": { + "start": { + "line": 465, + "column": 44 + }, + "end": { + "line": 465, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 14869, + 14875 + ], + "loc": { + "start": { + "line": 465, + "column": 51 + }, + "end": { + "line": 465, + "column": 57 + } + } + } + ], + "range": [ + 14847, + 14876 + ], + "loc": { + "start": { + "line": 465, + "column": 29 + }, + "end": { + "line": 465, + "column": 58 + } + } + }, + "range": [ + 14834, + 14876 + ], + "loc": { + "start": { + "line": 465, + "column": 16 + }, + "end": { + "line": 465, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 14830, + 14877 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Invalid date defaults to Wed Feb 04 -768 11:00:00", + "range": [ + 14890, + 14942 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 64 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 14962, + 14967 + ], + "loc": { + "start": { + "line": 467, + "column": 19 + }, + "end": { + "line": 467, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "UnaryExpression", + "operator": "+", + "argument": { + "type": "Identifier", + "name": "parsedDate", + "range": [ + 14969, + 14979 + ], + "loc": { + "start": { + "line": 467, + "column": 26 + }, + "end": { + "line": 467, + "column": 36 + } + } + }, + "prefix": true, + "range": [ + 14968, + 14979 + ], + "loc": { + "start": { + "line": 467, + "column": 25 + }, + "end": { + "line": 467, + "column": 36 + } + } + } + ], + "range": [ + 14962, + 14980 + ], + "loc": { + "start": { + "line": 467, + "column": 19 + }, + "end": { + "line": 467, + "column": 37 + } + } + }, + "consequent": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Date", + "range": [ + 14987, + 14991 + ], + "loc": { + "start": { + "line": 467, + "column": 44 + }, + "end": { + "line": 467, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 86400000000000, + "raw": "86400000000000", + "range": [ + 14993, + 15007 + ], + "loc": { + "start": { + "line": 467, + "column": 50 + }, + "end": { + "line": 467, + "column": 64 + } + } + }, + "prefix": true, + "range": [ + 14992, + 15007 + ], + "loc": { + "start": { + "line": 467, + "column": 49 + }, + "end": { + "line": 467, + "column": 64 + } + } + } + ], + "range": [ + 14983, + 15008 + ], + "loc": { + "start": { + "line": 467, + "column": 40 + }, + "end": { + "line": 467, + "column": 65 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "parsedDate", + "range": [ + 15011, + 15021 + ], + "loc": { + "start": { + "line": 467, + "column": 68 + }, + "end": { + "line": 467, + "column": 78 + } + } + }, + "range": [ + 14962, + 15021 + ], + "loc": { + "start": { + "line": 467, + "column": 19 + }, + "end": { + "line": 467, + "column": 78 + } + } + }, + "range": [ + 14955, + 15022 + ], + "loc": { + "start": { + "line": 467, + "column": 12 + }, + "end": { + "line": 467, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Invalid date defaults to Wed Feb 04 -768 11:00:00", + "range": [ + 14890, + 14942 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 64 + } + } + } + ] + } + ], + "range": [ + 14816, + 15032 + ], + "loc": { + "start": { + "line": 464, + "column": 45 + }, + "end": { + "line": 468, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14805, + 15032 + ], + "loc": { + "start": { + "line": 464, + "column": 34 + }, + "end": { + "line": 468, + "column": 9 + } + } + } + ], + "range": [ + 14779, + 15033 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 468, + "column": 10 + } + } + }, + "range": [ + 14779, + 15034 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 468, + "column": 11 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "colType", + "range": [ + 15050, + 15057 + ], + "loc": { + "start": { + "line": 469, + "column": 15 + }, + "end": { + "line": 469, + "column": 22 + } + } + }, + "range": [ + 15043, + 15058 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 23 + } + } + } + ], + "range": [ + 14573, + 15064 + ], + "loc": { + "start": { + "line": 458, + "column": 34 + }, + "end": { + "line": 470, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14555, + 15064 + ], + "loc": { + "start": { + "line": 458, + "column": 16 + }, + "end": { + "line": 470, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 14543, + 15064 + ], + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 470, + "column": 5 + } + }, + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_addNumberType", + "range": [ + 15070, + 15084 + ], + "loc": { + "start": { + "line": 472, + "column": 4 + }, + "end": { + "line": 472, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 15085, + 15093 + ], + "loc": { + "start": { + "line": 472, + "column": 19 + }, + "end": { + "line": 472, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 15095, + 15102 + ], + "loc": { + "start": { + "line": 472, + "column": 29 + }, + "end": { + "line": 472, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 15118, + 15125 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 19 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 15128, + 15131 + ], + "loc": { + "start": { + "line": 473, + "column": 22 + }, + "end": { + "line": 473, + "column": 25 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 15147, + 15150 + ], + "loc": { + "start": { + "line": 473, + "column": 41 + }, + "end": { + "line": 473, + "column": 44 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 15182, + 15184 + ], + "loc": { + "start": { + "line": 473, + "column": 76 + }, + "end": { + "line": 473, + "column": 78 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 15131, + 15147 + ], + "loc": { + "start": { + "line": 473, + "column": 25 + }, + "end": { + "line": 473, + "column": 41 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "decimal", + "range": [ + 15150, + 15157 + ], + "loc": { + "start": { + "line": 473, + "column": 44 + }, + "end": { + "line": 473, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 15162, + 15165 + ], + "loc": { + "start": { + "line": 473, + "column": 56 + }, + "end": { + "line": 473, + "column": 59 + } + } + }, + "range": [ + 15150, + 15165 + ], + "loc": { + "start": { + "line": 473, + "column": 44 + }, + "end": { + "line": 473, + "column": 59 + } + } + }, + "consequent": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 15168, + 15170 + ], + "loc": { + "start": { + "line": 473, + "column": 62 + }, + "end": { + "line": 473, + "column": 64 + } + } + }, + "alternate": { + "type": "Literal", + "value": "-custom", + "raw": "'-custom'", + "range": [ + 15173, + 15182 + ], + "loc": { + "start": { + "line": 473, + "column": 67 + }, + "end": { + "line": 473, + "column": 76 + } + } + }, + "range": [ + 15150, + 15182 + ], + "loc": { + "start": { + "line": 473, + "column": 44 + }, + "end": { + "line": 473, + "column": 76 + } + } + } + ], + "range": [ + 15128, + 15184 + ], + "loc": { + "start": { + "line": 473, + "column": 22 + }, + "end": { + "line": 473, + "column": 78 + } + } + }, + "range": [ + 15118, + 15184 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 78 + } + } + } + ], + "kind": "let", + "range": [ + 15114, + 15185 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 79 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15195, + 15199 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addSortType", + "range": [ + 15200, + 15211 + ], + "loc": { + "start": { + "line": 475, + "column": 13 + }, + "end": { + "line": 475, + "column": 24 + } + } + }, + "range": [ + 15195, + 15211 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 15212, + 15219 + ], + "loc": { + "start": { + "line": 475, + "column": 25 + }, + "end": { + "line": 475, + "column": 32 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 15222, + 15227 + ], + "loc": { + "start": { + "line": 475, + "column": 35 + }, + "end": { + "line": 475, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 15253, + 15260 + ], + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 15261, + 15266 + ], + "loc": { + "start": { + "line": 476, + "column": 27 + }, + "end": { + "line": 476, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 15268, + 15275 + ], + "loc": { + "start": { + "line": 476, + "column": 34 + }, + "end": { + "line": 476, + "column": 41 + } + } + } + ], + "range": [ + 15253, + 15276 + ], + "loc": { + "start": { + "line": 476, + "column": 19 + }, + "end": { + "line": 476, + "column": 42 + } + } + }, + "range": [ + 15246, + 15277 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 43 + } + } + } + ], + "range": [ + 15232, + 15287 + ], + "loc": { + "start": { + "line": 475, + "column": 45 + }, + "end": { + "line": 477, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15221, + 15287 + ], + "loc": { + "start": { + "line": 475, + "column": 34 + }, + "end": { + "line": 477, + "column": 9 + } + } + } + ], + "range": [ + 15195, + 15288 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 477, + "column": 10 + } + } + }, + "range": [ + 15195, + 15289 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 477, + "column": 11 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "colType", + "range": [ + 15305, + 15312 + ], + "loc": { + "start": { + "line": 478, + "column": 15 + }, + "end": { + "line": 478, + "column": 22 + } + } + }, + "range": [ + 15298, + 15313 + ], + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 23 + } + } + } + ], + "range": [ + 15104, + 15319 + ], + "loc": { + "start": { + "line": 472, + "column": 38 + }, + "end": { + "line": 479, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15084, + 15319 + ], + "loc": { + "start": { + "line": 472, + "column": 18 + }, + "end": { + "line": 479, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15070, + 15319 + ], + "loc": { + "start": { + "line": 472, + "column": 4 + }, + "end": { + "line": 479, + "column": 5 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove extension\n ", + "range": [ + 15325, + 15360 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 15365, + 15372 + ], + "loc": { + "start": { + "line": 484, + "column": 4 + }, + "end": { + "line": 484, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15390, + 15394 + ], + "loc": { + "start": { + "line": 485, + "column": 13 + }, + "end": { + "line": 485, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 15395, + 15406 + ], + "loc": { + "start": { + "line": 485, + "column": 18 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "range": [ + 15390, + 15406 + ], + "loc": { + "start": { + "line": 485, + "column": 13 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 15389, + 15406 + ], + "loc": { + "start": { + "line": 485, + "column": 12 + }, + "end": { + "line": 485, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 15422, + 15429 + ], + "loc": { + "start": { + "line": 486, + "column": 12 + }, + "end": { + "line": 486, + "column": 19 + } + } + } + ], + "range": [ + 15408, + 15439 + ], + "loc": { + "start": { + "line": 485, + "column": 31 + }, + "end": { + "line": 487, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15385, + 15439 + ], + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 487, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 15452, + 15454 + ], + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15457, + 15461 + ], + "loc": { + "start": { + "line": 488, + "column": 17 + }, + "end": { + "line": 488, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 15462, + 15464 + ], + "loc": { + "start": { + "line": 488, + "column": 22 + }, + "end": { + "line": 488, + "column": 24 + } + } + }, + "range": [ + 15457, + 15464 + ], + "loc": { + "start": { + "line": 488, + "column": 17 + }, + "end": { + "line": 488, + "column": 24 + } + } + }, + "range": [ + 15452, + 15464 + ], + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 15448, + 15465 + ], + "loc": { + "start": { + "line": 488, + "column": 8 + }, + "end": { + "line": 488, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15474, + 15478 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 489, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 15479, + 15486 + ], + "loc": { + "start": { + "line": 489, + "column": 13 + }, + "end": { + "line": 489, + "column": 20 + } + } + }, + "range": [ + 15474, + 15486 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 489, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 15487, + 15490 + ], + "loc": { + "start": { + "line": 489, + "column": 21 + }, + "end": { + "line": 489, + "column": 24 + } + } + }, + "range": [ + 15474, + 15490 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 489, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "sort", + "raw": "'sort'", + "range": [ + 15492, + 15498 + ], + "loc": { + "start": { + "line": 489, + "column": 26 + }, + "end": { + "line": 489, + "column": 32 + } + } + } + ], + "range": [ + 15491, + 15499 + ], + "loc": { + "start": { + "line": 489, + "column": 25 + }, + "end": { + "line": 489, + "column": 33 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 15514, + 15516 + ], + "loc": { + "start": { + "line": 490, + "column": 13 + }, + "end": { + "line": 490, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 15518, + 15524 + ], + "loc": { + "start": { + "line": 490, + "column": 17 + }, + "end": { + "line": 490, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 15526, + 15530 + ], + "loc": { + "start": { + "line": 490, + "column": 25 + }, + "end": { + "line": 490, + "column": 29 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15535, + 15539 + ], + "loc": { + "start": { + "line": 490, + "column": 34 + }, + "end": { + "line": 490, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortByColumnIndex", + "range": [ + 15540, + 15557 + ], + "loc": { + "start": { + "line": 490, + "column": 39 + }, + "end": { + "line": 490, + "column": 56 + } + } + }, + "range": [ + 15535, + 15557 + ], + "loc": { + "start": { + "line": 490, + "column": 34 + }, + "end": { + "line": 490, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 15558, + 15564 + ], + "loc": { + "start": { + "line": 490, + "column": 57 + }, + "end": { + "line": 490, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "desc", + "range": [ + 15566, + 15570 + ], + "loc": { + "start": { + "line": 490, + "column": 65 + }, + "end": { + "line": 490, + "column": 69 + } + } + } + ], + "range": [ + 15535, + 15571 + ], + "loc": { + "start": { + "line": 490, + "column": 34 + }, + "end": { + "line": 490, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 15513, + 15571 + ], + "loc": { + "start": { + "line": 490, + "column": 12 + }, + "end": { + "line": 490, + "column": 70 + } + } + } + ], + "range": [ + 15474, + 15572 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 490, + "column": 71 + } + } + }, + "range": [ + 15474, + 15573 + ], + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 490, + "column": 72 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15582, + 15586 + ], + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sorted", + "range": [ + 15587, + 15593 + ], + "loc": { + "start": { + "line": 491, + "column": 13 + }, + "end": { + "line": 491, + "column": 19 + } + } + }, + "range": [ + 15582, + 15593 + ], + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 15596, + 15601 + ], + "loc": { + "start": { + "line": 491, + "column": 22 + }, + "end": { + "line": 491, + "column": 27 + } + } + }, + "range": [ + 15582, + 15601 + ], + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 27 + } + } + }, + "range": [ + 15582, + 15602 + ], + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15611, + 15615 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stt", + "range": [ + 15616, + 15619 + ], + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 16 + } + } + }, + "range": [ + 15611, + 15619 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 15620, + 15627 + ], + "loc": { + "start": { + "line": 492, + "column": 17 + }, + "end": { + "line": 492, + "column": 24 + } + } + }, + "range": [ + 15611, + 15627 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 24 + } + } + }, + "arguments": [], + "range": [ + 15611, + 15629 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 26 + } + } + }, + "range": [ + 15611, + 15630 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ids", + "range": [ + 15644, + 15647 + ], + "loc": { + "start": { + "line": 494, + "column": 12 + }, + "end": { + "line": 494, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15650, + 15652 + ], + "loc": { + "start": { + "line": 494, + "column": 18 + }, + "end": { + "line": 494, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersId", + "range": [ + 15653, + 15665 + ], + "loc": { + "start": { + "line": 494, + "column": 21 + }, + "end": { + "line": 494, + "column": 33 + } + } + }, + "range": [ + 15650, + 15665 + ], + "loc": { + "start": { + "line": 494, + "column": 18 + }, + "end": { + "line": 494, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 15650, + 15667 + ], + "loc": { + "start": { + "line": 494, + "column": 18 + }, + "end": { + "line": 494, + "column": 35 + } + } + }, + "range": [ + 15644, + 15667 + ], + "loc": { + "start": { + "line": 494, + "column": 12 + }, + "end": { + "line": 494, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 15640, + 15668 + ], + "loc": { + "start": { + "line": 494, + "column": 8 + }, + "end": { + "line": 494, + "column": 36 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 15686, + 15689 + ], + "loc": { + "start": { + "line": 495, + "column": 17 + }, + "end": { + "line": 495, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15692, + 15693 + ], + "loc": { + "start": { + "line": 495, + "column": 23 + }, + "end": { + "line": 495, + "column": 24 + } + } + }, + "range": [ + 15686, + 15693 + ], + "loc": { + "start": { + "line": 495, + "column": 17 + }, + "end": { + "line": 495, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 15682, + 15693 + ], + "loc": { + "start": { + "line": 495, + "column": 13 + }, + "end": { + "line": 495, + "column": 24 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "idx", + "range": [ + 15695, + 15698 + ], + "loc": { + "start": { + "line": 495, + "column": 26 + }, + "end": { + "line": 495, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ids", + "range": [ + 15701, + 15704 + ], + "loc": { + "start": { + "line": 495, + "column": 32 + }, + "end": { + "line": 495, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 15705, + 15711 + ], + "loc": { + "start": { + "line": 495, + "column": 36 + }, + "end": { + "line": 495, + "column": 42 + } + } + }, + "range": [ + 15701, + 15711 + ], + "loc": { + "start": { + "line": 495, + "column": 32 + }, + "end": { + "line": 495, + "column": 42 + } + } + }, + "range": [ + 15695, + 15711 + ], + "loc": { + "start": { + "line": 495, + "column": 26 + }, + "end": { + "line": 495, + "column": 42 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "idx", + "range": [ + 15713, + 15716 + ], + "loc": { + "start": { + "line": 495, + "column": 44 + }, + "end": { + "line": 495, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 15713, + 15718 + ], + "loc": { + "start": { + "line": 495, + "column": 44 + }, + "end": { + "line": 495, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 15738, + 15744 + ], + "loc": { + "start": { + "line": 496, + "column": 16 + }, + "end": { + "line": 496, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15747, + 15749 + ], + "loc": { + "start": { + "line": 496, + "column": 25 + }, + "end": { + "line": 496, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 15750, + 15766 + ], + "loc": { + "start": { + "line": 496, + "column": 28 + }, + "end": { + "line": 496, + "column": 44 + } + } + }, + "range": [ + 15747, + 15766 + ], + "loc": { + "start": { + "line": 496, + "column": 25 + }, + "end": { + "line": 496, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 15767, + 15770 + ], + "loc": { + "start": { + "line": 496, + "column": 45 + }, + "end": { + "line": 496, + "column": 48 + } + } + } + ], + "range": [ + 15747, + 15771 + ], + "loc": { + "start": { + "line": 496, + "column": 25 + }, + "end": { + "line": 496, + "column": 49 + } + } + }, + "range": [ + 15738, + 15771 + ], + "loc": { + "start": { + "line": 496, + "column": 16 + }, + "end": { + "line": 496, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 15734, + 15772 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "img", + "range": [ + 15789, + 15792 + ], + "loc": { + "start": { + "line": 497, + "column": 16 + }, + "end": { + "line": 497, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 15795, + 15798 + ], + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 497, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "header", + "range": [ + 15799, + 15805 + ], + "loc": { + "start": { + "line": 497, + "column": 26 + }, + "end": { + "line": 497, + "column": 32 + } + } + }, + { + "type": "Literal", + "value": "img", + "raw": "'img'", + "range": [ + 15807, + 15812 + ], + "loc": { + "start": { + "line": 497, + "column": 34 + }, + "end": { + "line": 497, + "column": 39 + } + } + } + ], + "range": [ + 15795, + 15813 + ], + "loc": { + "start": { + "line": 497, + "column": 22 + }, + "end": { + "line": 497, + "column": 40 + } + } + }, + "range": [ + 15789, + 15813 + ], + "loc": { + "start": { + "line": 497, + "column": 16 + }, + "end": { + "line": 497, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 15785, + 15814 + ], + "loc": { + "start": { + "line": 497, + "column": 12 + }, + "end": { + "line": 497, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "img", + "range": [ + 15832, + 15835 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 15836, + 15842 + ], + "loc": { + "start": { + "line": 499, + "column": 20 + }, + "end": { + "line": 499, + "column": 26 + } + } + }, + "range": [ + 15832, + 15842 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15847, + 15848 + ], + "loc": { + "start": { + "line": 499, + "column": 31 + }, + "end": { + "line": 499, + "column": 32 + } + } + }, + "range": [ + 15832, + 15848 + ], + "loc": { + "start": { + "line": 499, + "column": 16 + }, + "end": { + "line": 499, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 15868, + 15874 + ], + "loc": { + "start": { + "line": 500, + "column": 16 + }, + "end": { + "line": 500, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeChild", + "range": [ + 15875, + 15886 + ], + "loc": { + "start": { + "line": 500, + "column": 23 + }, + "end": { + "line": 500, + "column": 34 + } + } + }, + "range": [ + 15868, + 15886 + ], + "loc": { + "start": { + "line": 500, + "column": 16 + }, + "end": { + "line": 500, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "img", + "range": [ + 15887, + 15890 + ], + "loc": { + "start": { + "line": 500, + "column": 35 + }, + "end": { + "line": 500, + "column": 38 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15891, + 15892 + ], + "loc": { + "start": { + "line": 500, + "column": 39 + }, + "end": { + "line": 500, + "column": 40 + } + } + }, + "range": [ + 15887, + 15893 + ], + "loc": { + "start": { + "line": 500, + "column": 35 + }, + "end": { + "line": 500, + "column": 41 + } + } + } + ], + "range": [ + 15868, + 15894 + ], + "loc": { + "start": { + "line": 500, + "column": 16 + }, + "end": { + "line": 500, + "column": 42 + } + } + }, + "range": [ + 15868, + 15895 + ], + "loc": { + "start": { + "line": 500, + "column": 16 + }, + "end": { + "line": 500, + "column": 43 + } + } + } + ], + "range": [ + 15850, + 15909 + ], + "loc": { + "start": { + "line": 499, + "column": 34 + }, + "end": { + "line": 501, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 15828, + 15909 + ], + "loc": { + "start": { + "line": 499, + "column": 12 + }, + "end": { + "line": 501, + "column": 13 + } + } + } + ], + "range": [ + 15720, + 15919 + ], + "loc": { + "start": { + "line": 495, + "column": 51 + }, + "end": { + "line": 502, + "column": 9 + } + } + }, + "range": [ + 15677, + 15919 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 502, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15928, + 15932 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 15933, + 15944 + ], + "loc": { + "start": { + "line": 503, + "column": 13 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "range": [ + 15928, + 15944 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 15947, + 15952 + ], + "loc": { + "start": { + "line": 503, + "column": 27 + }, + "end": { + "line": 503, + "column": 32 + } + } + }, + "range": [ + 15928, + 15952 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 32 + } + } + }, + "range": [ + 15928, + 15953 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 33 + } + } + } + ], + "range": [ + 15375, + 15959 + ], + "loc": { + "start": { + "line": 484, + "column": 14 + }, + "end": { + "line": 504, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15372, + 15959 + ], + "loc": { + "start": { + "line": 484, + "column": 11 + }, + "end": { + "line": 504, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15365, + 15959 + ], + "loc": { + "start": { + "line": 484, + "column": 4 + }, + "end": { + "line": 504, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove extension\n ", + "range": [ + 15325, + 15360 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 518, + 15962 + ], + "loc": { + "start": { + "line": 15, + "column": 58 + }, + "end": { + "line": 506, + "column": 1 + } + } + }, + "range": [ + 475, + 15962 + ], + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 506, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * SortableTable Adapter module\n ", + "range": [ + 420, + 459 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Converters", + "range": [ + 15964, + 15976 + ], + "loc": { + "start": { + "line": 508, + "column": 0 + }, + "end": { + "line": 508, + "column": 12 + } + } + } + ] + }, + "range": [ + 460, + 15962 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 506, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * SortableTable Adapter module\n ", + "range": [ + 420, + 459 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Converters", + "range": [ + 15964, + 15976 + ], + "loc": { + "start": { + "line": 508, + "column": 0 + }, + "end": { + "line": 508, + "column": 12 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "ipAddress", + "range": [ + 15986, + 15995 + ], + "loc": { + "start": { + "line": 509, + "column": 9 + }, + "end": { + "line": 509, + "column": 18 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 15996, + 16001 + ], + "loc": { + "start": { + "line": 509, + "column": 19 + }, + "end": { + "line": 509, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "vals", + "range": [ + 16013, + 16017 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 12 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "value", + "range": [ + 16020, + 16025 + ], + "loc": { + "start": { + "line": 510, + "column": 15 + }, + "end": { + "line": 510, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 16026, + 16031 + ], + "loc": { + "start": { + "line": 510, + "column": 21 + }, + "end": { + "line": 510, + "column": 26 + } + } + }, + "range": [ + 16020, + 16031 + ], + "loc": { + "start": { + "line": 510, + "column": 15 + }, + "end": { + "line": 510, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 16032, + 16035 + ], + "loc": { + "start": { + "line": 510, + "column": 27 + }, + "end": { + "line": 510, + "column": 30 + } + } + } + ], + "range": [ + 16020, + 16036 + ], + "loc": { + "start": { + "line": 510, + "column": 15 + }, + "end": { + "line": 510, + "column": 31 + } + } + }, + "range": [ + 16013, + 16036 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 31 + } + } + } + ], + "kind": "let", + "range": [ + 16009, + 16037 + ], + "loc": { + "start": { + "line": 510, + "column": 4 + }, + "end": { + "line": 510, + "column": 32 + } + } + }, + { + "type": "ForInStatement", + "left": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "x", + "range": [ + 16051, + 16052 + ], + "loc": { + "start": { + "line": 511, + "column": 13 + }, + "end": { + "line": 511, + "column": 14 + } + } + }, + "init": null, + "range": [ + 16051, + 16052 + ], + "loc": { + "start": { + "line": 511, + "column": 13 + }, + "end": { + "line": 511, + "column": 14 + } + } + } + ], + "kind": "let", + "range": [ + 16047, + 16052 + ], + "loc": { + "start": { + "line": 511, + "column": 9 + }, + "end": { + "line": 511, + "column": 14 + } + } + }, + "right": { + "type": "Identifier", + "name": "vals", + "range": [ + 16056, + 16060 + ], + "loc": { + "start": { + "line": 511, + "column": 18 + }, + "end": { + "line": 511, + "column": 22 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "val", + "range": [ + 16076, + 16079 + ], + "loc": { + "start": { + "line": 512, + "column": 12 + }, + "end": { + "line": 512, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "vals", + "range": [ + 16082, + 16086 + ], + "loc": { + "start": { + "line": 512, + "column": 18 + }, + "end": { + "line": 512, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "x", + "range": [ + 16087, + 16088 + ], + "loc": { + "start": { + "line": 512, + "column": 23 + }, + "end": { + "line": 512, + "column": 24 + } + } + }, + "range": [ + 16082, + 16089 + ], + "loc": { + "start": { + "line": 512, + "column": 18 + }, + "end": { + "line": 512, + "column": 25 + } + } + }, + "range": [ + 16076, + 16089 + ], + "loc": { + "start": { + "line": 512, + "column": 12 + }, + "end": { + "line": 512, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 16072, + 16090 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 26 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 16106, + 16107 + ], + "loc": { + "start": { + "line": 513, + "column": 15 + }, + "end": { + "line": 513, + "column": 16 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "val", + "range": [ + 16110, + 16113 + ], + "loc": { + "start": { + "line": 513, + "column": 19 + }, + "end": { + "line": 513, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 16114, + 16120 + ], + "loc": { + "start": { + "line": 513, + "column": 23 + }, + "end": { + "line": 513, + "column": 29 + } + } + }, + "range": [ + 16110, + 16120 + ], + "loc": { + "start": { + "line": 513, + "column": 19 + }, + "end": { + "line": 513, + "column": 29 + } + } + }, + "range": [ + 16106, + 16120 + ], + "loc": { + "start": { + "line": 513, + "column": 15 + }, + "end": { + "line": 513, + "column": 29 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "val", + "range": [ + 16136, + 16139 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 15 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 16142, + 16145 + ], + "loc": { + "start": { + "line": 514, + "column": 18 + }, + "end": { + "line": 514, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "val", + "range": [ + 16148, + 16151 + ], + "loc": { + "start": { + "line": 514, + "column": 24 + }, + "end": { + "line": 514, + "column": 27 + } + } + }, + "range": [ + 16142, + 16151 + ], + "loc": { + "start": { + "line": 514, + "column": 18 + }, + "end": { + "line": 514, + "column": 27 + } + } + }, + "range": [ + 16136, + 16151 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 27 + } + } + }, + "range": [ + 16136, + 16152 + ], + "loc": { + "start": { + "line": 514, + "column": 12 + }, + "end": { + "line": 514, + "column": 28 + } + } + } + ], + "range": [ + 16122, + 16162 + ], + "loc": { + "start": { + "line": 513, + "column": 31 + }, + "end": { + "line": 515, + "column": 9 + } + } + }, + "range": [ + 16099, + 16162 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 515, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "vals", + "range": [ + 16171, + 16175 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "x", + "range": [ + 16176, + 16177 + ], + "loc": { + "start": { + "line": 516, + "column": 13 + }, + "end": { + "line": 516, + "column": 14 + } + } + }, + "range": [ + 16171, + 16178 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "val", + "range": [ + 16181, + 16184 + ], + "loc": { + "start": { + "line": 516, + "column": 18 + }, + "end": { + "line": 516, + "column": 21 + } + } + }, + "range": [ + 16171, + 16184 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 21 + } + } + }, + "range": [ + 16171, + 16185 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 22 + } + } + } + ], + "range": [ + 16062, + 16191 + ], + "loc": { + "start": { + "line": 511, + "column": 24 + }, + "end": { + "line": 517, + "column": 5 + } + } + }, + "each": false, + "range": [ + 16042, + 16191 + ], + "loc": { + "start": { + "line": 511, + "column": 4 + }, + "end": { + "line": 517, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "vals", + "range": [ + 16203, + 16207 + ], + "loc": { + "start": { + "line": 518, + "column": 11 + }, + "end": { + "line": 518, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "join", + "range": [ + 16208, + 16212 + ], + "loc": { + "start": { + "line": 518, + "column": 16 + }, + "end": { + "line": 518, + "column": 20 + } + } + }, + "range": [ + 16203, + 16212 + ], + "loc": { + "start": { + "line": 518, + "column": 11 + }, + "end": { + "line": 518, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 16213, + 16216 + ], + "loc": { + "start": { + "line": 518, + "column": 21 + }, + "end": { + "line": 518, + "column": 24 + } + } + } + ], + "range": [ + 16203, + 16217 + ], + "loc": { + "start": { + "line": 518, + "column": 11 + }, + "end": { + "line": 518, + "column": 25 + } + } + }, + "range": [ + 16196, + 16218 + ], + "loc": { + "start": { + "line": 518, + "column": 4 + }, + "end": { + "line": 518, + "column": 26 + } + } + } + ], + "range": [ + 16003, + 16220 + ], + "loc": { + "start": { + "line": 509, + "column": 26 + }, + "end": { + "line": 519, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15977, + 16220 + ], + "loc": { + "start": { + "line": 509, + "column": 0 + }, + "end": { + "line": 519, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Converters", + "range": [ + 15964, + 15976 + ], + "loc": { + "start": { + "line": 508, + "column": 0 + }, + "end": { + "line": 508, + "column": 12 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "sortIP", + "range": [ + 16231, + 16237 + ], + "loc": { + "start": { + "line": 521, + "column": 9 + }, + "end": { + "line": 521, + "column": 15 + } + } + }, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 16238, + 16239 + ], + "loc": { + "start": { + "line": 521, + "column": 16 + }, + "end": { + "line": 521, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 16241, + 16242 + ], + "loc": { + "start": { + "line": 521, + "column": 19 + }, + "end": { + "line": 521, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "aa", + "range": [ + 16254, + 16256 + ], + "loc": { + "start": { + "line": 522, + "column": 8 + }, + "end": { + "line": 522, + "column": 10 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "ipAddress", + "range": [ + 16259, + 16268 + ], + "loc": { + "start": { + "line": 522, + "column": 13 + }, + "end": { + "line": 522, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 16269, + 16270 + ], + "loc": { + "start": { + "line": 522, + "column": 23 + }, + "end": { + "line": 522, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 16271, + 16276 + ], + "loc": { + "start": { + "line": 522, + "column": 25 + }, + "end": { + "line": 522, + "column": 30 + } + } + }, + "range": [ + 16269, + 16276 + ], + "loc": { + "start": { + "line": 522, + "column": 23 + }, + "end": { + "line": 522, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 16277, + 16288 + ], + "loc": { + "start": { + "line": 522, + "column": 31 + }, + "end": { + "line": 522, + "column": 42 + } + } + }, + "range": [ + 16269, + 16288 + ], + "loc": { + "start": { + "line": 522, + "column": 23 + }, + "end": { + "line": 522, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 16269, + 16290 + ], + "loc": { + "start": { + "line": 522, + "column": 23 + }, + "end": { + "line": 522, + "column": 44 + } + } + } + ], + "range": [ + 16259, + 16291 + ], + "loc": { + "start": { + "line": 522, + "column": 13 + }, + "end": { + "line": 522, + "column": 45 + } + } + }, + "range": [ + 16254, + 16291 + ], + "loc": { + "start": { + "line": 522, + "column": 8 + }, + "end": { + "line": 522, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 16250, + 16292 + ], + "loc": { + "start": { + "line": 522, + "column": 4 + }, + "end": { + "line": 522, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "bb", + "range": [ + 16301, + 16303 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 10 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "ipAddress", + "range": [ + 16306, + 16315 + ], + "loc": { + "start": { + "line": 523, + "column": 13 + }, + "end": { + "line": 523, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 16316, + 16317 + ], + "loc": { + "start": { + "line": 523, + "column": 23 + }, + "end": { + "line": 523, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 16318, + 16323 + ], + "loc": { + "start": { + "line": 523, + "column": 25 + }, + "end": { + "line": 523, + "column": 30 + } + } + }, + "range": [ + 16316, + 16323 + ], + "loc": { + "start": { + "line": 523, + "column": 23 + }, + "end": { + "line": 523, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 16324, + 16335 + ], + "loc": { + "start": { + "line": 523, + "column": 31 + }, + "end": { + "line": 523, + "column": 42 + } + } + }, + "range": [ + 16316, + 16335 + ], + "loc": { + "start": { + "line": 523, + "column": 23 + }, + "end": { + "line": 523, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 16316, + 16337 + ], + "loc": { + "start": { + "line": 523, + "column": 23 + }, + "end": { + "line": 523, + "column": 44 + } + } + } + ], + "range": [ + 16306, + 16338 + ], + "loc": { + "start": { + "line": 523, + "column": 13 + }, + "end": { + "line": 523, + "column": 45 + } + } + }, + "range": [ + 16301, + 16338 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 16297, + 16339 + ], + "loc": { + "start": { + "line": 523, + "column": 4 + }, + "end": { + "line": 523, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "aa", + "range": [ + 16348, + 16350 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 10 + } + } + }, + "right": { + "type": "Identifier", + "name": "bb", + "range": [ + 16355, + 16357 + ], + "loc": { + "start": { + "line": 524, + "column": 15 + }, + "end": { + "line": 524, + "column": 17 + } + } + }, + "range": [ + 16348, + 16357 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 16376, + 16377 + ], + "loc": { + "start": { + "line": 525, + "column": 15 + }, + "end": { + "line": 525, + "column": 16 + } + } + }, + "range": [ + 16369, + 16378 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 17 + } + } + } + ], + "range": [ + 16359, + 16384 + ], + "loc": { + "start": { + "line": 524, + "column": 19 + }, + "end": { + "line": 526, + "column": 5 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "aa", + "range": [ + 16394, + 16396 + ], + "loc": { + "start": { + "line": 526, + "column": 15 + }, + "end": { + "line": 526, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "bb", + "range": [ + 16399, + 16401 + ], + "loc": { + "start": { + "line": 526, + "column": 20 + }, + "end": { + "line": 526, + "column": 22 + } + } + }, + "range": [ + 16394, + 16401 + ], + "loc": { + "start": { + "line": 526, + "column": 15 + }, + "end": { + "line": 526, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 16421, + 16422 + ], + "loc": { + "start": { + "line": 527, + "column": 16 + }, + "end": { + "line": 527, + "column": 17 + } + } + }, + "prefix": true, + "range": [ + 16420, + 16422 + ], + "loc": { + "start": { + "line": 527, + "column": 15 + }, + "end": { + "line": 527, + "column": 17 + } + } + }, + "range": [ + 16413, + 16423 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 18 + } + } + } + ], + "range": [ + 16403, + 16429 + ], + "loc": { + "start": { + "line": 526, + "column": 24 + }, + "end": { + "line": 528, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 16452, + 16453 + ], + "loc": { + "start": { + "line": 529, + "column": 15 + }, + "end": { + "line": 529, + "column": 16 + } + } + }, + "range": [ + 16445, + 16454 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 17 + } + } + } + ], + "range": [ + 16435, + 16460 + ], + "loc": { + "start": { + "line": 528, + "column": 11 + }, + "end": { + "line": 530, + "column": 5 + } + } + }, + "range": [ + 16390, + 16460 + ], + "loc": { + "start": { + "line": 526, + "column": 11 + }, + "end": { + "line": 530, + "column": 5 + } + } + }, + "range": [ + 16344, + 16460 + ], + "loc": { + "start": { + "line": 524, + "column": 4 + }, + "end": { + "line": 530, + "column": 5 + } + } + } + ], + "range": [ + 16244, + 16462 + ], + "loc": { + "start": { + "line": 521, + "column": 22 + }, + "end": { + "line": 531, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16222, + 16462 + ], + "loc": { + "start": { + "line": 521, + "column": 0 + }, + "end": { + "line": 531, + "column": 1 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 16462 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 531, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * SortableTable Adapter module\n ", + "range": [ + 420, + 459 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of AdapterSortableTable\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n ", + "range": [ + 525, + 688 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Module name\n * @type {String}\n ", + "range": [ + 756, + 820 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Module description\n * @type {String}\n ", + "range": [ + 861, + 932 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether table previously sorted\n * @type {Boolean}\n * @private\n ", + "range": [ + 1011, + 1125 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of sort type per column basis\n * @type {Array}\n ", + "range": [ + 1164, + 1250 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Column to be sorted at initialization, ie:\n * sort_col_at_start: [1, true]\n * @type {Array}\n ", + "range": [ + 1323, + 1457 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable asynchronous sort, if triggers are external\n * @type {Boolean}\n ", + "range": [ + 1540, + 1644 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of element IDs triggering sort on a per column basis\n * @type {Array}\n ", + "range": [ + 1705, + 1814 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " edit .sort-arrow.descending / .sort-arrow.ascending in", + "range": [ + 1885, + 1942 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 65 + } + } + }, + { + "type": "Line", + "value": " tablefilter.css to reflect any path change", + "range": [ + 1951, + 1996 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 53 + } + } + }, + { + "type": "Block", + "value": "*\n * Path to images\n * @type {String}\n ", + "range": [ + 2005, + 2072 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Blank image file name\n * @type {String}\n ", + "range": [ + 2151, + 2225 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for sort indicator image\n * @type {String}\n ", + "range": [ + 2303, + 2390 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for ascending sort indicator image\n * @type {String}\n ", + "range": [ + 2478, + 2575 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for descending sort indicator image\n * @type {String}\n ", + "range": [ + 2681, + 2779 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Cell attribute key storing custom value used for sorting\n * @type {String}\n ", + "range": [ + 2888, + 2997 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired when sort extension is instanciated\n * @type {Function}\n ", + "range": [ + 3081, + 3186 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 112, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a table column is sorted\n * @type {Function}\n ", + "range": [ + 3267, + 3368 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 118, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a table column is sorted\n * @type {Function}\n ", + "range": [ + 3449, + 3549 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * SortableTable instance\n * @private\n ", + "range": [ + 3628, + 3697 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes AdapterSortableTable instance\n ", + "range": [ + 3758, + 3818 + ], + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 138, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " SortableTable class sanity check (sortabletable.js)", + "range": [ + 3954, + 4008 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " Add any date format if needed", + "range": [ + 4129, + 4161 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 40 + } + } + }, + { + "type": "Block", + "value": "** SortableTable callbacks **", + "range": [ + 4354, + 4387 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 41 + } + } + }, + { + "type": "Block", + "value": "** sort behaviour for paging **", + "range": [ + 4503, + 4538 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 47 + } + } + }, + { + "type": "Line", + "value": "sort behaviour for paging", + "range": [ + 4727, + 4754 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 39 + } + } + }, + { + "type": "Line", + "value": " recalculate valid rows index as sorting may have change it", + "range": [ + 4854, + 4915 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 77 + } + } + }, + { + "type": "Line", + "value": " Column sort at start", + "range": [ + 5268, + 5291 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5564, + 5581 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n ", + "range": [ + 5684, + 5824 + ], + "loc": { + "start": { + "line": 201, + "column": 4 + }, + "end": { + "line": 205, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Set SortableTable overrides for TableFilter integration\n ", + "range": [ + 5911, + 5985 + ], + "loc": { + "start": { + "line": 210, + "column": 4 + }, + "end": { + "line": 212, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n ", + "range": [ + 6076, + 6205 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 220, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " find Header element", + "range": [ + 6359, + 6381 + ], + "loc": { + "start": { + "line": 226, + "column": 12 + }, + "end": { + "line": 226, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n ", + "range": [ + 6721, + 6918 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n ", + "range": [ + 7158, + 7283 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 255, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides updateHeaderArrows in order to handle arrows indicators\n ", + "range": [ + 8591, + 8683 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 293, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " external headers", + "range": [ + 8823, + 8842 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n ", + "range": [ + 10361, + 10584 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 344, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " if we have defined a custom getRowValue use that", + "range": [ + 10705, + 10756 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 63 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n ", + "range": [ + 11117, + 11364 + ], + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 362, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Adds a sort type\n ", + "range": [ + 11694, + 11729 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 377, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Extract the arguments", + "range": [ + 11765, + 11789 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 32 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets the sort types on a column basis\n * @private\n ", + "range": [ + 11907, + 11979 + ], + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 387, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: normalise 'none' vs 'None'", + "range": [ + 13142, + 13177 + ], + "loc": { + "start": { + "line": 415, + "column": 24 + }, + "end": { + "line": 415, + "column": 59 + } + } + }, + { + "type": "Line", + "value": "Public TF method to add sort type", + "range": [ + 13386, + 13421 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 43 + } + } + }, + { + "type": "Line", + "value": "Custom sort types", + "range": [ + 13431, + 13450 + ], + "loc": { + "start": { + "line": 427, + "column": 8 + }, + "end": { + "line": 427, + "column": 27 + } + } + }, + { + "type": "Block", + "value": "** external table headers adapter **", + "range": [ + 13690, + 13730 + ], + "loc": { + "start": { + "line": 434, + "column": 8 + }, + "end": { + "line": 434, + "column": 48 + } + } + }, + { + "type": "Line", + "value": " Invalid date defaults to Wed Feb 04 -768 11:00:00", + "range": [ + 14890, + 14942 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 64 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove extension\n ", + "range": [ + 15325, + 15360 + ], + "loc": { + "start": { + "line": 481, + "column": 4 + }, + "end": { + "line": 483, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Converters", + "range": [ + 15964, + 15976 + ], + "loc": { + "start": { + "line": 508, + "column": 0 + }, + "end": { + "line": 508, + "column": 12 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/extensions/sort/sort.js.json b/docs/ast/source/extensions/sort/sort.js.json new file mode 100644 index 00000000..90b55d45 --- /dev/null +++ b/docs/ast/source/extensions/sort/sort.js.json @@ -0,0 +1,405 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "AdapterSortableTable", + "range": [ + 7, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 7, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 27 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./adapterSortabletable", + "raw": "'./adapterSortabletable'", + "range": [ + 33, + 57 + ], + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 57 + } + } + }, + "range": [ + 0, + 58 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 58 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 67, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 67, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 67, + 71 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../../root", + "raw": "'../../root'", + "range": [ + 78, + 90 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + "range": [ + 59, + 91 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 98, + 102 + ], + "loc": { + "start": { + "line": 4, + "column": 5 + }, + "end": { + "line": 4, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "name": "SortableTable", + "range": [ + 103, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "range": [ + 98, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 5 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 97, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "require", + "range": [ + 124, + 131 + ], + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 11 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "script-loader!sortabletable", + "raw": "'script-loader!sortabletable'", + "range": [ + 132, + 161 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 41 + } + } + } + ], + "range": [ + 124, + 162 + ], + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 42 + } + } + }, + "range": [ + 124, + 163 + ], + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 43 + } + } + } + ], + "range": [ + 118, + 165 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + "alternate": null, + "range": [ + 93, + 165 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + { + "type": "ExportDefaultDeclaration", + "declaration": { + "type": "Identifier", + "name": "AdapterSortableTable", + "range": [ + 182, + 202 + ], + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 35 + } + }, + "leadingComments": [], + "trailingComments": [] + }, + "range": [ + 167, + 203 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 36 + } + } + } + ], + "sourceType": "module", + "range": [ + 0, + 203 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 8, + "column": 36 + } + }, + "comments": [] +} \ No newline at end of file diff --git a/docs/ast/source/feature.js.json b/docs/ast/source/feature.js.json new file mode 100644 index 00000000..32c8456b --- /dev/null +++ b/docs/ast/source/feature.js.json @@ -0,0 +1,3263 @@ +{ + "type": "Program", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "NOT_IMPLEMENTED", + "range": [ + 7, + 22 + ], + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + "init": { + "type": "Literal", + "value": "Not implemented.", + "raw": "'Not implemented.'", + "range": [ + 25, + 43 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, + "range": [ + 7, + 43 + ], + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 42 + } + } + } + ], + "kind": "const", + "range": [ + 1, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Base class defining the interface of a TableFilter feature\n ", + "range": [ + 46, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Feature", + "range": [ + 129, + 136 + ], + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 309, + 320 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 321, + 323 + ], + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "feature", + "range": [ + 325, + 332 + ], + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 431, + 435 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 436, + 438 + ], + "loc": { + "start": { + "line": 18, + "column": 13 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "range": [ + 431, + 438 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "tf", + "range": [ + 441, + 443 + ], + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + "range": [ + 431, + 443 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + "range": [ + 431, + 444 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter instance\n * @type {TableFilter}\n ", + "range": [ + 344, + 422 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 17, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Feature name\n * @type {String}\n ", + "range": [ + 454, + 519 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 528, + 532 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 533, + 540 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + "range": [ + 528, + 540 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "feature", + "range": [ + 543, + 550 + ], + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + "range": [ + 528, + 550 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 30 + } + } + }, + "range": [ + 528, + 551 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Feature name\n * @type {String}\n ", + "range": [ + 454, + 519 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter feature setting\n * @type {Boolean}\n ", + "range": [ + 561, + 642 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 651, + 655 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enabled", + "range": [ + 656, + 663 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "range": [ + 651, + 663 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 666, + 668 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 669, + 676 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + "range": [ + 666, + 677 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + "range": [ + 651, + 677 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + "range": [ + 651, + 678 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter feature setting\n * @type {Boolean}\n ", + "range": [ + 561, + 642 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter configuration\n * @type {Object}\n ", + "range": [ + 688, + 766 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 775, + 779 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 780, + 786 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + "range": [ + 775, + 786 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 789, + 791 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 792, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + "range": [ + 789, + 798 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 789, + 800 + ], + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "range": [ + 775, + 800 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 33 + } + } + }, + "range": [ + 775, + 801 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter configuration\n * @type {Object}\n ", + "range": [ + 688, + 766 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter emitter instance\n * @type {Emitter}\n ", + "range": [ + 811, + 893 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 902, + 906 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 907, + 914 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 20 + } + } + }, + "range": [ + 902, + 914 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 917, + 919 + ], + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 920, + 927 + ], + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + "range": [ + 917, + 927 + ], + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + "range": [ + 902, + 927 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + "range": [ + 902, + 928 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter emitter instance\n * @type {Emitter}\n ", + "range": [ + 811, + 893 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n ", + "range": [ + 938, + 1039 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1048, + 1052 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1053, + 1064 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + "range": [ + 1048, + 1064 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1067, + 1072 + ], + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + "range": [ + 1048, + 1072 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 32 + } + } + }, + "range": [ + 1048, + 1073 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n ", + "range": [ + 938, + 1039 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* Subscribe to destroy event ", + "range": [ + 1083, + 1116 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1125, + 1129 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1130, + 1137 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "range": [ + 1125, + 1137 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1138, + 1140 + ], + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + "range": [ + 1125, + 1140 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "destroy", + "raw": "'destroy'", + "range": [ + 1142, + 1151 + ], + "loc": { + "start": { + "line": 51, + "column": 25 + }, + "end": { + "line": 51, + "column": 34 + } + } + } + ], + "range": [ + 1141, + 1152 + ], + "loc": { + "start": { + "line": 51, + "column": 24 + }, + "end": { + "line": 51, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1160, + 1164 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 1165, + 1172 + ], + "loc": { + "start": { + "line": 51, + "column": 48 + }, + "end": { + "line": 51, + "column": 55 + } + } + }, + "range": [ + 1160, + 1172 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 55 + } + } + }, + "arguments": [], + "range": [ + 1160, + 1174 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 57 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1154, + 1174 + ], + "loc": { + "start": { + "line": 51, + "column": 37 + }, + "end": { + "line": 51, + "column": 57 + } + } + } + ], + "range": [ + 1125, + 1175 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 58 + } + } + }, + "range": [ + 1125, + 1176 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Subscribe to destroy event ", + "range": [ + 1083, + 1116 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 41 + } + } + } + ] + } + ], + "range": [ + 334, + 1182 + ], + "loc": { + "start": { + "line": 13, + "column": 29 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 320, + 1182 + ], + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 309, + 1182 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Feature\n * @param {Object} tf TableFilter instance\n * @param {String} feature Feature name known by TableFilter\n ", + "range": [ + 143, + 304 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize the feature\n ", + "range": [ + 1188, + 1229 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 56, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 1234, + 1238 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 1261, + 1266 + ], + "loc": { + "start": { + "line": 58, + "column": 18 + }, + "end": { + "line": 58, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "NOT_IMPLEMENTED", + "range": [ + 1267, + 1282 + ], + "loc": { + "start": { + "line": 58, + "column": 24 + }, + "end": { + "line": 58, + "column": 39 + } + } + } + ], + "range": [ + 1257, + 1283 + ], + "loc": { + "start": { + "line": 58, + "column": 14 + }, + "end": { + "line": 58, + "column": 40 + } + } + }, + "range": [ + 1251, + 1284 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 41 + } + } + } + ], + "range": [ + 1241, + 1290 + ], + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1238, + 1290 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 59, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1234, + 1290 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 59, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize the feature\n ", + "range": [ + 1188, + 1229 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 56, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reset the feature after being disabled\n ", + "range": [ + 1296, + 1353 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 63, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "reset", + "range": [ + 1358, + 1363 + ], + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1376, + 1380 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 1381, + 1387 + ], + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + "range": [ + 1376, + 1387 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 1376, + 1389 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + "range": [ + 1376, + 1390 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1399, + 1403 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 1404, + 1408 + ], + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + "range": [ + 1399, + 1408 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 1399, + 1410 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 19 + } + } + }, + "range": [ + 1399, + 1411 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 20 + } + } + } + ], + "range": [ + 1366, + 1417 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1363, + 1417 + ], + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1358, + 1417 + ], + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 67, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reset the feature after being disabled\n ", + "range": [ + 1296, + 1353 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 63, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy the feature\n ", + "range": [ + 1423, + 1461 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 1466, + 1473 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 1496, + 1501 + ], + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "NOT_IMPLEMENTED", + "range": [ + 1502, + 1517 + ], + "loc": { + "start": { + "line": 73, + "column": 24 + }, + "end": { + "line": 73, + "column": 39 + } + } + } + ], + "range": [ + 1492, + 1518 + ], + "loc": { + "start": { + "line": 73, + "column": 14 + }, + "end": { + "line": 73, + "column": 40 + } + } + }, + "range": [ + 1486, + 1519 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 41 + } + } + } + ], + "range": [ + 1476, + 1525 + ], + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1473, + 1525 + ], + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1466, + 1525 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 74, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy the feature\n ", + "range": [ + 1423, + 1461 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable the feature\n ", + "range": [ + 1531, + 1568 + ], + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "enable", + "range": [ + 1573, + 1579 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1592, + 1596 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enabled", + "range": [ + 1597, + 1604 + ], + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + "range": [ + 1592, + 1604 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1607, + 1611 + ], + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + "range": [ + 1592, + 1611 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + "range": [ + 1592, + 1612 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 28 + } + } + } + ], + "range": [ + 1582, + 1618 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1579, + 1618 + ], + "loc": { + "start": { + "line": 79, + "column": 10 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1573, + 1618 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 81, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable the feature\n ", + "range": [ + 1531, + 1568 + ], + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Disable the feature\n ", + "range": [ + 1624, + 1662 + ], + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "disable", + "range": [ + 1667, + 1674 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1687, + 1691 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enabled", + "range": [ + 1692, + 1699 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 20 + } + } + }, + "range": [ + 1687, + 1699 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1702, + 1707 + ], + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "range": [ + 1687, + 1707 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "range": [ + 1687, + 1708 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 29 + } + } + } + ], + "range": [ + 1677, + 1714 + ], + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1674, + 1714 + ], + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1667, + 1714 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Disable the feature\n ", + "range": [ + 1624, + 1662 + ], + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n ", + "range": [ + 1720, + 1811 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 1816, + 1825 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1845, + 1849 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "enabled", + "range": [ + 1850, + 1857 + ], + "loc": { + "start": { + "line": 95, + "column": 20 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "range": [ + 1845, + 1857 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1862, + 1866 + ], + "loc": { + "start": { + "line": 95, + "column": 32 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + "range": [ + 1845, + 1866 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + "range": [ + 1838, + 1867 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 37 + } + } + } + ], + "range": [ + 1828, + 1873 + ], + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1825, + 1873 + ], + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 96, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1816, + 1873 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 96, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n ", + "range": [ + 1720, + 1811 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 137, + 1875 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 97, + "column": 1 + } + } + }, + "range": [ + 123, + 1875 + ], + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Base class defining the interface of a TableFilter feature\n ", + "range": [ + 46, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 116, + 1875 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Base class defining the interface of a TableFilter feature\n ", + "range": [ + 46, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 1, + 1875 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 97, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Base class defining the interface of a TableFilter feature\n ", + "range": [ + 46, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Feature\n * @param {Object} tf TableFilter instance\n * @param {String} feature Feature name known by TableFilter\n ", + "range": [ + 143, + 304 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter instance\n * @type {TableFilter}\n ", + "range": [ + 344, + 422 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 17, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Feature name\n * @type {String}\n ", + "range": [ + 454, + 519 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter feature setting\n * @type {Boolean}\n ", + "range": [ + 561, + 642 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter configuration\n * @type {Object}\n ", + "range": [ + 688, + 766 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter emitter instance\n * @type {Emitter}\n ", + "range": [ + 811, + 893 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n ", + "range": [ + 938, + 1039 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "* Subscribe to destroy event ", + "range": [ + 1083, + 1116 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 41 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize the feature\n ", + "range": [ + 1188, + 1229 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 56, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Reset the feature after being disabled\n ", + "range": [ + 1296, + 1353 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 63, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy the feature\n ", + "range": [ + 1423, + 1461 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable the feature\n ", + "range": [ + 1531, + 1568 + ], + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Disable the feature\n ", + "range": [ + 1624, + 1662 + ], + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n ", + "range": [ + 1720, + 1811 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/alternateRows.js.json b/docs/ast/source/modules/alternateRows.js.json new file mode 100644 index 00000000..03e692f0 --- /dev/null +++ b/docs/ast/source/modules/alternateRows.js.json @@ -0,0 +1,7880 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addClass", + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addClass", + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 72, + 80 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 44 + } + } + }, + "range": [ + 36, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 108, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 26 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + "range": [ + 82, + 122 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Rows with alternating background color for improved readability\n ", + "range": [ + 124, + 198 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "AlternateRows", + "range": [ + 212, + 225 + ], + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 26 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 234, + 241 + ], + "loc": { + "start": { + "line": 8, + "column": 35 + }, + "end": { + "line": 8, + "column": 42 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 364, + 375 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 376, + 378 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 390, + 395 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 396, + 398 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "alternateRows", + "raw": "'alternateRows'", + "range": [ + 400, + 415 + ], + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 33 + } + } + } + ], + "range": [ + 390, + 416 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + "range": [ + 390, + 417 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "config", + "range": [ + 431, + 437 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 440, + 444 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 445, + 451 + ], + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + "range": [ + 440, + 451 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + "range": [ + 431, + 451 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 427, + 452 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 33 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for even rows (default: 'even')\n * @type {String}\n ", + "range": [ + 461, + 555 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 22, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 564, + 568 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "evenCss", + "range": [ + 569, + 576 + ], + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + "range": [ + 564, + 576 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 579, + 590 + ], + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "config", + "range": [ + 591, + 597 + ], + "loc": { + "start": { + "line": 23, + "column": 35 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "even_row_css_class", + "range": [ + 598, + 616 + ], + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 60 + } + } + }, + "range": [ + 591, + 616 + ], + "loc": { + "start": { + "line": 23, + "column": 35 + }, + "end": { + "line": 23, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "even", + "raw": "'even'", + "range": [ + 618, + 624 + ], + "loc": { + "start": { + "line": 23, + "column": 62 + }, + "end": { + "line": 23, + "column": 68 + } + } + } + ], + "range": [ + 579, + 625 + ], + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 69 + } + } + }, + "range": [ + 564, + 625 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 69 + } + } + }, + "range": [ + 564, + 626 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for even rows (default: 'even')\n * @type {String}\n ", + "range": [ + 461, + 555 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 22, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for odd rows (default: 'odd')\n * @type {String}\n ", + "range": [ + 636, + 728 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 737, + 741 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "oddCss", + "range": [ + 742, + 748 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + "range": [ + 737, + 748 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 751, + 762 + ], + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "config", + "range": [ + 763, + 769 + ], + "loc": { + "start": { + "line": 29, + "column": 34 + }, + "end": { + "line": 29, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "odd_row_css_class", + "range": [ + 770, + 787 + ], + "loc": { + "start": { + "line": 29, + "column": 41 + }, + "end": { + "line": 29, + "column": 58 + } + } + }, + "range": [ + 763, + 787 + ], + "loc": { + "start": { + "line": 29, + "column": 34 + }, + "end": { + "line": 29, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "odd", + "raw": "'odd'", + "range": [ + 789, + 794 + ], + "loc": { + "start": { + "line": 29, + "column": 60 + }, + "end": { + "line": 29, + "column": 65 + } + } + } + ], + "range": [ + 751, + 795 + ], + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 66 + } + } + }, + "range": [ + 737, + 795 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 66 + } + } + }, + "range": [ + 737, + 796 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for odd rows (default: 'odd')\n * @type {String}\n ", + "range": [ + 636, + 728 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 380, + 802 + ], + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 30, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 375, + 802 + ], + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 30, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 364, + 802 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 30, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of AlternateRows.\n *\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 249, + 359 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets alternating rows color\n ", + "range": [ + 808, + 854 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 859, + 863 + ], + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 880, + 884 + ], + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 885, + 896 + ], + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 36, + "column": 28 + } + } + }, + "range": [ + 880, + 896 + ], + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 912, + 919 + ], + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 19 + } + } + } + ], + "range": [ + 898, + 929 + ], + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 876, + 929 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 38, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 939, + 943 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "processAll", + "range": [ + 944, + 954 + ], + "loc": { + "start": { + "line": 40, + "column": 13 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + "range": [ + 939, + 954 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 939, + 956 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 25 + } + } + }, + "range": [ + 939, + 957 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 26 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 967, + 989 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 998, + 1002 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1003, + 1010 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + "range": [ + 998, + 1010 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1011, + 1013 + ], + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + "range": [ + 998, + 1013 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "row-processed", + "raw": "'row-processed'", + "range": [ + 1015, + 1030 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "row-paged", + "raw": "'row-paged'", + "range": [ + 1032, + 1043 + ], + "loc": { + "start": { + "line": 43, + "column": 42 + }, + "end": { + "line": 43, + "column": 53 + } + } + } + ], + "range": [ + 1014, + 1044 + ], + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 54 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1059, + 1061 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 1063, + 1071 + ], + "loc": { + "start": { + "line": 44, + "column": 17 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "arrIndex", + "range": [ + 1073, + 1081 + ], + "loc": { + "start": { + "line": 44, + "column": 27 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 1083, + 1090 + ], + "loc": { + "start": { + "line": 44, + "column": 37 + }, + "end": { + "line": 44, + "column": 44 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1111, + 1115 + ], + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "processRow", + "range": [ + 1116, + 1126 + ], + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + "range": [ + 1111, + 1126 + ], + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 1127, + 1135 + ], + "loc": { + "start": { + "line": 45, + "column": 32 + }, + "end": { + "line": 45, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "arrIndex", + "range": [ + 1137, + 1145 + ], + "loc": { + "start": { + "line": 45, + "column": 42 + }, + "end": { + "line": 45, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 1147, + 1154 + ], + "loc": { + "start": { + "line": 45, + "column": 52 + }, + "end": { + "line": 45, + "column": 59 + } + } + } + ], + "range": [ + 1111, + 1155 + ], + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 60 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1058, + 1155 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 45, + "column": 60 + } + } + } + ], + "range": [ + 998, + 1156 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 45, + "column": 61 + } + } + }, + "range": [ + 998, + 1157 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 45, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 967, + 989 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1166, + 1170 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1171, + 1178 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + "range": [ + 1166, + 1178 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1179, + 1181 + ], + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + "range": [ + 1166, + 1181 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-sorted", + "raw": "'column-sorted'", + "range": [ + 1183, + 1198 + ], + "loc": { + "start": { + "line": 46, + "column": 25 + }, + "end": { + "line": 46, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 1200, + 1214 + ], + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 56 + } + } + } + ], + "range": [ + 1182, + 1215 + ], + "loc": { + "start": { + "line": 46, + "column": 24 + }, + "end": { + "line": 46, + "column": 57 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1235, + 1239 + ], + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "processAll", + "range": [ + 1240, + 1250 + ], + "loc": { + "start": { + "line": 47, + "column": 23 + }, + "end": { + "line": 47, + "column": 33 + } + } + }, + "range": [ + 1235, + 1250 + ], + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 1235, + 1252 + ], + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 35 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1229, + 1252 + ], + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 35 + } + } + } + ], + "range": [ + 1166, + 1253 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 47, + "column": 36 + } + } + }, + "range": [ + 1166, + 1254 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 47, + "column": 37 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1264, + 1281 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1290, + 1294 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1295, + 1306 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + "range": [ + 1290, + 1306 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1309, + 1313 + ], + "loc": { + "start": { + "line": 50, + "column": 27 + }, + "end": { + "line": 50, + "column": 31 + } + } + }, + "range": [ + 1290, + 1313 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 31 + } + } + }, + "range": [ + 1290, + 1314 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1264, + 1281 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 866, + 1320 + ], + "loc": { + "start": { + "line": 35, + "column": 11 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 863, + 1320 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 51, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 859, + 1320 + ], + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 51, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets alternating rows color\n ", + "range": [ + 808, + 854 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Apply background to all valid rows\n ", + "range": [ + 1326, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 55, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "processAll", + "range": [ + 1384, + 1394 + ], + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1412, + 1416 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 1417, + 1426 + ], + "loc": { + "start": { + "line": 57, + "column": 18 + }, + "end": { + "line": 57, + "column": 27 + } + } + }, + "range": [ + 1412, + 1426 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 1412, + 1428 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 1411, + 1428 + ], + "loc": { + "start": { + "line": 57, + "column": 12 + }, + "end": { + "line": 57, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1444, + 1451 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 19 + } + } + } + ], + "range": [ + 1430, + 1461 + ], + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1407, + 1461 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 59, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 1474, + 1476 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1479, + 1483 + ], + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1484, + 1486 + ], + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "range": [ + 1479, + 1486 + ], + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "range": [ + 1474, + 1486 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 1470, + 1487 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 1500, + 1514 + ], + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1517, + 1519 + ], + "loc": { + "start": { + "line": 61, + "column": 29 + }, + "end": { + "line": 61, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 1520, + 1532 + ], + "loc": { + "start": { + "line": 61, + "column": 32 + }, + "end": { + "line": 61, + "column": 44 + } + } + }, + "range": [ + 1517, + 1532 + ], + "loc": { + "start": { + "line": 61, + "column": 29 + }, + "end": { + "line": 61, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1533, + 1537 + ], + "loc": { + "start": { + "line": 61, + "column": 45 + }, + "end": { + "line": 61, + "column": 49 + } + } + } + ], + "range": [ + 1517, + 1538 + ], + "loc": { + "start": { + "line": 61, + "column": 29 + }, + "end": { + "line": 61, + "column": 50 + } + } + }, + "range": [ + 1500, + 1538 + ], + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 1496, + 1539 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "indexLen", + "range": [ + 1552, + 1560 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 1563, + 1577 + ], + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1578, + 1584 + ], + "loc": { + "start": { + "line": 62, + "column": 38 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + "range": [ + 1563, + 1584 + ], + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + "range": [ + 1552, + 1584 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 1548, + 1585 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 1598, + 1601 + ], + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 15 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1604, + 1605 + ], + "loc": { + "start": { + "line": 63, + "column": 18 + }, + "end": { + "line": 63, + "column": 19 + } + } + }, + "range": [ + 1598, + 1605 + ], + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 1594, + 1606 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 20 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "alternates bg color", + "range": [ + 1616, + 1637 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 29 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 1655, + 1656 + ], + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1659, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 21 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "range": [ + 1655, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 1651, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 1662, + 1663 + ], + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "indexLen", + "range": [ + 1666, + 1674 + ], + "loc": { + "start": { + "line": 66, + "column": 28 + }, + "end": { + "line": 66, + "column": 36 + } + } + }, + "range": [ + 1662, + 1674 + ], + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 36 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 1676, + 1677 + ], + "loc": { + "start": { + "line": 66, + "column": 38 + }, + "end": { + "line": 66, + "column": 39 + } + } + }, + "prefix": false, + "range": [ + 1676, + 1679 + ], + "loc": { + "start": { + "line": 66, + "column": 38 + }, + "end": { + "line": 66, + "column": 41 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 1699, + 1705 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 1708, + 1722 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 1723, + 1724 + ], + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 41 + } + } + }, + "range": [ + 1708, + 1725 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 42 + } + } + }, + "range": [ + 1699, + 1725 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 1695, + 1726 + ], + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1739, + 1743 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setRowBg", + "range": [ + 1744, + 1752 + ], + "loc": { + "start": { + "line": 68, + "column": 17 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + "range": [ + 1739, + 1752 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 1753, + 1759 + ], + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 1761, + 1764 + ], + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 37 + } + } + } + ], + "range": [ + 1739, + 1765 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 38 + } + } + }, + "range": [ + 1739, + 1766 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "idx", + "range": [ + 1779, + 1782 + ], + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 15 + } + } + }, + "prefix": false, + "range": [ + 1779, + 1784 + ], + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 17 + } + } + }, + "range": [ + 1779, + 1785 + ], + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 18 + } + } + } + ], + "range": [ + 1681, + 1795 + ], + "loc": { + "start": { + "line": 66, + "column": 43 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + "range": [ + 1646, + 1795 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "alternates bg color", + "range": [ + 1616, + 1637 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 29 + } + } + } + ] + } + ], + "range": [ + 1397, + 1801 + ], + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1394, + 1801 + ], + "loc": { + "start": { + "line": 56, + "column": 14 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1384, + 1801 + ], + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 71, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Apply background to all valid rows\n ", + "range": [ + 1326, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 55, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n ", + "range": [ + 1807, + 2011 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "processRow", + "range": [ + 2016, + 2026 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2027, + 2033 + ], + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "arrIdx", + "range": [ + 2035, + 2041 + ], + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 2043, + 2050 + ], + "loc": { + "start": { + "line": 79, + "column": 31 + }, + "end": { + "line": 79, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isValid", + "range": [ + 2066, + 2073 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2089, + 2093 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setRowBg", + "range": [ + 2094, + 2102 + ], + "loc": { + "start": { + "line": 81, + "column": 17 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + "range": [ + 2089, + 2102 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2103, + 2109 + ], + "loc": { + "start": { + "line": 81, + "column": 26 + }, + "end": { + "line": 81, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "arrIdx", + "range": [ + 2111, + 2117 + ], + "loc": { + "start": { + "line": 81, + "column": 34 + }, + "end": { + "line": 81, + "column": 40 + } + } + } + ], + "range": [ + 2089, + 2118 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, + "range": [ + 2089, + 2119 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 42 + } + } + } + ], + "range": [ + 2075, + 2129 + ], + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2149, + 2153 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeRowBg", + "range": [ + 2154, + 2165 + ], + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + "range": [ + 2149, + 2165 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2166, + 2172 + ], + "loc": { + "start": { + "line": 83, + "column": 29 + }, + "end": { + "line": 83, + "column": 35 + } + } + } + ], + "range": [ + 2149, + 2173 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 36 + } + } + }, + "range": [ + 2149, + 2174 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 37 + } + } + } + ], + "range": [ + 2135, + 2184 + ], + "loc": { + "start": { + "line": 82, + "column": 15 + }, + "end": { + "line": 84, + "column": 9 + } + } + }, + "range": [ + 2062, + 2184 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 84, + "column": 9 + } + } + } + ], + "range": [ + 2052, + 2190 + ], + "loc": { + "start": { + "line": 79, + "column": 40 + }, + "end": { + "line": 85, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2026, + 2190 + ], + "loc": { + "start": { + "line": 79, + "column": 14 + }, + "end": { + "line": 85, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2016, + 2190 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 85, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n ", + "range": [ + 1807, + 2011 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n ", + "range": [ + 2196, + 2390 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setRowBg", + "range": [ + 2395, + 2403 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2404, + 2410 + ], + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 2412, + 2415 + ], + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2432, + 2436 + ], + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 2437, + 2446 + ], + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "range": [ + 2432, + 2446 + ], + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 2432, + 2448 + ], + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 2431, + 2448 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 2452, + 2457 + ], + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2458, + 2464 + ], + "loc": { + "start": { + "line": 95, + "column": 39 + }, + "end": { + "line": 95, + "column": 45 + } + } + } + ], + "range": [ + 2452, + 2465 + ], + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 46 + } + } + }, + "range": [ + 2431, + 2465 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2481, + 2488 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 19 + } + } + } + ], + "range": [ + 2467, + 2498 + ], + "loc": { + "start": { + "line": 95, + "column": 48 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2427, + 2498 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 2511, + 2515 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2518, + 2522 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2523, + 2525 + ], + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "range": [ + 2518, + 2525 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 2526, + 2529 + ], + "loc": { + "start": { + "line": 98, + "column": 27 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + "range": [ + 2518, + 2529 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 2518, + 2531 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 2532, + 2536 + ], + "loc": { + "start": { + "line": 98, + "column": 33 + }, + "end": { + "line": 98, + "column": 37 + } + } + }, + "range": [ + 2518, + 2536 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 37 + } + } + }, + "range": [ + 2511, + 2536 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 2507, + 2537 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 2550, + 2551 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 13 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 2554, + 2559 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 2560, + 2563 + ], + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 25 + } + } + } + ], + "range": [ + 2554, + 2564 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 26 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2567, + 2573 + ], + "loc": { + "start": { + "line": 99, + "column": 29 + }, + "end": { + "line": 99, + "column": 35 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "idx", + "range": [ + 2576, + 2579 + ], + "loc": { + "start": { + "line": 99, + "column": 38 + }, + "end": { + "line": 99, + "column": 41 + } + } + }, + "range": [ + 2554, + 2579 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 41 + } + } + }, + "range": [ + 2550, + 2579 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 2546, + 2580 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2589, + 2593 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeRowBg", + "range": [ + 2594, + 2605 + ], + "loc": { + "start": { + "line": 100, + "column": 13 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + "range": [ + 2589, + 2605 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2606, + 2612 + ], + "loc": { + "start": { + "line": 100, + "column": 25 + }, + "end": { + "line": 100, + "column": 31 + } + } + } + ], + "range": [ + 2589, + 2613 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 32 + } + } + }, + "range": [ + 2589, + 2614 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 2624, + 2632 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 2633, + 2637 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 2638, + 2644 + ], + "loc": { + "start": { + "line": 102, + "column": 22 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "range": [ + 2633, + 2645 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "%", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 2648, + 2649 + ], + "loc": { + "start": { + "line": 102, + "column": 32 + }, + "end": { + "line": 102, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 2652, + 2653 + ], + "loc": { + "start": { + "line": 102, + "column": 36 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "range": [ + 2648, + 2653 + ], + "loc": { + "start": { + "line": 102, + "column": 32 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2657, + 2661 + ], + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "evenCss", + "range": [ + 2662, + 2669 + ], + "loc": { + "start": { + "line": 102, + "column": 46 + }, + "end": { + "line": 102, + "column": 53 + } + } + }, + "range": [ + 2657, + 2669 + ], + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 53 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2672, + 2676 + ], + "loc": { + "start": { + "line": 102, + "column": 56 + }, + "end": { + "line": 102, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "oddCss", + "range": [ + 2677, + 2683 + ], + "loc": { + "start": { + "line": 102, + "column": 61 + }, + "end": { + "line": 102, + "column": 67 + } + } + }, + "range": [ + 2672, + 2683 + ], + "loc": { + "start": { + "line": 102, + "column": 56 + }, + "end": { + "line": 102, + "column": 67 + } + } + }, + "range": [ + 2647, + 2683 + ], + "loc": { + "start": { + "line": 102, + "column": 31 + }, + "end": { + "line": 102, + "column": 67 + } + } + } + ], + "range": [ + 2624, + 2684 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 68 + } + } + }, + "range": [ + 2624, + 2685 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 69 + } + } + } + ], + "range": [ + 2417, + 2691 + ], + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2403, + 2691 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2395, + 2691 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 103, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n ", + "range": [ + 2196, + 2390 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n ", + "range": [ + 2697, + 2798 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 109, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "removeRowBg", + "range": [ + 2803, + 2814 + ], + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 2815, + 2818 + ], + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 19 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 2834, + 2839 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 2840, + 2843 + ], + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 21 + } + } + } + ], + "range": [ + 2834, + 2844 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2860, + 2867 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 19 + } + } + } + ], + "range": [ + 2846, + 2877 + ], + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 113, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2830, + 2877 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 113, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 2890, + 2894 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2897, + 2901 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2902, + 2904 + ], + "loc": { + "start": { + "line": 114, + "column": 24 + }, + "end": { + "line": 114, + "column": 26 + } + } + }, + "range": [ + 2897, + 2904 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 2905, + 2908 + ], + "loc": { + "start": { + "line": 114, + "column": 27 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + "range": [ + 2897, + 2908 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 2897, + 2910 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 2911, + 2915 + ], + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 37 + } + } + }, + "range": [ + 2897, + 2915 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 37 + } + } + }, + "range": [ + 2890, + 2915 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 2886, + 2916 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 2925, + 2936 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 2937, + 2941 + ], + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 115, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 2942, + 2945 + ], + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 115, + "column": 28 + } + } + }, + "range": [ + 2937, + 2946 + ], + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 115, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2948, + 2952 + ], + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "oddCss", + "range": [ + 2953, + 2959 + ], + "loc": { + "start": { + "line": 115, + "column": 36 + }, + "end": { + "line": 115, + "column": 42 + } + } + }, + "range": [ + 2948, + 2959 + ], + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 42 + } + } + } + ], + "range": [ + 2925, + 2960 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 43 + } + } + }, + "range": [ + 2925, + 2961 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 2970, + 2981 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 2982, + 2986 + ], + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 2987, + 2990 + ], + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 28 + } + } + }, + "range": [ + 2982, + 2991 + ], + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2993, + 2997 + ], + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "evenCss", + "range": [ + 2998, + 3005 + ], + "loc": { + "start": { + "line": 116, + "column": 36 + }, + "end": { + "line": 116, + "column": 43 + } + } + }, + "range": [ + 2993, + 3005 + ], + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 43 + } + } + } + ], + "range": [ + 2970, + 3006 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 44 + } + } + }, + "range": [ + 2970, + 3007 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 45 + } + } + } + ], + "range": [ + 2820, + 3013 + ], + "loc": { + "start": { + "line": 110, + "column": 21 + }, + "end": { + "line": 117, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2814, + 3013 + ], + "loc": { + "start": { + "line": 110, + "column": 15 + }, + "end": { + "line": 117, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2803, + 3013 + ], + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 117, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n ", + "range": [ + 2697, + 2798 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 109, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes all alternating backgrounds\n ", + "range": [ + 3019, + 3073 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 121, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 3078, + 3085 + ], + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3103, + 3107 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3108, + 3119 + ], + "loc": { + "start": { + "line": 123, + "column": 18 + }, + "end": { + "line": 123, + "column": 29 + } + } + }, + "range": [ + 3103, + 3119 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3102, + 3119 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3135, + 3142 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 19 + } + } + } + ], + "range": [ + 3121, + 3152 + ], + "loc": { + "start": { + "line": 123, + "column": 31 + }, + "end": { + "line": 125, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3098, + 3152 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 125, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 3165, + 3171 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3174, + 3178 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3179, + 3181 + ], + "loc": { + "start": { + "line": 126, + "column": 26 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + "range": [ + 3174, + 3181 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 3182, + 3191 + ], + "loc": { + "start": { + "line": 126, + "column": 29 + }, + "end": { + "line": 126, + "column": 38 + } + } + }, + "range": [ + 3174, + 3191 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3192, + 3196 + ], + "loc": { + "start": { + "line": 126, + "column": 39 + }, + "end": { + "line": 126, + "column": 43 + } + } + } + ], + "range": [ + 3174, + 3197 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 44 + } + } + }, + "range": [ + 3165, + 3197 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 3161, + 3198 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 45 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 3216, + 3217 + ], + "loc": { + "start": { + "line": 127, + "column": 17 + }, + "end": { + "line": 127, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3220, + 3221 + ], + "loc": { + "start": { + "line": 127, + "column": 21 + }, + "end": { + "line": 127, + "column": 22 + } + } + }, + "range": [ + 3216, + 3221 + ], + "loc": { + "start": { + "line": 127, + "column": 17 + }, + "end": { + "line": 127, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 3212, + 3221 + ], + "loc": { + "start": { + "line": 127, + "column": 13 + }, + "end": { + "line": 127, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 3223, + 3224 + ], + "loc": { + "start": { + "line": 127, + "column": 24 + }, + "end": { + "line": 127, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 3227, + 3233 + ], + "loc": { + "start": { + "line": 127, + "column": 28 + }, + "end": { + "line": 127, + "column": 34 + } + } + }, + "range": [ + 3223, + 3233 + ], + "loc": { + "start": { + "line": 127, + "column": 24 + }, + "end": { + "line": 127, + "column": 34 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 3235, + 3236 + ], + "loc": { + "start": { + "line": 127, + "column": 36 + }, + "end": { + "line": 127, + "column": 37 + } + } + }, + "prefix": false, + "range": [ + 3235, + 3238 + ], + "loc": { + "start": { + "line": 127, + "column": 36 + }, + "end": { + "line": 127, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3254, + 3258 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeRowBg", + "range": [ + 3259, + 3270 + ], + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 28 + } + } + }, + "range": [ + 3254, + 3270 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 3271, + 3272 + ], + "loc": { + "start": { + "line": 128, + "column": 29 + }, + "end": { + "line": 128, + "column": 30 + } + } + } + ], + "range": [ + 3254, + 3273 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 31 + } + } + }, + "range": [ + 3254, + 3274 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 32 + } + } + } + ], + "range": [ + 3240, + 3284 + ], + "loc": { + "start": { + "line": 127, + "column": 41 + }, + "end": { + "line": 129, + "column": 9 + } + } + }, + "range": [ + 3207, + 3284 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 129, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3294, + 3318 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3327, + 3331 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3332, + 3339 + ], + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, + "range": [ + 3327, + 3339 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3340, + 3343 + ], + "loc": { + "start": { + "line": 132, + "column": 21 + }, + "end": { + "line": 132, + "column": 24 + } + } + }, + "range": [ + 3327, + 3343 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "row-processed", + "raw": "'row-processed'", + "range": [ + 3345, + 3360 + ], + "loc": { + "start": { + "line": 132, + "column": 26 + }, + "end": { + "line": 132, + "column": 41 + } + } + }, + { + "type": "Literal", + "value": "row-paged", + "raw": "'row-paged'", + "range": [ + 3362, + 3373 + ], + "loc": { + "start": { + "line": 132, + "column": 43 + }, + "end": { + "line": 132, + "column": 54 + } + } + } + ], + "range": [ + 3344, + 3374 + ], + "loc": { + "start": { + "line": 132, + "column": 25 + }, + "end": { + "line": 132, + "column": 55 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 3389, + 3391 + ], + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 133, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 3393, + 3401 + ], + "loc": { + "start": { + "line": 133, + "column": 17 + }, + "end": { + "line": 133, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "arrIndex", + "range": [ + 3403, + 3411 + ], + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 133, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 3413, + 3420 + ], + "loc": { + "start": { + "line": 133, + "column": 37 + }, + "end": { + "line": 133, + "column": 44 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3441, + 3445 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "processRow", + "range": [ + 3446, + 3456 + ], + "loc": { + "start": { + "line": 134, + "column": 21 + }, + "end": { + "line": 134, + "column": 31 + } + } + }, + "range": [ + 3441, + 3456 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 3457, + 3465 + ], + "loc": { + "start": { + "line": 134, + "column": 32 + }, + "end": { + "line": 134, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "arrIndex", + "range": [ + 3467, + 3475 + ], + "loc": { + "start": { + "line": 134, + "column": 42 + }, + "end": { + "line": 134, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 3477, + 3484 + ], + "loc": { + "start": { + "line": 134, + "column": 52 + }, + "end": { + "line": 134, + "column": 59 + } + } + } + ], + "range": [ + 3441, + 3485 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 60 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3388, + 3485 + ], + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 134, + "column": 60 + } + } + } + ], + "range": [ + 3327, + 3486 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 134, + "column": 61 + } + } + }, + "range": [ + 3327, + 3487 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 134, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3294, + 3318 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3496, + 3500 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3501, + 3508 + ], + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 135, + "column": 20 + } + } + }, + "range": [ + 3496, + 3508 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3509, + 3512 + ], + "loc": { + "start": { + "line": 135, + "column": 21 + }, + "end": { + "line": 135, + "column": 24 + } + } + }, + "range": [ + 3496, + 3512 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 135, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-sorted", + "raw": "'column-sorted'", + "range": [ + 3514, + 3529 + ], + "loc": { + "start": { + "line": 135, + "column": 26 + }, + "end": { + "line": 135, + "column": 41 + } + } + }, + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 3531, + 3545 + ], + "loc": { + "start": { + "line": 135, + "column": 43 + }, + "end": { + "line": 135, + "column": 57 + } + } + } + ], + "range": [ + 3513, + 3546 + ], + "loc": { + "start": { + "line": 135, + "column": 25 + }, + "end": { + "line": 135, + "column": 58 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3566, + 3570 + ], + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "processAll", + "range": [ + 3571, + 3581 + ], + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 33 + } + } + }, + "range": [ + 3566, + 3581 + ], + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 3566, + 3583 + ], + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 35 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3560, + 3583 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 35 + } + } + } + ], + "range": [ + 3496, + 3584 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 136, + "column": 36 + } + } + }, + "range": [ + 3496, + 3585 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 136, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3595, + 3599 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3600, + 3611 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 24 + } + } + }, + "range": [ + 3595, + 3611 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 3614, + 3619 + ], + "loc": { + "start": { + "line": 138, + "column": 27 + }, + "end": { + "line": 138, + "column": 32 + } + } + }, + "range": [ + 3595, + 3619 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 32 + } + } + }, + "range": [ + 3595, + 3620 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 33 + } + } + } + ], + "range": [ + 3088, + 3626 + ], + "loc": { + "start": { + "line": 122, + "column": 14 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3085, + 3626 + ], + "loc": { + "start": { + "line": 122, + "column": 11 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3078, + 3626 + ], + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 139, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes all alternating backgrounds\n ", + "range": [ + 3019, + 3073 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 121, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 242, + 3629 + ], + "loc": { + "start": { + "line": 8, + "column": 43 + }, + "end": { + "line": 141, + "column": 1 + } + } + }, + "range": [ + 206, + 3629 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 141, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Rows with alternating background color for improved readability\n ", + "range": [ + 124, + 198 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 199, + 3629 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 141, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Rows with alternating background color for improved readability\n ", + "range": [ + 124, + 198 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 3629 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 141, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Rows with alternating background color for improved readability\n ", + "range": [ + 124, + 198 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of AlternateRows.\n *\n * @param {Object} tf TableFilter instance\n ", + "range": [ + 249, + 359 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for even rows (default: 'even')\n * @type {String}\n ", + "range": [ + 461, + 555 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for odd rows (default: 'odd')\n * @type {String}\n ", + "range": [ + 636, + 728 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets alternating rows color\n ", + "range": [ + 808, + 854 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 967, + 989 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1264, + 1281 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Apply background to all valid rows\n ", + "range": [ + 1326, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "alternates bg color", + "range": [ + 1616, + 1637 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 29 + } + } + }, + { + "type": "Block", + "value": "*\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n ", + "range": [ + 1807, + 2011 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 78, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n ", + "range": [ + 2196, + 2390 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n ", + "range": [ + 2697, + 2798 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 109, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes all alternating backgrounds\n ", + "range": [ + 3019, + 3073 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 121, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3294, + 3318 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/baseDropdown.js.json b/docs/ast/source/modules/baseDropdown.js.json new file mode 100644 index 00000000..868963be --- /dev/null +++ b/docs/ast/source/modules/baseDropdown.js.json @@ -0,0 +1,6982 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "ignoreCase", + "range": [ + 49, + 59 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "ignoreCase", + "range": [ + 49, + 59 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "range": [ + 49, + 59 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 61, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + "imported": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 61, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + "range": [ + 61, + 71 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 26 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "numSortDesc", + "range": [ + 73, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + "imported": { + "type": "Identifier", + "name": "numSortDesc", + "range": [ + 73, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + "range": [ + 73, + 84 + ], + "loc": { + "start": { + "line": 3, + "column": 28 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "dateSortAsc", + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "dateSortAsc", + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "range": [ + 90, + 101 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "sortNumberStr", + "range": [ + 103, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + "imported": { + "type": "Identifier", + "name": "sortNumberStr", + "range": [ + 103, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + "range": [ + 103, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "sortDateStr", + "range": [ + 118, + 129 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + "imported": { + "type": "Identifier", + "name": "sortDateStr", + "range": [ + 118, + 129 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + "range": [ + 118, + 129 + ], + "loc": { + "start": { + "line": 4, + "column": 32 + }, + "end": { + "line": 4, + "column": 43 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../sort", + "raw": "'../sort'", + "range": [ + 137, + 146 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 16 + } + } + }, + "range": [ + 36, + 147 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 5, + "column": 17 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 156, + 163 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 156, + 163 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 156, + 163 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isObj", + "range": [ + 165, + 170 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isObj", + "range": [ + 165, + 170 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + "range": [ + 165, + 170 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 22 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 177, + 187 + ], + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 39 + } + } + }, + "range": [ + 148, + 188 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 40 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 197, + 203 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 197, + 203 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + "range": [ + 197, + 203 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 205, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + "imported": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 205, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + "range": [ + 205, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 16 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DATE", + "range": [ + 223, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DATE", + "range": [ + 223, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 7, + "column": 38 + } + } + }, + "range": [ + 223, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 7, + "column": 38 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 234, + 244 + ], + "loc": { + "start": { + "line": 7, + "column": 45 + }, + "end": { + "line": 7, + "column": 55 + } + } + }, + "range": [ + 189, + 245 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 56 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Base class for Dropdown and CheckList UI components\n * @export\n * @class BaseDropdown\n * @extends {Feature}\n ", + "range": [ + 247, + 365 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 379, + 391 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 400, + 407 + ], + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 505, + 516 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 517, + 519 + ], + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 531, + 536 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 537, + 539 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "baseDropdown", + "raw": "'baseDropdown'", + "range": [ + 541, + 555 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 32 + } + } + } + ], + "range": [ + 531, + 556 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 33 + } + } + }, + "range": [ + 531, + 557 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 571, + 572 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 575, + 579 + ], + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 580, + 586 + ], + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + "range": [ + 575, + 586 + ], + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + "range": [ + 571, + 586 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 567, + 587 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter options custom sorter on a column basis\n * @type {Object}\n ", + "range": [ + 597, + 696 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 705, + 709 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "customSorter", + "range": [ + 710, + 722 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + "range": [ + 705, + 722 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 725, + 730 + ], + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 731, + 732 + ], + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter_options_sorter", + "range": [ + 733, + 754 + ], + "loc": { + "start": { + "line": 30, + "column": 36 + }, + "end": { + "line": 30, + "column": 57 + } + } + }, + "range": [ + 731, + 754 + ], + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 57 + } + } + } + ], + "range": [ + 725, + 755 + ], + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 58 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 771, + 778 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 779, + 780 + ], + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter_options_sorter", + "range": [ + 781, + 802 + ], + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 43 + } + } + }, + "range": [ + 779, + 802 + ], + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "col", + "range": [ + 803, + 806 + ], + "loc": { + "start": { + "line": 31, + "column": 44 + }, + "end": { + "line": 31, + "column": 47 + } + } + }, + "range": [ + 779, + 806 + ], + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 31, + "column": 47 + } + } + } + ], + "range": [ + 771, + 807 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 48 + } + } + }, + "range": [ + 725, + 807 + ], + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 31, + "column": 48 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 823, + 830 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 831, + 832 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter_options_sorter", + "range": [ + 833, + 854 + ], + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + "range": [ + 831, + 854 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "comparer", + "range": [ + 855, + 863 + ], + "loc": { + "start": { + "line": 32, + "column": 44 + }, + "end": { + "line": 32, + "column": 52 + } + } + }, + "range": [ + 831, + 863 + ], + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 52 + } + } + } + ], + "range": [ + 823, + 864 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 53 + } + } + }, + "range": [ + 725, + 864 + ], + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 32, + "column": 53 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 879, + 880 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter_options_sorter", + "range": [ + 881, + 902 + ], + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 35 + } + } + }, + "range": [ + 879, + 902 + ], + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 35 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 917, + 921 + ], + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + "range": [ + 725, + 921 + ], + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + "range": [ + 705, + 921 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + "range": [ + 705, + 922 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter options custom sorter on a column basis\n * @type {Object}\n ", + "range": [ + 597, + 696 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " TODO: move here all properties shared by Dropdown CheckList", + "range": [ + 932, + 994 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 70 + } + } + }, + { + "type": "Block", + "value": "*\n * Has custom options\n * @type {Boolean}\n * @private\n ", + "range": [ + 1004, + 1096 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1105, + 1109 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 1110, + 1118 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + "range": [ + 1105, + 1118 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1121, + 1126 + ], + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 29 + } + } + }, + "range": [ + 1105, + 1126 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 29 + } + } + }, + "range": [ + 1105, + 1127 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: move here all properties shared by Dropdown CheckList", + "range": [ + 932, + 994 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 70 + } + } + }, + { + "type": "Block", + "value": "*\n * Has custom options\n * @type {Boolean}\n * @private\n ", + "range": [ + 1004, + 1096 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1137, + 1231 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1240, + 1244 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 1245, + 1249 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "range": [ + 1240, + 1249 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 17 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1252, + 1254 + ], + "loc": { + "start": { + "line": 50, + "column": 20 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + "range": [ + 1240, + 1254 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 22 + } + } + }, + "range": [ + 1240, + 1255 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1137, + 1231 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", + "range": [ + 1265, + 1376 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1385, + 1389 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 1390, + 1397 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + "range": [ + 1385, + 1397 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1400, + 1402 + ], + "loc": { + "start": { + "line": 57, + "column": 23 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + "range": [ + 1385, + 1402 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + "range": [ + 1385, + 1403 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", + "range": [ + 1265, + 1376 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n ", + "range": [ + 1413, + 1541 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1550, + 1554 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 1555, + 1567 + ], + "loc": { + "start": { + "line": 64, + "column": 13 + }, + "end": { + "line": 64, + "column": 25 + } + } + }, + "range": [ + 1550, + 1567 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 25 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1570, + 1572 + ], + "loc": { + "start": { + "line": 64, + "column": 28 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "range": [ + 1550, + 1572 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "range": [ + 1550, + 1573 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n ", + "range": [ + 1413, + 1541 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 521, + 1579 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 65, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 516, + 1579 + ], + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 65, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 505, + 1579 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 65, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of BaseDropdown\n * @param {TableFilter} tf\n ", + "range": [ + 415, + 500 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sort passed options based on the type of the specified column\n * @param {Number} colIndex Column index\n * @param {Array} [options=[]] Collection of values\n * @return {Array} Sorted values\n * @private\n ", + "range": [ + 1585, + 1819 + ], + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sortOptions", + "range": [ + 1824, + 1835 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 74, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 1836, + 1844 + ], + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "options", + "range": [ + 1846, + 1853 + ], + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 33 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 1856, + 1858 + ], + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 38 + } + } + }, + "range": [ + 1846, + 1858 + ], + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 38 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 1874, + 1876 + ], + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1879, + 1883 + ], + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1884, + 1886 + ], + "loc": { + "start": { + "line": 75, + "column": 22 + }, + "end": { + "line": 75, + "column": 24 + } + } + }, + "range": [ + 1879, + 1886 + ], + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 24 + } + } + }, + "range": [ + 1874, + 1886 + ], + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 1870, + 1887 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1901, + 1903 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustomOptions", + "range": [ + 1904, + 1919 + ], + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 30 + } + } + }, + "range": [ + 1901, + 1919 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 1920, + 1928 + ], + "loc": { + "start": { + "line": 77, + "column": 31 + }, + "end": { + "line": 77, + "column": 39 + } + } + } + ], + "range": [ + 1901, + 1929 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 40 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1934, + 1936 + ], + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortSlc", + "range": [ + 1937, + 1944 + ], + "loc": { + "start": { + "line": 77, + "column": 48 + }, + "end": { + "line": 77, + "column": 55 + } + } + }, + "range": [ + 1934, + 1944 + ], + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 55 + } + } + }, + "prefix": true, + "range": [ + 1933, + 1944 + ], + "loc": { + "start": { + "line": 77, + "column": 44 + }, + "end": { + "line": 77, + "column": 55 + } + } + }, + "range": [ + 1901, + 1944 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 55 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 1961, + 1968 + ], + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1969, + 1971 + ], + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortSlc", + "range": [ + 1972, + 1979 + ], + "loc": { + "start": { + "line": 78, + "column": 24 + }, + "end": { + "line": 78, + "column": 31 + } + } + }, + "range": [ + 1969, + 1979 + ], + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 31 + } + } + } + ], + "range": [ + 1961, + 1980 + ], + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 32 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1984, + 1986 + ], + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortSlc", + "range": [ + 1987, + 1994 + ], + "loc": { + "start": { + "line": 78, + "column": 39 + }, + "end": { + "line": 78, + "column": 46 + } + } + }, + "range": [ + 1984, + 1994 + ], + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 1995, + 2002 + ], + "loc": { + "start": { + "line": 78, + "column": 47 + }, + "end": { + "line": 78, + "column": 54 + } + } + }, + "range": [ + 1984, + 2002 + ], + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2003, + 2011 + ], + "loc": { + "start": { + "line": 78, + "column": 55 + }, + "end": { + "line": 78, + "column": 63 + } + } + } + ], + "range": [ + 1984, + 2012 + ], + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 64 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2018, + 2019 + ], + "loc": { + "start": { + "line": 78, + "column": 70 + }, + "end": { + "line": 78, + "column": 71 + } + } + }, + "prefix": true, + "range": [ + 2017, + 2019 + ], + "loc": { + "start": { + "line": 78, + "column": 69 + }, + "end": { + "line": 78, + "column": 71 + } + } + }, + "range": [ + 1984, + 2019 + ], + "loc": { + "start": { + "line": 78, + "column": 36 + }, + "end": { + "line": 78, + "column": 71 + } + } + }, + "range": [ + 1961, + 2019 + ], + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 71 + } + } + }, + "range": [ + 1901, + 2020 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 78, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "options", + "range": [ + 2043, + 2050 + ], + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + "range": [ + 2036, + 2051 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 27 + } + } + } + ], + "range": [ + 2022, + 2061 + ], + "loc": { + "start": { + "line": 78, + "column": 74 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1897, + 2061 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 2077, + 2090 + ], + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + "value": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 2077, + 2090 + ], + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 2077, + 2090 + ], + "loc": { + "start": { + "line": 82, + "column": 14 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "sortNumDesc", + "range": [ + 2092, + 2103 + ], + "loc": { + "start": { + "line": 82, + "column": 29 + }, + "end": { + "line": 82, + "column": 40 + } + } + }, + "value": { + "type": "Identifier", + "name": "sortNumDesc", + "range": [ + 2092, + 2103 + ], + "loc": { + "start": { + "line": 82, + "column": 29 + }, + "end": { + "line": 82, + "column": 40 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 2092, + 2103 + ], + "loc": { + "start": { + "line": 82, + "column": 29 + }, + "end": { + "line": 82, + "column": 40 + } + } + } + ], + "range": [ + 2075, + 2105 + ], + "loc": { + "start": { + "line": 82, + "column": 12 + }, + "end": { + "line": 82, + "column": 42 + } + } + }, + "init": { + "type": "Identifier", + "name": "tf", + "range": [ + 2108, + 2110 + ], + "loc": { + "start": { + "line": 82, + "column": 45 + }, + "end": { + "line": 82, + "column": 47 + } + } + }, + "range": [ + 2075, + 2110 + ], + "loc": { + "start": { + "line": 82, + "column": 12 + }, + "end": { + "line": 82, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 2071, + 2111 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2124, + 2133 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + "init": null, + "range": [ + 2124, + 2133 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 21 + } + } + } + ], + "kind": "let", + "range": [ + 2120, + 2134 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2148, + 2152 + ], + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "customSorter", + "range": [ + 2153, + 2165 + ], + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + "range": [ + 2148, + 2165 + ], + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2181, + 2185 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "customSorter", + "range": [ + 2186, + 2198 + ], + "loc": { + "start": { + "line": 86, + "column": 17 + }, + "end": { + "line": 86, + "column": 29 + } + } + }, + "range": [ + 2181, + 2198 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "col", + "range": [ + 2199, + 2202 + ], + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 33 + } + } + }, + "range": [ + 2181, + 2202 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 2203, + 2210 + ], + "loc": { + "start": { + "line": 86, + "column": 34 + }, + "end": { + "line": 86, + "column": 41 + } + } + }, + "range": [ + 2181, + 2210 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2211, + 2219 + ], + "loc": { + "start": { + "line": 86, + "column": 42 + }, + "end": { + "line": 86, + "column": 50 + } + } + } + ], + "range": [ + 2181, + 2220 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 51 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2226, + 2227 + ], + "loc": { + "start": { + "line": 86, + "column": 57 + }, + "end": { + "line": 86, + "column": 58 + } + } + }, + "prefix": true, + "range": [ + 2225, + 2227 + ], + "loc": { + "start": { + "line": 86, + "column": 56 + }, + "end": { + "line": 86, + "column": 58 + } + } + }, + "range": [ + 2181, + 2227 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 58 + } + } + }, + "range": [ + 2148, + 2227 + ], + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 86, + "column": 58 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 2247, + 2250 + ], + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2253, + 2257 + ], + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "customSorter", + "range": [ + 2258, + 2270 + ], + "loc": { + "start": { + "line": 87, + "column": 27 + }, + "end": { + "line": 87, + "column": 39 + } + } + }, + "range": [ + 2253, + 2270 + ], + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "col", + "range": [ + 2271, + 2274 + ], + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 87, + "column": 43 + } + } + }, + "range": [ + 2253, + 2274 + ], + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 2275, + 2282 + ], + "loc": { + "start": { + "line": 87, + "column": 44 + }, + "end": { + "line": 87, + "column": 51 + } + } + }, + "range": [ + 2253, + 2282 + ], + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2283, + 2291 + ], + "loc": { + "start": { + "line": 87, + "column": 52 + }, + "end": { + "line": 87, + "column": 60 + } + } + } + ], + "range": [ + 2253, + 2292 + ], + "loc": { + "start": { + "line": 87, + "column": 22 + }, + "end": { + "line": 87, + "column": 61 + } + } + }, + "range": [ + 2247, + 2292 + ], + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 61 + } + } + } + ], + "kind": "var", + "range": [ + 2243, + 2293 + ], + "loc": { + "start": { + "line": 87, + "column": 12 + }, + "end": { + "line": 87, + "column": 62 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2306, + 2315 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2318, + 2322 + ], + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "customSorter", + "range": [ + 2323, + 2335 + ], + "loc": { + "start": { + "line": 88, + "column": 29 + }, + "end": { + "line": 88, + "column": 41 + } + } + }, + "range": [ + 2318, + 2335 + ], + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "comparer", + "range": [ + 2336, + 2344 + ], + "loc": { + "start": { + "line": 88, + "column": 42 + }, + "end": { + "line": 88, + "column": 50 + } + } + }, + "range": [ + 2318, + 2344 + ], + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "idx", + "range": [ + 2345, + 2348 + ], + "loc": { + "start": { + "line": 88, + "column": 51 + }, + "end": { + "line": 88, + "column": 54 + } + } + }, + "range": [ + 2318, + 2349 + ], + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 55 + } + } + }, + "range": [ + 2306, + 2349 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 55 + } + } + }, + "range": [ + 2306, + 2350 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 56 + } + } + } + ], + "range": [ + 2229, + 2360 + ], + "loc": { + "start": { + "line": 86, + "column": 60 + }, + "end": { + "line": 89, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2378, + 2380 + ], + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 2381, + 2388 + ], + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 27 + } + } + }, + "range": [ + 2378, + 2388 + ], + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2389, + 2397 + ], + "loc": { + "start": { + "line": 90, + "column": 28 + }, + "end": { + "line": 90, + "column": 36 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 2400, + 2406 + ], + "loc": { + "start": { + "line": 90, + "column": 39 + }, + "end": { + "line": 90, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 2408, + 2424 + ], + "loc": { + "start": { + "line": 90, + "column": 47 + }, + "end": { + "line": 90, + "column": 63 + } + } + } + ], + "range": [ + 2399, + 2425 + ], + "loc": { + "start": { + "line": 90, + "column": 38 + }, + "end": { + "line": 90, + "column": 64 + } + } + } + ], + "range": [ + 2378, + 2426 + ], + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "decimal", + "range": [ + 2446, + 2453 + ], + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2456, + 2458 + ], + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getDecimal", + "range": [ + 2459, + 2469 + ], + "loc": { + "start": { + "line": 91, + "column": 29 + }, + "end": { + "line": 91, + "column": 39 + } + } + }, + "range": [ + 2456, + 2469 + ], + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2470, + 2478 + ], + "loc": { + "start": { + "line": 91, + "column": 40 + }, + "end": { + "line": 91, + "column": 48 + } + } + } + ], + "range": [ + 2456, + 2479 + ], + "loc": { + "start": { + "line": 91, + "column": 26 + }, + "end": { + "line": 91, + "column": 49 + } + } + }, + "range": [ + 2446, + 2479 + ], + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 2442, + 2480 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "comparer", + "range": [ + 2497, + 2505 + ], + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + "init": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 2508, + 2518 + ], + "loc": { + "start": { + "line": 92, + "column": 27 + }, + "end": { + "line": 92, + "column": 37 + } + } + }, + "range": [ + 2497, + 2518 + ], + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 2493, + 2519 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "sortNumDesc", + "range": [ + 2536, + 2547 + ], + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2552, + 2556 + ], + "loc": { + "start": { + "line": 93, + "column": 32 + }, + "end": { + "line": 93, + "column": 36 + } + } + }, + "range": [ + 2536, + 2556 + ], + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 36 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sortNumDesc", + "range": [ + 2560, + 2571 + ], + "loc": { + "start": { + "line": 93, + "column": 40 + }, + "end": { + "line": 93, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 2572, + 2579 + ], + "loc": { + "start": { + "line": 93, + "column": 52 + }, + "end": { + "line": 93, + "column": 59 + } + } + }, + "range": [ + 2560, + 2579 + ], + "loc": { + "start": { + "line": 93, + "column": 40 + }, + "end": { + "line": 93, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2580, + 2588 + ], + "loc": { + "start": { + "line": 93, + "column": 60 + }, + "end": { + "line": 93, + "column": 68 + } + } + } + ], + "range": [ + 2560, + 2589 + ], + "loc": { + "start": { + "line": 93, + "column": 40 + }, + "end": { + "line": 93, + "column": 69 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2595, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 75 + }, + "end": { + "line": 93, + "column": 76 + } + } + }, + "prefix": true, + "range": [ + 2594, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 74 + }, + "end": { + "line": 93, + "column": 76 + } + } + }, + "range": [ + 2560, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 40 + }, + "end": { + "line": 93, + "column": 76 + } + } + }, + "range": [ + 2536, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 76 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "comparer", + "range": [ + 2616, + 2624 + ], + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "numSortDesc", + "range": [ + 2627, + 2638 + ], + "loc": { + "start": { + "line": 94, + "column": 27 + }, + "end": { + "line": 94, + "column": 38 + } + } + }, + "range": [ + 2616, + 2638 + ], + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 38 + } + } + }, + "range": [ + 2616, + 2639 + ], + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 39 + } + } + } + ], + "range": [ + 2598, + 2653 + ], + "loc": { + "start": { + "line": 93, + "column": 78 + }, + "end": { + "line": 95, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 2532, + 2653 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 95, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2666, + 2675 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "sortNumberStr", + "range": [ + 2678, + 2691 + ], + "loc": { + "start": { + "line": 96, + "column": 24 + }, + "end": { + "line": 96, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "comparer", + "range": [ + 2692, + 2700 + ], + "loc": { + "start": { + "line": 96, + "column": 38 + }, + "end": { + "line": 96, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 2702, + 2709 + ], + "loc": { + "start": { + "line": 96, + "column": 48 + }, + "end": { + "line": 96, + "column": 55 + } + } + } + ], + "range": [ + 2678, + 2710 + ], + "loc": { + "start": { + "line": 96, + "column": 24 + }, + "end": { + "line": 96, + "column": 56 + } + } + }, + "range": [ + 2666, + 2710 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 56 + } + } + }, + "range": [ + 2666, + 2711 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 57 + } + } + } + ], + "range": [ + 2428, + 2721 + ], + "loc": { + "start": { + "line": 90, + "column": 67 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2739, + 2741 + ], + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 2742, + 2749 + ], + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 27 + } + } + }, + "range": [ + 2739, + 2749 + ], + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2750, + 2758 + ], + "loc": { + "start": { + "line": 98, + "column": 28 + }, + "end": { + "line": 98, + "column": 36 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "DATE", + "range": [ + 2761, + 2765 + ], + "loc": { + "start": { + "line": 98, + "column": 39 + }, + "end": { + "line": 98, + "column": 43 + } + } + } + ], + "range": [ + 2760, + 2766 + ], + "loc": { + "start": { + "line": 98, + "column": 38 + }, + "end": { + "line": 98, + "column": 44 + } + } + } + ], + "range": [ + 2739, + 2767 + ], + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "locale", + "range": [ + 2787, + 2793 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2796, + 2798 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 2799, + 2806 + ], + "loc": { + "start": { + "line": 99, + "column": 28 + }, + "end": { + "line": 99, + "column": 35 + } + } + }, + "range": [ + 2796, + 2806 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "dateType", + "raw": "'dateType'", + "range": [ + 2807, + 2817 + ], + "loc": { + "start": { + "line": 99, + "column": 36 + }, + "end": { + "line": 99, + "column": 46 + } + } + } + ], + "range": [ + 2796, + 2818 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "getLocale", + "range": [ + 2819, + 2828 + ], + "loc": { + "start": { + "line": 99, + "column": 48 + }, + "end": { + "line": 99, + "column": 57 + } + } + }, + "range": [ + 2796, + 2828 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2829, + 2837 + ], + "loc": { + "start": { + "line": 99, + "column": 58 + }, + "end": { + "line": 99, + "column": 66 + } + } + } + ], + "range": [ + 2796, + 2838 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 67 + } + } + }, + "range": [ + 2787, + 2838 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 67 + } + } + } + ], + "kind": "let", + "range": [ + 2783, + 2839 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 68 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "comparer", + "range": [ + 2856, + 2864 + ], + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + "init": { + "type": "Identifier", + "name": "dateSortAsc", + "range": [ + 2867, + 2878 + ], + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 38 + } + } + }, + "range": [ + 2856, + 2878 + ], + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 2852, + 2879 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2892, + 2901 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "sortDateStr", + "range": [ + 2904, + 2915 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "comparer", + "range": [ + 2916, + 2924 + ], + "loc": { + "start": { + "line": 101, + "column": 36 + }, + "end": { + "line": 101, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 2926, + 2932 + ], + "loc": { + "start": { + "line": 101, + "column": 46 + }, + "end": { + "line": 101, + "column": 52 + } + } + } + ], + "range": [ + 2904, + 2933 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 53 + } + } + }, + "range": [ + 2892, + 2933 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 53 + } + } + }, + "range": [ + 2892, + 2934 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 54 + } + } + } + ], + "range": [ + 2769, + 2944 + ], + "loc": { + "start": { + "line": 98, + "column": 47 + }, + "end": { + "line": 102, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2974, + 2983 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 2986, + 2999 + ], + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "undefined", + "range": [ + 3002, + 3011 + ], + "loc": { + "start": { + "line": 103, + "column": 40 + }, + "end": { + "line": 103, + "column": 49 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "ignoreCase", + "range": [ + 3014, + 3024 + ], + "loc": { + "start": { + "line": 103, + "column": 52 + }, + "end": { + "line": 103, + "column": 62 + } + } + }, + "range": [ + 2986, + 3024 + ], + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 103, + "column": 62 + } + } + }, + "range": [ + 2974, + 3024 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 62 + } + } + }, + "range": [ + 2974, + 3025 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " string", + "range": [ + 2952, + 2961 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 26 + } + } + } + ] + } + ], + "range": [ + 2950, + 3035 + ], + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "range": [ + 2735, + 3035 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "range": [ + 2374, + 3035 + ], + "loc": { + "start": { + "line": 90, + "column": 13 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "range": [ + 2144, + 3035 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3052, + 3059 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 3060, + 3064 + ], + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + "range": [ + 3052, + 3064 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "compareFn", + "range": [ + 3065, + 3074 + ], + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 37 + } + } + } + ], + "range": [ + 3052, + 3075 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 38 + } + } + }, + "range": [ + 3045, + 3076 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 39 + } + } + } + ], + "range": [ + 1860, + 3082 + ], + "loc": { + "start": { + "line": 74, + "column": 40 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1835, + 3082 + ], + "loc": { + "start": { + "line": 74, + "column": 15 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1824, + 3082 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 107, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sort passed options based on the type of the specified column\n * @param {Number} colIndex Column index\n * @param {Array} [options=[]] Collection of values\n * @return {Array} Sorted values\n * @private\n ", + "range": [ + 1585, + 1819 + ], + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Regenerate filters of specified columns and maintain selection if any\n * @param {Array} colIndexes Collection of column indexes\n * @private\n ", + "range": [ + 3088, + 3254 + ], + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 113, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "refreshFilters", + "range": [ + 3259, + 3273 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 3274, + 3284 + ], + "loc": { + "start": { + "line": 114, + "column": 19 + }, + "end": { + "line": 114, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colIndexes", + "range": [ + 3296, + 3306 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 3307, + 3314 + ], + "loc": { + "start": { + "line": 115, + "column": 19 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + "range": [ + 3296, + 3314 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 3316, + 3322 + ], + "loc": { + "start": { + "line": 115, + "column": 28 + }, + "end": { + "line": 115, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "values", + "range": [ + 3345, + 3351 + ], + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3354, + 3358 + ], + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValues", + "range": [ + 3359, + 3368 + ], + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + "range": [ + 3354, + 3368 + ], + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 3369, + 3375 + ], + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 46 + } + } + } + ], + "range": [ + 3354, + 3376 + ], + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 47 + } + } + }, + "range": [ + 3345, + 3376 + ], + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 3341, + 3377 + ], + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3390, + 3394 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 3395, + 3400 + ], + "loc": { + "start": { + "line": 117, + "column": 17 + }, + "end": { + "line": 117, + "column": 22 + } + } + }, + "range": [ + 3390, + 3400 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 3401, + 3407 + ], + "loc": { + "start": { + "line": 117, + "column": 23 + }, + "end": { + "line": 117, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3409, + 3413 + ], + "loc": { + "start": { + "line": 117, + "column": 31 + }, + "end": { + "line": 117, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3414, + 3416 + ], + "loc": { + "start": { + "line": 117, + "column": 36 + }, + "end": { + "line": 117, + "column": 38 + } + } + }, + "range": [ + 3409, + 3416 + ], + "loc": { + "start": { + "line": 117, + "column": 31 + }, + "end": { + "line": 117, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 3417, + 3430 + ], + "loc": { + "start": { + "line": 117, + "column": 39 + }, + "end": { + "line": 117, + "column": 52 + } + } + }, + "range": [ + 3409, + 3430 + ], + "loc": { + "start": { + "line": 117, + "column": 31 + }, + "end": { + "line": 117, + "column": 52 + } + } + } + ], + "range": [ + 3390, + 3431 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 53 + } + } + }, + "range": [ + 3390, + 3432 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3445, + 3449 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 3450, + 3463 + ], + "loc": { + "start": { + "line": 118, + "column": 17 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + "range": [ + 3445, + 3463 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 3464, + 3470 + ], + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 118, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 3472, + 3478 + ], + "loc": { + "start": { + "line": 118, + "column": 39 + }, + "end": { + "line": 118, + "column": 45 + } + } + } + ], + "range": [ + 3445, + 3479 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 46 + } + } + }, + "range": [ + 3445, + 3480 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 47 + } + } + } + ], + "range": [ + 3327, + 3490 + ], + "loc": { + "start": { + "line": 115, + "column": 39 + }, + "end": { + "line": 119, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3315, + 3490 + ], + "loc": { + "start": { + "line": 115, + "column": 27 + }, + "end": { + "line": 119, + "column": 9 + } + } + } + ], + "range": [ + 3296, + 3491 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 119, + "column": 10 + } + } + }, + "range": [ + 3296, + 3492 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 119, + "column": 11 + } + } + } + ], + "range": [ + 3286, + 3498 + ], + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 120, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3273, + 3498 + ], + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 120, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3259, + 3498 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 120, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Regenerate filters of specified columns and maintain selection if any\n * @param {Array} colIndexes Collection of column indexes\n * @private\n ", + "range": [ + 3088, + 3254 + ], + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 113, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 408, + 3500 + ], + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 121, + "column": 1 + } + } + }, + "range": [ + 373, + 3500 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Base class for Dropdown and CheckList UI components\n * @export\n * @class BaseDropdown\n * @extends {Feature}\n ", + "range": [ + 247, + 365 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 366, + 3500 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Base class for Dropdown and CheckList UI components\n * @export\n * @class BaseDropdown\n * @extends {Feature}\n ", + "range": [ + 247, + 365 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 3500 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 121, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Base class for Dropdown and CheckList UI components\n * @export\n * @class BaseDropdown\n * @extends {Feature}\n ", + "range": [ + 247, + 365 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of BaseDropdown\n * @param {TableFilter} tf\n ", + "range": [ + 415, + 500 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter options custom sorter on a column basis\n * @type {Object}\n ", + "range": [ + 597, + 696 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " TODO: move here all properties shared by Dropdown CheckList", + "range": [ + 932, + 994 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 70 + } + } + }, + { + "type": "Block", + "value": "*\n * Has custom options\n * @type {Boolean}\n * @private\n ", + "range": [ + 1004, + 1096 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of options values\n * @type {Array}\n * @private\n ", + "range": [ + 1137, + 1231 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of options texts for custom values\n * @type {Array}\n * @private\n ", + "range": [ + 1265, + 1376 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n ", + "range": [ + 1413, + 1541 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Sort passed options based on the type of the specified column\n * @param {Number} colIndex Column index\n * @param {Array} [options=[]] Collection of values\n * @return {Array} Sorted values\n * @private\n ", + "range": [ + 1585, + 1819 + ], + "loc": { + "start": { + "line": 67, + "column": 4 + }, + "end": { + "line": 73, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " string", + "range": [ + 2952, + 2961 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 26 + } + } + }, + { + "type": "Block", + "value": "*\n * Regenerate filters of specified columns and maintain selection if any\n * @param {Array} colIndexes Collection of column indexes\n * @private\n ", + "range": [ + 3088, + 3254 + ], + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 113, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/checkList.js.json b/docs/ast/source/modules/checkList.js.json new file mode 100644 index 00000000..de6264fe --- /dev/null +++ b/docs/ast/source/modules/checkList.js.json @@ -0,0 +1,39085 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + "imported": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./baseDropdown", + "raw": "'./baseDropdown'", + "range": [ + 27, + 43 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + "range": [ + 0, + 44 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addClass", + "range": [ + 58, + 66 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addClass", + "range": [ + 58, + 66 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "range": [ + 58, + 66 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 68, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 68, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + "range": [ + 68, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 97, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 52 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 97, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 52 + } + } + }, + "range": [ + 97, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 52 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 108, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 54 + }, + "end": { + "line": 3, + "column": 57 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 108, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 54 + }, + "end": { + "line": 3, + "column": 57 + } + } + }, + "range": [ + 108, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 54 + }, + "end": { + "line": 3, + "column": 57 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getText", + "range": [ + 113, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getText", + "range": [ + 113, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + "range": [ + 113, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 126, + 137 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 126, + 137 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "range": [ + 126, + 137 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "tag", + "range": [ + 139, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "imported": { + "type": "Identifier", + "name": "tag", + "range": [ + 139, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + "range": [ + 139, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 20 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 150, + 158 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + "range": [ + 45, + 159 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 5, + "column": 16 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "has", + "range": [ + 168, + 171 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 11 + } + } + }, + "imported": { + "type": "Identifier", + "name": "has", + "range": [ + 168, + 171 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 11 + } + } + }, + "range": [ + 168, + 171 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 11 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../array", + "raw": "'../array'", + "range": [ + 178, + 188 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + "range": [ + 160, + 189 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 198, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 198, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + "range": [ + 198, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "trim", + "range": [ + 209, + 213 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "trim", + "range": [ + 209, + 213 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + "range": [ + 209, + 213 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 215, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 215, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "range": [ + 215, + 221 + ], + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../string", + "raw": "'../string'", + "range": [ + 228, + 239 + ], + "loc": { + "start": { + "line": 7, + "column": 38 + }, + "end": { + "line": 7, + "column": 49 + } + } + }, + "range": [ + 190, + 240 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 50 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 249, + 255 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 249, + 255 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + "range": [ + 249, + 255 + ], + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 257, + 266 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 257, + 266 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + "range": [ + 257, + 266 + ], + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 268, + 277 + ], + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 268, + 277 + ], + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + "range": [ + 268, + 277 + ], + "loc": { + "start": { + "line": 8, + "column": 27 + }, + "end": { + "line": 8, + "column": 36 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 284, + 294 + ], + "loc": { + "start": { + "line": 8, + "column": 43 + }, + "end": { + "line": 8, + "column": 53 + } + } + }, + "range": [ + 241, + 295 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 304, + 311 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 304, + 311 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + "range": [ + 304, + 311 + ], + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 318, + 328 + ], + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + "range": [ + 296, + 329 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 33 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 338, + 347 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 338, + 347 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + "range": [ + 338, + 347 + ], + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 349, + 353 + ], + "loc": { + "start": { + "line": 10, + "column": 19 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 349, + 353 + ], + "loc": { + "start": { + "line": 10, + "column": 19 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + "range": [ + 349, + 353 + ], + "loc": { + "start": { + "line": 10, + "column": 19 + }, + "end": { + "line": 10, + "column": 23 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 360, + 370 + ], + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 40 + } + } + }, + "range": [ + 330, + 371 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 41 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 380, + 391 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 380, + 391 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + "range": [ + 380, + 391 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 393, + 405 + ], + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 393, + 405 + ], + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + "range": [ + 393, + 405 + ], + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 33 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 412, + 425 + ], + "loc": { + "start": { + "line": 11, + "column": 40 + }, + "end": { + "line": 11, + "column": 53 + } + } + }, + "range": [ + 372, + 426 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter UI component\n * @export\n * @class CheckList\n * @extends {BaseDropdown}\n ", + "range": [ + 428, + 526 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "CheckList", + "range": [ + 540, + 549 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 558, + 570 + ], + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 43 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 686, + 697 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 698, + 700 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 712, + 717 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 718, + 720 + ], + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "checkList", + "raw": "'checkList'", + "range": [ + 722, + 733 + ], + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 29 + } + } + } + ], + "range": [ + 712, + 734 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 30 + } + } + }, + "range": [ + 712, + 735 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 749, + 750 + ], + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 753, + 757 + ], + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 758, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + "range": [ + 753, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + "range": [ + 749, + 764 + ], + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 745, + 765 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of container DOM elements\n * @type {Array}\n ", + "range": [ + 775, + 857 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 866, + 870 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "containers", + "range": [ + 871, + 881 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + "range": [ + 866, + 881 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 884, + 886 + ], + "loc": { + "start": { + "line": 34, + "column": 26 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + "range": [ + 866, + 886 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + "range": [ + 866, + 887 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of container DOM elements\n * @type {Array}\n ", + "range": [ + 775, + 857 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the container of the checklist filter (div)\n * @type {String}\n ", + "range": [ + 897, + 1007 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1016, + 1020 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "containerCssClass", + "range": [ + 1021, + 1038 + ], + "loc": { + "start": { + "line": 40, + "column": 13 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + "range": [ + 1016, + 1038 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1041, + 1052 + ], + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1053, + 1054 + ], + "loc": { + "start": { + "line": 40, + "column": 45 + }, + "end": { + "line": 40, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "div_checklist_css_class", + "range": [ + 1055, + 1078 + ], + "loc": { + "start": { + "line": 40, + "column": 47 + }, + "end": { + "line": 40, + "column": 70 + } + } + }, + "range": [ + 1053, + 1078 + ], + "loc": { + "start": { + "line": 40, + "column": 45 + }, + "end": { + "line": 40, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": "div_checklist", + "raw": "'div_checklist'", + "range": [ + 1092, + 1107 + ], + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 27 + } + } + } + ], + "range": [ + 1041, + 1108 + ], + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + "range": [ + 1016, + 1108 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + "range": [ + 1016, + 1109 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 41, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the container of the checklist filter (div)\n * @type {String}\n ", + "range": [ + 897, + 1007 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the checklist filter element (ul)\n * @type {String}\n ", + "range": [ + 1119, + 1219 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1228, + 1232 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filterCssClass", + "range": [ + 1233, + 1247 + ], + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 27 + } + } + }, + "range": [ + 1228, + 1247 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1250, + 1261 + ], + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1262, + 1263 + ], + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_css_class", + "range": [ + 1264, + 1283 + ], + "loc": { + "start": { + "line": 47, + "column": 44 + }, + "end": { + "line": 47, + "column": 63 + } + } + }, + "range": [ + 1262, + 1283 + ], + "loc": { + "start": { + "line": 47, + "column": 42 + }, + "end": { + "line": 47, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": "flt_checklist", + "raw": "'flt_checklist'", + "range": [ + 1297, + 1312 + ], + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 27 + } + } + } + ], + "range": [ + 1250, + 1313 + ], + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + "range": [ + 1228, + 1313 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + "range": [ + 1228, + 1314 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 48, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the checklist filter element (ul)\n * @type {String}\n ", + "range": [ + 1119, + 1219 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1324, + 1419 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1428, + 1432 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "itemCssClass", + "range": [ + 1433, + 1445 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + "range": [ + 1428, + 1445 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1448, + 1459 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1460, + 1461 + ], + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_item_css_class", + "range": [ + 1462, + 1486 + ], + "loc": { + "start": { + "line": 54, + "column": 42 + }, + "end": { + "line": 54, + "column": 66 + } + } + }, + "range": [ + 1460, + 1486 + ], + "loc": { + "start": { + "line": 54, + "column": 40 + }, + "end": { + "line": 54, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": "flt_checklist_item", + "raw": "'flt_checklist_item'", + "range": [ + 1500, + 1520 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 32 + } + } + } + ], + "range": [ + 1448, + 1521 + ], + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 55, + "column": 33 + } + } + }, + "range": [ + 1428, + 1521 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 55, + "column": 33 + } + } + }, + "range": [ + 1428, + 1522 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 55, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1324, + 1419 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a selected item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1532, + 1634 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1643, + 1647 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedItemCssClass", + "range": [ + 1648, + 1668 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 33 + } + } + }, + "range": [ + 1643, + 1668 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1671, + 1682 + ], + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1696, + 1697 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_selected_item_css_class", + "range": [ + 1698, + 1731 + ], + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 47 + } + } + }, + "range": [ + 1696, + 1731 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "flt_checklist_slc_item", + "raw": "'flt_checklist_slc_item'", + "range": [ + 1745, + 1769 + ], + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 36 + } + } + } + ], + "range": [ + 1671, + 1779 + ], + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + "range": [ + 1643, + 1779 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + "range": [ + 1643, + 1780 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a selected item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1532, + 1634 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n ", + "range": [ + 1790, + 1937 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1946, + 1950 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activateText", + "range": [ + 1951, + 1963 + ], + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + "range": [ + 1946, + 1963 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1966, + 1977 + ], + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 71, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1991, + 1992 + ], + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "activate_checklist_text", + "range": [ + 1993, + 2016 + ], + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + "range": [ + 1991, + 2016 + ], + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": "Click to load filter data", + "raw": "'Click to load filter data'", + "range": [ + 2030, + 2057 + ], + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 39 + } + } + } + ], + "range": [ + 1966, + 2067 + ], + "loc": { + "start": { + "line": 71, + "column": 28 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + "range": [ + 1946, + 2067 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 9 + } + } + }, + "range": [ + 1946, + 2068 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n ", + "range": [ + 1790, + 1937 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n ", + "range": [ + 2078, + 2180 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2189, + 2193 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "disabledItemCssClass", + "range": [ + 2194, + 2214 + ], + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 33 + } + } + }, + "range": [ + 2189, + 2214 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2217, + 2228 + ], + "loc": { + "start": { + "line": 80, + "column": 36 + }, + "end": { + "line": 80, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2242, + 2243 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "checklist_item_disabled_css_class", + "range": [ + 2244, + 2277 + ], + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + "range": [ + 2242, + 2277 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "flt_checklist_item_disabled", + "raw": "'flt_checklist_item_disabled'", + "range": [ + 2291, + 2320 + ], + "loc": { + "start": { + "line": 82, + "column": 12 + }, + "end": { + "line": 82, + "column": 41 + } + } + } + ], + "range": [ + 2217, + 2330 + ], + "loc": { + "start": { + "line": 80, + "column": 36 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + "range": [ + 2189, + 2330 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 83, + "column": 9 + } + } + }, + "range": [ + 2189, + 2331 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 83, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n ", + "range": [ + 2078, + 2180 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 2341, + 2439 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2448, + 2452 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableResetOption", + "range": [ + 2453, + 2470 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + "range": [ + 2448, + 2470 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 2473, + 2485 + ], + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2486, + 2487 + ], + "loc": { + "start": { + "line": 89, + "column": 46 + }, + "end": { + "line": 89, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_checklist_reset_filter", + "range": [ + 2488, + 2517 + ], + "loc": { + "start": { + "line": 89, + "column": 48 + }, + "end": { + "line": 89, + "column": 77 + } + } + }, + "range": [ + 2486, + 2517 + ], + "loc": { + "start": { + "line": 89, + "column": 46 + }, + "end": { + "line": 89, + "column": 77 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2531, + 2535 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 16 + } + } + } + ], + "range": [ + 2473, + 2536 + ], + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + "range": [ + 2448, + 2536 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 90, + "column": 17 + } + } + }, + "range": [ + 2448, + 2537 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 90, + "column": 18 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 2341, + 2439 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for container element ID\n * @type {String}\n * @private\n ", + "range": [ + 2547, + 2651 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 96, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2660, + 2664 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfx", + "range": [ + 2665, + 2669 + ], + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 17 + } + } + }, + "range": [ + 2660, + 2669 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": "chkdiv_", + "raw": "'chkdiv_'", + "range": [ + 2672, + 2681 + ], + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 97, + "column": 29 + } + } + }, + "range": [ + 2660, + 2681 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 29 + } + } + }, + "range": [ + 2660, + 2682 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for container element ID\n * @type {String}\n * @private\n ", + "range": [ + 2547, + 2651 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 96, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 702, + 2688 + ], + "loc": { + "start": { + "line": 25, + "column": 20 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 697, + 2688 + ], + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 686, + 2688 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 98, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 578, + 681 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n * @private\n ", + "range": [ + 2694, + 2791 + ], + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "optionClick", + "range": [ + 2796, + 2807 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 2808, + 2811 + ], + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 19 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 2827, + 2830 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 2833, + 2842 + ], + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 2843, + 2846 + ], + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 31 + } + } + } + ], + "range": [ + 2833, + 2847 + ], + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 32 + } + } + }, + "range": [ + 2827, + 2847 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 2823, + 2848 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2861, + 2863 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2866, + 2870 + ], + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2871, + 2873 + ], + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 24 + } + } + }, + "range": [ + 2866, + 2873 + ], + "loc": { + "start": { + "line": 107, + "column": 17 + }, + "end": { + "line": 107, + "column": 24 + } + } + }, + "range": [ + 2861, + 2873 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2857, + 2874 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2884, + 2888 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2889, + 2896 + ], + "loc": { + "start": { + "line": 109, + "column": 13 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + "range": [ + 2884, + 2896 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 2897, + 2901 + ], + "loc": { + "start": { + "line": 109, + "column": 21 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + "range": [ + 2884, + 2901 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 2902, + 2916 + ], + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 2918, + 2920 + ], + "loc": { + "start": { + "line": 109, + "column": 42 + }, + "end": { + "line": 109, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "elm", + "range": [ + 2922, + 2925 + ], + "loc": { + "start": { + "line": 109, + "column": 46 + }, + "end": { + "line": 109, + "column": 49 + } + } + } + ], + "range": [ + 2884, + 2926 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 50 + } + } + }, + "range": [ + 2884, + 2927 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2936, + 2940 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setCheckListValues", + "range": [ + 2941, + 2959 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 31 + } + } + }, + "range": [ + 2936, + 2959 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "elm", + "range": [ + 2960, + 2963 + ], + "loc": { + "start": { + "line": 110, + "column": 32 + }, + "end": { + "line": 110, + "column": 35 + } + } + } + ], + "range": [ + 2936, + 2964 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 36 + } + } + }, + "range": [ + 2936, + 2965 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2974, + 2976 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 2977, + 2983 + ], + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + "range": [ + 2974, + 2983 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 2974, + 2985 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 19 + } + } + }, + "range": [ + 2974, + 2986 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 20 + } + } + } + ], + "range": [ + 2813, + 2992 + ], + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2807, + 2992 + ], + "loc": { + "start": { + "line": 105, + "column": 15 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2796, + 2992 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 112, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n * @private\n ", + "range": [ + 2694, + 2791 + ], + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n * @private\n ", + "range": [ + 2998, + 3125 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onCheckListClick", + "range": [ + 3130, + 3146 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3147, + 3150 + ], + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 3166, + 3169 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 3172, + 3181 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3182, + 3185 + ], + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 31 + } + } + } + ], + "range": [ + 3172, + 3186 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 32 + } + } + }, + "range": [ + 3166, + 3186 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 3162, + 3187 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 33 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3200, + 3204 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3205, + 3207 + ], + "loc": { + "start": { + "line": 121, + "column": 17 + }, + "end": { + "line": 121, + "column": 19 + } + } + }, + "range": [ + 3200, + 3207 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 3208, + 3223 + ], + "loc": { + "start": { + "line": 121, + "column": 20 + }, + "end": { + "line": 121, + "column": 35 + } + } + }, + "range": [ + 3200, + 3223 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 3227, + 3230 + ], + "loc": { + "start": { + "line": 121, + "column": 39 + }, + "end": { + "line": 121, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 3231, + 3243 + ], + "loc": { + "start": { + "line": 121, + "column": 43 + }, + "end": { + "line": 121, + "column": 55 + } + } + }, + "range": [ + 3227, + 3243 + ], + "loc": { + "start": { + "line": 121, + "column": 39 + }, + "end": { + "line": 121, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 3244, + 3252 + ], + "loc": { + "start": { + "line": 121, + "column": 56 + }, + "end": { + "line": 121, + "column": 64 + } + } + } + ], + "range": [ + 3227, + 3253 + ], + "loc": { + "start": { + "line": 121, + "column": 39 + }, + "end": { + "line": 121, + "column": 65 + } + } + }, + "right": { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 3258, + 3261 + ], + "loc": { + "start": { + "line": 121, + "column": 70 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "range": [ + 3227, + 3261 + ], + "loc": { + "start": { + "line": 121, + "column": 39 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "range": [ + 3200, + 3261 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 3281, + 3283 + ], + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 3286, + 3289 + ], + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 3290, + 3302 + ], + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 37 + } + } + }, + "range": [ + 3286, + 3302 + ], + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "ct", + "raw": "'ct'", + "range": [ + 3303, + 3307 + ], + "loc": { + "start": { + "line": 122, + "column": 38 + }, + "end": { + "line": 122, + "column": 42 + } + } + } + ], + "range": [ + 3286, + 3308 + ], + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 43 + } + } + }, + "range": [ + 3281, + 3308 + ], + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 3277, + 3309 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "div", + "range": [ + 3326, + 3329 + ], + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3332, + 3336 + ], + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "containers", + "range": [ + 3337, + 3347 + ], + "loc": { + "start": { + "line": 123, + "column": 27 + }, + "end": { + "line": 123, + "column": 37 + } + } + }, + "range": [ + 3332, + 3347 + ], + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "ct", + "range": [ + 3348, + 3350 + ], + "loc": { + "start": { + "line": 123, + "column": 38 + }, + "end": { + "line": 123, + "column": 40 + } + } + }, + "range": [ + 3332, + 3351 + ], + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 41 + } + } + }, + "range": [ + 3326, + 3351 + ], + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 3322, + 3352 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3365, + 3369 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 3370, + 3375 + ], + "loc": { + "start": { + "line": 124, + "column": 17 + }, + "end": { + "line": 124, + "column": 22 + } + } + }, + "range": [ + 3365, + 3375 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ct", + "range": [ + 3376, + 3378 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 25 + } + } + } + ], + "range": [ + 3365, + 3379 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 26 + } + } + }, + "range": [ + 3365, + 3380 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 3393, + 3402 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "div", + "range": [ + 3403, + 3406 + ], + "loc": { + "start": { + "line": 125, + "column": 22 + }, + "end": { + "line": 125, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 3408, + 3415 + ], + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 34 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3418, + 3421 + ], + "loc": { + "start": { + "line": 125, + "column": 37 + }, + "end": { + "line": 125, + "column": 40 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3426, + 3430 + ], + "loc": { + "start": { + "line": 125, + "column": 45 + }, + "end": { + "line": 125, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "onCheckListClick", + "range": [ + 3431, + 3447 + ], + "loc": { + "start": { + "line": 125, + "column": 50 + }, + "end": { + "line": 125, + "column": 66 + } + } + }, + "range": [ + 3426, + 3447 + ], + "loc": { + "start": { + "line": 125, + "column": 45 + }, + "end": { + "line": 125, + "column": 66 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3448, + 3451 + ], + "loc": { + "start": { + "line": 125, + "column": 67 + }, + "end": { + "line": 125, + "column": 70 + } + } + } + ], + "range": [ + 3426, + 3452 + ], + "loc": { + "start": { + "line": 125, + "column": 45 + }, + "end": { + "line": 125, + "column": 71 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3417, + 3452 + ], + "loc": { + "start": { + "line": 125, + "column": 36 + }, + "end": { + "line": 125, + "column": 71 + } + } + } + ], + "range": [ + 3393, + 3453 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 72 + } + } + }, + "range": [ + 3393, + 3454 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 73 + } + } + } + ], + "range": [ + 3263, + 3464 + ], + "loc": { + "start": { + "line": 121, + "column": 75 + }, + "end": { + "line": 126, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3196, + 3464 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 126, + "column": 9 + } + } + } + ], + "range": [ + 3152, + 3470 + ], + "loc": { + "start": { + "line": 119, + "column": 26 + }, + "end": { + "line": 127, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3146, + 3470 + ], + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 127, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3130, + 3470 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 127, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n * @private\n ", + "range": [ + 2998, + 3125 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh all checklist filters\n ", + "range": [ + 3476, + 3524 + ], + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 131, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 3529, + 3539 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdxs", + "range": [ + 3556, + 3563 + ], + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3566, + 3570 + ], + "loc": { + "start": { + "line": 133, + "column": 22 + }, + "end": { + "line": 133, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3571, + 3573 + ], + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 133, + "column": 29 + } + } + }, + "range": [ + 3566, + 3573 + ], + "loc": { + "start": { + "line": 133, + "column": 22 + }, + "end": { + "line": 133, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 3574, + 3590 + ], + "loc": { + "start": { + "line": 133, + "column": 30 + }, + "end": { + "line": 133, + "column": 46 + } + } + }, + "range": [ + 3566, + 3590 + ], + "loc": { + "start": { + "line": 133, + "column": 22 + }, + "end": { + "line": 133, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 3591, + 3600 + ], + "loc": { + "start": { + "line": 133, + "column": 47 + }, + "end": { + "line": 133, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3602, + 3606 + ], + "loc": { + "start": { + "line": 133, + "column": 58 + }, + "end": { + "line": 133, + "column": 62 + } + } + } + ], + "range": [ + 3566, + 3607 + ], + "loc": { + "start": { + "line": 133, + "column": 22 + }, + "end": { + "line": 133, + "column": 63 + } + } + }, + "range": [ + 3556, + 3607 + ], + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 3552, + 3608 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3617, + 3621 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshFilters", + "range": [ + 3622, + 3636 + ], + "loc": { + "start": { + "line": 134, + "column": 13 + }, + "end": { + "line": 134, + "column": 27 + } + } + }, + "range": [ + 3617, + 3636 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdxs", + "range": [ + 3637, + 3644 + ], + "loc": { + "start": { + "line": 134, + "column": 28 + }, + "end": { + "line": 134, + "column": 35 + } + } + } + ], + "range": [ + 3617, + 3645 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 36 + } + } + }, + "range": [ + 3617, + 3646 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 37 + } + } + } + ], + "range": [ + 3542, + 3652 + ], + "loc": { + "start": { + "line": 132, + "column": 17 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3539, + 3652 + ], + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3529, + 3652 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 135, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh all checklist filters\n ", + "range": [ + 3476, + 3524 + ], + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 131, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", + "range": [ + 3658, + 3889 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 3894, + 3898 + ], + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3899, + 3907 + ], + "loc": { + "start": { + "line": 143, + "column": 9 + }, + "end": { + "line": 143, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 3909, + 3919 + ], + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 3921, + 3930 + ], + "loc": { + "start": { + "line": 143, + "column": 31 + }, + "end": { + "line": 143, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 3946, + 3948 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3951, + 3955 + ], + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3956, + 3958 + ], + "loc": { + "start": { + "line": 144, + "column": 22 + }, + "end": { + "line": 144, + "column": 24 + } + } + }, + "range": [ + 3951, + 3958 + ], + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 24 + } + } + }, + "range": [ + 3946, + 3958 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3942, + 3959 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 3972, + 3988 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 28 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isExternal", + "range": [ + 3991, + 4001 + ], + "loc": { + "start": { + "line": 145, + "column": 31 + }, + "end": { + "line": 145, + "column": 41 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4016, + 4018 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 4019, + 4036 + ], + "loc": { + "start": { + "line": 146, + "column": 15 + }, + "end": { + "line": 146, + "column": 32 + } + } + }, + "range": [ + 4016, + 4036 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4037, + 4045 + ], + "loc": { + "start": { + "line": 146, + "column": 33 + }, + "end": { + "line": 146, + "column": 41 + } + } + }, + "range": [ + 4016, + 4046 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 42 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 4049, + 4053 + ], + "loc": { + "start": { + "line": 146, + "column": 45 + }, + "end": { + "line": 146, + "column": 49 + } + } + }, + "range": [ + 3991, + 4053 + ], + "loc": { + "start": { + "line": 145, + "column": 31 + }, + "end": { + "line": 146, + "column": 49 + } + } + }, + "range": [ + 3972, + 4053 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 146, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 3968, + 4054 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 146, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "divCont", + "range": [ + 4068, + 4075 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4078, + 4087 + ], + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 4088, + 4093 + ], + "loc": { + "start": { + "line": 148, + "column": 32 + }, + "end": { + "line": 148, + "column": 37 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 4108, + 4112 + ], + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 17 + } + } + }, + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 4114, + 4117 + ], + "loc": { + "start": { + "line": 149, + "column": 19 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 4126, + 4129 + ], + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 34 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 4137, + 4141 + ], + "loc": { + "start": { + "line": 149, + "column": 42 + }, + "end": { + "line": 149, + "column": 46 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 4146, + 4148 + ], + "loc": { + "start": { + "line": 149, + "column": 51 + }, + "end": { + "line": 149, + "column": 53 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4117, + 4121 + ], + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfx", + "range": [ + 4122, + 4126 + ], + "loc": { + "start": { + "line": 149, + "column": 27 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + "range": [ + 4117, + 4126 + ], + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4129, + 4137 + ], + "loc": { + "start": { + "line": 149, + "column": 34 + }, + "end": { + "line": 149, + "column": 42 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4141, + 4143 + ], + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 4144, + 4146 + ], + "loc": { + "start": { + "line": 149, + "column": 49 + }, + "end": { + "line": 149, + "column": 51 + } + } + }, + "range": [ + 4141, + 4146 + ], + "loc": { + "start": { + "line": 149, + "column": 46 + }, + "end": { + "line": 149, + "column": 51 + } + } + } + ], + "range": [ + 4114, + 4148 + ], + "loc": { + "start": { + "line": 149, + "column": 19 + }, + "end": { + "line": 149, + "column": 53 + } + } + } + ], + "range": [ + 4107, + 4149 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 54 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "ct", + "raw": "'ct'", + "range": [ + 4164, + 4168 + ], + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4170, + 4178 + ], + "loc": { + "start": { + "line": 150, + "column": 19 + }, + "end": { + "line": 150, + "column": 27 + } + } + } + ], + "range": [ + 4163, + 4179 + ], + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 28 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 4182, + 4190 + ], + "loc": { + "start": { + "line": 150, + "column": 31 + }, + "end": { + "line": 150, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 4192, + 4195 + ], + "loc": { + "start": { + "line": 150, + "column": 41 + }, + "end": { + "line": 150, + "column": 44 + } + } + } + ], + "range": [ + 4181, + 4196 + ], + "loc": { + "start": { + "line": 150, + "column": 30 + }, + "end": { + "line": 150, + "column": 45 + } + } + } + ], + "range": [ + 4078, + 4197 + ], + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 150, + "column": 46 + } + } + }, + "range": [ + 4068, + 4197 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 150, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 4064, + 4198 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 150, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "divCont", + "range": [ + 4207, + 4214 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 4215, + 4224 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 25 + } + } + }, + "range": [ + 4207, + 4224 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4227, + 4231 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "containerCssClass", + "range": [ + 4232, + 4249 + ], + "loc": { + "start": { + "line": 151, + "column": 33 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "range": [ + 4227, + 4249 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "range": [ + 4207, + 4249 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "range": [ + 4207, + 4250 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 51 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "filter is appended in desired element", + "range": [ + 4260, + 4299 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 47 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 4312, + 4328 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 4344, + 4347 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 4348, + 4364 + ], + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 32 + } + } + } + ], + "range": [ + 4344, + 4365 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4366, + 4377 + ], + "loc": { + "start": { + "line": 155, + "column": 34 + }, + "end": { + "line": 155, + "column": 45 + } + } + }, + "range": [ + 4344, + 4377 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "divCont", + "range": [ + 4378, + 4385 + ], + "loc": { + "start": { + "line": 155, + "column": 46 + }, + "end": { + "line": 155, + "column": 53 + } + } + } + ], + "range": [ + 4344, + 4386 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 54 + } + } + }, + "range": [ + 4344, + 4387 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 55 + } + } + } + ], + "range": [ + 4330, + 4397 + ], + "loc": { + "start": { + "line": 154, + "column": 30 + }, + "end": { + "line": 156, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 4417, + 4426 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4427, + 4438 + ], + "loc": { + "start": { + "line": 157, + "column": 22 + }, + "end": { + "line": 157, + "column": 33 + } + } + }, + "range": [ + 4417, + 4438 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "divCont", + "range": [ + 4439, + 4446 + ], + "loc": { + "start": { + "line": 157, + "column": 34 + }, + "end": { + "line": 157, + "column": 41 + } + } + } + ], + "range": [ + 4417, + 4447 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 42 + } + } + }, + "range": [ + 4417, + 4448 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 43 + } + } + } + ], + "range": [ + 4403, + 4458 + ], + "loc": { + "start": { + "line": 156, + "column": 15 + }, + "end": { + "line": 158, + "column": 9 + } + } + }, + "range": [ + 4308, + 4458 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 158, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filter is appended in desired element", + "range": [ + 4260, + 4299 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4468, + 4472 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "containers", + "range": [ + 4473, + 4483 + ], + "loc": { + "start": { + "line": 160, + "column": 13 + }, + "end": { + "line": 160, + "column": 23 + } + } + }, + "range": [ + 4468, + 4483 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4484, + 4492 + ], + "loc": { + "start": { + "line": 160, + "column": 24 + }, + "end": { + "line": 160, + "column": 32 + } + } + }, + "range": [ + 4468, + 4493 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "divCont", + "range": [ + 4496, + 4503 + ], + "loc": { + "start": { + "line": 160, + "column": 36 + }, + "end": { + "line": 160, + "column": 43 + } + } + }, + "range": [ + 4468, + 4503 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 43 + } + } + }, + "range": [ + 4468, + 4504 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4513, + 4515 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 4516, + 4522 + ], + "loc": { + "start": { + "line": 161, + "column": 11 + }, + "end": { + "line": 161, + "column": 17 + } + } + }, + "range": [ + 4513, + 4522 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 4523, + 4527 + ], + "loc": { + "start": { + "line": 161, + "column": 18 + }, + "end": { + "line": 161, + "column": 22 + } + } + }, + "range": [ + 4513, + 4527 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4528, + 4530 + ], + "loc": { + "start": { + "line": 161, + "column": 23 + }, + "end": { + "line": 161, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildFilterId", + "range": [ + 4531, + 4544 + ], + "loc": { + "start": { + "line": 161, + "column": 26 + }, + "end": { + "line": 161, + "column": 39 + } + } + }, + "range": [ + 4528, + 4544 + ], + "loc": { + "start": { + "line": 161, + "column": 23 + }, + "end": { + "line": 161, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4545, + 4553 + ], + "loc": { + "start": { + "line": 161, + "column": 40 + }, + "end": { + "line": 161, + "column": 48 + } + } + } + ], + "range": [ + 4528, + 4554 + ], + "loc": { + "start": { + "line": 161, + "column": 23 + }, + "end": { + "line": 161, + "column": 49 + } + } + } + ], + "range": [ + 4513, + 4555 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 50 + } + } + }, + "range": [ + 4513, + 4556 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 51 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4571, + 4573 + ], + "loc": { + "start": { + "line": 163, + "column": 13 + }, + "end": { + "line": 163, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 4574, + 4589 + ], + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 31 + } + } + }, + "range": [ + 4571, + 4589 + ], + "loc": { + "start": { + "line": 163, + "column": 13 + }, + "end": { + "line": 163, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 4570, + 4589 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4605, + 4609 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 4610, + 4615 + ], + "loc": { + "start": { + "line": 164, + "column": 17 + }, + "end": { + "line": 164, + "column": 22 + } + } + }, + "range": [ + 4605, + 4615 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4616, + 4624 + ], + "loc": { + "start": { + "line": 164, + "column": 23 + }, + "end": { + "line": 164, + "column": 31 + } + } + } + ], + "range": [ + 4605, + 4625 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 32 + } + } + }, + "range": [ + 4605, + 4626 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 33 + } + } + } + ], + "range": [ + 4591, + 4636 + ], + "loc": { + "start": { + "line": 163, + "column": 33 + }, + "end": { + "line": 165, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 4656, + 4662 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "divCont", + "range": [ + 4663, + 4670 + ], + "loc": { + "start": { + "line": 166, + "column": 19 + }, + "end": { + "line": 166, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 4672, + 4679 + ], + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4682, + 4685 + ], + "loc": { + "start": { + "line": 166, + "column": 38 + }, + "end": { + "line": 166, + "column": 41 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4690, + 4694 + ], + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "onCheckListClick", + "range": [ + 4695, + 4711 + ], + "loc": { + "start": { + "line": 166, + "column": 51 + }, + "end": { + "line": 166, + "column": 67 + } + } + }, + "range": [ + 4690, + 4711 + ], + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 67 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4712, + 4715 + ], + "loc": { + "start": { + "line": 166, + "column": 68 + }, + "end": { + "line": 166, + "column": 71 + } + } + } + ], + "range": [ + 4690, + 4716 + ], + "loc": { + "start": { + "line": 166, + "column": 46 + }, + "end": { + "line": 166, + "column": 72 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4681, + 4716 + ], + "loc": { + "start": { + "line": 166, + "column": 37 + }, + "end": { + "line": 166, + "column": 72 + } + } + } + ], + "range": [ + 4656, + 4717 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 73 + } + } + }, + "range": [ + 4656, + 4718 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 74 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "divCont", + "range": [ + 4731, + 4738 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4739, + 4750 + ], + "loc": { + "start": { + "line": 167, + "column": 20 + }, + "end": { + "line": 167, + "column": 31 + } + } + }, + "range": [ + 4731, + 4750 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 4751, + 4761 + ], + "loc": { + "start": { + "line": 167, + "column": 32 + }, + "end": { + "line": 167, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4762, + 4766 + ], + "loc": { + "start": { + "line": 167, + "column": 43 + }, + "end": { + "line": 167, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "activateText", + "range": [ + 4767, + 4779 + ], + "loc": { + "start": { + "line": 167, + "column": 48 + }, + "end": { + "line": 167, + "column": 60 + } + } + }, + "range": [ + 4762, + 4779 + ], + "loc": { + "start": { + "line": 167, + "column": 43 + }, + "end": { + "line": 167, + "column": 60 + } + } + } + ], + "range": [ + 4751, + 4780 + ], + "loc": { + "start": { + "line": 167, + "column": 32 + }, + "end": { + "line": 167, + "column": 61 + } + } + } + ], + "range": [ + 4731, + 4781 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 62 + } + } + }, + "range": [ + 4731, + 4782 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 63 + } + } + } + ], + "range": [ + 4642, + 4792 + ], + "loc": { + "start": { + "line": 165, + "column": 15 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + "range": [ + 4566, + 4792 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4802, + 4806 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4807, + 4814 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 20 + } + } + }, + "range": [ + 4802, + 4814 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4815, + 4817 + ], + "loc": { + "start": { + "line": 170, + "column": 21 + }, + "end": { + "line": 170, + "column": 23 + } + } + }, + "range": [ + 4802, + 4817 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "build-checklist-filter", + "raw": "'build-checklist-filter'", + "range": [ + 4832, + 4856 + ], + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 37 + } + } + } + ], + "range": [ + 4831, + 4857 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 38 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4872, + 4874 + ], + "loc": { + "start": { + "line": 172, + "column": 13 + }, + "end": { + "line": 172, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4876, + 4884 + ], + "loc": { + "start": { + "line": 172, + "column": 17 + }, + "end": { + "line": 172, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 4886, + 4894 + ], + "loc": { + "start": { + "line": 172, + "column": 27 + }, + "end": { + "line": 172, + "column": 35 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4899, + 4903 + ], + "loc": { + "start": { + "line": 172, + "column": 40 + }, + "end": { + "line": 172, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 4904, + 4909 + ], + "loc": { + "start": { + "line": 172, + "column": 45 + }, + "end": { + "line": 172, + "column": 50 + } + } + }, + "range": [ + 4899, + 4909 + ], + "loc": { + "start": { + "line": 172, + "column": 40 + }, + "end": { + "line": 172, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4910, + 4918 + ], + "loc": { + "start": { + "line": 172, + "column": 51 + }, + "end": { + "line": 172, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 4920, + 4928 + ], + "loc": { + "start": { + "line": 172, + "column": 61 + }, + "end": { + "line": 172, + "column": 69 + } + } + } + ], + "range": [ + 4899, + 4929 + ], + "loc": { + "start": { + "line": 172, + "column": 40 + }, + "end": { + "line": 172, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4871, + 4929 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 70 + } + } + } + ], + "range": [ + 4802, + 4939 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 173, + "column": 9 + } + } + }, + "range": [ + 4802, + 4940 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 173, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4950, + 4954 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4955, + 4962 + ], + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 20 + } + } + }, + "range": [ + 4950, + 4962 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4963, + 4965 + ], + "loc": { + "start": { + "line": 175, + "column": 21 + }, + "end": { + "line": 175, + "column": 23 + } + } + }, + "range": [ + 4950, + 4965 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "select-checklist-options", + "raw": "'select-checklist-options'", + "range": [ + 4980, + 5006 + ], + "loc": { + "start": { + "line": 176, + "column": 13 + }, + "end": { + "line": 176, + "column": 39 + } + } + } + ], + "range": [ + 4979, + 5007 + ], + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5022, + 5024 + ], + "loc": { + "start": { + "line": 177, + "column": 13 + }, + "end": { + "line": 177, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5026, + 5034 + ], + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 5036, + 5042 + ], + "loc": { + "start": { + "line": 177, + "column": 27 + }, + "end": { + "line": 177, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5047, + 5051 + ], + "loc": { + "start": { + "line": 177, + "column": 38 + }, + "end": { + "line": 177, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 5052, + 5065 + ], + "loc": { + "start": { + "line": 177, + "column": 43 + }, + "end": { + "line": 177, + "column": 56 + } + } + }, + "range": [ + 5047, + 5065 + ], + "loc": { + "start": { + "line": 177, + "column": 38 + }, + "end": { + "line": 177, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5066, + 5074 + ], + "loc": { + "start": { + "line": 177, + "column": 57 + }, + "end": { + "line": 177, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 5076, + 5082 + ], + "loc": { + "start": { + "line": 177, + "column": 67 + }, + "end": { + "line": 177, + "column": 73 + } + } + } + ], + "range": [ + 5047, + 5083 + ], + "loc": { + "start": { + "line": 177, + "column": 38 + }, + "end": { + "line": 177, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5021, + 5083 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 74 + } + } + } + ], + "range": [ + 4950, + 5093 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 178, + "column": 9 + } + } + }, + "range": [ + 4950, + 5094 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 178, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5104, + 5108 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5109, + 5116 + ], + "loc": { + "start": { + "line": 180, + "column": 13 + }, + "end": { + "line": 180, + "column": 20 + } + } + }, + "range": [ + 5104, + 5116 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5117, + 5119 + ], + "loc": { + "start": { + "line": 180, + "column": 21 + }, + "end": { + "line": 180, + "column": 23 + } + } + }, + "range": [ + 5104, + 5119 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 5121, + 5135 + ], + "loc": { + "start": { + "line": 180, + "column": 25 + }, + "end": { + "line": 180, + "column": 39 + } + } + } + ], + "range": [ + 5120, + 5136 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5144, + 5148 + ], + "loc": { + "start": { + "line": 180, + "column": 48 + }, + "end": { + "line": 180, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 5149, + 5159 + ], + "loc": { + "start": { + "line": 180, + "column": 53 + }, + "end": { + "line": 180, + "column": 63 + } + } + }, + "range": [ + 5144, + 5159 + ], + "loc": { + "start": { + "line": 180, + "column": 48 + }, + "end": { + "line": 180, + "column": 63 + } + } + }, + "arguments": [], + "range": [ + 5144, + 5161 + ], + "loc": { + "start": { + "line": 180, + "column": 48 + }, + "end": { + "line": 180, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5138, + 5161 + ], + "loc": { + "start": { + "line": 180, + "column": 42 + }, + "end": { + "line": 180, + "column": 65 + } + } + } + ], + "range": [ + 5104, + 5162 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 66 + } + } + }, + "range": [ + 5104, + 5163 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 67 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5173, + 5190 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5199, + 5203 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5204, + 5215 + ], + "loc": { + "start": { + "line": 183, + "column": 13 + }, + "end": { + "line": 183, + "column": 24 + } + } + }, + "range": [ + 5199, + 5215 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5218, + 5222 + ], + "loc": { + "start": { + "line": 183, + "column": 27 + }, + "end": { + "line": 183, + "column": 31 + } + } + }, + "range": [ + 5199, + 5222 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 31 + } + } + }, + "range": [ + 5199, + 5223 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5173, + 5190 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 3932, + 5229 + ], + "loc": { + "start": { + "line": 143, + "column": 42 + }, + "end": { + "line": 184, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3898, + 5229 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 184, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3894, + 5229 + ], + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 184, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", + "range": [ + 3658, + 3889 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 5235, + 5390 + ], + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 190, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "build", + "range": [ + 5395, + 5400 + ], + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 191, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5401, + 5409 + ], + "loc": { + "start": { + "line": 191, + "column": 10 + }, + "end": { + "line": 191, + "column": 18 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 5411, + 5419 + ], + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 5422, + 5427 + ], + "loc": { + "start": { + "line": 191, + "column": 31 + }, + "end": { + "line": 191, + "column": 36 + } + } + }, + "range": [ + 5411, + 5427 + ], + "loc": { + "start": { + "line": 191, + "column": 20 + }, + "end": { + "line": 191, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 5443, + 5445 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5448, + 5452 + ], + "loc": { + "start": { + "line": 192, + "column": 17 + }, + "end": { + "line": 192, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 5453, + 5455 + ], + "loc": { + "start": { + "line": 192, + "column": 22 + }, + "end": { + "line": 192, + "column": 24 + } + } + }, + "range": [ + 5448, + 5455 + ], + "loc": { + "start": { + "line": 192, + "column": 17 + }, + "end": { + "line": 192, + "column": 24 + } + } + }, + "range": [ + 5443, + 5455 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 5439, + 5456 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5465, + 5473 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 5476, + 5484 + ], + "loc": { + "start": { + "line": 193, + "column": 19 + }, + "end": { + "line": 193, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5485, + 5493 + ], + "loc": { + "start": { + "line": 193, + "column": 28 + }, + "end": { + "line": 193, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 5495, + 5497 + ], + "loc": { + "start": { + "line": 193, + "column": 38 + }, + "end": { + "line": 193, + "column": 40 + } + } + } + ], + "range": [ + 5476, + 5498 + ], + "loc": { + "start": { + "line": 193, + "column": 19 + }, + "end": { + "line": 193, + "column": 41 + } + } + }, + "range": [ + 5465, + 5498 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 41 + } + } + }, + "range": [ + 5465, + 5499 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5509, + 5513 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5514, + 5521 + ], + "loc": { + "start": { + "line": 195, + "column": 13 + }, + "end": { + "line": 195, + "column": 20 + } + } + }, + "range": [ + 5509, + 5521 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 5522, + 5526 + ], + "loc": { + "start": { + "line": 195, + "column": 21 + }, + "end": { + "line": 195, + "column": 25 + } + } + }, + "range": [ + 5509, + 5526 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-populating-filter", + "raw": "'before-populating-filter'", + "range": [ + 5527, + 5553 + ], + "loc": { + "start": { + "line": 195, + "column": 26 + }, + "end": { + "line": 195, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 5555, + 5557 + ], + "loc": { + "start": { + "line": 195, + "column": 54 + }, + "end": { + "line": 195, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5559, + 5567 + ], + "loc": { + "start": { + "line": 195, + "column": 58 + }, + "end": { + "line": 195, + "column": 66 + } + } + } + ], + "range": [ + 5509, + 5568 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 67 + } + } + }, + "range": [ + 5509, + 5569 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 68 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5579, + 5596 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5605, + 5609 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 5610, + 5614 + ], + "loc": { + "start": { + "line": 198, + "column": 13 + }, + "end": { + "line": 198, + "column": 17 + } + } + }, + "range": [ + 5605, + 5614 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 17 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5617, + 5619 + ], + "loc": { + "start": { + "line": 198, + "column": 20 + }, + "end": { + "line": 198, + "column": 22 + } + } + }, + "range": [ + 5605, + 5619 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 22 + } + } + }, + "range": [ + 5605, + 5620 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5579, + 5596 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5629, + 5646 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5655, + 5659 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 5660, + 5667 + ], + "loc": { + "start": { + "line": 200, + "column": 13 + }, + "end": { + "line": 200, + "column": 20 + } + } + }, + "range": [ + 5655, + 5667 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 20 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5670, + 5672 + ], + "loc": { + "start": { + "line": 200, + "column": 23 + }, + "end": { + "line": 200, + "column": 25 + } + } + }, + "range": [ + 5655, + 5672 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 25 + } + } + }, + "range": [ + 5655, + 5673 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5629, + 5646 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 25 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "flt", + "range": [ + 5687, + 5690 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5693, + 5697 + ], + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "containers", + "range": [ + 5698, + 5708 + ], + "loc": { + "start": { + "line": 202, + "column": 23 + }, + "end": { + "line": 202, + "column": 33 + } + } + }, + "range": [ + 5693, + 5708 + ], + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5709, + 5717 + ], + "loc": { + "start": { + "line": 202, + "column": 34 + }, + "end": { + "line": 202, + "column": 42 + } + } + }, + "range": [ + 5693, + 5718 + ], + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 43 + } + } + }, + "range": [ + 5687, + 5718 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 5683, + 5719 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ul", + "range": [ + 5732, + 5734 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 14 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 5737, + 5746 + ], + "loc": { + "start": { + "line": 203, + "column": 17 + }, + "end": { + "line": 203, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "ul", + "raw": "'ul'", + "range": [ + 5747, + 5751 + ], + "loc": { + "start": { + "line": 203, + "column": 27 + }, + "end": { + "line": 203, + "column": 31 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 5766, + 5770 + ], + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 17 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5772, + 5774 + ], + "loc": { + "start": { + "line": 204, + "column": 19 + }, + "end": { + "line": 204, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 5775, + 5781 + ], + "loc": { + "start": { + "line": 204, + "column": 22 + }, + "end": { + "line": 204, + "column": 28 + } + } + }, + "range": [ + 5772, + 5781 + ], + "loc": { + "start": { + "line": 204, + "column": 19 + }, + "end": { + "line": 204, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5782, + 5790 + ], + "loc": { + "start": { + "line": 204, + "column": 29 + }, + "end": { + "line": 204, + "column": 37 + } + } + }, + "range": [ + 5772, + 5791 + ], + "loc": { + "start": { + "line": 204, + "column": 19 + }, + "end": { + "line": 204, + "column": 38 + } + } + } + ], + "range": [ + 5765, + 5792 + ], + "loc": { + "start": { + "line": 204, + "column": 12 + }, + "end": { + "line": 204, + "column": 39 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "colIndex", + "raw": "'colIndex'", + "range": [ + 5807, + 5817 + ], + "loc": { + "start": { + "line": 205, + "column": 13 + }, + "end": { + "line": 205, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5819, + 5827 + ], + "loc": { + "start": { + "line": 205, + "column": 25 + }, + "end": { + "line": 205, + "column": 33 + } + } + } + ], + "range": [ + 5806, + 5828 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 34 + } + } + } + ], + "range": [ + 5737, + 5829 + ], + "loc": { + "start": { + "line": 203, + "column": 17 + }, + "end": { + "line": 205, + "column": 35 + } + } + }, + "range": [ + 5732, + 5829 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 205, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 5728, + 5830 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 205, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 5839, + 5841 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 5842, + 5851 + ], + "loc": { + "start": { + "line": 206, + "column": 11 + }, + "end": { + "line": 206, + "column": 20 + } + } + }, + "range": [ + 5839, + 5851 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5854, + 5858 + ], + "loc": { + "start": { + "line": 206, + "column": 23 + }, + "end": { + "line": 206, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "filterCssClass", + "range": [ + 5859, + 5873 + ], + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 42 + } + } + }, + "range": [ + 5854, + 5873 + ], + "loc": { + "start": { + "line": 206, + "column": 23 + }, + "end": { + "line": 206, + "column": 42 + } + } + }, + "range": [ + 5839, + 5873 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 42 + } + } + }, + "range": [ + 5839, + 5874 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 43 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 5888, + 5892 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5895, + 5897 + ], + "loc": { + "start": { + "line": 208, + "column": 19 + }, + "end": { + "line": 208, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 5898, + 5901 + ], + "loc": { + "start": { + "line": 208, + "column": 22 + }, + "end": { + "line": 208, + "column": 25 + } + } + }, + "range": [ + 5895, + 5901 + ], + "loc": { + "start": { + "line": 208, + "column": 19 + }, + "end": { + "line": 208, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 5895, + 5903 + ], + "loc": { + "start": { + "line": 208, + "column": 19 + }, + "end": { + "line": 208, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 5904, + 5908 + ], + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 32 + } + } + }, + "range": [ + 5895, + 5908 + ], + "loc": { + "start": { + "line": 208, + "column": 19 + }, + "end": { + "line": 208, + "column": 32 + } + } + }, + "range": [ + 5888, + 5908 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 5884, + 5909 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 5922, + 5928 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5931, + 5933 + ], + "loc": { + "start": { + "line": 209, + "column": 21 + }, + "end": { + "line": 209, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 5934, + 5943 + ], + "loc": { + "start": { + "line": 209, + "column": 24 + }, + "end": { + "line": 209, + "column": 33 + } + } + }, + "range": [ + 5931, + 5943 + ], + "loc": { + "start": { + "line": 209, + "column": 21 + }, + "end": { + "line": 209, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5944, + 5948 + ], + "loc": { + "start": { + "line": 209, + "column": 34 + }, + "end": { + "line": 209, + "column": 38 + } + } + } + ], + "range": [ + 5931, + 5949 + ], + "loc": { + "start": { + "line": 209, + "column": 21 + }, + "end": { + "line": 209, + "column": 39 + } + } + }, + "range": [ + 5922, + 5949 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 5918, + 5950 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 5963, + 5976 + ], + "loc": { + "start": { + "line": 210, + "column": 12 + }, + "end": { + "line": 210, + "column": 25 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5979, + 5981 + ], + "loc": { + "start": { + "line": 210, + "column": 28 + }, + "end": { + "line": 210, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 5982, + 5995 + ], + "loc": { + "start": { + "line": 210, + "column": 31 + }, + "end": { + "line": 210, + "column": 44 + } + } + }, + "range": [ + 5979, + 5995 + ], + "loc": { + "start": { + "line": 210, + "column": 28 + }, + "end": { + "line": 210, + "column": 44 + } + } + }, + "range": [ + 5963, + 5995 + ], + "loc": { + "start": { + "line": 210, + "column": 12 + }, + "end": { + "line": 210, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 5959, + 5996 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 45 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6005, + 6022 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6031, + 6035 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 6036, + 6044 + ], + "loc": { + "start": { + "line": 212, + "column": 13 + }, + "end": { + "line": 212, + "column": 21 + } + } + }, + "range": [ + 6031, + 6044 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6047, + 6049 + ], + "loc": { + "start": { + "line": 212, + "column": 24 + }, + "end": { + "line": 212, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustomOptions", + "range": [ + 6050, + 6065 + ], + "loc": { + "start": { + "line": 212, + "column": 27 + }, + "end": { + "line": 212, + "column": 42 + } + } + }, + "range": [ + 6047, + 6065 + ], + "loc": { + "start": { + "line": 212, + "column": 24 + }, + "end": { + "line": 212, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 6066, + 6074 + ], + "loc": { + "start": { + "line": 212, + "column": 43 + }, + "end": { + "line": 212, + "column": 51 + } + } + } + ], + "range": [ + 6047, + 6075 + ], + "loc": { + "start": { + "line": 212, + "column": 24 + }, + "end": { + "line": 212, + "column": 52 + } + } + }, + "range": [ + 6031, + 6075 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 52 + } + } + }, + "range": [ + 6031, + 6076 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6005, + 6022 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 6086, + 6111 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 33 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6124, + 6128 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 6129, + 6137 + ], + "loc": { + "start": { + "line": 215, + "column": 17 + }, + "end": { + "line": 215, + "column": 25 + } + } + }, + "range": [ + 6124, + 6137 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "customValues", + "range": [ + 6157, + 6169 + ], + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6172, + 6174 + ], + "loc": { + "start": { + "line": 216, + "column": 31 + }, + "end": { + "line": 216, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCustomOptions", + "range": [ + 6175, + 6191 + ], + "loc": { + "start": { + "line": 216, + "column": 34 + }, + "end": { + "line": 216, + "column": 50 + } + } + }, + "range": [ + 6172, + 6191 + ], + "loc": { + "start": { + "line": 216, + "column": 31 + }, + "end": { + "line": 216, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 6192, + 6200 + ], + "loc": { + "start": { + "line": 216, + "column": 51 + }, + "end": { + "line": 216, + "column": 59 + } + } + } + ], + "range": [ + 6172, + 6201 + ], + "loc": { + "start": { + "line": 216, + "column": 31 + }, + "end": { + "line": 216, + "column": 60 + } + } + }, + "range": [ + 6157, + 6201 + ], + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 60 + } + } + } + ], + "kind": "let", + "range": [ + 6153, + 6202 + ], + "loc": { + "start": { + "line": 216, + "column": 12 + }, + "end": { + "line": 216, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6215, + 6219 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 6220, + 6224 + ], + "loc": { + "start": { + "line": 217, + "column": 17 + }, + "end": { + "line": 217, + "column": 21 + } + } + }, + "range": [ + 6215, + 6224 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "customValues", + "range": [ + 6227, + 6239 + ], + "loc": { + "start": { + "line": 217, + "column": 24 + }, + "end": { + "line": 217, + "column": 36 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6240, + 6241 + ], + "loc": { + "start": { + "line": 217, + "column": 37 + }, + "end": { + "line": 217, + "column": 38 + } + } + }, + "range": [ + 6227, + 6242 + ], + "loc": { + "start": { + "line": 217, + "column": 24 + }, + "end": { + "line": 217, + "column": 39 + } + } + }, + "range": [ + 6215, + 6242 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 39 + } + } + }, + "range": [ + 6215, + 6243 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6256, + 6260 + ], + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 6261, + 6268 + ], + "loc": { + "start": { + "line": 218, + "column": 17 + }, + "end": { + "line": 218, + "column": 24 + } + } + }, + "range": [ + 6256, + 6268 + ], + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "customValues", + "range": [ + 6271, + 6283 + ], + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 39 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 6284, + 6285 + ], + "loc": { + "start": { + "line": 218, + "column": 40 + }, + "end": { + "line": 218, + "column": 41 + } + } + }, + "range": [ + 6271, + 6286 + ], + "loc": { + "start": { + "line": 218, + "column": 27 + }, + "end": { + "line": 218, + "column": 42 + } + } + }, + "range": [ + 6256, + 6286 + ], + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 42 + } + } + }, + "range": [ + 6256, + 6287 + ], + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 43 + } + } + } + ], + "range": [ + 6139, + 6297 + ], + "loc": { + "start": { + "line": 215, + "column": 27 + }, + "end": { + "line": 219, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6120, + 6297 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 219, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 6086, + 6111 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 33 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 6311, + 6320 + ], + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 21 + } + } + }, + "init": null, + "range": [ + 6311, + 6320 + ], + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 21 + } + } + } + ], + "kind": "let", + "range": [ + 6307, + 6321 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 22 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 6334, + 6348 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6351, + 6353 + ], + "loc": { + "start": { + "line": 222, + "column": 29 + }, + "end": { + "line": 222, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getActiveFilterId", + "range": [ + 6354, + 6371 + ], + "loc": { + "start": { + "line": 222, + "column": 32 + }, + "end": { + "line": 222, + "column": 49 + } + } + }, + "range": [ + 6351, + 6371 + ], + "loc": { + "start": { + "line": 222, + "column": 29 + }, + "end": { + "line": 222, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 6351, + 6373 + ], + "loc": { + "start": { + "line": 222, + "column": 29 + }, + "end": { + "line": 222, + "column": 51 + } + } + }, + "range": [ + 6334, + 6373 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 6330, + 6374 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 6387, + 6395 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 6399, + 6413 + ], + "loc": { + "start": { + "line": 223, + "column": 24 + }, + "end": { + "line": 223, + "column": 38 + } + } + }, + "range": [ + 6387, + 6413 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 6429, + 6438 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6441, + 6443 + ], + "loc": { + "start": { + "line": 224, + "column": 24 + }, + "end": { + "line": 224, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 6444, + 6470 + ], + "loc": { + "start": { + "line": 224, + "column": 27 + }, + "end": { + "line": 224, + "column": 53 + } + } + }, + "range": [ + 6441, + 6470 + ], + "loc": { + "start": { + "line": 224, + "column": 24 + }, + "end": { + "line": 224, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 6471, + 6485 + ], + "loc": { + "start": { + "line": 224, + "column": 54 + }, + "end": { + "line": 224, + "column": 68 + } + } + } + ], + "range": [ + 6441, + 6486 + ], + "loc": { + "start": { + "line": 224, + "column": 24 + }, + "end": { + "line": 224, + "column": 69 + } + } + }, + "range": [ + 6429, + 6486 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 69 + } + } + }, + "range": [ + 6429, + 6487 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 70 + } + } + } + ], + "range": [ + 6415, + 6497 + ], + "loc": { + "start": { + "line": 223, + "column": 40 + }, + "end": { + "line": 225, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6383, + 6497 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 225, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filteredDataCol", + "range": [ + 6511, + 6526 + ], + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 27 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 6529, + 6531 + ], + "loc": { + "start": { + "line": 227, + "column": 30 + }, + "end": { + "line": 227, + "column": 32 + } + } + }, + "range": [ + 6511, + 6531 + ], + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 6507, + 6532 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 33 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 6545, + 6553 + ], + "loc": { + "start": { + "line": 228, + "column": 12 + }, + "end": { + "line": 228, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6557, + 6559 + ], + "loc": { + "start": { + "line": 228, + "column": 24 + }, + "end": { + "line": 228, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 6560, + 6582 + ], + "loc": { + "start": { + "line": 228, + "column": 27 + }, + "end": { + "line": 228, + "column": 49 + } + } + }, + "range": [ + 6557, + 6582 + ], + "loc": { + "start": { + "line": 228, + "column": 24 + }, + "end": { + "line": 228, + "column": 49 + } + } + }, + "range": [ + 6545, + 6582 + ], + "loc": { + "start": { + "line": 228, + "column": 12 + }, + "end": { + "line": 228, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6628, + 6632 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 6633, + 6645 + ], + "loc": { + "start": { + "line": 230, + "column": 17 + }, + "end": { + "line": 230, + "column": 29 + } + } + }, + "range": [ + 6628, + 6645 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 29 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 6648, + 6650 + ], + "loc": { + "start": { + "line": 230, + "column": 32 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 6628, + 6650 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 34 + } + } + }, + "range": [ + 6628, + 6651 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6598, + 6615 + ], + "loc": { + "start": { + "line": 229, + "column": 12 + }, + "end": { + "line": 229, + "column": 29 + } + } + } + ] + } + ], + "range": [ + 6584, + 6661 + ], + "loc": { + "start": { + "line": 228, + "column": 51 + }, + "end": { + "line": 231, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6541, + 6661 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 231, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 6671, + 6674 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 6675, + 6684 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "range": [ + 6671, + 6684 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 6687, + 6689 + ], + "loc": { + "start": { + "line": 233, + "column": 24 + }, + "end": { + "line": 233, + "column": 26 + } + } + }, + "range": [ + 6671, + 6689 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 26 + } + } + }, + "range": [ + 6671, + 6690 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 27 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 6709, + 6710 + ], + "loc": { + "start": { + "line": 235, + "column": 17 + }, + "end": { + "line": 235, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6713, + 6715 + ], + "loc": { + "start": { + "line": 235, + "column": 21 + }, + "end": { + "line": 235, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 6716, + 6722 + ], + "loc": { + "start": { + "line": 235, + "column": 24 + }, + "end": { + "line": 235, + "column": 30 + } + } + }, + "range": [ + 6713, + 6722 + ], + "loc": { + "start": { + "line": 235, + "column": 21 + }, + "end": { + "line": 235, + "column": 30 + } + } + }, + "range": [ + 6709, + 6722 + ], + "loc": { + "start": { + "line": 235, + "column": 17 + }, + "end": { + "line": 235, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 6705, + 6722 + ], + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 30 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 6724, + 6725 + ], + "loc": { + "start": { + "line": 235, + "column": 32 + }, + "end": { + "line": 235, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 6728, + 6734 + ], + "loc": { + "start": { + "line": 235, + "column": 36 + }, + "end": { + "line": 235, + "column": 42 + } + } + }, + "range": [ + 6724, + 6734 + ], + "loc": { + "start": { + "line": 235, + "column": 32 + }, + "end": { + "line": 235, + "column": 42 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 6736, + 6737 + ], + "loc": { + "start": { + "line": 235, + "column": 44 + }, + "end": { + "line": 235, + "column": 45 + } + } + }, + "prefix": false, + "range": [ + 6736, + 6739 + ], + "loc": { + "start": { + "line": 235, + "column": 44 + }, + "end": { + "line": 235, + "column": 47 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6857, + 6859 + ], + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 6860, + 6874 + ], + "loc": { + "start": { + "line": 238, + "column": 19 + }, + "end": { + "line": 238, + "column": 33 + } + } + }, + "range": [ + 6857, + 6874 + ], + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6878, + 6880 + ], + "loc": { + "start": { + "line": 238, + "column": 37 + }, + "end": { + "line": 238, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 6881, + 6892 + ], + "loc": { + "start": { + "line": 238, + "column": 40 + }, + "end": { + "line": 238, + "column": 51 + } + } + }, + "range": [ + 6878, + 6892 + ], + "loc": { + "start": { + "line": 238, + "column": 37 + }, + "end": { + "line": 238, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 6893, + 6900 + ], + "loc": { + "start": { + "line": 238, + "column": 52 + }, + "end": { + "line": 238, + "column": 59 + } + } + }, + "range": [ + 6878, + 6900 + ], + "loc": { + "start": { + "line": 238, + "column": 37 + }, + "end": { + "line": 238, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 6901, + 6902 + ], + "loc": { + "start": { + "line": 238, + "column": 60 + }, + "end": { + "line": 238, + "column": 61 + } + } + } + ], + "range": [ + 6878, + 6903 + ], + "loc": { + "start": { + "line": 238, + "column": 37 + }, + "end": { + "line": 238, + "column": 62 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 6909, + 6910 + ], + "loc": { + "start": { + "line": 238, + "column": 68 + }, + "end": { + "line": 238, + "column": 69 + } + } + }, + "prefix": true, + "range": [ + 6908, + 6910 + ], + "loc": { + "start": { + "line": 238, + "column": 67 + }, + "end": { + "line": 238, + "column": 69 + } + } + }, + "range": [ + 6878, + 6910 + ], + "loc": { + "start": { + "line": 238, + "column": 37 + }, + "end": { + "line": 238, + "column": 69 + } + } + }, + "range": [ + 6857, + 6910 + ], + "loc": { + "start": { + "line": 238, + "column": 16 + }, + "end": { + "line": 238, + "column": 69 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 6930, + 6939 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 239, + "column": 25 + } + } + } + ], + "range": [ + 6912, + 6953 + ], + "loc": { + "start": { + "line": 238, + "column": 71 + }, + "end": { + "line": 240, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 6853, + 6953 + ], + "loc": { + "start": { + "line": 238, + "column": 12 + }, + "end": { + "line": 240, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " always visible rows don't need to appear on selects as always", + "range": [ + 6755, + 6819 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 236, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " valid", + "range": [ + 6832, + 6840 + ], + "loc": { + "start": { + "line": 237, + "column": 12 + }, + "end": { + "line": 237, + "column": 20 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 6971, + 6976 + ], + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 242, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 6979, + 6983 + ], + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 6984, + 6985 + ], + "loc": { + "start": { + "line": 242, + "column": 29 + }, + "end": { + "line": 242, + "column": 30 + } + } + }, + "range": [ + 6979, + 6986 + ], + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 6987, + 6992 + ], + "loc": { + "start": { + "line": 242, + "column": 32 + }, + "end": { + "line": 242, + "column": 37 + } + } + }, + "range": [ + 6979, + 6992 + ], + "loc": { + "start": { + "line": 242, + "column": 24 + }, + "end": { + "line": 242, + "column": 37 + } + } + }, + "range": [ + 6971, + 6992 + ], + "loc": { + "start": { + "line": 242, + "column": 16 + }, + "end": { + "line": 242, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 6967, + 6993 + ], + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ncells", + "range": [ + 7010, + 7016 + ], + "loc": { + "start": { + "line": 243, + "column": 16 + }, + "end": { + "line": 243, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7019, + 7024 + ], + "loc": { + "start": { + "line": 243, + "column": 25 + }, + "end": { + "line": 243, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 7025, + 7031 + ], + "loc": { + "start": { + "line": 243, + "column": 31 + }, + "end": { + "line": 243, + "column": 37 + } + } + }, + "range": [ + 7019, + 7031 + ], + "loc": { + "start": { + "line": 243, + "column": 25 + }, + "end": { + "line": 243, + "column": 37 + } + } + }, + "range": [ + 7010, + 7031 + ], + "loc": { + "start": { + "line": 243, + "column": 16 + }, + "end": { + "line": 243, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 7006, + 7032 + ], + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 38 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 7046, + 7079 + ], + "loc": { + "start": { + "line": 245, + "column": 12 + }, + "end": { + "line": 245, + "column": 45 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "ncells", + "range": [ + 7096, + 7102 + ], + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7107, + 7109 + ], + "loc": { + "start": { + "line": 246, + "column": 27 + }, + "end": { + "line": 246, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 7110, + 7117 + ], + "loc": { + "start": { + "line": 246, + "column": 30 + }, + "end": { + "line": 246, + "column": 37 + } + } + }, + "range": [ + 7107, + 7117 + ], + "loc": { + "start": { + "line": 246, + "column": 27 + }, + "end": { + "line": 246, + "column": 37 + } + } + }, + "range": [ + 7096, + 7117 + ], + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7121, + 7125 + ], + "loc": { + "start": { + "line": 246, + "column": 41 + }, + "end": { + "line": 246, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 7126, + 7134 + ], + "loc": { + "start": { + "line": 246, + "column": 46 + }, + "end": { + "line": 246, + "column": 54 + } + } + }, + "range": [ + 7121, + 7134 + ], + "loc": { + "start": { + "line": 246, + "column": 41 + }, + "end": { + "line": 246, + "column": 54 + } + } + }, + "range": [ + 7096, + 7134 + ], + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 7154, + 7163 + ], + "loc": { + "start": { + "line": 247, + "column": 16 + }, + "end": { + "line": 247, + "column": 25 + } + } + } + ], + "range": [ + 7136, + 7177 + ], + "loc": { + "start": { + "line": 246, + "column": 56 + }, + "end": { + "line": 248, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7092, + 7177 + ], + "loc": { + "start": { + "line": 246, + "column": 12 + }, + "end": { + "line": 248, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 7046, + 7079 + ], + "loc": { + "start": { + "line": 245, + "column": 12 + }, + "end": { + "line": 245, + "column": 45 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 7191, + 7223 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 44 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 7245, + 7246 + ], + "loc": { + "start": { + "line": 251, + "column": 21 + }, + "end": { + "line": 251, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7249, + 7250 + ], + "loc": { + "start": { + "line": 251, + "column": 25 + }, + "end": { + "line": 251, + "column": 26 + } + } + }, + "range": [ + 7245, + 7250 + ], + "loc": { + "start": { + "line": 251, + "column": 21 + }, + "end": { + "line": 251, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 7241, + 7250 + ], + "loc": { + "start": { + "line": 251, + "column": 17 + }, + "end": { + "line": 251, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 7252, + 7253 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "ncells", + "range": [ + 7256, + 7262 + ], + "loc": { + "start": { + "line": 251, + "column": 32 + }, + "end": { + "line": 251, + "column": 38 + } + } + }, + "range": [ + 7252, + 7262 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 38 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 7264, + 7265 + ], + "loc": { + "start": { + "line": 251, + "column": 40 + }, + "end": { + "line": 251, + "column": 41 + } + } + }, + "prefix": false, + "range": [ + 7264, + 7267 + ], + "loc": { + "start": { + "line": 251, + "column": 40 + }, + "end": { + "line": 251, + "column": 43 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7291, + 7299 + ], + "loc": { + "start": { + "line": 252, + "column": 20 + }, + "end": { + "line": 252, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 7304, + 7305 + ], + "loc": { + "start": { + "line": 252, + "column": 33 + }, + "end": { + "line": 252, + "column": 34 + } + } + }, + "range": [ + 7291, + 7305 + ], + "loc": { + "start": { + "line": 252, + "column": 20 + }, + "end": { + "line": 252, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 7329, + 7338 + ], + "loc": { + "start": { + "line": 253, + "column": 20 + }, + "end": { + "line": 253, + "column": 29 + } + } + } + ], + "range": [ + 7307, + 7356 + ], + "loc": { + "start": { + "line": 252, + "column": 36 + }, + "end": { + "line": 254, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 7287, + 7356 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 254, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 7377, + 7385 + ], + "loc": { + "start": { + "line": 255, + "column": 20 + }, + "end": { + "line": 255, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7390, + 7392 + ], + "loc": { + "start": { + "line": 255, + "column": 33 + }, + "end": { + "line": 255, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 7393, + 7415 + ], + "loc": { + "start": { + "line": 255, + "column": 36 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "range": [ + 7390, + 7415 + ], + "loc": { + "start": { + "line": 255, + "column": 33 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "prefix": true, + "range": [ + 7389, + 7415 + ], + "loc": { + "start": { + "line": 255, + "column": 32 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "range": [ + 7377, + 7415 + ], + "loc": { + "start": { + "line": 255, + "column": 20 + }, + "end": { + "line": 255, + "column": 58 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7441, + 7443 + ], + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 7444, + 7450 + ], + "loc": { + "start": { + "line": 256, + "column": 25 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + "range": [ + 7441, + 7450 + ], + "loc": { + "start": { + "line": 256, + "column": 22 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 7440, + 7450 + ], + "loc": { + "start": { + "line": 256, + "column": 21 + }, + "end": { + "line": 256, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7455, + 7457 + ], + "loc": { + "start": { + "line": 256, + "column": 36 + }, + "end": { + "line": 256, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isRowDisplayed", + "range": [ + 7458, + 7472 + ], + "loc": { + "start": { + "line": 256, + "column": 39 + }, + "end": { + "line": 256, + "column": 53 + } + } + }, + "range": [ + 7455, + 7472 + ], + "loc": { + "start": { + "line": 256, + "column": 36 + }, + "end": { + "line": 256, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 7473, + 7474 + ], + "loc": { + "start": { + "line": 256, + "column": 54 + }, + "end": { + "line": 256, + "column": 55 + } + } + } + ], + "range": [ + 7455, + 7475 + ], + "loc": { + "start": { + "line": 256, + "column": 36 + }, + "end": { + "line": 256, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 7454, + 7475 + ], + "loc": { + "start": { + "line": 256, + "column": 35 + }, + "end": { + "line": 256, + "column": 56 + } + } + }, + "range": [ + 7440, + 7475 + ], + "loc": { + "start": { + "line": 256, + "column": 21 + }, + "end": { + "line": 256, + "column": 56 + } + } + }, + "range": [ + 7377, + 7476 + ], + "loc": { + "start": { + "line": 255, + "column": 20 + }, + "end": { + "line": 256, + "column": 57 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7501, + 7503 + ], + "loc": { + "start": { + "line": 257, + "column": 21 + }, + "end": { + "line": 257, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 7504, + 7510 + ], + "loc": { + "start": { + "line": 257, + "column": 24 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "range": [ + 7501, + 7510 + ], + "loc": { + "start": { + "line": 257, + "column": 21 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 7514, + 7523 + ], + "loc": { + "start": { + "line": 257, + "column": 34 + }, + "end": { + "line": 257, + "column": 43 + } + } + }, + "range": [ + 7501, + 7523 + ], + "loc": { + "start": { + "line": 257, + "column": 21 + }, + "end": { + "line": 257, + "column": 43 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7528, + 7530 + ], + "loc": { + "start": { + "line": 257, + "column": 48 + }, + "end": { + "line": 257, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 7531, + 7541 + ], + "loc": { + "start": { + "line": 257, + "column": 51 + }, + "end": { + "line": 257, + "column": 61 + } + } + }, + "range": [ + 7528, + 7541 + ], + "loc": { + "start": { + "line": 257, + "column": 48 + }, + "end": { + "line": 257, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 7542, + 7543 + ], + "loc": { + "start": { + "line": 257, + "column": 62 + }, + "end": { + "line": 257, + "column": 63 + } + } + } + ], + "range": [ + 7528, + 7544 + ], + "loc": { + "start": { + "line": 257, + "column": 48 + }, + "end": { + "line": 257, + "column": 64 + } + } + }, + "prefix": true, + "range": [ + 7527, + 7544 + ], + "loc": { + "start": { + "line": 257, + "column": 47 + }, + "end": { + "line": 257, + "column": 64 + } + } + }, + "range": [ + 7501, + 7544 + ], + "loc": { + "start": { + "line": 257, + "column": 21 + }, + "end": { + "line": 257, + "column": 64 + } + } + }, + "range": [ + 7377, + 7545 + ], + "loc": { + "start": { + "line": 255, + "column": 20 + }, + "end": { + "line": 257, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 7569, + 7578 + ], + "loc": { + "start": { + "line": 258, + "column": 20 + }, + "end": { + "line": 258, + "column": 29 + } + } + } + ], + "range": [ + 7547, + 7596 + ], + "loc": { + "start": { + "line": 257, + "column": 67 + }, + "end": { + "line": 259, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 7373, + 7596 + ], + "loc": { + "start": { + "line": 255, + "column": 16 + }, + "end": { + "line": 259, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 7618, + 7627 + ], + "loc": { + "start": { + "line": 261, + "column": 20 + }, + "end": { + "line": 261, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7630, + 7632 + ], + "loc": { + "start": { + "line": 261, + "column": 32 + }, + "end": { + "line": 261, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 7633, + 7645 + ], + "loc": { + "start": { + "line": 261, + "column": 35 + }, + "end": { + "line": 261, + "column": 47 + } + } + }, + "range": [ + 7630, + 7645 + ], + "loc": { + "start": { + "line": 261, + "column": 32 + }, + "end": { + "line": 261, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 7646, + 7651 + ], + "loc": { + "start": { + "line": 261, + "column": 48 + }, + "end": { + "line": 261, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 7652, + 7653 + ], + "loc": { + "start": { + "line": 261, + "column": 54 + }, + "end": { + "line": 261, + "column": 55 + } + } + }, + "range": [ + 7646, + 7654 + ], + "loc": { + "start": { + "line": 261, + "column": 48 + }, + "end": { + "line": 261, + "column": 56 + } + } + } + ], + "range": [ + 7630, + 7655 + ], + "loc": { + "start": { + "line": 261, + "column": 32 + }, + "end": { + "line": 261, + "column": 57 + } + } + }, + "range": [ + 7618, + 7655 + ], + "loc": { + "start": { + "line": 261, + "column": 20 + }, + "end": { + "line": 261, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 7614, + 7656 + ], + "loc": { + "start": { + "line": 261, + "column": 16 + }, + "end": { + "line": 261, + "column": 58 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Vary Peter's patch", + "range": [ + 7673, + 7693 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 36 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellString", + "range": [ + 7714, + 7724 + ], + "loc": { + "start": { + "line": 263, + "column": 20 + }, + "end": { + "line": 263, + "column": 30 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 7727, + 7736 + ], + "loc": { + "start": { + "line": 263, + "column": 33 + }, + "end": { + "line": 263, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 7737, + 7746 + ], + "loc": { + "start": { + "line": 263, + "column": 43 + }, + "end": { + "line": 263, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 7748, + 7761 + ], + "loc": { + "start": { + "line": 263, + "column": 54 + }, + "end": { + "line": 263, + "column": 67 + } + } + } + ], + "range": [ + 7727, + 7762 + ], + "loc": { + "start": { + "line": 263, + "column": 33 + }, + "end": { + "line": 263, + "column": 68 + } + } + }, + "range": [ + 7714, + 7762 + ], + "loc": { + "start": { + "line": 263, + "column": 20 + }, + "end": { + "line": 263, + "column": 68 + } + } + } + ], + "kind": "let", + "range": [ + 7710, + 7763 + ], + "loc": { + "start": { + "line": 263, + "column": 16 + }, + "end": { + "line": 263, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Vary Peter's patch", + "range": [ + 7673, + 7693 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 7780, + 7821 + ], + "loc": { + "start": { + "line": 264, + "column": 16 + }, + "end": { + "line": 264, + "column": 57 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 7843, + 7846 + ], + "loc": { + "start": { + "line": 265, + "column": 21 + }, + "end": { + "line": 265, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7847, + 7851 + ], + "loc": { + "start": { + "line": 265, + "column": 25 + }, + "end": { + "line": 265, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 7852, + 7856 + ], + "loc": { + "start": { + "line": 265, + "column": 30 + }, + "end": { + "line": 265, + "column": 34 + } + } + }, + "range": [ + 7847, + 7856 + ], + "loc": { + "start": { + "line": 265, + "column": 25 + }, + "end": { + "line": 265, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 7858, + 7868 + ], + "loc": { + "start": { + "line": 265, + "column": 36 + }, + "end": { + "line": 265, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 7870, + 7883 + ], + "loc": { + "start": { + "line": 265, + "column": 48 + }, + "end": { + "line": 265, + "column": 61 + } + } + } + ], + "range": [ + 7843, + 7884 + ], + "loc": { + "start": { + "line": 265, + "column": 21 + }, + "end": { + "line": 265, + "column": 62 + } + } + }, + "prefix": true, + "range": [ + 7842, + 7884 + ], + "loc": { + "start": { + "line": 265, + "column": 20 + }, + "end": { + "line": 265, + "column": 62 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7908, + 7912 + ], + "loc": { + "start": { + "line": 266, + "column": 20 + }, + "end": { + "line": 266, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 7913, + 7917 + ], + "loc": { + "start": { + "line": 266, + "column": 25 + }, + "end": { + "line": 266, + "column": 29 + } + } + }, + "range": [ + 7908, + 7917 + ], + "loc": { + "start": { + "line": 266, + "column": 20 + }, + "end": { + "line": 266, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 7918, + 7922 + ], + "loc": { + "start": { + "line": 266, + "column": 30 + }, + "end": { + "line": 266, + "column": 34 + } + } + }, + "range": [ + 7908, + 7922 + ], + "loc": { + "start": { + "line": 266, + "column": 20 + }, + "end": { + "line": 266, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 7923, + 7932 + ], + "loc": { + "start": { + "line": 266, + "column": 35 + }, + "end": { + "line": 266, + "column": 44 + } + } + } + ], + "range": [ + 7908, + 7933 + ], + "loc": { + "start": { + "line": 266, + "column": 20 + }, + "end": { + "line": 266, + "column": 45 + } + } + }, + "range": [ + 7908, + 7934 + ], + "loc": { + "start": { + "line": 266, + "column": 20 + }, + "end": { + "line": 266, + "column": 46 + } + } + } + ], + "range": [ + 7886, + 7952 + ], + "loc": { + "start": { + "line": 265, + "column": 64 + }, + "end": { + "line": 267, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 7838, + 7952 + ], + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 267, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 7780, + 7821 + ], + "loc": { + "start": { + "line": 264, + "column": 16 + }, + "end": { + "line": 264, + "column": 57 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 7973, + 7984 + ], + "loc": { + "start": { + "line": 268, + "column": 20 + }, + "end": { + "line": 268, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "filteredDataCol", + "range": [ + 7987, + 8002 + ], + "loc": { + "start": { + "line": 268, + "column": 34 + }, + "end": { + "line": 268, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 8003, + 8004 + ], + "loc": { + "start": { + "line": 268, + "column": 50 + }, + "end": { + "line": 268, + "column": 51 + } + } + }, + "range": [ + 7987, + 8005 + ], + "loc": { + "start": { + "line": 268, + "column": 34 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "range": [ + 7973, + 8005 + ], + "loc": { + "start": { + "line": 268, + "column": 20 + }, + "end": { + "line": 268, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 7969, + 8006 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 53 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 8027, + 8035 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8039, + 8041 + ], + "loc": { + "start": { + "line": 269, + "column": 32 + }, + "end": { + "line": 269, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 8042, + 8064 + ], + "loc": { + "start": { + "line": 269, + "column": 35 + }, + "end": { + "line": 269, + "column": 57 + } + } + }, + "range": [ + 8039, + 8064 + ], + "loc": { + "start": { + "line": 269, + "column": 32 + }, + "end": { + "line": 269, + "column": 57 + } + } + }, + "range": [ + 8027, + 8064 + ], + "loc": { + "start": { + "line": 269, + "column": 20 + }, + "end": { + "line": 269, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 8093, + 8104 + ], + "loc": { + "start": { + "line": 270, + "column": 25 + }, + "end": { + "line": 270, + "column": 36 + } + } + }, + "prefix": true, + "range": [ + 8092, + 8104 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 8132, + 8143 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8146, + 8148 + ], + "loc": { + "start": { + "line": 271, + "column": 38 + }, + "end": { + "line": 271, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "getVisibleColumnValues", + "range": [ + 8149, + 8171 + ], + "loc": { + "start": { + "line": 271, + "column": 41 + }, + "end": { + "line": 271, + "column": 63 + } + } + }, + "range": [ + 8146, + 8171 + ], + "loc": { + "start": { + "line": 271, + "column": 38 + }, + "end": { + "line": 271, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "j", + "range": [ + 8172, + 8173 + ], + "loc": { + "start": { + "line": 271, + "column": 64 + }, + "end": { + "line": 271, + "column": 65 + } + } + } + ], + "range": [ + 8146, + 8174 + ], + "loc": { + "start": { + "line": 271, + "column": 38 + }, + "end": { + "line": 271, + "column": 66 + } + } + }, + "range": [ + 8132, + 8174 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 66 + } + } + }, + "range": [ + 8132, + 8175 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 67 + } + } + } + ], + "range": [ + 8106, + 8197 + ], + "loc": { + "start": { + "line": 270, + "column": 38 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 8088, + 8197 + ], + "loc": { + "start": { + "line": 270, + "column": 20 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 8223, + 8226 + ], + "loc": { + "start": { + "line": 273, + "column": 25 + }, + "end": { + "line": 273, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 8227, + 8238 + ], + "loc": { + "start": { + "line": 273, + "column": 29 + }, + "end": { + "line": 273, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 8240, + 8250 + ], + "loc": { + "start": { + "line": 273, + "column": 42 + }, + "end": { + "line": 273, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 8252, + 8265 + ], + "loc": { + "start": { + "line": 273, + "column": 54 + }, + "end": { + "line": 273, + "column": 67 + } + } + } + ], + "range": [ + 8223, + 8266 + ], + "loc": { + "start": { + "line": 273, + "column": 25 + }, + "end": { + "line": 273, + "column": 68 + } + } + }, + "prefix": true, + "range": [ + 8222, + 8266 + ], + "loc": { + "start": { + "line": 273, + "column": 24 + }, + "end": { + "line": 273, + "column": 68 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 8295, + 8298 + ], + "loc": { + "start": { + "line": 274, + "column": 25 + }, + "end": { + "line": 274, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8299, + 8303 + ], + "loc": { + "start": { + "line": 274, + "column": 29 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8304, + 8316 + ], + "loc": { + "start": { + "line": 274, + "column": 34 + }, + "end": { + "line": 274, + "column": 46 + } + } + }, + "range": [ + 8299, + 8316 + ], + "loc": { + "start": { + "line": 274, + "column": 29 + }, + "end": { + "line": 274, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 8318, + 8328 + ], + "loc": { + "start": { + "line": 274, + "column": 48 + }, + "end": { + "line": 274, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 8358, + 8371 + ], + "loc": { + "start": { + "line": 275, + "column": 28 + }, + "end": { + "line": 275, + "column": 41 + } + } + } + ], + "range": [ + 8295, + 8372 + ], + "loc": { + "start": { + "line": 274, + "column": 25 + }, + "end": { + "line": 275, + "column": 42 + } + } + }, + "prefix": true, + "range": [ + 8294, + 8372 + ], + "loc": { + "start": { + "line": 274, + "column": 24 + }, + "end": { + "line": 275, + "column": 42 + } + } + }, + "range": [ + 8222, + 8372 + ], + "loc": { + "start": { + "line": 273, + "column": 24 + }, + "end": { + "line": 275, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8400, + 8404 + ], + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8405, + 8417 + ], + "loc": { + "start": { + "line": 276, + "column": 29 + }, + "end": { + "line": 276, + "column": 41 + } + } + }, + "range": [ + 8400, + 8417 + ], + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 8418, + 8422 + ], + "loc": { + "start": { + "line": 276, + "column": 42 + }, + "end": { + "line": 276, + "column": 46 + } + } + }, + "range": [ + 8400, + 8422 + ], + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 8423, + 8432 + ], + "loc": { + "start": { + "line": 276, + "column": 47 + }, + "end": { + "line": 276, + "column": 56 + } + } + } + ], + "range": [ + 8400, + 8433 + ], + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 57 + } + } + }, + "range": [ + 8400, + 8434 + ], + "loc": { + "start": { + "line": 276, + "column": 24 + }, + "end": { + "line": 276, + "column": 58 + } + } + } + ], + "range": [ + 8374, + 8456 + ], + "loc": { + "start": { + "line": 275, + "column": 44 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 8218, + 8456 + ], + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 277, + "column": 21 + } + } + } + ], + "range": [ + 8066, + 8474 + ], + "loc": { + "start": { + "line": 269, + "column": 59 + }, + "end": { + "line": 278, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 8023, + 8474 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 278, + "column": 17 + } + } + } + ], + "range": [ + 7269, + 8488 + ], + "loc": { + "start": { + "line": 251, + "column": 45 + }, + "end": { + "line": 279, + "column": 13 + } + } + }, + "range": [ + 7236, + 8488 + ], + "loc": { + "start": { + "line": 251, + "column": 12 + }, + "end": { + "line": 279, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 7191, + 7223 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 44 + } + } + } + ] + } + ], + "range": [ + 6741, + 8498 + ], + "loc": { + "start": { + "line": 235, + "column": 49 + }, + "end": { + "line": 280, + "column": 9 + } + } + }, + "range": [ + 6700, + 8498 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 280, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "sort options", + "range": [ + 8508, + 8522 + ], + "loc": { + "start": { + "line": 282, + "column": 8 + }, + "end": { + "line": 282, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8531, + 8535 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8536, + 8540 + ], + "loc": { + "start": { + "line": 283, + "column": 13 + }, + "end": { + "line": 283, + "column": 17 + } + } + }, + "range": [ + 8531, + 8540 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8543, + 8547 + ], + "loc": { + "start": { + "line": 283, + "column": 20 + }, + "end": { + "line": 283, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortOptions", + "range": [ + 8548, + 8559 + ], + "loc": { + "start": { + "line": 283, + "column": 25 + }, + "end": { + "line": 283, + "column": 36 + } + } + }, + "range": [ + 8543, + 8559 + ], + "loc": { + "start": { + "line": 283, + "column": 20 + }, + "end": { + "line": 283, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8560, + 8568 + ], + "loc": { + "start": { + "line": 283, + "column": 37 + }, + "end": { + "line": 283, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8570, + 8574 + ], + "loc": { + "start": { + "line": 283, + "column": 47 + }, + "end": { + "line": 283, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8575, + 8579 + ], + "loc": { + "start": { + "line": 283, + "column": 52 + }, + "end": { + "line": 283, + "column": 56 + } + } + }, + "range": [ + 8570, + 8579 + ], + "loc": { + "start": { + "line": 283, + "column": 47 + }, + "end": { + "line": 283, + "column": 56 + } + } + } + ], + "range": [ + 8543, + 8580 + ], + "loc": { + "start": { + "line": 283, + "column": 20 + }, + "end": { + "line": 283, + "column": 57 + } + } + }, + "range": [ + 8531, + 8580 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 57 + } + } + }, + "range": [ + 8531, + 8581 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "sort options", + "range": [ + 8508, + 8522 + ], + "loc": { + "start": { + "line": 282, + "column": 8 + }, + "end": { + "line": 282, + "column": 22 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8594, + 8598 + ], + "loc": { + "start": { + "line": 284, + "column": 12 + }, + "end": { + "line": 284, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8599, + 8611 + ], + "loc": { + "start": { + "line": 284, + "column": 17 + }, + "end": { + "line": 284, + "column": 29 + } + } + }, + "range": [ + 8594, + 8611 + ], + "loc": { + "start": { + "line": 284, + "column": 12 + }, + "end": { + "line": 284, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8627, + 8631 + ], + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8632, + 8644 + ], + "loc": { + "start": { + "line": 285, + "column": 17 + }, + "end": { + "line": 285, + "column": 29 + } + } + }, + "range": [ + 8627, + 8644 + ], + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8647, + 8651 + ], + "loc": { + "start": { + "line": 285, + "column": 32 + }, + "end": { + "line": 285, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortOptions", + "range": [ + 8652, + 8663 + ], + "loc": { + "start": { + "line": 285, + "column": 37 + }, + "end": { + "line": 285, + "column": 48 + } + } + }, + "range": [ + 8647, + 8663 + ], + "loc": { + "start": { + "line": 285, + "column": 32 + }, + "end": { + "line": 285, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8664, + 8672 + ], + "loc": { + "start": { + "line": 285, + "column": 49 + }, + "end": { + "line": 285, + "column": 57 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8674, + 8678 + ], + "loc": { + "start": { + "line": 285, + "column": 59 + }, + "end": { + "line": 285, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8679, + 8691 + ], + "loc": { + "start": { + "line": 285, + "column": 64 + }, + "end": { + "line": 285, + "column": 76 + } + } + }, + "range": [ + 8674, + 8691 + ], + "loc": { + "start": { + "line": 285, + "column": 59 + }, + "end": { + "line": 285, + "column": 76 + } + } + } + ], + "range": [ + 8647, + 8692 + ], + "loc": { + "start": { + "line": 285, + "column": 32 + }, + "end": { + "line": 285, + "column": 77 + } + } + }, + "range": [ + 8627, + 8692 + ], + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 77 + } + } + }, + "range": [ + 8627, + 8693 + ], + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 285, + "column": 78 + } + } + } + ], + "range": [ + 8613, + 8703 + ], + "loc": { + "start": { + "line": 284, + "column": 31 + }, + "end": { + "line": 286, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8590, + 8703 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 286, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8713, + 8717 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addChecks", + "range": [ + 8718, + 8727 + ], + "loc": { + "start": { + "line": 288, + "column": 13 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + "range": [ + 8713, + 8727 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8728, + 8736 + ], + "loc": { + "start": { + "line": 288, + "column": 23 + }, + "end": { + "line": 288, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "ul", + "range": [ + 8738, + 8740 + ], + "loc": { + "start": { + "line": 288, + "column": 33 + }, + "end": { + "line": 288, + "column": 35 + } + } + } + ], + "range": [ + 8713, + 8741 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 36 + } + } + }, + "range": [ + 8713, + 8742 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 37 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8756, + 8758 + ], + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 290, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 8759, + 8774 + ], + "loc": { + "start": { + "line": 290, + "column": 15 + }, + "end": { + "line": 290, + "column": 30 + } + } + }, + "range": [ + 8756, + 8774 + ], + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 290, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 8790, + 8793 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 8794, + 8803 + ], + "loc": { + "start": { + "line": 291, + "column": 16 + }, + "end": { + "line": 291, + "column": 25 + } + } + }, + "range": [ + 8790, + 8803 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 8806, + 8808 + ], + "loc": { + "start": { + "line": 291, + "column": 28 + }, + "end": { + "line": 291, + "column": 30 + } + } + }, + "range": [ + 8790, + 8808 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 30 + } + } + }, + "range": [ + 8790, + 8809 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 31 + } + } + } + ], + "range": [ + 8776, + 8819 + ], + "loc": { + "start": { + "line": 290, + "column": 32 + }, + "end": { + "line": 292, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8752, + 8819 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 292, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 8828, + 8831 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 8832, + 8843 + ], + "loc": { + "start": { + "line": 293, + "column": 12 + }, + "end": { + "line": 293, + "column": 23 + } + } + }, + "range": [ + 8828, + 8843 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ul", + "range": [ + 8844, + 8846 + ], + "loc": { + "start": { + "line": 293, + "column": 24 + }, + "end": { + "line": 293, + "column": 26 + } + } + } + ], + "range": [ + 8828, + 8847 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 27 + } + } + }, + "range": [ + 8828, + 8848 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 8857, + 8860 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 8861, + 8873 + ], + "loc": { + "start": { + "line": 294, + "column": 12 + }, + "end": { + "line": 294, + "column": 24 + } + } + }, + "range": [ + 8857, + 8873 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 8874, + 8882 + ], + "loc": { + "start": { + "line": 294, + "column": 25 + }, + "end": { + "line": 294, + "column": 33 + } + } + }, + { + "type": "Literal", + "value": "1", + "raw": "'1'", + "range": [ + 8884, + 8887 + ], + "loc": { + "start": { + "line": 294, + "column": 35 + }, + "end": { + "line": 294, + "column": 38 + } + } + } + ], + "range": [ + 8857, + 8888 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 39 + } + } + }, + "range": [ + 8857, + 8889 + ], + "loc": { + "start": { + "line": 294, + "column": 8 + }, + "end": { + "line": 294, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8899, + 8903 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8904, + 8911 + ], + "loc": { + "start": { + "line": 296, + "column": 13 + }, + "end": { + "line": 296, + "column": 20 + } + } + }, + "range": [ + 8899, + 8911 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 8912, + 8916 + ], + "loc": { + "start": { + "line": 296, + "column": 21 + }, + "end": { + "line": 296, + "column": 25 + } + } + }, + "range": [ + 8899, + 8916 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-populating-filter", + "raw": "'after-populating-filter'", + "range": [ + 8917, + 8942 + ], + "loc": { + "start": { + "line": 296, + "column": 26 + }, + "end": { + "line": 296, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 8944, + 8946 + ], + "loc": { + "start": { + "line": 296, + "column": 53 + }, + "end": { + "line": 296, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8948, + 8956 + ], + "loc": { + "start": { + "line": 296, + "column": 57 + }, + "end": { + "line": 296, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "flt", + "range": [ + 8958, + 8961 + ], + "loc": { + "start": { + "line": 296, + "column": 67 + }, + "end": { + "line": 296, + "column": 70 + } + } + } + ], + "range": [ + 8899, + 8962 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 71 + } + } + }, + "range": [ + 8899, + 8963 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 72 + } + } + } + ], + "range": [ + 5429, + 8969 + ], + "loc": { + "start": { + "line": 191, + "column": 38 + }, + "end": { + "line": 297, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5400, + 8969 + ], + "loc": { + "start": { + "line": 191, + "column": 9 + }, + "end": { + "line": 297, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5395, + 8969 + ], + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 297, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 5235, + 5390 + ], + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 190, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 8975, + 9121 + ], + "loc": { + "start": { + "line": 299, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addChecks", + "range": [ + 9126, + 9135 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 305, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9136, + 9144 + ], + "loc": { + "start": { + "line": 305, + "column": 14 + }, + "end": { + "line": 305, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "ul", + "range": [ + 9146, + 9148 + ], + "loc": { + "start": { + "line": 305, + "column": 24 + }, + "end": { + "line": 305, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 9164, + 9166 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9169, + 9173 + ], + "loc": { + "start": { + "line": 306, + "column": 17 + }, + "end": { + "line": 306, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 9174, + 9176 + ], + "loc": { + "start": { + "line": 306, + "column": 22 + }, + "end": { + "line": 306, + "column": 24 + } + } + }, + "range": [ + 9169, + 9176 + ], + "loc": { + "start": { + "line": 306, + "column": 17 + }, + "end": { + "line": 306, + "column": 24 + } + } + }, + "range": [ + 9164, + 9176 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 9160, + 9177 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 9190, + 9195 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9198, + 9202 + ], + "loc": { + "start": { + "line": 307, + "column": 20 + }, + "end": { + "line": 307, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "addTChecks", + "range": [ + 9203, + 9213 + ], + "loc": { + "start": { + "line": 307, + "column": 25 + }, + "end": { + "line": 307, + "column": 35 + } + } + }, + "range": [ + 9198, + 9213 + ], + "loc": { + "start": { + "line": 307, + "column": 20 + }, + "end": { + "line": 307, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9214, + 9222 + ], + "loc": { + "start": { + "line": 307, + "column": 36 + }, + "end": { + "line": 307, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "ul", + "range": [ + 9224, + 9226 + ], + "loc": { + "start": { + "line": 307, + "column": 46 + }, + "end": { + "line": 307, + "column": 48 + } + } + } + ], + "range": [ + 9198, + 9227 + ], + "loc": { + "start": { + "line": 307, + "column": 20 + }, + "end": { + "line": 307, + "column": 49 + } + } + }, + "range": [ + 9190, + 9227 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 9186, + 9228 + ], + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 307, + "column": 50 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "y", + "range": [ + 9247, + 9248 + ], + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 309, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9251, + 9252 + ], + "loc": { + "start": { + "line": 309, + "column": 21 + }, + "end": { + "line": 309, + "column": 22 + } + } + }, + "range": [ + 9247, + 9252 + ], + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 309, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 9243, + 9252 + ], + "loc": { + "start": { + "line": 309, + "column": 13 + }, + "end": { + "line": 309, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "y", + "range": [ + 9254, + 9255 + ], + "loc": { + "start": { + "line": 309, + "column": 24 + }, + "end": { + "line": 309, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9258, + 9262 + ], + "loc": { + "start": { + "line": 309, + "column": 28 + }, + "end": { + "line": 309, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 9263, + 9267 + ], + "loc": { + "start": { + "line": 309, + "column": 33 + }, + "end": { + "line": 309, + "column": 37 + } + } + }, + "range": [ + 9258, + 9267 + ], + "loc": { + "start": { + "line": 309, + "column": 28 + }, + "end": { + "line": 309, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 9268, + 9274 + ], + "loc": { + "start": { + "line": 309, + "column": 38 + }, + "end": { + "line": 309, + "column": 44 + } + } + }, + "range": [ + 9258, + 9274 + ], + "loc": { + "start": { + "line": 309, + "column": 28 + }, + "end": { + "line": 309, + "column": 44 + } + } + }, + "range": [ + 9254, + 9274 + ], + "loc": { + "start": { + "line": 309, + "column": 24 + }, + "end": { + "line": 309, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "y", + "range": [ + 9276, + 9277 + ], + "loc": { + "start": { + "line": 309, + "column": 46 + }, + "end": { + "line": 309, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 9276, + 9279 + ], + "loc": { + "start": { + "line": 309, + "column": 46 + }, + "end": { + "line": 309, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "val", + "range": [ + 9299, + 9302 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9305, + 9309 + ], + "loc": { + "start": { + "line": 310, + "column": 22 + }, + "end": { + "line": 310, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 9310, + 9314 + ], + "loc": { + "start": { + "line": 310, + "column": 27 + }, + "end": { + "line": 310, + "column": 31 + } + } + }, + "range": [ + 9305, + 9314 + ], + "loc": { + "start": { + "line": 310, + "column": 22 + }, + "end": { + "line": 310, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 9315, + 9316 + ], + "loc": { + "start": { + "line": 310, + "column": 32 + }, + "end": { + "line": 310, + "column": 33 + } + } + }, + "range": [ + 9305, + 9317 + ], + "loc": { + "start": { + "line": 310, + "column": 22 + }, + "end": { + "line": 310, + "column": 34 + } + } + }, + "range": [ + 9299, + 9317 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 9295, + 9318 + ], + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 35 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "item value", + "range": [ + 9319, + 9331 + ], + "loc": { + "start": { + "line": 310, + "column": 36 + }, + "end": { + "line": 310, + "column": 48 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lbl", + "range": [ + 9348, + 9351 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 19 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9354, + 9358 + ], + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 9359, + 9367 + ], + "loc": { + "start": { + "line": 311, + "column": 27 + }, + "end": { + "line": 311, + "column": 35 + } + } + }, + "range": [ + 9354, + 9367 + ], + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 35 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9370, + 9374 + ], + "loc": { + "start": { + "line": 311, + "column": 38 + }, + "end": { + "line": 311, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 9375, + 9382 + ], + "loc": { + "start": { + "line": 311, + "column": 43 + }, + "end": { + "line": 311, + "column": 50 + } + } + }, + "range": [ + 9370, + 9382 + ], + "loc": { + "start": { + "line": 311, + "column": 38 + }, + "end": { + "line": 311, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 9383, + 9384 + ], + "loc": { + "start": { + "line": 311, + "column": 51 + }, + "end": { + "line": 311, + "column": 52 + } + } + }, + "range": [ + 9370, + 9385 + ], + "loc": { + "start": { + "line": 311, + "column": 38 + }, + "end": { + "line": 311, + "column": 53 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "val", + "range": [ + 9388, + 9391 + ], + "loc": { + "start": { + "line": 311, + "column": 56 + }, + "end": { + "line": 311, + "column": 59 + } + } + }, + "range": [ + 9354, + 9391 + ], + "loc": { + "start": { + "line": 311, + "column": 22 + }, + "end": { + "line": 311, + "column": 59 + } + } + }, + "range": [ + 9348, + 9391 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 9344, + 9392 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "item value", + "range": [ + 9319, + 9331 + ], + "loc": { + "start": { + "line": 310, + "column": 36 + }, + "end": { + "line": 310, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "item text", + "range": [ + 9393, + 9404 + ], + "loc": { + "start": { + "line": 311, + "column": 61 + }, + "end": { + "line": 311, + "column": 72 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltId", + "range": [ + 9421, + 9426 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9429, + 9431 + ], + "loc": { + "start": { + "line": 312, + "column": 24 + }, + "end": { + "line": 312, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 9432, + 9438 + ], + "loc": { + "start": { + "line": 312, + "column": 27 + }, + "end": { + "line": 312, + "column": 33 + } + } + }, + "range": [ + 9429, + 9438 + ], + "loc": { + "start": { + "line": 312, + "column": 24 + }, + "end": { + "line": 312, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9439, + 9447 + ], + "loc": { + "start": { + "line": 312, + "column": 34 + }, + "end": { + "line": 312, + "column": 42 + } + } + }, + "range": [ + 9429, + 9448 + ], + "loc": { + "start": { + "line": 312, + "column": 24 + }, + "end": { + "line": 312, + "column": 43 + } + } + }, + "range": [ + 9421, + 9448 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 9417, + 9449 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "item text", + "range": [ + 9393, + 9404 + ], + "loc": { + "start": { + "line": 311, + "column": 61 + }, + "end": { + "line": 311, + "column": 72 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 9466, + 9468 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 9471, + 9486 + ], + "loc": { + "start": { + "line": 313, + "column": 21 + }, + "end": { + "line": 313, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 9487, + 9490 + ], + "loc": { + "start": { + "line": 313, + "column": 37 + }, + "end": { + "line": 313, + "column": 40 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 9495, + 9499 + ], + "loc": { + "start": { + "line": 313, + "column": 45 + }, + "end": { + "line": 313, + "column": 49 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 9510, + 9512 + ], + "loc": { + "start": { + "line": 313, + "column": 60 + }, + "end": { + "line": 313, + "column": 62 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "fltId", + "range": [ + 9490, + 9495 + ], + "loc": { + "start": { + "line": 313, + "column": 40 + }, + "end": { + "line": 313, + "column": 45 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "y", + "range": [ + 9500, + 9501 + ], + "loc": { + "start": { + "line": 313, + "column": 50 + }, + "end": { + "line": 313, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 9504, + 9509 + ], + "loc": { + "start": { + "line": 313, + "column": 54 + }, + "end": { + "line": 313, + "column": 59 + } + } + }, + "range": [ + 9500, + 9509 + ], + "loc": { + "start": { + "line": 313, + "column": 50 + }, + "end": { + "line": 313, + "column": 59 + } + } + } + ], + "range": [ + 9487, + 9512 + ], + "loc": { + "start": { + "line": 313, + "column": 37 + }, + "end": { + "line": 313, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "val", + "range": [ + 9514, + 9517 + ], + "loc": { + "start": { + "line": 313, + "column": 64 + }, + "end": { + "line": 313, + "column": 67 + } + } + }, + { + "type": "Identifier", + "name": "lbl", + "range": [ + 9519, + 9522 + ], + "loc": { + "start": { + "line": 313, + "column": 69 + }, + "end": { + "line": 313, + "column": 72 + } + } + } + ], + "range": [ + 9471, + 9523 + ], + "loc": { + "start": { + "line": 313, + "column": 21 + }, + "end": { + "line": 313, + "column": 73 + } + } + }, + "range": [ + 9466, + 9523 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 73 + } + } + } + ], + "kind": "let", + "range": [ + 9462, + 9524 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 74 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 9537, + 9539 + ], + "loc": { + "start": { + "line": 314, + "column": 12 + }, + "end": { + "line": 314, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 9540, + 9549 + ], + "loc": { + "start": { + "line": 314, + "column": 15 + }, + "end": { + "line": 314, + "column": 24 + } + } + }, + "range": [ + 9537, + 9549 + ], + "loc": { + "start": { + "line": 314, + "column": 12 + }, + "end": { + "line": 314, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9552, + 9556 + ], + "loc": { + "start": { + "line": 314, + "column": 27 + }, + "end": { + "line": 314, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "itemCssClass", + "range": [ + 9557, + 9569 + ], + "loc": { + "start": { + "line": 314, + "column": 32 + }, + "end": { + "line": 314, + "column": 44 + } + } + }, + "range": [ + 9552, + 9569 + ], + "loc": { + "start": { + "line": 314, + "column": 27 + }, + "end": { + "line": 314, + "column": 44 + } + } + }, + "range": [ + 9537, + 9569 + ], + "loc": { + "start": { + "line": 314, + "column": 12 + }, + "end": { + "line": 314, + "column": 44 + } + } + }, + "range": [ + 9537, + 9570 + ], + "loc": { + "start": { + "line": 314, + "column": 12 + }, + "end": { + "line": 314, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9588, + 9590 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 9591, + 9604 + ], + "loc": { + "start": { + "line": 316, + "column": 19 + }, + "end": { + "line": 316, + "column": 32 + } + } + }, + "range": [ + 9588, + 9604 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 32 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9608, + 9610 + ], + "loc": { + "start": { + "line": 316, + "column": 36 + }, + "end": { + "line": 316, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 9611, + 9633 + ], + "loc": { + "start": { + "line": 316, + "column": 39 + }, + "end": { + "line": 316, + "column": 61 + } + } + }, + "range": [ + 9608, + 9633 + ], + "loc": { + "start": { + "line": 316, + "column": 36 + }, + "end": { + "line": 316, + "column": 61 + } + } + }, + "range": [ + 9588, + 9633 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 61 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 9653, + 9656 + ], + "loc": { + "start": { + "line": 317, + "column": 16 + }, + "end": { + "line": 317, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9657, + 9661 + ], + "loc": { + "start": { + "line": 317, + "column": 20 + }, + "end": { + "line": 317, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 9662, + 9674 + ], + "loc": { + "start": { + "line": 317, + "column": 25 + }, + "end": { + "line": 317, + "column": 37 + } + } + }, + "range": [ + 9657, + 9674 + ], + "loc": { + "start": { + "line": 317, + "column": 20 + }, + "end": { + "line": 317, + "column": 37 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 9676, + 9685 + ], + "loc": { + "start": { + "line": 317, + "column": 39 + }, + "end": { + "line": 317, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 9686, + 9689 + ], + "loc": { + "start": { + "line": 317, + "column": 49 + }, + "end": { + "line": 317, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9691, + 9693 + ], + "loc": { + "start": { + "line": 317, + "column": 54 + }, + "end": { + "line": 317, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 9694, + 9707 + ], + "loc": { + "start": { + "line": 317, + "column": 57 + }, + "end": { + "line": 317, + "column": 70 + } + } + }, + "range": [ + 9691, + 9707 + ], + "loc": { + "start": { + "line": 317, + "column": 54 + }, + "end": { + "line": 317, + "column": 70 + } + } + } + ], + "range": [ + 9676, + 9708 + ], + "loc": { + "start": { + "line": 317, + "column": 39 + }, + "end": { + "line": 317, + "column": 71 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9730, + 9732 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 9733, + 9746 + ], + "loc": { + "start": { + "line": 318, + "column": 23 + }, + "end": { + "line": 318, + "column": 36 + } + } + }, + "range": [ + 9730, + 9746 + ], + "loc": { + "start": { + "line": 318, + "column": 20 + }, + "end": { + "line": 318, + "column": 36 + } + } + } + ], + "range": [ + 9653, + 9747 + ], + "loc": { + "start": { + "line": 317, + "column": 16 + }, + "end": { + "line": 318, + "column": 37 + } + } + }, + "range": [ + 9588, + 9747 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 318, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 9767, + 9775 + ], + "loc": { + "start": { + "line": 319, + "column": 16 + }, + "end": { + "line": 319, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 9776, + 9778 + ], + "loc": { + "start": { + "line": 319, + "column": 25 + }, + "end": { + "line": 319, + "column": 27 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9780, + 9784 + ], + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "disabledItemCssClass", + "range": [ + 9785, + 9805 + ], + "loc": { + "start": { + "line": 319, + "column": 34 + }, + "end": { + "line": 319, + "column": 54 + } + } + }, + "range": [ + 9780, + 9805 + ], + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 54 + } + } + } + ], + "range": [ + 9767, + 9806 + ], + "loc": { + "start": { + "line": 319, + "column": 16 + }, + "end": { + "line": 319, + "column": 55 + } + } + }, + "range": [ + 9767, + 9807 + ], + "loc": { + "start": { + "line": 319, + "column": 16 + }, + "end": { + "line": 319, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 9824, + 9826 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 9827, + 9832 + ], + "loc": { + "start": { + "line": 320, + "column": 19 + }, + "end": { + "line": 320, + "column": 24 + } + } + }, + "range": [ + 9824, + 9832 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "disabled", + "range": [ + 9833, + 9841 + ], + "loc": { + "start": { + "line": 320, + "column": 25 + }, + "end": { + "line": 320, + "column": 33 + } + } + }, + "range": [ + 9824, + 9841 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9844, + 9848 + ], + "loc": { + "start": { + "line": 320, + "column": 36 + }, + "end": { + "line": 320, + "column": 40 + } + } + }, + "range": [ + 9824, + 9848 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 40 + } + } + }, + "range": [ + 9824, + 9849 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 9866, + 9868 + ], + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "disabled", + "range": [ + 9869, + 9877 + ], + "loc": { + "start": { + "line": 321, + "column": 19 + }, + "end": { + "line": 321, + "column": 27 + } + } + }, + "range": [ + 9866, + 9877 + ], + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9880, + 9884 + ], + "loc": { + "start": { + "line": 321, + "column": 30 + }, + "end": { + "line": 321, + "column": 34 + } + } + }, + "range": [ + 9866, + 9884 + ], + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 34 + } + } + }, + "range": [ + 9866, + 9885 + ], + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 35 + } + } + } + ], + "range": [ + 9749, + 9899 + ], + "loc": { + "start": { + "line": 318, + "column": 39 + }, + "end": { + "line": 322, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 9923, + 9929 + ], + "loc": { + "start": { + "line": 323, + "column": 16 + }, + "end": { + "line": 323, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 9930, + 9932 + ], + "loc": { + "start": { + "line": 323, + "column": 23 + }, + "end": { + "line": 323, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 9933, + 9938 + ], + "loc": { + "start": { + "line": 323, + "column": 26 + }, + "end": { + "line": 323, + "column": 31 + } + } + }, + "range": [ + 9930, + 9938 + ], + "loc": { + "start": { + "line": 323, + "column": 23 + }, + "end": { + "line": 323, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 9940, + 9947 + ], + "loc": { + "start": { + "line": 323, + "column": 33 + }, + "end": { + "line": 323, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9949, + 9952 + ], + "loc": { + "start": { + "line": 323, + "column": 42 + }, + "end": { + "line": 323, + "column": 45 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9956, + 9960 + ], + "loc": { + "start": { + "line": 323, + "column": 49 + }, + "end": { + "line": 323, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "optionClick", + "range": [ + 9961, + 9972 + ], + "loc": { + "start": { + "line": 323, + "column": 54 + }, + "end": { + "line": 323, + "column": 65 + } + } + }, + "range": [ + 9956, + 9972 + ], + "loc": { + "start": { + "line": 323, + "column": 49 + }, + "end": { + "line": 323, + "column": 65 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9973, + 9976 + ], + "loc": { + "start": { + "line": 323, + "column": 66 + }, + "end": { + "line": 323, + "column": 69 + } + } + } + ], + "range": [ + 9956, + 9977 + ], + "loc": { + "start": { + "line": 323, + "column": 49 + }, + "end": { + "line": 323, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 9949, + 9977 + ], + "loc": { + "start": { + "line": 323, + "column": 42 + }, + "end": { + "line": 323, + "column": 70 + } + } + } + ], + "range": [ + 9923, + 9978 + ], + "loc": { + "start": { + "line": 323, + "column": 16 + }, + "end": { + "line": 323, + "column": 71 + } + } + }, + "range": [ + 9923, + 9979 + ], + "loc": { + "start": { + "line": 323, + "column": 16 + }, + "end": { + "line": 323, + "column": 72 + } + } + } + ], + "range": [ + 9905, + 9993 + ], + "loc": { + "start": { + "line": 322, + "column": 19 + }, + "end": { + "line": 324, + "column": 13 + } + } + }, + "range": [ + 9584, + 9993 + ], + "loc": { + "start": { + "line": 316, + "column": 12 + }, + "end": { + "line": 324, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 10006, + 10008 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 10009, + 10020 + ], + "loc": { + "start": { + "line": 325, + "column": 15 + }, + "end": { + "line": 325, + "column": 26 + } + } + }, + "range": [ + 10006, + 10020 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 10021, + 10023 + ], + "loc": { + "start": { + "line": 325, + "column": 27 + }, + "end": { + "line": 325, + "column": 29 + } + } + } + ], + "range": [ + 10006, + 10024 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 30 + } + } + }, + "range": [ + 10006, + 10025 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 31 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "val", + "range": [ + 10043, + 10046 + ], + "loc": { + "start": { + "line": 327, + "column": 16 + }, + "end": { + "line": 327, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10051, + 10053 + ], + "loc": { + "start": { + "line": 327, + "column": 24 + }, + "end": { + "line": 327, + "column": 26 + } + } + }, + "range": [ + 10043, + 10053 + ], + "loc": { + "start": { + "line": 327, + "column": 16 + }, + "end": { + "line": 327, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 10106, + 10108 + ], + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 10109, + 10114 + ], + "loc": { + "start": { + "line": 329, + "column": 19 + }, + "end": { + "line": 329, + "column": 24 + } + } + }, + "range": [ + 10106, + 10114 + ], + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 10115, + 10122 + ], + "loc": { + "start": { + "line": 329, + "column": 25 + }, + "end": { + "line": 329, + "column": 32 + } + } + }, + "range": [ + 10106, + 10122 + ], + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 10125, + 10129 + ], + "loc": { + "start": { + "line": 329, + "column": 35 + }, + "end": { + "line": 329, + "column": 39 + } + } + }, + "range": [ + 10106, + 10129 + ], + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 39 + } + } + }, + "range": [ + 10106, + 10130 + ], + "loc": { + "start": { + "line": 329, + "column": 16 + }, + "end": { + "line": 329, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "item is hidden", + "range": [ + 10073, + 10089 + ], + "loc": { + "start": { + "line": 328, + "column": 16 + }, + "end": { + "line": 328, + "column": 32 + } + } + } + ] + } + ], + "range": [ + 10055, + 10144 + ], + "loc": { + "start": { + "line": 327, + "column": 28 + }, + "end": { + "line": 330, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10039, + 10144 + ], + "loc": { + "start": { + "line": 327, + "column": 12 + }, + "end": { + "line": 330, + "column": 13 + } + } + } + ], + "range": [ + 9281, + 10154 + ], + "loc": { + "start": { + "line": 309, + "column": 51 + }, + "end": { + "line": 331, + "column": 9 + } + } + }, + "range": [ + 9238, + 10154 + ], + "loc": { + "start": { + "line": 309, + "column": 8 + }, + "end": { + "line": 331, + "column": 9 + } + } + } + ], + "range": [ + 9150, + 10160 + ], + "loc": { + "start": { + "line": 305, + "column": 28 + }, + "end": { + "line": 332, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9135, + 10160 + ], + "loc": { + "start": { + "line": 305, + "column": 13 + }, + "end": { + "line": 332, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9126, + 10160 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 332, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 8975, + 9121 + ], + "loc": { + "start": { + "line": 299, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 10166, + 10316 + ], + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addTChecks", + "range": [ + 10321, + 10331 + ], + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 340, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10332, + 10340 + ], + "loc": { + "start": { + "line": 340, + "column": 15 + }, + "end": { + "line": 340, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "ul", + "range": [ + 10342, + 10344 + ], + "loc": { + "start": { + "line": 340, + "column": 25 + }, + "end": { + "line": 340, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10360, + 10362 + ], + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10365, + 10369 + ], + "loc": { + "start": { + "line": 341, + "column": 17 + }, + "end": { + "line": 341, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10370, + 10372 + ], + "loc": { + "start": { + "line": 341, + "column": 22 + }, + "end": { + "line": 341, + "column": 24 + } + } + }, + "range": [ + 10365, + 10372 + ], + "loc": { + "start": { + "line": 341, + "column": 17 + }, + "end": { + "line": 341, + "column": 24 + } + } + }, + "range": [ + 10360, + 10372 + ], + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10356, + 10373 + ], + "loc": { + "start": { + "line": 341, + "column": 8 + }, + "end": { + "line": 341, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 10386, + 10391 + ], + "loc": { + "start": { + "line": 342, + "column": 12 + }, + "end": { + "line": 342, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 10394, + 10395 + ], + "loc": { + "start": { + "line": 342, + "column": 20 + }, + "end": { + "line": 342, + "column": 21 + } + } + }, + "range": [ + 10386, + 10395 + ], + "loc": { + "start": { + "line": 342, + "column": 12 + }, + "end": { + "line": 342, + "column": 21 + } + } + } + ], + "kind": "let", + "range": [ + 10382, + 10396 + ], + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 22 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltId", + "range": [ + 10409, + 10414 + ], + "loc": { + "start": { + "line": 343, + "column": 12 + }, + "end": { + "line": 343, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10417, + 10419 + ], + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 10420, + 10426 + ], + "loc": { + "start": { + "line": 343, + "column": 23 + }, + "end": { + "line": 343, + "column": 29 + } + } + }, + "range": [ + 10417, + 10426 + ], + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10427, + 10435 + ], + "loc": { + "start": { + "line": 343, + "column": 30 + }, + "end": { + "line": 343, + "column": 38 + } + } + }, + "range": [ + 10417, + 10436 + ], + "loc": { + "start": { + "line": 343, + "column": 20 + }, + "end": { + "line": 343, + "column": 39 + } + } + }, + "range": [ + 10409, + 10436 + ], + "loc": { + "start": { + "line": 343, + "column": 12 + }, + "end": { + "line": 343, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 10405, + 10437 + ], + "loc": { + "start": { + "line": 343, + "column": 8 + }, + "end": { + "line": 343, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li0", + "range": [ + 10450, + 10453 + ], + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 344, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 10456, + 10471 + ], + "loc": { + "start": { + "line": 344, + "column": 18 + }, + "end": { + "line": 344, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 10472, + 10475 + ], + "loc": { + "start": { + "line": 344, + "column": 34 + }, + "end": { + "line": 344, + "column": 37 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_0", + "cooked": "_0" + }, + "tail": true, + "range": [ + 10480, + 10484 + ], + "loc": { + "start": { + "line": 344, + "column": 42 + }, + "end": { + "line": 344, + "column": 46 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "fltId", + "range": [ + 10475, + 10480 + ], + "loc": { + "start": { + "line": 344, + "column": 37 + }, + "end": { + "line": 344, + "column": 42 + } + } + } + ], + "range": [ + 10472, + 10484 + ], + "loc": { + "start": { + "line": 344, + "column": 34 + }, + "end": { + "line": 344, + "column": 46 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10486, + 10488 + ], + "loc": { + "start": { + "line": 344, + "column": 48 + }, + "end": { + "line": 344, + "column": 50 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10502, + 10504 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 10505, + 10523 + ], + "loc": { + "start": { + "line": 345, + "column": 15 + }, + "end": { + "line": 345, + "column": 33 + } + } + }, + "range": [ + 10502, + 10523 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10524, + 10532 + ], + "loc": { + "start": { + "line": 345, + "column": 34 + }, + "end": { + "line": 345, + "column": 42 + } + } + } + ], + "range": [ + 10502, + 10533 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 43 + } + } + } + ], + "range": [ + 10456, + 10534 + ], + "loc": { + "start": { + "line": 344, + "column": 18 + }, + "end": { + "line": 345, + "column": 44 + } + } + }, + "range": [ + 10450, + 10534 + ], + "loc": { + "start": { + "line": 344, + "column": 12 + }, + "end": { + "line": 345, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 10446, + 10535 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 345, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li0", + "range": [ + 10544, + 10547 + ], + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 346, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10548, + 10557 + ], + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 21 + } + } + }, + "range": [ + 10544, + 10557 + ], + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 346, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10560, + 10564 + ], + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "itemCssClass", + "range": [ + 10565, + 10577 + ], + "loc": { + "start": { + "line": 346, + "column": 29 + }, + "end": { + "line": 346, + "column": 41 + } + } + }, + "range": [ + 10560, + 10577 + ], + "loc": { + "start": { + "line": 346, + "column": 24 + }, + "end": { + "line": 346, + "column": 41 + } + } + }, + "range": [ + 10544, + 10577 + ], + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 346, + "column": 41 + } + } + }, + "range": [ + 10544, + 10578 + ], + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 346, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 10587, + 10589 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 10590, + 10601 + ], + "loc": { + "start": { + "line": 347, + "column": 11 + }, + "end": { + "line": 347, + "column": 22 + } + } + }, + "range": [ + 10587, + 10601 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li0", + "range": [ + 10602, + 10605 + ], + "loc": { + "start": { + "line": 347, + "column": 23 + }, + "end": { + "line": 347, + "column": 26 + } + } + } + ], + "range": [ + 10587, + 10606 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 27 + } + } + }, + "range": [ + 10587, + 10607 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 10617, + 10623 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li0", + "range": [ + 10624, + 10627 + ], + "loc": { + "start": { + "line": 349, + "column": 15 + }, + "end": { + "line": 349, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 10628, + 10633 + ], + "loc": { + "start": { + "line": 349, + "column": 19 + }, + "end": { + "line": 349, + "column": 24 + } + } + }, + "range": [ + 10624, + 10633 + ], + "loc": { + "start": { + "line": 349, + "column": 15 + }, + "end": { + "line": 349, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 10635, + 10642 + ], + "loc": { + "start": { + "line": 349, + "column": 26 + }, + "end": { + "line": 349, + "column": 33 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 10644, + 10647 + ], + "loc": { + "start": { + "line": 349, + "column": 35 + }, + "end": { + "line": 349, + "column": 38 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10651, + 10655 + ], + "loc": { + "start": { + "line": 349, + "column": 42 + }, + "end": { + "line": 349, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "optionClick", + "range": [ + 10656, + 10667 + ], + "loc": { + "start": { + "line": 349, + "column": 47 + }, + "end": { + "line": 349, + "column": 58 + } + } + }, + "range": [ + 10651, + 10667 + ], + "loc": { + "start": { + "line": 349, + "column": 42 + }, + "end": { + "line": 349, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 10668, + 10671 + ], + "loc": { + "start": { + "line": 349, + "column": 59 + }, + "end": { + "line": 349, + "column": 62 + } + } + } + ], + "range": [ + 10651, + 10672 + ], + "loc": { + "start": { + "line": 349, + "column": 42 + }, + "end": { + "line": 349, + "column": 63 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 10644, + 10672 + ], + "loc": { + "start": { + "line": 349, + "column": 35 + }, + "end": { + "line": 349, + "column": 63 + } + } + } + ], + "range": [ + 10617, + 10673 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 64 + } + } + }, + "range": [ + 10617, + 10674 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10689, + 10693 + ], + "loc": { + "start": { + "line": 351, + "column": 13 + }, + "end": { + "line": 351, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableResetOption", + "range": [ + 10694, + 10711 + ], + "loc": { + "start": { + "line": 351, + "column": 18 + }, + "end": { + "line": 351, + "column": 35 + } + } + }, + "range": [ + 10689, + 10711 + ], + "loc": { + "start": { + "line": 351, + "column": 13 + }, + "end": { + "line": 351, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 10688, + 10711 + ], + "loc": { + "start": { + "line": 351, + "column": 12 + }, + "end": { + "line": 351, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li0", + "range": [ + 10727, + 10730 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 10731, + 10736 + ], + "loc": { + "start": { + "line": 352, + "column": 16 + }, + "end": { + "line": 352, + "column": 21 + } + } + }, + "range": [ + 10727, + 10736 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 10737, + 10744 + ], + "loc": { + "start": { + "line": 352, + "column": 22 + }, + "end": { + "line": 352, + "column": 29 + } + } + }, + "range": [ + 10727, + 10744 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 10747, + 10751 + ], + "loc": { + "start": { + "line": 352, + "column": 32 + }, + "end": { + "line": 352, + "column": 36 + } + } + }, + "range": [ + 10727, + 10751 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 36 + } + } + }, + "range": [ + 10727, + 10752 + ], + "loc": { + "start": { + "line": 352, + "column": 12 + }, + "end": { + "line": 352, + "column": 37 + } + } + } + ], + "range": [ + 10713, + 10762 + ], + "loc": { + "start": { + "line": 351, + "column": 37 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10684, + 10762 + ], + "loc": { + "start": { + "line": 351, + "column": 8 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10776, + 10778 + ], + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableEmptyOption", + "range": [ + 10779, + 10796 + ], + "loc": { + "start": { + "line": 355, + "column": 15 + }, + "end": { + "line": 355, + "column": 32 + } + } + }, + "range": [ + 10776, + 10796 + ], + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li1", + "range": [ + 10816, + 10819 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 10822, + 10837 + ], + "loc": { + "start": { + "line": 356, + "column": 22 + }, + "end": { + "line": 356, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 10838, + 10841 + ], + "loc": { + "start": { + "line": 356, + "column": 38 + }, + "end": { + "line": 356, + "column": 41 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_1", + "cooked": "_1" + }, + "tail": true, + "range": [ + 10846, + 10850 + ], + "loc": { + "start": { + "line": 356, + "column": 46 + }, + "end": { + "line": 356, + "column": 50 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "fltId", + "range": [ + 10841, + 10846 + ], + "loc": { + "start": { + "line": 356, + "column": 41 + }, + "end": { + "line": 356, + "column": 46 + } + } + } + ], + "range": [ + 10838, + 10850 + ], + "loc": { + "start": { + "line": 356, + "column": 38 + }, + "end": { + "line": 356, + "column": 50 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10852, + 10854 + ], + "loc": { + "start": { + "line": 356, + "column": 52 + }, + "end": { + "line": 356, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "emOperator", + "range": [ + 10855, + 10865 + ], + "loc": { + "start": { + "line": 356, + "column": 55 + }, + "end": { + "line": 356, + "column": 65 + } + } + }, + "range": [ + 10852, + 10865 + ], + "loc": { + "start": { + "line": 356, + "column": 52 + }, + "end": { + "line": 356, + "column": 65 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10883, + 10885 + ], + "loc": { + "start": { + "line": 357, + "column": 16 + }, + "end": { + "line": 357, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "emptyText", + "range": [ + 10886, + 10895 + ], + "loc": { + "start": { + "line": 357, + "column": 19 + }, + "end": { + "line": 357, + "column": 28 + } + } + }, + "range": [ + 10883, + 10895 + ], + "loc": { + "start": { + "line": 357, + "column": 16 + }, + "end": { + "line": 357, + "column": 28 + } + } + } + ], + "range": [ + 10822, + 10896 + ], + "loc": { + "start": { + "line": 356, + "column": 22 + }, + "end": { + "line": 357, + "column": 29 + } + } + }, + "range": [ + 10816, + 10896 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 357, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 10812, + 10897 + ], + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 357, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li1", + "range": [ + 10910, + 10913 + ], + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10914, + 10923 + ], + "loc": { + "start": { + "line": 358, + "column": 16 + }, + "end": { + "line": 358, + "column": 25 + } + } + }, + "range": [ + 10910, + 10923 + ], + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10926, + 10930 + ], + "loc": { + "start": { + "line": 358, + "column": 28 + }, + "end": { + "line": 358, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "itemCssClass", + "range": [ + 10931, + 10943 + ], + "loc": { + "start": { + "line": 358, + "column": 33 + }, + "end": { + "line": 358, + "column": 45 + } + } + }, + "range": [ + 10926, + 10943 + ], + "loc": { + "start": { + "line": 358, + "column": 28 + }, + "end": { + "line": 358, + "column": 45 + } + } + }, + "range": [ + 10910, + 10943 + ], + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 45 + } + } + }, + "range": [ + 10910, + 10944 + ], + "loc": { + "start": { + "line": 358, + "column": 12 + }, + "end": { + "line": 358, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 10957, + 10959 + ], + "loc": { + "start": { + "line": 359, + "column": 12 + }, + "end": { + "line": 359, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 10960, + 10971 + ], + "loc": { + "start": { + "line": 359, + "column": 15 + }, + "end": { + "line": 359, + "column": 26 + } + } + }, + "range": [ + 10957, + 10971 + ], + "loc": { + "start": { + "line": 359, + "column": 12 + }, + "end": { + "line": 359, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li1", + "range": [ + 10972, + 10975 + ], + "loc": { + "start": { + "line": 359, + "column": 27 + }, + "end": { + "line": 359, + "column": 30 + } + } + } + ], + "range": [ + 10957, + 10976 + ], + "loc": { + "start": { + "line": 359, + "column": 12 + }, + "end": { + "line": 359, + "column": 31 + } + } + }, + "range": [ + 10957, + 10977 + ], + "loc": { + "start": { + "line": 359, + "column": 12 + }, + "end": { + "line": 359, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 10990, + 10996 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li1", + "range": [ + 10997, + 11000 + ], + "loc": { + "start": { + "line": 360, + "column": 19 + }, + "end": { + "line": 360, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 11001, + 11006 + ], + "loc": { + "start": { + "line": 360, + "column": 23 + }, + "end": { + "line": 360, + "column": 28 + } + } + }, + "range": [ + 10997, + 11006 + ], + "loc": { + "start": { + "line": 360, + "column": 19 + }, + "end": { + "line": 360, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11008, + 11015 + ], + "loc": { + "start": { + "line": 360, + "column": 30 + }, + "end": { + "line": 360, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11017, + 11020 + ], + "loc": { + "start": { + "line": 360, + "column": 39 + }, + "end": { + "line": 360, + "column": 42 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11024, + 11028 + ], + "loc": { + "start": { + "line": 360, + "column": 46 + }, + "end": { + "line": 360, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "optionClick", + "range": [ + 11029, + 11040 + ], + "loc": { + "start": { + "line": 360, + "column": 51 + }, + "end": { + "line": 360, + "column": 62 + } + } + }, + "range": [ + 11024, + 11040 + ], + "loc": { + "start": { + "line": 360, + "column": 46 + }, + "end": { + "line": 360, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11041, + 11044 + ], + "loc": { + "start": { + "line": 360, + "column": 63 + }, + "end": { + "line": 360, + "column": 66 + } + } + } + ], + "range": [ + 11024, + 11045 + ], + "loc": { + "start": { + "line": 360, + "column": 46 + }, + "end": { + "line": 360, + "column": 67 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11017, + 11045 + ], + "loc": { + "start": { + "line": 360, + "column": 39 + }, + "end": { + "line": 360, + "column": 67 + } + } + } + ], + "range": [ + 10990, + 11046 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 68 + } + } + }, + "range": [ + 10990, + 11047 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 360, + "column": 69 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 11060, + 11065 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 17 + } + } + }, + "prefix": false, + "range": [ + 11060, + 11067 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 19 + } + } + }, + "range": [ + 11060, + 11068 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 20 + } + } + } + ], + "range": [ + 10798, + 11078 + ], + "loc": { + "start": { + "line": 355, + "column": 34 + }, + "end": { + "line": 362, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10772, + 11078 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 362, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11092, + 11094 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableNonEmptyOption", + "range": [ + 11095, + 11115 + ], + "loc": { + "start": { + "line": 364, + "column": 15 + }, + "end": { + "line": 364, + "column": 35 + } + } + }, + "range": [ + 11092, + 11115 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li2", + "range": [ + 11135, + 11138 + ], + "loc": { + "start": { + "line": 365, + "column": 16 + }, + "end": { + "line": 365, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createCheckItem", + "range": [ + 11141, + 11156 + ], + "loc": { + "start": { + "line": 365, + "column": 22 + }, + "end": { + "line": 365, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 11157, + 11160 + ], + "loc": { + "start": { + "line": 365, + "column": 38 + }, + "end": { + "line": 365, + "column": 41 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_2", + "cooked": "_2" + }, + "tail": true, + "range": [ + 11165, + 11169 + ], + "loc": { + "start": { + "line": 365, + "column": 46 + }, + "end": { + "line": 365, + "column": 50 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "fltId", + "range": [ + 11160, + 11165 + ], + "loc": { + "start": { + "line": 365, + "column": 41 + }, + "end": { + "line": 365, + "column": 46 + } + } + } + ], + "range": [ + 11157, + 11169 + ], + "loc": { + "start": { + "line": 365, + "column": 38 + }, + "end": { + "line": 365, + "column": 50 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11171, + 11173 + ], + "loc": { + "start": { + "line": 365, + "column": 52 + }, + "end": { + "line": 365, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "nmOperator", + "range": [ + 11174, + 11184 + ], + "loc": { + "start": { + "line": 365, + "column": 55 + }, + "end": { + "line": 365, + "column": 65 + } + } + }, + "range": [ + 11171, + 11184 + ], + "loc": { + "start": { + "line": 365, + "column": 52 + }, + "end": { + "line": 365, + "column": 65 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11202, + 11204 + ], + "loc": { + "start": { + "line": 366, + "column": 16 + }, + "end": { + "line": 366, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonEmptyText", + "range": [ + 11205, + 11217 + ], + "loc": { + "start": { + "line": 366, + "column": 19 + }, + "end": { + "line": 366, + "column": 31 + } + } + }, + "range": [ + 11202, + 11217 + ], + "loc": { + "start": { + "line": 366, + "column": 16 + }, + "end": { + "line": 366, + "column": 31 + } + } + } + ], + "range": [ + 11141, + 11218 + ], + "loc": { + "start": { + "line": 365, + "column": 22 + }, + "end": { + "line": 366, + "column": 32 + } + } + }, + "range": [ + 11135, + 11218 + ], + "loc": { + "start": { + "line": 365, + "column": 16 + }, + "end": { + "line": 366, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 11131, + 11219 + ], + "loc": { + "start": { + "line": 365, + "column": 12 + }, + "end": { + "line": 366, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li2", + "range": [ + 11232, + 11235 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 11236, + 11245 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 25 + } + } + }, + "range": [ + 11232, + 11245 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11248, + 11252 + ], + "loc": { + "start": { + "line": 367, + "column": 28 + }, + "end": { + "line": 367, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "itemCssClass", + "range": [ + 11253, + 11265 + ], + "loc": { + "start": { + "line": 367, + "column": 33 + }, + "end": { + "line": 367, + "column": 45 + } + } + }, + "range": [ + 11248, + 11265 + ], + "loc": { + "start": { + "line": 367, + "column": 28 + }, + "end": { + "line": 367, + "column": 45 + } + } + }, + "range": [ + 11232, + 11265 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 45 + } + } + }, + "range": [ + 11232, + 11266 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ul", + "range": [ + 11279, + 11281 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11282, + 11293 + ], + "loc": { + "start": { + "line": 368, + "column": 15 + }, + "end": { + "line": 368, + "column": 26 + } + } + }, + "range": [ + 11279, + 11293 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li2", + "range": [ + 11294, + 11297 + ], + "loc": { + "start": { + "line": 368, + "column": 27 + }, + "end": { + "line": 368, + "column": 30 + } + } + } + ], + "range": [ + 11279, + 11298 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 31 + } + } + }, + "range": [ + 11279, + 11299 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11312, + 11318 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li2", + "range": [ + 11319, + 11322 + ], + "loc": { + "start": { + "line": 369, + "column": 19 + }, + "end": { + "line": 369, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "check", + "range": [ + 11323, + 11328 + ], + "loc": { + "start": { + "line": 369, + "column": 23 + }, + "end": { + "line": 369, + "column": 28 + } + } + }, + "range": [ + 11319, + 11328 + ], + "loc": { + "start": { + "line": 369, + "column": 19 + }, + "end": { + "line": 369, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11330, + 11337 + ], + "loc": { + "start": { + "line": 369, + "column": 30 + }, + "end": { + "line": 369, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11339, + 11342 + ], + "loc": { + "start": { + "line": 369, + "column": 39 + }, + "end": { + "line": 369, + "column": 42 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11346, + 11350 + ], + "loc": { + "start": { + "line": 369, + "column": 46 + }, + "end": { + "line": 369, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "optionClick", + "range": [ + 11351, + 11362 + ], + "loc": { + "start": { + "line": 369, + "column": 51 + }, + "end": { + "line": 369, + "column": 62 + } + } + }, + "range": [ + 11346, + 11362 + ], + "loc": { + "start": { + "line": 369, + "column": 46 + }, + "end": { + "line": 369, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 11363, + 11366 + ], + "loc": { + "start": { + "line": 369, + "column": 63 + }, + "end": { + "line": 369, + "column": 66 + } + } + } + ], + "range": [ + 11346, + 11367 + ], + "loc": { + "start": { + "line": 369, + "column": 46 + }, + "end": { + "line": 369, + "column": 67 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11339, + 11367 + ], + "loc": { + "start": { + "line": 369, + "column": 39 + }, + "end": { + "line": 369, + "column": 67 + } + } + } + ], + "range": [ + 11312, + 11368 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 68 + } + } + }, + "range": [ + 11312, + 11369 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 69 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 11382, + 11387 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 17 + } + } + }, + "prefix": false, + "range": [ + 11382, + 11389 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 19 + } + } + }, + "range": [ + 11382, + 11390 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 20 + } + } + } + ], + "range": [ + 11117, + 11400 + ], + "loc": { + "start": { + "line": 364, + "column": 37 + }, + "end": { + "line": 371, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11088, + 11400 + ], + "loc": { + "start": { + "line": 364, + "column": 8 + }, + "end": { + "line": 371, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "chkCt", + "range": [ + 11416, + 11421 + ], + "loc": { + "start": { + "line": 372, + "column": 15 + }, + "end": { + "line": 372, + "column": 20 + } + } + }, + "range": [ + 11409, + 11422 + ], + "loc": { + "start": { + "line": 372, + "column": 8 + }, + "end": { + "line": 372, + "column": 21 + } + } + } + ], + "range": [ + 10346, + 11428 + ], + "loc": { + "start": { + "line": 340, + "column": 29 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10331, + 11428 + ], + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 373, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10321, + 11428 + ], + "loc": { + "start": { + "line": 340, + "column": 4 + }, + "end": { + "line": 373, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 10166, + 10316 + ], + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n * @private\n ", + "range": [ + 11434, + 11569 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 379, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setCheckListValues", + "range": [ + 11574, + 11592 + ], + "loc": { + "start": { + "line": 380, + "column": 4 + }, + "end": { + "line": 380, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "o", + "range": [ + 11593, + 11594 + ], + "loc": { + "start": { + "line": 380, + "column": 23 + }, + "end": { + "line": 380, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "o", + "range": [ + 11611, + 11612 + ], + "loc": { + "start": { + "line": 381, + "column": 13 + }, + "end": { + "line": 381, + "column": 14 + } + } + }, + "prefix": true, + "range": [ + 11610, + 11612 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 14 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 11628, + 11635 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 19 + } + } + } + ], + "range": [ + 11614, + 11645 + ], + "loc": { + "start": { + "line": 381, + "column": 16 + }, + "end": { + "line": 383, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11606, + 11645 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 383, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 11659, + 11661 + ], + "loc": { + "start": { + "line": 385, + "column": 12 + }, + "end": { + "line": 385, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11664, + 11668 + ], + "loc": { + "start": { + "line": 385, + "column": 17 + }, + "end": { + "line": 385, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11669, + 11671 + ], + "loc": { + "start": { + "line": 385, + "column": 22 + }, + "end": { + "line": 385, + "column": 24 + } + } + }, + "range": [ + 11664, + 11671 + ], + "loc": { + "start": { + "line": 385, + "column": 17 + }, + "end": { + "line": 385, + "column": 24 + } + } + }, + "range": [ + 11659, + 11671 + ], + "loc": { + "start": { + "line": 385, + "column": 12 + }, + "end": { + "line": 385, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 11655, + 11672 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 11685, + 11693 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 11696, + 11697 + ], + "loc": { + "start": { + "line": 386, + "column": 23 + }, + "end": { + "line": 386, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 11698, + 11703 + ], + "loc": { + "start": { + "line": 386, + "column": 25 + }, + "end": { + "line": 386, + "column": 30 + } + } + }, + "range": [ + 11696, + 11703 + ], + "loc": { + "start": { + "line": 386, + "column": 23 + }, + "end": { + "line": 386, + "column": 30 + } + } + }, + "range": [ + 11685, + 11703 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 11681, + 11704 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "checked item value", + "range": [ + 11705, + 11725 + ], + "loc": { + "start": { + "line": 386, + "column": 32 + }, + "end": { + "line": 386, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " TODO: provide helper to extract column index, ugly!", + "range": [ + 11734, + 11788 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 62 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 11801, + 11809 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11812, + 11820 + ], + "loc": { + "start": { + "line": 388, + "column": 23 + }, + "end": { + "line": 388, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 11821, + 11822 + ], + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 11823, + 11825 + ], + "loc": { + "start": { + "line": 388, + "column": 34 + }, + "end": { + "line": 388, + "column": 36 + } + } + }, + "range": [ + 11821, + 11825 + ], + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 11826, + 11831 + ], + "loc": { + "start": { + "line": 388, + "column": 37 + }, + "end": { + "line": 388, + "column": 42 + } + } + }, + "range": [ + 11821, + 11831 + ], + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 11832, + 11835 + ], + "loc": { + "start": { + "line": 388, + "column": 43 + }, + "end": { + "line": 388, + "column": 46 + } + } + } + ], + "range": [ + 11821, + 11836 + ], + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 47 + } + } + }, + "property": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 11837, + 11838 + ], + "loc": { + "start": { + "line": 388, + "column": 48 + }, + "end": { + "line": 388, + "column": 49 + } + } + }, + "range": [ + 11821, + 11839 + ], + "loc": { + "start": { + "line": 388, + "column": 32 + }, + "end": { + "line": 388, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 11841, + 11843 + ], + "loc": { + "start": { + "line": 388, + "column": 52 + }, + "end": { + "line": 388, + "column": 54 + } + } + } + ], + "range": [ + 11812, + 11844 + ], + "loc": { + "start": { + "line": 388, + "column": 23 + }, + "end": { + "line": 388, + "column": 55 + } + } + }, + "range": [ + 11801, + 11844 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 11797, + 11845 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "checked item value", + "range": [ + 11705, + 11725 + ], + "loc": { + "start": { + "line": 386, + "column": 32 + }, + "end": { + "line": 386, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " TODO: provide helper to extract column index, ugly!", + "range": [ + 11734, + 11788 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 62 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 11858, + 11864 + ], + "loc": { + "start": { + "line": 389, + "column": 12 + }, + "end": { + "line": 389, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11867, + 11869 + ], + "loc": { + "start": { + "line": 389, + "column": 21 + }, + "end": { + "line": 389, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 11870, + 11896 + ], + "loc": { + "start": { + "line": 389, + "column": 24 + }, + "end": { + "line": 389, + "column": 50 + } + } + }, + "range": [ + 11867, + 11896 + ], + "loc": { + "start": { + "line": 389, + "column": 21 + }, + "end": { + "line": 389, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 11897, + 11898 + ], + "loc": { + "start": { + "line": 389, + "column": 51 + }, + "end": { + "line": 389, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 11899, + 11901 + ], + "loc": { + "start": { + "line": 389, + "column": 53 + }, + "end": { + "line": 389, + "column": 55 + } + } + }, + "range": [ + 11897, + 11901 + ], + "loc": { + "start": { + "line": 389, + "column": 51 + }, + "end": { + "line": 389, + "column": 55 + } + } + } + ], + "range": [ + 11867, + 11902 + ], + "loc": { + "start": { + "line": 389, + "column": 21 + }, + "end": { + "line": 389, + "column": 56 + } + } + }, + "range": [ + 11858, + 11902 + ], + "loc": { + "start": { + "line": 389, + "column": 12 + }, + "end": { + "line": 389, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 11854, + 11903 + ], + "loc": { + "start": { + "line": 389, + "column": 8 + }, + "end": { + "line": 389, + "column": 57 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "itemTag", + "range": [ + 11916, + 11923 + ], + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 390, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": "LI", + "raw": "'LI'", + "range": [ + 11926, + 11930 + ], + "loc": { + "start": { + "line": 390, + "column": 22 + }, + "end": { + "line": 390, + "column": 26 + } + } + }, + "range": [ + 11916, + 11930 + ], + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 390, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 11912, + 11931 + ], + "loc": { + "start": { + "line": 390, + "column": 8 + }, + "end": { + "line": 390, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 11945, + 11946 + ], + "loc": { + "start": { + "line": 392, + "column": 12 + }, + "end": { + "line": 392, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11949, + 11951 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 11952, + 11968 + ], + "loc": { + "start": { + "line": 392, + "column": 19 + }, + "end": { + "line": 392, + "column": 35 + } + } + }, + "range": [ + 11949, + 11968 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11969, + 11977 + ], + "loc": { + "start": { + "line": 392, + "column": 36 + }, + "end": { + "line": 392, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 11978, + 11984 + ], + "loc": { + "start": { + "line": 392, + "column": 45 + }, + "end": { + "line": 392, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 11986, + 11988 + ], + "loc": { + "start": { + "line": 392, + "column": 53 + }, + "end": { + "line": 392, + "column": 55 + } + } + } + ], + "range": [ + 11969, + 11989 + ], + "loc": { + "start": { + "line": 392, + "column": 36 + }, + "end": { + "line": 392, + "column": 56 + } + } + } + ], + "range": [ + 11949, + 11990 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 57 + } + } + }, + "range": [ + 11945, + 11990 + ], + "loc": { + "start": { + "line": 392, + "column": 12 + }, + "end": { + "line": 392, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 11941, + 11991 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 58 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 12004, + 12006 + ], + "loc": { + "start": { + "line": 393, + "column": 12 + }, + "end": { + "line": 393, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 12009, + 12010 + ], + "loc": { + "start": { + "line": 393, + "column": 17 + }, + "end": { + "line": 393, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 12011, + 12021 + ], + "loc": { + "start": { + "line": 393, + "column": 19 + }, + "end": { + "line": 393, + "column": 29 + } + } + }, + "range": [ + 12009, + 12021 + ], + "loc": { + "start": { + "line": 393, + "column": 17 + }, + "end": { + "line": 393, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 12022, + 12030 + ], + "loc": { + "start": { + "line": 393, + "column": 30 + }, + "end": { + "line": 393, + "column": 38 + } + } + }, + "range": [ + 12009, + 12031 + ], + "loc": { + "start": { + "line": 393, + "column": 17 + }, + "end": { + "line": 393, + "column": 39 + } + } + }, + "range": [ + 12004, + 12031 + ], + "loc": { + "start": { + "line": 393, + "column": 12 + }, + "end": { + "line": 393, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 12000, + 12032 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 393, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 12045, + 12053 + ], + "loc": { + "start": { + "line": 394, + "column": 12 + }, + "end": { + "line": 394, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 12056, + 12057 + ], + "loc": { + "start": { + "line": 394, + "column": 23 + }, + "end": { + "line": 394, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 12058, + 12070 + ], + "loc": { + "start": { + "line": 394, + "column": 25 + }, + "end": { + "line": 394, + "column": 37 + } + } + }, + "range": [ + 12056, + 12070 + ], + "loc": { + "start": { + "line": 394, + "column": 23 + }, + "end": { + "line": 394, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colIndex", + "raw": "'colIndex'", + "range": [ + 12071, + 12081 + ], + "loc": { + "start": { + "line": 394, + "column": 38 + }, + "end": { + "line": 394, + "column": 48 + } + } + } + ], + "range": [ + 12056, + 12082 + ], + "loc": { + "start": { + "line": 394, + "column": 23 + }, + "end": { + "line": 394, + "column": 49 + } + } + }, + "range": [ + 12045, + 12082 + ], + "loc": { + "start": { + "line": 394, + "column": 12 + }, + "end": { + "line": 394, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 12041, + 12083 + ], + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 394, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 12096, + 12104 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 12107, + 12108 + ], + "loc": { + "start": { + "line": 395, + "column": 23 + }, + "end": { + "line": 395, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 12109, + 12121 + ], + "loc": { + "start": { + "line": 395, + "column": 25 + }, + "end": { + "line": 395, + "column": 37 + } + } + }, + "range": [ + 12107, + 12121 + ], + "loc": { + "start": { + "line": 395, + "column": 23 + }, + "end": { + "line": 395, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 12122, + 12129 + ], + "loc": { + "start": { + "line": 395, + "column": 38 + }, + "end": { + "line": 395, + "column": 45 + } + } + } + ], + "range": [ + 12107, + 12130 + ], + "loc": { + "start": { + "line": 395, + "column": 23 + }, + "end": { + "line": 395, + "column": 46 + } + } + }, + "range": [ + 12096, + 12130 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 12092, + 12131 + ], + "loc": { + "start": { + "line": 395, + "column": 8 + }, + "end": { + "line": 395, + "column": 47 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "filter value (ul tag)", + "range": [ + 12132, + 12155 + ], + "loc": { + "start": { + "line": 395, + "column": 48 + }, + "end": { + "line": 395, + "column": 71 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 12168, + 12178 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 12181, + 12182 + ], + "loc": { + "start": { + "line": 396, + "column": 25 + }, + "end": { + "line": 396, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 12183, + 12195 + ], + "loc": { + "start": { + "line": 396, + "column": 27 + }, + "end": { + "line": 396, + "column": 39 + } + } + }, + "range": [ + 12181, + 12195 + ], + "loc": { + "start": { + "line": 396, + "column": 25 + }, + "end": { + "line": 396, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "indexes", + "raw": "'indexes'", + "range": [ + 12196, + 12205 + ], + "loc": { + "start": { + "line": 396, + "column": 40 + }, + "end": { + "line": 396, + "column": 49 + } + } + } + ], + "range": [ + 12181, + 12206 + ], + "loc": { + "start": { + "line": 396, + "column": 25 + }, + "end": { + "line": 396, + "column": 50 + } + } + }, + "range": [ + 12168, + 12206 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 12164, + 12207 + ], + "loc": { + "start": { + "line": 396, + "column": 8 + }, + "end": { + "line": 396, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filter value (ul tag)", + "range": [ + 12132, + 12155 + ], + "loc": { + "start": { + "line": 395, + "column": 48 + }, + "end": { + "line": 395, + "column": 71 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "selected items (ul tag)", + "range": [ + 12208, + 12233 + ], + "loc": { + "start": { + "line": 396, + "column": 52 + }, + "end": { + "line": 396, + "column": 77 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 12247, + 12248 + ], + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 12249, + 12256 + ], + "loc": { + "start": { + "line": 398, + "column": 14 + }, + "end": { + "line": 398, + "column": 21 + } + } + }, + "range": [ + 12247, + 12256 + ], + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 12304, + 12312 + ], + "loc": { + "start": { + "line": 400, + "column": 16 + }, + "end": { + "line": 400, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12317, + 12319 + ], + "loc": { + "start": { + "line": 400, + "column": 29 + }, + "end": { + "line": 400, + "column": 31 + } + } + }, + "range": [ + 12304, + 12319 + ], + "loc": { + "start": { + "line": 400, + "column": 16 + }, + "end": { + "line": 400, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 12344, + 12354 + ], + "loc": { + "start": { + "line": 401, + "column": 21 + }, + "end": { + "line": 401, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 12358, + 12368 + ], + "loc": { + "start": { + "line": 401, + "column": 35 + }, + "end": { + "line": 401, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12373, + 12375 + ], + "loc": { + "start": { + "line": 401, + "column": 50 + }, + "end": { + "line": 401, + "column": 52 + } + } + }, + "range": [ + 12358, + 12375 + ], + "loc": { + "start": { + "line": 401, + "column": 35 + }, + "end": { + "line": 401, + "column": 52 + } + } + }, + "range": [ + 12344, + 12375 + ], + "loc": { + "start": { + "line": 401, + "column": 21 + }, + "end": { + "line": 401, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "indSplit", + "range": [ + 12440, + 12448 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 32 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 12451, + 12461 + ], + "loc": { + "start": { + "line": 403, + "column": 35 + }, + "end": { + "line": 403, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 12462, + 12467 + ], + "loc": { + "start": { + "line": 403, + "column": 46 + }, + "end": { + "line": 403, + "column": 51 + } + } + }, + "range": [ + 12451, + 12467 + ], + "loc": { + "start": { + "line": 403, + "column": 35 + }, + "end": { + "line": 403, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12468, + 12470 + ], + "loc": { + "start": { + "line": 403, + "column": 52 + }, + "end": { + "line": 403, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 12471, + 12480 + ], + "loc": { + "start": { + "line": 403, + "column": 55 + }, + "end": { + "line": 403, + "column": 64 + } + } + }, + "range": [ + 12468, + 12480 + ], + "loc": { + "start": { + "line": 403, + "column": 52 + }, + "end": { + "line": 403, + "column": 64 + } + } + } + ], + "range": [ + 12451, + 12481 + ], + "loc": { + "start": { + "line": 403, + "column": 35 + }, + "end": { + "line": 403, + "column": 65 + } + } + }, + "range": [ + 12440, + 12481 + ], + "loc": { + "start": { + "line": 403, + "column": 24 + }, + "end": { + "line": 403, + "column": 65 + } + } + } + ], + "kind": "let", + "range": [ + 12436, + 12482 + ], + "loc": { + "start": { + "line": 403, + "column": 20 + }, + "end": { + "line": 403, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "items indexes", + "range": [ + 12400, + 12415 + ], + "loc": { + "start": { + "line": 402, + "column": 20 + }, + "end": { + "line": 402, + "column": 35 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "checked items loop", + "range": [ + 12503, + 12523 + ], + "loc": { + "start": { + "line": 404, + "column": 20 + }, + "end": { + "line": 404, + "column": 40 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "u", + "range": [ + 12553, + 12554 + ], + "loc": { + "start": { + "line": 405, + "column": 29 + }, + "end": { + "line": 405, + "column": 30 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12557, + 12558 + ], + "loc": { + "start": { + "line": 405, + "column": 33 + }, + "end": { + "line": 405, + "column": 34 + } + } + }, + "range": [ + 12553, + 12558 + ], + "loc": { + "start": { + "line": 405, + "column": 29 + }, + "end": { + "line": 405, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 12549, + 12558 + ], + "loc": { + "start": { + "line": 405, + "column": 25 + }, + "end": { + "line": 405, + "column": 34 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "u", + "range": [ + 12560, + 12561 + ], + "loc": { + "start": { + "line": 405, + "column": 36 + }, + "end": { + "line": 405, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "indSplit", + "range": [ + 12564, + 12572 + ], + "loc": { + "start": { + "line": 405, + "column": 40 + }, + "end": { + "line": 405, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 12573, + 12579 + ], + "loc": { + "start": { + "line": 405, + "column": 49 + }, + "end": { + "line": 405, + "column": 55 + } + } + }, + "range": [ + 12564, + 12579 + ], + "loc": { + "start": { + "line": 405, + "column": 40 + }, + "end": { + "line": 405, + "column": 55 + } + } + }, + "range": [ + 12560, + 12579 + ], + "loc": { + "start": { + "line": 405, + "column": 36 + }, + "end": { + "line": 405, + "column": 55 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "u", + "range": [ + 12581, + 12582 + ], + "loc": { + "start": { + "line": 405, + "column": 57 + }, + "end": { + "line": 405, + "column": 58 + } + } + }, + "prefix": false, + "range": [ + 12581, + 12584 + ], + "loc": { + "start": { + "line": 405, + "column": 57 + }, + "end": { + "line": 405, + "column": 60 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cChk", + "range": [ + 12655, + 12659 + ], + "loc": { + "start": { + "line": 407, + "column": 28 + }, + "end": { + "line": 407, + "column": 32 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 12662, + 12665 + ], + "loc": { + "start": { + "line": 407, + "column": 35 + }, + "end": { + "line": 407, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12666, + 12668 + ], + "loc": { + "start": { + "line": 407, + "column": 39 + }, + "end": { + "line": 407, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 12669, + 12675 + ], + "loc": { + "start": { + "line": 407, + "column": 42 + }, + "end": { + "line": 407, + "column": 48 + } + } + }, + "range": [ + 12666, + 12675 + ], + "loc": { + "start": { + "line": 407, + "column": 39 + }, + "end": { + "line": 407, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 12676, + 12684 + ], + "loc": { + "start": { + "line": 407, + "column": 49 + }, + "end": { + "line": 407, + "column": 57 + } + } + }, + "range": [ + 12666, + 12685 + ], + "loc": { + "start": { + "line": 407, + "column": 39 + }, + "end": { + "line": 407, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 12688, + 12691 + ], + "loc": { + "start": { + "line": 407, + "column": 61 + }, + "end": { + "line": 407, + "column": 64 + } + } + }, + "range": [ + 12666, + 12691 + ], + "loc": { + "start": { + "line": 407, + "column": 39 + }, + "end": { + "line": 407, + "column": 64 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "indSplit", + "range": [ + 12722, + 12730 + ], + "loc": { + "start": { + "line": 408, + "column": 28 + }, + "end": { + "line": 408, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 12731, + 12732 + ], + "loc": { + "start": { + "line": 408, + "column": 37 + }, + "end": { + "line": 408, + "column": 38 + } + } + }, + "range": [ + 12722, + 12733 + ], + "loc": { + "start": { + "line": 408, + "column": 28 + }, + "end": { + "line": 408, + "column": 39 + } + } + }, + "range": [ + 12666, + 12733 + ], + "loc": { + "start": { + "line": 407, + "column": 39 + }, + "end": { + "line": 408, + "column": 39 + } + } + } + ], + "range": [ + 12662, + 12734 + ], + "loc": { + "start": { + "line": 407, + "column": 35 + }, + "end": { + "line": 408, + "column": 40 + } + } + }, + "range": [ + 12655, + 12734 + ], + "loc": { + "start": { + "line": 407, + "column": 28 + }, + "end": { + "line": 408, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 12651, + 12735 + ], + "loc": { + "start": { + "line": 407, + "column": 24 + }, + "end": { + "line": 408, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "checked item", + "range": [ + 12612, + 12626 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 38 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "cChk", + "range": [ + 12764, + 12768 + ], + "loc": { + "start": { + "line": 409, + "column": 28 + }, + "end": { + "line": 409, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cChk", + "range": [ + 12800, + 12804 + ], + "loc": { + "start": { + "line": 410, + "column": 28 + }, + "end": { + "line": 410, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 12805, + 12812 + ], + "loc": { + "start": { + "line": 410, + "column": 33 + }, + "end": { + "line": 410, + "column": 40 + } + } + }, + "range": [ + 12800, + 12812 + ], + "loc": { + "start": { + "line": 410, + "column": 28 + }, + "end": { + "line": 410, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 12815, + 12820 + ], + "loc": { + "start": { + "line": 410, + "column": 43 + }, + "end": { + "line": 410, + "column": 48 + } + } + }, + "range": [ + 12800, + 12820 + ], + "loc": { + "start": { + "line": 410, + "column": 28 + }, + "end": { + "line": 410, + "column": 48 + } + } + }, + "range": [ + 12800, + 12821 + ], + "loc": { + "start": { + "line": 410, + "column": 28 + }, + "end": { + "line": 410, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 12850, + 12861 + ], + "loc": { + "start": { + "line": 411, + "column": 28 + }, + "end": { + "line": 411, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 12862, + 12863 + ], + "loc": { + "start": { + "line": 411, + "column": 40 + }, + "end": { + "line": 411, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 12864, + 12874 + ], + "loc": { + "start": { + "line": 411, + "column": 42 + }, + "end": { + "line": 411, + "column": 52 + } + } + }, + "range": [ + 12862, + 12874 + ], + "loc": { + "start": { + "line": 411, + "column": 40 + }, + "end": { + "line": 411, + "column": 52 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "indSplit", + "range": [ + 12875, + 12883 + ], + "loc": { + "start": { + "line": 411, + "column": 53 + }, + "end": { + "line": 411, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "u", + "range": [ + 12884, + 12885 + ], + "loc": { + "start": { + "line": 411, + "column": 62 + }, + "end": { + "line": 411, + "column": 63 + } + } + }, + "range": [ + 12875, + 12886 + ], + "loc": { + "start": { + "line": 411, + "column": 53 + }, + "end": { + "line": 411, + "column": 64 + } + } + }, + "range": [ + 12862, + 12887 + ], + "loc": { + "start": { + "line": 411, + "column": 40 + }, + "end": { + "line": 411, + "column": 65 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12921, + 12925 + ], + "loc": { + "start": { + "line": 412, + "column": 32 + }, + "end": { + "line": 412, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedItemCssClass", + "range": [ + 12926, + 12946 + ], + "loc": { + "start": { + "line": 412, + "column": 37 + }, + "end": { + "line": 412, + "column": 57 + } + } + }, + "range": [ + 12921, + 12946 + ], + "loc": { + "start": { + "line": 412, + "column": 32 + }, + "end": { + "line": 412, + "column": 57 + } + } + } + ], + "range": [ + 12850, + 12947 + ], + "loc": { + "start": { + "line": 411, + "column": 28 + }, + "end": { + "line": 412, + "column": 58 + } + } + }, + "range": [ + 12850, + 12948 + ], + "loc": { + "start": { + "line": 411, + "column": 28 + }, + "end": { + "line": 412, + "column": 59 + } + } + } + ], + "range": [ + 12770, + 12974 + ], + "loc": { + "start": { + "line": 409, + "column": 34 + }, + "end": { + "line": 413, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 12760, + 12974 + ], + "loc": { + "start": { + "line": 409, + "column": 24 + }, + "end": { + "line": 413, + "column": 25 + } + } + } + ], + "range": [ + 12586, + 12996 + ], + "loc": { + "start": { + "line": 405, + "column": 62 + }, + "end": { + "line": 414, + "column": 21 + } + } + }, + "range": [ + 12544, + 12996 + ], + "loc": { + "start": { + "line": 405, + "column": 20 + }, + "end": { + "line": 414, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "checked items loop", + "range": [ + 12503, + 12523 + ], + "loc": { + "start": { + "line": 404, + "column": 20 + }, + "end": { + "line": 404, + "column": 40 + } + } + } + ] + } + ], + "range": [ + 12378, + 13014 + ], + "loc": { + "start": { + "line": 401, + "column": 55 + }, + "end": { + "line": 415, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 12339, + 13014 + ], + "loc": { + "start": { + "line": 401, + "column": 16 + }, + "end": { + "line": 415, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 13031, + 13032 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13033, + 13045 + ], + "loc": { + "start": { + "line": 416, + "column": 18 + }, + "end": { + "line": 416, + "column": 30 + } + } + }, + "range": [ + 13031, + 13045 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 13046, + 13053 + ], + "loc": { + "start": { + "line": 416, + "column": 31 + }, + "end": { + "line": 416, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13055, + 13057 + ], + "loc": { + "start": { + "line": 416, + "column": 40 + }, + "end": { + "line": 416, + "column": 42 + } + } + } + ], + "range": [ + 13031, + 13058 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 43 + } + } + }, + "range": [ + 13031, + 13059 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 13076, + 13077 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13078, + 13090 + ], + "loc": { + "start": { + "line": 417, + "column": 18 + }, + "end": { + "line": 417, + "column": 30 + } + } + }, + "range": [ + 13076, + 13090 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "indexes", + "raw": "'indexes'", + "range": [ + 13091, + 13100 + ], + "loc": { + "start": { + "line": 417, + "column": 31 + }, + "end": { + "line": 417, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13102, + 13104 + ], + "loc": { + "start": { + "line": 417, + "column": 42 + }, + "end": { + "line": 417, + "column": 44 + } + } + } + ], + "range": [ + 13076, + 13105 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 45 + } + } + }, + "range": [ + 13076, + 13106 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 46 + } + } + } + ], + "range": [ + 12321, + 13121 + ], + "loc": { + "start": { + "line": 400, + "column": 33 + }, + "end": { + "line": 419, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 13145, + 13153 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 24 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 13157, + 13165 + ], + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 420, + "column": 36 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 13169, + 13177 + ], + "loc": { + "start": { + "line": 420, + "column": 40 + }, + "end": { + "line": 420, + "column": 48 + } + } + }, + "alternate": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13180, + 13182 + ], + "loc": { + "start": { + "line": 420, + "column": 51 + }, + "end": { + "line": 420, + "column": 53 + } + } + }, + "range": [ + 13156, + 13182 + ], + "loc": { + "start": { + "line": 420, + "column": 27 + }, + "end": { + "line": 420, + "column": 53 + } + } + }, + "range": [ + 13145, + 13182 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 53 + } + } + }, + "range": [ + 13145, + 13183 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 13200, + 13208 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 421, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 13211, + 13215 + ], + "loc": { + "start": { + "line": 421, + "column": 27 + }, + "end": { + "line": 421, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 13216, + 13224 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 421, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 13227, + 13230 + ], + "loc": { + "start": { + "line": 421, + "column": 43 + }, + "end": { + "line": 421, + "column": 46 + } + } + }, + "range": [ + 13216, + 13230 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 421, + "column": 46 + } + } + }, + "right": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 13233, + 13241 + ], + "loc": { + "start": { + "line": 421, + "column": 49 + }, + "end": { + "line": 421, + "column": 57 + } + } + }, + "range": [ + 13216, + 13241 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 421, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 13244, + 13247 + ], + "loc": { + "start": { + "line": 421, + "column": 60 + }, + "end": { + "line": 421, + "column": 63 + } + } + }, + "range": [ + 13216, + 13247 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 421, + "column": 63 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13270, + 13272 + ], + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 13273, + 13283 + ], + "loc": { + "start": { + "line": 422, + "column": 23 + }, + "end": { + "line": 422, + "column": 33 + } + } + }, + "range": [ + 13270, + 13283 + ], + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 33 + } + } + }, + "range": [ + 13216, + 13283 + ], + "loc": { + "start": { + "line": 421, + "column": 32 + }, + "end": { + "line": 422, + "column": 33 + } + } + } + ], + "range": [ + 13211, + 13284 + ], + "loc": { + "start": { + "line": 421, + "column": 27 + }, + "end": { + "line": 422, + "column": 34 + } + } + }, + "range": [ + 13200, + 13284 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 422, + "column": 34 + } + } + }, + "range": [ + 13200, + 13285 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 422, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 13302, + 13310 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 13313, + 13323 + ], + "loc": { + "start": { + "line": 423, + "column": 27 + }, + "end": { + "line": 423, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 13326, + 13334 + ], + "loc": { + "start": { + "line": 423, + "column": 40 + }, + "end": { + "line": 423, + "column": 48 + } + } + }, + "range": [ + 13313, + 13334 + ], + "loc": { + "start": { + "line": 423, + "column": 27 + }, + "end": { + "line": 423, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13337, + 13339 + ], + "loc": { + "start": { + "line": 423, + "column": 51 + }, + "end": { + "line": 423, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 13340, + 13349 + ], + "loc": { + "start": { + "line": 423, + "column": 54 + }, + "end": { + "line": 423, + "column": 63 + } + } + }, + "range": [ + 13337, + 13349 + ], + "loc": { + "start": { + "line": 423, + "column": 51 + }, + "end": { + "line": 423, + "column": 63 + } + } + }, + "range": [ + 13313, + 13349 + ], + "loc": { + "start": { + "line": 423, + "column": 27 + }, + "end": { + "line": 423, + "column": 63 + } + } + }, + "range": [ + 13302, + 13349 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 63 + } + } + }, + "range": [ + 13302, + 13350 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 13367, + 13368 + ], + "loc": { + "start": { + "line": 424, + "column": 16 + }, + "end": { + "line": 424, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13369, + 13381 + ], + "loc": { + "start": { + "line": 424, + "column": 18 + }, + "end": { + "line": 424, + "column": 30 + } + } + }, + "range": [ + 13367, + 13381 + ], + "loc": { + "start": { + "line": 424, + "column": 16 + }, + "end": { + "line": 424, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 13382, + 13389 + ], + "loc": { + "start": { + "line": 424, + "column": 31 + }, + "end": { + "line": 424, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "chkValue", + "range": [ + 13391, + 13399 + ], + "loc": { + "start": { + "line": 424, + "column": 40 + }, + "end": { + "line": 424, + "column": 48 + } + } + } + ], + "range": [ + 13367, + 13400 + ], + "loc": { + "start": { + "line": 424, + "column": 16 + }, + "end": { + "line": 424, + "column": 49 + } + } + }, + "range": [ + 13367, + 13401 + ], + "loc": { + "start": { + "line": 424, + "column": 16 + }, + "end": { + "line": 424, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 13418, + 13419 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13420, + 13432 + ], + "loc": { + "start": { + "line": 425, + "column": 18 + }, + "end": { + "line": 425, + "column": 30 + } + } + }, + "range": [ + 13418, + 13432 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "indexes", + "raw": "'indexes'", + "range": [ + 13433, + 13442 + ], + "loc": { + "start": { + "line": 425, + "column": 31 + }, + "end": { + "line": 425, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 13444, + 13452 + ], + "loc": { + "start": { + "line": 425, + "column": 42 + }, + "end": { + "line": 425, + "column": 50 + } + } + } + ], + "range": [ + 13418, + 13453 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 51 + } + } + }, + "range": [ + 13418, + 13454 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 425, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "1st option unchecked", + "range": [ + 13471, + 13493 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 38 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 13514, + 13517 + ], + "loc": { + "start": { + "line": 427, + "column": 20 + }, + "end": { + "line": 427, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13518, + 13520 + ], + "loc": { + "start": { + "line": 427, + "column": 24 + }, + "end": { + "line": 427, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 13521, + 13527 + ], + "loc": { + "start": { + "line": 427, + "column": 27 + }, + "end": { + "line": 427, + "column": 33 + } + } + }, + "range": [ + 13518, + 13527 + ], + "loc": { + "start": { + "line": 427, + "column": 24 + }, + "end": { + "line": 427, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13528, + 13536 + ], + "loc": { + "start": { + "line": 427, + "column": 34 + }, + "end": { + "line": 427, + "column": 42 + } + } + }, + "range": [ + 13518, + 13537 + ], + "loc": { + "start": { + "line": 427, + "column": 24 + }, + "end": { + "line": 427, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "_0", + "raw": "'_0'", + "range": [ + 13540, + 13544 + ], + "loc": { + "start": { + "line": 427, + "column": 46 + }, + "end": { + "line": 427, + "column": 50 + } + } + }, + "range": [ + 13518, + 13544 + ], + "loc": { + "start": { + "line": 427, + "column": 24 + }, + "end": { + "line": 427, + "column": 50 + } + } + } + ], + "range": [ + 13514, + 13545 + ], + "loc": { + "start": { + "line": 427, + "column": 20 + }, + "end": { + "line": 427, + "column": 51 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 13569, + 13572 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13573, + 13575 + ], + "loc": { + "start": { + "line": 428, + "column": 24 + }, + "end": { + "line": 428, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 13576, + 13582 + ], + "loc": { + "start": { + "line": 428, + "column": 27 + }, + "end": { + "line": 428, + "column": 33 + } + } + }, + "range": [ + 13573, + 13582 + ], + "loc": { + "start": { + "line": 428, + "column": 24 + }, + "end": { + "line": 428, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13583, + 13591 + ], + "loc": { + "start": { + "line": 428, + "column": 34 + }, + "end": { + "line": 428, + "column": 42 + } + } + }, + "range": [ + 13573, + 13592 + ], + "loc": { + "start": { + "line": 428, + "column": 24 + }, + "end": { + "line": 428, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "_0", + "raw": "'_0'", + "range": [ + 13595, + 13599 + ], + "loc": { + "start": { + "line": 428, + "column": 46 + }, + "end": { + "line": 428, + "column": 50 + } + } + }, + "range": [ + 13573, + 13599 + ], + "loc": { + "start": { + "line": 428, + "column": 24 + }, + "end": { + "line": 428, + "column": 50 + } + } + } + ], + "range": [ + 13569, + 13600 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 13601, + 13608 + ], + "loc": { + "start": { + "line": 428, + "column": 52 + }, + "end": { + "line": 428, + "column": 59 + } + } + }, + "range": [ + 13569, + 13608 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 59 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 13611, + 13616 + ], + "loc": { + "start": { + "line": 428, + "column": 62 + }, + "end": { + "line": 428, + "column": 67 + } + } + }, + "range": [ + 13569, + 13616 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 67 + } + } + }, + "range": [ + 13569, + 13617 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 68 + } + } + } + ], + "range": [ + 13547, + 13635 + ], + "loc": { + "start": { + "line": 427, + "column": 53 + }, + "end": { + "line": 429, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 13510, + 13635 + ], + "loc": { + "start": { + "line": 427, + "column": 16 + }, + "end": { + "line": 429, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "1st option unchecked", + "range": [ + 13471, + 13493 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 38 + } + } + } + ] + } + ], + "range": [ + 13127, + 13649 + ], + "loc": { + "start": { + "line": 419, + "column": 19 + }, + "end": { + "line": 430, + "column": 13 + } + } + }, + "range": [ + 12300, + 13649 + ], + "loc": { + "start": { + "line": 400, + "column": 12 + }, + "end": { + "line": 430, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "show all item", + "range": [ + 12272, + 12287 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 27 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 13667, + 13669 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 13670, + 13678 + ], + "loc": { + "start": { + "line": 432, + "column": 19 + }, + "end": { + "line": 432, + "column": 27 + } + } + }, + "range": [ + 13667, + 13678 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "itemTag", + "range": [ + 13683, + 13690 + ], + "loc": { + "start": { + "line": 432, + "column": 32 + }, + "end": { + "line": 432, + "column": 39 + } + } + }, + "range": [ + 13667, + 13690 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 13710, + 13721 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 13722, + 13723 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 13724, + 13734 + ], + "loc": { + "start": { + "line": 433, + "column": 30 + }, + "end": { + "line": 433, + "column": 40 + } + } + }, + "range": [ + 13722, + 13734 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 40 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 13735, + 13736 + ], + "loc": { + "start": { + "line": 433, + "column": 41 + }, + "end": { + "line": 433, + "column": 42 + } + } + }, + "range": [ + 13722, + 13737 + ], + "loc": { + "start": { + "line": 433, + "column": 28 + }, + "end": { + "line": 433, + "column": 43 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13739, + 13743 + ], + "loc": { + "start": { + "line": 433, + "column": 45 + }, + "end": { + "line": 433, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedItemCssClass", + "range": [ + 13744, + 13764 + ], + "loc": { + "start": { + "line": 433, + "column": 50 + }, + "end": { + "line": 433, + "column": 70 + } + } + }, + "range": [ + 13739, + 13764 + ], + "loc": { + "start": { + "line": 433, + "column": 45 + }, + "end": { + "line": 433, + "column": 70 + } + } + } + ], + "range": [ + 13710, + 13765 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 71 + } + } + }, + "range": [ + 13710, + 13766 + ], + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 72 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 13783, + 13791 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 13792, + 13794 + ], + "loc": { + "start": { + "line": 434, + "column": 25 + }, + "end": { + "line": 434, + "column": 27 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13796, + 13800 + ], + "loc": { + "start": { + "line": 434, + "column": 29 + }, + "end": { + "line": 434, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedItemCssClass", + "range": [ + 13801, + 13821 + ], + "loc": { + "start": { + "line": 434, + "column": 34 + }, + "end": { + "line": 434, + "column": 54 + } + } + }, + "range": [ + 13796, + 13821 + ], + "loc": { + "start": { + "line": 434, + "column": 29 + }, + "end": { + "line": 434, + "column": 54 + } + } + } + ], + "range": [ + 13783, + 13822 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 55 + } + } + }, + "range": [ + 13783, + 13823 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 56 + } + } + } + ], + "range": [ + 13692, + 13837 + ], + "loc": { + "start": { + "line": 432, + "column": 41 + }, + "end": { + "line": 435, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13663, + 13837 + ], + "loc": { + "start": { + "line": 432, + "column": 12 + }, + "end": { + "line": 435, + "column": 13 + } + } + } + ], + "range": [ + 12258, + 13847 + ], + "loc": { + "start": { + "line": 398, + "column": 23 + }, + "end": { + "line": 436, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 13900, + 13908 + ], + "loc": { + "start": { + "line": 437, + "column": 16 + }, + "end": { + "line": 437, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13913, + 13915 + ], + "loc": { + "start": { + "line": 437, + "column": 29 + }, + "end": { + "line": 437, + "column": 31 + } + } + }, + "range": [ + 13900, + 13915 + ], + "loc": { + "start": { + "line": 437, + "column": 16 + }, + "end": { + "line": 437, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "replaceValue", + "range": [ + 13939, + 13951 + ], + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 438, + "column": 32 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 13958, + 13964 + ], + "loc": { + "start": { + "line": 438, + "column": 39 + }, + "end": { + "line": 438, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 13986, + 13992 + ], + "loc": { + "start": { + "line": 439, + "column": 20 + }, + "end": { + "line": 439, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "chkValue", + "range": [ + 13993, + 14001 + ], + "loc": { + "start": { + "line": 439, + "column": 27 + }, + "end": { + "line": 439, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 14004, + 14007 + ], + "loc": { + "start": { + "line": 439, + "column": 38 + }, + "end": { + "line": 439, + "column": 41 + } + } + }, + "range": [ + 13993, + 14007 + ], + "loc": { + "start": { + "line": 439, + "column": 27 + }, + "end": { + "line": 439, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14010, + 14012 + ], + "loc": { + "start": { + "line": 439, + "column": 44 + }, + "end": { + "line": 439, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 14013, + 14023 + ], + "loc": { + "start": { + "line": 439, + "column": 47 + }, + "end": { + "line": 439, + "column": 57 + } + } + }, + "range": [ + 14010, + 14023 + ], + "loc": { + "start": { + "line": 439, + "column": 44 + }, + "end": { + "line": 439, + "column": 57 + } + } + }, + "range": [ + 13993, + 14023 + ], + "loc": { + "start": { + "line": 439, + "column": 27 + }, + "end": { + "line": 439, + "column": 57 + } + } + } + ], + "range": [ + 13986, + 14024 + ], + "loc": { + "start": { + "line": 439, + "column": 20 + }, + "end": { + "line": 439, + "column": 58 + } + } + } + ], + "range": [ + 13954, + 14025 + ], + "loc": { + "start": { + "line": 438, + "column": 35 + }, + "end": { + "line": 439, + "column": 59 + } + } + }, + "range": [ + 13939, + 14025 + ], + "loc": { + "start": { + "line": 438, + "column": 20 + }, + "end": { + "line": 439, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 13935, + 14026 + ], + "loc": { + "start": { + "line": 438, + "column": 16 + }, + "end": { + "line": 439, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 14043, + 14051 + ], + "loc": { + "start": { + "line": 440, + "column": 16 + }, + "end": { + "line": 440, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 14054, + 14062 + ], + "loc": { + "start": { + "line": 440, + "column": 27 + }, + "end": { + "line": 440, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 14063, + 14070 + ], + "loc": { + "start": { + "line": 440, + "column": 36 + }, + "end": { + "line": 440, + "column": 43 + } + } + }, + "range": [ + 14054, + 14070 + ], + "loc": { + "start": { + "line": 440, + "column": 27 + }, + "end": { + "line": 440, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "replaceValue", + "range": [ + 14071, + 14083 + ], + "loc": { + "start": { + "line": 440, + "column": 44 + }, + "end": { + "line": 440, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 14085, + 14087 + ], + "loc": { + "start": { + "line": 440, + "column": 58 + }, + "end": { + "line": 440, + "column": 60 + } + } + } + ], + "range": [ + 14054, + 14088 + ], + "loc": { + "start": { + "line": 440, + "column": 27 + }, + "end": { + "line": 440, + "column": 61 + } + } + }, + "range": [ + 14043, + 14088 + ], + "loc": { + "start": { + "line": 440, + "column": 16 + }, + "end": { + "line": 440, + "column": 61 + } + } + }, + "range": [ + 14043, + 14089 + ], + "loc": { + "start": { + "line": 440, + "column": 16 + }, + "end": { + "line": 440, + "column": 62 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 14106, + 14107 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 14108, + 14120 + ], + "loc": { + "start": { + "line": 441, + "column": 18 + }, + "end": { + "line": 441, + "column": 30 + } + } + }, + "range": [ + 14106, + 14120 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 14121, + 14128 + ], + "loc": { + "start": { + "line": 441, + "column": 31 + }, + "end": { + "line": 441, + "column": 38 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 14130, + 14134 + ], + "loc": { + "start": { + "line": 441, + "column": 40 + }, + "end": { + "line": 441, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltValue", + "range": [ + 14135, + 14143 + ], + "loc": { + "start": { + "line": 441, + "column": 45 + }, + "end": { + "line": 441, + "column": 53 + } + } + } + ], + "range": [ + 14130, + 14144 + ], + "loc": { + "start": { + "line": 441, + "column": 40 + }, + "end": { + "line": 441, + "column": 54 + } + } + } + ], + "range": [ + 14106, + 14145 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 55 + } + } + }, + "range": [ + 14106, + 14146 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 56 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "replaceIndex", + "range": [ + 14168, + 14180 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 443, + "column": 32 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 14187, + 14193 + ], + "loc": { + "start": { + "line": 443, + "column": 39 + }, + "end": { + "line": 443, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 14215, + 14221 + ], + "loc": { + "start": { + "line": 444, + "column": 20 + }, + "end": { + "line": 444, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "chkIndex", + "range": [ + 14222, + 14230 + ], + "loc": { + "start": { + "line": 444, + "column": 27 + }, + "end": { + "line": 444, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14233, + 14235 + ], + "loc": { + "start": { + "line": 444, + "column": 38 + }, + "end": { + "line": 444, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 14236, + 14245 + ], + "loc": { + "start": { + "line": 444, + "column": 41 + }, + "end": { + "line": 444, + "column": 50 + } + } + }, + "range": [ + 14233, + 14245 + ], + "loc": { + "start": { + "line": 444, + "column": 38 + }, + "end": { + "line": 444, + "column": 50 + } + } + }, + "range": [ + 14222, + 14245 + ], + "loc": { + "start": { + "line": 444, + "column": 27 + }, + "end": { + "line": 444, + "column": 50 + } + } + } + ], + "range": [ + 14215, + 14246 + ], + "loc": { + "start": { + "line": 444, + "column": 20 + }, + "end": { + "line": 444, + "column": 51 + } + } + } + ], + "range": [ + 14183, + 14247 + ], + "loc": { + "start": { + "line": 443, + "column": 35 + }, + "end": { + "line": 444, + "column": 52 + } + } + }, + "range": [ + 14168, + 14247 + ], + "loc": { + "start": { + "line": 443, + "column": 20 + }, + "end": { + "line": 444, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 14164, + 14248 + ], + "loc": { + "start": { + "line": 443, + "column": 16 + }, + "end": { + "line": 444, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 14265, + 14275 + ], + "loc": { + "start": { + "line": 445, + "column": 16 + }, + "end": { + "line": 445, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 14278, + 14288 + ], + "loc": { + "start": { + "line": 445, + "column": 29 + }, + "end": { + "line": 445, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 14289, + 14296 + ], + "loc": { + "start": { + "line": 445, + "column": 40 + }, + "end": { + "line": 445, + "column": 47 + } + } + }, + "range": [ + 14278, + 14296 + ], + "loc": { + "start": { + "line": 445, + "column": 29 + }, + "end": { + "line": 445, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "replaceIndex", + "range": [ + 14297, + 14309 + ], + "loc": { + "start": { + "line": 445, + "column": 48 + }, + "end": { + "line": 445, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 14311, + 14313 + ], + "loc": { + "start": { + "line": 445, + "column": 62 + }, + "end": { + "line": 445, + "column": 64 + } + } + } + ], + "range": [ + 14278, + 14314 + ], + "loc": { + "start": { + "line": 445, + "column": 29 + }, + "end": { + "line": 445, + "column": 65 + } + } + }, + "range": [ + 14265, + 14314 + ], + "loc": { + "start": { + "line": 445, + "column": 16 + }, + "end": { + "line": 445, + "column": 65 + } + } + }, + "range": [ + 14265, + 14315 + ], + "loc": { + "start": { + "line": 445, + "column": 16 + }, + "end": { + "line": 445, + "column": 66 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 14332, + 14333 + ], + "loc": { + "start": { + "line": 446, + "column": 16 + }, + "end": { + "line": 446, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 14334, + 14346 + ], + "loc": { + "start": { + "line": 446, + "column": 18 + }, + "end": { + "line": 446, + "column": 30 + } + } + }, + "range": [ + 14332, + 14346 + ], + "loc": { + "start": { + "line": 446, + "column": 16 + }, + "end": { + "line": 446, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "indexes", + "raw": "'indexes'", + "range": [ + 14347, + 14356 + ], + "loc": { + "start": { + "line": 446, + "column": 31 + }, + "end": { + "line": 446, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "fltIndexes", + "range": [ + 14358, + 14368 + ], + "loc": { + "start": { + "line": 446, + "column": 42 + }, + "end": { + "line": 446, + "column": 52 + } + } + } + ], + "range": [ + 14332, + 14369 + ], + "loc": { + "start": { + "line": 446, + "column": 16 + }, + "end": { + "line": 446, + "column": 53 + } + } + }, + "range": [ + 14332, + 14370 + ], + "loc": { + "start": { + "line": 446, + "column": 16 + }, + "end": { + "line": 446, + "column": 54 + } + } + } + ], + "range": [ + 13917, + 14384 + ], + "loc": { + "start": { + "line": 437, + "column": 33 + }, + "end": { + "line": 447, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 13896, + 14384 + ], + "loc": { + "start": { + "line": 437, + "column": 12 + }, + "end": { + "line": 447, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "removes values and indexes", + "range": [ + 13855, + 13883 + ], + "loc": { + "start": { + "line": 436, + "column": 17 + }, + "end": { + "line": 436, + "column": 45 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "li", + "range": [ + 14401, + 14403 + ], + "loc": { + "start": { + "line": 448, + "column": 16 + }, + "end": { + "line": 448, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 14404, + 14412 + ], + "loc": { + "start": { + "line": 448, + "column": 19 + }, + "end": { + "line": 448, + "column": 27 + } + } + }, + "range": [ + 14401, + 14412 + ], + "loc": { + "start": { + "line": 448, + "column": 16 + }, + "end": { + "line": 448, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "itemTag", + "range": [ + 14417, + 14424 + ], + "loc": { + "start": { + "line": 448, + "column": 32 + }, + "end": { + "line": 448, + "column": 39 + } + } + }, + "range": [ + 14401, + 14424 + ], + "loc": { + "start": { + "line": 448, + "column": 16 + }, + "end": { + "line": 448, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 14444, + 14455 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 14456, + 14458 + ], + "loc": { + "start": { + "line": 449, + "column": 28 + }, + "end": { + "line": 449, + "column": 30 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14460, + 14464 + ], + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedItemCssClass", + "range": [ + 14465, + 14485 + ], + "loc": { + "start": { + "line": 449, + "column": 37 + }, + "end": { + "line": 449, + "column": 57 + } + } + }, + "range": [ + 14460, + 14485 + ], + "loc": { + "start": { + "line": 449, + "column": 32 + }, + "end": { + "line": 449, + "column": 57 + } + } + } + ], + "range": [ + 14444, + 14486 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 58 + } + } + }, + "range": [ + 14444, + 14487 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 59 + } + } + } + ], + "range": [ + 14426, + 14501 + ], + "loc": { + "start": { + "line": 448, + "column": 41 + }, + "end": { + "line": 450, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 14397, + 14501 + ], + "loc": { + "start": { + "line": 448, + "column": 12 + }, + "end": { + "line": 450, + "column": 13 + } + } + } + ], + "range": [ + 13853, + 14511 + ], + "loc": { + "start": { + "line": 436, + "column": 15 + }, + "end": { + "line": 451, + "column": 9 + } + } + }, + "range": [ + 12243, + 14511 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 451, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "selected items (ul tag)", + "range": [ + 12208, + 12233 + ], + "loc": { + "start": { + "line": 396, + "column": 52 + }, + "end": { + "line": 396, + "column": 77 + } + } + } + ] + } + ], + "range": [ + 11596, + 14517 + ], + "loc": { + "start": { + "line": 380, + "column": 26 + }, + "end": { + "line": 452, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11592, + 14517 + ], + "loc": { + "start": { + "line": 380, + "column": 22 + }, + "end": { + "line": 452, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11574, + 14517 + ], + "loc": { + "start": { + "line": 380, + "column": 4 + }, + "end": { + "line": 452, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n * @private\n ", + "range": [ + 11434, + 11569 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 379, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "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": [ + 14523, + 14692 + ], + "loc": { + "start": { + "line": 454, + "column": 4 + }, + "end": { + "line": 458, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 14697, + 14710 + ], + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 459, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14711, + 14719 + ], + "loc": { + "start": { + "line": 459, + "column": 18 + }, + "end": { + "line": 459, + "column": 26 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 14721, + 14727 + ], + "loc": { + "start": { + "line": 459, + "column": 28 + }, + "end": { + "line": 459, + "column": 34 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 14730, + 14732 + ], + "loc": { + "start": { + "line": 459, + "column": 37 + }, + "end": { + "line": 459, + "column": 39 + } + } + }, + "range": [ + 14721, + 14732 + ], + "loc": { + "start": { + "line": 459, + "column": 28 + }, + "end": { + "line": 459, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 14748, + 14750 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14753, + 14757 + ], + "loc": { + "start": { + "line": 460, + "column": 17 + }, + "end": { + "line": 460, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 14758, + 14760 + ], + "loc": { + "start": { + "line": 460, + "column": 22 + }, + "end": { + "line": 460, + "column": 24 + } + } + }, + "range": [ + 14753, + 14760 + ], + "loc": { + "start": { + "line": 460, + "column": 17 + }, + "end": { + "line": 460, + "column": 24 + } + } + }, + "range": [ + 14748, + 14760 + ], + "loc": { + "start": { + "line": 460, + "column": 12 + }, + "end": { + "line": 460, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 14744, + 14761 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "flt", + "range": [ + 14774, + 14777 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14780, + 14782 + ], + "loc": { + "start": { + "line": 461, + "column": 18 + }, + "end": { + "line": 461, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 14783, + 14799 + ], + "loc": { + "start": { + "line": 461, + "column": 21 + }, + "end": { + "line": 461, + "column": 37 + } + } + }, + "range": [ + 14780, + 14799 + ], + "loc": { + "start": { + "line": 461, + "column": 18 + }, + "end": { + "line": 461, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14800, + 14808 + ], + "loc": { + "start": { + "line": 461, + "column": 38 + }, + "end": { + "line": 461, + "column": 46 + } + } + } + ], + "range": [ + 14780, + 14809 + ], + "loc": { + "start": { + "line": 461, + "column": 18 + }, + "end": { + "line": 461, + "column": 47 + } + } + }, + "range": [ + 14774, + 14809 + ], + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 14770, + 14810 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14823, + 14825 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 14826, + 14839 + ], + "loc": { + "start": { + "line": 462, + "column": 15 + }, + "end": { + "line": 462, + "column": 28 + } + } + }, + "range": [ + 14823, + 14839 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14840, + 14848 + ], + "loc": { + "start": { + "line": 462, + "column": 29 + }, + "end": { + "line": 462, + "column": 37 + } + } + } + ], + "range": [ + 14823, + 14849 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 14854, + 14863 + ], + "loc": { + "start": { + "line": 462, + "column": 43 + }, + "end": { + "line": 462, + "column": 52 + } + } + }, + "range": [ + 14823, + 14863 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 52 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "flt", + "range": [ + 14868, + 14871 + ], + "loc": { + "start": { + "line": 462, + "column": 57 + }, + "end": { + "line": 462, + "column": 60 + } + } + }, + "prefix": true, + "range": [ + 14867, + 14871 + ], + "loc": { + "start": { + "line": 462, + "column": 56 + }, + "end": { + "line": 462, + "column": 60 + } + } + }, + "range": [ + 14823, + 14871 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 60 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 14887, + 14893 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 14894, + 14900 + ], + "loc": { + "start": { + "line": 463, + "column": 19 + }, + "end": { + "line": 463, + "column": 25 + } + } + }, + "range": [ + 14887, + 14900 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 14905, + 14906 + ], + "loc": { + "start": { + "line": 463, + "column": 30 + }, + "end": { + "line": 463, + "column": 31 + } + } + }, + "range": [ + 14887, + 14906 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 31 + } + } + }, + "range": [ + 14823, + 14906 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 463, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 14922, + 14929 + ], + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 19 + } + } + } + ], + "range": [ + 14908, + 14939 + ], + "loc": { + "start": { + "line": 463, + "column": 33 + }, + "end": { + "line": 465, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14819, + 14939 + ], + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 465, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lisNb", + "range": [ + 14953, + 14958 + ], + "loc": { + "start": { + "line": 467, + "column": 12 + }, + "end": { + "line": 467, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 14961, + 14964 + ], + "loc": { + "start": { + "line": 467, + "column": 20 + }, + "end": { + "line": 467, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "flt", + "range": [ + 14965, + 14968 + ], + "loc": { + "start": { + "line": 467, + "column": 24 + }, + "end": { + "line": 467, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "li", + "raw": "'li'", + "range": [ + 14970, + 14974 + ], + "loc": { + "start": { + "line": 467, + "column": 29 + }, + "end": { + "line": 467, + "column": 33 + } + } + } + ], + "range": [ + 14961, + 14975 + ], + "loc": { + "start": { + "line": 467, + "column": 20 + }, + "end": { + "line": 467, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 14976, + 14982 + ], + "loc": { + "start": { + "line": 467, + "column": 35 + }, + "end": { + "line": 467, + "column": 41 + } + } + }, + "range": [ + 14961, + 14982 + ], + "loc": { + "start": { + "line": 467, + "column": 20 + }, + "end": { + "line": 467, + "column": 41 + } + } + }, + "range": [ + 14953, + 14982 + ], + "loc": { + "start": { + "line": 467, + "column": 12 + }, + "end": { + "line": 467, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 14949, + 14983 + ], + "loc": { + "start": { + "line": 467, + "column": 8 + }, + "end": { + "line": 467, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 14993, + 14996 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 14997, + 15009 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "range": [ + 14993, + 15009 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 15010, + 15017 + ], + "loc": { + "start": { + "line": 469, + "column": 25 + }, + "end": { + "line": 469, + "column": 32 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 15019, + 15021 + ], + "loc": { + "start": { + "line": 469, + "column": 34 + }, + "end": { + "line": 469, + "column": 36 + } + } + } + ], + "range": [ + 14993, + 15022 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 37 + } + } + }, + "range": [ + 14993, + 15023 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 15032, + 15035 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 15036, + 15048 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 24 + } + } + }, + "range": [ + 15032, + 15048 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "indexes", + "raw": "'indexes'", + "range": [ + 15049, + 15058 + ], + "loc": { + "start": { + "line": 470, + "column": 25 + }, + "end": { + "line": 470, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 15060, + 15062 + ], + "loc": { + "start": { + "line": 470, + "column": 36 + }, + "end": { + "line": 470, + "column": 38 + } + } + } + ], + "range": [ + 15032, + 15063 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 39 + } + } + }, + "range": [ + 15032, + 15064 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 40 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 15083, + 15084 + ], + "loc": { + "start": { + "line": 472, + "column": 17 + }, + "end": { + "line": 472, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15087, + 15088 + ], + "loc": { + "start": { + "line": 472, + "column": 21 + }, + "end": { + "line": 472, + "column": 22 + } + } + }, + "range": [ + 15083, + 15088 + ], + "loc": { + "start": { + "line": 472, + "column": 17 + }, + "end": { + "line": 472, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 15079, + 15088 + ], + "loc": { + "start": { + "line": 472, + "column": 13 + }, + "end": { + "line": 472, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 15090, + 15091 + ], + "loc": { + "start": { + "line": 472, + "column": 24 + }, + "end": { + "line": 472, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "lisNb", + "range": [ + 15094, + 15099 + ], + "loc": { + "start": { + "line": 472, + "column": 28 + }, + "end": { + "line": 472, + "column": 33 + } + } + }, + "range": [ + 15090, + 15099 + ], + "loc": { + "start": { + "line": 472, + "column": 24 + }, + "end": { + "line": 472, + "column": 33 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 15101, + 15102 + ], + "loc": { + "start": { + "line": 472, + "column": 35 + }, + "end": { + "line": 472, + "column": 36 + } + } + }, + "prefix": false, + "range": [ + 15101, + 15104 + ], + "loc": { + "start": { + "line": 472, + "column": 35 + }, + "end": { + "line": 472, + "column": 38 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "li", + "range": [ + 15124, + 15126 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 15129, + 15132 + ], + "loc": { + "start": { + "line": 473, + "column": 21 + }, + "end": { + "line": 473, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "flt", + "range": [ + 15133, + 15136 + ], + "loc": { + "start": { + "line": 473, + "column": 25 + }, + "end": { + "line": 473, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "li", + "raw": "'li'", + "range": [ + 15138, + 15142 + ], + "loc": { + "start": { + "line": 473, + "column": 30 + }, + "end": { + "line": 473, + "column": 34 + } + } + } + ], + "range": [ + 15129, + 15143 + ], + "loc": { + "start": { + "line": 473, + "column": 21 + }, + "end": { + "line": 473, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 15144, + 15145 + ], + "loc": { + "start": { + "line": 473, + "column": 36 + }, + "end": { + "line": 473, + "column": 37 + } + } + }, + "range": [ + 15129, + 15146 + ], + "loc": { + "start": { + "line": 473, + "column": 21 + }, + "end": { + "line": 473, + "column": 38 + } + } + }, + "range": [ + 15124, + 15146 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 15120, + 15147 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 473, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lbl", + "range": [ + 15164, + 15167 + ], + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 15170, + 15173 + ], + "loc": { + "start": { + "line": 474, + "column": 22 + }, + "end": { + "line": 474, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 15174, + 15176 + ], + "loc": { + "start": { + "line": 474, + "column": 26 + }, + "end": { + "line": 474, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "label", + "raw": "'label'", + "range": [ + 15178, + 15185 + ], + "loc": { + "start": { + "line": 474, + "column": 30 + }, + "end": { + "line": 474, + "column": 37 + } + } + } + ], + "range": [ + 15170, + 15186 + ], + "loc": { + "start": { + "line": 474, + "column": 22 + }, + "end": { + "line": 474, + "column": 38 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15187, + 15188 + ], + "loc": { + "start": { + "line": 474, + "column": 39 + }, + "end": { + "line": 474, + "column": 40 + } + } + }, + "range": [ + 15170, + 15189 + ], + "loc": { + "start": { + "line": 474, + "column": 22 + }, + "end": { + "line": 474, + "column": 41 + } + } + }, + "range": [ + 15164, + 15189 + ], + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 15160, + 15190 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chk", + "range": [ + 15207, + 15210 + ], + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 475, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 15213, + 15216 + ], + "loc": { + "start": { + "line": 475, + "column": 22 + }, + "end": { + "line": 475, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "li", + "range": [ + 15217, + 15219 + ], + "loc": { + "start": { + "line": 475, + "column": 26 + }, + "end": { + "line": 475, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "input", + "raw": "'input'", + "range": [ + 15221, + 15228 + ], + "loc": { + "start": { + "line": 475, + "column": 30 + }, + "end": { + "line": 475, + "column": 37 + } + } + } + ], + "range": [ + 15213, + 15229 + ], + "loc": { + "start": { + "line": 475, + "column": 22 + }, + "end": { + "line": 475, + "column": 38 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15230, + 15231 + ], + "loc": { + "start": { + "line": 475, + "column": 39 + }, + "end": { + "line": 475, + "column": 40 + } + } + }, + "range": [ + 15213, + 15232 + ], + "loc": { + "start": { + "line": 475, + "column": 22 + }, + "end": { + "line": 475, + "column": 41 + } + } + }, + "range": [ + 15207, + 15232 + ], + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 475, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 15203, + 15233 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lblTxt", + "range": [ + 15250, + 15256 + ], + "loc": { + "start": { + "line": 476, + "column": 16 + }, + "end": { + "line": 476, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 15259, + 15268 + ], + "loc": { + "start": { + "line": 476, + "column": 25 + }, + "end": { + "line": 476, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 15269, + 15276 + ], + "loc": { + "start": { + "line": 476, + "column": 35 + }, + "end": { + "line": 476, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "lbl", + "range": [ + 15277, + 15280 + ], + "loc": { + "start": { + "line": 476, + "column": 43 + }, + "end": { + "line": 476, + "column": 46 + } + } + } + ], + "range": [ + 15269, + 15281 + ], + "loc": { + "start": { + "line": 476, + "column": 35 + }, + "end": { + "line": 476, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15283, + 15285 + ], + "loc": { + "start": { + "line": 476, + "column": 49 + }, + "end": { + "line": 476, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 15286, + 15299 + ], + "loc": { + "start": { + "line": 476, + "column": 52 + }, + "end": { + "line": 476, + "column": 65 + } + } + }, + "range": [ + 15283, + 15299 + ], + "loc": { + "start": { + "line": 476, + "column": 49 + }, + "end": { + "line": 476, + "column": 65 + } + } + } + ], + "range": [ + 15259, + 15300 + ], + "loc": { + "start": { + "line": 476, + "column": 25 + }, + "end": { + "line": 476, + "column": 66 + } + } + }, + "range": [ + 15250, + 15300 + ], + "loc": { + "start": { + "line": 476, + "column": 16 + }, + "end": { + "line": 476, + "column": 66 + } + } + } + ], + "kind": "let", + "range": [ + 15246, + 15301 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 67 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "lblTxt", + "range": [ + 15319, + 15325 + ], + "loc": { + "start": { + "line": 478, + "column": 16 + }, + "end": { + "line": 478, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 15330, + 15332 + ], + "loc": { + "start": { + "line": 478, + "column": 27 + }, + "end": { + "line": 478, + "column": 29 + } + } + }, + "range": [ + 15319, + 15332 + ], + "loc": { + "start": { + "line": 478, + "column": 16 + }, + "end": { + "line": 478, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 15336, + 15339 + ], + "loc": { + "start": { + "line": 478, + "column": 33 + }, + "end": { + "line": 478, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "values", + "range": [ + 15340, + 15346 + ], + "loc": { + "start": { + "line": 478, + "column": 37 + }, + "end": { + "line": 478, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "lblTxt", + "range": [ + 15348, + 15354 + ], + "loc": { + "start": { + "line": 478, + "column": 45 + }, + "end": { + "line": 478, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15356, + 15358 + ], + "loc": { + "start": { + "line": 478, + "column": 53 + }, + "end": { + "line": 478, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 15359, + 15372 + ], + "loc": { + "start": { + "line": 478, + "column": 56 + }, + "end": { + "line": 478, + "column": 69 + } + } + }, + "range": [ + 15356, + 15372 + ], + "loc": { + "start": { + "line": 478, + "column": 53 + }, + "end": { + "line": 478, + "column": 69 + } + } + } + ], + "range": [ + 15336, + 15373 + ], + "loc": { + "start": { + "line": 478, + "column": 33 + }, + "end": { + "line": 478, + "column": 70 + } + } + }, + "range": [ + 15319, + 15373 + ], + "loc": { + "start": { + "line": 478, + "column": 16 + }, + "end": { + "line": 478, + "column": 70 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "chk", + "range": [ + 15393, + 15396 + ], + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 15397, + 15404 + ], + "loc": { + "start": { + "line": 479, + "column": 20 + }, + "end": { + "line": 479, + "column": 27 + } + } + }, + "range": [ + 15393, + 15404 + ], + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15407, + 15411 + ], + "loc": { + "start": { + "line": 479, + "column": 30 + }, + "end": { + "line": 479, + "column": 34 + } + } + }, + "range": [ + 15393, + 15411 + ], + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 34 + } + } + }, + "range": [ + 15393, + 15412 + ], + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 35 + } + } + } + ], + "range": [ + 15375, + 15426 + ], + "loc": { + "start": { + "line": 478, + "column": 72 + }, + "end": { + "line": 480, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 15515, + 15521 + ], + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 15522, + 15529 + ], + "loc": { + "start": { + "line": 482, + "column": 27 + }, + "end": { + "line": 482, + "column": 34 + } + } + }, + "range": [ + 15515, + 15529 + ], + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15530, + 15532 + ], + "loc": { + "start": { + "line": 482, + "column": 35 + }, + "end": { + "line": 482, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "nmOperator", + "range": [ + 15533, + 15543 + ], + "loc": { + "start": { + "line": 482, + "column": 38 + }, + "end": { + "line": 482, + "column": 48 + } + } + }, + "range": [ + 15530, + 15543 + ], + "loc": { + "start": { + "line": 482, + "column": 35 + }, + "end": { + "line": 482, + "column": 48 + } + } + } + ], + "range": [ + 15515, + 15544 + ], + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 49 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15550, + 15551 + ], + "loc": { + "start": { + "line": 482, + "column": 55 + }, + "end": { + "line": 482, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 15549, + 15551 + ], + "loc": { + "start": { + "line": 482, + "column": 54 + }, + "end": { + "line": 482, + "column": 56 + } + } + }, + "range": [ + 15515, + 15551 + ], + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 482, + "column": 56 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "lblTxt", + "range": [ + 15575, + 15581 + ], + "loc": { + "start": { + "line": 483, + "column": 20 + }, + "end": { + "line": 483, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 15586, + 15595 + ], + "loc": { + "start": { + "line": 483, + "column": 31 + }, + "end": { + "line": 483, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15596, + 15598 + ], + "loc": { + "start": { + "line": 483, + "column": 41 + }, + "end": { + "line": 483, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonEmptyText", + "range": [ + 15599, + 15611 + ], + "loc": { + "start": { + "line": 483, + "column": 44 + }, + "end": { + "line": 483, + "column": 56 + } + } + }, + "range": [ + 15596, + 15611 + ], + "loc": { + "start": { + "line": 483, + "column": 41 + }, + "end": { + "line": 483, + "column": 56 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15613, + 15615 + ], + "loc": { + "start": { + "line": 483, + "column": 58 + }, + "end": { + "line": 483, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 15616, + 15629 + ], + "loc": { + "start": { + "line": 483, + "column": 61 + }, + "end": { + "line": 483, + "column": 74 + } + } + }, + "range": [ + 15613, + 15629 + ], + "loc": { + "start": { + "line": 483, + "column": 58 + }, + "end": { + "line": 483, + "column": 74 + } + } + } + ], + "range": [ + 15586, + 15630 + ], + "loc": { + "start": { + "line": 483, + "column": 31 + }, + "end": { + "line": 483, + "column": 75 + } + } + }, + "range": [ + 15575, + 15630 + ], + "loc": { + "start": { + "line": 483, + "column": 20 + }, + "end": { + "line": 483, + "column": 75 + } + } + }, + "range": [ + 15515, + 15630 + ], + "loc": { + "start": { + "line": 482, + "column": 20 + }, + "end": { + "line": 483, + "column": 75 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "chk", + "range": [ + 15654, + 15657 + ], + "loc": { + "start": { + "line": 484, + "column": 20 + }, + "end": { + "line": 484, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 15658, + 15665 + ], + "loc": { + "start": { + "line": 484, + "column": 24 + }, + "end": { + "line": 484, + "column": 31 + } + } + }, + "range": [ + 15654, + 15665 + ], + "loc": { + "start": { + "line": 484, + "column": 20 + }, + "end": { + "line": 484, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15668, + 15672 + ], + "loc": { + "start": { + "line": 484, + "column": 34 + }, + "end": { + "line": 484, + "column": 38 + } + } + }, + "range": [ + 15654, + 15672 + ], + "loc": { + "start": { + "line": 484, + "column": 20 + }, + "end": { + "line": 484, + "column": 38 + } + } + }, + "range": [ + 15654, + 15673 + ], + "loc": { + "start": { + "line": 484, + "column": 20 + }, + "end": { + "line": 484, + "column": 39 + } + } + } + ], + "range": [ + 15632, + 15691 + ], + "loc": { + "start": { + "line": 483, + "column": 77 + }, + "end": { + "line": 485, + "column": 17 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 15717, + 15723 + ], + "loc": { + "start": { + "line": 486, + "column": 25 + }, + "end": { + "line": 486, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 15724, + 15731 + ], + "loc": { + "start": { + "line": 486, + "column": 32 + }, + "end": { + "line": 486, + "column": 39 + } + } + }, + "range": [ + 15717, + 15731 + ], + "loc": { + "start": { + "line": 486, + "column": 25 + }, + "end": { + "line": 486, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15732, + 15734 + ], + "loc": { + "start": { + "line": 486, + "column": 40 + }, + "end": { + "line": 486, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "emOperator", + "range": [ + 15735, + 15745 + ], + "loc": { + "start": { + "line": 486, + "column": 43 + }, + "end": { + "line": 486, + "column": 53 + } + } + }, + "range": [ + 15732, + 15745 + ], + "loc": { + "start": { + "line": 486, + "column": 40 + }, + "end": { + "line": 486, + "column": 53 + } + } + } + ], + "range": [ + 15717, + 15746 + ], + "loc": { + "start": { + "line": 486, + "column": 25 + }, + "end": { + "line": 486, + "column": 54 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15752, + 15753 + ], + "loc": { + "start": { + "line": 486, + "column": 60 + }, + "end": { + "line": 486, + "column": 61 + } + } + }, + "prefix": true, + "range": [ + 15751, + 15753 + ], + "loc": { + "start": { + "line": 486, + "column": 59 + }, + "end": { + "line": 486, + "column": 61 + } + } + }, + "range": [ + 15717, + 15753 + ], + "loc": { + "start": { + "line": 486, + "column": 25 + }, + "end": { + "line": 486, + "column": 61 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "lblTxt", + "range": [ + 15777, + 15783 + ], + "loc": { + "start": { + "line": 487, + "column": 20 + }, + "end": { + "line": 487, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 15788, + 15797 + ], + "loc": { + "start": { + "line": 487, + "column": 31 + }, + "end": { + "line": 487, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15798, + 15800 + ], + "loc": { + "start": { + "line": 487, + "column": 41 + }, + "end": { + "line": 487, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "emptyText", + "range": [ + 15801, + 15810 + ], + "loc": { + "start": { + "line": 487, + "column": 44 + }, + "end": { + "line": 487, + "column": 53 + } + } + }, + "range": [ + 15798, + 15810 + ], + "loc": { + "start": { + "line": 487, + "column": 41 + }, + "end": { + "line": 487, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15812, + 15814 + ], + "loc": { + "start": { + "line": 487, + "column": 55 + }, + "end": { + "line": 487, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 15815, + 15828 + ], + "loc": { + "start": { + "line": 487, + "column": 58 + }, + "end": { + "line": 487, + "column": 71 + } + } + }, + "range": [ + 15812, + 15828 + ], + "loc": { + "start": { + "line": 487, + "column": 55 + }, + "end": { + "line": 487, + "column": 71 + } + } + } + ], + "range": [ + 15788, + 15829 + ], + "loc": { + "start": { + "line": 487, + "column": 31 + }, + "end": { + "line": 487, + "column": 72 + } + } + }, + "range": [ + 15777, + 15829 + ], + "loc": { + "start": { + "line": 487, + "column": 20 + }, + "end": { + "line": 487, + "column": 72 + } + } + }, + "range": [ + 15717, + 15829 + ], + "loc": { + "start": { + "line": 486, + "column": 25 + }, + "end": { + "line": 487, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "chk", + "range": [ + 15853, + 15856 + ], + "loc": { + "start": { + "line": 488, + "column": 20 + }, + "end": { + "line": 488, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 15857, + 15864 + ], + "loc": { + "start": { + "line": 488, + "column": 24 + }, + "end": { + "line": 488, + "column": 31 + } + } + }, + "range": [ + 15853, + 15864 + ], + "loc": { + "start": { + "line": 488, + "column": 20 + }, + "end": { + "line": 488, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15867, + 15871 + ], + "loc": { + "start": { + "line": 488, + "column": 34 + }, + "end": { + "line": 488, + "column": 38 + } + } + }, + "range": [ + 15853, + 15871 + ], + "loc": { + "start": { + "line": 488, + "column": 20 + }, + "end": { + "line": 488, + "column": 38 + } + } + }, + "range": [ + 15853, + 15872 + ], + "loc": { + "start": { + "line": 488, + "column": 20 + }, + "end": { + "line": 488, + "column": 39 + } + } + } + ], + "range": [ + 15831, + 15890 + ], + "loc": { + "start": { + "line": 487, + "column": 74 + }, + "end": { + "line": 489, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "chk", + "range": [ + 15918, + 15921 + ], + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "checked", + "range": [ + 15922, + 15929 + ], + "loc": { + "start": { + "line": 490, + "column": 24 + }, + "end": { + "line": 490, + "column": 31 + } + } + }, + "range": [ + 15918, + 15929 + ], + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 15932, + 15937 + ], + "loc": { + "start": { + "line": 490, + "column": 34 + }, + "end": { + "line": 490, + "column": 39 + } + } + }, + "range": [ + 15918, + 15937 + ], + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 39 + } + } + }, + "range": [ + 15918, + 15938 + ], + "loc": { + "start": { + "line": 490, + "column": 20 + }, + "end": { + "line": 490, + "column": 40 + } + } + } + ], + "range": [ + 15896, + 15956 + ], + "loc": { + "start": { + "line": 489, + "column": 23 + }, + "end": { + "line": 491, + "column": 17 + } + } + }, + "range": [ + 15713, + 15956 + ], + "loc": { + "start": { + "line": 486, + "column": 21 + }, + "end": { + "line": 491, + "column": 17 + } + } + }, + "range": [ + 15511, + 15956 + ], + "loc": { + "start": { + "line": 482, + "column": 16 + }, + "end": { + "line": 491, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Check non-empty-text or empty-text option", + "range": [ + 15450, + 15494 + ], + "loc": { + "start": { + "line": 481, + "column": 16 + }, + "end": { + "line": 481, + "column": 60 + } + } + } + ] + } + ], + "range": [ + 15432, + 15970 + ], + "loc": { + "start": { + "line": 480, + "column": 19 + }, + "end": { + "line": 492, + "column": 13 + } + } + }, + "range": [ + 15315, + 15970 + ], + "loc": { + "start": { + "line": 478, + "column": 12 + }, + "end": { + "line": 492, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15983, + 15987 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 493, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setCheckListValues", + "range": [ + 15988, + 16006 + ], + "loc": { + "start": { + "line": 493, + "column": 17 + }, + "end": { + "line": 493, + "column": 35 + } + } + }, + "range": [ + 15983, + 16006 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 493, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "chk", + "range": [ + 16007, + 16010 + ], + "loc": { + "start": { + "line": 493, + "column": 36 + }, + "end": { + "line": 493, + "column": 39 + } + } + } + ], + "range": [ + 15983, + 16011 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 493, + "column": 40 + } + } + }, + "range": [ + 15983, + 16012 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 493, + "column": 41 + } + } + } + ], + "range": [ + 15106, + 16022 + ], + "loc": { + "start": { + "line": 472, + "column": 40 + }, + "end": { + "line": 494, + "column": 9 + } + } + }, + "range": [ + 15074, + 16022 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 494, + "column": 9 + } + } + } + ], + "range": [ + 14734, + 16028 + ], + "loc": { + "start": { + "line": 459, + "column": 41 + }, + "end": { + "line": 495, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 14710, + 16028 + ], + "loc": { + "start": { + "line": 459, + "column": 17 + }, + "end": { + "line": 495, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 14697, + 16028 + ], + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 495, + "column": 5 + } + }, + "leadingComments": [ + { + "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": [ + 14523, + 14692 + ], + "loc": { + "start": { + "line": 454, + "column": 4 + }, + "end": { + "line": 458, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", + "range": [ + 16034, + 16201 + ], + "loc": { + "start": { + "line": 497, + "column": 4 + }, + "end": { + "line": 501, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getValues", + "range": [ + 16206, + 16215 + ], + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 502, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16216, + 16224 + ], + "loc": { + "start": { + "line": 502, + "column": 14 + }, + "end": { + "line": 502, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 16240, + 16242 + ], + "loc": { + "start": { + "line": 503, + "column": 12 + }, + "end": { + "line": 503, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16245, + 16249 + ], + "loc": { + "start": { + "line": 503, + "column": 17 + }, + "end": { + "line": 503, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 16250, + 16252 + ], + "loc": { + "start": { + "line": 503, + "column": 22 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "range": [ + 16245, + 16252 + ], + "loc": { + "start": { + "line": 503, + "column": 17 + }, + "end": { + "line": 503, + "column": 24 + } + } + }, + "range": [ + 16240, + 16252 + ], + "loc": { + "start": { + "line": 503, + "column": 12 + }, + "end": { + "line": 503, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 16236, + 16253 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "flt", + "range": [ + 16266, + 16269 + ], + "loc": { + "start": { + "line": 504, + "column": 12 + }, + "end": { + "line": 504, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16272, + 16274 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 16275, + 16291 + ], + "loc": { + "start": { + "line": 504, + "column": 21 + }, + "end": { + "line": 504, + "column": 37 + } + } + }, + "range": [ + 16272, + 16291 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16292, + 16300 + ], + "loc": { + "start": { + "line": 504, + "column": 38 + }, + "end": { + "line": 504, + "column": 46 + } + } + } + ], + "range": [ + 16272, + 16301 + ], + "loc": { + "start": { + "line": 504, + "column": 18 + }, + "end": { + "line": 504, + "column": 47 + } + } + }, + "range": [ + 16266, + 16301 + ], + "loc": { + "start": { + "line": 504, + "column": 12 + }, + "end": { + "line": 504, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 16262, + 16302 + ], + "loc": { + "start": { + "line": 504, + "column": 8 + }, + "end": { + "line": 504, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltAttr", + "range": [ + 16315, + 16322 + ], + "loc": { + "start": { + "line": 505, + "column": 12 + }, + "end": { + "line": 505, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 16325, + 16328 + ], + "loc": { + "start": { + "line": 505, + "column": 22 + }, + "end": { + "line": 505, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 16329, + 16341 + ], + "loc": { + "start": { + "line": 505, + "column": 26 + }, + "end": { + "line": 505, + "column": 38 + } + } + }, + "range": [ + 16325, + 16341 + ], + "loc": { + "start": { + "line": 505, + "column": 22 + }, + "end": { + "line": 505, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 16342, + 16349 + ], + "loc": { + "start": { + "line": 505, + "column": 39 + }, + "end": { + "line": 505, + "column": 46 + } + } + } + ], + "range": [ + 16325, + 16350 + ], + "loc": { + "start": { + "line": 505, + "column": 22 + }, + "end": { + "line": 505, + "column": 47 + } + } + }, + "range": [ + 16315, + 16350 + ], + "loc": { + "start": { + "line": 505, + "column": 12 + }, + "end": { + "line": 505, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 16311, + 16351 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "values", + "range": [ + 16364, + 16370 + ], + "loc": { + "start": { + "line": 506, + "column": 12 + }, + "end": { + "line": 506, + "column": 18 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 16373, + 16380 + ], + "loc": { + "start": { + "line": 506, + "column": 21 + }, + "end": { + "line": 506, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltAttr", + "range": [ + 16381, + 16388 + ], + "loc": { + "start": { + "line": 506, + "column": 29 + }, + "end": { + "line": 506, + "column": 36 + } + } + } + ], + "range": [ + 16373, + 16389 + ], + "loc": { + "start": { + "line": 506, + "column": 21 + }, + "end": { + "line": 506, + "column": 37 + } + } + }, + "consequent": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 16392, + 16394 + ], + "loc": { + "start": { + "line": 506, + "column": 40 + }, + "end": { + "line": 506, + "column": 42 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "fltAttr", + "range": [ + 16397, + 16404 + ], + "loc": { + "start": { + "line": 506, + "column": 45 + }, + "end": { + "line": 506, + "column": 52 + } + } + }, + "range": [ + 16373, + 16404 + ], + "loc": { + "start": { + "line": 506, + "column": 21 + }, + "end": { + "line": 506, + "column": 52 + } + } + }, + "range": [ + 16364, + 16404 + ], + "loc": { + "start": { + "line": 506, + "column": 12 + }, + "end": { + "line": 506, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 16360, + 16405 + ], + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 506, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "removes last operator ||", + "range": [ + 16414, + 16440 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 16449, + 16455 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 14 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 16458, + 16464 + ], + "loc": { + "start": { + "line": 508, + "column": 17 + }, + "end": { + "line": 508, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "substr", + "range": [ + 16465, + 16471 + ], + "loc": { + "start": { + "line": 508, + "column": 24 + }, + "end": { + "line": 508, + "column": 30 + } + } + }, + "range": [ + 16458, + 16471 + ], + "loc": { + "start": { + "line": 508, + "column": 17 + }, + "end": { + "line": 508, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 16472, + 16473 + ], + "loc": { + "start": { + "line": 508, + "column": 31 + }, + "end": { + "line": 508, + "column": 32 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 16475, + 16481 + ], + "loc": { + "start": { + "line": 508, + "column": 34 + }, + "end": { + "line": 508, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 16482, + 16488 + ], + "loc": { + "start": { + "line": 508, + "column": 41 + }, + "end": { + "line": 508, + "column": 47 + } + } + }, + "range": [ + 16475, + 16488 + ], + "loc": { + "start": { + "line": 508, + "column": 34 + }, + "end": { + "line": 508, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 16491, + 16492 + ], + "loc": { + "start": { + "line": 508, + "column": 50 + }, + "end": { + "line": 508, + "column": 51 + } + } + }, + "range": [ + 16475, + 16492 + ], + "loc": { + "start": { + "line": 508, + "column": 34 + }, + "end": { + "line": 508, + "column": 51 + } + } + } + ], + "range": [ + 16458, + 16493 + ], + "loc": { + "start": { + "line": 508, + "column": 17 + }, + "end": { + "line": 508, + "column": 52 + } + } + }, + "range": [ + 16449, + 16493 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 52 + } + } + }, + "range": [ + 16449, + 16494 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "removes last operator ||", + "range": [ + 16414, + 16440 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "turn || separated values into array", + "range": [ + 16503, + 16540 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 45 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 16549, + 16555 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 14 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 16558, + 16564 + ], + "loc": { + "start": { + "line": 510, + "column": 17 + }, + "end": { + "line": 510, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 16565, + 16570 + ], + "loc": { + "start": { + "line": 510, + "column": 24 + }, + "end": { + "line": 510, + "column": 29 + } + } + }, + "range": [ + 16558, + 16570 + ], + "loc": { + "start": { + "line": 510, + "column": 17 + }, + "end": { + "line": 510, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 16571, + 16574 + ], + "loc": { + "start": { + "line": 510, + "column": 30 + }, + "end": { + "line": 510, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16577, + 16579 + ], + "loc": { + "start": { + "line": 510, + "column": 36 + }, + "end": { + "line": 510, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 16580, + 16590 + ], + "loc": { + "start": { + "line": 510, + "column": 39 + }, + "end": { + "line": 510, + "column": 49 + } + } + }, + "range": [ + 16577, + 16590 + ], + "loc": { + "start": { + "line": 510, + "column": 36 + }, + "end": { + "line": 510, + "column": 49 + } + } + }, + "range": [ + 16571, + 16590 + ], + "loc": { + "start": { + "line": 510, + "column": 30 + }, + "end": { + "line": 510, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 16593, + 16596 + ], + "loc": { + "start": { + "line": 510, + "column": 52 + }, + "end": { + "line": 510, + "column": 55 + } + } + }, + "range": [ + 16571, + 16596 + ], + "loc": { + "start": { + "line": 510, + "column": 30 + }, + "end": { + "line": 510, + "column": 55 + } + } + } + ], + "range": [ + 16558, + 16597 + ], + "loc": { + "start": { + "line": 510, + "column": 17 + }, + "end": { + "line": 510, + "column": 56 + } + } + }, + "range": [ + 16549, + 16597 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 56 + } + } + }, + "range": [ + 16549, + 16598 + ], + "loc": { + "start": { + "line": 510, + "column": 8 + }, + "end": { + "line": 510, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "turn || separated values into array", + "range": [ + 16503, + 16540 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 45 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "values", + "range": [ + 16615, + 16621 + ], + "loc": { + "start": { + "line": 512, + "column": 15 + }, + "end": { + "line": 512, + "column": 21 + } + } + }, + "range": [ + 16608, + 16622 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 22 + } + } + } + ], + "range": [ + 16226, + 16628 + ], + "loc": { + "start": { + "line": 502, + "column": 24 + }, + "end": { + "line": 513, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16215, + 16628 + ], + "loc": { + "start": { + "line": 502, + "column": 13 + }, + "end": { + "line": 513, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 16206, + 16628 + ], + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 513, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", + "range": [ + 16034, + 16201 + ], + "loc": { + "start": { + "line": 497, + "column": 4 + }, + "end": { + "line": 501, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy CheckList instance\n ", + "range": [ + 16634, + 16679 + ], + "loc": { + "start": { + "line": 515, + "column": 4 + }, + "end": { + "line": 517, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 16684, + 16691 + ], + "loc": { + "start": { + "line": 518, + "column": 4 + }, + "end": { + "line": 518, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16704, + 16708 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 519, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 16709, + 16716 + ], + "loc": { + "start": { + "line": 519, + "column": 13 + }, + "end": { + "line": 519, + "column": 20 + } + } + }, + "range": [ + 16704, + 16716 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 519, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 16717, + 16720 + ], + "loc": { + "start": { + "line": 519, + "column": 21 + }, + "end": { + "line": 519, + "column": 24 + } + } + }, + "range": [ + 16704, + 16720 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 519, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "build-checklist-filter", + "raw": "'build-checklist-filter'", + "range": [ + 16735, + 16759 + ], + "loc": { + "start": { + "line": 520, + "column": 13 + }, + "end": { + "line": 520, + "column": 37 + } + } + } + ], + "range": [ + 16734, + 16760 + ], + "loc": { + "start": { + "line": 520, + "column": 12 + }, + "end": { + "line": 520, + "column": 38 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 16775, + 16777 + ], + "loc": { + "start": { + "line": 521, + "column": 13 + }, + "end": { + "line": 521, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16779, + 16787 + ], + "loc": { + "start": { + "line": 521, + "column": 17 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 16789, + 16797 + ], + "loc": { + "start": { + "line": 521, + "column": 27 + }, + "end": { + "line": 521, + "column": 35 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16802, + 16806 + ], + "loc": { + "start": { + "line": 521, + "column": 40 + }, + "end": { + "line": 521, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 16807, + 16812 + ], + "loc": { + "start": { + "line": 521, + "column": 45 + }, + "end": { + "line": 521, + "column": 50 + } + } + }, + "range": [ + 16802, + 16812 + ], + "loc": { + "start": { + "line": 521, + "column": 40 + }, + "end": { + "line": 521, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16813, + 16821 + ], + "loc": { + "start": { + "line": 521, + "column": 51 + }, + "end": { + "line": 521, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 16823, + 16831 + ], + "loc": { + "start": { + "line": 521, + "column": 61 + }, + "end": { + "line": 521, + "column": 69 + } + } + } + ], + "range": [ + 16802, + 16832 + ], + "loc": { + "start": { + "line": 521, + "column": 40 + }, + "end": { + "line": 521, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 16774, + 16832 + ], + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 70 + } + } + } + ], + "range": [ + 16704, + 16842 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 522, + "column": 9 + } + } + }, + "range": [ + 16704, + 16843 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 522, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16852, + 16856 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 16857, + 16864 + ], + "loc": { + "start": { + "line": 523, + "column": 13 + }, + "end": { + "line": 523, + "column": 20 + } + } + }, + "range": [ + 16852, + 16864 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 16865, + 16868 + ], + "loc": { + "start": { + "line": 523, + "column": 21 + }, + "end": { + "line": 523, + "column": 24 + } + } + }, + "range": [ + 16852, + 16868 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "select-checklist-options", + "raw": "'select-checklist-options'", + "range": [ + 16883, + 16909 + ], + "loc": { + "start": { + "line": 524, + "column": 13 + }, + "end": { + "line": 524, + "column": 39 + } + } + } + ], + "range": [ + 16882, + 16910 + ], + "loc": { + "start": { + "line": 524, + "column": 12 + }, + "end": { + "line": 524, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 16925, + 16927 + ], + "loc": { + "start": { + "line": 525, + "column": 13 + }, + "end": { + "line": 525, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16929, + 16937 + ], + "loc": { + "start": { + "line": 525, + "column": 17 + }, + "end": { + "line": 525, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 16939, + 16945 + ], + "loc": { + "start": { + "line": 525, + "column": 27 + }, + "end": { + "line": 525, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16950, + 16954 + ], + "loc": { + "start": { + "line": 525, + "column": 38 + }, + "end": { + "line": 525, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 16955, + 16968 + ], + "loc": { + "start": { + "line": 525, + "column": 43 + }, + "end": { + "line": 525, + "column": 56 + } + } + }, + "range": [ + 16950, + 16968 + ], + "loc": { + "start": { + "line": 525, + "column": 38 + }, + "end": { + "line": 525, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 16969, + 16977 + ], + "loc": { + "start": { + "line": 525, + "column": 57 + }, + "end": { + "line": 525, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 16979, + 16985 + ], + "loc": { + "start": { + "line": 525, + "column": 67 + }, + "end": { + "line": 525, + "column": 73 + } + } + } + ], + "range": [ + 16950, + 16986 + ], + "loc": { + "start": { + "line": 525, + "column": 38 + }, + "end": { + "line": 525, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 16924, + 16986 + ], + "loc": { + "start": { + "line": 525, + "column": 12 + }, + "end": { + "line": 525, + "column": 74 + } + } + } + ], + "range": [ + 16852, + 16996 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 526, + "column": 9 + } + } + }, + "range": [ + 16852, + 16997 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 526, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17006, + 17010 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 17011, + 17018 + ], + "loc": { + "start": { + "line": 527, + "column": 13 + }, + "end": { + "line": 527, + "column": 20 + } + } + }, + "range": [ + 17006, + 17018 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 17019, + 17022 + ], + "loc": { + "start": { + "line": 527, + "column": 21 + }, + "end": { + "line": 527, + "column": 24 + } + } + }, + "range": [ + 17006, + 17022 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 17024, + 17038 + ], + "loc": { + "start": { + "line": 527, + "column": 26 + }, + "end": { + "line": 527, + "column": 40 + } + } + } + ], + "range": [ + 17023, + 17039 + ], + "loc": { + "start": { + "line": 527, + "column": 25 + }, + "end": { + "line": 527, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17047, + 17051 + ], + "loc": { + "start": { + "line": 527, + "column": 49 + }, + "end": { + "line": 527, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 17052, + 17062 + ], + "loc": { + "start": { + "line": 527, + "column": 54 + }, + "end": { + "line": 527, + "column": 64 + } + } + }, + "range": [ + 17047, + 17062 + ], + "loc": { + "start": { + "line": 527, + "column": 49 + }, + "end": { + "line": 527, + "column": 64 + } + } + }, + "arguments": [], + "range": [ + 17047, + 17064 + ], + "loc": { + "start": { + "line": 527, + "column": 49 + }, + "end": { + "line": 527, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 17041, + 17064 + ], + "loc": { + "start": { + "line": 527, + "column": 43 + }, + "end": { + "line": 527, + "column": 66 + } + } + } + ], + "range": [ + 17006, + 17065 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 67 + } + } + }, + "range": [ + 17006, + 17066 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 68 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17076, + 17080 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 17081, + 17092 + ], + "loc": { + "start": { + "line": 529, + "column": 13 + }, + "end": { + "line": 529, + "column": 24 + } + } + }, + "range": [ + 17076, + 17092 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 17095, + 17100 + ], + "loc": { + "start": { + "line": 529, + "column": 27 + }, + "end": { + "line": 529, + "column": 32 + } + } + }, + "range": [ + 17076, + 17100 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 32 + } + } + }, + "range": [ + 17076, + 17101 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 33 + } + } + } + ], + "range": [ + 16694, + 17107 + ], + "loc": { + "start": { + "line": 518, + "column": 14 + }, + "end": { + "line": 530, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 16691, + 17107 + ], + "loc": { + "start": { + "line": 518, + "column": 11 + }, + "end": { + "line": 530, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 16684, + 17107 + ], + "loc": { + "start": { + "line": 518, + "column": 4 + }, + "end": { + "line": 530, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy CheckList instance\n ", + "range": [ + 16634, + 16679 + ], + "loc": { + "start": { + "line": 515, + "column": 4 + }, + "end": { + "line": 517, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 571, + 17109 + ], + "loc": { + "start": { + "line": 19, + "column": 44 + }, + "end": { + "line": 531, + "column": 1 + } + } + }, + "range": [ + 534, + 17109 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 531, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter UI component\n * @export\n * @class CheckList\n * @extends {BaseDropdown}\n ", + "range": [ + 428, + 526 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 527, + 17109 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 531, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checklist filter UI component\n * @export\n * @class CheckList\n * @extends {BaseDropdown}\n ", + "range": [ + 428, + 526 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 17109 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 531, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Checklist filter UI component\n * @export\n * @class CheckList\n * @extends {BaseDropdown}\n ", + "range": [ + 428, + 526 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 578, + 681 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * List of container DOM elements\n * @type {Array}\n ", + "range": [ + 775, + 857 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the container of the checklist filter (div)\n * @type {String}\n ", + "range": [ + 897, + 1007 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the checklist filter element (ul)\n * @type {String}\n ", + "range": [ + 1119, + 1219 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1324, + 1419 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for a selected item of a checklist (li)\n * @type {String}\n ", + "range": [ + 1532, + 1634 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n ", + "range": [ + 1790, + 1937 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n ", + "range": [ + 2078, + 2180 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 2341, + 2439 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for container element ID\n * @type {String}\n * @private\n ", + "range": [ + 2547, + 2651 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 96, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Checklist option click event handler\n * @param {Event} evt\n * @private\n ", + "range": [ + 2694, + 2791 + ], + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n * @private\n ", + "range": [ + 2998, + 3125 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh all checklist filters\n ", + "range": [ + 3476, + 3524 + ], + "loc": { + "start": { + "line": 129, + "column": 4 + }, + "end": { + "line": 131, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n ", + "range": [ + 3658, + 3889 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "filter is appended in desired element", + "range": [ + 4260, + 4299 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 47 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5173, + 5190 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Build checklist UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 5235, + 5390 + ], + "loc": { + "start": { + "line": 186, + "column": 4 + }, + "end": { + "line": 190, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5579, + 5596 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5629, + 5646 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6005, + 6022 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 25 + } + } + }, + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 6086, + 6111 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 33 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6598, + 6615 + ], + "loc": { + "start": { + "line": 229, + "column": 12 + }, + "end": { + "line": 229, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " always visible rows don't need to appear on selects as always", + "range": [ + 6755, + 6819 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 236, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " valid", + "range": [ + 6832, + 6840 + ], + "loc": { + "start": { + "line": 237, + "column": 12 + }, + "end": { + "line": 237, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 7046, + 7079 + ], + "loc": { + "start": { + "line": 245, + "column": 12 + }, + "end": { + "line": 245, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 7191, + 7223 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 44 + } + } + }, + { + "type": "Line", + "value": "Vary Peter's patch", + "range": [ + 7673, + 7693 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 36 + } + } + }, + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 7780, + 7821 + ], + "loc": { + "start": { + "line": 264, + "column": 16 + }, + "end": { + "line": 264, + "column": 57 + } + } + }, + { + "type": "Line", + "value": "sort options", + "range": [ + 8508, + 8522 + ], + "loc": { + "start": { + "line": 282, + "column": 8 + }, + "end": { + "line": 282, + "column": 22 + } + } + }, + { + "type": "Block", + "value": "*\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 8975, + 9121 + ], + "loc": { + "start": { + "line": 299, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "item value", + "range": [ + 9319, + 9331 + ], + "loc": { + "start": { + "line": 310, + "column": 36 + }, + "end": { + "line": 310, + "column": 48 + } + } + }, + { + "type": "Line", + "value": "item text", + "range": [ + 9393, + 9404 + ], + "loc": { + "start": { + "line": 311, + "column": 61 + }, + "end": { + "line": 311, + "column": 72 + } + } + }, + { + "type": "Line", + "value": "item is hidden", + "range": [ + 10073, + 10089 + ], + "loc": { + "start": { + "line": 328, + "column": 16 + }, + "end": { + "line": 328, + "column": 32 + } + } + }, + { + "type": "Block", + "value": "*\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n ", + "range": [ + 10166, + 10316 + ], + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 339, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n * @private\n ", + "range": [ + 11434, + 11569 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 379, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "checked item value", + "range": [ + 11705, + 11725 + ], + "loc": { + "start": { + "line": 386, + "column": 32 + }, + "end": { + "line": 386, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " TODO: provide helper to extract column index, ugly!", + "range": [ + 11734, + 11788 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 62 + } + } + }, + { + "type": "Line", + "value": "filter value (ul tag)", + "range": [ + 12132, + 12155 + ], + "loc": { + "start": { + "line": 395, + "column": 48 + }, + "end": { + "line": 395, + "column": 71 + } + } + }, + { + "type": "Line", + "value": "selected items (ul tag)", + "range": [ + 12208, + 12233 + ], + "loc": { + "start": { + "line": 396, + "column": 52 + }, + "end": { + "line": 396, + "column": 77 + } + } + }, + { + "type": "Line", + "value": "show all item", + "range": [ + 12272, + 12287 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 27 + } + } + }, + { + "type": "Line", + "value": "items indexes", + "range": [ + 12400, + 12415 + ], + "loc": { + "start": { + "line": 402, + "column": 20 + }, + "end": { + "line": 402, + "column": 35 + } + } + }, + { + "type": "Line", + "value": "checked items loop", + "range": [ + 12503, + 12523 + ], + "loc": { + "start": { + "line": 404, + "column": 20 + }, + "end": { + "line": 404, + "column": 40 + } + } + }, + { + "type": "Line", + "value": "checked item", + "range": [ + 12612, + 12626 + ], + "loc": { + "start": { + "line": 406, + "column": 24 + }, + "end": { + "line": 406, + "column": 38 + } + } + }, + { + "type": "Line", + "value": "1st option unchecked", + "range": [ + 13471, + 13493 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 38 + } + } + }, + { + "type": "Line", + "value": "removes values and indexes", + "range": [ + 13855, + 13883 + ], + "loc": { + "start": { + "line": 436, + "column": 17 + }, + "end": { + "line": 436, + "column": 45 + } + } + }, + { + "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": [ + 14523, + 14692 + ], + "loc": { + "start": { + "line": 454, + "column": 4 + }, + "end": { + "line": 458, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Check non-empty-text or empty-text option", + "range": [ + 15450, + 15494 + ], + "loc": { + "start": { + "line": 481, + "column": 16 + }, + "end": { + "line": 481, + "column": 60 + } + } + }, + { + "type": "Block", + "value": "*\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n ", + "range": [ + 16034, + 16201 + ], + "loc": { + "start": { + "line": 497, + "column": 4 + }, + "end": { + "line": 501, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "removes last operator ||", + "range": [ + 16414, + 16440 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "turn || separated values into array", + "range": [ + 16503, + 16540 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 45 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy CheckList instance\n ", + "range": [ + 16634, + 16679 + ], + "loc": { + "start": { + "line": 515, + "column": 4 + }, + "end": { + "line": 517, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/clearButton.js.json b/docs/ast/source/modules/clearButton.js.json new file mode 100644 index 00000000..63aeb357 --- /dev/null +++ b/docs/ast/source/modules/clearButton.js.json @@ -0,0 +1,7074 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 88, + 96 + ], + "loc": { + "start": { + "line": 2, + "column": 52 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + "range": [ + 36, + 97 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 119, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + "range": [ + 98, + 130 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 139, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 139, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "range": [ + 139, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 157, + 170 + ], + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + "range": [ + 131, + 171 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 173, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "ClearButton", + "range": [ + 223, + 234 + ], + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 243, + 250 + ], + "loc": { + "start": { + "line": 9, + "column": 33 + }, + "end": { + "line": 9, + "column": 40 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 368, + 379 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 380, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 394, + 399 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 400, + 402 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "btnReset", + "raw": "'btnReset'", + "range": [ + 404, + 414 + ], + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 28 + } + } + } + ], + "range": [ + 394, + 415 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + "range": [ + 394, + 416 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 430, + 431 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 434, + 438 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 439, + 445 + ], + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + "range": [ + 434, + 445 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + "range": [ + 430, + 445 + ], + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 426, + 446 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", + "range": [ + 456, + 529 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 538, + 542 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 543, + 551 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + "range": [ + 538, + 551 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 554, + 565 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 566, + 567 + ], + "loc": { + "start": { + "line": 24, + "column": 36 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset_target_id", + "range": [ + 568, + 587 + ], + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 57 + } + } + }, + "range": [ + 566, + 587 + ], + "loc": { + "start": { + "line": 24, + "column": 36 + }, + "end": { + "line": 24, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 589, + 593 + ], + "loc": { + "start": { + "line": 24, + "column": 59 + }, + "end": { + "line": 24, + "column": 63 + } + } + } + ], + "range": [ + 554, + 594 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 64 + } + } + }, + "range": [ + 538, + 594 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 64 + } + } + }, + "range": [ + 538, + 595 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", + "range": [ + 456, + 529 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear button container element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 605, + 712 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 721, + 725 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 726, + 735 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + "range": [ + 721, + 735 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 738, + 742 + ], + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + "range": [ + 721, + 742 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + "range": [ + 721, + 743 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button container element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 605, + 712 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 753, + 850 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 859, + 863 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "element", + "range": [ + 864, + 871 + ], + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + "range": [ + 859, + 871 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 874, + 878 + ], + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 859, + 878 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 859, + 879 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 753, + 850 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", + "range": [ + 889, + 967 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 976, + 980 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 981, + 985 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + "range": [ + 976, + 985 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 988, + 999 + ], + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1000, + 1001 + ], + "loc": { + "start": { + "line": 44, + "column": 32 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset_text", + "range": [ + 1002, + 1016 + ], + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 48 + } + } + }, + "range": [ + 1000, + 1016 + ], + "loc": { + "start": { + "line": 44, + "column": 32 + }, + "end": { + "line": 44, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": "Reset", + "raw": "'Reset'", + "range": [ + 1018, + 1025 + ], + "loc": { + "start": { + "line": 44, + "column": 50 + }, + "end": { + "line": 44, + "column": 57 + } + } + } + ], + "range": [ + 988, + 1026 + ], + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 58 + } + } + }, + "range": [ + 976, + 1026 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 58 + } + } + }, + "range": [ + 976, + 1027 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", + "range": [ + 889, + 967 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for reset button\n * @type {String}\n ", + "range": [ + 1037, + 1116 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1125, + 1129 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1130, + 1138 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + "range": [ + 1125, + 1138 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1141, + 1152 + ], + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 50, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1153, + 1154 + ], + "loc": { + "start": { + "line": 50, + "column": 36 + }, + "end": { + "line": 50, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset_css_class", + "range": [ + 1155, + 1174 + ], + "loc": { + "start": { + "line": 50, + "column": 38 + }, + "end": { + "line": 50, + "column": 57 + } + } + }, + "range": [ + 1153, + 1174 + ], + "loc": { + "start": { + "line": 50, + "column": 36 + }, + "end": { + "line": 50, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": "reset", + "raw": "'reset'", + "range": [ + 1176, + 1183 + ], + "loc": { + "start": { + "line": 50, + "column": 59 + }, + "end": { + "line": 50, + "column": 66 + } + } + } + ], + "range": [ + 1141, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 50, + "column": 67 + } + } + }, + "range": [ + 1125, + 1184 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 67 + } + } + }, + "range": [ + 1125, + 1185 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for reset button\n * @type {String}\n ", + "range": [ + 1037, + 1116 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", + "range": [ + 1195, + 1281 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1290, + 1294 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tooltip", + "range": [ + 1295, + 1302 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 20 + } + } + }, + "range": [ + 1290, + 1302 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 20 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1305, + 1306 + ], + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset_tooltip", + "range": [ + 1307, + 1324 + ], + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 42 + } + } + }, + "range": [ + 1305, + 1324 + ], + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 42 + } + } + }, + "right": { + "type": "Literal", + "value": "Clear filters", + "raw": "'Clear filters'", + "range": [ + 1328, + 1343 + ], + "loc": { + "start": { + "line": 56, + "column": 46 + }, + "end": { + "line": 56, + "column": 61 + } + } + }, + "range": [ + 1305, + 1343 + ], + "loc": { + "start": { + "line": 56, + "column": 23 + }, + "end": { + "line": 56, + "column": 61 + } + } + }, + "range": [ + 1290, + 1343 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 61 + } + } + }, + "range": [ + 1290, + 1344 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", + "range": [ + 1195, + 1281 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", + "range": [ + 1354, + 1446 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1455, + 1459 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 1460, + 1464 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 17 + } + } + }, + "range": [ + 1455, + 1464 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1467, + 1478 + ], + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1479, + 1480 + ], + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset_html", + "range": [ + 1481, + 1495 + ], + "loc": { + "start": { + "line": 62, + "column": 34 + }, + "end": { + "line": 62, + "column": 48 + } + } + }, + "range": [ + 1479, + 1495 + ], + "loc": { + "start": { + "line": 62, + "column": 32 + }, + "end": { + "line": 62, + "column": 48 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1511, + 1513 + ], + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 63, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 1514, + 1525 + ], + "loc": { + "start": { + "line": 63, + "column": 17 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + "range": [ + 1511, + 1525 + ], + "loc": { + "start": { + "line": 63, + "column": 14 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 1510, + 1525 + ], + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1528, + 1532 + ], + "loc": { + "start": { + "line": 63, + "column": 31 + }, + "end": { + "line": 63, + "column": 35 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "'\" />'", + "range": [ + 1659, + 1665 + ], + "loc": { + "start": { + "line": 65, + "column": 50 + }, + "end": { + "line": 65, + "column": 56 + } + } + }, + "range": [ + 1551, + 1665 + ], + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 65, + "column": 56 + } + } + }, + "range": [ + 1510, + 1665 + ], + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 65, + "column": 56 + } + } + } + ], + "range": [ + 1467, + 1667 + ], + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 65, + "column": 58 + } + } + }, + "range": [ + 1455, + 1667 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 65, + "column": 58 + } + } + }, + "range": [ + 1455, + 1668 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 65, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", + "range": [ + 1354, + 1446 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 384, + 1674 + ], + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 379, + 1674 + ], + "loc": { + "start": { + "line": 15, + "column": 15 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 368, + 1674 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 66, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 258, + 363 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Click event handler for clear button\n * @private\n ", + "range": [ + 1680, + 1751 + ], + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onClick", + "range": [ + 1756, + 1763 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1781, + 1785 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 1786, + 1795 + ], + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + "range": [ + 1781, + 1795 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 1781, + 1797 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 1780, + 1797 + ], + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1813, + 1820 + ], + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 74, + "column": 19 + } + } + } + ], + "range": [ + 1799, + 1830 + ], + "loc": { + "start": { + "line": 73, + "column": 31 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1776, + 1830 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 75, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1839, + 1843 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1844, + 1846 + ], + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + "range": [ + 1839, + 1846 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearFilters", + "range": [ + 1847, + 1859 + ], + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + "range": [ + 1839, + 1859 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 1839, + 1861 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 30 + } + } + }, + "range": [ + 1839, + 1862 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 31 + } + } + } + ], + "range": [ + 1766, + 1868 + ], + "loc": { + "start": { + "line": 72, + "column": 14 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1763, + 1868 + ], + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 77, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1756, + 1868 + ], + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 77, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Click event handler for clear button\n * @private\n ", + "range": [ + 1680, + 1751 + ], + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize clear button component\n ", + "range": [ + 1874, + 1926 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 81, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 1931, + 1935 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 82, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 1952, + 1954 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1957, + 1961 + ], + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1962, + 1964 + ], + "loc": { + "start": { + "line": 83, + "column": 22 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "range": [ + 1957, + 1964 + ], + "loc": { + "start": { + "line": 83, + "column": 17 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "range": [ + 1952, + 1964 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 1948, + 1965 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1979, + 1983 + ], + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1984, + 1995 + ], + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + "range": [ + 1979, + 1995 + ], + "loc": { + "start": { + "line": 85, + "column": 12 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2011, + 2018 + ], + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 19 + } + } + } + ], + "range": [ + 1997, + 2028 + ], + "loc": { + "start": { + "line": 85, + "column": 30 + }, + "end": { + "line": 87, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1975, + 2028 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 87, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 2042, + 2046 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2049, + 2058 + ], + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 2059, + 2065 + ], + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 89, + "column": 35 + } + } + } + ], + "range": [ + 2049, + 2066 + ], + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 36 + } + } + }, + "range": [ + 2042, + 2066 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 2038, + 2067 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 37 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " reset button is added to defined element", + "range": [ + 2077, + 2120 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 51 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2134, + 2138 + ], + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2139, + 2147 + ], + "loc": { + "start": { + "line": 92, + "column": 18 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + "range": [ + 2134, + 2147 + ], + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 2133, + 2147 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2163, + 2165 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 2166, + 2176 + ], + "loc": { + "start": { + "line": 93, + "column": 15 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + "range": [ + 2163, + 2176 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 2163, + 2178 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + "range": [ + 2163, + 2179 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 28 + } + } + } + ], + "range": [ + 2149, + 2189 + ], + "loc": { + "start": { + "line": 92, + "column": 28 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2129, + 2189 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " reset button is added to defined element", + "range": [ + 2077, + 2120 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 51 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2202, + 2210 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2214, + 2218 + ], + "loc": { + "start": { + "line": 95, + "column": 24 + }, + "end": { + "line": 95, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2219, + 2227 + ], + "loc": { + "start": { + "line": 95, + "column": 29 + }, + "end": { + "line": 95, + "column": 37 + } + } + }, + "range": [ + 2214, + 2227 + ], + "loc": { + "start": { + "line": 95, + "column": 24 + }, + "end": { + "line": 95, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 2213, + 2227 + ], + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 37 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2230, + 2232 + ], + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 2233, + 2237 + ], + "loc": { + "start": { + "line": 95, + "column": 43 + }, + "end": { + "line": 95, + "column": 47 + } + } + }, + "range": [ + 2230, + 2237 + ], + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 47 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 2240, + 2243 + ], + "loc": { + "start": { + "line": 95, + "column": 50 + }, + "end": { + "line": 95, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2244, + 2248 + ], + "loc": { + "start": { + "line": 95, + "column": 54 + }, + "end": { + "line": 95, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2249, + 2257 + ], + "loc": { + "start": { + "line": 95, + "column": 59 + }, + "end": { + "line": 95, + "column": 67 + } + } + }, + "range": [ + 2244, + 2257 + ], + "loc": { + "start": { + "line": 95, + "column": 54 + }, + "end": { + "line": 95, + "column": 67 + } + } + } + ], + "range": [ + 2240, + 2258 + ], + "loc": { + "start": { + "line": 95, + "column": 50 + }, + "end": { + "line": 95, + "column": 68 + } + } + }, + "range": [ + 2213, + 2258 + ], + "loc": { + "start": { + "line": 95, + "column": 23 + }, + "end": { + "line": 95, + "column": 68 + } + } + }, + "range": [ + 2202, + 2258 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 68 + } + } + } + ], + "kind": "let", + "range": [ + 2198, + 2259 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 69 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2268, + 2276 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2277, + 2288 + ], + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 28 + } + } + }, + "range": [ + 2268, + 2288 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 2289, + 2293 + ], + "loc": { + "start": { + "line": 96, + "column": 29 + }, + "end": { + "line": 96, + "column": 33 + } + } + } + ], + "range": [ + 2268, + 2294 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 34 + } + } + }, + "range": [ + 2268, + 2295 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2310, + 2314 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 2315, + 2319 + ], + "loc": { + "start": { + "line": 98, + "column": 18 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + "range": [ + 2310, + 2319 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 2309, + 2319 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltReset", + "range": [ + 2339, + 2347 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2350, + 2359 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "a", + "raw": "'a'", + "range": [ + 2360, + 2363 + ], + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 40 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 2366, + 2372 + ], + "loc": { + "start": { + "line": 99, + "column": 43 + }, + "end": { + "line": 99, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "javascript:void(0);", + "raw": "'javascript:void(0);'", + "range": [ + 2374, + 2395 + ], + "loc": { + "start": { + "line": 99, + "column": 51 + }, + "end": { + "line": 99, + "column": 72 + } + } + } + ], + "range": [ + 2365, + 2396 + ], + "loc": { + "start": { + "line": 99, + "column": 42 + }, + "end": { + "line": 99, + "column": 73 + } + } + } + ], + "range": [ + 2350, + 2397 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 74 + } + } + }, + "range": [ + 2339, + 2397 + ], + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 74 + } + } + } + ], + "kind": "let", + "range": [ + 2335, + 2398 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltReset", + "range": [ + 2411, + 2419 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2420, + 2429 + ], + "loc": { + "start": { + "line": 100, + "column": 21 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + "range": [ + 2411, + 2429 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2432, + 2436 + ], + "loc": { + "start": { + "line": 100, + "column": 33 + }, + "end": { + "line": 100, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2437, + 2445 + ], + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2432, + 2445 + ], + "loc": { + "start": { + "line": 100, + "column": 33 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2411, + 2445 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2411, + 2446 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltReset", + "range": [ + 2459, + 2467 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2468, + 2479 + ], + "loc": { + "start": { + "line": 101, + "column": 21 + }, + "end": { + "line": 101, + "column": 32 + } + } + }, + "range": [ + 2459, + 2479 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2480, + 2490 + ], + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2491, + 2495 + ], + "loc": { + "start": { + "line": 101, + "column": 44 + }, + "end": { + "line": 101, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 2496, + 2500 + ], + "loc": { + "start": { + "line": 101, + "column": 49 + }, + "end": { + "line": 101, + "column": 53 + } + } + }, + "range": [ + 2491, + 2500 + ], + "loc": { + "start": { + "line": 101, + "column": 44 + }, + "end": { + "line": 101, + "column": 53 + } + } + } + ], + "range": [ + 2480, + 2501 + ], + "loc": { + "start": { + "line": 101, + "column": 33 + }, + "end": { + "line": 101, + "column": 54 + } + } + } + ], + "range": [ + 2459, + 2502 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 55 + } + } + }, + "range": [ + 2459, + 2503 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2516, + 2520 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2521, + 2532 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "range": [ + 2516, + 2532 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltReset", + "range": [ + 2533, + 2541 + ], + "loc": { + "start": { + "line": 102, + "column": 29 + }, + "end": { + "line": 102, + "column": 37 + } + } + } + ], + "range": [ + 2516, + 2542 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 38 + } + } + }, + "range": [ + 2516, + 2543 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 2556, + 2562 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltReset", + "range": [ + 2563, + 2571 + ], + "loc": { + "start": { + "line": 103, + "column": 19 + }, + "end": { + "line": 103, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 2573, + 2580 + ], + "loc": { + "start": { + "line": 103, + "column": 29 + }, + "end": { + "line": 103, + "column": 36 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2588, + 2592 + ], + "loc": { + "start": { + "line": 103, + "column": 44 + }, + "end": { + "line": 103, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "onClick", + "range": [ + 2593, + 2600 + ], + "loc": { + "start": { + "line": 103, + "column": 49 + }, + "end": { + "line": 103, + "column": 56 + } + } + }, + "range": [ + 2588, + 2600 + ], + "loc": { + "start": { + "line": 103, + "column": 44 + }, + "end": { + "line": 103, + "column": 56 + } + } + }, + "arguments": [], + "range": [ + 2588, + 2602 + ], + "loc": { + "start": { + "line": 103, + "column": 44 + }, + "end": { + "line": 103, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2582, + 2602 + ], + "loc": { + "start": { + "line": 103, + "column": 38 + }, + "end": { + "line": 103, + "column": 58 + } + } + } + ], + "range": [ + 2556, + 2603 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 59 + } + } + }, + "range": [ + 2556, + 2604 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 60 + } + } + } + ], + "range": [ + 2321, + 2614 + ], + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2634, + 2638 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 2639, + 2648 + ], + "loc": { + "start": { + "line": 105, + "column": 17 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "range": [ + 2634, + 2648 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2651, + 2655 + ], + "loc": { + "start": { + "line": 105, + "column": 29 + }, + "end": { + "line": 105, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 2656, + 2660 + ], + "loc": { + "start": { + "line": 105, + "column": 34 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "range": [ + 2651, + 2660 + ], + "loc": { + "start": { + "line": 105, + "column": 29 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "range": [ + 2634, + 2660 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "range": [ + 2634, + 2661 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "resetEl", + "range": [ + 2678, + 2685 + ], + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2688, + 2692 + ], + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 2693, + 2703 + ], + "loc": { + "start": { + "line": 106, + "column": 31 + }, + "end": { + "line": 106, + "column": 41 + } + } + }, + "range": [ + 2688, + 2703 + ], + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 41 + } + } + }, + "range": [ + 2678, + 2703 + ], + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 2674, + 2704 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 2717, + 2723 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "resetEl", + "range": [ + 2724, + 2731 + ], + "loc": { + "start": { + "line": 107, + "column": 19 + }, + "end": { + "line": 107, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 2733, + 2740 + ], + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2748, + 2752 + ], + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "onClick", + "range": [ + 2753, + 2760 + ], + "loc": { + "start": { + "line": 107, + "column": 48 + }, + "end": { + "line": 107, + "column": 55 + } + } + }, + "range": [ + 2748, + 2760 + ], + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 55 + } + } + }, + "arguments": [], + "range": [ + 2748, + 2762 + ], + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 57 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2742, + 2762 + ], + "loc": { + "start": { + "line": 107, + "column": 37 + }, + "end": { + "line": 107, + "column": 57 + } + } + } + ], + "range": [ + 2717, + 2763 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 58 + } + } + }, + "range": [ + 2717, + 2764 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 59 + } + } + } + ], + "range": [ + 2620, + 2774 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + "range": [ + 2305, + 2774 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2783, + 2787 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "element", + "range": [ + 2788, + 2795 + ], + "loc": { + "start": { + "line": 109, + "column": 13 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + "range": [ + 2783, + 2795 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2798, + 2802 + ], + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 2803, + 2813 + ], + "loc": { + "start": { + "line": 109, + "column": 28 + }, + "end": { + "line": 109, + "column": 38 + } + } + }, + "range": [ + 2798, + 2813 + ], + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 38 + } + } + }, + "range": [ + 2783, + 2813 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 38 + } + } + }, + "range": [ + 2783, + 2814 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2823, + 2827 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 2828, + 2837 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "range": [ + 2823, + 2837 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "cont", + "range": [ + 2840, + 2844 + ], + "loc": { + "start": { + "line": 110, + "column": 25 + }, + "end": { + "line": 110, + "column": 29 + } + } + }, + "range": [ + 2823, + 2844 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 29 + } + } + }, + "range": [ + 2823, + 2845 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2855, + 2872 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2881, + 2885 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2886, + 2897 + ], + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 24 + } + } + }, + "range": [ + 2881, + 2897 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2900, + 2904 + ], + "loc": { + "start": { + "line": 113, + "column": 27 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + "range": [ + 2881, + 2904 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + "range": [ + 2881, + 2905 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2855, + 2872 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 1938, + 2911 + ], + "loc": { + "start": { + "line": 82, + "column": 11 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1935, + 2911 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1931, + 2911 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 114, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize clear button component\n ", + "range": [ + 1874, + 1926 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 81, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy ClearButton instance\n ", + "range": [ + 2917, + 2964 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 2969, + 2976 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 119, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2994, + 2998 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2999, + 3010 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 29 + } + } + }, + "range": [ + 2994, + 3010 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 2993, + 3010 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3026, + 3033 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 19 + } + } + } + ], + "range": [ + 3012, + 3043 + ], + "loc": { + "start": { + "line": 120, + "column": 31 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2989, + 3043 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 3052, + 3061 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3062, + 3066 + ], + "loc": { + "start": { + "line": 123, + "column": 18 + }, + "end": { + "line": 123, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "element", + "range": [ + 3067, + 3074 + ], + "loc": { + "start": { + "line": 123, + "column": 23 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "range": [ + 3062, + 3074 + ], + "loc": { + "start": { + "line": 123, + "column": 18 + }, + "end": { + "line": 123, + "column": 30 + } + } + } + ], + "range": [ + 3052, + 3075 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + "range": [ + 3052, + 3076 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 3085, + 3094 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3095, + 3099 + ], + "loc": { + "start": { + "line": 124, + "column": 18 + }, + "end": { + "line": 124, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 3100, + 3109 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 32 + } + } + }, + "range": [ + 3095, + 3109 + ], + "loc": { + "start": { + "line": 124, + "column": 18 + }, + "end": { + "line": 124, + "column": 32 + } + } + } + ], + "range": [ + 3085, + 3110 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 33 + } + } + }, + "range": [ + 3085, + 3111 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3120, + 3124 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "element", + "range": [ + 3125, + 3132 + ], + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 125, + "column": 20 + } + } + }, + "range": [ + 3120, + 3132 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3135, + 3139 + ], + "loc": { + "start": { + "line": 125, + "column": 23 + }, + "end": { + "line": 125, + "column": 27 + } + } + }, + "range": [ + 3120, + 3139 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 27 + } + } + }, + "range": [ + 3120, + 3140 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3149, + 3153 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 3154, + 3163 + ], + "loc": { + "start": { + "line": 126, + "column": 13 + }, + "end": { + "line": 126, + "column": 22 + } + } + }, + "range": [ + 3149, + 3163 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3166, + 3170 + ], + "loc": { + "start": { + "line": 126, + "column": 25 + }, + "end": { + "line": 126, + "column": 29 + } + } + }, + "range": [ + 3149, + 3170 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 29 + } + } + }, + "range": [ + 3149, + 3171 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3180, + 3184 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3185, + 3196 + ], + "loc": { + "start": { + "line": 127, + "column": 13 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + "range": [ + 3180, + 3196 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 3199, + 3204 + ], + "loc": { + "start": { + "line": 127, + "column": 27 + }, + "end": { + "line": 127, + "column": 32 + } + } + }, + "range": [ + 3180, + 3204 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 32 + } + } + }, + "range": [ + 3180, + 3205 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 33 + } + } + } + ], + "range": [ + 2979, + 3211 + ], + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2976, + 3211 + ], + "loc": { + "start": { + "line": 119, + "column": 11 + }, + "end": { + "line": 128, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2969, + 3211 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 128, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy ClearButton instance\n ", + "range": [ + 2917, + 2964 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 251, + 3213 + ], + "loc": { + "start": { + "line": 9, + "column": 41 + }, + "end": { + "line": 129, + "column": 1 + } + } + }, + "range": [ + 217, + 3213 + ], + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 173, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 210, + 3213 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 173, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 3213 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 129, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Clear button UI component\n ", + "range": [ + 173, + 209 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 258, + 363 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Container element ID\n * @type {String}\n ", + "range": [ + 456, + 529 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 23, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear button container element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 605, + 712 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear button element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 753, + 850 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for the clear button\n * @type {String}\n ", + "range": [ + 889, + 967 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for reset button\n * @type {String}\n ", + "range": [ + 1037, + 1116 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Tooltip text for the clear button\n * @type {String}\n ", + "range": [ + 1195, + 1281 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom Html string for the clear button\n * @type {String}\n ", + "range": [ + 1354, + 1446 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Click event handler for clear button\n * @private\n ", + "range": [ + 1680, + 1751 + ], + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 71, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize clear button component\n ", + "range": [ + 1874, + 1926 + ], + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 81, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " reset button is added to defined element", + "range": [ + 2077, + 2120 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 51 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2855, + 2872 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy ClearButton instance\n ", + "range": [ + 2917, + 2964 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/dateType.js.json b/docs/ast/source/modules/dateType.js.json new file mode 100644 index 00000000..6b653e3c --- /dev/null +++ b/docs/ast/source/modules/dateType.js.json @@ -0,0 +1,7196 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "SugarDate", + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Date", + "range": [ + 8, + 12 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + "range": [ + 8, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "sugar-date", + "raw": "'sugar-date'", + "range": [ + 32, + 44 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + "range": [ + 0, + 45 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [], + "source": { + "type": "Literal", + "value": "sugar-date/locales", + "raw": "'sugar-date/locales'", + "range": [ + 53, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + "range": [ + 46, + 74 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 83, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 83, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "range": [ + 83, + 90 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 97, + 109 + ], + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "range": [ + 75, + 110 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isObj", + "range": [ + 119, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isObj", + "range": [ + 119, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + "range": [ + 119, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 126, + 133 + ], + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 126, + 133 + ], + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 126, + 133 + ], + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 22 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 140, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + "range": [ + 111, + 151 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DATE", + "range": [ + 160, + 164 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DATE", + "range": [ + 160, + 164 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 160, + 164 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 171, + 181 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + "range": [ + 152, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 191, + 195 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 191, + 195 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + "range": [ + 191, + 195 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 202, + 211 + ], + "loc": { + "start": { + "line": 6, + "column": 19 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + "range": [ + 183, + 212 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 29 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n ", + "range": [ + 214, + 323 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "DateType", + "range": [ + 337, + 345 + ], + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 21 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 354, + 361 + ], + "loc": { + "start": { + "line": 13, + "column": 30 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 476, + 487 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 488, + 490 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 502, + 507 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 508, + 510 + ], + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "dateType", + "raw": "'dateType'", + "range": [ + 512, + 522 + ], + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 28 + } + } + } + ], + "range": [ + 502, + 523 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + "range": [ + 502, + 524 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Global locale\n * @type {String}\n ", + "range": [ + 534, + 600 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 25, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 609, + 613 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 614, + 620 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + "range": [ + 609, + 620 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 623, + 625 + ], + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 626, + 632 + ], + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + "range": [ + 623, + 632 + ], + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + "range": [ + 609, + 632 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + "range": [ + 609, + 633 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Global locale\n * @type {String}\n ", + "range": [ + 534, + 600 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 25, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sugar Date instance\n * @type {Object}\n ", + "range": [ + 643, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 724, + 728 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "datetime", + "range": [ + 729, + 737 + ], + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + "range": [ + 724, + 737 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "SugarDate", + "range": [ + 740, + 749 + ], + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + "range": [ + 724, + 749 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + "range": [ + 724, + 750 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sugar Date instance\n * @type {Object}\n ", + "range": [ + 643, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 760, + 764 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 765, + 771 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "range": [ + 760, + 771 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 760, + 773 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + "range": [ + 760, + 774 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 22 + } + } + } + ], + "range": [ + 492, + 780 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 35, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 487, + 780 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 35, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 476, + 780 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 35, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of DateType\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 369, + 471 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DateType instance\n ", + "range": [ + 786, + 833 + ], + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 39, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 838, + 842 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 859, + 863 + ], + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 864, + 875 + ], + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + "range": [ + 859, + 875 + ], + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 891, + 898 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 19 + } + } + } + ], + "range": [ + 877, + 908 + ], + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 43, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 855, + 908 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Set global locale", + "range": [ + 918, + 938 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 28 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 947, + 951 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "datetime", + "range": [ + 952, + 960 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 21 + } + } + }, + "range": [ + 947, + 960 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "setLocale", + "range": [ + 961, + 970 + ], + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 31 + } + } + }, + "range": [ + 947, + 970 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 971, + 975 + ], + "loc": { + "start": { + "line": 46, + "column": 32 + }, + "end": { + "line": 46, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 976, + 982 + ], + "loc": { + "start": { + "line": 46, + "column": 37 + }, + "end": { + "line": 46, + "column": 43 + } + } + }, + "range": [ + 971, + 982 + ], + "loc": { + "start": { + "line": 46, + "column": 32 + }, + "end": { + "line": 46, + "column": 43 + } + } + } + ], + "range": [ + 947, + 983 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 44 + } + } + }, + "range": [ + 947, + 984 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Set global locale", + "range": [ + 918, + 938 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 28 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Add formats from column types configuration if any", + "range": [ + 994, + 1047 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 61 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1056, + 1060 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addConfigFormats", + "range": [ + 1061, + 1077 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 29 + } + } + }, + "range": [ + 1056, + 1077 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1078, + 1082 + ], + "loc": { + "start": { + "line": 49, + "column": 30 + }, + "end": { + "line": 49, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1083, + 1085 + ], + "loc": { + "start": { + "line": 49, + "column": 35 + }, + "end": { + "line": 49, + "column": 37 + } + } + }, + "range": [ + 1078, + 1085 + ], + "loc": { + "start": { + "line": 49, + "column": 30 + }, + "end": { + "line": 49, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 1086, + 1094 + ], + "loc": { + "start": { + "line": 49, + "column": 38 + }, + "end": { + "line": 49, + "column": 46 + } + } + }, + "range": [ + 1078, + 1094 + ], + "loc": { + "start": { + "line": 49, + "column": 30 + }, + "end": { + "line": 49, + "column": 46 + } + } + } + ], + "range": [ + 1056, + 1095 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 47 + } + } + }, + "range": [ + 1056, + 1096 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Add formats from column types configuration if any", + "range": [ + 994, + 1047 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 61 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1106, + 1110 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1111, + 1118 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "range": [ + 1106, + 1118 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1119, + 1121 + ], + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + "range": [ + 1106, + 1121 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "add-date-type-formats", + "raw": "'add-date-type-formats'", + "range": [ + 1136, + 1159 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 36 + } + } + } + ], + "range": [ + 1135, + 1160 + ], + "loc": { + "start": { + "line": 52, + "column": 12 + }, + "end": { + "line": 52, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1175, + 1177 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 1179, + 1184 + ], + "loc": { + "start": { + "line": 53, + "column": 17 + }, + "end": { + "line": 53, + "column": 22 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1189, + 1193 + ], + "loc": { + "start": { + "line": 53, + "column": 27 + }, + "end": { + "line": 53, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "addConfigFormats", + "range": [ + 1194, + 1210 + ], + "loc": { + "start": { + "line": 53, + "column": 32 + }, + "end": { + "line": 53, + "column": 48 + } + } + }, + "range": [ + 1189, + 1210 + ], + "loc": { + "start": { + "line": 53, + "column": 27 + }, + "end": { + "line": 53, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "types", + "range": [ + 1211, + 1216 + ], + "loc": { + "start": { + "line": 53, + "column": 49 + }, + "end": { + "line": 53, + "column": 54 + } + } + } + ], + "range": [ + 1189, + 1217 + ], + "loc": { + "start": { + "line": 53, + "column": 27 + }, + "end": { + "line": 53, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1174, + 1217 + ], + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 55 + } + } + } + ], + "range": [ + 1106, + 1227 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 9 + } + } + }, + "range": [ + 1106, + 1228 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 10 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Broadcast date-type initialization", + "range": [ + 1238, + 1275 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 45 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1284, + 1288 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1289, + 1296 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + "range": [ + 1284, + 1296 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 1297, + 1301 + ], + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + "range": [ + 1284, + 1301 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "date-type-initialized", + "raw": "'date-type-initialized'", + "range": [ + 1302, + 1325 + ], + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1327, + 1331 + ], + "loc": { + "start": { + "line": 57, + "column": 51 + }, + "end": { + "line": 57, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1332, + 1334 + ], + "loc": { + "start": { + "line": 57, + "column": 56 + }, + "end": { + "line": 57, + "column": 58 + } + } + }, + "range": [ + 1327, + 1334 + ], + "loc": { + "start": { + "line": 57, + "column": 51 + }, + "end": { + "line": 57, + "column": 58 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 1336, + 1340 + ], + "loc": { + "start": { + "line": 57, + "column": 60 + }, + "end": { + "line": 57, + "column": 64 + } + } + } + ], + "range": [ + 1284, + 1341 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 65 + } + } + }, + "range": [ + 1284, + 1342 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Broadcast date-type initialization", + "range": [ + 1238, + 1275 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 45 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1352, + 1369 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1378, + 1382 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1383, + 1394 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "range": [ + 1378, + 1394 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1397, + 1401 + ], + "loc": { + "start": { + "line": 60, + "column": 27 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + "range": [ + 1378, + 1401 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + "range": [ + 1378, + 1402 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1352, + 1369 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 845, + 1408 + ], + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 842, + 1408 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 838, + 1408 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 61, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DateType instance\n ", + "range": [ + 786, + 833 + ], + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 39, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Parse a string representation of a date for a specified locale and return\n * a date object\n * @param {String} dateStr String representation of a date\n * @param {String} localeCode Locale code (ie 'en-us')\n * @returns {Date}\n ", + "range": [ + 1414, + 1672 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "parse", + "range": [ + 1677, + 1682 + ], + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "dateStr", + "range": [ + 1683, + 1690 + ], + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "localeCode", + "range": [ + 1692, + 1702 + ], + "loc": { + "start": { + "line": 70, + "column": 19 + }, + "end": { + "line": 70, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1721, + 1725 + ], + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "datetime", + "range": [ + 1726, + 1734 + ], + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 28 + } + } + }, + "range": [ + 1721, + 1734 + ], + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "create", + "range": [ + 1735, + 1741 + ], + "loc": { + "start": { + "line": 71, + "column": 29 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + "range": [ + 1721, + 1741 + ], + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateStr", + "range": [ + 1742, + 1749 + ], + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "localeCode", + "range": [ + 1751, + 1761 + ], + "loc": { + "start": { + "line": 71, + "column": 45 + }, + "end": { + "line": 71, + "column": 55 + } + } + } + ], + "range": [ + 1721, + 1762 + ], + "loc": { + "start": { + "line": 71, + "column": 15 + }, + "end": { + "line": 71, + "column": 56 + } + } + }, + "range": [ + 1714, + 1763 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 57 + } + } + } + ], + "range": [ + 1704, + 1769 + ], + "loc": { + "start": { + "line": 70, + "column": 31 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1682, + 1769 + ], + "loc": { + "start": { + "line": 70, + "column": 9 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1677, + 1769 + ], + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 72, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Parse a string representation of a date for a specified locale and return\n * a date object\n * @param {String} dateStr String representation of a date\n * @param {String} localeCode Locale code (ie 'en-us')\n * @returns {Date}\n ", + "range": [ + 1414, + 1672 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check string representation of a date for a specified locale is valid\n * @param {any} dateStr String representation of a date\n * @param {any} localeCode Locale code (ie 'en-us')\n * @returns {Boolean}\n ", + "range": [ + 1775, + 2005 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 79, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isValid", + "range": [ + 2010, + 2017 + ], + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "dateStr", + "range": [ + 2018, + 2025 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "localeCode", + "range": [ + 2027, + 2037 + ], + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2056, + 2060 + ], + "loc": { + "start": { + "line": 81, + "column": 15 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "datetime", + "range": [ + 2061, + 2069 + ], + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 28 + } + } + }, + "range": [ + 2056, + 2069 + ], + "loc": { + "start": { + "line": 81, + "column": 15 + }, + "end": { + "line": 81, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "isValid", + "range": [ + 2070, + 2077 + ], + "loc": { + "start": { + "line": 81, + "column": 29 + }, + "end": { + "line": 81, + "column": 36 + } + } + }, + "range": [ + 2056, + 2077 + ], + "loc": { + "start": { + "line": 81, + "column": 15 + }, + "end": { + "line": 81, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2078, + 2082 + ], + "loc": { + "start": { + "line": 81, + "column": 37 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 2083, + 2088 + ], + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + "range": [ + 2078, + 2088 + ], + "loc": { + "start": { + "line": 81, + "column": 37 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateStr", + "range": [ + 2089, + 2096 + ], + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "localeCode", + "range": [ + 2098, + 2108 + ], + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 67 + } + } + } + ], + "range": [ + 2078, + 2109 + ], + "loc": { + "start": { + "line": 81, + "column": 37 + }, + "end": { + "line": 81, + "column": 68 + } + } + } + ], + "range": [ + 2056, + 2110 + ], + "loc": { + "start": { + "line": 81, + "column": 15 + }, + "end": { + "line": 81, + "column": 69 + } + } + }, + "range": [ + 2049, + 2111 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 70 + } + } + } + ], + "range": [ + 2039, + 2117 + ], + "loc": { + "start": { + "line": 80, + "column": 33 + }, + "end": { + "line": 82, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2017, + 2117 + ], + "loc": { + "start": { + "line": 80, + "column": 11 + }, + "end": { + "line": 82, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2010, + 2117 + ], + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 82, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check string representation of a date for a specified locale is valid\n * @param {any} dateStr String representation of a date\n * @param {any} localeCode Locale code (ie 'en-us')\n * @returns {Boolean}\n ", + "range": [ + 1775, + 2005 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 79, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the type object of a specified column as per configuration or\n * passed collection\n * @param {Number} colIndex Column index\n * @param {Array} types Collection of column types, optional\n * @returns {Object}\n ", + "range": [ + 2123, + 2370 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getOptions", + "range": [ + 2375, + 2385 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2386, + 2394 + ], + "loc": { + "start": { + "line": 91, + "column": 15 + }, + "end": { + "line": 91, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 2396, + 2401 + ], + "loc": { + "start": { + "line": 91, + "column": 25 + }, + "end": { + "line": 91, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "types", + "range": [ + 2413, + 2418 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "types", + "range": [ + 2421, + 2426 + ], + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2430, + 2434 + ], + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2435, + 2437 + ], + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 92, + "column": 32 + } + } + }, + "range": [ + 2430, + 2437 + ], + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 2438, + 2446 + ], + "loc": { + "start": { + "line": 92, + "column": 33 + }, + "end": { + "line": 92, + "column": 41 + } + } + }, + "range": [ + 2430, + 2446 + ], + "loc": { + "start": { + "line": 92, + "column": 25 + }, + "end": { + "line": 92, + "column": 41 + } + } + }, + "range": [ + 2421, + 2446 + ], + "loc": { + "start": { + "line": 92, + "column": 16 + }, + "end": { + "line": 92, + "column": 41 + } + } + }, + "range": [ + 2413, + 2446 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 41 + } + } + }, + "range": [ + 2413, + 2447 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 2460, + 2467 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "types", + "range": [ + 2470, + 2475 + ], + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2476, + 2484 + ], + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 36 + } + } + }, + "range": [ + 2470, + 2485 + ], + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 37 + } + } + }, + "range": [ + 2460, + 2485 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 2456, + 2486 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 38 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 2502, + 2507 + ], + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 2508, + 2515 + ], + "loc": { + "start": { + "line": 94, + "column": 21 + }, + "end": { + "line": 94, + "column": 28 + } + } + } + ], + "range": [ + 2502, + 2516 + ], + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "colType", + "range": [ + 2519, + 2526 + ], + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 39 + } + } + }, + "alternate": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 2529, + 2531 + ], + "loc": { + "start": { + "line": 94, + "column": 42 + }, + "end": { + "line": 94, + "column": 44 + } + } + }, + "range": [ + 2502, + 2531 + ], + "loc": { + "start": { + "line": 94, + "column": 15 + }, + "end": { + "line": 94, + "column": 44 + } + } + }, + "range": [ + 2495, + 2532 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 45 + } + } + } + ], + "range": [ + 2403, + 2538 + ], + "loc": { + "start": { + "line": 91, + "column": 32 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2385, + 2538 + ], + "loc": { + "start": { + "line": 91, + "column": 14 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2375, + 2538 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 95, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the type object of a specified column as per configuration or\n * passed collection\n * @param {Number} colIndex Column index\n * @param {Array} types Collection of column types, optional\n * @returns {Object}\n ", + "range": [ + 2123, + 2370 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the locale code for supplied column index as per configuration\n * or global setting\n * @param {Number} colIndex Column index\n * @returns {String} Locale code (ie: 'en-us')\n ", + "range": [ + 2544, + 2753 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getLocale", + "range": [ + 2758, + 2767 + ], + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2768, + 2776 + ], + "loc": { + "start": { + "line": 103, + "column": 14 + }, + "end": { + "line": 103, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2795, + 2799 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getOptions", + "range": [ + 2800, + 2810 + ], + "loc": { + "start": { + "line": 104, + "column": 20 + }, + "end": { + "line": 104, + "column": 30 + } + } + }, + "range": [ + 2795, + 2810 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2811, + 2819 + ], + "loc": { + "start": { + "line": 104, + "column": 31 + }, + "end": { + "line": 104, + "column": 39 + } + } + } + ], + "range": [ + 2795, + 2820 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 2821, + 2827 + ], + "loc": { + "start": { + "line": 104, + "column": 41 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + "range": [ + 2795, + 2827 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2831, + 2835 + ], + "loc": { + "start": { + "line": 104, + "column": 51 + }, + "end": { + "line": 104, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 2836, + 2842 + ], + "loc": { + "start": { + "line": 104, + "column": 56 + }, + "end": { + "line": 104, + "column": 62 + } + } + }, + "range": [ + 2831, + 2842 + ], + "loc": { + "start": { + "line": 104, + "column": 51 + }, + "end": { + "line": 104, + "column": 62 + } + } + }, + "range": [ + 2795, + 2842 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 62 + } + } + }, + "range": [ + 2788, + 2843 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 63 + } + } + } + ], + "range": [ + 2778, + 2849 + ], + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2767, + 2849 + ], + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2758, + 2849 + ], + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the locale code for supplied column index as per configuration\n * or global setting\n * @param {Number} colIndex Column index\n * @returns {String} Locale code (ie: 'en-us')\n ", + "range": [ + 2544, + 2753 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Add date time format(s) to a locale as specified by the passed\n * collection of column types, ie:\n * [\n * 'string',\n * 'number',\n * { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n * ]\n *\n * @param {Array} [types=[]] Collection of column types\n ", + "range": [ + 2855, + 3177 + ], + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addConfigFormats", + "range": [ + 3182, + 3198 + ], + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "types", + "range": [ + 3199, + 3204 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 26 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 3205, + 3207 + ], + "loc": { + "start": { + "line": 118, + "column": 27 + }, + "end": { + "line": 118, + "column": 29 + } + } + }, + "range": [ + 3199, + 3207 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "types", + "range": [ + 3219, + 3224 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 3225, + 3232 + ], + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 119, + "column": 21 + } + } + }, + "range": [ + 3219, + 3232 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "type", + "range": [ + 3234, + 3238 + ], + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 3240, + 3243 + ], + "loc": { + "start": { + "line": 119, + "column": 29 + }, + "end": { + "line": 119, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "options", + "range": [ + 3266, + 3273 + ], + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3276, + 3280 + ], + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getOptions", + "range": [ + 3281, + 3291 + ], + "loc": { + "start": { + "line": 120, + "column": 31 + }, + "end": { + "line": 120, + "column": 41 + } + } + }, + "range": [ + 3276, + 3291 + ], + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 3292, + 3295 + ], + "loc": { + "start": { + "line": 120, + "column": 42 + }, + "end": { + "line": 120, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 3297, + 3302 + ], + "loc": { + "start": { + "line": 120, + "column": 47 + }, + "end": { + "line": 120, + "column": 52 + } + } + } + ], + "range": [ + 3276, + 3303 + ], + "loc": { + "start": { + "line": 120, + "column": 26 + }, + "end": { + "line": 120, + "column": 53 + } + } + }, + "range": [ + 3266, + 3303 + ], + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 3262, + 3304 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 54 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3321, + 3328 + ], + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "type", + "range": [ + 3329, + 3333 + ], + "loc": { + "start": { + "line": 121, + "column": 24 + }, + "end": { + "line": 121, + "column": 28 + } + } + }, + "range": [ + 3321, + 3333 + ], + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "DATE", + "range": [ + 3338, + 3342 + ], + "loc": { + "start": { + "line": 121, + "column": 33 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + "range": [ + 3321, + 3342 + ], + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3346, + 3353 + ], + "loc": { + "start": { + "line": 121, + "column": 41 + }, + "end": { + "line": 121, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasOwnProperty", + "range": [ + 3354, + 3368 + ], + "loc": { + "start": { + "line": 121, + "column": 49 + }, + "end": { + "line": 121, + "column": 63 + } + } + }, + "range": [ + 3346, + 3368 + ], + "loc": { + "start": { + "line": 121, + "column": 41 + }, + "end": { + "line": 121, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "format", + "raw": "'format'", + "range": [ + 3369, + 3377 + ], + "loc": { + "start": { + "line": 121, + "column": 64 + }, + "end": { + "line": 121, + "column": 72 + } + } + } + ], + "range": [ + 3346, + 3378 + ], + "loc": { + "start": { + "line": 121, + "column": 41 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "range": [ + 3321, + 3378 + ], + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "locale", + "range": [ + 3402, + 3408 + ], + "loc": { + "start": { + "line": 122, + "column": 20 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3411, + 3415 + ], + "loc": { + "start": { + "line": 122, + "column": 29 + }, + "end": { + "line": 122, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "datetime", + "range": [ + 3416, + 3424 + ], + "loc": { + "start": { + "line": 122, + "column": 34 + }, + "end": { + "line": 122, + "column": 42 + } + } + }, + "range": [ + 3411, + 3424 + ], + "loc": { + "start": { + "line": 122, + "column": 29 + }, + "end": { + "line": 122, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "getLocale", + "range": [ + 3425, + 3434 + ], + "loc": { + "start": { + "line": 122, + "column": 43 + }, + "end": { + "line": 122, + "column": 52 + } + } + }, + "range": [ + 3411, + 3434 + ], + "loc": { + "start": { + "line": 122, + "column": 29 + }, + "end": { + "line": 122, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3456, + 3463 + ], + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 3464, + 3470 + ], + "loc": { + "start": { + "line": 123, + "column": 28 + }, + "end": { + "line": 123, + "column": 34 + } + } + }, + "range": [ + 3456, + 3470 + ], + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 34 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3474, + 3478 + ], + "loc": { + "start": { + "line": 123, + "column": 38 + }, + "end": { + "line": 123, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 3479, + 3485 + ], + "loc": { + "start": { + "line": 123, + "column": 43 + }, + "end": { + "line": 123, + "column": 49 + } + } + }, + "range": [ + 3474, + 3485 + ], + "loc": { + "start": { + "line": 123, + "column": 38 + }, + "end": { + "line": 123, + "column": 49 + } + } + }, + "range": [ + 3456, + 3485 + ], + "loc": { + "start": { + "line": 123, + "column": 20 + }, + "end": { + "line": 123, + "column": 49 + } + } + } + ], + "range": [ + 3411, + 3503 + ], + "loc": { + "start": { + "line": 122, + "column": 29 + }, + "end": { + "line": 124, + "column": 17 + } + } + }, + "range": [ + 3402, + 3503 + ], + "loc": { + "start": { + "line": 122, + "column": 20 + }, + "end": { + "line": 124, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 3398, + 3504 + ], + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 124, + "column": 18 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "formats", + "range": [ + 3525, + 3532 + ], + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 125, + "column": 27 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 3535, + 3542 + ], + "loc": { + "start": { + "line": 125, + "column": 30 + }, + "end": { + "line": 125, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3543, + 3550 + ], + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "format", + "range": [ + 3551, + 3557 + ], + "loc": { + "start": { + "line": 125, + "column": 46 + }, + "end": { + "line": 125, + "column": 52 + } + } + }, + "range": [ + 3543, + 3557 + ], + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 52 + } + } + } + ], + "range": [ + 3535, + 3558 + ], + "loc": { + "start": { + "line": 125, + "column": 30 + }, + "end": { + "line": 125, + "column": 53 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3581, + 3588 + ], + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "format", + "range": [ + 3589, + 3595 + ], + "loc": { + "start": { + "line": 126, + "column": 28 + }, + "end": { + "line": 126, + "column": 34 + } + } + }, + "range": [ + 3581, + 3595 + ], + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 34 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "options", + "range": [ + 3599, + 3606 + ], + "loc": { + "start": { + "line": 126, + "column": 38 + }, + "end": { + "line": 126, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "format", + "range": [ + 3607, + 3613 + ], + "loc": { + "start": { + "line": 126, + "column": 46 + }, + "end": { + "line": 126, + "column": 52 + } + } + }, + "range": [ + 3599, + 3613 + ], + "loc": { + "start": { + "line": 126, + "column": 38 + }, + "end": { + "line": 126, + "column": 52 + } + } + } + ], + "range": [ + 3598, + 3614 + ], + "loc": { + "start": { + "line": 126, + "column": 37 + }, + "end": { + "line": 126, + "column": 53 + } + } + }, + "range": [ + 3535, + 3614 + ], + "loc": { + "start": { + "line": 125, + "column": 30 + }, + "end": { + "line": 126, + "column": 53 + } + } + }, + "range": [ + 3525, + 3614 + ], + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 126, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 3521, + 3615 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 126, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Sugar date module throws exceptions with locale.addFormat", + "range": [ + 3633, + 3693 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 76 + } + } + } + ] + }, + { + "type": "TryStatement", + "block": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "formats", + "range": [ + 3736, + 3743 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 3744, + 3751 + ], + "loc": { + "start": { + "line": 130, + "column": 28 + }, + "end": { + "line": 130, + "column": 35 + } + } + }, + "range": [ + 3736, + 3751 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "format", + "range": [ + 3753, + 3759 + ], + "loc": { + "start": { + "line": 130, + "column": 37 + }, + "end": { + "line": 130, + "column": 43 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "locale", + "range": [ + 3790, + 3796 + ], + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "addFormat", + "range": [ + 3797, + 3806 + ], + "loc": { + "start": { + "line": 131, + "column": 31 + }, + "end": { + "line": 131, + "column": 40 + } + } + }, + "range": [ + 3790, + 3806 + ], + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "format", + "range": [ + 3807, + 3813 + ], + "loc": { + "start": { + "line": 131, + "column": 41 + }, + "end": { + "line": 131, + "column": 47 + } + } + } + ], + "range": [ + 3790, + 3814 + ], + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 48 + } + } + }, + "range": [ + 3790, + 3815 + ], + "loc": { + "start": { + "line": 131, + "column": 24 + }, + "end": { + "line": 131, + "column": 49 + } + } + } + ], + "range": [ + 3764, + 3837 + ], + "loc": { + "start": { + "line": 130, + "column": 48 + }, + "end": { + "line": 132, + "column": 21 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3752, + 3837 + ], + "loc": { + "start": { + "line": 130, + "column": 36 + }, + "end": { + "line": 132, + "column": 21 + } + } + } + ], + "range": [ + 3736, + 3838 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 132, + "column": 22 + } + } + }, + "range": [ + 3736, + 3839 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 132, + "column": 23 + } + } + } + ], + "range": [ + 3714, + 3857 + ], + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 133, + "column": 17 + } + } + }, + "handler": { + "type": "CatchClause", + "param": { + "type": "Identifier", + "name": "ex", + "range": [ + 3865, + 3867 + ], + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 27 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 3891, + 3895 + ], + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "console", + "range": [ + 3896, + 3903 + ], + "loc": { + "start": { + "line": 134, + "column": 25 + }, + "end": { + "line": 134, + "column": 32 + } + } + }, + "range": [ + 3891, + 3903 + ], + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "error", + "range": [ + 3904, + 3909 + ], + "loc": { + "start": { + "line": 134, + "column": 33 + }, + "end": { + "line": 134, + "column": 38 + } + } + }, + "range": [ + 3891, + 3909 + ], + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ex", + "range": [ + 3910, + 3912 + ], + "loc": { + "start": { + "line": 134, + "column": 39 + }, + "end": { + "line": 134, + "column": 41 + } + } + } + ], + "range": [ + 3891, + 3913 + ], + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 42 + } + } + }, + "range": [ + 3891, + 3914 + ], + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 43 + } + } + } + ], + "range": [ + 3869, + 3932 + ], + "loc": { + "start": { + "line": 133, + "column": 29 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + "range": [ + 3858, + 3932 + ], + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + "finalizer": null, + "range": [ + 3710, + 3932 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 135, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Sugar date module throws exceptions with locale.addFormat", + "range": [ + 3633, + 3693 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 76 + } + } + } + ] + } + ], + "range": [ + 3380, + 3946 + ], + "loc": { + "start": { + "line": 121, + "column": 75 + }, + "end": { + "line": 136, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3317, + 3946 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 136, + "column": 13 + } + } + } + ], + "range": [ + 3248, + 3956 + ], + "loc": { + "start": { + "line": 119, + "column": 37 + }, + "end": { + "line": 137, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3233, + 3956 + ], + "loc": { + "start": { + "line": 119, + "column": 22 + }, + "end": { + "line": 137, + "column": 9 + } + } + } + ], + "range": [ + 3219, + 3957 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 137, + "column": 10 + } + } + }, + "range": [ + 3219, + 3958 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + } + ], + "range": [ + 3209, + 3964 + ], + "loc": { + "start": { + "line": 118, + "column": 31 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3198, + 3964 + ], + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 138, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3182, + 3964 + ], + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Add date time format(s) to a locale as specified by the passed\n * collection of column types, ie:\n * [\n * 'string',\n * 'number',\n * { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n * ]\n *\n * @param {Array} [types=[]] Collection of column types\n ", + "range": [ + 2855, + 3177 + ], + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove DateType instance\n ", + "range": [ + 3970, + 4013 + ], + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 4018, + 4025 + ], + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4043, + 4047 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4048, + 4059 + ], + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "range": [ + 4043, + 4059 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 4042, + 4059 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4075, + 4082 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 19 + } + } + } + ], + "range": [ + 4061, + 4092 + ], + "loc": { + "start": { + "line": 144, + "column": 31 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4038, + 4092 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 146, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TODO: remove added formats", + "range": [ + 4102, + 4131 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4141, + 4145 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4146, + 4153 + ], + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 20 + } + } + }, + "range": [ + 4141, + 4153 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 4154, + 4157 + ], + "loc": { + "start": { + "line": 150, + "column": 21 + }, + "end": { + "line": 150, + "column": 24 + } + } + }, + "range": [ + 4141, + 4157 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "add-date-type-formats", + "raw": "'add-date-type-formats'", + "range": [ + 4172, + 4195 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 36 + } + } + } + ], + "range": [ + 4171, + 4196 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4211, + 4213 + ], + "loc": { + "start": { + "line": 152, + "column": 13 + }, + "end": { + "line": 152, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "types", + "range": [ + 4215, + 4220 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 22 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4225, + 4229 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "addConfigFormats", + "range": [ + 4230, + 4246 + ], + "loc": { + "start": { + "line": 152, + "column": 32 + }, + "end": { + "line": 152, + "column": 48 + } + } + }, + "range": [ + 4225, + 4246 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "types", + "range": [ + 4247, + 4252 + ], + "loc": { + "start": { + "line": 152, + "column": 49 + }, + "end": { + "line": 152, + "column": 54 + } + } + } + ], + "range": [ + 4225, + 4253 + ], + "loc": { + "start": { + "line": 152, + "column": 27 + }, + "end": { + "line": 152, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4210, + 4253 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 55 + } + } + } + ], + "range": [ + 4141, + 4263 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + "range": [ + 4141, + 4264 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 153, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: remove added formats", + "range": [ + 4102, + 4131 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4274, + 4278 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4279, + 4290 + ], + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 24 + } + } + }, + "range": [ + 4274, + 4290 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 4293, + 4298 + ], + "loc": { + "start": { + "line": 155, + "column": 27 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + "range": [ + 4274, + 4298 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + "range": [ + 4274, + 4299 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 33 + } + } + } + ], + "range": [ + 4028, + 4305 + ], + "loc": { + "start": { + "line": 143, + "column": 14 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4025, + 4305 + ], + "loc": { + "start": { + "line": 143, + "column": 11 + }, + "end": { + "line": 156, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4018, + 4305 + ], + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 156, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove DateType instance\n ", + "range": [ + 3970, + 4013 + ], + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 362, + 4307 + ], + "loc": { + "start": { + "line": 13, + "column": 38 + }, + "end": { + "line": 157, + "column": 1 + } + } + }, + "range": [ + 331, + 4307 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n ", + "range": [ + 214, + 323 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 324, + 4307 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n ", + "range": [ + 214, + 323 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 4307 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 157, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n ", + "range": [ + 214, + 323 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of DateType\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 369, + 471 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Global locale\n * @type {String}\n ", + "range": [ + 534, + 600 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 25, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Sugar Date instance\n * @type {Object}\n ", + "range": [ + 643, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize DateType instance\n ", + "range": [ + 786, + 833 + ], + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Set global locale", + "range": [ + 918, + 938 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " Add formats from column types configuration if any", + "range": [ + 994, + 1047 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 61 + } + } + }, + { + "type": "Line", + "value": " Broadcast date-type initialization", + "range": [ + 1238, + 1275 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1352, + 1369 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Parse a string representation of a date for a specified locale and return\n * a date object\n * @param {String} dateStr String representation of a date\n * @param {String} localeCode Locale code (ie 'en-us')\n * @returns {Date}\n ", + "range": [ + 1414, + 1672 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check string representation of a date for a specified locale is valid\n * @param {any} dateStr String representation of a date\n * @param {any} localeCode Locale code (ie 'en-us')\n * @returns {Boolean}\n ", + "range": [ + 1775, + 2005 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the type object of a specified column as per configuration or\n * passed collection\n * @param {Number} colIndex Column index\n * @param {Array} types Collection of column types, optional\n * @returns {Object}\n ", + "range": [ + 2123, + 2370 + ], + "loc": { + "start": { + "line": 84, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the locale code for supplied column index as per configuration\n * or global setting\n * @param {Number} colIndex Column index\n * @returns {String} Locale code (ie: 'en-us')\n ", + "range": [ + 2544, + 2753 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 102, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Add date time format(s) to a locale as specified by the passed\n * collection of column types, ie:\n * [\n * 'string',\n * 'number',\n * { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n * ]\n *\n * @param {Array} [types=[]] Collection of column types\n ", + "range": [ + 2855, + 3177 + ], + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Sugar date module throws exceptions with locale.addFormat", + "range": [ + 3633, + 3693 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 76 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove DateType instance\n ", + "range": [ + 3970, + 4013 + ], + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 142, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: remove added formats", + "range": [ + 4102, + 4131 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 37 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/dropdown.js.json b/docs/ast/source/modules/dropdown.js.json new file mode 100644 index 00000000..f6f49a22 --- /dev/null +++ b/docs/ast/source/modules/dropdown.js.json @@ -0,0 +1,26780 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + "imported": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + "range": [ + 8, + 20 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 20 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./baseDropdown", + "raw": "'./baseDropdown'", + "range": [ + 27, + 43 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + "range": [ + 0, + 44 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 53, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 53, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 53, + 62 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 64, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 64, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 64, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 75, + 78 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 75, + 78 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "range": [ + 75, + 78 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 85, + 93 + ], + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 48 + } + } + }, + "range": [ + 45, + 94 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "has", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 11 + } + } + }, + "imported": { + "type": "Identifier", + "name": "has", + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 11 + } + } + }, + "range": [ + 103, + 106 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 11 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../array", + "raw": "'../array'", + "range": [ + 113, + 123 + ], + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + "range": [ + 95, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 133, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 133, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "range": [ + 133, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 17 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../string", + "raw": "'../string'", + "range": [ + 149, + 160 + ], + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + "range": [ + 125, + 161 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 36 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 170, + 176 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 170, + 176 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 170, + 176 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 178, + 187 + ], + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 178, + 187 + ], + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + "range": [ + 178, + 187 + ], + "loc": { + "start": { + "line": 5, + "column": 16 + }, + "end": { + "line": 5, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 194, + 204 + ], + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 42 + } + } + }, + "range": [ + 162, + 205 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 214, + 220 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 214, + 220 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "range": [ + 214, + 220 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 222, + 230 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 222, + 230 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "range": [ + 222, + 230 + ], + "loc": { + "start": { + "line": 6, + "column": 16 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 232, + 236 + ], + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 232, + 236 + ], + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + "range": [ + 232, + 236 + ], + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 30 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 243, + 253 + ], + "loc": { + "start": { + "line": 6, + "column": 37 + }, + "end": { + "line": 6, + "column": 47 + } + } + }, + "range": [ + 206, + 254 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 48 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 263, + 274 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 263, + 274 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "range": [ + 263, + 274 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 276, + 288 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 276, + 288 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + "range": [ + 276, + 288 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 295, + 308 + ], + "loc": { + "start": { + "line": 7, + "column": 40 + }, + "end": { + "line": 7, + "column": 53 + } + } + }, + "range": [ + 255, + 309 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @export\n * @class Dropdown\n * @extends {BaseDropdown}\n ", + "range": [ + 311, + 407 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Dropdown", + "range": [ + 421, + 429 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "BaseDropdown", + "range": [ + 438, + 450 + ], + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 565, + 576 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 577, + 579 + ], + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 591, + 596 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 597, + 599 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "dropdown", + "raw": "'dropdown'", + "range": [ + 601, + 611 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 28 + } + } + } + ], + "range": [ + 591, + 612 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + "range": [ + 591, + 613 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 623, + 646 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 659, + 660 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 663, + 667 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 668, + 674 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "range": [ + 663, + 674 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "range": [ + 659, + 674 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 655, + 675 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 623, + 646 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 685, + 783 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 792, + 796 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableSlcResetFilter", + "range": [ + 797, + 817 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + "range": [ + 792, + 817 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 832, + 844 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 845, + 846 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_slc_reset_filter", + "range": [ + 847, + 870 + ], + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 50 + } + } + }, + "range": [ + 845, + 870 + ], + "loc": { + "start": { + "line": 32, + "column": 25 + }, + "end": { + "line": 32, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 872, + 876 + ], + "loc": { + "start": { + "line": 32, + "column": 52 + }, + "end": { + "line": 32, + "column": 56 + } + } + } + ], + "range": [ + 832, + 877 + ], + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 57 + } + } + }, + "range": [ + 792, + 877 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 32, + "column": 57 + } + } + }, + "range": [ + 792, + 878 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 32, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 685, + 783 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", + "range": [ + 888, + 962 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 971, + 975 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonEmptyText", + "range": [ + 976, + 988 + ], + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 25 + } + } + }, + "range": [ + 971, + 988 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 991, + 1002 + ], + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1003, + 1004 + ], + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "non_empty_text", + "range": [ + 1005, + 1019 + ], + "loc": { + "start": { + "line": 38, + "column": 42 + }, + "end": { + "line": 38, + "column": 56 + } + } + }, + "range": [ + 1003, + 1019 + ], + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "(Non empty)", + "raw": "'(Non empty)'", + "range": [ + 1021, + 1034 + ], + "loc": { + "start": { + "line": 38, + "column": 58 + }, + "end": { + "line": 38, + "column": 71 + } + } + } + ], + "range": [ + 991, + 1035 + ], + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 72 + } + } + }, + "range": [ + 971, + 1035 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 72 + } + } + }, + "range": [ + 971, + 1036 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", + "range": [ + 888, + 962 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", + "range": [ + 1046, + 1140 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1149, + 1153 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "multipleSlcTooltip", + "range": [ + 1154, + 1172 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + "range": [ + 1149, + 1172 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1175, + 1186 + ], + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 44, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1187, + 1188 + ], + "loc": { + "start": { + "line": 44, + "column": 46 + }, + "end": { + "line": 44, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "multiple_slc_tooltip", + "range": [ + 1189, + 1209 + ], + "loc": { + "start": { + "line": 44, + "column": 48 + }, + "end": { + "line": 44, + "column": 68 + } + } + }, + "range": [ + 1187, + 1209 + ], + "loc": { + "start": { + "line": 44, + "column": 46 + }, + "end": { + "line": 44, + "column": 68 + } + } + }, + { + "type": "Literal", + "value": "Use Ctrl/Cmd key for multiple selections", + "raw": "'Use Ctrl/Cmd key for multiple selections'", + "range": [ + 1223, + 1265 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 54 + } + } + } + ], + "range": [ + 1175, + 1266 + ], + "loc": { + "start": { + "line": 44, + "column": 34 + }, + "end": { + "line": 45, + "column": 55 + } + } + }, + "range": [ + 1149, + 1266 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 45, + "column": 55 + } + } + }, + "range": [ + 1149, + 1267 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 45, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", + "range": [ + 1046, + 1140 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 581, + 1273 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 576, + 1273 + ], + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 565, + 1273 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Dropdown\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 458, + 560 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1280, + 1385 + ], + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onSlcFocus", + "range": [ + 1390, + 1400 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 1401, + 1402 + ], + "loc": { + "start": { + "line": 54, + "column": 15 + }, + "end": { + "line": 54, + "column": 16 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 1418, + 1421 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 1424, + 1433 + ], + "loc": { + "start": { + "line": 55, + "column": 18 + }, + "end": { + "line": 55, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 1434, + 1435 + ], + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 29 + } + } + } + ], + "range": [ + 1424, + 1436 + ], + "loc": { + "start": { + "line": 55, + "column": 18 + }, + "end": { + "line": 55, + "column": 30 + } + } + }, + "range": [ + 1418, + 1436 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 1414, + 1437 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 1450, + 1452 + ], + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1455, + 1459 + ], + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1460, + 1462 + ], + "loc": { + "start": { + "line": 56, + "column": 22 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + "range": [ + 1455, + 1462 + ], + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 24 + } + } + }, + "range": [ + 1450, + 1462 + ], + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 1446, + 1463 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " select is populated when element has focus", + "range": [ + 1472, + 1517 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 53 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1530, + 1532 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 1533, + 1548 + ], + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 30 + } + } + }, + "range": [ + 1530, + 1548 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 30 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 1552, + 1555 + ], + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 1556, + 1568 + ], + "loc": { + "start": { + "line": 58, + "column": 38 + }, + "end": { + "line": 58, + "column": 50 + } + } + }, + "range": [ + 1552, + 1568 + ], + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 1569, + 1577 + ], + "loc": { + "start": { + "line": 58, + "column": 51 + }, + "end": { + "line": 58, + "column": 59 + } + } + } + ], + "range": [ + 1552, + 1578 + ], + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 60 + } + } + }, + "right": { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 1583, + 1586 + ], + "loc": { + "start": { + "line": 58, + "column": 65 + }, + "end": { + "line": 58, + "column": 68 + } + } + }, + "range": [ + 1552, + 1586 + ], + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 68 + } + } + }, + "range": [ + 1530, + 1586 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 68 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 1606, + 1608 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 1611, + 1614 + ], + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 1615, + 1627 + ], + "loc": { + "start": { + "line": 59, + "column": 25 + }, + "end": { + "line": 59, + "column": 37 + } + } + }, + "range": [ + 1611, + 1627 + ], + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "ct", + "raw": "'ct'", + "range": [ + 1628, + 1632 + ], + "loc": { + "start": { + "line": 59, + "column": 38 + }, + "end": { + "line": 59, + "column": 42 + } + } + } + ], + "range": [ + 1611, + 1633 + ], + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + "range": [ + 1606, + 1633 + ], + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 1602, + 1634 + ], + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1647, + 1651 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 1652, + 1657 + ], + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 22 + } + } + }, + "range": [ + 1647, + 1657 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ct", + "range": [ + 1658, + 1660 + ], + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 25 + } + } + } + ], + "range": [ + 1647, + 1661 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 26 + } + } + }, + "range": [ + 1647, + 1662 + ], + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 27 + } + } + } + ], + "range": [ + 1588, + 1672 + ], + "loc": { + "start": { + "line": 58, + "column": 70 + }, + "end": { + "line": 61, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1526, + 1672 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " select is populated when element has focus", + "range": [ + 1472, + 1517 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 53 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1681, + 1685 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1686, + 1693 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + "range": [ + 1681, + 1693 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 1694, + 1698 + ], + "loc": { + "start": { + "line": 62, + "column": 21 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + "range": [ + 1681, + 1698 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 1699, + 1713 + ], + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 1715, + 1717 + ], + "loc": { + "start": { + "line": 62, + "column": 42 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "elm", + "range": [ + 1719, + 1722 + ], + "loc": { + "start": { + "line": 62, + "column": 46 + }, + "end": { + "line": 62, + "column": 49 + } + } + } + ], + "range": [ + 1681, + 1723 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 50 + } + } + }, + "range": [ + 1681, + 1724 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 51 + } + } + } + ], + "range": [ + 1404, + 1730 + ], + "loc": { + "start": { + "line": 54, + "column": 18 + }, + "end": { + "line": 63, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1400, + 1730 + ], + "loc": { + "start": { + "line": 54, + "column": 14 + }, + "end": { + "line": 63, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1390, + 1730 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 63, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1280, + 1385 + ], + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 1736, + 1808 + ], + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 68, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onSlcChange", + "range": [ + 1813, + 1824 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 69, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1841, + 1845 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1846, + 1848 + ], + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + "range": [ + 1841, + 1848 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSlcChange", + "range": [ + 1849, + 1860 + ], + "loc": { + "start": { + "line": 70, + "column": 20 + }, + "end": { + "line": 70, + "column": 31 + } + } + }, + "range": [ + 1841, + 1860 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1876, + 1880 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1881, + 1883 + ], + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + "range": [ + 1876, + 1883 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 1884, + 1890 + ], + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 26 + } + } + }, + "range": [ + 1876, + 1890 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 1876, + 1892 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 28 + } + } + }, + "range": [ + 1876, + 1893 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 29 + } + } + } + ], + "range": [ + 1862, + 1903 + ], + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1837, + 1903 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 72, + "column": 9 + } + } + } + ], + "range": [ + 1827, + 1909 + ], + "loc": { + "start": { + "line": 69, + "column": 18 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1824, + 1909 + ], + "loc": { + "start": { + "line": 69, + "column": 15 + }, + "end": { + "line": 73, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1813, + 1909 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 73, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 1736, + 1808 + ], + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 68, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh all drop-down filters\n ", + "range": [ + 1915, + 1963 + ], + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 1968, + 1978 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "selectFlts", + "range": [ + 1995, + 2005 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2008, + 2012 + ], + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2013, + 2015 + ], + "loc": { + "start": { + "line": 79, + "column": 30 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + "range": [ + 2008, + 2015 + ], + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 2016, + 2032 + ], + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + "range": [ + 2008, + 2032 + ], + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 2033, + 2039 + ], + "loc": { + "start": { + "line": 79, + "column": 50 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2041, + 2045 + ], + "loc": { + "start": { + "line": 79, + "column": 58 + }, + "end": { + "line": 79, + "column": 62 + } + } + } + ], + "range": [ + 2008, + 2046 + ], + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 63 + } + } + }, + "range": [ + 1995, + 2046 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 1991, + 2047 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 64 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "multipleFlts", + "range": [ + 2060, + 2072 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2075, + 2079 + ], + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2080, + 2082 + ], + "loc": { + "start": { + "line": 80, + "column": 32 + }, + "end": { + "line": 80, + "column": 34 + } + } + }, + "range": [ + 2075, + 2082 + ], + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 2083, + 2099 + ], + "loc": { + "start": { + "line": 80, + "column": 35 + }, + "end": { + "line": 80, + "column": 51 + } + } + }, + "range": [ + 2075, + 2099 + ], + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 2100, + 2108 + ], + "loc": { + "start": { + "line": 80, + "column": 52 + }, + "end": { + "line": 80, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2110, + 2114 + ], + "loc": { + "start": { + "line": 80, + "column": 62 + }, + "end": { + "line": 80, + "column": 66 + } + } + } + ], + "range": [ + 2075, + 2115 + ], + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 67 + } + } + }, + "range": [ + 2060, + 2115 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 67 + } + } + } + ], + "kind": "let", + "range": [ + 2056, + 2116 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 68 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdxs", + "range": [ + 2129, + 2136 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "selectFlts", + "range": [ + 2139, + 2149 + ], + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "concat", + "range": [ + 2150, + 2156 + ], + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + "range": [ + 2139, + 2156 + ], + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "multipleFlts", + "range": [ + 2157, + 2169 + ], + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 52 + } + } + } + ], + "range": [ + 2139, + 2170 + ], + "loc": { + "start": { + "line": 81, + "column": 22 + }, + "end": { + "line": 81, + "column": 53 + } + } + }, + "range": [ + 2129, + 2170 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 2125, + 2171 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2180, + 2184 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshFilters", + "range": [ + 2185, + 2199 + ], + "loc": { + "start": { + "line": 82, + "column": 13 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + "range": [ + 2180, + 2199 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdxs", + "range": [ + 2200, + 2207 + ], + "loc": { + "start": { + "line": 82, + "column": 28 + }, + "end": { + "line": 82, + "column": 35 + } + } + } + ], + "range": [ + 2180, + 2208 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 36 + } + } + }, + "range": [ + 2180, + 2209 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 37 + } + } + } + ], + "range": [ + 1981, + 2215 + ], + "loc": { + "start": { + "line": 78, + "column": 17 + }, + "end": { + "line": 83, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1978, + 2215 + ], + "loc": { + "start": { + "line": 78, + "column": 14 + }, + "end": { + "line": 83, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1968, + 2215 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 83, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh all drop-down filters\n ", + "range": [ + 1915, + 1963 + ], + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 77, + "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": [ + 2221, + 2452 + ], + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 2457, + 2461 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2462, + 2470 + ], + "loc": { + "start": { + "line": 91, + "column": 9 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 2472, + 2482 + ], + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 2484, + 2493 + ], + "loc": { + "start": { + "line": 91, + "column": 31 + }, + "end": { + "line": 91, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2509, + 2511 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2514, + 2518 + ], + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2519, + 2521 + ], + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + "range": [ + 2514, + 2521 + ], + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + "range": [ + 2509, + 2521 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2505, + 2522 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 2535, + 2538 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2541, + 2543 + ], + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 2544, + 2557 + ], + "loc": { + "start": { + "line": 93, + "column": 21 + }, + "end": { + "line": 93, + "column": 34 + } + } + }, + "range": [ + 2541, + 2557 + ], + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2558, + 2566 + ], + "loc": { + "start": { + "line": 93, + "column": 35 + }, + "end": { + "line": 93, + "column": 43 + } + } + } + ], + "range": [ + 2541, + 2567 + ], + "loc": { + "start": { + "line": 93, + "column": 18 + }, + "end": { + "line": 93, + "column": 44 + } + } + }, + "range": [ + 2535, + 2567 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 2531, + 2568 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 2581, + 2597 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 28 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isExternal", + "range": [ + 2600, + 2610 + ], + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 94, + "column": 41 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2625, + 2627 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 2628, + 2645 + ], + "loc": { + "start": { + "line": 95, + "column": 15 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + "range": [ + 2625, + 2645 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2646, + 2654 + ], + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 41 + } + } + }, + "range": [ + 2625, + 2655 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 42 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2658, + 2662 + ], + "loc": { + "start": { + "line": 95, + "column": 45 + }, + "end": { + "line": 95, + "column": 49 + } + } + }, + "range": [ + 2600, + 2662 + ], + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 95, + "column": 49 + } + } + }, + "range": [ + 2581, + 2662 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 95, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 2577, + 2663 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 95, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 2677, + 2680 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2683, + 2692 + ], + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 97, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 2693, + 2699 + ], + "loc": { + "start": { + "line": 97, + "column": 28 + }, + "end": { + "line": 97, + "column": 34 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 2714, + 2718 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 17 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2720, + 2722 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildFilterId", + "range": [ + 2723, + 2736 + ], + "loc": { + "start": { + "line": 98, + "column": 22 + }, + "end": { + "line": 98, + "column": 35 + } + } + }, + "range": [ + 2720, + 2736 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2737, + 2745 + ], + "loc": { + "start": { + "line": 98, + "column": 36 + }, + "end": { + "line": 98, + "column": 44 + } + } + } + ], + "range": [ + 2720, + 2746 + ], + "loc": { + "start": { + "line": 98, + "column": 19 + }, + "end": { + "line": 98, + "column": 45 + } + } + } + ], + "range": [ + 2713, + 2747 + ], + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 46 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "ct", + "raw": "'ct'", + "range": [ + 2762, + 2766 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2768, + 2776 + ], + "loc": { + "start": { + "line": 99, + "column": 19 + }, + "end": { + "line": 99, + "column": 27 + } + } + } + ], + "range": [ + 2761, + 2777 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 28 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 2780, + 2788 + ], + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "0", + "raw": "'0'", + "range": [ + 2790, + 2793 + ], + "loc": { + "start": { + "line": 99, + "column": 41 + }, + "end": { + "line": 99, + "column": 44 + } + } + } + ], + "range": [ + 2779, + 2794 + ], + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 45 + } + } + } + ], + "range": [ + 2683, + 2804 + ], + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + "range": [ + 2677, + 2804 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 100, + "column": 9 + } + } + } + ], + "kind": "let", + "range": [ + 2673, + 2805 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 2819, + 2822 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 2827, + 2835 + ], + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "range": [ + 2819, + 2835 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 2851, + 2854 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "multiple", + "range": [ + 2855, + 2863 + ], + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 24 + } + } + }, + "range": [ + 2851, + 2863 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 2866, + 2874 + ], + "loc": { + "start": { + "line": 103, + "column": 27 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + "range": [ + 2851, + 2874 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + "range": [ + 2851, + 2875 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 2888, + 2891 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "title", + "range": [ + 2892, + 2897 + ], + "loc": { + "start": { + "line": 104, + "column": 16 + }, + "end": { + "line": 104, + "column": 21 + } + } + }, + "range": [ + 2888, + 2897 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2900, + 2904 + ], + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "multipleSlcTooltip", + "range": [ + 2905, + 2923 + ], + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + "range": [ + 2900, + 2923 + ], + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + "range": [ + 2888, + 2923 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + "range": [ + 2888, + 2924 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 48 + } + } + } + ], + "range": [ + 2837, + 2934 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2815, + 2934 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 2943, + 2946 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2947, + 2956 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 21 + } + } + }, + "range": [ + 2943, + 2956 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 21 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "col", + "range": [ + 2959, + 2962 + ], + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 2963, + 2974 + ], + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 39 + } + } + }, + "range": [ + 2959, + 2974 + ], + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 39 + } + } + }, + "arguments": [], + "range": [ + 2959, + 2976 + ], + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 2981, + 2987 + ], + "loc": { + "start": { + "line": 106, + "column": 46 + }, + "end": { + "line": 106, + "column": 52 + } + } + }, + "range": [ + 2959, + 2987 + ], + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 106, + "column": 52 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3002, + 3004 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCssClass", + "range": [ + 3005, + 3016 + ], + "loc": { + "start": { + "line": 107, + "column": 15 + }, + "end": { + "line": 107, + "column": 26 + } + } + }, + "range": [ + 3002, + 3016 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 26 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3019, + 3021 + ], + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltMultiCssClass", + "range": [ + 3022, + 3038 + ], + "loc": { + "start": { + "line": 107, + "column": 32 + }, + "end": { + "line": 107, + "column": 48 + } + } + }, + "range": [ + 3019, + 3038 + ], + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 48 + } + } + }, + "range": [ + 2959, + 3038 + ], + "loc": { + "start": { + "line": 106, + "column": 24 + }, + "end": { + "line": 107, + "column": 48 + } + } + }, + "range": [ + 2943, + 3038 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 107, + "column": 48 + } + } + }, + "range": [ + 2943, + 3039 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 107, + "column": 49 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "filter is appended in container element", + "range": [ + 3049, + 3090 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 49 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 3103, + 3119 + ], + "loc": { + "start": { + "line": 110, + "column": 12 + }, + "end": { + "line": 110, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 3135, + 3138 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 3139, + 3155 + ], + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 32 + } + } + } + ], + "range": [ + 3135, + 3156 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3157, + 3168 + ], + "loc": { + "start": { + "line": 111, + "column": 34 + }, + "end": { + "line": 111, + "column": 45 + } + } + }, + "range": [ + 3135, + 3168 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 3169, + 3172 + ], + "loc": { + "start": { + "line": 111, + "column": 46 + }, + "end": { + "line": 111, + "column": 49 + } + } + } + ], + "range": [ + 3135, + 3173 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 50 + } + } + }, + "range": [ + 3135, + 3174 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 51 + } + } + } + ], + "range": [ + 3121, + 3184 + ], + "loc": { + "start": { + "line": 110, + "column": 30 + }, + "end": { + "line": 112, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 3204, + 3213 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3214, + 3225 + ], + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + "range": [ + 3204, + 3225 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 3226, + 3229 + ], + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 37 + } + } + } + ], + "range": [ + 3204, + 3230 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 38 + } + } + }, + "range": [ + 3204, + 3231 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 39 + } + } + } + ], + "range": [ + 3190, + 3241 + ], + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 114, + "column": 9 + } + } + }, + "range": [ + 3099, + 3241 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 114, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filter is appended in container element", + "range": [ + 3049, + 3090 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 49 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3251, + 3253 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 3254, + 3260 + ], + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + "range": [ + 3251, + 3260 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 3261, + 3265 + ], + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + "range": [ + 3251, + 3265 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 3266, + 3269 + ], + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 3270, + 3272 + ], + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + "range": [ + 3266, + 3272 + ], + "loc": { + "start": { + "line": 116, + "column": 23 + }, + "end": { + "line": 116, + "column": 29 + } + } + } + ], + "range": [ + 3251, + 3273 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 30 + } + } + }, + "range": [ + 3251, + 3274 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3289, + 3291 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 3292, + 3307 + ], + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + "range": [ + 3289, + 3307 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 3288, + 3307 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3323, + 3327 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 3328, + 3333 + ], + "loc": { + "start": { + "line": 119, + "column": 17 + }, + "end": { + "line": 119, + "column": 22 + } + } + }, + "range": [ + 3323, + 3333 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3334, + 3342 + ], + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 31 + } + } + } + ], + "range": [ + 3323, + 3343 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 32 + } + } + }, + "range": [ + 3323, + 3344 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 33 + } + } + } + ], + "range": [ + 3309, + 3354 + ], + "loc": { + "start": { + "line": 118, + "column": 33 + }, + "end": { + "line": 120, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt0", + "range": [ + 3445, + 3449 + ], + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 3452, + 3461 + ], + "loc": { + "start": { + "line": 122, + "column": 23 + }, + "end": { + "line": 122, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3462, + 3464 + ], + "loc": { + "start": { + "line": 122, + "column": 33 + }, + "end": { + "line": 122, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 3465, + 3483 + ], + "loc": { + "start": { + "line": 122, + "column": 36 + }, + "end": { + "line": 122, + "column": 54 + } + } + }, + "range": [ + 3462, + 3483 + ], + "loc": { + "start": { + "line": 122, + "column": 33 + }, + "end": { + "line": 122, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3484, + 3492 + ], + "loc": { + "start": { + "line": 122, + "column": 55 + }, + "end": { + "line": 122, + "column": 63 + } + } + } + ], + "range": [ + 3462, + 3493 + ], + "loc": { + "start": { + "line": 122, + "column": 33 + }, + "end": { + "line": 122, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 3495, + 3497 + ], + "loc": { + "start": { + "line": 122, + "column": 66 + }, + "end": { + "line": 122, + "column": 68 + } + } + } + ], + "range": [ + 3452, + 3498 + ], + "loc": { + "start": { + "line": 122, + "column": 23 + }, + "end": { + "line": 122, + "column": 69 + } + } + }, + "range": [ + 3445, + 3498 + ], + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 69 + } + } + } + ], + "kind": "let", + "range": [ + 3441, + 3499 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "1st option is created here since build isn't invoked", + "range": [ + 3374, + 3428 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 66 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 3512, + 3515 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3516, + 3527 + ], + "loc": { + "start": { + "line": 123, + "column": 16 + }, + "end": { + "line": 123, + "column": 27 + } + } + }, + "range": [ + 3512, + 3527 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt0", + "range": [ + 3528, + 3532 + ], + "loc": { + "start": { + "line": 123, + "column": 28 + }, + "end": { + "line": 123, + "column": 32 + } + } + } + ], + "range": [ + 3512, + 3533 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 33 + } + } + }, + "range": [ + 3512, + 3534 + ], + "loc": { + "start": { + "line": 123, + "column": 12 + }, + "end": { + "line": 123, + "column": 34 + } + } + } + ], + "range": [ + 3360, + 3544 + ], + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 124, + "column": 9 + } + } + }, + "range": [ + 3284, + 3544 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 124, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 3554, + 3560 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 3561, + 3564 + ], + "loc": { + "start": { + "line": 126, + "column": 15 + }, + "end": { + "line": 126, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "change", + "raw": "'change'", + "range": [ + 3566, + 3574 + ], + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 28 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3582, + 3586 + ], + "loc": { + "start": { + "line": 126, + "column": 36 + }, + "end": { + "line": 126, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSlcChange", + "range": [ + 3587, + 3598 + ], + "loc": { + "start": { + "line": 126, + "column": 41 + }, + "end": { + "line": 126, + "column": 52 + } + } + }, + "range": [ + 3582, + 3598 + ], + "loc": { + "start": { + "line": 126, + "column": 36 + }, + "end": { + "line": 126, + "column": 52 + } + } + }, + "arguments": [], + "range": [ + 3582, + 3600 + ], + "loc": { + "start": { + "line": 126, + "column": 36 + }, + "end": { + "line": 126, + "column": 54 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3576, + 3600 + ], + "loc": { + "start": { + "line": 126, + "column": 30 + }, + "end": { + "line": 126, + "column": 54 + } + } + } + ], + "range": [ + 3554, + 3601 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 55 + } + } + }, + "range": [ + 3554, + 3602 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 3611, + 3617 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 3618, + 3621 + ], + "loc": { + "start": { + "line": 127, + "column": 15 + }, + "end": { + "line": 127, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "focus", + "raw": "'focus'", + "range": [ + 3623, + 3630 + ], + "loc": { + "start": { + "line": 127, + "column": 20 + }, + "end": { + "line": 127, + "column": 27 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 3633, + 3634 + ], + "loc": { + "start": { + "line": 127, + "column": 30 + }, + "end": { + "line": 127, + "column": 31 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3639, + 3643 + ], + "loc": { + "start": { + "line": 127, + "column": 36 + }, + "end": { + "line": 127, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSlcFocus", + "range": [ + 3644, + 3654 + ], + "loc": { + "start": { + "line": 127, + "column": 41 + }, + "end": { + "line": 127, + "column": 51 + } + } + }, + "range": [ + 3639, + 3654 + ], + "loc": { + "start": { + "line": 127, + "column": 36 + }, + "end": { + "line": 127, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 3655, + 3656 + ], + "loc": { + "start": { + "line": 127, + "column": 52 + }, + "end": { + "line": 127, + "column": 53 + } + } + } + ], + "range": [ + 3639, + 3657 + ], + "loc": { + "start": { + "line": 127, + "column": 36 + }, + "end": { + "line": 127, + "column": 54 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3632, + 3657 + ], + "loc": { + "start": { + "line": 127, + "column": 29 + }, + "end": { + "line": 127, + "column": 54 + } + } + } + ], + "range": [ + 3611, + 3658 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 55 + } + } + }, + "range": [ + 3611, + 3659 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3669, + 3673 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3674, + 3681 + ], + "loc": { + "start": { + "line": 129, + "column": 13 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + "range": [ + 3669, + 3681 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3682, + 3684 + ], + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 23 + } + } + }, + "range": [ + 3669, + 3684 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "build-select-filter", + "raw": "'build-select-filter'", + "range": [ + 3699, + 3720 + ], + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 34 + } + } + } + ], + "range": [ + 3698, + 3721 + ], + "loc": { + "start": { + "line": 130, + "column": 12 + }, + "end": { + "line": 130, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 3736, + 3738 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3740, + 3748 + ], + "loc": { + "start": { + "line": 131, + "column": 17 + }, + "end": { + "line": 131, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 3750, + 3758 + ], + "loc": { + "start": { + "line": 131, + "column": 27 + }, + "end": { + "line": 131, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 3760, + 3770 + ], + "loc": { + "start": { + "line": 131, + "column": 37 + }, + "end": { + "line": 131, + "column": 47 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3791, + 3795 + ], + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 3796, + 3801 + ], + "loc": { + "start": { + "line": 132, + "column": 21 + }, + "end": { + "line": 132, + "column": 26 + } + } + }, + "range": [ + 3791, + 3801 + ], + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3802, + 3810 + ], + "loc": { + "start": { + "line": 132, + "column": 27 + }, + "end": { + "line": 132, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 3812, + 3820 + ], + "loc": { + "start": { + "line": 132, + "column": 37 + }, + "end": { + "line": 132, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 3822, + 3832 + ], + "loc": { + "start": { + "line": 132, + "column": 47 + }, + "end": { + "line": 132, + "column": 57 + } + } + } + ], + "range": [ + 3791, + 3833 + ], + "loc": { + "start": { + "line": 132, + "column": 16 + }, + "end": { + "line": 132, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3735, + 3833 + ], + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 132, + "column": 58 + } + } + } + ], + "range": [ + 3669, + 3843 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 133, + "column": 9 + } + } + }, + "range": [ + 3669, + 3844 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 133, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3853, + 3857 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3858, + 3865 + ], + "loc": { + "start": { + "line": 134, + "column": 13 + }, + "end": { + "line": 134, + "column": 20 + } + } + }, + "range": [ + 3853, + 3865 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3866, + 3868 + ], + "loc": { + "start": { + "line": 134, + "column": 21 + }, + "end": { + "line": 134, + "column": 23 + } + } + }, + "range": [ + 3853, + 3868 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "select-options", + "raw": "'select-options'", + "range": [ + 3883, + 3899 + ], + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 135, + "column": 29 + } + } + } + ], + "range": [ + 3882, + 3900 + ], + "loc": { + "start": { + "line": 135, + "column": 12 + }, + "end": { + "line": 135, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 3915, + 3917 + ], + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3919, + 3927 + ], + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 3929, + 3935 + ], + "loc": { + "start": { + "line": 136, + "column": 27 + }, + "end": { + "line": 136, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3940, + 3944 + ], + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 3945, + 3958 + ], + "loc": { + "start": { + "line": 136, + "column": 43 + }, + "end": { + "line": 136, + "column": 56 + } + } + }, + "range": [ + 3940, + 3958 + ], + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 3959, + 3967 + ], + "loc": { + "start": { + "line": 136, + "column": 57 + }, + "end": { + "line": 136, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 3969, + 3975 + ], + "loc": { + "start": { + "line": 136, + "column": 67 + }, + "end": { + "line": 136, + "column": 73 + } + } + } + ], + "range": [ + 3940, + 3976 + ], + "loc": { + "start": { + "line": 136, + "column": 38 + }, + "end": { + "line": 136, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3914, + 3976 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 74 + } + } + } + ], + "range": [ + 3853, + 3986 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 9 + } + } + }, + "range": [ + 3853, + 3987 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3996, + 4000 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4001, + 4008 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 20 + } + } + }, + "range": [ + 3996, + 4008 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4009, + 4011 + ], + "loc": { + "start": { + "line": 138, + "column": 21 + }, + "end": { + "line": 138, + "column": 23 + } + } + }, + "range": [ + 3996, + 4011 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 4013, + 4027 + ], + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 39 + } + } + } + ], + "range": [ + 4012, + 4028 + ], + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4036, + 4040 + ], + "loc": { + "start": { + "line": 138, + "column": 48 + }, + "end": { + "line": 138, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 4041, + 4051 + ], + "loc": { + "start": { + "line": 138, + "column": 53 + }, + "end": { + "line": 138, + "column": 63 + } + } + }, + "range": [ + 4036, + 4051 + ], + "loc": { + "start": { + "line": 138, + "column": 48 + }, + "end": { + "line": 138, + "column": 63 + } + } + }, + "arguments": [], + "range": [ + 4036, + 4053 + ], + "loc": { + "start": { + "line": 138, + "column": 48 + }, + "end": { + "line": 138, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4030, + 4053 + ], + "loc": { + "start": { + "line": 138, + "column": 42 + }, + "end": { + "line": 138, + "column": 65 + } + } + } + ], + "range": [ + 3996, + 4054 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 66 + } + } + }, + "range": [ + 3996, + 4055 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 67 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4065, + 4082 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4091, + 4095 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4096, + 4107 + ], + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 24 + } + } + }, + "range": [ + 4091, + 4107 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 4110, + 4114 + ], + "loc": { + "start": { + "line": 141, + "column": 27 + }, + "end": { + "line": 141, + "column": 31 + } + } + }, + "range": [ + 4091, + 4114 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 31 + } + } + }, + "range": [ + 4091, + 4115 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4065, + 4082 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 2495, + 4121 + ], + "loc": { + "start": { + "line": 91, + "column": 42 + }, + "end": { + "line": 142, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2461, + 4121 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 142, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2457, + 4121 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 142, + "column": 5 + } + }, + "leadingComments": [ + { + "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": [ + 2221, + 2452 + ], + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 4127, + 4290 + ], + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 148, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "build", + "range": [ + 4295, + 4300 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4301, + 4309 + ], + "loc": { + "start": { + "line": 149, + "column": 10 + }, + "end": { + "line": 149, + "column": 18 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 4311, + 4319 + ], + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 4322, + 4327 + ], + "loc": { + "start": { + "line": 149, + "column": 31 + }, + "end": { + "line": 149, + "column": 36 + } + } + }, + "range": [ + 4311, + 4327 + ], + "loc": { + "start": { + "line": 149, + "column": 20 + }, + "end": { + "line": 149, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4343, + 4345 + ], + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4348, + 4352 + ], + "loc": { + "start": { + "line": 150, + "column": 17 + }, + "end": { + "line": 150, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4353, + 4355 + ], + "loc": { + "start": { + "line": 150, + "column": 22 + }, + "end": { + "line": 150, + "column": 24 + } + } + }, + "range": [ + 4348, + 4355 + ], + "loc": { + "start": { + "line": 150, + "column": 17 + }, + "end": { + "line": 150, + "column": 24 + } + } + }, + "range": [ + 4343, + 4355 + ], + "loc": { + "start": { + "line": 150, + "column": 12 + }, + "end": { + "line": 150, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4339, + 4356 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4365, + 4373 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 4376, + 4384 + ], + "loc": { + "start": { + "line": 151, + "column": 19 + }, + "end": { + "line": 151, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4385, + 4393 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 4395, + 4397 + ], + "loc": { + "start": { + "line": 151, + "column": 38 + }, + "end": { + "line": 151, + "column": 40 + } + } + } + ], + "range": [ + 4376, + 4398 + ], + "loc": { + "start": { + "line": 151, + "column": 19 + }, + "end": { + "line": 151, + "column": 41 + } + } + }, + "range": [ + 4365, + 4398 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 41 + } + } + }, + "range": [ + 4365, + 4399 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4409, + 4413 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4414, + 4421 + ], + "loc": { + "start": { + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + "range": [ + 4409, + 4421 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 4422, + 4426 + ], + "loc": { + "start": { + "line": 153, + "column": 21 + }, + "end": { + "line": 153, + "column": 25 + } + } + }, + "range": [ + 4409, + 4426 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-populating-filter", + "raw": "'before-populating-filter'", + "range": [ + 4427, + 4453 + ], + "loc": { + "start": { + "line": 153, + "column": 26 + }, + "end": { + "line": 153, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 4455, + 4457 + ], + "loc": { + "start": { + "line": 153, + "column": 54 + }, + "end": { + "line": 153, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4459, + 4467 + ], + "loc": { + "start": { + "line": 153, + "column": 58 + }, + "end": { + "line": 153, + "column": 66 + } + } + } + ], + "range": [ + 4409, + 4468 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 67 + } + } + }, + "range": [ + 4409, + 4469 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 68 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4479, + 4496 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4505, + 4509 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 4510, + 4514 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "range": [ + 4505, + 4514 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 4517, + 4519 + ], + "loc": { + "start": { + "line": 156, + "column": 20 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + "range": [ + 4505, + 4519 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + "range": [ + 4505, + 4520 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4479, + 4496 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4529, + 4546 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4555, + 4559 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 4560, + 4567 + ], + "loc": { + "start": { + "line": 158, + "column": 13 + }, + "end": { + "line": 158, + "column": 20 + } + } + }, + "range": [ + 4555, + 4567 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 20 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 4570, + 4572 + ], + "loc": { + "start": { + "line": 158, + "column": 23 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "range": [ + 4555, + 4572 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "range": [ + 4555, + 4573 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4529, + 4546 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 25 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcId", + "range": [ + 4587, + 4592 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4595, + 4597 + ], + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 160, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 4598, + 4604 + ], + "loc": { + "start": { + "line": 160, + "column": 23 + }, + "end": { + "line": 160, + "column": 29 + } + } + }, + "range": [ + 4595, + 4604 + ], + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 160, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4605, + 4613 + ], + "loc": { + "start": { + "line": 160, + "column": 30 + }, + "end": { + "line": 160, + "column": 38 + } + } + }, + "range": [ + 4595, + 4614 + ], + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 160, + "column": 39 + } + } + }, + "range": [ + 4587, + 4614 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 4583, + 4615 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 4628, + 4631 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 4634, + 4637 + ], + "loc": { + "start": { + "line": 161, + "column": 18 + }, + "end": { + "line": 161, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcId", + "range": [ + 4638, + 4643 + ], + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 27 + } + } + } + ], + "range": [ + 4634, + 4644 + ], + "loc": { + "start": { + "line": 161, + "column": 18 + }, + "end": { + "line": 161, + "column": 28 + } + } + }, + "range": [ + 4628, + 4644 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 28 + } + } + } + ], + "kind": "let", + "range": [ + 4624, + 4645 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 29 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 4658, + 4662 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4665, + 4667 + ], + "loc": { + "start": { + "line": 162, + "column": 19 + }, + "end": { + "line": 162, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4668, + 4671 + ], + "loc": { + "start": { + "line": 162, + "column": 22 + }, + "end": { + "line": 162, + "column": 25 + } + } + }, + "range": [ + 4665, + 4671 + ], + "loc": { + "start": { + "line": 162, + "column": 19 + }, + "end": { + "line": 162, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 4665, + 4673 + ], + "loc": { + "start": { + "line": 162, + "column": 19 + }, + "end": { + "line": 162, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 4674, + 4678 + ], + "loc": { + "start": { + "line": 162, + "column": 28 + }, + "end": { + "line": 162, + "column": 32 + } + } + }, + "range": [ + 4665, + 4678 + ], + "loc": { + "start": { + "line": 162, + "column": 19 + }, + "end": { + "line": 162, + "column": 32 + } + } + }, + "range": [ + 4658, + 4678 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 4654, + 4679 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 4692, + 4698 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4701, + 4703 + ], + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 4704, + 4713 + ], + "loc": { + "start": { + "line": 163, + "column": 24 + }, + "end": { + "line": 163, + "column": 33 + } + } + }, + "range": [ + 4701, + 4713 + ], + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 4714, + 4718 + ], + "loc": { + "start": { + "line": 163, + "column": 34 + }, + "end": { + "line": 163, + "column": 38 + } + } + } + ], + "range": [ + 4701, + 4719 + ], + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 39 + } + } + }, + "range": [ + 4692, + 4719 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 4688, + 4720 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "custom select test", + "range": [ + 4730, + 4750 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4759, + 4776 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4785, + 4789 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 4790, + 4798 + ], + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 21 + } + } + }, + "range": [ + 4785, + 4798 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4801, + 4803 + ], + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustomOptions", + "range": [ + 4804, + 4819 + ], + "loc": { + "start": { + "line": 167, + "column": 27 + }, + "end": { + "line": 167, + "column": 42 + } + } + }, + "range": [ + 4801, + 4819 + ], + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4820, + 4828 + ], + "loc": { + "start": { + "line": 167, + "column": 43 + }, + "end": { + "line": 167, + "column": 51 + } + } + } + ], + "range": [ + 4801, + 4829 + ], + "loc": { + "start": { + "line": 167, + "column": 24 + }, + "end": { + "line": 167, + "column": 52 + } + } + }, + "range": [ + 4785, + 4829 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 52 + } + } + }, + "range": [ + 4785, + 4830 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "custom select test", + "range": [ + 4730, + 4750 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4759, + 4776 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 25 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 4840, + 4865 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 33 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4878, + 4882 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 4883, + 4891 + ], + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 170, + "column": 25 + } + } + }, + "range": [ + 4878, + 4891 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "customValues", + "range": [ + 4911, + 4923 + ], + "loc": { + "start": { + "line": 171, + "column": 16 + }, + "end": { + "line": 171, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4926, + 4928 + ], + "loc": { + "start": { + "line": 171, + "column": 31 + }, + "end": { + "line": 171, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCustomOptions", + "range": [ + 4929, + 4945 + ], + "loc": { + "start": { + "line": 171, + "column": 34 + }, + "end": { + "line": 171, + "column": 50 + } + } + }, + "range": [ + 4926, + 4945 + ], + "loc": { + "start": { + "line": 171, + "column": 31 + }, + "end": { + "line": 171, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4946, + 4954 + ], + "loc": { + "start": { + "line": 171, + "column": 51 + }, + "end": { + "line": 171, + "column": 59 + } + } + } + ], + "range": [ + 4926, + 4955 + ], + "loc": { + "start": { + "line": 171, + "column": 31 + }, + "end": { + "line": 171, + "column": 60 + } + } + }, + "range": [ + 4911, + 4955 + ], + "loc": { + "start": { + "line": 171, + "column": 16 + }, + "end": { + "line": 171, + "column": 60 + } + } + } + ], + "kind": "let", + "range": [ + 4907, + 4956 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4969, + 4973 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 4974, + 4978 + ], + "loc": { + "start": { + "line": 172, + "column": 17 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + "range": [ + 4969, + 4978 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "customValues", + "range": [ + 4981, + 4993 + ], + "loc": { + "start": { + "line": 172, + "column": 24 + }, + "end": { + "line": 172, + "column": 36 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4994, + 4995 + ], + "loc": { + "start": { + "line": 172, + "column": 37 + }, + "end": { + "line": 172, + "column": 38 + } + } + }, + "range": [ + 4981, + 4996 + ], + "loc": { + "start": { + "line": 172, + "column": 24 + }, + "end": { + "line": 172, + "column": 39 + } + } + }, + "range": [ + 4969, + 4996 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 39 + } + } + }, + "range": [ + 4969, + 4997 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5010, + 5014 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 5015, + 5022 + ], + "loc": { + "start": { + "line": 173, + "column": 17 + }, + "end": { + "line": 173, + "column": 24 + } + } + }, + "range": [ + 5010, + 5022 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "customValues", + "range": [ + 5025, + 5037 + ], + "loc": { + "start": { + "line": 173, + "column": 27 + }, + "end": { + "line": 173, + "column": 39 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5038, + 5039 + ], + "loc": { + "start": { + "line": 173, + "column": 40 + }, + "end": { + "line": 173, + "column": 41 + } + } + }, + "range": [ + 5025, + 5040 + ], + "loc": { + "start": { + "line": 173, + "column": 27 + }, + "end": { + "line": 173, + "column": 42 + } + } + }, + "range": [ + 5010, + 5040 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 42 + } + } + }, + "range": [ + 5010, + 5041 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 43 + } + } + } + ], + "range": [ + 4893, + 5051 + ], + "loc": { + "start": { + "line": 170, + "column": 27 + }, + "end": { + "line": 174, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4874, + 5051 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 174, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 4840, + 4865 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "custom selects text", + "range": [ + 5061, + 5082 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 29 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 5095, + 5104 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 21 + } + } + }, + "init": null, + "range": [ + 5095, + 5104 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 21 + } + } + } + ], + "kind": "let", + "range": [ + 5091, + 5105 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "custom selects text", + "range": [ + 5061, + 5082 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 29 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 5118, + 5132 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5135, + 5137 + ], + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getActiveFilterId", + "range": [ + 5138, + 5155 + ], + "loc": { + "start": { + "line": 178, + "column": 32 + }, + "end": { + "line": 178, + "column": 49 + } + } + }, + "range": [ + 5135, + 5155 + ], + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 5135, + 5157 + ], + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "range": [ + 5118, + 5157 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 5114, + 5158 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 5171, + 5179 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 5183, + 5197 + ], + "loc": { + "start": { + "line": 179, + "column": 24 + }, + "end": { + "line": 179, + "column": 38 + } + } + }, + "range": [ + 5171, + 5197 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 5213, + 5222 + ], + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5225, + 5227 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 5228, + 5254 + ], + "loc": { + "start": { + "line": 180, + "column": 27 + }, + "end": { + "line": 180, + "column": 53 + } + } + }, + "range": [ + 5225, + 5254 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 5255, + 5269 + ], + "loc": { + "start": { + "line": 180, + "column": 54 + }, + "end": { + "line": 180, + "column": 68 + } + } + } + ], + "range": [ + 5225, + 5270 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 69 + } + } + }, + "range": [ + 5213, + 5270 + ], + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 69 + } + } + }, + "range": [ + 5213, + 5271 + ], + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 70 + } + } + } + ], + "range": [ + 5199, + 5281 + ], + "loc": { + "start": { + "line": 179, + "column": 40 + }, + "end": { + "line": 181, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5167, + 5281 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 181, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 5295, + 5307 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 24 + } + } + }, + "init": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5310, + 5314 + ], + "loc": { + "start": { + "line": 183, + "column": 27 + }, + "end": { + "line": 183, + "column": 31 + } + } + }, + "range": [ + 5295, + 5314 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 31 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filteredDataCol", + "range": [ + 5328, + 5343 + ], + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 27 + } + } + }, + "init": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5346, + 5350 + ], + "loc": { + "start": { + "line": 184, + "column": 30 + }, + "end": { + "line": 184, + "column": 34 + } + } + }, + "range": [ + 5328, + 5350 + ], + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 5291, + 5351 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 184, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 5364, + 5372 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5376, + 5378 + ], + "loc": { + "start": { + "line": 185, + "column": 24 + }, + "end": { + "line": 185, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 5379, + 5401 + ], + "loc": { + "start": { + "line": 185, + "column": 27 + }, + "end": { + "line": 185, + "column": 49 + } + } + }, + "range": [ + 5376, + 5401 + ], + "loc": { + "start": { + "line": 185, + "column": 24 + }, + "end": { + "line": 185, + "column": 49 + } + } + }, + "range": [ + 5364, + 5401 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 5417, + 5429 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 24 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5432, + 5434 + ], + "loc": { + "start": { + "line": 186, + "column": 27 + }, + "end": { + "line": 186, + "column": 29 + } + } + }, + "range": [ + 5417, + 5434 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 29 + } + } + }, + "range": [ + 5417, + 5435 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "filteredDataCol", + "range": [ + 5448, + 5463 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5466, + 5468 + ], + "loc": { + "start": { + "line": 187, + "column": 30 + }, + "end": { + "line": 187, + "column": 32 + } + } + }, + "range": [ + 5448, + 5468 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 32 + } + } + }, + "range": [ + 5448, + 5469 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 33 + } + } + } + ], + "range": [ + 5403, + 5479 + ], + "loc": { + "start": { + "line": 185, + "column": 51 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5360, + 5479 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 5498, + 5499 + ], + "loc": { + "start": { + "line": 190, + "column": 17 + }, + "end": { + "line": 190, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5502, + 5504 + ], + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 5505, + 5511 + ], + "loc": { + "start": { + "line": 190, + "column": 24 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + "range": [ + 5502, + 5511 + ], + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + "range": [ + 5498, + 5511 + ], + "loc": { + "start": { + "line": 190, + "column": 17 + }, + "end": { + "line": 190, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 5494, + 5511 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 5513, + 5514 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 5517, + 5523 + ], + "loc": { + "start": { + "line": 190, + "column": 36 + }, + "end": { + "line": 190, + "column": 42 + } + } + }, + "range": [ + 5513, + 5523 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 42 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 5525, + 5526 + ], + "loc": { + "start": { + "line": 190, + "column": 44 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + "prefix": false, + "range": [ + 5525, + 5528 + ], + "loc": { + "start": { + "line": 190, + "column": 44 + }, + "end": { + "line": 190, + "column": 47 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5646, + 5648 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 5649, + 5663 + ], + "loc": { + "start": { + "line": 193, + "column": 19 + }, + "end": { + "line": 193, + "column": 33 + } + } + }, + "range": [ + 5646, + 5663 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5667, + 5669 + ], + "loc": { + "start": { + "line": 193, + "column": 37 + }, + "end": { + "line": 193, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 5670, + 5681 + ], + "loc": { + "start": { + "line": 193, + "column": 40 + }, + "end": { + "line": 193, + "column": 51 + } + } + }, + "range": [ + 5667, + 5681 + ], + "loc": { + "start": { + "line": 193, + "column": 37 + }, + "end": { + "line": 193, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 5682, + 5689 + ], + "loc": { + "start": { + "line": 193, + "column": 52 + }, + "end": { + "line": 193, + "column": 59 + } + } + }, + "range": [ + 5667, + 5689 + ], + "loc": { + "start": { + "line": 193, + "column": 37 + }, + "end": { + "line": 193, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 5690, + 5691 + ], + "loc": { + "start": { + "line": 193, + "column": 60 + }, + "end": { + "line": 193, + "column": 61 + } + } + } + ], + "range": [ + 5667, + 5692 + ], + "loc": { + "start": { + "line": 193, + "column": 37 + }, + "end": { + "line": 193, + "column": 62 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5698, + 5699 + ], + "loc": { + "start": { + "line": 193, + "column": 68 + }, + "end": { + "line": 193, + "column": 69 + } + } + }, + "prefix": true, + "range": [ + 5697, + 5699 + ], + "loc": { + "start": { + "line": 193, + "column": 67 + }, + "end": { + "line": 193, + "column": 69 + } + } + }, + "range": [ + 5667, + 5699 + ], + "loc": { + "start": { + "line": 193, + "column": 37 + }, + "end": { + "line": 193, + "column": 69 + } + } + }, + "range": [ + 5646, + 5699 + ], + "loc": { + "start": { + "line": 193, + "column": 16 + }, + "end": { + "line": 193, + "column": 69 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 5719, + 5728 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 25 + } + } + } + ], + "range": [ + 5701, + 5742 + ], + "loc": { + "start": { + "line": 193, + "column": 71 + }, + "end": { + "line": 195, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 5642, + 5742 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 195, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " always visible rows don't need to appear on selects as always", + "range": [ + 5544, + 5608 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " valid", + "range": [ + 5621, + 5629 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 20 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 5760, + 5764 + ], + "loc": { + "start": { + "line": 197, + "column": 16 + }, + "end": { + "line": 197, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 5767, + 5771 + ], + "loc": { + "start": { + "line": 197, + "column": 23 + }, + "end": { + "line": 197, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 5772, + 5773 + ], + "loc": { + "start": { + "line": 197, + "column": 28 + }, + "end": { + "line": 197, + "column": 29 + } + } + }, + "range": [ + 5767, + 5774 + ], + "loc": { + "start": { + "line": 197, + "column": 23 + }, + "end": { + "line": 197, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 5775, + 5780 + ], + "loc": { + "start": { + "line": 197, + "column": 31 + }, + "end": { + "line": 197, + "column": 36 + } + } + }, + "range": [ + 5767, + 5780 + ], + "loc": { + "start": { + "line": 197, + "column": 23 + }, + "end": { + "line": 197, + "column": 36 + } + } + }, + "range": [ + 5760, + 5780 + ], + "loc": { + "start": { + "line": 197, + "column": 16 + }, + "end": { + "line": 197, + "column": 36 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 5798, + 5805 + ], + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 5808, + 5812 + ], + "loc": { + "start": { + "line": 198, + "column": 26 + }, + "end": { + "line": 198, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 5813, + 5819 + ], + "loc": { + "start": { + "line": 198, + "column": 31 + }, + "end": { + "line": 198, + "column": 37 + } + } + }, + "range": [ + 5808, + 5819 + ], + "loc": { + "start": { + "line": 198, + "column": 26 + }, + "end": { + "line": 198, + "column": 37 + } + } + }, + "range": [ + 5798, + 5819 + ], + "loc": { + "start": { + "line": 198, + "column": 16 + }, + "end": { + "line": 198, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 5756, + 5820 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 198, + "column": 38 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 5834, + 5867 + ], + "loc": { + "start": { + "line": 200, + "column": 12 + }, + "end": { + "line": 200, + "column": 45 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 5884, + 5891 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5896, + 5898 + ], + "loc": { + "start": { + "line": 201, + "column": 28 + }, + "end": { + "line": 201, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 5899, + 5906 + ], + "loc": { + "start": { + "line": 201, + "column": 31 + }, + "end": { + "line": 201, + "column": 38 + } + } + }, + "range": [ + 5896, + 5906 + ], + "loc": { + "start": { + "line": 201, + "column": 28 + }, + "end": { + "line": 201, + "column": 38 + } + } + }, + "range": [ + 5884, + 5906 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5910, + 5914 + ], + "loc": { + "start": { + "line": 201, + "column": 42 + }, + "end": { + "line": 201, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 5915, + 5923 + ], + "loc": { + "start": { + "line": 201, + "column": 47 + }, + "end": { + "line": 201, + "column": 55 + } + } + }, + "range": [ + 5910, + 5923 + ], + "loc": { + "start": { + "line": 201, + "column": 42 + }, + "end": { + "line": 201, + "column": 55 + } + } + }, + "range": [ + 5884, + 5923 + ], + "loc": { + "start": { + "line": 201, + "column": 16 + }, + "end": { + "line": 201, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 5943, + 5952 + ], + "loc": { + "start": { + "line": 202, + "column": 16 + }, + "end": { + "line": 202, + "column": 25 + } + } + } + ], + "range": [ + 5925, + 5966 + ], + "loc": { + "start": { + "line": 201, + "column": 57 + }, + "end": { + "line": 203, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 5880, + 5966 + ], + "loc": { + "start": { + "line": 201, + "column": 12 + }, + "end": { + "line": 203, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 5834, + 5867 + ], + "loc": { + "start": { + "line": 200, + "column": 12 + }, + "end": { + "line": 200, + "column": 45 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 5980, + 6012 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 44 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 6034, + 6035 + ], + "loc": { + "start": { + "line": 206, + "column": 21 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6038, + 6039 + ], + "loc": { + "start": { + "line": 206, + "column": 25 + }, + "end": { + "line": 206, + "column": 26 + } + } + }, + "range": [ + 6034, + 6039 + ], + "loc": { + "start": { + "line": 206, + "column": 21 + }, + "end": { + "line": 206, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 6030, + 6039 + ], + "loc": { + "start": { + "line": 206, + "column": 17 + }, + "end": { + "line": 206, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 6041, + 6042 + ], + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 6045, + 6052 + ], + "loc": { + "start": { + "line": 206, + "column": 32 + }, + "end": { + "line": 206, + "column": 39 + } + } + }, + "range": [ + 6041, + 6052 + ], + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 39 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 6054, + 6055 + ], + "loc": { + "start": { + "line": 206, + "column": 41 + }, + "end": { + "line": 206, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 6054, + 6057 + ], + "loc": { + "start": { + "line": 206, + "column": 41 + }, + "end": { + "line": 206, + "column": 44 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 6081, + 6089 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 6094, + 6095 + ], + "loc": { + "start": { + "line": 207, + "column": 33 + }, + "end": { + "line": 207, + "column": 34 + } + } + }, + "range": [ + 6081, + 6095 + ], + "loc": { + "start": { + "line": 207, + "column": 20 + }, + "end": { + "line": 207, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 6119, + 6128 + ], + "loc": { + "start": { + "line": 208, + "column": 20 + }, + "end": { + "line": 208, + "column": 29 + } + } + } + ], + "range": [ + 6097, + 6146 + ], + "loc": { + "start": { + "line": 207, + "column": 36 + }, + "end": { + "line": 209, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 6077, + 6146 + ], + "loc": { + "start": { + "line": 207, + "column": 16 + }, + "end": { + "line": 209, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 6167, + 6175 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 210, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6180, + 6182 + ], + "loc": { + "start": { + "line": 210, + "column": 33 + }, + "end": { + "line": 210, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 6183, + 6205 + ], + "loc": { + "start": { + "line": 210, + "column": 36 + }, + "end": { + "line": 210, + "column": 58 + } + } + }, + "range": [ + 6180, + 6205 + ], + "loc": { + "start": { + "line": 210, + "column": 33 + }, + "end": { + "line": 210, + "column": 58 + } + } + }, + "prefix": true, + "range": [ + 6179, + 6205 + ], + "loc": { + "start": { + "line": 210, + "column": 32 + }, + "end": { + "line": 210, + "column": 58 + } + } + }, + "range": [ + 6167, + 6205 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 210, + "column": 58 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6231, + 6233 + ], + "loc": { + "start": { + "line": 211, + "column": 22 + }, + "end": { + "line": 211, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 6234, + 6240 + ], + "loc": { + "start": { + "line": 211, + "column": 25 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + "range": [ + 6231, + 6240 + ], + "loc": { + "start": { + "line": 211, + "column": 22 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 6230, + 6240 + ], + "loc": { + "start": { + "line": 211, + "column": 21 + }, + "end": { + "line": 211, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6245, + 6247 + ], + "loc": { + "start": { + "line": 211, + "column": 36 + }, + "end": { + "line": 211, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isRowDisplayed", + "range": [ + 6248, + 6262 + ], + "loc": { + "start": { + "line": 211, + "column": 39 + }, + "end": { + "line": 211, + "column": 53 + } + } + }, + "range": [ + 6245, + 6262 + ], + "loc": { + "start": { + "line": 211, + "column": 36 + }, + "end": { + "line": 211, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 6263, + 6264 + ], + "loc": { + "start": { + "line": 211, + "column": 54 + }, + "end": { + "line": 211, + "column": 55 + } + } + } + ], + "range": [ + 6245, + 6265 + ], + "loc": { + "start": { + "line": 211, + "column": 36 + }, + "end": { + "line": 211, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 6244, + 6265 + ], + "loc": { + "start": { + "line": 211, + "column": 35 + }, + "end": { + "line": 211, + "column": 56 + } + } + }, + "range": [ + 6230, + 6265 + ], + "loc": { + "start": { + "line": 211, + "column": 21 + }, + "end": { + "line": 211, + "column": 56 + } + } + }, + "range": [ + 6167, + 6266 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 211, + "column": 57 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6291, + 6293 + ], + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 6294, + 6300 + ], + "loc": { + "start": { + "line": 212, + "column": 24 + }, + "end": { + "line": 212, + "column": 30 + } + } + }, + "range": [ + 6291, + 6300 + ], + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 6304, + 6313 + ], + "loc": { + "start": { + "line": 212, + "column": 34 + }, + "end": { + "line": 212, + "column": 43 + } + } + }, + "range": [ + 6291, + 6313 + ], + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 43 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6318, + 6320 + ], + "loc": { + "start": { + "line": 212, + "column": 48 + }, + "end": { + "line": 212, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 6321, + 6331 + ], + "loc": { + "start": { + "line": 212, + "column": 51 + }, + "end": { + "line": 212, + "column": 61 + } + } + }, + "range": [ + 6318, + 6331 + ], + "loc": { + "start": { + "line": 212, + "column": 48 + }, + "end": { + "line": 212, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 6332, + 6333 + ], + "loc": { + "start": { + "line": 212, + "column": 62 + }, + "end": { + "line": 212, + "column": 63 + } + } + } + ], + "range": [ + 6318, + 6334 + ], + "loc": { + "start": { + "line": 212, + "column": 48 + }, + "end": { + "line": 212, + "column": 64 + } + } + }, + "prefix": true, + "range": [ + 6317, + 6334 + ], + "loc": { + "start": { + "line": 212, + "column": 47 + }, + "end": { + "line": 212, + "column": 64 + } + } + }, + "range": [ + 6291, + 6334 + ], + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 64 + } + } + }, + "range": [ + 6167, + 6335 + ], + "loc": { + "start": { + "line": 210, + "column": 20 + }, + "end": { + "line": 212, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 6359, + 6368 + ], + "loc": { + "start": { + "line": 213, + "column": 20 + }, + "end": { + "line": 213, + "column": 29 + } + } + } + ], + "range": [ + 6337, + 6386 + ], + "loc": { + "start": { + "line": 212, + "column": 67 + }, + "end": { + "line": 214, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 6163, + 6386 + ], + "loc": { + "start": { + "line": 210, + "column": 16 + }, + "end": { + "line": 214, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 6408, + 6417 + ], + "loc": { + "start": { + "line": 216, + "column": 20 + }, + "end": { + "line": 216, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6420, + 6422 + ], + "loc": { + "start": { + "line": 216, + "column": 32 + }, + "end": { + "line": 216, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 6423, + 6435 + ], + "loc": { + "start": { + "line": 216, + "column": 35 + }, + "end": { + "line": 216, + "column": 47 + } + } + }, + "range": [ + 6420, + 6435 + ], + "loc": { + "start": { + "line": 216, + "column": 32 + }, + "end": { + "line": 216, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 6436, + 6440 + ], + "loc": { + "start": { + "line": 216, + "column": 48 + }, + "end": { + "line": 216, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 6441, + 6442 + ], + "loc": { + "start": { + "line": 216, + "column": 53 + }, + "end": { + "line": 216, + "column": 54 + } + } + }, + "range": [ + 6436, + 6443 + ], + "loc": { + "start": { + "line": 216, + "column": 48 + }, + "end": { + "line": 216, + "column": 55 + } + } + } + ], + "range": [ + 6420, + 6444 + ], + "loc": { + "start": { + "line": 216, + "column": 32 + }, + "end": { + "line": 216, + "column": 56 + } + } + }, + "range": [ + 6408, + 6444 + ], + "loc": { + "start": { + "line": 216, + "column": 20 + }, + "end": { + "line": 216, + "column": 56 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellString", + "range": [ + 6507, + 6517 + ], + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 30 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 6520, + 6529 + ], + "loc": { + "start": { + "line": 218, + "column": 33 + }, + "end": { + "line": 218, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 6530, + 6539 + ], + "loc": { + "start": { + "line": 218, + "column": 43 + }, + "end": { + "line": 218, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6541, + 6543 + ], + "loc": { + "start": { + "line": 218, + "column": 54 + }, + "end": { + "line": 218, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 6544, + 6557 + ], + "loc": { + "start": { + "line": 218, + "column": 57 + }, + "end": { + "line": 218, + "column": 70 + } + } + }, + "range": [ + 6541, + 6557 + ], + "loc": { + "start": { + "line": 218, + "column": 54 + }, + "end": { + "line": 218, + "column": 70 + } + } + } + ], + "range": [ + 6520, + 6558 + ], + "loc": { + "start": { + "line": 218, + "column": 33 + }, + "end": { + "line": 218, + "column": 71 + } + } + }, + "range": [ + 6507, + 6558 + ], + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Vary Peter's patch", + "range": [ + 6466, + 6486 + ], + "loc": { + "start": { + "line": 217, + "column": 20 + }, + "end": { + "line": 217, + "column": 40 + } + } + } + ] + } + ], + "kind": "let", + "range": [ + 6404, + 6559 + ], + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 218, + "column": 72 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 6577, + 6618 + ], + "loc": { + "start": { + "line": 220, + "column": 16 + }, + "end": { + "line": 220, + "column": 57 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 6640, + 6643 + ], + "loc": { + "start": { + "line": 221, + "column": 21 + }, + "end": { + "line": 221, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6644, + 6648 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 6649, + 6653 + ], + "loc": { + "start": { + "line": 221, + "column": 30 + }, + "end": { + "line": 221, + "column": 34 + } + } + }, + "range": [ + 6644, + 6653 + ], + "loc": { + "start": { + "line": 221, + "column": 25 + }, + "end": { + "line": 221, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 6655, + 6665 + ], + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6667, + 6669 + ], + "loc": { + "start": { + "line": 221, + "column": 48 + }, + "end": { + "line": 221, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 6670, + 6683 + ], + "loc": { + "start": { + "line": 221, + "column": 51 + }, + "end": { + "line": 221, + "column": 64 + } + } + }, + "range": [ + 6667, + 6683 + ], + "loc": { + "start": { + "line": 221, + "column": 48 + }, + "end": { + "line": 221, + "column": 64 + } + } + } + ], + "range": [ + 6640, + 6684 + ], + "loc": { + "start": { + "line": 221, + "column": 21 + }, + "end": { + "line": 221, + "column": 65 + } + } + }, + "prefix": true, + "range": [ + 6639, + 6684 + ], + "loc": { + "start": { + "line": 221, + "column": 20 + }, + "end": { + "line": 221, + "column": 65 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6708, + 6712 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 6713, + 6717 + ], + "loc": { + "start": { + "line": 222, + "column": 25 + }, + "end": { + "line": 222, + "column": 29 + } + } + }, + "range": [ + 6708, + 6717 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 6718, + 6722 + ], + "loc": { + "start": { + "line": 222, + "column": 30 + }, + "end": { + "line": 222, + "column": 34 + } + } + }, + "range": [ + 6708, + 6722 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 6723, + 6732 + ], + "loc": { + "start": { + "line": 222, + "column": 35 + }, + "end": { + "line": 222, + "column": 44 + } + } + } + ], + "range": [ + 6708, + 6733 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 45 + } + } + }, + "range": [ + 6708, + 6734 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 46 + } + } + } + ], + "range": [ + 6686, + 6752 + ], + "loc": { + "start": { + "line": 221, + "column": 67 + }, + "end": { + "line": 223, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 6635, + 6752 + ], + "loc": { + "start": { + "line": 221, + "column": 16 + }, + "end": { + "line": 223, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 6577, + 6618 + ], + "loc": { + "start": { + "line": 220, + "column": 16 + }, + "end": { + "line": 220, + "column": 57 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 6774, + 6782 + ], + "loc": { + "start": { + "line": 225, + "column": 20 + }, + "end": { + "line": 225, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6786, + 6788 + ], + "loc": { + "start": { + "line": 225, + "column": 32 + }, + "end": { + "line": 225, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 6789, + 6811 + ], + "loc": { + "start": { + "line": 225, + "column": 35 + }, + "end": { + "line": 225, + "column": 57 + } + } + }, + "range": [ + 6786, + 6811 + ], + "loc": { + "start": { + "line": 225, + "column": 32 + }, + "end": { + "line": 225, + "column": 57 + } + } + }, + "range": [ + 6774, + 6811 + ], + "loc": { + "start": { + "line": 225, + "column": 20 + }, + "end": { + "line": 225, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 6839, + 6850 + ], + "loc": { + "start": { + "line": 226, + "column": 24 + }, + "end": { + "line": 226, + "column": 35 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "filteredDataCol", + "range": [ + 6853, + 6868 + ], + "loc": { + "start": { + "line": 226, + "column": 38 + }, + "end": { + "line": 226, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 6869, + 6870 + ], + "loc": { + "start": { + "line": 226, + "column": 54 + }, + "end": { + "line": 226, + "column": 55 + } + } + }, + "range": [ + 6853, + 6871 + ], + "loc": { + "start": { + "line": 226, + "column": 38 + }, + "end": { + "line": 226, + "column": 56 + } + } + }, + "range": [ + 6839, + 6871 + ], + "loc": { + "start": { + "line": 226, + "column": 24 + }, + "end": { + "line": 226, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 6835, + 6872 + ], + "loc": { + "start": { + "line": 226, + "column": 20 + }, + "end": { + "line": 226, + "column": 57 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 6898, + 6909 + ], + "loc": { + "start": { + "line": 227, + "column": 25 + }, + "end": { + "line": 227, + "column": 36 + } + } + }, + "prefix": true, + "range": [ + 6897, + 6909 + ], + "loc": { + "start": { + "line": 227, + "column": 24 + }, + "end": { + "line": 227, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 6937, + 6948 + ], + "loc": { + "start": { + "line": 228, + "column": 24 + }, + "end": { + "line": 228, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6951, + 6953 + ], + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "getVisibleColumnValues", + "range": [ + 6954, + 6976 + ], + "loc": { + "start": { + "line": 228, + "column": 41 + }, + "end": { + "line": 228, + "column": 63 + } + } + }, + "range": [ + 6951, + 6976 + ], + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "j", + "range": [ + 6977, + 6978 + ], + "loc": { + "start": { + "line": 228, + "column": 64 + }, + "end": { + "line": 228, + "column": 65 + } + } + } + ], + "range": [ + 6951, + 6979 + ], + "loc": { + "start": { + "line": 228, + "column": 38 + }, + "end": { + "line": 228, + "column": 66 + } + } + }, + "range": [ + 6937, + 6979 + ], + "loc": { + "start": { + "line": 228, + "column": 24 + }, + "end": { + "line": 228, + "column": 66 + } + } + }, + "range": [ + 6937, + 6980 + ], + "loc": { + "start": { + "line": 228, + "column": 24 + }, + "end": { + "line": 228, + "column": 67 + } + } + } + ], + "range": [ + 6911, + 7002 + ], + "loc": { + "start": { + "line": 227, + "column": 38 + }, + "end": { + "line": 229, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 6893, + 7002 + ], + "loc": { + "start": { + "line": 227, + "column": 20 + }, + "end": { + "line": 229, + "column": 21 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 7028, + 7031 + ], + "loc": { + "start": { + "line": 230, + "column": 25 + }, + "end": { + "line": 230, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filteredCol", + "range": [ + 7032, + 7043 + ], + "loc": { + "start": { + "line": 230, + "column": 29 + }, + "end": { + "line": 230, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 7045, + 7055 + ], + "loc": { + "start": { + "line": 230, + "column": 42 + }, + "end": { + "line": 230, + "column": 52 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7057, + 7059 + ], + "loc": { + "start": { + "line": 230, + "column": 54 + }, + "end": { + "line": 230, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 7060, + 7073 + ], + "loc": { + "start": { + "line": 230, + "column": 57 + }, + "end": { + "line": 230, + "column": 70 + } + } + }, + "range": [ + 7057, + 7073 + ], + "loc": { + "start": { + "line": 230, + "column": 54 + }, + "end": { + "line": 230, + "column": 70 + } + } + } + ], + "range": [ + 7028, + 7074 + ], + "loc": { + "start": { + "line": 230, + "column": 25 + }, + "end": { + "line": 230, + "column": 71 + } + } + }, + "prefix": true, + "range": [ + 7027, + 7074 + ], + "loc": { + "start": { + "line": 230, + "column": 24 + }, + "end": { + "line": 230, + "column": 71 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 7103, + 7106 + ], + "loc": { + "start": { + "line": 231, + "column": 25 + }, + "end": { + "line": 231, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7107, + 7119 + ], + "loc": { + "start": { + "line": 231, + "column": 29 + }, + "end": { + "line": 231, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "cellString", + "range": [ + 7121, + 7131 + ], + "loc": { + "start": { + "line": 231, + "column": 43 + }, + "end": { + "line": 231, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7133, + 7135 + ], + "loc": { + "start": { + "line": 231, + "column": 55 + }, + "end": { + "line": 231, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 7136, + 7149 + ], + "loc": { + "start": { + "line": 231, + "column": 58 + }, + "end": { + "line": 231, + "column": 71 + } + } + }, + "range": [ + 7133, + 7149 + ], + "loc": { + "start": { + "line": 231, + "column": 55 + }, + "end": { + "line": 231, + "column": 71 + } + } + } + ], + "range": [ + 7103, + 7150 + ], + "loc": { + "start": { + "line": 231, + "column": 25 + }, + "end": { + "line": 231, + "column": 72 + } + } + }, + "prefix": true, + "range": [ + 7102, + 7150 + ], + "loc": { + "start": { + "line": 231, + "column": 24 + }, + "end": { + "line": 231, + "column": 72 + } + } + }, + "range": [ + 7027, + 7150 + ], + "loc": { + "start": { + "line": 230, + "column": 24 + }, + "end": { + "line": 231, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7178, + 7190 + ], + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 7191, + 7195 + ], + "loc": { + "start": { + "line": 232, + "column": 37 + }, + "end": { + "line": 232, + "column": 41 + } + } + }, + "range": [ + 7178, + 7195 + ], + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 7196, + 7205 + ], + "loc": { + "start": { + "line": 232, + "column": 42 + }, + "end": { + "line": 232, + "column": 51 + } + } + } + ], + "range": [ + 7178, + 7206 + ], + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 52 + } + } + }, + "range": [ + 7178, + 7207 + ], + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 53 + } + } + } + ], + "range": [ + 7152, + 7229 + ], + "loc": { + "start": { + "line": 231, + "column": 74 + }, + "end": { + "line": 233, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 7023, + 7229 + ], + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 233, + "column": 21 + } + } + } + ], + "range": [ + 6813, + 7247 + ], + "loc": { + "start": { + "line": 225, + "column": 59 + }, + "end": { + "line": 234, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 6770, + 7247 + ], + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 234, + "column": 17 + } + } + } + ], + "range": [ + 6059, + 7261 + ], + "loc": { + "start": { + "line": 206, + "column": 46 + }, + "end": { + "line": 235, + "column": 13 + } + } + }, + "range": [ + 6025, + 7261 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 235, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 5980, + 6012 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "for j", + "range": [ + 7261, + 7268 + ], + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 20 + } + } + } + ] + } + ], + "range": [ + 5530, + 7278 + ], + "loc": { + "start": { + "line": 190, + "column": 49 + }, + "end": { + "line": 236, + "column": 9 + } + } + }, + "range": [ + 5489, + 7278 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 236, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "for k", + "range": [ + 7278, + 7285 + ], + "loc": { + "start": { + "line": 236, + "column": 9 + }, + "end": { + "line": 236, + "column": 16 + } + } + }, + { + "type": "Line", + "value": "sort options", + "range": [ + 7295, + 7309 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7318, + 7322 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 7323, + 7327 + ], + "loc": { + "start": { + "line": 239, + "column": 13 + }, + "end": { + "line": 239, + "column": 17 + } + } + }, + "range": [ + 7318, + 7327 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7330, + 7334 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortOptions", + "range": [ + 7335, + 7346 + ], + "loc": { + "start": { + "line": 239, + "column": 25 + }, + "end": { + "line": 239, + "column": 36 + } + } + }, + "range": [ + 7330, + 7346 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7347, + 7355 + ], + "loc": { + "start": { + "line": 239, + "column": 37 + }, + "end": { + "line": 239, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7357, + 7361 + ], + "loc": { + "start": { + "line": 239, + "column": 47 + }, + "end": { + "line": 239, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 7362, + 7366 + ], + "loc": { + "start": { + "line": 239, + "column": 52 + }, + "end": { + "line": 239, + "column": 56 + } + } + }, + "range": [ + 7357, + 7366 + ], + "loc": { + "start": { + "line": 239, + "column": 47 + }, + "end": { + "line": 239, + "column": 56 + } + } + } + ], + "range": [ + 7330, + 7367 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 57 + } + } + }, + "range": [ + 7318, + 7367 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 57 + } + } + }, + "range": [ + 7318, + 7368 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "for j", + "range": [ + 7261, + 7268 + ], + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 20 + } + } + }, + { + "type": "Line", + "value": "for k", + "range": [ + 7278, + 7285 + ], + "loc": { + "start": { + "line": 236, + "column": 9 + }, + "end": { + "line": 236, + "column": 16 + } + } + }, + { + "type": "Line", + "value": "sort options", + "range": [ + 7295, + 7309 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 22 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7381, + 7393 + ], + "loc": { + "start": { + "line": 240, + "column": 12 + }, + "end": { + "line": 240, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7409, + 7421 + ], + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7424, + 7428 + ], + "loc": { + "start": { + "line": 241, + "column": 27 + }, + "end": { + "line": 241, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortOptions", + "range": [ + 7429, + 7440 + ], + "loc": { + "start": { + "line": 241, + "column": 32 + }, + "end": { + "line": 241, + "column": 43 + } + } + }, + "range": [ + 7424, + 7440 + ], + "loc": { + "start": { + "line": 241, + "column": 27 + }, + "end": { + "line": 241, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7441, + 7449 + ], + "loc": { + "start": { + "line": 241, + "column": 44 + }, + "end": { + "line": 241, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7451, + 7463 + ], + "loc": { + "start": { + "line": 241, + "column": 54 + }, + "end": { + "line": 241, + "column": 66 + } + } + } + ], + "range": [ + 7424, + 7464 + ], + "loc": { + "start": { + "line": 241, + "column": 27 + }, + "end": { + "line": 241, + "column": 67 + } + } + }, + "range": [ + 7409, + 7464 + ], + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 67 + } + } + }, + "range": [ + 7409, + 7465 + ], + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 68 + } + } + } + ], + "range": [ + 7395, + 7475 + ], + "loc": { + "start": { + "line": 240, + "column": 26 + }, + "end": { + "line": 242, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7377, + 7475 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 242, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "populates drop-down", + "range": [ + 7485, + 7506 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 29 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7515, + 7519 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "addOptions", + "range": [ + 7520, + 7530 + ], + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 23 + } + } + }, + "range": [ + 7515, + 7530 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7531, + 7539 + ], + "loc": { + "start": { + "line": 245, + "column": 24 + }, + "end": { + "line": 245, + "column": 32 + } + } + }, + { + "type": "Identifier", + "name": "slc", + "range": [ + 7541, + 7544 + ], + "loc": { + "start": { + "line": 245, + "column": 34 + }, + "end": { + "line": 245, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 7546, + 7554 + ], + "loc": { + "start": { + "line": 245, + "column": 39 + }, + "end": { + "line": 245, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7556, + 7568 + ], + "loc": { + "start": { + "line": 245, + "column": 49 + }, + "end": { + "line": 245, + "column": 61 + } + } + } + ], + "range": [ + 7515, + 7569 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 62 + } + } + }, + "range": [ + 7515, + 7570 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "populates drop-down", + "range": [ + 7485, + 7506 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 29 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7580, + 7584 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7585, + 7592 + ], + "loc": { + "start": { + "line": 247, + "column": 13 + }, + "end": { + "line": 247, + "column": 20 + } + } + }, + "range": [ + 7580, + 7592 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 7593, + 7597 + ], + "loc": { + "start": { + "line": 247, + "column": 21 + }, + "end": { + "line": 247, + "column": 25 + } + } + }, + "range": [ + 7580, + 7597 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-populating-filter", + "raw": "'after-populating-filter'", + "range": [ + 7598, + 7623 + ], + "loc": { + "start": { + "line": 247, + "column": 26 + }, + "end": { + "line": 247, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 7625, + 7627 + ], + "loc": { + "start": { + "line": 247, + "column": 53 + }, + "end": { + "line": 247, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7629, + 7637 + ], + "loc": { + "start": { + "line": 247, + "column": 57 + }, + "end": { + "line": 247, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "slc", + "range": [ + 7639, + 7642 + ], + "loc": { + "start": { + "line": 247, + "column": 67 + }, + "end": { + "line": 247, + "column": 70 + } + } + } + ], + "range": [ + 7580, + 7643 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 71 + } + } + }, + "range": [ + 7580, + 7644 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 72 + } + } + } + ], + "range": [ + 4329, + 7650 + ], + "loc": { + "start": { + "line": 149, + "column": 38 + }, + "end": { + "line": 248, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4300, + 7650 + ], + "loc": { + "start": { + "line": 149, + "column": 9 + }, + "end": { + "line": 248, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4295, + 7650 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 248, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 4127, + 4290 + ], + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 148, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "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": [ + 7656, + 7930 + ], + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 256, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addOptions", + "range": [ + 7935, + 7945 + ], + "loc": { + "start": { + "line": 257, + "column": 4 + }, + "end": { + "line": 257, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7946, + 7954 + ], + "loc": { + "start": { + "line": 257, + "column": 15 + }, + "end": { + "line": 257, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "slc", + "range": [ + 7956, + 7959 + ], + "loc": { + "start": { + "line": 257, + "column": 25 + }, + "end": { + "line": 257, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 7961, + 7969 + ], + "loc": { + "start": { + "line": 257, + "column": 30 + }, + "end": { + "line": 257, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 7971, + 7983 + ], + "loc": { + "start": { + "line": 257, + "column": 40 + }, + "end": { + "line": 257, + "column": 52 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 7999, + 8001 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8004, + 8008 + ], + "loc": { + "start": { + "line": 258, + "column": 17 + }, + "end": { + "line": 258, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 8009, + 8011 + ], + "loc": { + "start": { + "line": 258, + "column": 22 + }, + "end": { + "line": 258, + "column": 24 + } + } + }, + "range": [ + 8004, + 8011 + ], + "loc": { + "start": { + "line": 258, + "column": 17 + }, + "end": { + "line": 258, + "column": 24 + } + } + }, + "range": [ + 7999, + 8011 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 24 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcValue", + "range": [ + 8025, + 8033 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 8036, + 8039 + ], + "loc": { + "start": { + "line": 259, + "column": 23 + }, + "end": { + "line": 259, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 8040, + 8045 + ], + "loc": { + "start": { + "line": 259, + "column": 27 + }, + "end": { + "line": 259, + "column": 32 + } + } + }, + "range": [ + 8036, + 8045 + ], + "loc": { + "start": { + "line": 259, + "column": 23 + }, + "end": { + "line": 259, + "column": 32 + } + } + }, + "range": [ + 8025, + 8045 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 7995, + 8046 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 259, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 8056, + 8059 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 8060, + 8069 + ], + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 21 + } + } + }, + "range": [ + 8056, + 8069 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 8072, + 8074 + ], + "loc": { + "start": { + "line": 261, + "column": 24 + }, + "end": { + "line": 261, + "column": 26 + } + } + }, + "range": [ + 8056, + 8074 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 26 + } + } + }, + "range": [ + 8056, + 8075 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 261, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "slc", + "range": [ + 8084, + 8087 + ], + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 11 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8090, + 8094 + ], + "loc": { + "start": { + "line": 262, + "column": 14 + }, + "end": { + "line": 262, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "addFirstOption", + "range": [ + 8095, + 8109 + ], + "loc": { + "start": { + "line": 262, + "column": 19 + }, + "end": { + "line": 262, + "column": 33 + } + } + }, + "range": [ + 8090, + 8109 + ], + "loc": { + "start": { + "line": 262, + "column": 14 + }, + "end": { + "line": 262, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 8110, + 8113 + ], + "loc": { + "start": { + "line": 262, + "column": 34 + }, + "end": { + "line": 262, + "column": 37 + } + } + } + ], + "range": [ + 8090, + 8114 + ], + "loc": { + "start": { + "line": 262, + "column": 14 + }, + "end": { + "line": 262, + "column": 38 + } + } + }, + "range": [ + 8084, + 8114 + ], + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 38 + } + } + }, + "range": [ + 8084, + 8115 + ], + "loc": { + "start": { + "line": 262, + "column": 8 + }, + "end": { + "line": 262, + "column": 39 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "y", + "range": [ + 8134, + 8135 + ], + "loc": { + "start": { + "line": 264, + "column": 17 + }, + "end": { + "line": 264, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8138, + 8139 + ], + "loc": { + "start": { + "line": 264, + "column": 21 + }, + "end": { + "line": 264, + "column": 22 + } + } + }, + "range": [ + 8134, + 8139 + ], + "loc": { + "start": { + "line": 264, + "column": 17 + }, + "end": { + "line": 264, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 8130, + 8139 + ], + "loc": { + "start": { + "line": 264, + "column": 13 + }, + "end": { + "line": 264, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "y", + "range": [ + 8141, + 8142 + ], + "loc": { + "start": { + "line": 264, + "column": 24 + }, + "end": { + "line": 264, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8145, + 8149 + ], + "loc": { + "start": { + "line": 264, + "column": 28 + }, + "end": { + "line": 264, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8150, + 8154 + ], + "loc": { + "start": { + "line": 264, + "column": 33 + }, + "end": { + "line": 264, + "column": 37 + } + } + }, + "range": [ + 8145, + 8154 + ], + "loc": { + "start": { + "line": 264, + "column": 28 + }, + "end": { + "line": 264, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 8155, + 8161 + ], + "loc": { + "start": { + "line": 264, + "column": 38 + }, + "end": { + "line": 264, + "column": 44 + } + } + }, + "range": [ + 8145, + 8161 + ], + "loc": { + "start": { + "line": 264, + "column": 28 + }, + "end": { + "line": 264, + "column": 44 + } + } + }, + "range": [ + 8141, + 8161 + ], + "loc": { + "start": { + "line": 264, + "column": 24 + }, + "end": { + "line": 264, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "y", + "range": [ + 8163, + 8164 + ], + "loc": { + "start": { + "line": 264, + "column": 46 + }, + "end": { + "line": 264, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 8163, + 8166 + ], + "loc": { + "start": { + "line": 264, + "column": 46 + }, + "end": { + "line": 264, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8186, + 8190 + ], + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 265, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8191, + 8195 + ], + "loc": { + "start": { + "line": 265, + "column": 21 + }, + "end": { + "line": 265, + "column": 25 + } + } + }, + "range": [ + 8186, + 8195 + ], + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 265, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 8196, + 8197 + ], + "loc": { + "start": { + "line": 265, + "column": 26 + }, + "end": { + "line": 265, + "column": 27 + } + } + }, + "range": [ + 8186, + 8198 + ], + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 265, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 8203, + 8205 + ], + "loc": { + "start": { + "line": 265, + "column": 33 + }, + "end": { + "line": 265, + "column": 35 + } + } + }, + "range": [ + 8186, + 8205 + ], + "loc": { + "start": { + "line": 265, + "column": 16 + }, + "end": { + "line": 265, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 8225, + 8234 + ], + "loc": { + "start": { + "line": 266, + "column": 16 + }, + "end": { + "line": 266, + "column": 25 + } + } + } + ], + "range": [ + 8207, + 8248 + ], + "loc": { + "start": { + "line": 265, + "column": 37 + }, + "end": { + "line": 267, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 8182, + 8248 + ], + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 267, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "val", + "range": [ + 8265, + 8268 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8271, + 8275 + ], + "loc": { + "start": { + "line": 268, + "column": 22 + }, + "end": { + "line": 268, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8276, + 8280 + ], + "loc": { + "start": { + "line": 268, + "column": 27 + }, + "end": { + "line": 268, + "column": 31 + } + } + }, + "range": [ + 8271, + 8280 + ], + "loc": { + "start": { + "line": 268, + "column": 22 + }, + "end": { + "line": 268, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 8281, + 8282 + ], + "loc": { + "start": { + "line": 268, + "column": 32 + }, + "end": { + "line": 268, + "column": 33 + } + } + }, + "range": [ + 8271, + 8283 + ], + "loc": { + "start": { + "line": 268, + "column": 22 + }, + "end": { + "line": 268, + "column": 34 + } + } + }, + "range": [ + 8265, + 8283 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 8261, + 8284 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 35 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "option value", + "range": [ + 8285, + 8299 + ], + "loc": { + "start": { + "line": 268, + "column": 36 + }, + "end": { + "line": 268, + "column": 50 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lbl", + "range": [ + 8316, + 8319 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 19 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8322, + 8326 + ], + "loc": { + "start": { + "line": 269, + "column": 22 + }, + "end": { + "line": 269, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustom", + "range": [ + 8327, + 8335 + ], + "loc": { + "start": { + "line": 269, + "column": 27 + }, + "end": { + "line": 269, + "column": 35 + } + } + }, + "range": [ + 8322, + 8335 + ], + "loc": { + "start": { + "line": 269, + "column": 22 + }, + "end": { + "line": 269, + "column": 35 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8338, + 8342 + ], + "loc": { + "start": { + "line": 269, + "column": 38 + }, + "end": { + "line": 269, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "optsTxt", + "range": [ + 8343, + 8350 + ], + "loc": { + "start": { + "line": 269, + "column": 43 + }, + "end": { + "line": 269, + "column": 50 + } + } + }, + "range": [ + 8338, + 8350 + ], + "loc": { + "start": { + "line": 269, + "column": 38 + }, + "end": { + "line": 269, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 8351, + 8352 + ], + "loc": { + "start": { + "line": 269, + "column": 51 + }, + "end": { + "line": 269, + "column": 52 + } + } + }, + "range": [ + 8338, + 8353 + ], + "loc": { + "start": { + "line": 269, + "column": 38 + }, + "end": { + "line": 269, + "column": 53 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "val", + "range": [ + 8356, + 8359 + ], + "loc": { + "start": { + "line": 269, + "column": 56 + }, + "end": { + "line": 269, + "column": 59 + } + } + }, + "range": [ + 8322, + 8359 + ], + "loc": { + "start": { + "line": 269, + "column": 22 + }, + "end": { + "line": 269, + "column": 59 + } + } + }, + "range": [ + 8316, + 8359 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 8312, + 8360 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "option value", + "range": [ + 8285, + 8299 + ], + "loc": { + "start": { + "line": 268, + "column": 36 + }, + "end": { + "line": 268, + "column": 50 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "option text", + "range": [ + 8361, + 8374 + ], + "loc": { + "start": { + "line": 269, + "column": 61 + }, + "end": { + "line": 269, + "column": 74 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isDisabled", + "range": [ + 8391, + 8401 + ], + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 26 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 8404, + 8409 + ], + "loc": { + "start": { + "line": 270, + "column": 29 + }, + "end": { + "line": 270, + "column": 34 + } + } + }, + "range": [ + 8391, + 8409 + ], + "loc": { + "start": { + "line": 270, + "column": 16 + }, + "end": { + "line": 270, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 8387, + 8410 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "option text", + "range": [ + 8361, + 8374 + ], + "loc": { + "start": { + "line": 269, + "column": 61 + }, + "end": { + "line": 269, + "column": 74 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "isLinked", + "range": [ + 8427, + 8435 + ], + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 271, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8439, + 8441 + ], + "loc": { + "start": { + "line": 271, + "column": 28 + }, + "end": { + "line": 271, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 8442, + 8464 + ], + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 53 + } + } + }, + "range": [ + 8439, + 8464 + ], + "loc": { + "start": { + "line": 271, + "column": 28 + }, + "end": { + "line": 271, + "column": 53 + } + } + }, + "range": [ + 8427, + 8464 + ], + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 271, + "column": 53 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 8484, + 8487 + ], + "loc": { + "start": { + "line": 272, + "column": 16 + }, + "end": { + "line": 272, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "excludedOpts", + "range": [ + 8488, + 8500 + ], + "loc": { + "start": { + "line": 272, + "column": 20 + }, + "end": { + "line": 272, + "column": 32 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 8502, + 8511 + ], + "loc": { + "start": { + "line": 272, + "column": 34 + }, + "end": { + "line": 272, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 8512, + 8515 + ], + "loc": { + "start": { + "line": 272, + "column": 44 + }, + "end": { + "line": 272, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8517, + 8519 + ], + "loc": { + "start": { + "line": 272, + "column": 49 + }, + "end": { + "line": 272, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 8520, + 8533 + ], + "loc": { + "start": { + "line": 272, + "column": 52 + }, + "end": { + "line": 272, + "column": 65 + } + } + }, + "range": [ + 8517, + 8533 + ], + "loc": { + "start": { + "line": 272, + "column": 49 + }, + "end": { + "line": 272, + "column": 65 + } + } + } + ], + "range": [ + 8502, + 8534 + ], + "loc": { + "start": { + "line": 272, + "column": 34 + }, + "end": { + "line": 272, + "column": 66 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8556, + 8558 + ], + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 273, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 8559, + 8572 + ], + "loc": { + "start": { + "line": 273, + "column": 23 + }, + "end": { + "line": 273, + "column": 36 + } + } + }, + "range": [ + 8556, + 8572 + ], + "loc": { + "start": { + "line": 273, + "column": 20 + }, + "end": { + "line": 273, + "column": 36 + } + } + } + ], + "range": [ + 8484, + 8573 + ], + "loc": { + "start": { + "line": 272, + "column": 16 + }, + "end": { + "line": 273, + "column": 37 + } + } + }, + "range": [ + 8427, + 8573 + ], + "loc": { + "start": { + "line": 271, + "column": 16 + }, + "end": { + "line": 273, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isDisabled", + "range": [ + 8593, + 8603 + ], + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 274, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8606, + 8610 + ], + "loc": { + "start": { + "line": 274, + "column": 29 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "range": [ + 8593, + 8610 + ], + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "range": [ + 8593, + 8611 + ], + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 274, + "column": 34 + } + } + } + ], + "range": [ + 8575, + 8625 + ], + "loc": { + "start": { + "line": 273, + "column": 39 + }, + "end": { + "line": 275, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 8423, + 8625 + ], + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 275, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt", + "range": [ + 8643, + 8646 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 19 + } + } + }, + "init": null, + "range": [ + 8643, + 8646 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 8639, + 8647 + ], + "loc": { + "start": { + "line": 277, + "column": 12 + }, + "end": { + "line": 277, + "column": 20 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "fill select on demand", + "range": [ + 8660, + 8683 + ], + "loc": { + "start": { + "line": 278, + "column": 12 + }, + "end": { + "line": 278, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8700, + 8702 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 8703, + 8718 + ], + "loc": { + "start": { + "line": 279, + "column": 19 + }, + "end": { + "line": 279, + "column": 34 + } + } + }, + "range": [ + 8700, + 8718 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 34 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "slcValue", + "range": [ + 8722, + 8730 + ], + "loc": { + "start": { + "line": 279, + "column": 38 + }, + "end": { + "line": 279, + "column": 46 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8735, + 8739 + ], + "loc": { + "start": { + "line": 279, + "column": 51 + }, + "end": { + "line": 279, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "opts", + "range": [ + 8740, + 8744 + ], + "loc": { + "start": { + "line": 279, + "column": 56 + }, + "end": { + "line": 279, + "column": 60 + } + } + }, + "range": [ + 8735, + 8744 + ], + "loc": { + "start": { + "line": 279, + "column": 51 + }, + "end": { + "line": 279, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "y", + "range": [ + 8745, + 8746 + ], + "loc": { + "start": { + "line": 279, + "column": 61 + }, + "end": { + "line": 279, + "column": 62 + } + } + }, + "range": [ + 8735, + 8747 + ], + "loc": { + "start": { + "line": 279, + "column": 51 + }, + "end": { + "line": 279, + "column": 63 + } + } + }, + "range": [ + 8722, + 8747 + ], + "loc": { + "start": { + "line": 279, + "column": 38 + }, + "end": { + "line": 279, + "column": 63 + } + } + }, + "range": [ + 8700, + 8747 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 63 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8767, + 8769 + ], + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 8770, + 8783 + ], + "loc": { + "start": { + "line": 280, + "column": 19 + }, + "end": { + "line": 280, + "column": 32 + } + } + }, + "range": [ + 8767, + 8783 + ], + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8784, + 8792 + ], + "loc": { + "start": { + "line": 280, + "column": 33 + }, + "end": { + "line": 280, + "column": 41 + } + } + } + ], + "range": [ + 8767, + 8793 + ], + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 8798, + 8804 + ], + "loc": { + "start": { + "line": 280, + "column": 47 + }, + "end": { + "line": 280, + "column": 53 + } + } + }, + "range": [ + 8767, + 8804 + ], + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 53 + } + } + }, + "range": [ + 8700, + 8804 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 280, + "column": 53 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "opt", + "range": [ + 8824, + 8827 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 8830, + 8839 + ], + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "lbl", + "range": [ + 8840, + 8843 + ], + "loc": { + "start": { + "line": 281, + "column": 32 + }, + "end": { + "line": 281, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "val", + "range": [ + 8845, + 8848 + ], + "loc": { + "start": { + "line": 281, + "column": 37 + }, + "end": { + "line": 281, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8850, + 8854 + ], + "loc": { + "start": { + "line": 281, + "column": 42 + }, + "end": { + "line": 281, + "column": 46 + } + } + } + ], + "range": [ + 8830, + 8855 + ], + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 47 + } + } + }, + "range": [ + 8824, + 8855 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 47 + } + } + }, + "range": [ + 8824, + 8856 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 48 + } + } + } + ], + "range": [ + 8806, + 8870 + ], + "loc": { + "start": { + "line": 280, + "column": 55 + }, + "end": { + "line": 282, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "opt", + "range": [ + 8894, + 8897 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 8900, + 8909 + ], + "loc": { + "start": { + "line": 283, + "column": 22 + }, + "end": { + "line": 283, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "lbl", + "range": [ + 8910, + 8913 + ], + "loc": { + "start": { + "line": 283, + "column": 32 + }, + "end": { + "line": 283, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "val", + "range": [ + 8915, + 8918 + ], + "loc": { + "start": { + "line": 283, + "column": 37 + }, + "end": { + "line": 283, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 8920, + 8925 + ], + "loc": { + "start": { + "line": 283, + "column": 42 + }, + "end": { + "line": 283, + "column": 47 + } + } + } + ], + "range": [ + 8900, + 8926 + ], + "loc": { + "start": { + "line": 283, + "column": 22 + }, + "end": { + "line": 283, + "column": 48 + } + } + }, + "range": [ + 8894, + 8926 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 48 + } + } + }, + "range": [ + 8894, + 8927 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 49 + } + } + } + ], + "range": [ + 8876, + 8941 + ], + "loc": { + "start": { + "line": 282, + "column": 19 + }, + "end": { + "line": 284, + "column": 13 + } + } + }, + "range": [ + 8696, + 8941 + ], + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 284, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "fill select on demand", + "range": [ + 8660, + 8683 + ], + "loc": { + "start": { + "line": 278, + "column": 12 + }, + "end": { + "line": 278, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isDisabled", + "range": [ + 8958, + 8968 + ], + "loc": { + "start": { + "line": 285, + "column": 16 + }, + "end": { + "line": 285, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opt", + "range": [ + 8988, + 8991 + ], + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "disabled", + "range": [ + 8992, + 9000 + ], + "loc": { + "start": { + "line": 286, + "column": 20 + }, + "end": { + "line": 286, + "column": 28 + } + } + }, + "range": [ + 8988, + 9000 + ], + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9003, + 9007 + ], + "loc": { + "start": { + "line": 286, + "column": 31 + }, + "end": { + "line": 286, + "column": 35 + } + } + }, + "range": [ + 8988, + 9007 + ], + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 35 + } + } + }, + "range": [ + 8988, + 9008 + ], + "loc": { + "start": { + "line": 286, + "column": 16 + }, + "end": { + "line": 286, + "column": 36 + } + } + } + ], + "range": [ + 8970, + 9022 + ], + "loc": { + "start": { + "line": 285, + "column": 28 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 8954, + 9022 + ], + "loc": { + "start": { + "line": 285, + "column": 12 + }, + "end": { + "line": 287, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9035, + 9038 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 9039, + 9050 + ], + "loc": { + "start": { + "line": 288, + "column": 16 + }, + "end": { + "line": 288, + "column": 27 + } + } + }, + "range": [ + 9035, + 9050 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt", + "range": [ + 9051, + 9054 + ], + "loc": { + "start": { + "line": 288, + "column": 28 + }, + "end": { + "line": 288, + "column": 31 + } + } + } + ], + "range": [ + 9035, + 9055 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 32 + } + } + }, + "range": [ + 9035, + 9056 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 33 + } + } + } + ], + "range": [ + 8168, + 9066 + ], + "loc": { + "start": { + "line": 264, + "column": 51 + }, + "end": { + "line": 289, + "column": 9 + } + } + }, + "range": [ + 8125, + 9066 + ], + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 289, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " for y", + "range": [ + 9066, + 9074 + ], + "loc": { + "start": { + "line": 289, + "column": 9 + }, + "end": { + "line": 289, + "column": 17 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9084, + 9087 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 9088, + 9100 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 24 + } + } + }, + "range": [ + 9084, + 9100 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filled", + "raw": "'filled'", + "range": [ + 9101, + 9109 + ], + "loc": { + "start": { + "line": 291, + "column": 25 + }, + "end": { + "line": 291, + "column": 33 + } + } + }, + { + "type": "Literal", + "value": "1", + "raw": "'1'", + "range": [ + 9111, + 9114 + ], + "loc": { + "start": { + "line": 291, + "column": 35 + }, + "end": { + "line": 291, + "column": 38 + } + } + } + ], + "range": [ + 9084, + 9115 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 39 + } + } + }, + "range": [ + 9084, + 9116 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " for y", + "range": [ + 9066, + 9074 + ], + "loc": { + "start": { + "line": 289, + "column": 9 + }, + "end": { + "line": 289, + "column": 17 + } + } + } + ] + } + ], + "range": [ + 7985, + 9122 + ], + "loc": { + "start": { + "line": 257, + "column": 54 + }, + "end": { + "line": 292, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7945, + 9122 + ], + "loc": { + "start": { + "line": 257, + "column": 14 + }, + "end": { + "line": 292, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 7935, + 9122 + ], + "loc": { + "start": { + "line": 257, + "column": 4 + }, + "end": { + "line": 292, + "column": 5 + } + }, + "leadingComments": [ + { + "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": [ + 7656, + 7930 + ], + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 256, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", + "range": [ + 9128, + 9220 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 297, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "addFirstOption", + "range": [ + 9225, + 9239 + ], + "loc": { + "start": { + "line": 298, + "column": 4 + }, + "end": { + "line": 298, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "slc", + "range": [ + 9240, + 9243 + ], + "loc": { + "start": { + "line": 298, + "column": 19 + }, + "end": { + "line": 298, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 9259, + 9261 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9264, + 9268 + ], + "loc": { + "start": { + "line": 299, + "column": 17 + }, + "end": { + "line": 299, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 9269, + 9271 + ], + "loc": { + "start": { + "line": 299, + "column": 22 + }, + "end": { + "line": 299, + "column": 24 + } + } + }, + "range": [ + 9264, + 9271 + ], + "loc": { + "start": { + "line": 299, + "column": 17 + }, + "end": { + "line": 299, + "column": 24 + } + } + }, + "range": [ + 9259, + 9271 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 9255, + 9272 + ], + "loc": { + "start": { + "line": 299, + "column": 8 + }, + "end": { + "line": 299, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 9285, + 9291 + ], + "loc": { + "start": { + "line": 300, + "column": 12 + }, + "end": { + "line": 300, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9294, + 9296 + ], + "loc": { + "start": { + "line": 300, + "column": 21 + }, + "end": { + "line": 300, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 9297, + 9323 + ], + "loc": { + "start": { + "line": 300, + "column": 24 + }, + "end": { + "line": 300, + "column": 50 + } + } + }, + "range": [ + 9294, + 9323 + ], + "loc": { + "start": { + "line": 300, + "column": 21 + }, + "end": { + "line": 300, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9324, + 9327 + ], + "loc": { + "start": { + "line": 300, + "column": 51 + }, + "end": { + "line": 300, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 9328, + 9330 + ], + "loc": { + "start": { + "line": 300, + "column": 55 + }, + "end": { + "line": 300, + "column": 57 + } + } + }, + "range": [ + 9324, + 9330 + ], + "loc": { + "start": { + "line": 300, + "column": 51 + }, + "end": { + "line": 300, + "column": 57 + } + } + } + ], + "range": [ + 9294, + 9331 + ], + "loc": { + "start": { + "line": 300, + "column": 21 + }, + "end": { + "line": 300, + "column": 58 + } + } + }, + "range": [ + 9285, + 9331 + ], + "loc": { + "start": { + "line": 300, + "column": 12 + }, + "end": { + "line": 300, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 9281, + 9332 + ], + "loc": { + "start": { + "line": 300, + "column": 8 + }, + "end": { + "line": 300, + "column": 59 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt0", + "range": [ + 9345, + 9349 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 9352, + 9361 + ], + "loc": { + "start": { + "line": 301, + "column": 19 + }, + "end": { + "line": 301, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9364, + 9368 + ], + "loc": { + "start": { + "line": 301, + "column": 31 + }, + "end": { + "line": 301, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableSlcResetFilter", + "range": [ + 9369, + 9389 + ], + "loc": { + "start": { + "line": 301, + "column": 36 + }, + "end": { + "line": 301, + "column": 56 + } + } + }, + "range": [ + 9364, + 9389 + ], + "loc": { + "start": { + "line": 301, + "column": 31 + }, + "end": { + "line": 301, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 9363, + 9389 + ], + "loc": { + "start": { + "line": 301, + "column": 30 + }, + "end": { + "line": 301, + "column": 56 + } + } + }, + "consequent": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9404, + 9406 + ], + "loc": { + "start": { + "line": 302, + "column": 12 + }, + "end": { + "line": 302, + "column": 14 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9409, + 9411 + ], + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 9412, + 9430 + ], + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 302, + "column": 38 + } + } + }, + "range": [ + 9409, + 9430 + ], + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 9431, + 9437 + ], + "loc": { + "start": { + "line": 302, + "column": 39 + }, + "end": { + "line": 302, + "column": 45 + } + } + } + ], + "range": [ + 9409, + 9438 + ], + "loc": { + "start": { + "line": 302, + "column": 17 + }, + "end": { + "line": 302, + "column": 46 + } + } + }, + "range": [ + 9363, + 9438 + ], + "loc": { + "start": { + "line": 301, + "column": 30 + }, + "end": { + "line": 302, + "column": 46 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9441, + 9443 + ], + "loc": { + "start": { + "line": 302, + "column": 49 + }, + "end": { + "line": 302, + "column": 51 + } + } + } + ], + "range": [ + 9352, + 9444 + ], + "loc": { + "start": { + "line": 301, + "column": 19 + }, + "end": { + "line": 302, + "column": 52 + } + } + }, + "range": [ + 9345, + 9444 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 302, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 9341, + 9445 + ], + "loc": { + "start": { + "line": 301, + "column": 8 + }, + "end": { + "line": 302, + "column": 53 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9459, + 9463 + ], + "loc": { + "start": { + "line": 303, + "column": 13 + }, + "end": { + "line": 303, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableSlcResetFilter", + "range": [ + 9464, + 9484 + ], + "loc": { + "start": { + "line": 303, + "column": 18 + }, + "end": { + "line": 303, + "column": 38 + } + } + }, + "range": [ + 9459, + 9484 + ], + "loc": { + "start": { + "line": 303, + "column": 13 + }, + "end": { + "line": 303, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 9458, + 9484 + ], + "loc": { + "start": { + "line": 303, + "column": 12 + }, + "end": { + "line": 303, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "opt0", + "range": [ + 9500, + 9504 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9505, + 9510 + ], + "loc": { + "start": { + "line": 304, + "column": 17 + }, + "end": { + "line": 304, + "column": 22 + } + } + }, + "range": [ + 9500, + 9510 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 9511, + 9518 + ], + "loc": { + "start": { + "line": 304, + "column": 23 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + "range": [ + 9500, + 9518 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 9521, + 9525 + ], + "loc": { + "start": { + "line": 304, + "column": 33 + }, + "end": { + "line": 304, + "column": 37 + } + } + }, + "range": [ + 9500, + 9525 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 37 + } + } + }, + "range": [ + 9500, + 9526 + ], + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 38 + } + } + } + ], + "range": [ + 9486, + 9536 + ], + "loc": { + "start": { + "line": 303, + "column": 40 + }, + "end": { + "line": 305, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9454, + 9536 + ], + "loc": { + "start": { + "line": 303, + "column": 8 + }, + "end": { + "line": 305, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9545, + 9548 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 9549, + 9560 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 23 + } + } + }, + "range": [ + 9545, + 9560 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt0", + "range": [ + 9561, + 9565 + ], + "loc": { + "start": { + "line": 306, + "column": 24 + }, + "end": { + "line": 306, + "column": 28 + } + } + } + ], + "range": [ + 9545, + 9566 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 29 + } + } + }, + "range": [ + 9545, + 9567 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 30 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9580, + 9582 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableEmptyOption", + "range": [ + 9583, + 9600 + ], + "loc": { + "start": { + "line": 307, + "column": 15 + }, + "end": { + "line": 307, + "column": 32 + } + } + }, + "range": [ + 9580, + 9600 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt1", + "range": [ + 9620, + 9624 + ], + "loc": { + "start": { + "line": 308, + "column": 16 + }, + "end": { + "line": 308, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 9627, + 9636 + ], + "loc": { + "start": { + "line": 308, + "column": 23 + }, + "end": { + "line": 308, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9637, + 9639 + ], + "loc": { + "start": { + "line": 308, + "column": 33 + }, + "end": { + "line": 308, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "emptyText", + "range": [ + 9640, + 9649 + ], + "loc": { + "start": { + "line": 308, + "column": 36 + }, + "end": { + "line": 308, + "column": 45 + } + } + }, + "range": [ + 9637, + 9649 + ], + "loc": { + "start": { + "line": 308, + "column": 33 + }, + "end": { + "line": 308, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9651, + 9653 + ], + "loc": { + "start": { + "line": 308, + "column": 47 + }, + "end": { + "line": 308, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "emOperator", + "range": [ + 9654, + 9664 + ], + "loc": { + "start": { + "line": 308, + "column": 50 + }, + "end": { + "line": 308, + "column": 60 + } + } + }, + "range": [ + 9651, + 9664 + ], + "loc": { + "start": { + "line": 308, + "column": 47 + }, + "end": { + "line": 308, + "column": 60 + } + } + } + ], + "range": [ + 9627, + 9665 + ], + "loc": { + "start": { + "line": 308, + "column": 23 + }, + "end": { + "line": 308, + "column": 61 + } + } + }, + "range": [ + 9620, + 9665 + ], + "loc": { + "start": { + "line": 308, + "column": 16 + }, + "end": { + "line": 308, + "column": 61 + } + } + } + ], + "kind": "let", + "range": [ + 9616, + 9666 + ], + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 62 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9679, + 9682 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 9683, + 9694 + ], + "loc": { + "start": { + "line": 309, + "column": 16 + }, + "end": { + "line": 309, + "column": 27 + } + } + }, + "range": [ + 9679, + 9694 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt1", + "range": [ + 9695, + 9699 + ], + "loc": { + "start": { + "line": 309, + "column": 28 + }, + "end": { + "line": 309, + "column": 32 + } + } + } + ], + "range": [ + 9679, + 9700 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 33 + } + } + }, + "range": [ + 9679, + 9701 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 34 + } + } + } + ], + "range": [ + 9602, + 9711 + ], + "loc": { + "start": { + "line": 307, + "column": 34 + }, + "end": { + "line": 310, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9576, + 9711 + ], + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 310, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9724, + 9726 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableNonEmptyOption", + "range": [ + 9727, + 9747 + ], + "loc": { + "start": { + "line": 311, + "column": 15 + }, + "end": { + "line": 311, + "column": 35 + } + } + }, + "range": [ + 9724, + 9747 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt2", + "range": [ + 9767, + 9771 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 9774, + 9783 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9784, + 9786 + ], + "loc": { + "start": { + "line": 312, + "column": 33 + }, + "end": { + "line": 312, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonEmptyText", + "range": [ + 9787, + 9799 + ], + "loc": { + "start": { + "line": 312, + "column": 36 + }, + "end": { + "line": 312, + "column": 48 + } + } + }, + "range": [ + 9784, + 9799 + ], + "loc": { + "start": { + "line": 312, + "column": 33 + }, + "end": { + "line": 312, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9801, + 9803 + ], + "loc": { + "start": { + "line": 312, + "column": 50 + }, + "end": { + "line": 312, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "nmOperator", + "range": [ + 9804, + 9814 + ], + "loc": { + "start": { + "line": 312, + "column": 53 + }, + "end": { + "line": 312, + "column": 63 + } + } + }, + "range": [ + 9801, + 9814 + ], + "loc": { + "start": { + "line": 312, + "column": 50 + }, + "end": { + "line": 312, + "column": 63 + } + } + } + ], + "range": [ + 9774, + 9815 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 64 + } + } + }, + "range": [ + 9767, + 9815 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 64 + } + } + } + ], + "kind": "let", + "range": [ + 9763, + 9816 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 9829, + 9832 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 9833, + 9844 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 27 + } + } + }, + "range": [ + 9829, + 9844 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt2", + "range": [ + 9845, + 9849 + ], + "loc": { + "start": { + "line": 313, + "column": 28 + }, + "end": { + "line": 313, + "column": 32 + } + } + } + ], + "range": [ + 9829, + 9850 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "range": [ + 9829, + 9851 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 313, + "column": 34 + } + } + } + ], + "range": [ + 9749, + 9861 + ], + "loc": { + "start": { + "line": 311, + "column": 37 + }, + "end": { + "line": 314, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9720, + 9861 + ], + "loc": { + "start": { + "line": 311, + "column": 8 + }, + "end": { + "line": 314, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "slc", + "range": [ + 9877, + 9880 + ], + "loc": { + "start": { + "line": 315, + "column": 15 + }, + "end": { + "line": 315, + "column": 18 + } + } + }, + "range": [ + 9870, + 9881 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 19 + } + } + } + ], + "range": [ + 9245, + 9887 + ], + "loc": { + "start": { + "line": 298, + "column": 24 + }, + "end": { + "line": 316, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9239, + 9887 + ], + "loc": { + "start": { + "line": 298, + "column": 18 + }, + "end": { + "line": 316, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9225, + 9887 + ], + "loc": { + "start": { + "line": 298, + "column": 4 + }, + "end": { + "line": 316, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", + "range": [ + 9128, + 9220 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 297, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "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": [ + 9893, + 10062 + ], + "loc": { + "start": { + "line": 318, + "column": 4 + }, + "end": { + "line": 322, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 10067, + 10080 + ], + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 323, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10081, + 10089 + ], + "loc": { + "start": { + "line": 323, + "column": 18 + }, + "end": { + "line": 323, + "column": 26 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 10091, + 10097 + ], + "loc": { + "start": { + "line": 323, + "column": 28 + }, + "end": { + "line": 323, + "column": 34 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10100, + 10102 + ], + "loc": { + "start": { + "line": 323, + "column": 37 + }, + "end": { + "line": 323, + "column": 39 + } + } + }, + "range": [ + 10091, + 10102 + ], + "loc": { + "start": { + "line": 323, + "column": 28 + }, + "end": { + "line": 323, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10118, + 10120 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10123, + 10127 + ], + "loc": { + "start": { + "line": 324, + "column": 17 + }, + "end": { + "line": 324, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10128, + 10130 + ], + "loc": { + "start": { + "line": 324, + "column": 22 + }, + "end": { + "line": 324, + "column": 24 + } + } + }, + "range": [ + 10123, + 10130 + ], + "loc": { + "start": { + "line": 324, + "column": 17 + }, + "end": { + "line": 324, + "column": 24 + } + } + }, + "range": [ + 10118, + 10130 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10114, + 10131 + ], + "loc": { + "start": { + "line": 324, + "column": 8 + }, + "end": { + "line": 324, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10144, + 10150 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 10151, + 10157 + ], + "loc": { + "start": { + "line": 325, + "column": 19 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + "range": [ + 10144, + 10157 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 10162, + 10163 + ], + "loc": { + "start": { + "line": 325, + "column": 30 + }, + "end": { + "line": 325, + "column": 31 + } + } + }, + "range": [ + 10144, + 10163 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 10179, + 10186 + ], + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 19 + } + } + } + ], + "range": [ + 10165, + 10196 + ], + "loc": { + "start": { + "line": 325, + "column": 33 + }, + "end": { + "line": 327, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10140, + 10196 + ], + "loc": { + "start": { + "line": 325, + "column": 8 + }, + "end": { + "line": 327, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 10209, + 10212 + ], + "loc": { + "start": { + "line": 328, + "column": 12 + }, + "end": { + "line": 328, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10215, + 10217 + ], + "loc": { + "start": { + "line": 328, + "column": 18 + }, + "end": { + "line": 328, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 10218, + 10234 + ], + "loc": { + "start": { + "line": 328, + "column": 21 + }, + "end": { + "line": 328, + "column": 37 + } + } + }, + "range": [ + 10215, + 10234 + ], + "loc": { + "start": { + "line": 328, + "column": 18 + }, + "end": { + "line": 328, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10235, + 10243 + ], + "loc": { + "start": { + "line": 328, + "column": 38 + }, + "end": { + "line": 328, + "column": 46 + } + } + } + ], + "range": [ + 10215, + 10244 + ], + "loc": { + "start": { + "line": 328, + "column": 18 + }, + "end": { + "line": 328, + "column": 47 + } + } + }, + "range": [ + 10209, + 10244 + ], + "loc": { + "start": { + "line": 328, + "column": 12 + }, + "end": { + "line": 328, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 10205, + 10245 + ], + "loc": { + "start": { + "line": 328, + "column": 8 + }, + "end": { + "line": 328, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10254, + 10256 + ], + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 10257, + 10264 + ], + "loc": { + "start": { + "line": 329, + "column": 11 + }, + "end": { + "line": 329, + "column": 18 + } + } + }, + "range": [ + 10254, + 10264 + ], + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 10265, + 10269 + ], + "loc": { + "start": { + "line": 329, + "column": 19 + }, + "end": { + "line": 329, + "column": 23 + } + } + }, + "range": [ + 10254, + 10269 + ], + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 329, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 10270, + 10273 + ], + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 10274, + 10281 + ], + "loc": { + "start": { + "line": 329, + "column": 28 + }, + "end": { + "line": 329, + "column": 35 + } + } + }, + "range": [ + 10270, + 10281 + ], + "loc": { + "start": { + "line": 329, + "column": 24 + }, + "end": { + "line": 329, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "option", + "range": [ + 10284, + 10290 + ], + "loc": { + "start": { + "line": 329, + "column": 38 + }, + "end": { + "line": 329, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 10423, + 10429 + ], + "loc": { + "start": { + "line": 332, + "column": 16 + }, + "end": { + "line": 332, + "column": 22 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 10430, + 10431 + ], + "loc": { + "start": { + "line": 332, + "column": 23 + }, + "end": { + "line": 332, + "column": 24 + } + } + }, + "range": [ + 10423, + 10432 + ], + "loc": { + "start": { + "line": 332, + "column": 16 + }, + "end": { + "line": 332, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10437, + 10439 + ], + "loc": { + "start": { + "line": 332, + "column": 30 + }, + "end": { + "line": 332, + "column": 32 + } + } + }, + "range": [ + 10423, + 10439 + ], + "loc": { + "start": { + "line": 332, + "column": 16 + }, + "end": { + "line": 332, + "column": 32 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 10443, + 10449 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 10450, + 10455 + ], + "loc": { + "start": { + "line": 332, + "column": 43 + }, + "end": { + "line": 332, + "column": 48 + } + } + }, + "range": [ + 10443, + 10455 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10460, + 10462 + ], + "loc": { + "start": { + "line": 332, + "column": 53 + }, + "end": { + "line": 332, + "column": 55 + } + } + }, + "range": [ + 10443, + 10462 + ], + "loc": { + "start": { + "line": 332, + "column": 36 + }, + "end": { + "line": 332, + "column": 55 + } + } + }, + "range": [ + 10423, + 10462 + ], + "loc": { + "start": { + "line": 332, + "column": 16 + }, + "end": { + "line": 332, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 10482, + 10488 + ], + "loc": { + "start": { + "line": 333, + "column": 16 + }, + "end": { + "line": 333, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 10489, + 10497 + ], + "loc": { + "start": { + "line": 333, + "column": 23 + }, + "end": { + "line": 333, + "column": 31 + } + } + }, + "range": [ + 10482, + 10497 + ], + "loc": { + "start": { + "line": 333, + "column": 16 + }, + "end": { + "line": 333, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 10500, + 10505 + ], + "loc": { + "start": { + "line": 333, + "column": 34 + }, + "end": { + "line": 333, + "column": 39 + } + } + }, + "range": [ + 10482, + 10505 + ], + "loc": { + "start": { + "line": 333, + "column": 16 + }, + "end": { + "line": 333, + "column": 39 + } + } + }, + "range": [ + 10482, + 10506 + ], + "loc": { + "start": { + "line": 333, + "column": 16 + }, + "end": { + "line": 333, + "column": 40 + } + } + } + ], + "range": [ + 10464, + 10520 + ], + "loc": { + "start": { + "line": 332, + "column": 57 + }, + "end": { + "line": 334, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10419, + 10520 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 334, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Empty value means clear all selections and first option is the", + "range": [ + 10309, + 10374 + ], + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 77 + } + } + }, + { + "type": "Line", + "value": " clear all option", + "range": [ + 10387, + 10406 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 31 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 10538, + 10544 + ], + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 10545, + 10550 + ], + "loc": { + "start": { + "line": 336, + "column": 23 + }, + "end": { + "line": 336, + "column": 28 + } + } + }, + "range": [ + 10538, + 10550 + ], + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 10555, + 10557 + ], + "loc": { + "start": { + "line": 336, + "column": 33 + }, + "end": { + "line": 336, + "column": 35 + } + } + }, + "range": [ + 10538, + 10557 + ], + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "has", + "range": [ + 10561, + 10564 + ], + "loc": { + "start": { + "line": 336, + "column": 39 + }, + "end": { + "line": 336, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "values", + "range": [ + 10565, + 10571 + ], + "loc": { + "start": { + "line": 336, + "column": 43 + }, + "end": { + "line": 336, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 10573, + 10579 + ], + "loc": { + "start": { + "line": 336, + "column": 51 + }, + "end": { + "line": 336, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 10580, + 10585 + ], + "loc": { + "start": { + "line": 336, + "column": 58 + }, + "end": { + "line": 336, + "column": 63 + } + } + }, + "range": [ + 10573, + 10585 + ], + "loc": { + "start": { + "line": 336, + "column": 51 + }, + "end": { + "line": 336, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 10587, + 10591 + ], + "loc": { + "start": { + "line": 336, + "column": 65 + }, + "end": { + "line": 336, + "column": 69 + } + } + } + ], + "range": [ + 10561, + 10592 + ], + "loc": { + "start": { + "line": 336, + "column": 39 + }, + "end": { + "line": 336, + "column": 70 + } + } + }, + "range": [ + 10538, + 10592 + ], + "loc": { + "start": { + "line": 336, + "column": 16 + }, + "end": { + "line": 336, + "column": 70 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 10612, + 10618 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 10619, + 10627 + ], + "loc": { + "start": { + "line": 337, + "column": 23 + }, + "end": { + "line": 337, + "column": 31 + } + } + }, + "range": [ + 10612, + 10627 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 10630, + 10634 + ], + "loc": { + "start": { + "line": 337, + "column": 34 + }, + "end": { + "line": 337, + "column": 38 + } + } + }, + "range": [ + 10612, + 10634 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 38 + } + } + }, + "range": [ + 10612, + 10635 + ], + "loc": { + "start": { + "line": 337, + "column": 16 + }, + "end": { + "line": 337, + "column": 39 + } + } + } + ], + "range": [ + 10594, + 10649 + ], + "loc": { + "start": { + "line": 336, + "column": 72 + }, + "end": { + "line": 338, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10534, + 10649 + ], + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 338, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "if", + "range": [ + 10649, + 10653 + ], + "loc": { + "start": { + "line": 338, + "column": 13 + }, + "end": { + "line": 338, + "column": 17 + } + } + } + ] + } + ], + "range": [ + 10295, + 10663 + ], + "loc": { + "start": { + "line": 329, + "column": 49 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10283, + 10663 + ], + "loc": { + "start": { + "line": 329, + "column": 37 + }, + "end": { + "line": 339, + "column": 9 + } + } + } + ], + "range": [ + 10254, + 10664 + ], + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 339, + "column": 10 + } + } + }, + "range": [ + 10254, + 10665 + ], + "loc": { + "start": { + "line": 329, + "column": 8 + }, + "end": { + "line": 339, + "column": 11 + } + } + } + ], + "range": [ + 10104, + 10671 + ], + "loc": { + "start": { + "line": 323, + "column": 41 + }, + "end": { + "line": 340, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10080, + 10671 + ], + "loc": { + "start": { + "line": 323, + "column": 17 + }, + "end": { + "line": 340, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10067, + 10671 + ], + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 340, + "column": 5 + } + }, + "leadingComments": [ + { + "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": [ + 9893, + 10062 + ], + "loc": { + "start": { + "line": 318, + "column": 4 + }, + "end": { + "line": 322, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "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": [ + 10677, + 10841 + ], + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 346, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getValues", + "range": [ + 10846, + 10855 + ], + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 347, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10856, + 10864 + ], + "loc": { + "start": { + "line": 347, + "column": 14 + }, + "end": { + "line": 347, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10880, + 10882 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10885, + 10889 + ], + "loc": { + "start": { + "line": 348, + "column": 17 + }, + "end": { + "line": 348, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10890, + 10892 + ], + "loc": { + "start": { + "line": 348, + "column": 22 + }, + "end": { + "line": 348, + "column": 24 + } + } + }, + "range": [ + 10885, + 10892 + ], + "loc": { + "start": { + "line": 348, + "column": 17 + }, + "end": { + "line": 348, + "column": 24 + } + } + }, + "range": [ + 10880, + 10892 + ], + "loc": { + "start": { + "line": 348, + "column": 12 + }, + "end": { + "line": 348, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10876, + 10893 + ], + "loc": { + "start": { + "line": 348, + "column": 8 + }, + "end": { + "line": 348, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 10906, + 10909 + ], + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10912, + 10914 + ], + "loc": { + "start": { + "line": 349, + "column": 18 + }, + "end": { + "line": 349, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 10915, + 10931 + ], + "loc": { + "start": { + "line": 349, + "column": 21 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + "range": [ + 10912, + 10931 + ], + "loc": { + "start": { + "line": 349, + "column": 18 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 10932, + 10940 + ], + "loc": { + "start": { + "line": 349, + "column": 38 + }, + "end": { + "line": 349, + "column": 46 + } + } + } + ], + "range": [ + 10912, + 10941 + ], + "loc": { + "start": { + "line": 349, + "column": 18 + }, + "end": { + "line": 349, + "column": 47 + } + } + }, + "range": [ + 10906, + 10941 + ], + "loc": { + "start": { + "line": 349, + "column": 12 + }, + "end": { + "line": 349, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 10902, + 10942 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 48 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "values", + "range": [ + 10955, + 10961 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 18 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10964, + 10966 + ], + "loc": { + "start": { + "line": 350, + "column": 21 + }, + "end": { + "line": 350, + "column": 23 + } + } + }, + "range": [ + 10955, + 10966 + ], + "loc": { + "start": { + "line": 350, + "column": 12 + }, + "end": { + "line": 350, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 10951, + 10967 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 24 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " IE >= 9 does not support the selectedOptions property :(", + "range": [ + 10977, + 11036 + ], + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 67 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 11049, + 11052 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedOptions", + "range": [ + 11053, + 11068 + ], + "loc": { + "start": { + "line": 353, + "column": 16 + }, + "end": { + "line": 353, + "column": 31 + } + } + }, + "range": [ + 11049, + 11068 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11084, + 11086 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 11087, + 11094 + ], + "loc": { + "start": { + "line": 354, + "column": 15 + }, + "end": { + "line": 354, + "column": 22 + } + } + }, + "range": [ + 11084, + 11094 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 11095, + 11099 + ], + "loc": { + "start": { + "line": 354, + "column": 23 + }, + "end": { + "line": 354, + "column": 27 + } + } + }, + "range": [ + 11084, + 11099 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 354, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 11100, + 11103 + ], + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedOptions", + "range": [ + 11104, + 11119 + ], + "loc": { + "start": { + "line": 354, + "column": 32 + }, + "end": { + "line": 354, + "column": 47 + } + } + }, + "range": [ + 11100, + 11119 + ], + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "option", + "range": [ + 11137, + 11143 + ], + "loc": { + "start": { + "line": 355, + "column": 16 + }, + "end": { + "line": 355, + "column": 22 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11147, + 11153 + ], + "loc": { + "start": { + "line": 355, + "column": 26 + }, + "end": { + "line": 355, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 11154, + 11158 + ], + "loc": { + "start": { + "line": 355, + "column": 33 + }, + "end": { + "line": 355, + "column": 37 + } + } + }, + "range": [ + 11147, + 11158 + ], + "loc": { + "start": { + "line": 355, + "column": 26 + }, + "end": { + "line": 355, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 11159, + 11165 + ], + "loc": { + "start": { + "line": 355, + "column": 38 + }, + "end": { + "line": 355, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 11166, + 11171 + ], + "loc": { + "start": { + "line": 355, + "column": 45 + }, + "end": { + "line": 355, + "column": 50 + } + } + }, + "range": [ + 11159, + 11171 + ], + "loc": { + "start": { + "line": 355, + "column": 38 + }, + "end": { + "line": 355, + "column": 50 + } + } + } + ], + "range": [ + 11147, + 11172 + ], + "loc": { + "start": { + "line": 355, + "column": 26 + }, + "end": { + "line": 355, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11137, + 11172 + ], + "loc": { + "start": { + "line": 355, + "column": 16 + }, + "end": { + "line": 355, + "column": 51 + } + } + } + ], + "range": [ + 11084, + 11173 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 355, + "column": 52 + } + } + }, + "range": [ + 11084, + 11174 + ], + "loc": { + "start": { + "line": 354, + "column": 12 + }, + "end": { + "line": 355, + "column": 53 + } + } + } + ], + "range": [ + 11070, + 11184 + ], + "loc": { + "start": { + "line": 353, + "column": 33 + }, + "end": { + "line": 356, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11204, + 11206 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 11207, + 11214 + ], + "loc": { + "start": { + "line": 357, + "column": 15 + }, + "end": { + "line": 357, + "column": 22 + } + } + }, + "range": [ + 11204, + 11214 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 11215, + 11219 + ], + "loc": { + "start": { + "line": 357, + "column": 23 + }, + "end": { + "line": 357, + "column": 27 + } + } + }, + "range": [ + 11204, + 11219 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 11220, + 11223 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 11224, + 11231 + ], + "loc": { + "start": { + "line": 357, + "column": 32 + }, + "end": { + "line": 357, + "column": 39 + } + } + }, + "range": [ + 11220, + 11231 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "option", + "range": [ + 11234, + 11240 + ], + "loc": { + "start": { + "line": 357, + "column": 42 + }, + "end": { + "line": 357, + "column": 48 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 11267, + 11273 + ], + "loc": { + "start": { + "line": 358, + "column": 20 + }, + "end": { + "line": 358, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 11274, + 11282 + ], + "loc": { + "start": { + "line": 358, + "column": 27 + }, + "end": { + "line": 358, + "column": 35 + } + } + }, + "range": [ + 11267, + 11282 + ], + "loc": { + "start": { + "line": 358, + "column": 20 + }, + "end": { + "line": 358, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "values", + "range": [ + 11306, + 11312 + ], + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 11313, + 11317 + ], + "loc": { + "start": { + "line": 359, + "column": 27 + }, + "end": { + "line": 359, + "column": 31 + } + } + }, + "range": [ + 11306, + 11317 + ], + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "option", + "range": [ + 11318, + 11324 + ], + "loc": { + "start": { + "line": 359, + "column": 32 + }, + "end": { + "line": 359, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 11325, + 11330 + ], + "loc": { + "start": { + "line": 359, + "column": 39 + }, + "end": { + "line": 359, + "column": 44 + } + } + }, + "range": [ + 11318, + 11330 + ], + "loc": { + "start": { + "line": 359, + "column": 32 + }, + "end": { + "line": 359, + "column": 44 + } + } + } + ], + "range": [ + 11306, + 11331 + ], + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 45 + } + } + }, + "range": [ + 11306, + 11332 + ], + "loc": { + "start": { + "line": 359, + "column": 20 + }, + "end": { + "line": 359, + "column": 46 + } + } + } + ], + "range": [ + 11284, + 11350 + ], + "loc": { + "start": { + "line": 358, + "column": 37 + }, + "end": { + "line": 360, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 11263, + 11350 + ], + "loc": { + "start": { + "line": 358, + "column": 16 + }, + "end": { + "line": 360, + "column": 17 + } + } + } + ], + "range": [ + 11245, + 11364 + ], + "loc": { + "start": { + "line": 357, + "column": 53 + }, + "end": { + "line": 361, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11233, + 11364 + ], + "loc": { + "start": { + "line": 357, + "column": 41 + }, + "end": { + "line": 361, + "column": 13 + } + } + } + ], + "range": [ + 11204, + 11365 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 361, + "column": 14 + } + } + }, + "range": [ + 11204, + 11366 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 361, + "column": 15 + } + } + } + ], + "range": [ + 11190, + 11376 + ], + "loc": { + "start": { + "line": 356, + "column": 15 + }, + "end": { + "line": 362, + "column": 9 + } + } + }, + "range": [ + 11045, + 11376 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 362, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " IE >= 9 does not support the selectedOptions property :(", + "range": [ + 10977, + 11036 + ], + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 67 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "values", + "range": [ + 11393, + 11399 + ], + "loc": { + "start": { + "line": 364, + "column": 15 + }, + "end": { + "line": 364, + "column": 21 + } + } + }, + "range": [ + 11386, + 11400 + ], + "loc": { + "start": { + "line": 364, + "column": 8 + }, + "end": { + "line": 364, + "column": 22 + } + } + } + ], + "range": [ + 10866, + 11406 + ], + "loc": { + "start": { + "line": 347, + "column": 24 + }, + "end": { + "line": 365, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10855, + 11406 + ], + "loc": { + "start": { + "line": 347, + "column": 13 + }, + "end": { + "line": 365, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10846, + 11406 + ], + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 365, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "if", + "range": [ + 10649, + 10653 + ], + "loc": { + "start": { + "line": 338, + "column": 13 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + { + "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": [ + 10677, + 10841 + ], + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 346, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 11412, + 11456 + ], + "loc": { + "start": { + "line": 367, + "column": 4 + }, + "end": { + "line": 369, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 11461, + 11468 + ], + "loc": { + "start": { + "line": 370, + "column": 4 + }, + "end": { + "line": 370, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11481, + 11485 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 11486, + 11493 + ], + "loc": { + "start": { + "line": 371, + "column": 13 + }, + "end": { + "line": 371, + "column": 20 + } + } + }, + "range": [ + 11481, + 11493 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 11494, + 11497 + ], + "loc": { + "start": { + "line": 371, + "column": 21 + }, + "end": { + "line": 371, + "column": 24 + } + } + }, + "range": [ + 11481, + 11497 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "build-select-filter", + "raw": "'build-select-filter'", + "range": [ + 11512, + 11533 + ], + "loc": { + "start": { + "line": 372, + "column": 13 + }, + "end": { + "line": 372, + "column": 34 + } + } + } + ], + "range": [ + 11511, + 11534 + ], + "loc": { + "start": { + "line": 372, + "column": 12 + }, + "end": { + "line": 372, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11549, + 11557 + ], + "loc": { + "start": { + "line": 373, + "column": 13 + }, + "end": { + "line": 373, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 11559, + 11567 + ], + "loc": { + "start": { + "line": 373, + "column": 23 + }, + "end": { + "line": 373, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 11569, + 11579 + ], + "loc": { + "start": { + "line": 373, + "column": 33 + }, + "end": { + "line": 373, + "column": 43 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11600, + 11604 + ], + "loc": { + "start": { + "line": 374, + "column": 16 + }, + "end": { + "line": 374, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 11605, + 11610 + ], + "loc": { + "start": { + "line": 374, + "column": 21 + }, + "end": { + "line": 374, + "column": 26 + } + } + }, + "range": [ + 11600, + 11610 + ], + "loc": { + "start": { + "line": 374, + "column": 16 + }, + "end": { + "line": 374, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11611, + 11619 + ], + "loc": { + "start": { + "line": 374, + "column": 27 + }, + "end": { + "line": 374, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "isLinked", + "range": [ + 11621, + 11629 + ], + "loc": { + "start": { + "line": 374, + "column": 37 + }, + "end": { + "line": 374, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "isExternal", + "range": [ + 11631, + 11641 + ], + "loc": { + "start": { + "line": 374, + "column": 47 + }, + "end": { + "line": 374, + "column": 57 + } + } + } + ], + "range": [ + 11600, + 11642 + ], + "loc": { + "start": { + "line": 374, + "column": 16 + }, + "end": { + "line": 374, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11548, + 11642 + ], + "loc": { + "start": { + "line": 373, + "column": 12 + }, + "end": { + "line": 374, + "column": 58 + } + } + } + ], + "range": [ + 11481, + 11652 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 375, + "column": 9 + } + } + }, + "range": [ + 11481, + 11653 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 375, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11662, + 11666 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 11667, + 11674 + ], + "loc": { + "start": { + "line": 376, + "column": 13 + }, + "end": { + "line": 376, + "column": 20 + } + } + }, + "range": [ + 11662, + 11674 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 11675, + 11678 + ], + "loc": { + "start": { + "line": 376, + "column": 21 + }, + "end": { + "line": 376, + "column": 24 + } + } + }, + "range": [ + 11662, + 11678 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "select-options", + "raw": "'select-options'", + "range": [ + 11693, + 11709 + ], + "loc": { + "start": { + "line": 377, + "column": 13 + }, + "end": { + "line": 377, + "column": 29 + } + } + } + ], + "range": [ + 11692, + 11710 + ], + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 11725, + 11727 + ], + "loc": { + "start": { + "line": 378, + "column": 13 + }, + "end": { + "line": 378, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11729, + 11737 + ], + "loc": { + "start": { + "line": 378, + "column": 17 + }, + "end": { + "line": 378, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 11739, + 11745 + ], + "loc": { + "start": { + "line": 378, + "column": 27 + }, + "end": { + "line": 378, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11750, + 11754 + ], + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectOptions", + "range": [ + 11755, + 11768 + ], + "loc": { + "start": { + "line": 378, + "column": 43 + }, + "end": { + "line": 378, + "column": 56 + } + } + }, + "range": [ + 11750, + 11768 + ], + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11769, + 11777 + ], + "loc": { + "start": { + "line": 378, + "column": 57 + }, + "end": { + "line": 378, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 11779, + 11785 + ], + "loc": { + "start": { + "line": 378, + "column": 67 + }, + "end": { + "line": 378, + "column": 73 + } + } + } + ], + "range": [ + 11750, + 11786 + ], + "loc": { + "start": { + "line": 378, + "column": 38 + }, + "end": { + "line": 378, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11724, + 11786 + ], + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 74 + } + } + } + ], + "range": [ + 11662, + 11796 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 379, + "column": 9 + } + } + }, + "range": [ + 11662, + 11797 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 379, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11806, + 11810 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 11811, + 11818 + ], + "loc": { + "start": { + "line": 380, + "column": 13 + }, + "end": { + "line": 380, + "column": 20 + } + } + }, + "range": [ + 11806, + 11818 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 11819, + 11822 + ], + "loc": { + "start": { + "line": 380, + "column": 21 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "range": [ + 11806, + 11822 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 11824, + 11838 + ], + "loc": { + "start": { + "line": 380, + "column": 26 + }, + "end": { + "line": 380, + "column": 40 + } + } + } + ], + "range": [ + 11823, + 11839 + ], + "loc": { + "start": { + "line": 380, + "column": 25 + }, + "end": { + "line": 380, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11847, + 11851 + ], + "loc": { + "start": { + "line": 380, + "column": 49 + }, + "end": { + "line": 380, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "refreshAll", + "range": [ + 11852, + 11862 + ], + "loc": { + "start": { + "line": 380, + "column": 54 + }, + "end": { + "line": 380, + "column": 64 + } + } + }, + "range": [ + 11847, + 11862 + ], + "loc": { + "start": { + "line": 380, + "column": 49 + }, + "end": { + "line": 380, + "column": 64 + } + } + }, + "arguments": [], + "range": [ + 11847, + 11864 + ], + "loc": { + "start": { + "line": 380, + "column": 49 + }, + "end": { + "line": 380, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 11841, + 11864 + ], + "loc": { + "start": { + "line": 380, + "column": 43 + }, + "end": { + "line": 380, + "column": 66 + } + } + } + ], + "range": [ + 11806, + 11865 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 67 + } + } + }, + "range": [ + 11806, + 11866 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 68 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11875, + 11879 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 11880, + 11891 + ], + "loc": { + "start": { + "line": 381, + "column": 13 + }, + "end": { + "line": 381, + "column": 24 + } + } + }, + "range": [ + 11875, + 11891 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 11894, + 11899 + ], + "loc": { + "start": { + "line": 381, + "column": 27 + }, + "end": { + "line": 381, + "column": 32 + } + } + }, + "range": [ + 11875, + 11899 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 32 + } + } + }, + "range": [ + 11875, + 11900 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 381, + "column": 33 + } + } + } + ], + "range": [ + 11471, + 11906 + ], + "loc": { + "start": { + "line": 370, + "column": 14 + }, + "end": { + "line": 382, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11468, + 11906 + ], + "loc": { + "start": { + "line": 370, + "column": 11 + }, + "end": { + "line": 382, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11461, + 11906 + ], + "loc": { + "start": { + "line": 370, + "column": 4 + }, + "end": { + "line": 382, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 11412, + 11456 + ], + "loc": { + "start": { + "line": 367, + "column": 4 + }, + "end": { + "line": 369, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 451, + 11908 + ], + "loc": { + "start": { + "line": 15, + "column": 43 + }, + "end": { + "line": 383, + "column": 1 + } + } + }, + "range": [ + 415, + 11908 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 383, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @export\n * @class Dropdown\n * @extends {BaseDropdown}\n ", + "range": [ + 311, + 407 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 408, + 11908 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 383, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @export\n * @class Dropdown\n * @extends {BaseDropdown}\n ", + "range": [ + 311, + 407 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 11908 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 383, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Dropdown filter UI component\n * @export\n * @class Dropdown\n * @extends {BaseDropdown}\n ", + "range": [ + 311, + 407 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Dropdown\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 458, + 560 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Configuration object", + "range": [ + 623, + 646 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable the reset filter option as first item\n * @type {Boolean}\n ", + "range": [ + 685, + 783 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Non empty option text\n * @type {String}\n ", + "range": [ + 888, + 962 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Tooltip text appearing on multiple select\n * @type {String}\n ", + "range": [ + 1046, + 1140 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n ", + "range": [ + 1280, + 1385 + ], + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " select is populated when element has focus", + "range": [ + 1472, + 1517 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 53 + } + } + }, + { + "type": "Block", + "value": "*\n * Drop-down filter change event handler\n * @private\n ", + "range": [ + 1736, + 1808 + ], + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 68, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh all drop-down filters\n ", + "range": [ + 1915, + 1963 + ], + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 77, + "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": [ + 2221, + 2452 + ], + "loc": { + "start": { + "line": 85, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "filter is appended in container element", + "range": [ + 3049, + 3090 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 49 + } + } + }, + { + "type": "Line", + "value": "1st option is created here since build isn't invoked", + "range": [ + 3374, + 3428 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 66 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4065, + 4082 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n ", + "range": [ + 4127, + 4290 + ], + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 148, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4479, + 4496 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4529, + 4546 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 25 + } + } + }, + { + "type": "Line", + "value": "custom select test", + "range": [ + 4730, + 4750 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 4759, + 4776 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 25 + } + } + }, + { + "type": "Line", + "value": "Retrieves custom values", + "range": [ + 4840, + 4865 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 33 + } + } + }, + { + "type": "Line", + "value": "custom selects text", + "range": [ + 5061, + 5082 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " always visible rows don't need to appear on selects as always", + "range": [ + 5544, + 5608 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " valid", + "range": [ + 5621, + 5629 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 5834, + 5867 + ], + "loc": { + "start": { + "line": 200, + "column": 12 + }, + "end": { + "line": 200, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 5980, + 6012 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 44 + } + } + }, + { + "type": "Line", + "value": "Vary Peter's patch", + "range": [ + 6466, + 6486 + ], + "loc": { + "start": { + "line": 217, + "column": 20 + }, + "end": { + "line": 217, + "column": 40 + } + } + }, + { + "type": "Line", + "value": " checks if celldata is already in array", + "range": [ + 6577, + 6618 + ], + "loc": { + "start": { + "line": 220, + "column": 16 + }, + "end": { + "line": 220, + "column": 57 + } + } + }, + { + "type": "Line", + "value": "for j", + "range": [ + 7261, + 7268 + ], + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 20 + } + } + }, + { + "type": "Line", + "value": "for k", + "range": [ + 7278, + 7285 + ], + "loc": { + "start": { + "line": 236, + "column": 9 + }, + "end": { + "line": 236, + "column": 16 + } + } + }, + { + "type": "Line", + "value": "sort options", + "range": [ + 7295, + 7309 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 22 + } + } + }, + { + "type": "Line", + "value": "populates drop-down", + "range": [ + 7485, + 7506 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 29 + } + } + }, + { + "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": [ + 7656, + 7930 + ], + "loc": { + "start": { + "line": 250, + "column": 4 + }, + "end": { + "line": 256, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "option value", + "range": [ + 8285, + 8299 + ], + "loc": { + "start": { + "line": 268, + "column": 36 + }, + "end": { + "line": 268, + "column": 50 + } + } + }, + { + "type": "Line", + "value": "option text", + "range": [ + 8361, + 8374 + ], + "loc": { + "start": { + "line": 269, + "column": 61 + }, + "end": { + "line": 269, + "column": 74 + } + } + }, + { + "type": "Line", + "value": "fill select on demand", + "range": [ + 8660, + 8683 + ], + "loc": { + "start": { + "line": 278, + "column": 12 + }, + "end": { + "line": 278, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " for y", + "range": [ + 9066, + 9074 + ], + "loc": { + "start": { + "line": 289, + "column": 9 + }, + "end": { + "line": 289, + "column": 17 + } + } + }, + { + "type": "Block", + "value": "*\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n ", + "range": [ + 9128, + 9220 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 297, + "column": 7 + } + } + }, + { + "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": [ + 9893, + 10062 + ], + "loc": { + "start": { + "line": 318, + "column": 4 + }, + "end": { + "line": 322, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Empty value means clear all selections and first option is the", + "range": [ + 10309, + 10374 + ], + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 77 + } + } + }, + { + "type": "Line", + "value": " clear all option", + "range": [ + 10387, + 10406 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 31 + } + } + }, + { + "type": "Line", + "value": "if", + "range": [ + 10649, + 10653 + ], + "loc": { + "start": { + "line": 338, + "column": 13 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + { + "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": [ + 10677, + 10841 + ], + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 346, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " IE >= 9 does not support the selectedOptions property :(", + "range": [ + 10977, + 11036 + ], + "loc": { + "start": { + "line": 352, + "column": 8 + }, + "end": { + "line": 352, + "column": 67 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy Dropdown instance\n ", + "range": [ + 11412, + 11456 + ], + "loc": { + "start": { + "line": 367, + "column": 4 + }, + "end": { + "line": 369, + "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 new file mode 100644 index 00000000..61778b84 --- /dev/null +++ b/docs/ast/source/modules/gridLayout.js.json @@ -0,0 +1,29901 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 66, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 66, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "range": [ + 66, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "tag", + "range": [ + 71, + 74 + ], + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "tag", + "range": [ + 71, + 74 + ], + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + "range": [ + 71, + 74 + ], + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 38 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 81, + 89 + ], + "loc": { + "start": { + "line": 2, + "column": 45 + }, + "end": { + "line": 2, + "column": 53 + } + } + }, + "range": [ + 36, + 90 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 99, + 105 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 99, + 105 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "range": [ + 99, + 105 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 107, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 107, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 107, + 116 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 123, + 133 + ], + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + "range": [ + 91, + 134 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "contains", + "range": [ + 143, + 151 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "contains", + "range": [ + 143, + 151 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "range": [ + 143, + 151 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../string", + "raw": "'../string'", + "range": [ + 158, + 169 + ], + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "range": [ + 135, + 170 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 179, + 183 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 179, + 183 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 179, + 183 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 190, + 200 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + "range": [ + 171, + 201 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 215, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 215, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + "range": [ + 215, + 227 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 229, + 240 + ], + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 229, + 240 + ], + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + "range": [ + 229, + 240 + ], + "loc": { + "start": { + "line": 7, + "column": 18 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 242, + 252 + ], + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 242, + 252 + ], + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "range": [ + 242, + 252 + ], + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 254, + 265 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 254, + 265 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + "range": [ + 254, + 265 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 273, + 286 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "range": [ + 202, + 287 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Grid layout, table with fixed headers\n ", + "range": [ + 289, + 337 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "GridLayout", + "range": [ + 351, + 361 + ], + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 370, + 377 + ], + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 39 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 494, + 505 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 506, + 508 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 520, + 525 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 526, + 528 + ], + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "gridLayout", + "raw": "'gridLayout'", + "range": [ + 530, + 542 + ], + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 30 + } + } + } + ], + "range": [ + 520, + 543 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 31 + } + } + }, + "range": [ + 520, + 544 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 558, + 559 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 562, + 566 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 567, + 573 + ], + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "range": [ + 562, + 573 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "grid_layout", + "range": [ + 574, + 585 + ], + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + "range": [ + 562, + 585 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 589, + 591 + ], + "loc": { + "start": { + "line": 22, + "column": 43 + }, + "end": { + "line": 22, + "column": 45 + } + } + }, + "range": [ + 562, + 591 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 45 + } + } + }, + "range": [ + 558, + 591 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 554, + 592 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 46 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout container width as CSS string\n * @type {String}\n ", + "range": [ + 602, + 696 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 705, + 709 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 710, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "range": [ + 705, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 718, + 729 + ], + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 730, + 731 + ], + "loc": { + "start": { + "line": 28, + "column": 33 + }, + "end": { + "line": 28, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 732, + 737 + ], + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + "range": [ + 730, + 737 + ], + "loc": { + "start": { + "line": 28, + "column": 33 + }, + "end": { + "line": 28, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 739, + 743 + ], + "loc": { + "start": { + "line": 28, + "column": 42 + }, + "end": { + "line": 28, + "column": 46 + } + } + } + ], + "range": [ + 718, + 744 + ], + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + "range": [ + 705, + 744 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + "range": [ + 705, + 745 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout container width as CSS string\n * @type {String}\n ", + "range": [ + 602, + 696 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout container height as CSS string\n * @type {String}\n ", + "range": [ + 755, + 850 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 859, + 863 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "height", + "range": [ + 864, + 870 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "range": [ + 859, + 870 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 873, + 884 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 885, + 886 + ], + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "height", + "range": [ + 887, + 893 + ], + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 34, + "column": 42 + } + } + }, + "range": [ + 885, + 893 + ], + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 895, + 899 + ], + "loc": { + "start": { + "line": 34, + "column": 44 + }, + "end": { + "line": 34, + "column": 48 + } + } + } + ], + "range": [ + 873, + 900 + ], + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 49 + } + } + }, + "range": [ + 859, + 900 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 49 + } + } + }, + "range": [ + 859, + 901 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout container height as CSS string\n * @type {String}\n ", + "range": [ + 755, + 850 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for main container element\n * @type {String}\n ", + "range": [ + 911, + 1000 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1009, + 1013 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "mainContCssClass", + "range": [ + 1014, + 1030 + ], + "loc": { + "start": { + "line": 40, + "column": 13 + }, + "end": { + "line": 40, + "column": 29 + } + } + }, + "range": [ + 1009, + 1030 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1033, + 1044 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1045, + 1046 + ], + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont_css_class", + "range": [ + 1047, + 1061 + ], + "loc": { + "start": { + "line": 40, + "column": 46 + }, + "end": { + "line": 40, + "column": 60 + } + } + }, + "range": [ + 1045, + 1061 + ], + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "grd_Cont", + "raw": "'grd_Cont'", + "range": [ + 1063, + 1073 + ], + "loc": { + "start": { + "line": 40, + "column": 62 + }, + "end": { + "line": 40, + "column": 72 + } + } + } + ], + "range": [ + 1033, + 1074 + ], + "loc": { + "start": { + "line": 40, + "column": 32 + }, + "end": { + "line": 40, + "column": 73 + } + } + }, + "range": [ + 1009, + 1074 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 73 + } + } + }, + "range": [ + 1009, + 1075 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for main container element\n * @type {String}\n ", + "range": [ + 911, + 1000 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for body table container element\n * @type {String}\n ", + "range": [ + 1085, + 1180 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 45, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1189, + 1193 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 1194, + 1206 + ], + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 25 + } + } + }, + "range": [ + 1189, + 1206 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1209, + 1220 + ], + "loc": { + "start": { + "line": 46, + "column": 28 + }, + "end": { + "line": 46, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1221, + 1222 + ], + "loc": { + "start": { + "line": 46, + "column": 40 + }, + "end": { + "line": 46, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl_cont_css_class", + "range": [ + 1223, + 1241 + ], + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 60 + } + } + }, + "range": [ + 1221, + 1241 + ], + "loc": { + "start": { + "line": 46, + "column": 40 + }, + "end": { + "line": 46, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "grd_tblCont", + "raw": "'grd_tblCont'", + "range": [ + 1243, + 1256 + ], + "loc": { + "start": { + "line": 46, + "column": 62 + }, + "end": { + "line": 46, + "column": 75 + } + } + } + ], + "range": [ + 1209, + 1257 + ], + "loc": { + "start": { + "line": 46, + "column": 28 + }, + "end": { + "line": 46, + "column": 76 + } + } + }, + "range": [ + 1189, + 1257 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 76 + } + } + }, + "range": [ + 1189, + 1258 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for body table container element\n * @type {String}\n ", + "range": [ + 1085, + 1180 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 45, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for headers table container element\n * @type {String}\n ", + "range": [ + 1268, + 1366 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1375, + 1379 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headContCssClass", + "range": [ + 1380, + 1396 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + "range": [ + 1375, + 1396 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1399, + 1410 + ], + "loc": { + "start": { + "line": 52, + "column": 32 + }, + "end": { + "line": 52, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1411, + 1412 + ], + "loc": { + "start": { + "line": 52, + "column": 44 + }, + "end": { + "line": 52, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl_head_css_class", + "range": [ + 1413, + 1431 + ], + "loc": { + "start": { + "line": 52, + "column": 46 + }, + "end": { + "line": 52, + "column": 64 + } + } + }, + "range": [ + 1411, + 1431 + ], + "loc": { + "start": { + "line": 52, + "column": 44 + }, + "end": { + "line": 52, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": "grd_headTblCont", + "raw": "'grd_headTblCont'", + "range": [ + 1445, + 1462 + ], + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 29 + } + } + } + ], + "range": [ + 1399, + 1463 + ], + "loc": { + "start": { + "line": 52, + "column": 32 + }, + "end": { + "line": 53, + "column": 30 + } + } + }, + "range": [ + 1375, + 1463 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 53, + "column": 30 + } + } + }, + "range": [ + 1375, + 1464 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 53, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for headers table container element\n * @type {String}\n ", + "range": [ + 1268, + 1366 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n ", + "range": [ + 1474, + 1594 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1603, + 1607 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDivCssClass", + "range": [ + 1608, + 1622 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 27 + } + } + }, + "range": [ + 1603, + 1622 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1625, + 1636 + ], + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 59, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1637, + 1638 + ], + "loc": { + "start": { + "line": 59, + "column": 42 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "inf_grid_css_class", + "range": [ + 1639, + 1657 + ], + "loc": { + "start": { + "line": 59, + "column": 44 + }, + "end": { + "line": 59, + "column": 62 + } + } + }, + "range": [ + 1637, + 1657 + ], + "loc": { + "start": { + "line": 59, + "column": 42 + }, + "end": { + "line": 59, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "grd_inf", + "raw": "'grd_inf'", + "range": [ + 1659, + 1668 + ], + "loc": { + "start": { + "line": 59, + "column": 64 + }, + "end": { + "line": 59, + "column": 73 + } + } + } + ], + "range": [ + 1625, + 1669 + ], + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 59, + "column": 74 + } + } + }, + "range": [ + 1603, + 1669 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 74 + } + } + }, + "range": [ + 1603, + 1670 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n ", + "range": [ + 1474, + 1594 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Index of the headers row, default: 0\n * @type {Number}\n ", + "range": [ + 1680, + 1769 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1778, + 1782 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRowIndex", + "range": [ + 1783, + 1795 + ], + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + "range": [ + 1778, + 1795 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 1798, + 1808 + ], + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1809, + 1810 + ], + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_row_index", + "range": [ + 1811, + 1828 + ], + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 58 + } + } + }, + "range": [ + 1809, + 1828 + ], + "loc": { + "start": { + "line": 65, + "column": 39 + }, + "end": { + "line": 65, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1830, + 1831 + ], + "loc": { + "start": { + "line": 65, + "column": 60 + }, + "end": { + "line": 65, + "column": 61 + } + } + } + ], + "range": [ + 1798, + 1832 + ], + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 62 + } + } + }, + "range": [ + 1778, + 1832 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 62 + } + } + }, + "range": [ + 1778, + 1833 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Index of the headers row, default: 0\n * @type {Number}\n ", + "range": [ + 1680, + 1769 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n ", + "range": [ + 1843, + 1962 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1971, + 1975 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRows", + "range": [ + 1976, + 1984 + ], + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + "range": [ + 1971, + 1984 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1987, + 1998 + ], + "loc": { + "start": { + "line": 71, + "column": 24 + }, + "end": { + "line": 71, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1999, + 2000 + ], + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_rows", + "range": [ + 2001, + 2013 + ], + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + "range": [ + 1999, + 2013 + ], + "loc": { + "start": { + "line": 71, + "column": 36 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2016, + 2017 + ], + "loc": { + "start": { + "line": 71, + "column": 53 + }, + "end": { + "line": 71, + "column": 54 + } + } + } + ], + "range": [ + 2015, + 2018 + ], + "loc": { + "start": { + "line": 71, + "column": 52 + }, + "end": { + "line": 71, + "column": 55 + } + } + } + ], + "range": [ + 1987, + 2019 + ], + "loc": { + "start": { + "line": 71, + "column": 24 + }, + "end": { + "line": 71, + "column": 56 + } + } + }, + "range": [ + 1971, + 2019 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 56 + } + } + }, + "range": [ + 1971, + 2020 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n ", + "range": [ + 1843, + 1962 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n ", + "range": [ + 2030, + 2142 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2151, + 2155 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters", + "range": [ + 2156, + 2163 + ], + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 20 + } + } + }, + "range": [ + 2151, + 2163 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 2166, + 2178 + ], + "loc": { + "start": { + "line": 77, + "column": 23 + }, + "end": { + "line": 77, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2179, + 2180 + ], + "loc": { + "start": { + "line": 77, + "column": 36 + }, + "end": { + "line": 77, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters", + "range": [ + 2181, + 2188 + ], + "loc": { + "start": { + "line": 77, + "column": 38 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + "range": [ + 2179, + 2188 + ], + "loc": { + "start": { + "line": 77, + "column": 36 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2190, + 2194 + ], + "loc": { + "start": { + "line": 77, + "column": 47 + }, + "end": { + "line": 77, + "column": 51 + } + } + } + ], + "range": [ + 2166, + 2195 + ], + "loc": { + "start": { + "line": 77, + "column": 23 + }, + "end": { + "line": 77, + "column": 52 + } + } + }, + "range": [ + 2151, + 2195 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 52 + } + } + }, + "range": [ + 2151, + 2196 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n ", + "range": [ + 2030, + 2142 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable or disable column headers, default: false\n * @type {Boolean}\n ", + "range": [ + 2206, + 2308 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2317, + 2321 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "noHeaders", + "range": [ + 2322, + 2331 + ], + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + "range": [ + 2317, + 2331 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 2334, + 2341 + ], + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2342, + 2343 + ], + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "no_headers", + "range": [ + 2344, + 2354 + ], + "loc": { + "start": { + "line": 83, + "column": 35 + }, + "end": { + "line": 83, + "column": 45 + } + } + }, + "range": [ + 2342, + 2354 + ], + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 45 + } + } + } + ], + "range": [ + 2334, + 2355 + ], + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 46 + } + } + }, + "range": [ + 2317, + 2355 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 46 + } + } + }, + "range": [ + 2317, + 2356 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable or disable column headers, default: false\n * @type {Boolean}\n ", + "range": [ + 2206, + 2308 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout default column widht as CSS string\n * @type {String}\n ", + "range": [ + 2366, + 2465 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2474, + 2478 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultColWidth", + "range": [ + 2479, + 2494 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + "range": [ + 2474, + 2494 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2497, + 2508 + ], + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2509, + 2510 + ], + "loc": { + "start": { + "line": 89, + "column": 43 + }, + "end": { + "line": 89, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "default_col_width", + "range": [ + 2511, + 2528 + ], + "loc": { + "start": { + "line": 89, + "column": 45 + }, + "end": { + "line": 89, + "column": 62 + } + } + }, + "range": [ + 2509, + 2528 + ], + "loc": { + "start": { + "line": 89, + "column": 43 + }, + "end": { + "line": 89, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "100px", + "raw": "'100px'", + "range": [ + 2530, + 2537 + ], + "loc": { + "start": { + "line": 89, + "column": 64 + }, + "end": { + "line": 89, + "column": 71 + } + } + } + ], + "range": [ + 2497, + 2538 + ], + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 72 + } + } + }, + "range": [ + 2474, + 2538 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 72 + } + } + }, + "range": [ + 2474, + 2539 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Grid-layout default column widht as CSS string\n * @type {String}\n ", + "range": [ + 2366, + 2465 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of column elements\n * @type {Array}\n * @private\n ", + "range": [ + 2549, + 2644 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2653, + 2657 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "colElms", + "range": [ + 2658, + 2665 + ], + "loc": { + "start": { + "line": 96, + "column": 13 + }, + "end": { + "line": 96, + "column": 20 + } + } + }, + "range": [ + 2653, + 2665 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 20 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 2668, + 2670 + ], + "loc": { + "start": { + "line": 96, + "column": 23 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + "range": [ + 2653, + 2670 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + "range": [ + 2653, + 2671 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of column elements\n * @type {Array}\n * @private\n ", + "range": [ + 2549, + 2644 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2681, + 2793 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2802, + 2806 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridFltTd", + "range": [ + 2807, + 2820 + ], + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + "range": [ + 2802, + 2820 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "_td_", + "raw": "'_td_'", + "range": [ + 2823, + 2829 + ], + "loc": { + "start": { + "line": 103, + "column": 29 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + "range": [ + 2802, + 2829 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + "range": [ + 2802, + 2830 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2681, + 2793 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2840, + 2952 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2961, + 2965 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridTh", + "range": [ + 2966, + 2976 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 23 + } + } + }, + "range": [ + 2961, + 2976 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "tblHeadTh_", + "raw": "'tblHeadTh_'", + "range": [ + 2979, + 2991 + ], + "loc": { + "start": { + "line": 110, + "column": 26 + }, + "end": { + "line": 110, + "column": 38 + } + } + }, + "range": [ + 2961, + 2991 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 38 + } + } + }, + "range": [ + 2961, + 2992 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2840, + 2952 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mark-up of original HTML table\n * @type {String}\n * @private\n ", + "range": [ + 3002, + 3105 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3114, + 3118 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sourceTblHtml", + "range": [ + 3119, + 3132 + ], + "loc": { + "start": { + "line": 117, + "column": 13 + }, + "end": { + "line": 117, + "column": 26 + } + } + }, + "range": [ + 3114, + 3132 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3135, + 3137 + ], + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 3138, + 3141 + ], + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 35 + } + } + }, + "range": [ + 3135, + 3141 + ], + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 3135, + 3143 + ], + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "outerHTML", + "range": [ + 3144, + 3153 + ], + "loc": { + "start": { + "line": 117, + "column": 38 + }, + "end": { + "line": 117, + "column": 47 + } + } + }, + "range": [ + 3135, + 3153 + ], + "loc": { + "start": { + "line": 117, + "column": 29 + }, + "end": { + "line": 117, + "column": 47 + } + } + }, + "range": [ + 3114, + 3153 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 47 + } + } + }, + "range": [ + 3114, + 3154 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mark-up of original HTML table\n * @type {String}\n * @private\n ", + "range": [ + 3002, + 3105 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", + "range": [ + 3164, + 3284 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3293, + 3297 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 3298, + 3310 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 25 + } + } + }, + "range": [ + 3293, + 3310 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 3313, + 3316 + ], + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3317, + 3319 + ], + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 3320, + 3323 + ], + "loc": { + "start": { + "line": 124, + "column": 35 + }, + "end": { + "line": 124, + "column": 38 + } + } + }, + "range": [ + 3317, + 3323 + ], + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 38 + } + } + }, + "arguments": [], + "range": [ + 3317, + 3325 + ], + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 3327, + 3332 + ], + "loc": { + "start": { + "line": 124, + "column": 42 + }, + "end": { + "line": 124, + "column": 47 + } + } + } + ], + "range": [ + 3313, + 3333 + ], + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 3334, + 3340 + ], + "loc": { + "start": { + "line": 124, + "column": 49 + }, + "end": { + "line": 124, + "column": 55 + } + } + }, + "range": [ + 3313, + 3340 + ], + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3343, + 3344 + ], + "loc": { + "start": { + "line": 124, + "column": 58 + }, + "end": { + "line": 124, + "column": 59 + } + } + }, + "range": [ + 3313, + 3344 + ], + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 59 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3347, + 3351 + ], + "loc": { + "start": { + "line": 124, + "column": 62 + }, + "end": { + "line": 124, + "column": 66 + } + } + }, + "alternate": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 3354, + 3359 + ], + "loc": { + "start": { + "line": 124, + "column": 69 + }, + "end": { + "line": 124, + "column": 74 + } + } + }, + "range": [ + 3313, + 3359 + ], + "loc": { + "start": { + "line": 124, + "column": 28 + }, + "end": { + "line": 124, + "column": 74 + } + } + }, + "range": [ + 3293, + 3359 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 74 + } + } + }, + "range": [ + 3293, + 3360 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", + "range": [ + 3164, + 3284 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Main container element\n * @private\n ", + "range": [ + 3370, + 3439 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3448, + 3452 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 3453, + 3464 + ], + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 24 + } + } + }, + "range": [ + 3448, + 3464 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3467, + 3471 + ], + "loc": { + "start": { + "line": 130, + "column": 27 + }, + "end": { + "line": 130, + "column": 31 + } + } + }, + "range": [ + 3448, + 3471 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 31 + } + } + }, + "range": [ + 3448, + 3472 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Main container element\n * @private\n ", + "range": [ + 3370, + 3439 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Table container element\n * @private\n ", + "range": [ + 3482, + 3552 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 135, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3561, + 3565 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 3566, + 3573 + ], + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "range": [ + 3561, + 3573 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3576, + 3580 + ], + "loc": { + "start": { + "line": 136, + "column": 23 + }, + "end": { + "line": 136, + "column": 27 + } + } + }, + "range": [ + 3561, + 3580 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 27 + } + } + }, + "range": [ + 3561, + 3581 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Table container element\n * @private\n ", + "range": [ + 3482, + 3552 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 135, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Headers' table container element\n * @private\n ", + "range": [ + 3591, + 3670 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3679, + 3683 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 3684, + 3695 + ], + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "range": [ + 3679, + 3695 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3698, + 3702 + ], + "loc": { + "start": { + "line": 142, + "column": 27 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + "range": [ + 3679, + 3702 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + "range": [ + 3679, + 3703 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Headers' table container element\n * @private\n ", + "range": [ + 3591, + 3670 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Headers' table element\n * @private\n ", + "range": [ + 3713, + 3782 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 147, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3791, + 3795 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 3796, + 3803 + ], + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 20 + } + } + }, + "range": [ + 3791, + 3803 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3806, + 3810 + ], + "loc": { + "start": { + "line": 148, + "column": 23 + }, + "end": { + "line": 148, + "column": 27 + } + } + }, + "range": [ + 3791, + 3810 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 27 + } + } + }, + "range": [ + 3791, + 3811 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Headers' table element\n * @private\n ", + "range": [ + 3713, + 3782 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 147, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " filters flag at TF level", + "range": [ + 3821, + 3848 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3857, + 3859 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 3860, + 3867 + ], + "loc": { + "start": { + "line": 151, + "column": 11 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + "range": [ + 3857, + 3867 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3870, + 3874 + ], + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters", + "range": [ + 3875, + 3882 + ], + "loc": { + "start": { + "line": 151, + "column": 26 + }, + "end": { + "line": 151, + "column": 33 + } + } + }, + "range": [ + 3870, + 3882 + ], + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 33 + } + } + }, + "range": [ + 3857, + 3882 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 33 + } + } + }, + "range": [ + 3857, + 3883 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " filters flag at TF level", + "range": [ + 3821, + 3848 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 35 + } + } + } + ] + } + ], + "range": [ + 510, + 3889 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 505, + 3889 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 152, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 494, + 3889 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 152, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of GridLayout\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 385, + 489 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", + "range": [ + 3895, + 4020 + ], + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 4025, + 4029 + ], + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4046, + 4048 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4051, + 4055 + ], + "loc": { + "start": { + "line": 159, + "column": 17 + }, + "end": { + "line": 159, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4056, + 4058 + ], + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 24 + } + } + }, + "range": [ + 4051, + 4058 + ], + "loc": { + "start": { + "line": 159, + "column": 17 + }, + "end": { + "line": 159, + "column": 24 + } + } + }, + "range": [ + 4046, + 4058 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4042, + 4059 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 4072, + 4075 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4078, + 4080 + ], + "loc": { + "start": { + "line": 160, + "column": 18 + }, + "end": { + "line": 160, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4081, + 4084 + ], + "loc": { + "start": { + "line": 160, + "column": 21 + }, + "end": { + "line": 160, + "column": 24 + } + } + }, + "range": [ + 4078, + 4084 + ], + "loc": { + "start": { + "line": 160, + "column": 18 + }, + "end": { + "line": 160, + "column": 24 + } + } + }, + "arguments": [], + "range": [ + 4078, + 4086 + ], + "loc": { + "start": { + "line": 160, + "column": 18 + }, + "end": { + "line": 160, + "column": 26 + } + } + }, + "range": [ + 4072, + 4086 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 4068, + 4087 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4101, + 4105 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4106, + 4117 + ], + "loc": { + "start": { + "line": 162, + "column": 17 + }, + "end": { + "line": 162, + "column": 28 + } + } + }, + "range": [ + 4101, + 4117 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4133, + 4140 + ], + "loc": { + "start": { + "line": 163, + "column": 12 + }, + "end": { + "line": 163, + "column": 19 + } + } + } + ], + "range": [ + 4119, + 4150 + ], + "loc": { + "start": { + "line": 162, + "column": 30 + }, + "end": { + "line": 164, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4097, + 4150 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 164, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Override relevant TableFilter properties", + "range": [ + 4160, + 4203 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 51 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4212, + 4216 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setOverrides", + "range": [ + 4217, + 4229 + ], + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + "range": [ + 4212, + 4229 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 4212, + 4231 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 27 + } + } + }, + "range": [ + 4212, + 4232 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Override relevant TableFilter properties", + "range": [ + 4160, + 4203 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 51 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Assign default column widths", + "range": [ + 4242, + 4273 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 39 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4282, + 4286 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setDefaultColWidths", + "range": [ + 4287, + 4306 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 32 + } + } + }, + "range": [ + 4282, + 4306 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 4282, + 4308 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 34 + } + } + }, + "range": [ + 4282, + 4309 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Assign default column widths", + "range": [ + 4242, + 4273 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 39 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Initial table width", + "range": [ + 4319, + 4341 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 30 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tblW", + "range": [ + 4354, + 4358 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4361, + 4365 + ], + "loc": { + "start": { + "line": 173, + "column": 19 + }, + "end": { + "line": 173, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialTableWidth", + "range": [ + 4366, + 4383 + ], + "loc": { + "start": { + "line": 173, + "column": 24 + }, + "end": { + "line": 173, + "column": 41 + } + } + }, + "range": [ + 4361, + 4383 + ], + "loc": { + "start": { + "line": 173, + "column": 19 + }, + "end": { + "line": 173, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 4361, + 4385 + ], + "loc": { + "start": { + "line": 173, + "column": 19 + }, + "end": { + "line": 173, + "column": 43 + } + } + }, + "range": [ + 4354, + 4385 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 4350, + 4386 + ], + "loc": { + "start": { + "line": 173, + "column": 8 + }, + "end": { + "line": 173, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Initial table width", + "range": [ + 4319, + 4341 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 30 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Main container: it will contain all the elements", + "range": [ + 4396, + 4446 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 58 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4455, + 4459 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 4460, + 4471 + ], + "loc": { + "start": { + "line": 176, + "column": 13 + }, + "end": { + "line": 176, + "column": 24 + } + } + }, + "range": [ + 4455, + 4471 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4474, + 4478 + ], + "loc": { + "start": { + "line": 176, + "column": 27 + }, + "end": { + "line": 176, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 4479, + 4494 + ], + "loc": { + "start": { + "line": 176, + "column": 32 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "range": [ + 4474, + 4494 + ], + "loc": { + "start": { + "line": 176, + "column": 27 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 4508, + 4513 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 17 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4515, + 4519 + ], + "loc": { + "start": { + "line": 177, + "column": 19 + }, + "end": { + "line": 177, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "mainContCssClass", + "range": [ + 4520, + 4536 + ], + "loc": { + "start": { + "line": 177, + "column": 24 + }, + "end": { + "line": 177, + "column": 40 + } + } + }, + "range": [ + 4515, + 4536 + ], + "loc": { + "start": { + "line": 177, + "column": 19 + }, + "end": { + "line": 177, + "column": 40 + } + } + } + ], + "range": [ + 4474, + 4537 + ], + "loc": { + "start": { + "line": 176, + "column": 27 + }, + "end": { + "line": 177, + "column": 41 + } + } + }, + "range": [ + 4455, + 4537 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 177, + "column": 41 + } + } + }, + "range": [ + 4455, + 4538 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 177, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Main container: it will contain all the elements", + "range": [ + 4396, + 4446 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 58 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4551, + 4555 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4556, + 4561 + ], + "loc": { + "start": { + "line": 178, + "column": 17 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + "range": [ + 4551, + 4561 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + "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": [ + 4577, + 4581 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 4582, + 4593 + ], + "loc": { + "start": { + "line": 179, + "column": 17 + }, + "end": { + "line": 179, + "column": 28 + } + } + }, + "range": [ + 4577, + 4593 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 4594, + 4599 + ], + "loc": { + "start": { + "line": 179, + "column": 29 + }, + "end": { + "line": 179, + "column": 34 + } + } + }, + "range": [ + 4577, + 4599 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4600, + 4605 + ], + "loc": { + "start": { + "line": 179, + "column": 35 + }, + "end": { + "line": 179, + "column": 40 + } + } + }, + "range": [ + 4577, + 4605 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4608, + 4612 + ], + "loc": { + "start": { + "line": 179, + "column": 43 + }, + "end": { + "line": 179, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4613, + 4618 + ], + "loc": { + "start": { + "line": 179, + "column": 48 + }, + "end": { + "line": 179, + "column": 53 + } + } + }, + "range": [ + 4608, + 4618 + ], + "loc": { + "start": { + "line": 179, + "column": 43 + }, + "end": { + "line": 179, + "column": 53 + } + } + }, + "range": [ + 4577, + 4618 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 53 + } + } + }, + "range": [ + 4577, + 4619 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 54 + } + } + } + ], + "range": [ + 4563, + 4629 + ], + "loc": { + "start": { + "line": 178, + "column": 24 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4547, + 4629 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 4638, + 4641 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 4642, + 4652 + ], + "loc": { + "start": { + "line": 181, + "column": 12 + }, + "end": { + "line": 181, + "column": 22 + } + } + }, + "range": [ + 4638, + 4652 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 4653, + 4665 + ], + "loc": { + "start": { + "line": 181, + "column": 23 + }, + "end": { + "line": 181, + "column": 35 + } + } + }, + "range": [ + 4638, + 4665 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4666, + 4670 + ], + "loc": { + "start": { + "line": 181, + "column": 36 + }, + "end": { + "line": 181, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 4671, + 4682 + ], + "loc": { + "start": { + "line": 181, + "column": 41 + }, + "end": { + "line": 181, + "column": 52 + } + } + }, + "range": [ + 4666, + 4682 + ], + "loc": { + "start": { + "line": 181, + "column": 36 + }, + "end": { + "line": 181, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "tbl", + "range": [ + 4684, + 4687 + ], + "loc": { + "start": { + "line": 181, + "column": 54 + }, + "end": { + "line": 181, + "column": 57 + } + } + } + ], + "range": [ + 4638, + 4688 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 58 + } + } + }, + "range": [ + 4638, + 4689 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Table container: div wrapping content table", + "range": [ + 4699, + 4744 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 53 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4753, + 4757 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 4758, + 4765 + ], + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 20 + } + } + }, + "range": [ + 4753, + 4765 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4768, + 4772 + ], + "loc": { + "start": { + "line": 184, + "column": 23 + }, + "end": { + "line": 184, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 4773, + 4788 + ], + "loc": { + "start": { + "line": 184, + "column": 28 + }, + "end": { + "line": 184, + "column": 43 + } + } + }, + "range": [ + 4768, + 4788 + ], + "loc": { + "start": { + "line": 184, + "column": 23 + }, + "end": { + "line": 184, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 4789, + 4794 + ], + "loc": { + "start": { + "line": 184, + "column": 44 + }, + "end": { + "line": 184, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4796, + 4800 + ], + "loc": { + "start": { + "line": 184, + "column": 51 + }, + "end": { + "line": 184, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 4801, + 4813 + ], + "loc": { + "start": { + "line": 184, + "column": 56 + }, + "end": { + "line": 184, + "column": 68 + } + } + }, + "range": [ + 4796, + 4813 + ], + "loc": { + "start": { + "line": 184, + "column": 51 + }, + "end": { + "line": 184, + "column": 68 + } + } + } + ], + "range": [ + 4768, + 4814 + ], + "loc": { + "start": { + "line": 184, + "column": 23 + }, + "end": { + "line": 184, + "column": 69 + } + } + }, + "range": [ + 4753, + 4814 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 69 + } + } + }, + "range": [ + 4753, + 4815 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Table container: div wrapping content table", + "range": [ + 4699, + 4744 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 53 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4824, + 4828 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setConfigWidth", + "range": [ + 4829, + 4843 + ], + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 27 + } + } + }, + "range": [ + 4824, + 4843 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4844, + 4848 + ], + "loc": { + "start": { + "line": 185, + "column": 28 + }, + "end": { + "line": 185, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 4849, + 4856 + ], + "loc": { + "start": { + "line": 185, + "column": 33 + }, + "end": { + "line": 185, + "column": 40 + } + } + }, + "range": [ + 4844, + 4856 + ], + "loc": { + "start": { + "line": 185, + "column": 28 + }, + "end": { + "line": 185, + "column": 40 + } + } + } + ], + "range": [ + 4824, + 4857 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 41 + } + } + }, + "range": [ + 4824, + 4858 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 42 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4871, + 4875 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "height", + "range": [ + 4876, + 4882 + ], + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 23 + } + } + }, + "range": [ + 4871, + 4882 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 23 + } + } + }, + "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": [ + 4898, + 4902 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 4903, + 4910 + ], + "loc": { + "start": { + "line": 187, + "column": 17 + }, + "end": { + "line": 187, + "column": 24 + } + } + }, + "range": [ + 4898, + 4910 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 4911, + 4916 + ], + "loc": { + "start": { + "line": 187, + "column": 25 + }, + "end": { + "line": 187, + "column": 30 + } + } + }, + "range": [ + 4898, + 4916 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "height", + "range": [ + 4917, + 4923 + ], + "loc": { + "start": { + "line": 187, + "column": 31 + }, + "end": { + "line": 187, + "column": 37 + } + } + }, + "range": [ + 4898, + 4923 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4926, + 4930 + ], + "loc": { + "start": { + "line": 187, + "column": 40 + }, + "end": { + "line": 187, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "height", + "range": [ + 4931, + 4937 + ], + "loc": { + "start": { + "line": 187, + "column": 45 + }, + "end": { + "line": 187, + "column": 51 + } + } + }, + "range": [ + 4926, + 4937 + ], + "loc": { + "start": { + "line": 187, + "column": 40 + }, + "end": { + "line": 187, + "column": 51 + } + } + }, + "range": [ + 4898, + 4937 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 51 + } + } + }, + "range": [ + 4898, + 4938 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 52 + } + } + } + ], + "range": [ + 4884, + 4948 + ], + "loc": { + "start": { + "line": 186, + "column": 25 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4867, + 4948 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 4957, + 4960 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 4961, + 4971 + ], + "loc": { + "start": { + "line": 189, + "column": 12 + }, + "end": { + "line": 189, + "column": 22 + } + } + }, + "range": [ + 4957, + 4971 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 4972, + 4984 + ], + "loc": { + "start": { + "line": 189, + "column": 23 + }, + "end": { + "line": 189, + "column": 35 + } + } + }, + "range": [ + 4957, + 4984 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4985, + 4989 + ], + "loc": { + "start": { + "line": 189, + "column": 36 + }, + "end": { + "line": 189, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 4990, + 4997 + ], + "loc": { + "start": { + "line": 189, + "column": 41 + }, + "end": { + "line": 189, + "column": 48 + } + } + }, + "range": [ + 4985, + 4997 + ], + "loc": { + "start": { + "line": 189, + "column": 36 + }, + "end": { + "line": 189, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "tbl", + "range": [ + 4999, + 5002 + ], + "loc": { + "start": { + "line": 189, + "column": 50 + }, + "end": { + "line": 189, + "column": 53 + } + } + } + ], + "range": [ + 4957, + 5003 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 54 + } + } + }, + "range": [ + 4957, + 5004 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 55 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 5017, + 5018 + ], + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 5021, + 5030 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 5031, + 5034 + ], + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 29 + } + } + } + ], + "range": [ + 5021, + 5035 + ], + "loc": { + "start": { + "line": 190, + "column": 16 + }, + "end": { + "line": 190, + "column": 30 + } + } + }, + "range": [ + 5017, + 5035 + ], + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 5013, + 5036 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5045, + 5049 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 5050, + 5057 + ], + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "range": [ + 5045, + 5057 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5058, + 5069 + ], + "loc": { + "start": { + "line": 191, + "column": 21 + }, + "end": { + "line": 191, + "column": 32 + } + } + }, + "range": [ + 5045, + 5069 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 5070, + 5071 + ], + "loc": { + "start": { + "line": 191, + "column": 33 + }, + "end": { + "line": 191, + "column": 34 + } + } + } + ], + "range": [ + 5045, + 5072 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 35 + } + } + }, + "range": [ + 5045, + 5073 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 36 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "In case table width is expressed in %", + "range": [ + 5083, + 5122 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 47 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 5135, + 5138 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 5139, + 5144 + ], + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 21 + } + } + }, + "range": [ + 5135, + 5144 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 5145, + 5150 + ], + "loc": { + "start": { + "line": 194, + "column": 22 + }, + "end": { + "line": 194, + "column": 27 + } + } + }, + "range": [ + 5135, + 5150 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5155, + 5157 + ], + "loc": { + "start": { + "line": 194, + "column": 32 + }, + "end": { + "line": 194, + "column": 34 + } + } + }, + "range": [ + 5135, + 5157 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 5173, + 5176 + ], + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 195, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 5177, + 5182 + ], + "loc": { + "start": { + "line": 195, + "column": 16 + }, + "end": { + "line": 195, + "column": 21 + } + } + }, + "range": [ + 5173, + 5182 + ], + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 195, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 5183, + 5188 + ], + "loc": { + "start": { + "line": 195, + "column": 22 + }, + "end": { + "line": 195, + "column": 27 + } + } + }, + "range": [ + 5173, + 5188 + ], + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 195, + "column": 27 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 5192, + 5200 + ], + "loc": { + "start": { + "line": 195, + "column": 31 + }, + "end": { + "line": 195, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "%", + "raw": "'%'", + "range": [ + 5201, + 5204 + ], + "loc": { + "start": { + "line": 195, + "column": 40 + }, + "end": { + "line": 195, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "tblW", + "range": [ + 5206, + 5210 + ], + "loc": { + "start": { + "line": 195, + "column": 45 + }, + "end": { + "line": 195, + "column": 49 + } + } + } + ], + "range": [ + 5192, + 5211 + ], + "loc": { + "start": { + "line": 195, + "column": 31 + }, + "end": { + "line": 195, + "column": 50 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 5230, + 5233 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 5234, + 5245 + ], + "loc": { + "start": { + "line": 196, + "column": 20 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + "range": [ + 5230, + 5245 + ], + "loc": { + "start": { + "line": 196, + "column": 16 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "tblW", + "range": [ + 5248, + 5252 + ], + "loc": { + "start": { + "line": 196, + "column": 34 + }, + "end": { + "line": 196, + "column": 38 + } + } + }, + "range": [ + 5192, + 5252 + ], + "loc": { + "start": { + "line": 195, + "column": 31 + }, + "end": { + "line": 196, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": "px", + "raw": "'px'", + "range": [ + 5256, + 5260 + ], + "loc": { + "start": { + "line": 196, + "column": 42 + }, + "end": { + "line": 196, + "column": 46 + } + } + }, + "range": [ + 5191, + 5260 + ], + "loc": { + "start": { + "line": 195, + "column": 30 + }, + "end": { + "line": 196, + "column": 46 + } + } + }, + "range": [ + 5173, + 5260 + ], + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 196, + "column": 46 + } + } + }, + "range": [ + 5173, + 5261 + ], + "loc": { + "start": { + "line": 195, + "column": 12 + }, + "end": { + "line": 196, + "column": 47 + } + } + } + ], + "range": [ + 5159, + 5271 + ], + "loc": { + "start": { + "line": 194, + "column": 36 + }, + "end": { + "line": 197, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5131, + 5271 + ], + "loc": { + "start": { + "line": 194, + "column": 8 + }, + "end": { + "line": 197, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "In case table width is expressed in %", + "range": [ + 5083, + 5122 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 47 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "d", + "range": [ + 5285, + 5286 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 5289, + 5298 + ], + "loc": { + "start": { + "line": 199, + "column": 16 + }, + "end": { + "line": 199, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5299, + 5303 + ], + "loc": { + "start": { + "line": 199, + "column": 26 + }, + "end": { + "line": 199, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 5304, + 5311 + ], + "loc": { + "start": { + "line": 199, + "column": 31 + }, + "end": { + "line": 199, + "column": 38 + } + } + }, + "range": [ + 5299, + 5311 + ], + "loc": { + "start": { + "line": 199, + "column": 26 + }, + "end": { + "line": 199, + "column": 38 + } + } + } + ], + "range": [ + 5289, + 5312 + ], + "loc": { + "start": { + "line": 199, + "column": 16 + }, + "end": { + "line": 199, + "column": 39 + } + } + }, + "range": [ + 5285, + 5312 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 5281, + 5313 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5322, + 5326 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 5327, + 5338 + ], + "loc": { + "start": { + "line": 200, + "column": 13 + }, + "end": { + "line": 200, + "column": 24 + } + } + }, + "range": [ + 5322, + 5338 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5339, + 5350 + ], + "loc": { + "start": { + "line": 200, + "column": 25 + }, + "end": { + "line": 200, + "column": 36 + } + } + }, + "range": [ + 5322, + 5350 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "d", + "range": [ + 5351, + 5352 + ], + "loc": { + "start": { + "line": 200, + "column": 37 + }, + "end": { + "line": 200, + "column": 38 + } + } + } + ], + "range": [ + 5322, + 5353 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 39 + } + } + }, + "range": [ + 5322, + 5354 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Headers table container: div wrapping headers table", + "range": [ + 5364, + 5417 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 61 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5426, + 5430 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 5431, + 5442 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 24 + } + } + }, + "range": [ + 5426, + 5442 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5445, + 5449 + ], + "loc": { + "start": { + "line": 203, + "column": 27 + }, + "end": { + "line": 203, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 5450, + 5465 + ], + "loc": { + "start": { + "line": 203, + "column": 32 + }, + "end": { + "line": 203, + "column": 47 + } + } + }, + "range": [ + 5445, + 5465 + ], + "loc": { + "start": { + "line": 203, + "column": 27 + }, + "end": { + "line": 203, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 5479, + 5484 + ], + "loc": { + "start": { + "line": 204, + "column": 12 + }, + "end": { + "line": 204, + "column": 17 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5486, + 5490 + ], + "loc": { + "start": { + "line": 204, + "column": 19 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "headContCssClass", + "range": [ + 5491, + 5507 + ], + "loc": { + "start": { + "line": 204, + "column": 24 + }, + "end": { + "line": 204, + "column": 40 + } + } + }, + "range": [ + 5486, + 5507 + ], + "loc": { + "start": { + "line": 204, + "column": 19 + }, + "end": { + "line": 204, + "column": 40 + } + } + } + ], + "range": [ + 5445, + 5508 + ], + "loc": { + "start": { + "line": 203, + "column": 27 + }, + "end": { + "line": 204, + "column": 41 + } + } + }, + "range": [ + 5426, + 5508 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 204, + "column": 41 + } + } + }, + "range": [ + 5426, + 5509 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 204, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Headers table container: div wrapping headers table", + "range": [ + 5364, + 5417 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 61 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Headers table", + "range": [ + 5519, + 5534 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5543, + 5547 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 5548, + 5555 + ], + "loc": { + "start": { + "line": 207, + "column": 13 + }, + "end": { + "line": 207, + "column": 20 + } + } + }, + "range": [ + 5543, + 5555 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 5558, + 5567 + ], + "loc": { + "start": { + "line": 207, + "column": 23 + }, + "end": { + "line": 207, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "table", + "raw": "'table'", + "range": [ + 5568, + 5575 + ], + "loc": { + "start": { + "line": 207, + "column": 33 + }, + "end": { + "line": 207, + "column": 40 + } + } + } + ], + "range": [ + 5558, + 5576 + ], + "loc": { + "start": { + "line": 207, + "column": 23 + }, + "end": { + "line": 207, + "column": 41 + } + } + }, + "range": [ + 5543, + 5576 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 41 + } + } + }, + "range": [ + 5543, + 5577 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Headers table", + "range": [ + 5519, + 5534 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 23 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tH", + "range": [ + 5590, + 5592 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 14 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 5595, + 5604 + ], + "loc": { + "start": { + "line": 208, + "column": 17 + }, + "end": { + "line": 208, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "tHead", + "raw": "'tHead'", + "range": [ + 5605, + 5612 + ], + "loc": { + "start": { + "line": 208, + "column": 27 + }, + "end": { + "line": 208, + "column": 34 + } + } + } + ], + "range": [ + 5595, + 5613 + ], + "loc": { + "start": { + "line": 208, + "column": 17 + }, + "end": { + "line": 208, + "column": 35 + } + } + }, + "range": [ + 5590, + 5613 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 5586, + 5614 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 36 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "1st row should be headers row, ids are added if not set", + "range": [ + 5624, + 5681 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 65 + } + } + }, + { + "type": "Line", + "value": "Those ids are used by the sort feature", + "range": [ + 5690, + 5730 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 48 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hRow", + "range": [ + 5743, + 5747 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 5750, + 5753 + ], + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 5754, + 5758 + ], + "loc": { + "start": { + "line": 212, + "column": 23 + }, + "end": { + "line": 212, + "column": 27 + } + } + }, + "range": [ + 5750, + 5758 + ], + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 27 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5759, + 5763 + ], + "loc": { + "start": { + "line": 212, + "column": 28 + }, + "end": { + "line": 212, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRowIndex", + "range": [ + 5764, + 5776 + ], + "loc": { + "start": { + "line": 212, + "column": 33 + }, + "end": { + "line": 212, + "column": 45 + } + } + }, + "range": [ + 5759, + 5776 + ], + "loc": { + "start": { + "line": 212, + "column": 28 + }, + "end": { + "line": 212, + "column": 45 + } + } + }, + "range": [ + 5750, + 5777 + ], + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 46 + } + } + }, + "range": [ + 5743, + 5777 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 5739, + 5778 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "1st row should be headers row, ids are added if not set", + "range": [ + 5624, + 5681 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 65 + } + } + }, + { + "type": "Line", + "value": "Those ids are used by the sort feature", + "range": [ + 5690, + 5730 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 48 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 5791, + 5803 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5806, + 5810 + ], + "loc": { + "start": { + "line": 213, + "column": 27 + }, + "end": { + "line": 213, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getSortTriggerIds", + "range": [ + 5811, + 5828 + ], + "loc": { + "start": { + "line": 213, + "column": 32 + }, + "end": { + "line": 213, + "column": 49 + } + } + }, + "range": [ + 5806, + 5828 + ], + "loc": { + "start": { + "line": 213, + "column": 27 + }, + "end": { + "line": 213, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "hRow", + "range": [ + 5829, + 5833 + ], + "loc": { + "start": { + "line": 213, + "column": 50 + }, + "end": { + "line": 213, + "column": 54 + } + } + } + ], + "range": [ + 5806, + 5834 + ], + "loc": { + "start": { + "line": 213, + "column": 27 + }, + "end": { + "line": 213, + "column": 55 + } + } + }, + "range": [ + 5791, + 5834 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 5787, + 5835 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 56 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Filters row is created", + "range": [ + 5845, + 5869 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 32 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 5882, + 5892 + ], + "loc": { + "start": { + "line": 216, + "column": 12 + }, + "end": { + "line": 216, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5895, + 5899 + ], + "loc": { + "start": { + "line": 216, + "column": 25 + }, + "end": { + "line": 216, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "createFiltersRow", + "range": [ + 5900, + 5916 + ], + "loc": { + "start": { + "line": 216, + "column": 30 + }, + "end": { + "line": 216, + "column": 46 + } + } + }, + "range": [ + 5895, + 5916 + ], + "loc": { + "start": { + "line": 216, + "column": 25 + }, + "end": { + "line": 216, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 5895, + 5918 + ], + "loc": { + "start": { + "line": 216, + "column": 25 + }, + "end": { + "line": 216, + "column": 48 + } + } + }, + "range": [ + 5882, + 5918 + ], + "loc": { + "start": { + "line": 216, + "column": 12 + }, + "end": { + "line": 216, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 5878, + 5919 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Filters row is created", + "range": [ + 5845, + 5869 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Headers row are moved from content table to headers table", + "range": [ + 5929, + 5988 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 67 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5997, + 6001 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setHeadersRow", + "range": [ + 6002, + 6015 + ], + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 26 + } + } + }, + "range": [ + 5997, + 6015 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tH", + "range": [ + 6016, + 6018 + ], + "loc": { + "start": { + "line": 219, + "column": 27 + }, + "end": { + "line": 219, + "column": 29 + } + } + } + ], + "range": [ + 5997, + 6019 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 30 + } + } + }, + "range": [ + 5997, + 6020 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Headers row are moved from content table to headers table", + "range": [ + 5929, + 5988 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 67 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6030, + 6034 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 6035, + 6042 + ], + "loc": { + "start": { + "line": 221, + "column": 13 + }, + "end": { + "line": 221, + "column": 20 + } + } + }, + "range": [ + 6030, + 6042 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 6043, + 6054 + ], + "loc": { + "start": { + "line": 221, + "column": 21 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + "range": [ + 6030, + 6054 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tH", + "range": [ + 6055, + 6057 + ], + "loc": { + "start": { + "line": 221, + "column": 33 + }, + "end": { + "line": 221, + "column": 35 + } + } + } + ], + "range": [ + 6030, + 6058 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 36 + } + } + }, + "range": [ + 6030, + 6059 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 37 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6072, + 6074 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 6075, + 6090 + ], + "loc": { + "start": { + "line": 222, + "column": 15 + }, + "end": { + "line": 222, + "column": 30 + } + } + }, + "range": [ + 6072, + 6090 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6095, + 6096 + ], + "loc": { + "start": { + "line": 222, + "column": 35 + }, + "end": { + "line": 222, + "column": 36 + } + } + }, + "range": [ + 6072, + 6096 + ], + "loc": { + "start": { + "line": 222, + "column": 12 + }, + "end": { + "line": 222, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tH", + "range": [ + 6112, + 6114 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 6115, + 6127 + ], + "loc": { + "start": { + "line": 223, + "column": 15 + }, + "end": { + "line": 223, + "column": 27 + } + } + }, + "range": [ + 6112, + 6127 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 6128, + 6138 + ], + "loc": { + "start": { + "line": 223, + "column": 28 + }, + "end": { + "line": 223, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "hRow", + "range": [ + 6140, + 6144 + ], + "loc": { + "start": { + "line": 223, + "column": 40 + }, + "end": { + "line": 223, + "column": 44 + } + } + } + ], + "range": [ + 6112, + 6145 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 45 + } + } + }, + "range": [ + 6112, + 6146 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 46 + } + } + } + ], + "range": [ + 6098, + 6156 + ], + "loc": { + "start": { + "line": 222, + "column": 38 + }, + "end": { + "line": 224, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tH", + "range": [ + 6176, + 6178 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 6179, + 6190 + ], + "loc": { + "start": { + "line": 225, + "column": 15 + }, + "end": { + "line": 225, + "column": 26 + } + } + }, + "range": [ + 6176, + 6190 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 6191, + 6201 + ], + "loc": { + "start": { + "line": 225, + "column": 27 + }, + "end": { + "line": 225, + "column": 37 + } + } + } + ], + "range": [ + 6176, + 6202 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 38 + } + } + }, + "range": [ + 6176, + 6203 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 39 + } + } + } + ], + "range": [ + 6162, + 6213 + ], + "loc": { + "start": { + "line": 224, + "column": 15 + }, + "end": { + "line": 226, + "column": 9 + } + } + }, + "range": [ + 6068, + 6213 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 226, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6223, + 6227 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 6228, + 6239 + ], + "loc": { + "start": { + "line": 228, + "column": 13 + }, + "end": { + "line": 228, + "column": 24 + } + } + }, + "range": [ + 6223, + 6239 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 6240, + 6251 + ], + "loc": { + "start": { + "line": 228, + "column": 25 + }, + "end": { + "line": 228, + "column": 36 + } + } + }, + "range": [ + 6223, + 6251 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6252, + 6256 + ], + "loc": { + "start": { + "line": 228, + "column": 37 + }, + "end": { + "line": 228, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 6257, + 6264 + ], + "loc": { + "start": { + "line": 228, + "column": 42 + }, + "end": { + "line": 228, + "column": 49 + } + } + }, + "range": [ + 6252, + 6264 + ], + "loc": { + "start": { + "line": 228, + "column": 37 + }, + "end": { + "line": 228, + "column": 49 + } + } + } + ], + "range": [ + 6223, + 6265 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 50 + } + } + }, + "range": [ + 6223, + 6266 + ], + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6275, + 6279 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 6280, + 6287 + ], + "loc": { + "start": { + "line": 229, + "column": 13 + }, + "end": { + "line": 229, + "column": 20 + } + } + }, + "range": [ + 6275, + 6287 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 6288, + 6298 + ], + "loc": { + "start": { + "line": 229, + "column": 21 + }, + "end": { + "line": 229, + "column": 31 + } + } + }, + "range": [ + 6275, + 6298 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 6299, + 6311 + ], + "loc": { + "start": { + "line": 229, + "column": 32 + }, + "end": { + "line": 229, + "column": 44 + } + } + }, + "range": [ + 6275, + 6311 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6312, + 6316 + ], + "loc": { + "start": { + "line": 229, + "column": 45 + }, + "end": { + "line": 229, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 6317, + 6328 + ], + "loc": { + "start": { + "line": 229, + "column": 50 + }, + "end": { + "line": 229, + "column": 61 + } + } + }, + "range": [ + 6312, + 6328 + ], + "loc": { + "start": { + "line": 229, + "column": 45 + }, + "end": { + "line": 229, + "column": 61 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6330, + 6334 + ], + "loc": { + "start": { + "line": 229, + "column": 63 + }, + "end": { + "line": 229, + "column": 67 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 6335, + 6342 + ], + "loc": { + "start": { + "line": 229, + "column": 68 + }, + "end": { + "line": 229, + "column": 75 + } + } + }, + "range": [ + 6330, + 6342 + ], + "loc": { + "start": { + "line": 229, + "column": 63 + }, + "end": { + "line": 229, + "column": 75 + } + } + } + ], + "range": [ + 6275, + 6343 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 76 + } + } + }, + "range": [ + 6275, + 6344 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 77 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "THead needs to be removed in content table for sort feature", + "range": [ + 6354, + 6415 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 231, + "column": 69 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "thead", + "range": [ + 6428, + 6433 + ], + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 6436, + 6439 + ], + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 6440, + 6443 + ], + "loc": { + "start": { + "line": 232, + "column": 24 + }, + "end": { + "line": 232, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "thead", + "raw": "'thead'", + "range": [ + 6445, + 6452 + ], + "loc": { + "start": { + "line": 232, + "column": 29 + }, + "end": { + "line": 232, + "column": 36 + } + } + } + ], + "range": [ + 6436, + 6453 + ], + "loc": { + "start": { + "line": 232, + "column": 20 + }, + "end": { + "line": 232, + "column": 37 + } + } + }, + "range": [ + 6428, + 6453 + ], + "loc": { + "start": { + "line": 232, + "column": 12 + }, + "end": { + "line": 232, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 6424, + 6454 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 232, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "THead needs to be removed in content table for sort feature", + "range": [ + 6354, + 6415 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 231, + "column": 69 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "thead", + "range": [ + 6467, + 6472 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 6473, + 6479 + ], + "loc": { + "start": { + "line": 233, + "column": 18 + }, + "end": { + "line": 233, + "column": 24 + } + } + }, + "range": [ + 6467, + 6479 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6482, + 6483 + ], + "loc": { + "start": { + "line": 233, + "column": 27 + }, + "end": { + "line": 233, + "column": 28 + } + } + }, + "range": [ + 6467, + 6483 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 6499, + 6502 + ], + "loc": { + "start": { + "line": 234, + "column": 12 + }, + "end": { + "line": 234, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeChild", + "range": [ + 6503, + 6514 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 234, + "column": 27 + } + } + }, + "range": [ + 6499, + 6514 + ], + "loc": { + "start": { + "line": 234, + "column": 12 + }, + "end": { + "line": 234, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "thead", + "range": [ + 6515, + 6520 + ], + "loc": { + "start": { + "line": 234, + "column": 28 + }, + "end": { + "line": 234, + "column": 33 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6521, + 6522 + ], + "loc": { + "start": { + "line": 234, + "column": 34 + }, + "end": { + "line": 234, + "column": 35 + } + } + }, + "range": [ + 6515, + 6523 + ], + "loc": { + "start": { + "line": 234, + "column": 28 + }, + "end": { + "line": 234, + "column": 36 + } + } + } + ], + "range": [ + 6499, + 6524 + ], + "loc": { + "start": { + "line": 234, + "column": 12 + }, + "end": { + "line": 234, + "column": 37 + } + } + }, + "range": [ + 6499, + 6525 + ], + "loc": { + "start": { + "line": 234, + "column": 12 + }, + "end": { + "line": 234, + "column": 38 + } + } + } + ], + "range": [ + 6485, + 6535 + ], + "loc": { + "start": { + "line": 233, + "column": 30 + }, + "end": { + "line": 235, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6463, + 6535 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 235, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " ensure table layout is always set even if already set in css", + "range": [ + 6545, + 6608 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 71 + } + } + }, + { + "type": "Line", + "value": " definitions, potentially with custom css class this could be lost", + "range": [ + 6617, + 6685 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 76 + } + } + } + ] + }, + { + "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": [ + 6694, + 6698 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 6699, + 6706 + ], + "loc": { + "start": { + "line": 239, + "column": 13 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + "range": [ + 6694, + 6706 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6707, + 6712 + ], + "loc": { + "start": { + "line": 239, + "column": 21 + }, + "end": { + "line": 239, + "column": 26 + } + } + }, + "range": [ + 6694, + 6712 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "tableLayout", + "range": [ + 6713, + 6724 + ], + "loc": { + "start": { + "line": 239, + "column": 27 + }, + "end": { + "line": 239, + "column": 38 + } + } + }, + "range": [ + 6694, + 6724 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": "fixed", + "raw": "'fixed'", + "range": [ + 6727, + 6734 + ], + "loc": { + "start": { + "line": 239, + "column": 41 + }, + "end": { + "line": 239, + "column": 48 + } + } + }, + "range": [ + 6694, + 6734 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 48 + } + } + }, + "range": [ + 6694, + 6735 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " ensure table layout is always set even if already set in css", + "range": [ + 6545, + 6608 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 71 + } + } + }, + { + "type": "Line", + "value": " definitions, potentially with custom css class this could be lost", + "range": [ + 6617, + 6685 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 76 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 6744, + 6747 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6748, + 6753 + ], + "loc": { + "start": { + "line": 240, + "column": 12 + }, + "end": { + "line": 240, + "column": 17 + } + } + }, + "range": [ + 6744, + 6753 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tableLayout", + "range": [ + 6754, + 6765 + ], + "loc": { + "start": { + "line": 240, + "column": 18 + }, + "end": { + "line": 240, + "column": 29 + } + } + }, + "range": [ + 6744, + 6765 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": "fixed", + "raw": "'fixed'", + "range": [ + 6768, + 6775 + ], + "loc": { + "start": { + "line": 240, + "column": 32 + }, + "end": { + "line": 240, + "column": 39 + } + } + }, + "range": [ + 6744, + 6775 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 39 + } + } + }, + "range": [ + 6744, + 6776 + ], + "loc": { + "start": { + "line": 240, + "column": 8 + }, + "end": { + "line": 240, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "content table without headers needs col widths to be reset", + "range": [ + 6786, + 6846 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 68 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6855, + 6857 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "setColWidths", + "range": [ + 6858, + 6870 + ], + "loc": { + "start": { + "line": 243, + "column": 11 + }, + "end": { + "line": 243, + "column": 23 + } + } + }, + "range": [ + 6855, + 6870 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6871, + 6875 + ], + "loc": { + "start": { + "line": 243, + "column": 24 + }, + "end": { + "line": 243, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 6876, + 6883 + ], + "loc": { + "start": { + "line": 243, + "column": 29 + }, + "end": { + "line": 243, + "column": 36 + } + } + }, + "range": [ + 6871, + 6883 + ], + "loc": { + "start": { + "line": 243, + "column": 24 + }, + "end": { + "line": 243, + "column": 36 + } + } + } + ], + "range": [ + 6855, + 6884 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 37 + } + } + }, + "range": [ + 6855, + 6885 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 243, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "content table without headers needs col widths to be reset", + "range": [ + 6786, + 6846 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 68 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Headers container width", + "range": [ + 6895, + 6920 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 33 + } + } + } + ] + }, + { + "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": [ + 6929, + 6933 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 6934, + 6941 + ], + "loc": { + "start": { + "line": 246, + "column": 13 + }, + "end": { + "line": 246, + "column": 20 + } + } + }, + "range": [ + 6929, + 6941 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6942, + 6947 + ], + "loc": { + "start": { + "line": 246, + "column": 21 + }, + "end": { + "line": 246, + "column": 26 + } + } + }, + "range": [ + 6929, + 6947 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 6948, + 6953 + ], + "loc": { + "start": { + "line": 246, + "column": 27 + }, + "end": { + "line": 246, + "column": 32 + } + } + }, + "range": [ + 6929, + 6953 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 32 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 6956, + 6959 + ], + "loc": { + "start": { + "line": 246, + "column": 35 + }, + "end": { + "line": 246, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6960, + 6965 + ], + "loc": { + "start": { + "line": 246, + "column": 39 + }, + "end": { + "line": 246, + "column": 44 + } + } + }, + "range": [ + 6956, + 6965 + ], + "loc": { + "start": { + "line": 246, + "column": 35 + }, + "end": { + "line": 246, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 6966, + 6971 + ], + "loc": { + "start": { + "line": 246, + "column": 45 + }, + "end": { + "line": 246, + "column": 50 + } + } + }, + "range": [ + 6956, + 6971 + ], + "loc": { + "start": { + "line": 246, + "column": 35 + }, + "end": { + "line": 246, + "column": 50 + } + } + }, + "range": [ + 6929, + 6971 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 50 + } + } + }, + "range": [ + 6929, + 6972 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Headers container width", + "range": [ + 6895, + 6920 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 33 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "", + "range": [ + 6981, + 6983 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 10 + } + } + }, + { + "type": "Line", + "value": "scroll synchronisation", + "range": [ + 6993, + 7017 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 7026, + 7032 + ], + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7033, + 7037 + ], + "loc": { + "start": { + "line": 250, + "column": 15 + }, + "end": { + "line": 250, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 7038, + 7045 + ], + "loc": { + "start": { + "line": 250, + "column": 20 + }, + "end": { + "line": 250, + "column": 27 + } + } + }, + "range": [ + 7033, + 7045 + ], + "loc": { + "start": { + "line": 250, + "column": 15 + }, + "end": { + "line": 250, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "scroll", + "raw": "'scroll'", + "range": [ + 7047, + 7055 + ], + "loc": { + "start": { + "line": 250, + "column": 29 + }, + "end": { + "line": 250, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 7058, + 7061 + ], + "loc": { + "start": { + "line": 250, + "column": 40 + }, + "end": { + "line": 250, + "column": 43 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 7084, + 7087 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 7090, + 7099 + ], + "loc": { + "start": { + "line": 251, + "column": 22 + }, + "end": { + "line": 251, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 7100, + 7103 + ], + "loc": { + "start": { + "line": 251, + "column": 32 + }, + "end": { + "line": 251, + "column": 35 + } + } + } + ], + "range": [ + 7090, + 7104 + ], + "loc": { + "start": { + "line": 251, + "column": 22 + }, + "end": { + "line": 251, + "column": 36 + } + } + }, + "range": [ + 7084, + 7104 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 7080, + 7105 + ], + "loc": { + "start": { + "line": 251, + "column": 12 + }, + "end": { + "line": 251, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 7122, + 7132 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 7135, + 7138 + ], + "loc": { + "start": { + "line": 252, + "column": 29 + }, + "end": { + "line": 252, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 7139, + 7149 + ], + "loc": { + "start": { + "line": 252, + "column": 33 + }, + "end": { + "line": 252, + "column": 43 + } + } + }, + "range": [ + 7135, + 7149 + ], + "loc": { + "start": { + "line": 252, + "column": 29 + }, + "end": { + "line": 252, + "column": 43 + } + } + }, + "range": [ + 7122, + 7149 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 7118, + 7150 + ], + "loc": { + "start": { + "line": 252, + "column": 12 + }, + "end": { + "line": 252, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7163, + 7167 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 7168, + 7179 + ], + "loc": { + "start": { + "line": 253, + "column": 17 + }, + "end": { + "line": 253, + "column": 28 + } + } + }, + "range": [ + 7163, + 7179 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 7180, + 7190 + ], + "loc": { + "start": { + "line": 253, + "column": 29 + }, + "end": { + "line": 253, + "column": 39 + } + } + }, + "range": [ + 7163, + 7190 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "scrollLeft", + "range": [ + 7193, + 7203 + ], + "loc": { + "start": { + "line": 253, + "column": 42 + }, + "end": { + "line": 253, + "column": 52 + } + } + }, + "range": [ + 7163, + 7203 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 52 + } + } + }, + "range": [ + 7163, + 7204 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "New pointerX calc taking into account scrollLeft", + "range": [ + 7217, + 7267 + ], + "loc": { + "start": { + "line": 254, + "column": 12 + }, + "end": { + "line": 254, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " if(!o.isPointerXOverwritten){", + "range": [ + 7280, + 7312 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " try{", + "range": [ + 7325, + 7336 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " o.Evt.pointerX = function(evt){", + "range": [ + 7349, + 7391 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " let e = evt || global.event;", + "range": [ + 7404, + 7447 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", + "range": [ + 7460, + 7524 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " scrollLeft;", + "range": [ + 7537, + 7567 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " return (e.pageX + scrollLeft) ||", + "range": [ + 7580, + 7627 + ], + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " (e.clientX + bdScrollLeft);", + "range": [ + 7640, + 7686 + ], + "loc": { + "start": { + "line": 262, + "column": 12 + }, + "end": { + "line": 262, + "column": 58 + } + } + }, + { + "type": "Line", + "value": " };", + "range": [ + 7699, + 7712 + ], + "loc": { + "start": { + "line": 263, + "column": 12 + }, + "end": { + "line": 263, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = true;", + "range": [ + 7725, + 7767 + ], + "loc": { + "start": { + "line": 264, + "column": 12 + }, + "end": { + "line": 264, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " } catch(err) {", + "range": [ + 7780, + 7801 + ], + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 265, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = false;", + "range": [ + 7814, + 7857 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7870, + 7878 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7891, + 7895 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 16 + } + } + } + ] + } + ], + "range": [ + 7066, + 7905 + ], + "loc": { + "start": { + "line": 250, + "column": 48 + }, + "end": { + "line": 269, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7057, + 7905 + ], + "loc": { + "start": { + "line": 250, + "column": 39 + }, + "end": { + "line": 269, + "column": 9 + } + } + } + ], + "range": [ + 7026, + 7906 + ], + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 269, + "column": 10 + } + } + }, + "range": [ + 7026, + 7907 + ], + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 269, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "", + "range": [ + 6981, + 6983 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 10 + } + } + }, + { + "type": "Line", + "value": "scroll synchronisation", + "range": [ + 6993, + 7017 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " TODO: Trigger a custom event handled by sort extension", + "range": [ + 7917, + 7974 + ], + "loc": { + "start": { + "line": 271, + "column": 8 + }, + "end": { + "line": 271, + "column": 65 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sort", + "range": [ + 7987, + 7991 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7994, + 7996 + ], + "loc": { + "start": { + "line": 272, + "column": 19 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "extension", + "range": [ + 7997, + 8006 + ], + "loc": { + "start": { + "line": 272, + "column": 22 + }, + "end": { + "line": 272, + "column": 31 + } + } + }, + "range": [ + 7994, + 8006 + ], + "loc": { + "start": { + "line": 272, + "column": 19 + }, + "end": { + "line": 272, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "sort", + "raw": "'sort'", + "range": [ + 8007, + 8013 + ], + "loc": { + "start": { + "line": 272, + "column": 32 + }, + "end": { + "line": 272, + "column": 38 + } + } + } + ], + "range": [ + 7994, + 8014 + ], + "loc": { + "start": { + "line": 272, + "column": 19 + }, + "end": { + "line": 272, + "column": 39 + } + } + }, + "range": [ + 7987, + 8014 + ], + "loc": { + "start": { + "line": 272, + "column": 12 + }, + "end": { + "line": 272, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 7983, + 8015 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "New pointerX calc taking into account scrollLeft", + "range": [ + 7217, + 7267 + ], + "loc": { + "start": { + "line": 254, + "column": 12 + }, + "end": { + "line": 254, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " if(!o.isPointerXOverwritten){", + "range": [ + 7280, + 7312 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " try{", + "range": [ + 7325, + 7336 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " o.Evt.pointerX = function(evt){", + "range": [ + 7349, + 7391 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " let e = evt || global.event;", + "range": [ + 7404, + 7447 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", + "range": [ + 7460, + 7524 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " scrollLeft;", + "range": [ + 7537, + 7567 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " return (e.pageX + scrollLeft) ||", + "range": [ + 7580, + 7627 + ], + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " (e.clientX + bdScrollLeft);", + "range": [ + 7640, + 7686 + ], + "loc": { + "start": { + "line": 262, + "column": 12 + }, + "end": { + "line": 262, + "column": 58 + } + } + }, + { + "type": "Line", + "value": " };", + "range": [ + 7699, + 7712 + ], + "loc": { + "start": { + "line": 263, + "column": 12 + }, + "end": { + "line": 263, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = true;", + "range": [ + 7725, + 7767 + ], + "loc": { + "start": { + "line": 264, + "column": 12 + }, + "end": { + "line": 264, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " } catch(err) {", + "range": [ + 7780, + 7801 + ], + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 265, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = false;", + "range": [ + 7814, + 7857 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7870, + 7878 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7891, + 7895 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 16 + } + } + }, + { + "type": "Line", + "value": " TODO: Trigger a custom event handled by sort extension", + "range": [ + 7917, + 7974 + ], + "loc": { + "start": { + "line": 271, + "column": 8 + }, + "end": { + "line": 271, + "column": 65 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "sort", + "range": [ + 8028, + 8032 + ], + "loc": { + "start": { + "line": 273, + "column": 12 + }, + "end": { + "line": 273, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sort", + "range": [ + 8048, + 8052 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "asyncSort", + "range": [ + 8053, + 8062 + ], + "loc": { + "start": { + "line": 274, + "column": 17 + }, + "end": { + "line": 274, + "column": 26 + } + } + }, + "range": [ + 8048, + 8062 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8065, + 8069 + ], + "loc": { + "start": { + "line": 274, + "column": 29 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "range": [ + 8048, + 8069 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + "range": [ + 8048, + 8070 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sort", + "range": [ + 8083, + 8087 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "triggerIds", + "range": [ + 8088, + 8098 + ], + "loc": { + "start": { + "line": 275, + "column": 17 + }, + "end": { + "line": 275, + "column": 27 + } + } + }, + "range": [ + 8083, + 8098 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 8101, + 8113 + ], + "loc": { + "start": { + "line": 275, + "column": 30 + }, + "end": { + "line": 275, + "column": 42 + } + } + }, + "range": [ + 8083, + 8113 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 42 + } + } + }, + "range": [ + 8083, + 8114 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 43 + } + } + } + ], + "range": [ + 8034, + 8124 + ], + "loc": { + "start": { + "line": 273, + "column": 18 + }, + "end": { + "line": 276, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8024, + 8124 + ], + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 276, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Col elements are enough to keep column widths after sorting and", + "range": [ + 8134, + 8199 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "filtering", + "range": [ + 8208, + 8219 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 19 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8228, + 8232 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setColumnElements", + "range": [ + 8233, + 8250 + ], + "loc": { + "start": { + "line": 280, + "column": 13 + }, + "end": { + "line": 280, + "column": 30 + } + } + }, + "range": [ + 8228, + 8250 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 8228, + 8252 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 32 + } + } + }, + "range": [ + 8228, + 8253 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Col elements are enough to keep column widths after sorting and", + "range": [ + 8134, + 8199 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "filtering", + "range": [ + 8208, + 8219 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 19 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8267, + 8269 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "popupFilters", + "range": [ + 8270, + 8282 + ], + "loc": { + "start": { + "line": 282, + "column": 15 + }, + "end": { + "line": 282, + "column": 27 + } + } + }, + "range": [ + 8267, + 8282 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 8298, + 8308 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 8309, + 8314 + ], + "loc": { + "start": { + "line": 283, + "column": 23 + }, + "end": { + "line": 283, + "column": 28 + } + } + }, + "range": [ + 8298, + 8314 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 8315, + 8322 + ], + "loc": { + "start": { + "line": 283, + "column": 29 + }, + "end": { + "line": 283, + "column": 36 + } + } + }, + "range": [ + 8298, + 8322 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 8325, + 8329 + ], + "loc": { + "start": { + "line": 283, + "column": 39 + }, + "end": { + "line": 283, + "column": 43 + } + } + }, + "range": [ + 8298, + 8329 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 43 + } + } + }, + "range": [ + 8298, + 8330 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 44 + } + } + } + ], + "range": [ + 8284, + 8340 + ], + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 284, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8263, + 8340 + ], + "loc": { + "start": { + "line": 282, + "column": 8 + }, + "end": { + "line": 284, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 8350, + 8367 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 286, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8376, + 8380 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 8381, + 8392 + ], + "loc": { + "start": { + "line": 287, + "column": 13 + }, + "end": { + "line": 287, + "column": 24 + } + } + }, + "range": [ + 8376, + 8392 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8395, + 8399 + ], + "loc": { + "start": { + "line": 287, + "column": 27 + }, + "end": { + "line": 287, + "column": 31 + } + } + }, + "range": [ + 8376, + 8399 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 31 + } + } + }, + "range": [ + 8376, + 8400 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 8350, + 8367 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 286, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 4032, + 8406 + ], + "loc": { + "start": { + "line": 158, + "column": 11 + }, + "end": { + "line": 288, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4029, + 8406 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 288, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4025, + 8406 + ], + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 288, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", + "range": [ + 3895, + 4020 + ], + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 8412, + 8518 + ], + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 293, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setOverrides", + "range": [ + 8523, + 8535 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 294, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 8552, + 8554 + ], + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8557, + 8561 + ], + "loc": { + "start": { + "line": 295, + "column": 17 + }, + "end": { + "line": 295, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 8562, + 8564 + ], + "loc": { + "start": { + "line": 295, + "column": 22 + }, + "end": { + "line": 295, + "column": 24 + } + } + }, + "range": [ + 8557, + 8564 + ], + "loc": { + "start": { + "line": 295, + "column": 17 + }, + "end": { + "line": 295, + "column": 24 + } + } + }, + "range": [ + 8552, + 8564 + ], + "loc": { + "start": { + "line": 295, + "column": 12 + }, + "end": { + "line": 295, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 8548, + 8565 + ], + "loc": { + "start": { + "line": 295, + "column": 8 + }, + "end": { + "line": 295, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8574, + 8576 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 8577, + 8583 + ], + "loc": { + "start": { + "line": 296, + "column": 11 + }, + "end": { + "line": 296, + "column": 17 + } + } + }, + "range": [ + 8574, + 8583 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8586, + 8587 + ], + "loc": { + "start": { + "line": 296, + "column": 20 + }, + "end": { + "line": 296, + "column": 21 + } + } + }, + "range": [ + 8574, + 8587 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 21 + } + } + }, + "range": [ + 8574, + 8588 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8597, + 8599 + ], + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 8600, + 8610 + ], + "loc": { + "start": { + "line": 297, + "column": 11 + }, + "end": { + "line": 297, + "column": 21 + } + } + }, + "range": [ + 8597, + 8610 + ], + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8613, + 8614 + ], + "loc": { + "start": { + "line": 297, + "column": 24 + }, + "end": { + "line": 297, + "column": 25 + } + } + }, + "range": [ + 8597, + 8614 + ], + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 25 + } + } + }, + "range": [ + 8597, + 8615 + ], + "loc": { + "start": { + "line": 297, + "column": 8 + }, + "end": { + "line": 297, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8624, + 8626 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 8627, + 8642 + ], + "loc": { + "start": { + "line": 298, + "column": 11 + }, + "end": { + "line": 298, + "column": 26 + } + } + }, + "range": [ + 8624, + 8642 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8645, + 8646 + ], + "loc": { + "start": { + "line": 298, + "column": 29 + }, + "end": { + "line": 298, + "column": 30 + } + } + }, + "range": [ + 8624, + 8646 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 30 + } + } + }, + "range": [ + 8624, + 8647 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 31 + } + } + } + ], + "range": [ + 8538, + 8653 + ], + "loc": { + "start": { + "line": 294, + "column": 19 + }, + "end": { + "line": 299, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8535, + 8653 + ], + "loc": { + "start": { + "line": 294, + "column": 16 + }, + "end": { + "line": 299, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8523, + 8653 + ], + "loc": { + "start": { + "line": 294, + "column": 4 + }, + "end": { + "line": 299, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 8412, + 8518 + ], + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 293, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", + "range": [ + 8659, + 8764 + ], + "loc": { + "start": { + "line": 301, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setDefaultColWidths", + "range": [ + 8769, + 8788 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 305, + "column": 23 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 8805, + 8807 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8810, + 8814 + ], + "loc": { + "start": { + "line": 306, + "column": 17 + }, + "end": { + "line": 306, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 8815, + 8817 + ], + "loc": { + "start": { + "line": 306, + "column": 22 + }, + "end": { + "line": 306, + "column": 24 + } + } + }, + "range": [ + 8810, + 8817 + ], + "loc": { + "start": { + "line": 306, + "column": 17 + }, + "end": { + "line": 306, + "column": 24 + } + } + }, + "range": [ + 8805, + 8817 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 8801, + 8818 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8831, + 8833 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 8834, + 8843 + ], + "loc": { + "start": { + "line": 307, + "column": 15 + }, + "end": { + "line": 307, + "column": 24 + } + } + }, + "range": [ + 8831, + 8843 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 8844, + 8850 + ], + "loc": { + "start": { + "line": 307, + "column": 25 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + "range": [ + 8831, + 8850 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8853, + 8854 + ], + "loc": { + "start": { + "line": 307, + "column": 34 + }, + "end": { + "line": 307, + "column": 35 + } + } + }, + "range": [ + 8831, + 8854 + ], + "loc": { + "start": { + "line": 307, + "column": 12 + }, + "end": { + "line": 307, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 8870, + 8877 + ], + "loc": { + "start": { + "line": 308, + "column": 12 + }, + "end": { + "line": 308, + "column": 19 + } + } + } + ], + "range": [ + 8856, + 8887 + ], + "loc": { + "start": { + "line": 307, + "column": 37 + }, + "end": { + "line": 309, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8827, + 8887 + ], + "loc": { + "start": { + "line": 307, + "column": 8 + }, + "end": { + "line": 309, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 8905, + 8906 + ], + "loc": { + "start": { + "line": 310, + "column": 17 + }, + "end": { + "line": 310, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8909, + 8910 + ], + "loc": { + "start": { + "line": 310, + "column": 21 + }, + "end": { + "line": 310, + "column": 22 + } + } + }, + "range": [ + 8905, + 8910 + ], + "loc": { + "start": { + "line": 310, + "column": 17 + }, + "end": { + "line": 310, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 8912, + 8915 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8918, + 8920 + ], + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 310, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 8921, + 8931 + ], + "loc": { + "start": { + "line": 310, + "column": 33 + }, + "end": { + "line": 310, + "column": 43 + } + } + }, + "range": [ + 8918, + 8931 + ], + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 310, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 8918, + 8933 + ], + "loc": { + "start": { + "line": 310, + "column": 30 + }, + "end": { + "line": 310, + "column": 45 + } + } + }, + "range": [ + 8912, + 8933 + ], + "loc": { + "start": { + "line": 310, + "column": 24 + }, + "end": { + "line": 310, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 8901, + 8933 + ], + "loc": { + "start": { + "line": 310, + "column": 13 + }, + "end": { + "line": 310, + "column": 45 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 8935, + 8936 + ], + "loc": { + "start": { + "line": 310, + "column": 47 + }, + "end": { + "line": 310, + "column": 48 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 8939, + 8942 + ], + "loc": { + "start": { + "line": 310, + "column": 51 + }, + "end": { + "line": 310, + "column": 54 + } + } + }, + "range": [ + 8935, + 8942 + ], + "loc": { + "start": { + "line": 310, + "column": 47 + }, + "end": { + "line": 310, + "column": 54 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 8944, + 8945 + ], + "loc": { + "start": { + "line": 310, + "column": 56 + }, + "end": { + "line": 310, + "column": 57 + } + } + }, + "prefix": false, + "range": [ + 8944, + 8947 + ], + "loc": { + "start": { + "line": 310, + "column": 56 + }, + "end": { + "line": 310, + "column": 59 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colW", + "range": [ + 8967, + 8971 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 20 + } + } + }, + "init": null, + "range": [ + 8967, + 8971 + ], + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 8963, + 8972 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 21 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 8989, + 8993 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8996, + 8998 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 8999, + 9002 + ], + "loc": { + "start": { + "line": 312, + "column": 26 + }, + "end": { + "line": 312, + "column": 29 + } + } + }, + "range": [ + 8996, + 9002 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 8996, + 9004 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 9005, + 9009 + ], + "loc": { + "start": { + "line": 312, + "column": 32 + }, + "end": { + "line": 312, + "column": 36 + } + } + }, + "range": [ + 8996, + 9009 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 36 + } + } + }, + "property": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9010, + 9012 + ], + "loc": { + "start": { + "line": 312, + "column": 37 + }, + "end": { + "line": 312, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 9013, + 9031 + ], + "loc": { + "start": { + "line": 312, + "column": 40 + }, + "end": { + "line": 312, + "column": 58 + } + } + }, + "range": [ + 9010, + 9031 + ], + "loc": { + "start": { + "line": 312, + "column": 37 + }, + "end": { + "line": 312, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 9010, + 9033 + ], + "loc": { + "start": { + "line": 312, + "column": 37 + }, + "end": { + "line": 312, + "column": 60 + } + } + }, + "range": [ + 8996, + 9034 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 9035, + 9040 + ], + "loc": { + "start": { + "line": 312, + "column": 62 + }, + "end": { + "line": 312, + "column": 67 + } + } + }, + "range": [ + 8996, + 9040 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 67 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 9041, + 9042 + ], + "loc": { + "start": { + "line": 312, + "column": 68 + }, + "end": { + "line": 312, + "column": 69 + } + } + }, + "range": [ + 8996, + 9043 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 70 + } + } + }, + "range": [ + 8989, + 9043 + ], + "loc": { + "start": { + "line": 312, + "column": 16 + }, + "end": { + "line": 312, + "column": 70 + } + } + } + ], + "kind": "let", + "range": [ + 8985, + 9044 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 71 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9061, + 9065 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9066, + 9071 + ], + "loc": { + "start": { + "line": 313, + "column": 21 + }, + "end": { + "line": 313, + "column": 26 + } + } + }, + "range": [ + 9061, + 9071 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9076, + 9078 + ], + "loc": { + "start": { + "line": 313, + "column": 31 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "range": [ + 9061, + 9078 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colW", + "range": [ + 9098, + 9102 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9105, + 9109 + ], + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 314, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9110, + 9115 + ], + "loc": { + "start": { + "line": 314, + "column": 28 + }, + "end": { + "line": 314, + "column": 33 + } + } + }, + "range": [ + 9105, + 9115 + ], + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 314, + "column": 33 + } + } + }, + "range": [ + 9098, + 9115 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 33 + } + } + }, + "range": [ + 9098, + 9116 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 34 + } + } + } + ], + "range": [ + 9080, + 9130 + ], + "loc": { + "start": { + "line": 313, + "column": 35 + }, + "end": { + "line": 315, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9140, + 9144 + ], + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9145, + 9150 + ], + "loc": { + "start": { + "line": 315, + "column": 28 + }, + "end": { + "line": 315, + "column": 33 + } + } + }, + "range": [ + 9140, + 9150 + ], + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9151, + 9156 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 39 + } + } + }, + "range": [ + 9140, + 9156 + ], + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 39 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9161, + 9163 + ], + "loc": { + "start": { + "line": 315, + "column": 44 + }, + "end": { + "line": 315, + "column": 46 + } + } + }, + "range": [ + 9140, + 9163 + ], + "loc": { + "start": { + "line": 315, + "column": 23 + }, + "end": { + "line": 315, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colW", + "range": [ + 9183, + 9187 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 9190, + 9198 + ], + "loc": { + "start": { + "line": 316, + "column": 23 + }, + "end": { + "line": 316, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 9199, + 9203 + ], + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9204, + 9209 + ], + "loc": { + "start": { + "line": 316, + "column": 37 + }, + "end": { + "line": 316, + "column": 42 + } + } + }, + "range": [ + 9199, + 9209 + ], + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9210, + 9215 + ], + "loc": { + "start": { + "line": 316, + "column": 43 + }, + "end": { + "line": 316, + "column": 48 + } + } + }, + "range": [ + 9199, + 9215 + ], + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 9217, + 9219 + ], + "loc": { + "start": { + "line": 316, + "column": 50 + }, + "end": { + "line": 316, + "column": 52 + } + } + } + ], + "range": [ + 9190, + 9220 + ], + "loc": { + "start": { + "line": 316, + "column": 23 + }, + "end": { + "line": 316, + "column": 53 + } + } + }, + "range": [ + 9183, + 9220 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 53 + } + } + }, + "range": [ + 9183, + 9221 + ], + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 54 + } + } + } + ], + "range": [ + 9165, + 9235 + ], + "loc": { + "start": { + "line": 315, + "column": 48 + }, + "end": { + "line": 317, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colW", + "range": [ + 9259, + 9263 + ], + "loc": { + "start": { + "line": 318, + "column": 16 + }, + "end": { + "line": 318, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9266, + 9270 + ], + "loc": { + "start": { + "line": 318, + "column": 23 + }, + "end": { + "line": 318, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultColWidth", + "range": [ + 9271, + 9286 + ], + "loc": { + "start": { + "line": 318, + "column": 28 + }, + "end": { + "line": 318, + "column": 43 + } + } + }, + "range": [ + 9266, + 9286 + ], + "loc": { + "start": { + "line": 318, + "column": 23 + }, + "end": { + "line": 318, + "column": 43 + } + } + }, + "range": [ + 9259, + 9286 + ], + "loc": { + "start": { + "line": 318, + "column": 16 + }, + "end": { + "line": 318, + "column": 43 + } + } + }, + "range": [ + 9259, + 9287 + ], + "loc": { + "start": { + "line": 318, + "column": 16 + }, + "end": { + "line": 318, + "column": 44 + } + } + } + ], + "range": [ + 9241, + 9301 + ], + "loc": { + "start": { + "line": 317, + "column": 19 + }, + "end": { + "line": 319, + "column": 13 + } + } + }, + "range": [ + 9136, + 9301 + ], + "loc": { + "start": { + "line": 315, + "column": 19 + }, + "end": { + "line": 319, + "column": 13 + } + } + }, + "range": [ + 9057, + 9301 + ], + "loc": { + "start": { + "line": 313, + "column": 12 + }, + "end": { + "line": 319, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9314, + 9316 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 9317, + 9326 + ], + "loc": { + "start": { + "line": 320, + "column": 15 + }, + "end": { + "line": 320, + "column": 24 + } + } + }, + "range": [ + 9314, + 9326 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 9327, + 9328 + ], + "loc": { + "start": { + "line": 320, + "column": 25 + }, + "end": { + "line": 320, + "column": 26 + } + } + }, + "range": [ + 9314, + 9329 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "colW", + "range": [ + 9332, + 9336 + ], + "loc": { + "start": { + "line": 320, + "column": 30 + }, + "end": { + "line": 320, + "column": 34 + } + } + }, + "range": [ + 9314, + 9336 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 34 + } + } + }, + "range": [ + 9314, + 9337 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 35 + } + } + } + ], + "range": [ + 8949, + 9347 + ], + "loc": { + "start": { + "line": 310, + "column": 61 + }, + "end": { + "line": 321, + "column": 9 + } + } + }, + "range": [ + 8896, + 9347 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 321, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9356, + 9358 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 322, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "setColWidths", + "range": [ + 9359, + 9371 + ], + "loc": { + "start": { + "line": 322, + "column": 11 + }, + "end": { + "line": 322, + "column": 23 + } + } + }, + "range": [ + 9356, + 9371 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 322, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 9356, + 9373 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 322, + "column": 25 + } + } + }, + "range": [ + 9356, + 9374 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 322, + "column": 26 + } + } + } + ], + "range": [ + 8791, + 9380 + ], + "loc": { + "start": { + "line": 305, + "column": 26 + }, + "end": { + "line": 323, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8788, + 9380 + ], + "loc": { + "start": { + "line": 305, + "column": 23 + }, + "end": { + "line": 323, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8769, + 9380 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 323, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", + "range": [ + 8659, + 8764 + ], + "loc": { + "start": { + "line": 301, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 9386, + 9465 + ], + "loc": { + "start": { + "line": 325, + "column": 4 + }, + "end": { + "line": 329, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "initialTableWidth", + "range": [ + 9470, + 9487 + ], + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 9504, + 9507 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9510, + 9514 + ], + "loc": { + "start": { + "line": 331, + "column": 18 + }, + "end": { + "line": 331, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 9515, + 9517 + ], + "loc": { + "start": { + "line": 331, + "column": 23 + }, + "end": { + "line": 331, + "column": 25 + } + } + }, + "range": [ + 9510, + 9517 + ], + "loc": { + "start": { + "line": 331, + "column": 18 + }, + "end": { + "line": 331, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 9518, + 9521 + ], + "loc": { + "start": { + "line": 331, + "column": 26 + }, + "end": { + "line": 331, + "column": 29 + } + } + }, + "range": [ + 9510, + 9521 + ], + "loc": { + "start": { + "line": 331, + "column": 18 + }, + "end": { + "line": 331, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 9510, + 9523 + ], + "loc": { + "start": { + "line": 331, + "column": 18 + }, + "end": { + "line": 331, + "column": 31 + } + } + }, + "range": [ + 9504, + 9523 + ], + "loc": { + "start": { + "line": 331, + "column": 12 + }, + "end": { + "line": 331, + "column": 31 + } + } + } + ], + "kind": "let", + "range": [ + 9500, + 9524 + ], + "loc": { + "start": { + "line": 331, + "column": 8 + }, + "end": { + "line": 331, + "column": 32 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "width", + "range": [ + 9537, + 9542 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 332, + "column": 17 + } + } + }, + "init": null, + "range": [ + 9537, + 9542 + ], + "loc": { + "start": { + "line": 332, + "column": 12 + }, + "end": { + "line": 332, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 9533, + 9543 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 18 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "initial table width", + "range": [ + 9544, + 9565 + ], + "loc": { + "start": { + "line": 332, + "column": 19 + }, + "end": { + "line": 332, + "column": 40 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 9579, + 9582 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9583, + 9588 + ], + "loc": { + "start": { + "line": 334, + "column": 16 + }, + "end": { + "line": 334, + "column": 21 + } + } + }, + "range": [ + 9579, + 9588 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9593, + 9595 + ], + "loc": { + "start": { + "line": 334, + "column": 26 + }, + "end": { + "line": 334, + "column": 28 + } + } + }, + "range": [ + 9579, + 9595 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 9611, + 9616 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 9619, + 9622 + ], + "loc": { + "start": { + "line": 335, + "column": 20 + }, + "end": { + "line": 335, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9623, + 9628 + ], + "loc": { + "start": { + "line": 335, + "column": 24 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + "range": [ + 9619, + 9628 + ], + "loc": { + "start": { + "line": 335, + "column": 20 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + "range": [ + 9611, + 9628 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 29 + } + } + }, + "range": [ + 9611, + 9629 + ], + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 30 + } + } + } + ], + "range": [ + 9597, + 9639 + ], + "loc": { + "start": { + "line": 334, + "column": 30 + }, + "end": { + "line": 336, + "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": [ + 9657, + 9660 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9661, + 9666 + ], + "loc": { + "start": { + "line": 337, + "column": 21 + }, + "end": { + "line": 337, + "column": 26 + } + } + }, + "range": [ + 9657, + 9666 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9667, + 9672 + ], + "loc": { + "start": { + "line": 337, + "column": 27 + }, + "end": { + "line": 337, + "column": 32 + } + } + }, + "range": [ + 9657, + 9672 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 9677, + 9679 + ], + "loc": { + "start": { + "line": 337, + "column": 37 + }, + "end": { + "line": 337, + "column": 39 + } + } + }, + "range": [ + 9657, + 9679 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 9695, + 9700 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 9703, + 9706 + ], + "loc": { + "start": { + "line": 338, + "column": 20 + }, + "end": { + "line": 338, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9707, + 9712 + ], + "loc": { + "start": { + "line": 338, + "column": 24 + }, + "end": { + "line": 338, + "column": 29 + } + } + }, + "range": [ + 9703, + 9712 + ], + "loc": { + "start": { + "line": 338, + "column": 20 + }, + "end": { + "line": 338, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 9713, + 9718 + ], + "loc": { + "start": { + "line": 338, + "column": 30 + }, + "end": { + "line": 338, + "column": 35 + } + } + }, + "range": [ + 9703, + 9718 + ], + "loc": { + "start": { + "line": 338, + "column": 20 + }, + "end": { + "line": 338, + "column": 35 + } + } + }, + "range": [ + 9695, + 9718 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 35 + } + } + }, + "range": [ + 9695, + 9719 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 36 + } + } + } + ], + "range": [ + 9681, + 9729 + ], + "loc": { + "start": { + "line": 337, + "column": 41 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "width", + "range": [ + 9749, + 9754 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 9757, + 9760 + ], + "loc": { + "start": { + "line": 340, + "column": 20 + }, + "end": { + "line": 340, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 9761, + 9772 + ], + "loc": { + "start": { + "line": 340, + "column": 24 + }, + "end": { + "line": 340, + "column": 35 + } + } + }, + "range": [ + 9757, + 9772 + ], + "loc": { + "start": { + "line": 340, + "column": 20 + }, + "end": { + "line": 340, + "column": 35 + } + } + }, + "range": [ + 9749, + 9772 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 35 + } + } + }, + "range": [ + 9749, + 9773 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 36 + } + } + } + ], + "range": [ + 9735, + 9783 + ], + "loc": { + "start": { + "line": 339, + "column": 15 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + "range": [ + 9653, + 9783 + ], + "loc": { + "start": { + "line": 337, + "column": 13 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + "range": [ + 9575, + 9783 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 341, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "initial table width", + "range": [ + 9544, + 9565 + ], + "loc": { + "start": { + "line": 332, + "column": 19 + }, + "end": { + "line": 332, + "column": 40 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 9799, + 9807 + ], + "loc": { + "start": { + "line": 342, + "column": 15 + }, + "end": { + "line": 342, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "width", + "range": [ + 9808, + 9813 + ], + "loc": { + "start": { + "line": 342, + "column": 24 + }, + "end": { + "line": 342, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 9815, + 9817 + ], + "loc": { + "start": { + "line": 342, + "column": 31 + }, + "end": { + "line": 342, + "column": 33 + } + } + } + ], + "range": [ + 9799, + 9818 + ], + "loc": { + "start": { + "line": 342, + "column": 15 + }, + "end": { + "line": 342, + "column": 34 + } + } + }, + "range": [ + 9792, + 9819 + ], + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 35 + } + } + } + ], + "range": [ + 9490, + 9825 + ], + "loc": { + "start": { + "line": 330, + "column": 24 + }, + "end": { + "line": 343, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9487, + 9825 + ], + "loc": { + "start": { + "line": 330, + "column": 21 + }, + "end": { + "line": 343, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9470, + 9825 + ], + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 343, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 9386, + 9465 + ], + "loc": { + "start": { + "line": 325, + "column": 4 + }, + "end": { + "line": 329, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 9831, + 10020 + ], + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "createContainer", + "range": [ + 10025, + 10040 + ], + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 352, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tag", + "range": [ + 10041, + 10044 + ], + "loc": { + "start": { + "line": 352, + "column": 20 + }, + "end": { + "line": 352, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "className", + "range": [ + 10046, + 10055 + ], + "loc": { + "start": { + "line": 352, + "column": 25 + }, + "end": { + "line": 352, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "element", + "range": [ + 10071, + 10078 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10081, + 10090 + ], + "loc": { + "start": { + "line": 353, + "column": 22 + }, + "end": { + "line": 353, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tag", + "range": [ + 10091, + 10094 + ], + "loc": { + "start": { + "line": 353, + "column": 32 + }, + "end": { + "line": 353, + "column": 35 + } + } + } + ], + "range": [ + 10081, + 10095 + ], + "loc": { + "start": { + "line": 353, + "column": 22 + }, + "end": { + "line": 353, + "column": 36 + } + } + }, + "range": [ + 10071, + 10095 + ], + "loc": { + "start": { + "line": 353, + "column": 12 + }, + "end": { + "line": 353, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 10067, + 10096 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "element", + "range": [ + 10105, + 10112 + ], + "loc": { + "start": { + "line": 354, + "column": 8 + }, + "end": { + "line": 354, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10113, + 10122 + ], + "loc": { + "start": { + "line": 354, + "column": 16 + }, + "end": { + "line": 354, + "column": 25 + } + } + }, + "range": [ + 10105, + 10122 + ], + "loc": { + "start": { + "line": 354, + "column": 8 + }, + "end": { + "line": 354, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "className", + "range": [ + 10125, + 10134 + ], + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 37 + } + } + }, + "range": [ + 10105, + 10134 + ], + "loc": { + "start": { + "line": 354, + "column": 8 + }, + "end": { + "line": 354, + "column": 37 + } + } + }, + "range": [ + 10105, + 10135 + ], + "loc": { + "start": { + "line": 354, + "column": 8 + }, + "end": { + "line": 354, + "column": 38 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "element", + "range": [ + 10151, + 10158 + ], + "loc": { + "start": { + "line": 355, + "column": 15 + }, + "end": { + "line": 355, + "column": 22 + } + } + }, + "range": [ + 10144, + 10159 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 355, + "column": 23 + } + } + } + ], + "range": [ + 10057, + 10165 + ], + "loc": { + "start": { + "line": 352, + "column": 36 + }, + "end": { + "line": 356, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10040, + 10165 + ], + "loc": { + "start": { + "line": 352, + "column": 19 + }, + "end": { + "line": 356, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10025, + 10165 + ], + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 356, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 9831, + 10020 + ], + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10171, + 10274 + ], + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 362, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "createFiltersRow", + "range": [ + 10279, + 10295 + ], + "loc": { + "start": { + "line": 363, + "column": 4 + }, + "end": { + "line": 363, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10312, + 10314 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10317, + 10321 + ], + "loc": { + "start": { + "line": 364, + "column": 17 + }, + "end": { + "line": 364, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10322, + 10324 + ], + "loc": { + "start": { + "line": 364, + "column": 22 + }, + "end": { + "line": 364, + "column": 24 + } + } + }, + "range": [ + 10317, + 10324 + ], + "loc": { + "start": { + "line": 364, + "column": 17 + }, + "end": { + "line": 364, + "column": 24 + } + } + }, + "range": [ + 10312, + 10324 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10308, + 10325 + ], + "loc": { + "start": { + "line": 364, + "column": 8 + }, + "end": { + "line": 364, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 10338, + 10348 + ], + "loc": { + "start": { + "line": 365, + "column": 12 + }, + "end": { + "line": 365, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10351, + 10360 + ], + "loc": { + "start": { + "line": 365, + "column": 25 + }, + "end": { + "line": 365, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "tr", + "raw": "'tr'", + "range": [ + 10361, + 10365 + ], + "loc": { + "start": { + "line": 365, + "column": 35 + }, + "end": { + "line": 365, + "column": 39 + } + } + } + ], + "range": [ + 10351, + 10366 + ], + "loc": { + "start": { + "line": 365, + "column": 25 + }, + "end": { + "line": 365, + "column": 40 + } + } + }, + "range": [ + 10338, + 10366 + ], + "loc": { + "start": { + "line": 365, + "column": 12 + }, + "end": { + "line": 365, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 10334, + 10367 + ], + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10380, + 10384 + ], + "loc": { + "start": { + "line": 366, + "column": 12 + }, + "end": { + "line": 366, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters", + "range": [ + 10385, + 10392 + ], + "loc": { + "start": { + "line": 366, + "column": 17 + }, + "end": { + "line": 366, + "column": 24 + } + } + }, + "range": [ + 10380, + 10392 + ], + "loc": { + "start": { + "line": 366, + "column": 12 + }, + "end": { + "line": 366, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10396, + 10398 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 10399, + 10406 + ], + "loc": { + "start": { + "line": 366, + "column": 31 + }, + "end": { + "line": 366, + "column": 38 + } + } + }, + "range": [ + 10396, + 10406 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 38 + } + } + }, + "range": [ + 10380, + 10406 + ], + "loc": { + "start": { + "line": 366, + "column": 12 + }, + "end": { + "line": 366, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10422, + 10424 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 10425, + 10442 + ], + "loc": { + "start": { + "line": 367, + "column": 15 + }, + "end": { + "line": 367, + "column": 32 + } + } + }, + "range": [ + 10422, + 10442 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 32 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10445, + 10447 + ], + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 37 + } + } + }, + "range": [ + 10422, + 10447 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 37 + } + } + }, + "range": [ + 10422, + 10448 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 367, + "column": 38 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 10470, + 10471 + ], + "loc": { + "start": { + "line": 368, + "column": 21 + }, + "end": { + "line": 368, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 10474, + 10475 + ], + "loc": { + "start": { + "line": 368, + "column": 25 + }, + "end": { + "line": 368, + "column": 26 + } + } + }, + "range": [ + 10470, + 10475 + ], + "loc": { + "start": { + "line": 368, + "column": 21 + }, + "end": { + "line": 368, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 10466, + 10475 + ], + "loc": { + "start": { + "line": 368, + "column": 17 + }, + "end": { + "line": 368, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 10477, + 10478 + ], + "loc": { + "start": { + "line": 368, + "column": 28 + }, + "end": { + "line": 368, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10481, + 10483 + ], + "loc": { + "start": { + "line": 368, + "column": 32 + }, + "end": { + "line": 368, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 10484, + 10494 + ], + "loc": { + "start": { + "line": 368, + "column": 35 + }, + "end": { + "line": 368, + "column": 45 + } + } + }, + "range": [ + 10481, + 10494 + ], + "loc": { + "start": { + "line": 368, + "column": 32 + }, + "end": { + "line": 368, + "column": 45 + } + } + }, + "arguments": [], + "range": [ + 10481, + 10496 + ], + "loc": { + "start": { + "line": 368, + "column": 32 + }, + "end": { + "line": 368, + "column": 47 + } + } + }, + "range": [ + 10477, + 10496 + ], + "loc": { + "start": { + "line": 368, + "column": 28 + }, + "end": { + "line": 368, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 10498, + 10499 + ], + "loc": { + "start": { + "line": 368, + "column": 49 + }, + "end": { + "line": 368, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 10498, + 10501 + ], + "loc": { + "start": { + "line": 368, + "column": 49 + }, + "end": { + "line": 368, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 10525, + 10532 + ], + "loc": { + "start": { + "line": 369, + "column": 20 + }, + "end": { + "line": 369, + "column": 27 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 10535, + 10538 + ], + "loc": { + "start": { + "line": 369, + "column": 30 + }, + "end": { + "line": 369, + "column": 33 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 10581, + 10583 + ], + "loc": { + "start": { + "line": 369, + "column": 76 + }, + "end": { + "line": 369, + "column": 78 + } + } + } + ], + "expressions": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10538, + 10540 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxFlt", + "range": [ + 10541, + 10548 + ], + "loc": { + "start": { + "line": 369, + "column": 36 + }, + "end": { + "line": 369, + "column": 43 + } + } + }, + "range": [ + 10538, + 10548 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 43 + } + } + }, + "right": { + "type": "Identifier", + "name": "j", + "range": [ + 10551, + 10552 + ], + "loc": { + "start": { + "line": 369, + "column": 46 + }, + "end": { + "line": 369, + "column": 47 + } + } + }, + "range": [ + 10538, + 10552 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 47 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10555, + 10559 + ], + "loc": { + "start": { + "line": 369, + "column": 50 + }, + "end": { + "line": 369, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridFltTd", + "range": [ + 10560, + 10573 + ], + "loc": { + "start": { + "line": 369, + "column": 55 + }, + "end": { + "line": 369, + "column": 68 + } + } + }, + "range": [ + 10555, + 10573 + ], + "loc": { + "start": { + "line": 369, + "column": 50 + }, + "end": { + "line": 369, + "column": 68 + } + } + }, + "range": [ + 10538, + 10573 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 68 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10576, + 10578 + ], + "loc": { + "start": { + "line": 369, + "column": 71 + }, + "end": { + "line": 369, + "column": 73 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 10579, + 10581 + ], + "loc": { + "start": { + "line": 369, + "column": 74 + }, + "end": { + "line": 369, + "column": 76 + } + } + }, + "range": [ + 10576, + 10581 + ], + "loc": { + "start": { + "line": 369, + "column": 71 + }, + "end": { + "line": 369, + "column": 76 + } + } + }, + "range": [ + 10538, + 10581 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 76 + } + } + } + ], + "range": [ + 10535, + 10583 + ], + "loc": { + "start": { + "line": 369, + "column": 30 + }, + "end": { + "line": 369, + "column": 78 + } + } + }, + "range": [ + 10525, + 10583 + ], + "loc": { + "start": { + "line": 369, + "column": 20 + }, + "end": { + "line": 369, + "column": 78 + } + } + } + ], + "kind": "let", + "range": [ + 10521, + 10584 + ], + "loc": { + "start": { + "line": 369, + "column": 16 + }, + "end": { + "line": 369, + "column": 79 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cl", + "range": [ + 10605, + 10607 + ], + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10610, + 10619 + ], + "loc": { + "start": { + "line": 370, + "column": 25 + }, + "end": { + "line": 370, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10620, + 10622 + ], + "loc": { + "start": { + "line": 370, + "column": 35 + }, + "end": { + "line": 370, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCellTag", + "range": [ + 10623, + 10633 + ], + "loc": { + "start": { + "line": 370, + "column": 38 + }, + "end": { + "line": 370, + "column": 48 + } + } + }, + "range": [ + 10620, + 10633 + ], + "loc": { + "start": { + "line": 370, + "column": 35 + }, + "end": { + "line": 370, + "column": 48 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 10636, + 10640 + ], + "loc": { + "start": { + "line": 370, + "column": 51 + }, + "end": { + "line": 370, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 10642, + 10649 + ], + "loc": { + "start": { + "line": 370, + "column": 57 + }, + "end": { + "line": 370, + "column": 64 + } + } + } + ], + "range": [ + 10635, + 10650 + ], + "loc": { + "start": { + "line": 370, + "column": 50 + }, + "end": { + "line": 370, + "column": 65 + } + } + } + ], + "range": [ + 10610, + 10651 + ], + "loc": { + "start": { + "line": 370, + "column": 25 + }, + "end": { + "line": 370, + "column": 66 + } + } + }, + "range": [ + 10605, + 10651 + ], + "loc": { + "start": { + "line": 370, + "column": 20 + }, + "end": { + "line": 370, + "column": 66 + } + } + } + ], + "kind": "let", + "range": [ + 10601, + 10652 + ], + "loc": { + "start": { + "line": 370, + "column": 16 + }, + "end": { + "line": 370, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 10669, + 10679 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 10680, + 10691 + ], + "loc": { + "start": { + "line": 371, + "column": 27 + }, + "end": { + "line": 371, + "column": 38 + } + } + }, + "range": [ + 10669, + 10691 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cl", + "range": [ + 10692, + 10694 + ], + "loc": { + "start": { + "line": 371, + "column": 39 + }, + "end": { + "line": 371, + "column": 41 + } + } + } + ], + "range": [ + 10669, + 10695 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 42 + } + } + }, + "range": [ + 10669, + 10696 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10713, + 10715 + ], + "loc": { + "start": { + "line": 372, + "column": 16 + }, + "end": { + "line": 372, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 10716, + 10733 + ], + "loc": { + "start": { + "line": 372, + "column": 19 + }, + "end": { + "line": 372, + "column": 36 + } + } + }, + "range": [ + 10713, + 10733 + ], + "loc": { + "start": { + "line": 372, + "column": 16 + }, + "end": { + "line": 372, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 10734, + 10735 + ], + "loc": { + "start": { + "line": 372, + "column": 37 + }, + "end": { + "line": 372, + "column": 38 + } + } + }, + "range": [ + 10713, + 10736 + ], + "loc": { + "start": { + "line": 372, + "column": 16 + }, + "end": { + "line": 372, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "fltTdId", + "range": [ + 10739, + 10746 + ], + "loc": { + "start": { + "line": 372, + "column": 42 + }, + "end": { + "line": 372, + "column": 49 + } + } + }, + "range": [ + 10713, + 10746 + ], + "loc": { + "start": { + "line": 372, + "column": 16 + }, + "end": { + "line": 372, + "column": 49 + } + } + }, + "range": [ + 10713, + 10747 + ], + "loc": { + "start": { + "line": 372, + "column": 16 + }, + "end": { + "line": 372, + "column": 50 + } + } + } + ], + "range": [ + 10503, + 10761 + ], + "loc": { + "start": { + "line": 368, + "column": 54 + }, + "end": { + "line": 373, + "column": 13 + } + } + }, + "range": [ + 10461, + 10761 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 373, + "column": 13 + } + } + } + ], + "range": [ + 10408, + 10771 + ], + "loc": { + "start": { + "line": 366, + "column": 40 + }, + "end": { + "line": 374, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10376, + 10771 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 374, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "filtersRow", + "range": [ + 10787, + 10797 + ], + "loc": { + "start": { + "line": 375, + "column": 15 + }, + "end": { + "line": 375, + "column": 25 + } + } + }, + "range": [ + 10780, + 10798 + ], + "loc": { + "start": { + "line": 375, + "column": 8 + }, + "end": { + "line": 375, + "column": 26 + } + } + } + ], + "range": [ + 10298, + 10804 + ], + "loc": { + "start": { + "line": 363, + "column": 23 + }, + "end": { + "line": 376, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10295, + 10804 + ], + "loc": { + "start": { + "line": 363, + "column": 20 + }, + "end": { + "line": 376, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10279, + 10804 + ], + "loc": { + "start": { + "line": 363, + "column": 4 + }, + "end": { + "line": 376, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10171, + 10274 + ], + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 362, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 10810, + 10908 + ], + "loc": { + "start": { + "line": 378, + "column": 4 + }, + "end": { + "line": 381, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setColumnElements", + "range": [ + 10913, + 10930 + ], + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 382, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10947, + 10949 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10952, + 10956 + ], + "loc": { + "start": { + "line": 383, + "column": 17 + }, + "end": { + "line": 383, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10957, + 10959 + ], + "loc": { + "start": { + "line": 383, + "column": 22 + }, + "end": { + "line": 383, + "column": 24 + } + } + }, + "range": [ + 10952, + 10959 + ], + "loc": { + "start": { + "line": 383, + "column": 17 + }, + "end": { + "line": 383, + "column": 24 + } + } + }, + "range": [ + 10947, + 10959 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10943, + 10960 + ], + "loc": { + "start": { + "line": 383, + "column": 8 + }, + "end": { + "line": 383, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cols", + "range": [ + 10973, + 10977 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 10980, + 10983 + ], + "loc": { + "start": { + "line": 384, + "column": 19 + }, + "end": { + "line": 384, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 10984, + 10986 + ], + "loc": { + "start": { + "line": 384, + "column": 23 + }, + "end": { + "line": 384, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 10987, + 10990 + ], + "loc": { + "start": { + "line": 384, + "column": 26 + }, + "end": { + "line": 384, + "column": 29 + } + } + }, + "range": [ + 10984, + 10990 + ], + "loc": { + "start": { + "line": 384, + "column": 23 + }, + "end": { + "line": 384, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 10984, + 10992 + ], + "loc": { + "start": { + "line": 384, + "column": 23 + }, + "end": { + "line": 384, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 10994, + 10999 + ], + "loc": { + "start": { + "line": 384, + "column": 33 + }, + "end": { + "line": 384, + "column": 38 + } + } + } + ], + "range": [ + 10980, + 11000 + ], + "loc": { + "start": { + "line": 384, + "column": 19 + }, + "end": { + "line": 384, + "column": 39 + } + } + }, + "range": [ + 10973, + 11000 + ], + "loc": { + "start": { + "line": 384, + "column": 12 + }, + "end": { + "line": 384, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 10969, + 11001 + ], + "loc": { + "start": { + "line": 384, + "column": 8 + }, + "end": { + "line": 384, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11010, + 11014 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 11015, + 11027 + ], + "loc": { + "start": { + "line": 385, + "column": 13 + }, + "end": { + "line": 385, + "column": 25 + } + } + }, + "range": [ + 11010, + 11027 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cols", + "range": [ + 11030, + 11034 + ], + "loc": { + "start": { + "line": 385, + "column": 28 + }, + "end": { + "line": 385, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11035, + 11041 + ], + "loc": { + "start": { + "line": 385, + "column": 33 + }, + "end": { + "line": 385, + "column": 39 + } + } + }, + "range": [ + 11030, + 11041 + ], + "loc": { + "start": { + "line": 385, + "column": 28 + }, + "end": { + "line": 385, + "column": 39 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11044, + 11045 + ], + "loc": { + "start": { + "line": 385, + "column": 42 + }, + "end": { + "line": 385, + "column": 43 + } + } + }, + "range": [ + 11030, + 11045 + ], + "loc": { + "start": { + "line": 385, + "column": 28 + }, + "end": { + "line": 385, + "column": 43 + } + } + }, + "range": [ + 11010, + 11045 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 43 + } + } + }, + "range": [ + 11010, + 11046 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 44 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 11065, + 11066 + ], + "loc": { + "start": { + "line": 387, + "column": 17 + }, + "end": { + "line": 387, + "column": 18 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11070, + 11072 + ], + "loc": { + "start": { + "line": 387, + "column": 22 + }, + "end": { + "line": 387, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 11073, + 11080 + ], + "loc": { + "start": { + "line": 387, + "column": 25 + }, + "end": { + "line": 387, + "column": 32 + } + } + }, + "range": [ + 11070, + 11080 + ], + "loc": { + "start": { + "line": 387, + "column": 22 + }, + "end": { + "line": 387, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11083, + 11084 + ], + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 36 + } + } + }, + "range": [ + 11070, + 11084 + ], + "loc": { + "start": { + "line": 387, + "column": 22 + }, + "end": { + "line": 387, + "column": 36 + } + } + }, + "range": [ + 11065, + 11085 + ], + "loc": { + "start": { + "line": 387, + "column": 17 + }, + "end": { + "line": 387, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 11061, + 11085 + ], + "loc": { + "start": { + "line": 387, + "column": 13 + }, + "end": { + "line": 387, + "column": 37 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 11087, + 11088 + ], + "loc": { + "start": { + "line": 387, + "column": 39 + }, + "end": { + "line": 387, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11092, + 11093 + ], + "loc": { + "start": { + "line": 387, + "column": 44 + }, + "end": { + "line": 387, + "column": 45 + } + } + }, + "range": [ + 11087, + 11093 + ], + "loc": { + "start": { + "line": 387, + "column": 39 + }, + "end": { + "line": 387, + "column": 45 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 11095, + 11096 + ], + "loc": { + "start": { + "line": 387, + "column": 47 + }, + "end": { + "line": 387, + "column": 48 + } + } + }, + "prefix": false, + "range": [ + 11095, + 11098 + ], + "loc": { + "start": { + "line": 387, + "column": 47 + }, + "end": { + "line": 387, + "column": 50 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 11118, + 11121 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 19 + } + } + }, + "init": null, + "range": [ + 11118, + 11121 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 11114, + 11122 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 20 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11141, + 11145 + ], + "loc": { + "start": { + "line": 390, + "column": 17 + }, + "end": { + "line": 390, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 11146, + 11158 + ], + "loc": { + "start": { + "line": 390, + "column": 22 + }, + "end": { + "line": 390, + "column": 34 + } + } + }, + "range": [ + 11141, + 11158 + ], + "loc": { + "start": { + "line": 390, + "column": 17 + }, + "end": { + "line": 390, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 11140, + 11158 + ], + "loc": { + "start": { + "line": 390, + "column": 16 + }, + "end": { + "line": 390, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 11178, + 11181 + ], + "loc": { + "start": { + "line": 391, + "column": 16 + }, + "end": { + "line": 391, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11184, + 11193 + ], + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 11194, + 11199 + ], + "loc": { + "start": { + "line": 391, + "column": 32 + }, + "end": { + "line": 391, + "column": 37 + } + } + } + ], + "range": [ + 11184, + 11200 + ], + "loc": { + "start": { + "line": 391, + "column": 22 + }, + "end": { + "line": 391, + "column": 38 + } + } + }, + "range": [ + 11178, + 11200 + ], + "loc": { + "start": { + "line": 391, + "column": 16 + }, + "end": { + "line": 391, + "column": 38 + } + } + }, + "range": [ + 11178, + 11201 + ], + "loc": { + "start": { + "line": 391, + "column": 16 + }, + "end": { + "line": 391, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11218, + 11220 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 11221, + 11224 + ], + "loc": { + "start": { + "line": 392, + "column": 19 + }, + "end": { + "line": 392, + "column": 22 + } + } + }, + "range": [ + 11218, + 11224 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 22 + } + } + }, + "arguments": [], + "range": [ + 11218, + 11226 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 11227, + 11239 + ], + "loc": { + "start": { + "line": 392, + "column": 25 + }, + "end": { + "line": 392, + "column": 37 + } + } + }, + "range": [ + 11218, + 11239 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "col", + "range": [ + 11240, + 11243 + ], + "loc": { + "start": { + "line": 392, + "column": 38 + }, + "end": { + "line": 392, + "column": 41 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11245, + 11247 + ], + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 11248, + 11251 + ], + "loc": { + "start": { + "line": 392, + "column": 46 + }, + "end": { + "line": 392, + "column": 49 + } + } + }, + "range": [ + 11245, + 11251 + ], + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 11245, + 11253 + ], + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 11254, + 11264 + ], + "loc": { + "start": { + "line": 392, + "column": 52 + }, + "end": { + "line": 392, + "column": 62 + } + } + }, + "range": [ + 11245, + 11264 + ], + "loc": { + "start": { + "line": 392, + "column": 43 + }, + "end": { + "line": 392, + "column": 62 + } + } + } + ], + "range": [ + 11218, + 11265 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 63 + } + } + }, + "range": [ + 11218, + 11266 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 64 + } + } + } + ], + "range": [ + 11160, + 11280 + ], + "loc": { + "start": { + "line": 390, + "column": 36 + }, + "end": { + "line": 393, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 11304, + 11307 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cols", + "range": [ + 11310, + 11314 + ], + "loc": { + "start": { + "line": 394, + "column": 22 + }, + "end": { + "line": 394, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 11315, + 11316 + ], + "loc": { + "start": { + "line": 394, + "column": 27 + }, + "end": { + "line": 394, + "column": 28 + } + } + }, + "range": [ + 11310, + 11317 + ], + "loc": { + "start": { + "line": 394, + "column": 22 + }, + "end": { + "line": 394, + "column": 29 + } + } + }, + "range": [ + 11304, + 11317 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 29 + } + } + }, + "range": [ + 11304, + 11318 + ], + "loc": { + "start": { + "line": 394, + "column": 16 + }, + "end": { + "line": 394, + "column": 30 + } + } + } + ], + "range": [ + 11286, + 11332 + ], + "loc": { + "start": { + "line": 393, + "column": 19 + }, + "end": { + "line": 395, + "column": 13 + } + } + }, + "range": [ + 11136, + 11332 + ], + "loc": { + "start": { + "line": 390, + "column": 12 + }, + "end": { + "line": 395, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "col", + "range": [ + 11345, + 11348 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 11349, + 11354 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 21 + } + } + }, + "range": [ + 11345, + 11354 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 11355, + 11360 + ], + "loc": { + "start": { + "line": 396, + "column": 22 + }, + "end": { + "line": 396, + "column": 27 + } + } + }, + "range": [ + 11345, + 11360 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11363, + 11365 + ], + "loc": { + "start": { + "line": 396, + "column": 30 + }, + "end": { + "line": 396, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 11366, + 11375 + ], + "loc": { + "start": { + "line": 396, + "column": 33 + }, + "end": { + "line": 396, + "column": 42 + } + } + }, + "range": [ + 11363, + 11375 + ], + "loc": { + "start": { + "line": 396, + "column": 30 + }, + "end": { + "line": 396, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 11376, + 11377 + ], + "loc": { + "start": { + "line": 396, + "column": 43 + }, + "end": { + "line": 396, + "column": 44 + } + } + }, + "range": [ + 11363, + 11378 + ], + "loc": { + "start": { + "line": 396, + "column": 30 + }, + "end": { + "line": 396, + "column": 45 + } + } + }, + "range": [ + 11345, + 11378 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 45 + } + } + }, + "range": [ + 11345, + 11379 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 396, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11392, + 11396 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "colElms", + "range": [ + 11397, + 11404 + ], + "loc": { + "start": { + "line": 397, + "column": 17 + }, + "end": { + "line": 397, + "column": 24 + } + } + }, + "range": [ + 11392, + 11404 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 11405, + 11406 + ], + "loc": { + "start": { + "line": 397, + "column": 25 + }, + "end": { + "line": 397, + "column": 26 + } + } + }, + "range": [ + 11392, + 11407 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "col", + "range": [ + 11410, + 11413 + ], + "loc": { + "start": { + "line": 397, + "column": 30 + }, + "end": { + "line": 397, + "column": 33 + } + } + }, + "range": [ + 11392, + 11413 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 33 + } + } + }, + "range": [ + 11392, + 11414 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 34 + } + } + } + ], + "range": [ + 11100, + 11424 + ], + "loc": { + "start": { + "line": 387, + "column": 52 + }, + "end": { + "line": 398, + "column": 9 + } + } + }, + "range": [ + 11056, + 11424 + ], + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 398, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11433, + 11437 + ], + "loc": { + "start": { + "line": 399, + "column": 8 + }, + "end": { + "line": 399, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 11438, + 11450 + ], + "loc": { + "start": { + "line": 399, + "column": 13 + }, + "end": { + "line": 399, + "column": 25 + } + } + }, + "range": [ + 11433, + 11450 + ], + "loc": { + "start": { + "line": 399, + "column": 8 + }, + "end": { + "line": 399, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 11453, + 11457 + ], + "loc": { + "start": { + "line": 399, + "column": 28 + }, + "end": { + "line": 399, + "column": 32 + } + } + }, + "range": [ + 11433, + 11457 + ], + "loc": { + "start": { + "line": 399, + "column": 8 + }, + "end": { + "line": 399, + "column": 32 + } + } + }, + "range": [ + 11433, + 11458 + ], + "loc": { + "start": { + "line": 399, + "column": 8 + }, + "end": { + "line": 399, + "column": 33 + } + } + } + ], + "range": [ + 10933, + 11464 + ], + "loc": { + "start": { + "line": 382, + "column": 24 + }, + "end": { + "line": 400, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10930, + 11464 + ], + "loc": { + "start": { + "line": 382, + "column": 21 + }, + "end": { + "line": 400, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10913, + 11464 + ], + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 400, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 10810, + 10908 + ], + "loc": { + "start": { + "line": 378, + "column": 4 + }, + "end": { + "line": 381, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 11470, + 11599 + ], + "loc": { + "start": { + "line": 402, + "column": 4 + }, + "end": { + "line": 406, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setHeadersRow", + "range": [ + 11604, + 11617 + ], + "loc": { + "start": { + "line": 407, + "column": 4 + }, + "end": { + "line": 407, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tableHead", + "range": [ + 11618, + 11627 + ], + "loc": { + "start": { + "line": 407, + "column": 18 + }, + "end": { + "line": 407, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11643, + 11647 + ], + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 408, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "noHeaders", + "range": [ + 11648, + 11657 + ], + "loc": { + "start": { + "line": 408, + "column": 17 + }, + "end": { + "line": 408, + "column": 26 + } + } + }, + "range": [ + 11643, + 11657 + ], + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 408, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tableHead", + "range": [ + 11768, + 11777 + ], + "loc": { + "start": { + "line": 411, + "column": 12 + }, + "end": { + "line": 411, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11778, + 11789 + ], + "loc": { + "start": { + "line": 411, + "column": 22 + }, + "end": { + "line": 411, + "column": 33 + } + } + }, + "range": [ + 11768, + 11789 + ], + "loc": { + "start": { + "line": 411, + "column": 12 + }, + "end": { + "line": 411, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11790, + 11799 + ], + "loc": { + "start": { + "line": 411, + "column": 34 + }, + "end": { + "line": 411, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "tr", + "raw": "'tr'", + "range": [ + 11800, + 11804 + ], + "loc": { + "start": { + "line": 411, + "column": 44 + }, + "end": { + "line": 411, + "column": 48 + } + } + } + ], + "range": [ + 11790, + 11805 + ], + "loc": { + "start": { + "line": 411, + "column": 34 + }, + "end": { + "line": 411, + "column": 49 + } + } + } + ], + "range": [ + 11768, + 11806 + ], + "loc": { + "start": { + "line": 411, + "column": 12 + }, + "end": { + "line": 411, + "column": 50 + } + } + }, + "range": [ + 11768, + 11807 + ], + "loc": { + "start": { + "line": 411, + "column": 12 + }, + "end": { + "line": 411, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Handle table with no headers, assuming here headers do not", + "range": [ + 11673, + 11734 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " exist", + "range": [ + 11747, + 11755 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 20 + } + } + } + ] + } + ], + "range": [ + 11659, + 11817 + ], + "loc": { + "start": { + "line": 408, + "column": 28 + }, + "end": { + "line": 412, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 11919, + 11920 + ], + "loc": { + "start": { + "line": 414, + "column": 21 + }, + "end": { + "line": 414, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11923, + 11924 + ], + "loc": { + "start": { + "line": 414, + "column": 25 + }, + "end": { + "line": 414, + "column": 26 + } + } + }, + "range": [ + 11919, + 11924 + ], + "loc": { + "start": { + "line": 414, + "column": 21 + }, + "end": { + "line": 414, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 11915, + 11924 + ], + "loc": { + "start": { + "line": 414, + "column": 17 + }, + "end": { + "line": 414, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 11926, + 11927 + ], + "loc": { + "start": { + "line": 414, + "column": 28 + }, + "end": { + "line": 414, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11930, + 11934 + ], + "loc": { + "start": { + "line": 414, + "column": 32 + }, + "end": { + "line": 414, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRows", + "range": [ + 11935, + 11943 + ], + "loc": { + "start": { + "line": 414, + "column": 37 + }, + "end": { + "line": 414, + "column": 45 + } + } + }, + "range": [ + 11930, + 11943 + ], + "loc": { + "start": { + "line": 414, + "column": 32 + }, + "end": { + "line": 414, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11944, + 11950 + ], + "loc": { + "start": { + "line": 414, + "column": 46 + }, + "end": { + "line": 414, + "column": 52 + } + } + }, + "range": [ + 11930, + 11950 + ], + "loc": { + "start": { + "line": 414, + "column": 32 + }, + "end": { + "line": 414, + "column": 52 + } + } + }, + "range": [ + 11926, + 11950 + ], + "loc": { + "start": { + "line": 414, + "column": 28 + }, + "end": { + "line": 414, + "column": 52 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 11952, + 11953 + ], + "loc": { + "start": { + "line": 414, + "column": 54 + }, + "end": { + "line": 414, + "column": 55 + } + } + }, + "prefix": false, + "range": [ + 11952, + 11955 + ], + "loc": { + "start": { + "line": 414, + "column": 54 + }, + "end": { + "line": 414, + "column": 57 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 11979, + 11982 + ], + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11985, + 11989 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11990, + 11992 + ], + "loc": { + "start": { + "line": 415, + "column": 31 + }, + "end": { + "line": 415, + "column": 33 + } + } + }, + "range": [ + 11985, + 11992 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 11993, + 11996 + ], + "loc": { + "start": { + "line": 415, + "column": 34 + }, + "end": { + "line": 415, + "column": 37 + } + } + }, + "range": [ + 11985, + 11996 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 11985, + 11998 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 11999, + 12003 + ], + "loc": { + "start": { + "line": 415, + "column": 40 + }, + "end": { + "line": 415, + "column": 44 + } + } + }, + "range": [ + 11985, + 12003 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 44 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12004, + 12008 + ], + "loc": { + "start": { + "line": 415, + "column": 45 + }, + "end": { + "line": 415, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "headRows", + "range": [ + 12009, + 12017 + ], + "loc": { + "start": { + "line": 415, + "column": 50 + }, + "end": { + "line": 415, + "column": 58 + } + } + }, + "range": [ + 12004, + 12017 + ], + "loc": { + "start": { + "line": 415, + "column": 45 + }, + "end": { + "line": 415, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 12018, + 12019 + ], + "loc": { + "start": { + "line": 415, + "column": 59 + }, + "end": { + "line": 415, + "column": 60 + } + } + }, + "range": [ + 12004, + 12020 + ], + "loc": { + "start": { + "line": 415, + "column": 45 + }, + "end": { + "line": 415, + "column": 61 + } + } + }, + "range": [ + 11985, + 12021 + ], + "loc": { + "start": { + "line": 415, + "column": 26 + }, + "end": { + "line": 415, + "column": 62 + } + } + }, + "range": [ + 11979, + 12021 + ], + "loc": { + "start": { + "line": 415, + "column": 20 + }, + "end": { + "line": 415, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 11975, + 12022 + ], + "loc": { + "start": { + "line": 415, + "column": 16 + }, + "end": { + "line": 415, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tableHead", + "range": [ + 12039, + 12048 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 12049, + 12060 + ], + "loc": { + "start": { + "line": 416, + "column": 26 + }, + "end": { + "line": 416, + "column": 37 + } + } + }, + "range": [ + 12039, + 12060 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 12061, + 12064 + ], + "loc": { + "start": { + "line": 416, + "column": 38 + }, + "end": { + "line": 416, + "column": 41 + } + } + } + ], + "range": [ + 12039, + 12065 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 42 + } + } + }, + "range": [ + 12039, + 12066 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 43 + } + } + } + ], + "range": [ + 11957, + 12080 + ], + "loc": { + "start": { + "line": 414, + "column": 59 + }, + "end": { + "line": 417, + "column": 13 + } + } + }, + "range": [ + 11910, + 12080 + ], + "loc": { + "start": { + "line": 414, + "column": 12 + }, + "end": { + "line": 417, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Headers row are moved from content table to headers table", + "range": [ + 11837, + 11897 + ], + "loc": { + "start": { + "line": 413, + "column": 12 + }, + "end": { + "line": 413, + "column": 72 + } + } + } + ] + } + ], + "range": [ + 11823, + 12090 + ], + "loc": { + "start": { + "line": 412, + "column": 15 + }, + "end": { + "line": 418, + "column": 9 + } + } + }, + "range": [ + 11639, + 12090 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 418, + "column": 9 + } + } + } + ], + "range": [ + 11629, + 12096 + ], + "loc": { + "start": { + "line": 407, + "column": 29 + }, + "end": { + "line": 419, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11617, + 12096 + ], + "loc": { + "start": { + "line": 407, + "column": 17 + }, + "end": { + "line": 419, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11604, + 12096 + ], + "loc": { + "start": { + "line": 407, + "column": 4 + }, + "end": { + "line": 419, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 11470, + 11599 + ], + "loc": { + "start": { + "line": 402, + "column": 4 + }, + "end": { + "line": 406, + "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": [ + 12102, + 12237 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setConfigWidth", + "range": [ + 12242, + 12256 + ], + "loc": { + "start": { + "line": 426, + "column": 4 + }, + "end": { + "line": 426, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "element", + "range": [ + 12257, + 12264 + ], + "loc": { + "start": { + "line": 426, + "column": 19 + }, + "end": { + "line": 426, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12281, + 12285 + ], + "loc": { + "start": { + "line": 427, + "column": 13 + }, + "end": { + "line": 427, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12286, + 12291 + ], + "loc": { + "start": { + "line": 427, + "column": 18 + }, + "end": { + "line": 427, + "column": 23 + } + } + }, + "range": [ + 12281, + 12291 + ], + "loc": { + "start": { + "line": 427, + "column": 13 + }, + "end": { + "line": 427, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 12280, + 12291 + ], + "loc": { + "start": { + "line": 427, + "column": 12 + }, + "end": { + "line": 427, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 12307, + 12314 + ], + "loc": { + "start": { + "line": 428, + "column": 12 + }, + "end": { + "line": 428, + "column": 19 + } + } + } + ], + "range": [ + 12293, + 12324 + ], + "loc": { + "start": { + "line": 427, + "column": 25 + }, + "end": { + "line": 429, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 12276, + 12324 + ], + "loc": { + "start": { + "line": 427, + "column": 8 + }, + "end": { + "line": 429, + "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": [ + 12337, + 12341 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12342, + 12347 + ], + "loc": { + "start": { + "line": 430, + "column": 17 + }, + "end": { + "line": 430, + "column": 22 + } + } + }, + "range": [ + 12337, + 12347 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 12348, + 12355 + ], + "loc": { + "start": { + "line": 430, + "column": 23 + }, + "end": { + "line": 430, + "column": 30 + } + } + }, + "range": [ + 12337, + 12355 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "%", + "raw": "'%'", + "range": [ + 12356, + 12359 + ], + "loc": { + "start": { + "line": 430, + "column": 31 + }, + "end": { + "line": 430, + "column": 34 + } + } + } + ], + "range": [ + 12337, + 12360 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "column": 35 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 12366, + 12367 + ], + "loc": { + "start": { + "line": 430, + "column": 41 + }, + "end": { + "line": 430, + "column": 42 + } + } + }, + "prefix": true, + "range": [ + 12365, + 12367 + ], + "loc": { + "start": { + "line": 430, + "column": 40 + }, + "end": { + "line": 430, + "column": 42 + } + } + }, + "range": [ + 12337, + 12367 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 430, + "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": [ + 12383, + 12390 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 431, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 12391, + 12396 + ], + "loc": { + "start": { + "line": 431, + "column": 20 + }, + "end": { + "line": 431, + "column": 25 + } + } + }, + "range": [ + 12383, + 12396 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 431, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12397, + 12402 + ], + "loc": { + "start": { + "line": 431, + "column": 26 + }, + "end": { + "line": 431, + "column": 31 + } + } + }, + "range": [ + 12383, + 12402 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 431, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "100%", + "raw": "'100%'", + "range": [ + 12405, + 12411 + ], + "loc": { + "start": { + "line": 431, + "column": 34 + }, + "end": { + "line": 431, + "column": 40 + } + } + }, + "range": [ + 12383, + 12411 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 431, + "column": 40 + } + } + }, + "range": [ + 12383, + 12412 + ], + "loc": { + "start": { + "line": 431, + "column": 12 + }, + "end": { + "line": 431, + "column": 41 + } + } + } + ], + "range": [ + 12369, + 12422 + ], + "loc": { + "start": { + "line": 430, + "column": 44 + }, + "end": { + "line": 432, + "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": [ + 12442, + 12449 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 12450, + 12455 + ], + "loc": { + "start": { + "line": 433, + "column": 20 + }, + "end": { + "line": 433, + "column": 25 + } + } + }, + "range": [ + 12442, + 12455 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12456, + 12461 + ], + "loc": { + "start": { + "line": 433, + "column": 26 + }, + "end": { + "line": 433, + "column": 31 + } + } + }, + "range": [ + 12442, + 12461 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12464, + 12468 + ], + "loc": { + "start": { + "line": 433, + "column": 34 + }, + "end": { + "line": 433, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 12469, + 12474 + ], + "loc": { + "start": { + "line": 433, + "column": 39 + }, + "end": { + "line": 433, + "column": 44 + } + } + }, + "range": [ + 12464, + 12474 + ], + "loc": { + "start": { + "line": 433, + "column": 34 + }, + "end": { + "line": 433, + "column": 44 + } + } + }, + "range": [ + 12442, + 12474 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 44 + } + } + }, + "range": [ + 12442, + 12475 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 45 + } + } + } + ], + "range": [ + 12428, + 12485 + ], + "loc": { + "start": { + "line": 432, + "column": 15 + }, + "end": { + "line": 434, + "column": 9 + } + } + }, + "range": [ + 12333, + 12485 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 434, + "column": 9 + } + } + } + ], + "range": [ + 12266, + 12491 + ], + "loc": { + "start": { + "line": 426, + "column": 28 + }, + "end": { + "line": 435, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12256, + 12491 + ], + "loc": { + "start": { + "line": 426, + "column": 18 + }, + "end": { + "line": 435, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12242, + 12491 + ], + "loc": { + "start": { + "line": 426, + "column": 4 + }, + "end": { + "line": 435, + "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": [ + 12102, + 12237 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "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": [ + 12497, + 12694 + ], + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 442, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getSortTriggerIds", + "range": [ + 12699, + 12716 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 443, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 12717, + 12720 + ], + "loc": { + "start": { + "line": 443, + "column": 22 + }, + "end": { + "line": 443, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 12736, + 12738 + ], + "loc": { + "start": { + "line": 444, + "column": 12 + }, + "end": { + "line": 444, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12741, + 12745 + ], + "loc": { + "start": { + "line": 444, + "column": 17 + }, + "end": { + "line": 444, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12746, + 12748 + ], + "loc": { + "start": { + "line": 444, + "column": 22 + }, + "end": { + "line": 444, + "column": 24 + } + } + }, + "range": [ + 12741, + 12748 + ], + "loc": { + "start": { + "line": 444, + "column": 17 + }, + "end": { + "line": 444, + "column": 24 + } + } + }, + "range": [ + 12736, + 12748 + ], + "loc": { + "start": { + "line": 444, + "column": 12 + }, + "end": { + "line": 444, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 12732, + 12749 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 12762, + 12774 + ], + "loc": { + "start": { + "line": 445, + "column": 12 + }, + "end": { + "line": 445, + "column": 24 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12777, + 12779 + ], + "loc": { + "start": { + "line": 445, + "column": 27 + }, + "end": { + "line": 445, + "column": 29 + } + } + }, + "range": [ + 12762, + 12779 + ], + "loc": { + "start": { + "line": 445, + "column": 12 + }, + "end": { + "line": 445, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 12758, + 12780 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 30 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 12798, + 12799 + ], + "loc": { + "start": { + "line": 446, + "column": 17 + }, + "end": { + "line": 446, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 12802, + 12803 + ], + "loc": { + "start": { + "line": 446, + "column": 21 + }, + "end": { + "line": 446, + "column": 22 + } + } + }, + "range": [ + 12798, + 12803 + ], + "loc": { + "start": { + "line": 446, + "column": 17 + }, + "end": { + "line": 446, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 12794, + 12803 + ], + "loc": { + "start": { + "line": 446, + "column": 13 + }, + "end": { + "line": 446, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 12805, + 12806 + ], + "loc": { + "start": { + "line": 446, + "column": 24 + }, + "end": { + "line": 446, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 12809, + 12811 + ], + "loc": { + "start": { + "line": 446, + "column": 28 + }, + "end": { + "line": 446, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 12812, + 12822 + ], + "loc": { + "start": { + "line": 446, + "column": 31 + }, + "end": { + "line": 446, + "column": 41 + } + } + }, + "range": [ + 12809, + 12822 + ], + "loc": { + "start": { + "line": 446, + "column": 28 + }, + "end": { + "line": 446, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 12809, + 12824 + ], + "loc": { + "start": { + "line": 446, + "column": 28 + }, + "end": { + "line": 446, + "column": 43 + } + } + }, + "range": [ + 12805, + 12824 + ], + "loc": { + "start": { + "line": 446, + "column": 24 + }, + "end": { + "line": 446, + "column": 43 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "n", + "range": [ + 12826, + 12827 + ], + "loc": { + "start": { + "line": 446, + "column": 45 + }, + "end": { + "line": 446, + "column": 46 + } + } + }, + "prefix": false, + "range": [ + 12826, + 12829 + ], + "loc": { + "start": { + "line": 446, + "column": 45 + }, + "end": { + "line": 446, + "column": 48 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "c", + "range": [ + 12849, + 12850 + ], + "loc": { + "start": { + "line": 447, + "column": 16 + }, + "end": { + "line": 447, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 12853, + 12856 + ], + "loc": { + "start": { + "line": 447, + "column": 20 + }, + "end": { + "line": 447, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 12857, + 12862 + ], + "loc": { + "start": { + "line": 447, + "column": 24 + }, + "end": { + "line": 447, + "column": 29 + } + } + }, + "range": [ + 12853, + 12862 + ], + "loc": { + "start": { + "line": 447, + "column": 20 + }, + "end": { + "line": 447, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "n", + "range": [ + 12863, + 12864 + ], + "loc": { + "start": { + "line": 447, + "column": 30 + }, + "end": { + "line": 447, + "column": 31 + } + } + }, + "range": [ + 12853, + 12865 + ], + "loc": { + "start": { + "line": 447, + "column": 20 + }, + "end": { + "line": 447, + "column": 32 + } + } + }, + "range": [ + 12849, + 12865 + ], + "loc": { + "start": { + "line": 447, + "column": 16 + }, + "end": { + "line": 447, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 12845, + 12866 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "thId", + "range": [ + 12883, + 12887 + ], + "loc": { + "start": { + "line": 448, + "column": 16 + }, + "end": { + "line": 448, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 12890, + 12891 + ], + "loc": { + "start": { + "line": 448, + "column": 23 + }, + "end": { + "line": 448, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 12892, + 12904 + ], + "loc": { + "start": { + "line": 448, + "column": 25 + }, + "end": { + "line": 448, + "column": 37 + } + } + }, + "range": [ + 12890, + 12904 + ], + "loc": { + "start": { + "line": 448, + "column": 23 + }, + "end": { + "line": 448, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 12905, + 12909 + ], + "loc": { + "start": { + "line": 448, + "column": 38 + }, + "end": { + "line": 448, + "column": 42 + } + } + } + ], + "range": [ + 12890, + 12910 + ], + "loc": { + "start": { + "line": 448, + "column": 23 + }, + "end": { + "line": 448, + "column": 43 + } + } + }, + "range": [ + 12883, + 12910 + ], + "loc": { + "start": { + "line": 448, + "column": 16 + }, + "end": { + "line": 448, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 12879, + 12911 + ], + "loc": { + "start": { + "line": 448, + "column": 12 + }, + "end": { + "line": 448, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "thId", + "range": [ + 12929, + 12933 + ], + "loc": { + "start": { + "line": 449, + "column": 17 + }, + "end": { + "line": 449, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 12928, + 12933 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 21 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "thId", + "range": [ + 12937, + 12941 + ], + "loc": { + "start": { + "line": 449, + "column": 25 + }, + "end": { + "line": 449, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12946, + 12948 + ], + "loc": { + "start": { + "line": 449, + "column": 34 + }, + "end": { + "line": 449, + "column": 36 + } + } + }, + "range": [ + 12937, + 12948 + ], + "loc": { + "start": { + "line": 449, + "column": 25 + }, + "end": { + "line": 449, + "column": 36 + } + } + }, + "range": [ + 12928, + 12948 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "thId", + "range": [ + 12968, + 12972 + ], + "loc": { + "start": { + "line": 450, + "column": 16 + }, + "end": { + "line": 450, + "column": 20 + } + } + }, + "right": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 12975, + 12978 + ], + "loc": { + "start": { + "line": 450, + "column": 23 + }, + "end": { + "line": 450, + "column": 26 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 12997, + 13001 + ], + "loc": { + "start": { + "line": 450, + "column": 45 + }, + "end": { + "line": 450, + "column": 49 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 13006, + 13008 + ], + "loc": { + "start": { + "line": 450, + "column": 54 + }, + "end": { + "line": 450, + "column": 56 + } + } + } + ], + "expressions": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12978, + 12982 + ], + "loc": { + "start": { + "line": 450, + "column": 26 + }, + "end": { + "line": 450, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxGridTh", + "range": [ + 12983, + 12993 + ], + "loc": { + "start": { + "line": 450, + "column": 31 + }, + "end": { + "line": 450, + "column": 41 + } + } + }, + "range": [ + 12978, + 12993 + ], + "loc": { + "start": { + "line": 450, + "column": 26 + }, + "end": { + "line": 450, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 12996, + 12997 + ], + "loc": { + "start": { + "line": 450, + "column": 44 + }, + "end": { + "line": 450, + "column": 45 + } + } + }, + "range": [ + 12978, + 12997 + ], + "loc": { + "start": { + "line": 450, + "column": 26 + }, + "end": { + "line": 450, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13001, + 13003 + ], + "loc": { + "start": { + "line": 450, + "column": 49 + }, + "end": { + "line": 450, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 13004, + 13006 + ], + "loc": { + "start": { + "line": 450, + "column": 52 + }, + "end": { + "line": 450, + "column": 54 + } + } + }, + "range": [ + 13001, + 13006 + ], + "loc": { + "start": { + "line": 450, + "column": 49 + }, + "end": { + "line": 450, + "column": 54 + } + } + } + ], + "range": [ + 12975, + 13008 + ], + "loc": { + "start": { + "line": 450, + "column": 23 + }, + "end": { + "line": 450, + "column": 56 + } + } + }, + "range": [ + 12968, + 13008 + ], + "loc": { + "start": { + "line": 450, + "column": 16 + }, + "end": { + "line": 450, + "column": 56 + } + } + }, + "range": [ + 12968, + 13009 + ], + "loc": { + "start": { + "line": 450, + "column": 16 + }, + "end": { + "line": 450, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "c", + "range": [ + 13026, + 13027 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 13028, + 13040 + ], + "loc": { + "start": { + "line": 451, + "column": 18 + }, + "end": { + "line": 451, + "column": 30 + } + } + }, + "range": [ + 13026, + 13040 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 13041, + 13045 + ], + "loc": { + "start": { + "line": 451, + "column": 31 + }, + "end": { + "line": 451, + "column": 35 + } + } + }, + { + "type": "Identifier", + "name": "thId", + "range": [ + 13047, + 13051 + ], + "loc": { + "start": { + "line": 451, + "column": 37 + }, + "end": { + "line": 451, + "column": 41 + } + } + } + ], + "range": [ + 13026, + 13052 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 42 + } + } + }, + "range": [ + 13026, + 13053 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 451, + "column": 43 + } + } + } + ], + "range": [ + 12950, + 13067 + ], + "loc": { + "start": { + "line": 449, + "column": 38 + }, + "end": { + "line": 452, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12924, + 13067 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 452, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 13080, + 13092 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 13093, + 13097 + ], + "loc": { + "start": { + "line": 453, + "column": 25 + }, + "end": { + "line": 453, + "column": 29 + } + } + }, + "range": [ + 13080, + 13097 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "thId", + "range": [ + 13098, + 13102 + ], + "loc": { + "start": { + "line": 453, + "column": 30 + }, + "end": { + "line": 453, + "column": 34 + } + } + } + ], + "range": [ + 13080, + 13103 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 35 + } + } + }, + "range": [ + 13080, + 13104 + ], + "loc": { + "start": { + "line": 453, + "column": 12 + }, + "end": { + "line": 453, + "column": 36 + } + } + } + ], + "range": [ + 12831, + 13114 + ], + "loc": { + "start": { + "line": 446, + "column": 50 + }, + "end": { + "line": 454, + "column": 9 + } + } + }, + "range": [ + 12789, + 13114 + ], + "loc": { + "start": { + "line": 446, + "column": 8 + }, + "end": { + "line": 454, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "sortTriggers", + "range": [ + 13130, + 13142 + ], + "loc": { + "start": { + "line": 455, + "column": 15 + }, + "end": { + "line": 455, + "column": 27 + } + } + }, + "range": [ + 13123, + 13143 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 28 + } + } + } + ], + "range": [ + 12722, + 13149 + ], + "loc": { + "start": { + "line": 443, + "column": 27 + }, + "end": { + "line": 456, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12716, + 13149 + ], + "loc": { + "start": { + "line": 443, + "column": 21 + }, + "end": { + "line": 456, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12699, + 13149 + ], + "loc": { + "start": { + "line": 443, + "column": 4 + }, + "end": { + "line": 456, + "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": [ + 12497, + 12694 + ], + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 442, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes the grid layout\n ", + "range": [ + 13155, + 13197 + ], + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 460, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 13202, + 13209 + ], + "loc": { + "start": { + "line": 461, + "column": 4 + }, + "end": { + "line": 461, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 13226, + 13228 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13231, + 13235 + ], + "loc": { + "start": { + "line": 462, + "column": 17 + }, + "end": { + "line": 462, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 13236, + 13238 + ], + "loc": { + "start": { + "line": 462, + "column": 22 + }, + "end": { + "line": 462, + "column": 24 + } + } + }, + "range": [ + 13231, + 13238 + ], + "loc": { + "start": { + "line": 462, + "column": 17 + }, + "end": { + "line": 462, + "column": 24 + } + } + }, + "range": [ + 13226, + 13238 + ], + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 13222, + 13239 + ], + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 462, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 13252, + 13255 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13258, + 13260 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 13261, + 13264 + ], + "loc": { + "start": { + "line": 463, + "column": 21 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "range": [ + 13258, + 13264 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "arguments": [], + "range": [ + 13258, + 13266 + ], + "loc": { + "start": { + "line": 463, + "column": 18 + }, + "end": { + "line": 463, + "column": 26 + } + } + }, + "range": [ + 13252, + 13266 + ], + "loc": { + "start": { + "line": 463, + "column": 12 + }, + "end": { + "line": 463, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 13248, + 13267 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13282, + 13286 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 13287, + 13298 + ], + "loc": { + "start": { + "line": 465, + "column": 18 + }, + "end": { + "line": 465, + "column": 29 + } + } + }, + "range": [ + 13282, + 13298 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 13281, + 13298 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 13314, + 13321 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 19 + } + } + } + ], + "range": [ + 13300, + 13331 + ], + "loc": { + "start": { + "line": 465, + "column": 31 + }, + "end": { + "line": 467, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13277, + 13331 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 467, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 13344, + 13345 + ], + "loc": { + "start": { + "line": 468, + "column": 12 + }, + "end": { + "line": 468, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 13348, + 13357 + ], + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 13358, + 13361 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 468, + "column": 29 + } + } + } + ], + "range": [ + 13348, + 13362 + ], + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 30 + } + } + }, + "range": [ + 13344, + 13362 + ], + "loc": { + "start": { + "line": 468, + "column": 12 + }, + "end": { + "line": 468, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 13340, + 13363 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13372, + 13376 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 13377, + 13388 + ], + "loc": { + "start": { + "line": 469, + "column": 13 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "range": [ + 13372, + 13388 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 13389, + 13399 + ], + "loc": { + "start": { + "line": 469, + "column": 25 + }, + "end": { + "line": 469, + "column": 35 + } + } + }, + "range": [ + 13372, + 13399 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 13400, + 13412 + ], + "loc": { + "start": { + "line": 469, + "column": 36 + }, + "end": { + "line": 469, + "column": 48 + } + } + }, + "range": [ + 13372, + 13412 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "t", + "range": [ + 13413, + 13414 + ], + "loc": { + "start": { + "line": 469, + "column": 49 + }, + "end": { + "line": 469, + "column": 50 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13416, + 13420 + ], + "loc": { + "start": { + "line": 469, + "column": 52 + }, + "end": { + "line": 469, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 13421, + 13432 + ], + "loc": { + "start": { + "line": 469, + "column": 57 + }, + "end": { + "line": 469, + "column": 68 + } + } + }, + "range": [ + 13416, + 13432 + ], + "loc": { + "start": { + "line": 469, + "column": 52 + }, + "end": { + "line": 469, + "column": 68 + } + } + } + ], + "range": [ + 13372, + 13433 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 69 + } + } + }, + "range": [ + 13372, + 13434 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 70 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 13443, + 13452 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13453, + 13457 + ], + "loc": { + "start": { + "line": 470, + "column": 18 + }, + "end": { + "line": 470, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 13458, + 13469 + ], + "loc": { + "start": { + "line": 470, + "column": 23 + }, + "end": { + "line": 470, + "column": 34 + } + } + }, + "range": [ + 13453, + 13469 + ], + "loc": { + "start": { + "line": 470, + "column": 18 + }, + "end": { + "line": 470, + "column": 34 + } + } + } + ], + "range": [ + 13443, + 13470 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 35 + } + } + }, + "range": [ + 13443, + 13471 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13481, + 13485 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 13486, + 13497 + ], + "loc": { + "start": { + "line": 472, + "column": 13 + }, + "end": { + "line": 472, + "column": 24 + } + } + }, + "range": [ + 13481, + 13497 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13500, + 13504 + ], + "loc": { + "start": { + "line": 472, + "column": 27 + }, + "end": { + "line": 472, + "column": 31 + } + } + }, + "range": [ + 13481, + 13504 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 31 + } + } + }, + "range": [ + 13481, + 13505 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13514, + 13518 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTblCont", + "range": [ + 13519, + 13530 + ], + "loc": { + "start": { + "line": 473, + "column": 13 + }, + "end": { + "line": 473, + "column": 24 + } + } + }, + "range": [ + 13514, + 13530 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13533, + 13537 + ], + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 31 + } + } + }, + "range": [ + 13514, + 13537 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 31 + } + } + }, + "range": [ + 13514, + 13538 + ], + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13547, + 13551 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 13552, + 13559 + ], + "loc": { + "start": { + "line": 474, + "column": 13 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "range": [ + 13547, + 13559 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13562, + 13566 + ], + "loc": { + "start": { + "line": 474, + "column": 23 + }, + "end": { + "line": 474, + "column": 27 + } + } + }, + "range": [ + 13547, + 13566 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 27 + } + } + }, + "range": [ + 13547, + 13567 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13576, + 13580 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 13581, + 13588 + ], + "loc": { + "start": { + "line": 475, + "column": 13 + }, + "end": { + "line": 475, + "column": 20 + } + } + }, + "range": [ + 13576, + 13588 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13591, + 13595 + ], + "loc": { + "start": { + "line": 475, + "column": 23 + }, + "end": { + "line": 475, + "column": 27 + } + } + }, + "range": [ + 13576, + 13595 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 27 + } + } + }, + "range": [ + 13576, + 13596 + ], + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 13606, + 13609 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "outerHTML", + "range": [ + 13610, + 13619 + ], + "loc": { + "start": { + "line": 477, + "column": 12 + }, + "end": { + "line": 477, + "column": 21 + } + } + }, + "range": [ + 13606, + 13619 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13622, + 13626 + ], + "loc": { + "start": { + "line": 477, + "column": 24 + }, + "end": { + "line": 477, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "sourceTblHtml", + "range": [ + 13627, + 13640 + ], + "loc": { + "start": { + "line": 477, + "column": 29 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 13622, + 13640 + ], + "loc": { + "start": { + "line": 477, + "column": 24 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 13606, + 13640 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 13606, + 13641 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "needed to keep reference of table element for future usage", + "range": [ + 13650, + 13710 + ], + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 68 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13719, + 13723 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 13724, + 13726 + ], + "loc": { + "start": { + "line": 479, + "column": 13 + }, + "end": { + "line": 479, + "column": 15 + } + } + }, + "range": [ + 13719, + 13726 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 13727, + 13730 + ], + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 19 + } + } + }, + "range": [ + 13719, + 13730 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 13733, + 13736 + ], + "loc": { + "start": { + "line": 479, + "column": 22 + }, + "end": { + "line": 479, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13737, + 13739 + ], + "loc": { + "start": { + "line": 479, + "column": 26 + }, + "end": { + "line": 479, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 13740, + 13742 + ], + "loc": { + "start": { + "line": 479, + "column": 29 + }, + "end": { + "line": 479, + "column": 31 + } + } + }, + "range": [ + 13737, + 13742 + ], + "loc": { + "start": { + "line": 479, + "column": 26 + }, + "end": { + "line": 479, + "column": 31 + } + } + } + ], + "range": [ + 13733, + 13743 + ], + "loc": { + "start": { + "line": 479, + "column": 22 + }, + "end": { + "line": 479, + "column": 32 + } + } + }, + "range": [ + 13719, + 13743 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 32 + } + } + }, + "range": [ + 13719, + 13744 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "needed to keep reference of table element for future usage", + "range": [ + 13650, + 13710 + ], + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 68 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13754, + 13758 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 13759, + 13770 + ], + "loc": { + "start": { + "line": 481, + "column": 13 + }, + "end": { + "line": 481, + "column": 24 + } + } + }, + "range": [ + 13754, + 13770 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 13773, + 13778 + ], + "loc": { + "start": { + "line": 481, + "column": 27 + }, + "end": { + "line": 481, + "column": 32 + } + } + }, + "range": [ + 13754, + 13778 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 32 + } + } + }, + "range": [ + 13754, + 13779 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 33 + } + } + } + ], + "range": [ + 13212, + 13785 + ], + "loc": { + "start": { + "line": 461, + "column": 14 + }, + "end": { + "line": 482, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13209, + 13785 + ], + "loc": { + "start": { + "line": 461, + "column": 11 + }, + "end": { + "line": 482, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13202, + 13785 + ], + "loc": { + "start": { + "line": 461, + "column": 4 + }, + "end": { + "line": 482, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes the grid layout\n ", + "range": [ + 13155, + 13197 + ], + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 460, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 378, + 13787 + ], + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 483, + "column": 1 + } + } + }, + "range": [ + 345, + 13787 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 483, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Grid layout, table with fixed headers\n ", + "range": [ + 289, + 337 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 338, + 13787 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 483, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Grid layout, table with fixed headers\n ", + "range": [ + 289, + 337 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 13787 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 483, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Grid layout, table with fixed headers\n ", + "range": [ + 289, + 337 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of GridLayout\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 385, + 489 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Grid-layout container width as CSS string\n * @type {String}\n ", + "range": [ + 602, + 696 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Grid-layout container height as CSS string\n * @type {String}\n ", + "range": [ + 755, + 850 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for main container element\n * @type {String}\n ", + "range": [ + 911, + 1000 + ], + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for body table container element\n * @type {String}\n ", + "range": [ + 1085, + 1180 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 45, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for headers table container element\n * @type {String}\n ", + "range": [ + 1268, + 1366 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for toolbar container element (rows counter, paging etc.)\n * @type {String}\n ", + "range": [ + 1474, + 1594 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Index of the headers row, default: 0\n * @type {Number}\n ", + "range": [ + 1680, + 1769 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 64, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of the header row indexes to be moved into headers table\n * @type {Array}\n ", + "range": [ + 1843, + 1962 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n ", + "range": [ + 2030, + 2142 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable or disable column headers, default: false\n * @type {Boolean}\n ", + "range": [ + 2206, + 2308 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Grid-layout default column widht as CSS string\n * @type {String}\n ", + "range": [ + 2366, + 2465 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of column elements\n * @type {Array}\n * @private\n ", + "range": [ + 2549, + 2644 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2681, + 2793 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n ", + "range": [ + 2840, + 2952 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Mark-up of original HTML table\n * @type {String}\n * @private\n ", + "range": [ + 3002, + 3105 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n ", + "range": [ + 3164, + 3284 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Main container element\n * @private\n ", + "range": [ + 3370, + 3439 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Table container element\n * @private\n ", + "range": [ + 3482, + 3552 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 135, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Headers' table container element\n * @private\n ", + "range": [ + 3591, + 3670 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Headers' table element\n * @private\n ", + "range": [ + 3713, + 3782 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 147, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " filters flag at TF level", + "range": [ + 3821, + 3848 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 35 + } + } + }, + { + "type": "Block", + "value": "*\n * Generates a grid with fixed headers\n * TODO: reduce size of init by extracting single purposed methods\n ", + "range": [ + 3895, + 4020 + ], + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 157, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Override relevant TableFilter properties", + "range": [ + 4160, + 4203 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 51 + } + } + }, + { + "type": "Line", + "value": " Assign default column widths", + "range": [ + 4242, + 4273 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 39 + } + } + }, + { + "type": "Line", + "value": " Initial table width", + "range": [ + 4319, + 4341 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "Line", + "value": "Main container: it will contain all the elements", + "range": [ + 4396, + 4446 + ], + "loc": { + "start": { + "line": 175, + "column": 8 + }, + "end": { + "line": 175, + "column": 58 + } + } + }, + { + "type": "Line", + "value": "Table container: div wrapping content table", + "range": [ + 4699, + 4744 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 53 + } + } + }, + { + "type": "Line", + "value": "In case table width is expressed in %", + "range": [ + 5083, + 5122 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 47 + } + } + }, + { + "type": "Line", + "value": "Headers table container: div wrapping headers table", + "range": [ + 5364, + 5417 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 61 + } + } + }, + { + "type": "Line", + "value": "Headers table", + "range": [ + 5519, + 5534 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 23 + } + } + }, + { + "type": "Line", + "value": "1st row should be headers row, ids are added if not set", + "range": [ + 5624, + 5681 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 65 + } + } + }, + { + "type": "Line", + "value": "Those ids are used by the sort feature", + "range": [ + 5690, + 5730 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 48 + } + } + }, + { + "type": "Line", + "value": "Filters row is created", + "range": [ + 5845, + 5869 + ], + "loc": { + "start": { + "line": 215, + "column": 8 + }, + "end": { + "line": 215, + "column": 32 + } + } + }, + { + "type": "Line", + "value": "Headers row are moved from content table to headers table", + "range": [ + 5929, + 5988 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 67 + } + } + }, + { + "type": "Line", + "value": "THead needs to be removed in content table for sort feature", + "range": [ + 6354, + 6415 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 231, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " ensure table layout is always set even if already set in css", + "range": [ + 6545, + 6608 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 71 + } + } + }, + { + "type": "Line", + "value": " definitions, potentially with custom css class this could be lost", + "range": [ + 6617, + 6685 + ], + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "content table without headers needs col widths to be reset", + "range": [ + 6786, + 6846 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 68 + } + } + }, + { + "type": "Line", + "value": "Headers container width", + "range": [ + 6895, + 6920 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 33 + } + } + }, + { + "type": "Line", + "value": "", + "range": [ + 6981, + 6983 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 10 + } + } + }, + { + "type": "Line", + "value": "scroll synchronisation", + "range": [ + 6993, + 7017 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 32 + } + } + }, + { + "type": "Line", + "value": "New pointerX calc taking into account scrollLeft", + "range": [ + 7217, + 7267 + ], + "loc": { + "start": { + "line": 254, + "column": 12 + }, + "end": { + "line": 254, + "column": 62 + } + } + }, + { + "type": "Line", + "value": " if(!o.isPointerXOverwritten){", + "range": [ + 7280, + 7312 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 44 + } + } + }, + { + "type": "Line", + "value": " try{", + "range": [ + 7325, + 7336 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " o.Evt.pointerX = function(evt){", + "range": [ + 7349, + 7391 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " let e = evt || global.event;", + "range": [ + 7404, + 7447 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " let bdScrollLeft = tf_StandardBody().scrollLeft +", + "range": [ + 7460, + 7524 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " scrollLeft;", + "range": [ + 7537, + 7567 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " return (e.pageX + scrollLeft) ||", + "range": [ + 7580, + 7627 + ], + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " (e.clientX + bdScrollLeft);", + "range": [ + 7640, + 7686 + ], + "loc": { + "start": { + "line": 262, + "column": 12 + }, + "end": { + "line": 262, + "column": 58 + } + } + }, + { + "type": "Line", + "value": " };", + "range": [ + 7699, + 7712 + ], + "loc": { + "start": { + "line": 263, + "column": 12 + }, + "end": { + "line": 263, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = true;", + "range": [ + 7725, + 7767 + ], + "loc": { + "start": { + "line": 264, + "column": 12 + }, + "end": { + "line": 264, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " } catch(err) {", + "range": [ + 7780, + 7801 + ], + "loc": { + "start": { + "line": 265, + "column": 12 + }, + "end": { + "line": 265, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " o.isPointerXOverwritten = false;", + "range": [ + 7814, + 7857 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7870, + 7878 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " }", + "range": [ + 7891, + 7895 + ], + "loc": { + "start": { + "line": 268, + "column": 12 + }, + "end": { + "line": 268, + "column": 16 + } + } + }, + { + "type": "Line", + "value": " TODO: Trigger a custom event handled by sort extension", + "range": [ + 7917, + 7974 + ], + "loc": { + "start": { + "line": 271, + "column": 8 + }, + "end": { + "line": 271, + "column": 65 + } + } + }, + { + "type": "Line", + "value": "Col elements are enough to keep column widths after sorting and", + "range": [ + 8134, + 8199 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "filtering", + "range": [ + 8208, + 8219 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 19 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 8350, + 8367 + ], + "loc": { + "start": { + "line": 286, + "column": 8 + }, + "end": { + "line": 286, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n ", + "range": [ + 8412, + 8518 + ], + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 293, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Set grid-layout default column widths if column widths are not defined\n * @private\n ", + "range": [ + 8659, + 8764 + ], + "loc": { + "start": { + "line": 301, + "column": 4 + }, + "end": { + "line": 304, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initial table width\n * @returns {Number}\n * @private\n ", + "range": [ + 9386, + 9465 + ], + "loc": { + "start": { + "line": 325, + "column": 4 + }, + "end": { + "line": 329, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "initial table width", + "range": [ + 9544, + 9565 + ], + "loc": { + "start": { + "line": 332, + "column": 19 + }, + "end": { + "line": 332, + "column": 40 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates container element\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n ", + "range": [ + 9831, + 10020 + ], + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n ", + "range": [ + 10171, + 10274 + ], + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 362, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Generates column elements if necessary and assigns their widths\n * @private\n ", + "range": [ + 10810, + 10908 + ], + "loc": { + "start": { + "line": 378, + "column": 4 + }, + "end": { + "line": 381, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n ", + "range": [ + 11470, + 11599 + ], + "loc": { + "start": { + "line": 402, + "column": 4 + }, + "end": { + "line": 406, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Handle table with no headers, assuming here headers do not", + "range": [ + 11673, + 11734 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " exist", + "range": [ + 11747, + 11755 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " Headers row are moved from content table to headers table", + "range": [ + 11837, + 11897 + ], + "loc": { + "start": { + "line": 413, + "column": 12 + }, + "end": { + "line": 413, + "column": 72 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets width defined in configuration to passed element\n * @param {DOMElement} element DOM element\n * @private\n ", + "range": [ + 12102, + 12237 + ], + "loc": { + "start": { + "line": 421, + "column": 4 + }, + "end": { + "line": 425, + "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": [ + 12497, + 12694 + ], + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 442, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes the grid layout\n ", + "range": [ + 13155, + 13197 + ], + "loc": { + "start": { + "line": 458, + "column": 4 + }, + "end": { + "line": 460, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "needed to keep reference of table element for future usage", + "range": [ + 13650, + 13710 + ], + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 68 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/hash.js.json b/docs/ast/source/modules/hash.js.json new file mode 100644 index 00000000..332d15f5 --- /dev/null +++ b/docs/ast/source/modules/hash.js.json @@ -0,0 +1,6687 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 32, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 32 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + "range": [ + 0, + 43 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 52, + 56 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 52, + 56 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 52, + 56 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 63, + 72 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 44, + 73 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "JSON", + "range": [ + 81, + 85 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 88, + 92 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "JSON", + "range": [ + 93, + 97 + ], + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 88, + 97 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 81, + 97 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 22 + } + } + } + ], + "kind": "const", + "range": [ + 75, + 98 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "location", + "range": [ + 105, + 113 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 116, + 120 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "location", + "range": [ + 121, + 129 + ], + "loc": { + "start": { + "line": 5, + "column": 22 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + "range": [ + 116, + 129 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + "range": [ + 105, + 129 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 99, + 130 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "decodeURIComponent", + "range": [ + 137, + 155 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 158, + 162 + ], + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "decodeURIComponent", + "range": [ + 163, + 181 + ], + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 50 + } + } + }, + "range": [ + 158, + 181 + ], + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 50 + } + } + }, + "range": [ + 137, + 181 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 50 + } + } + } + ], + "kind": "const", + "range": [ + 131, + 182 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "encodeURIComponent", + "range": [ + 189, + 207 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 210, + 214 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "encodeURIComponent", + "range": [ + 215, + 233 + ], + "loc": { + "start": { + "line": 7, + "column": 32 + }, + "end": { + "line": 7, + "column": 50 + } + } + }, + "range": [ + 210, + 233 + ], + "loc": { + "start": { + "line": 7, + "column": 27 + }, + "end": { + "line": 7, + "column": 50 + } + } + }, + "range": [ + 189, + 233 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 50 + } + } + } + ], + "kind": "const", + "range": [ + 183, + 234 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 51 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has onhashchange event\n ", + "range": [ + 236, + 287 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasHashChange", + "range": [ + 301, + 314 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 26 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "docMode", + "range": [ + 333, + 340 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 343, + 347 + ], + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "documentMode", + "range": [ + 348, + 360 + ], + "loc": { + "start": { + "line": 13, + "column": 23 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + "range": [ + 343, + 360 + ], + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 35 + } + } + }, + "range": [ + 333, + 360 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 329, + 361 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 36 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "in", + "left": { + "type": "Literal", + "value": "onhashchange", + "raw": "'onhashchange'", + "range": [ + 374, + 388 + ], + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + "right": { + "type": "Identifier", + "name": "root", + "range": [ + 392, + 396 + ], + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 34 + } + } + }, + "range": [ + 374, + 396 + ], + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 34 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "docMode", + "range": [ + 402, + 409 + ], + "loc": { + "start": { + "line": 14, + "column": 40 + }, + "end": { + "line": 14, + "column": 47 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 414, + 423 + ], + "loc": { + "start": { + "line": 14, + "column": 52 + }, + "end": { + "line": 14, + "column": 61 + } + } + }, + "range": [ + 402, + 423 + ], + "loc": { + "start": { + "line": 14, + "column": 40 + }, + "end": { + "line": 14, + "column": 61 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "docMode", + "range": [ + 427, + 434 + ], + "loc": { + "start": { + "line": 14, + "column": 65 + }, + "end": { + "line": 14, + "column": 72 + } + } + }, + "right": { + "type": "Literal", + "value": 7, + "raw": "7", + "range": [ + 437, + 438 + ], + "loc": { + "start": { + "line": 14, + "column": 75 + }, + "end": { + "line": 14, + "column": 76 + } + } + }, + "range": [ + 427, + 438 + ], + "loc": { + "start": { + "line": 14, + "column": 65 + }, + "end": { + "line": 14, + "column": 76 + } + } + }, + "range": [ + 402, + 438 + ], + "loc": { + "start": { + "line": 14, + "column": 40 + }, + "end": { + "line": 14, + "column": 76 + } + } + }, + "range": [ + 373, + 439 + ], + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 77 + } + } + }, + "range": [ + 366, + 440 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 78 + } + } + } + ], + "range": [ + 323, + 442 + ], + "loc": { + "start": { + "line": 12, + "column": 35 + }, + "end": { + "line": 15, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 317, + 442 + ], + "loc": { + "start": { + "line": 12, + "column": 29 + }, + "end": { + "line": 15, + "column": 1 + } + } + }, + "range": [ + 301, + 442 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 15, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 295, + 443 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 15, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has onhashchange event\n ", + "range": [ + 236, + 287 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ", + "range": [ + 445, + 519 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 288, + 443 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has onhashchange event\n ", + "range": [ + 236, + 287 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ", + "range": [ + 445, + 519 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Hash", + "range": [ + 533, + 537 + ], + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 649, + 660 + ], + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 661, + 666 + ], + "loc": { + "start": { + "line": 30, + "column": 16 + }, + "end": { + "line": 30, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 751, + 755 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 756, + 761 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "range": [ + 751, + 761 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "state", + "range": [ + 764, + 769 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 751, + 769 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 751, + 770 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * State object\n * @type {State}\n ", + "range": [ + 678, + 742 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ", + "range": [ + 780, + 880 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 889, + 893 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastHash", + "range": [ + 894, + 902 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + "range": [ + 889, + 902 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 905, + 909 + ], + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 28 + } + } + }, + "range": [ + 889, + 909 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 28 + } + } + }, + "range": [ + 889, + 910 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ", + "range": [ + 780, + 880 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Application event emitter instance\n * @type {Emitter}\n ", + "range": [ + 920, + 1008 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1017, + 1021 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1022, + 1029 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 20 + } + } + }, + "range": [ + 1017, + 1029 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 1032, + 1037 + ], + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1038, + 1045 + ], + "loc": { + "start": { + "line": 48, + "column": 29 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + "range": [ + 1032, + 1045 + ], + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + "range": [ + 1017, + 1045 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 36 + } + } + }, + "range": [ + 1017, + 1046 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Application event emitter instance\n * @type {Emitter}\n ", + "range": [ + 920, + 1008 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Bound sync wrapper for future use\n * @private\n ", + "range": [ + 1056, + 1136 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1145, + 1149 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 1150, + 1159 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + "range": [ + 1145, + 1159 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1162, + 1166 + ], + "loc": { + "start": { + "line": 54, + "column": 25 + }, + "end": { + "line": 54, + "column": 29 + } + } + }, + "range": [ + 1145, + 1166 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 29 + } + } + }, + "range": [ + 1145, + 1167 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Bound sync wrapper for future use\n * @private\n ", + "range": [ + 1056, + 1136 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 668, + 1173 + ], + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 660, + 1173 + ], + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 55, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 649, + 1173 + ], + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 55, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n ", + "range": [ + 545, + 644 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 29, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes the Hash object\n ", + "range": [ + 1179, + 1225 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 59, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 1230, + 1234 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "hasHashChange", + "range": [ + 1252, + 1265 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 1252, + 1267 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 1251, + 1267 + ], + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1283, + 1290 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 19 + } + } + } + ], + "range": [ + 1269, + 1300 + ], + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 63, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1247, + 1300 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 63, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1310, + 1314 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastHash", + "range": [ + 1315, + 1323 + ], + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + "range": [ + 1310, + 1323 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "location", + "range": [ + 1326, + 1334 + ], + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 1335, + 1339 + ], + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + "range": [ + 1326, + 1339 + ], + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + "range": [ + 1310, + 1339 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + "range": [ + 1310, + 1340 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 38 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Store a bound sync wrapper", + "range": [ + 1349, + 1377 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1386, + 1390 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 1391, + 1400 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 22 + } + } + }, + "range": [ + 1386, + 1400 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1403, + 1407 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "sync", + "range": [ + 1408, + 1412 + ], + "loc": { + "start": { + "line": 67, + "column": 30 + }, + "end": { + "line": 67, + "column": 34 + } + } + }, + "range": [ + 1403, + 1412 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 1413, + 1417 + ], + "loc": { + "start": { + "line": 67, + "column": 35 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + "range": [ + 1403, + 1417 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 1418, + 1422 + ], + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 44 + } + } + } + ], + "range": [ + 1403, + 1423 + ], + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 45 + } + } + }, + "range": [ + 1386, + 1423 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 45 + } + } + }, + "range": [ + 1386, + 1424 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Store a bound sync wrapper", + "range": [ + 1349, + 1377 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 36 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1433, + 1437 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1438, + 1445 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + "range": [ + 1433, + 1445 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1446, + 1448 + ], + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + "range": [ + 1433, + 1448 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "state-changed", + "raw": "'state-changed'", + "range": [ + 1450, + 1465 + ], + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 68, + "column": 40 + } + } + } + ], + "range": [ + 1449, + 1466 + ], + "loc": { + "start": { + "line": 68, + "column": 24 + }, + "end": { + "line": 68, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1469, + 1471 + ], + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 1473, + 1478 + ], + "loc": { + "start": { + "line": 68, + "column": 48 + }, + "end": { + "line": 68, + "column": 53 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1483, + 1487 + ], + "loc": { + "start": { + "line": 68, + "column": 58 + }, + "end": { + "line": 68, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 1488, + 1494 + ], + "loc": { + "start": { + "line": 68, + "column": 63 + }, + "end": { + "line": 68, + "column": 69 + } + } + }, + "range": [ + 1483, + 1494 + ], + "loc": { + "start": { + "line": 68, + "column": 58 + }, + "end": { + "line": 68, + "column": 69 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1495, + 1500 + ], + "loc": { + "start": { + "line": 68, + "column": 70 + }, + "end": { + "line": 68, + "column": 75 + } + } + } + ], + "range": [ + 1483, + 1501 + ], + "loc": { + "start": { + "line": 68, + "column": 58 + }, + "end": { + "line": 68, + "column": 76 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1468, + 1501 + ], + "loc": { + "start": { + "line": 68, + "column": 43 + }, + "end": { + "line": 68, + "column": 76 + } + } + } + ], + "range": [ + 1433, + 1502 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 77 + } + } + }, + "range": [ + 1433, + 1503 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 78 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1512, + 1516 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1517, + 1524 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 20 + } + } + }, + "range": [ + 1512, + 1524 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1525, + 1527 + ], + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 23 + } + } + }, + "range": [ + 1512, + 1527 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "initialized", + "raw": "'initialized'", + "range": [ + 1529, + 1542 + ], + "loc": { + "start": { + "line": 69, + "column": 25 + }, + "end": { + "line": 69, + "column": 38 + } + } + } + ], + "range": [ + 1528, + 1543 + ], + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1545, + 1549 + ], + "loc": { + "start": { + "line": 69, + "column": 41 + }, + "end": { + "line": 69, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 1550, + 1559 + ], + "loc": { + "start": { + "line": 69, + "column": 46 + }, + "end": { + "line": 69, + "column": 55 + } + } + }, + "range": [ + 1545, + 1559 + ], + "loc": { + "start": { + "line": 69, + "column": 41 + }, + "end": { + "line": 69, + "column": 55 + } + } + } + ], + "range": [ + 1512, + 1560 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 56 + } + } + }, + "range": [ + 1512, + 1561 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 1570, + 1576 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 1577, + 1581 + ], + "loc": { + "start": { + "line": 70, + "column": 15 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "hashchange", + "raw": "'hashchange'", + "range": [ + 1583, + 1595 + ], + "loc": { + "start": { + "line": 70, + "column": 21 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1597, + 1601 + ], + "loc": { + "start": { + "line": 70, + "column": 35 + }, + "end": { + "line": 70, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 1602, + 1611 + ], + "loc": { + "start": { + "line": 70, + "column": 40 + }, + "end": { + "line": 70, + "column": 49 + } + } + }, + "range": [ + 1597, + 1611 + ], + "loc": { + "start": { + "line": 70, + "column": 35 + }, + "end": { + "line": 70, + "column": 49 + } + } + } + ], + "range": [ + 1570, + 1612 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 50 + } + } + }, + "range": [ + 1570, + 1613 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 51 + } + } + } + ], + "range": [ + 1237, + 1619 + ], + "loc": { + "start": { + "line": 60, + "column": 11 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1234, + 1619 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1230, + 1619 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 71, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes the Hash object\n ", + "range": [ + 1179, + 1225 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 59, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1625, + 1741 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "update", + "range": [ + 1746, + 1752 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1753, + 1758 + ], + "loc": { + "start": { + "line": 78, + "column": 11 + }, + "end": { + "line": 78, + "column": 16 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hash", + "range": [ + 1774, + 1778 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "#", + "cooked": "#" + }, + "tail": false, + "range": [ + 1781, + 1785 + ], + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 1826, + 1828 + ], + "loc": { + "start": { + "line": 79, + "column": 64 + }, + "end": { + "line": 79, + "column": 66 + } + } + } + ], + "expressions": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "encodeURIComponent", + "range": [ + 1785, + 1803 + ], + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 1804, + 1808 + ], + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "stringify", + "range": [ + 1809, + 1818 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + "range": [ + 1804, + 1818 + ], + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1819, + 1824 + ], + "loc": { + "start": { + "line": 79, + "column": 57 + }, + "end": { + "line": 79, + "column": 62 + } + } + } + ], + "range": [ + 1804, + 1825 + ], + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 63 + } + } + } + ], + "range": [ + 1785, + 1826 + ], + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 64 + } + } + } + ], + "range": [ + 1781, + 1828 + ], + "loc": { + "start": { + "line": 79, + "column": 19 + }, + "end": { + "line": 79, + "column": 66 + } + } + }, + "range": [ + 1774, + 1828 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 66 + } + } + } + ], + "kind": "let", + "range": [ + 1770, + 1829 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 67 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1842, + 1846 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastHash", + "range": [ + 1847, + 1855 + ], + "loc": { + "start": { + "line": 80, + "column": 17 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + "range": [ + 1842, + 1855 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "hash", + "range": [ + 1860, + 1864 + ], + "loc": { + "start": { + "line": 80, + "column": 30 + }, + "end": { + "line": 80, + "column": 34 + } + } + }, + "range": [ + 1842, + 1864 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1880, + 1887 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 19 + } + } + } + ], + "range": [ + 1866, + 1897 + ], + "loc": { + "start": { + "line": 80, + "column": 36 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1838, + 1897 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "location", + "range": [ + 1907, + 1915 + ], + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 1916, + 1920 + ], + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 21 + } + } + }, + "range": [ + 1907, + 1920 + ], + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "hash", + "range": [ + 1923, + 1927 + ], + "loc": { + "start": { + "line": 84, + "column": 24 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + "range": [ + 1907, + 1927 + ], + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + "range": [ + 1907, + 1928 + ], + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1937, + 1941 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastHash", + "range": [ + 1942, + 1950 + ], + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + "range": [ + 1937, + 1950 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "hash", + "range": [ + 1953, + 1957 + ], + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + "range": [ + 1937, + 1957 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 28 + } + } + }, + "range": [ + 1937, + 1958 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 29 + } + } + } + ], + "range": [ + 1760, + 1964 + ], + "loc": { + "start": { + "line": 78, + "column": 18 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1752, + 1964 + ], + "loc": { + "start": { + "line": 78, + "column": 10 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1746, + 1964 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 86, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1625, + 1741 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ", + "range": [ + 1970, + 2123 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "parse", + "range": [ + 2128, + 2133 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "hash", + "range": [ + 2134, + 2138 + ], + "loc": { + "start": { + "line": 94, + "column": 10 + }, + "end": { + "line": 94, + "column": 14 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "hash", + "range": [ + 2154, + 2158 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 2159, + 2166 + ], + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "range": [ + 2154, + 2166 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "#", + "raw": "'#'", + "range": [ + 2167, + 2170 + ], + "loc": { + "start": { + "line": 95, + "column": 25 + }, + "end": { + "line": 95, + "column": 28 + } + } + } + ], + "range": [ + 2154, + 2171 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2177, + 2178 + ], + "loc": { + "start": { + "line": 95, + "column": 35 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + "prefix": true, + "range": [ + 2176, + 2178 + ], + "loc": { + "start": { + "line": 95, + "column": 34 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + "range": [ + 2154, + 2178 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2201, + 2205 + ], + "loc": { + "start": { + "line": 96, + "column": 19 + }, + "end": { + "line": 96, + "column": 23 + } + } + }, + "range": [ + 2194, + 2206 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 24 + } + } + } + ], + "range": [ + 2180, + 2216 + ], + "loc": { + "start": { + "line": 95, + "column": 38 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2150, + 2216 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "hash", + "range": [ + 2225, + 2229 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "hash", + "range": [ + 2232, + 2236 + ], + "loc": { + "start": { + "line": 98, + "column": 15 + }, + "end": { + "line": 98, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "substr", + "range": [ + 2237, + 2243 + ], + "loc": { + "start": { + "line": 98, + "column": 20 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "range": [ + 2232, + 2243 + ], + "loc": { + "start": { + "line": 98, + "column": 15 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 2244, + 2245 + ], + "loc": { + "start": { + "line": 98, + "column": 27 + }, + "end": { + "line": 98, + "column": 28 + } + } + } + ], + "range": [ + 2232, + 2246 + ], + "loc": { + "start": { + "line": 98, + "column": 15 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + "range": [ + 2225, + 2246 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 29 + } + } + }, + "range": [ + 2225, + 2247 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 30 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 2263, + 2267 + ], + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 2268, + 2273 + ], + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 25 + } + } + }, + "range": [ + 2263, + 2273 + ], + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "decodeURIComponent", + "range": [ + 2274, + 2292 + ], + "loc": { + "start": { + "line": 99, + "column": 26 + }, + "end": { + "line": 99, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "hash", + "range": [ + 2293, + 2297 + ], + "loc": { + "start": { + "line": 99, + "column": 45 + }, + "end": { + "line": 99, + "column": 49 + } + } + } + ], + "range": [ + 2274, + 2298 + ], + "loc": { + "start": { + "line": 99, + "column": 26 + }, + "end": { + "line": 99, + "column": 50 + } + } + } + ], + "range": [ + 2263, + 2299 + ], + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 51 + } + } + }, + "range": [ + 2256, + 2300 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 52 + } + } + } + ], + "range": [ + 2140, + 2306 + ], + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2133, + 2306 + ], + "loc": { + "start": { + "line": 94, + "column": 9 + }, + "end": { + "line": 100, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2128, + 2306 + ], + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 100, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ", + "range": [ + 1970, + 2123 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Applies current hash state to features\n ", + "range": [ + 2312, + 2369 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sync", + "range": [ + 2374, + 2378 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 2395, + 2400 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2403, + 2407 + ], + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 2408, + 2413 + ], + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + "range": [ + 2403, + 2413 + ], + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "location", + "range": [ + 2414, + 2422 + ], + "loc": { + "start": { + "line": 106, + "column": 31 + }, + "end": { + "line": 106, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 2423, + 2427 + ], + "loc": { + "start": { + "line": 106, + "column": 40 + }, + "end": { + "line": 106, + "column": 44 + } + } + }, + "range": [ + 2414, + 2427 + ], + "loc": { + "start": { + "line": 106, + "column": 31 + }, + "end": { + "line": 106, + "column": 44 + } + } + } + ], + "range": [ + 2403, + 2428 + ], + "loc": { + "start": { + "line": 106, + "column": 20 + }, + "end": { + "line": 106, + "column": 45 + } + } + }, + "range": [ + 2395, + 2428 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 2391, + 2429 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "state", + "range": [ + 2443, + 2448 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 18 + } + } + }, + "prefix": true, + "range": [ + 2442, + 2448 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 18 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2464, + 2471 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 19 + } + } + } + ], + "range": [ + 2450, + 2481 + ], + "loc": { + "start": { + "line": 107, + "column": 20 + }, + "end": { + "line": 109, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2438, + 2481 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 109, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2490, + 2552 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 70 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2561, + 2565 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 2566, + 2571 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 18 + } + } + }, + "range": [ + 2561, + 2571 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "overrideAndSync", + "range": [ + 2572, + 2587 + ], + "loc": { + "start": { + "line": 111, + "column": 19 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + "range": [ + 2561, + 2587 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 2588, + 2593 + ], + "loc": { + "start": { + "line": 111, + "column": 35 + }, + "end": { + "line": 111, + "column": 40 + } + } + } + ], + "range": [ + 2561, + 2594 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 41 + } + } + }, + "range": [ + 2561, + 2595 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2490, + 2552 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 70 + } + } + } + ] + } + ], + "range": [ + 2381, + 2601 + ], + "loc": { + "start": { + "line": 105, + "column": 11 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2378, + 2601 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2374, + 2601 + ], + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 112, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Applies current hash state to features\n ", + "range": [ + 2312, + 2369 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Release Hash event subscriptions and clear fields\n ", + "range": [ + 2607, + 2675 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 2680, + 2687 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2700, + 2704 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2705, + 2712 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "range": [ + 2700, + 2712 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 2713, + 2716 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "range": [ + 2700, + 2716 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "state-changed", + "raw": "'state-changed'", + "range": [ + 2718, + 2733 + ], + "loc": { + "start": { + "line": 118, + "column": 26 + }, + "end": { + "line": 118, + "column": 41 + } + } + } + ], + "range": [ + 2717, + 2734 + ], + "loc": { + "start": { + "line": 118, + "column": 25 + }, + "end": { + "line": 118, + "column": 42 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 2737, + 2739 + ], + "loc": { + "start": { + "line": 118, + "column": 45 + }, + "end": { + "line": 118, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 2741, + 2746 + ], + "loc": { + "start": { + "line": 118, + "column": 49 + }, + "end": { + "line": 118, + "column": 54 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2751, + 2755 + ], + "loc": { + "start": { + "line": 118, + "column": 59 + }, + "end": { + "line": 118, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 2756, + 2762 + ], + "loc": { + "start": { + "line": 118, + "column": 64 + }, + "end": { + "line": 118, + "column": 70 + } + } + }, + "range": [ + 2751, + 2762 + ], + "loc": { + "start": { + "line": 118, + "column": 59 + }, + "end": { + "line": 118, + "column": 70 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 2763, + 2768 + ], + "loc": { + "start": { + "line": 118, + "column": 71 + }, + "end": { + "line": 118, + "column": 76 + } + } + } + ], + "range": [ + 2751, + 2769 + ], + "loc": { + "start": { + "line": 118, + "column": 59 + }, + "end": { + "line": 118, + "column": 77 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2736, + 2769 + ], + "loc": { + "start": { + "line": 118, + "column": 44 + }, + "end": { + "line": 118, + "column": 77 + } + } + } + ], + "range": [ + 2700, + 2770 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 78 + } + } + }, + "range": [ + 2700, + 2771 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 79 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2780, + 2784 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2785, + 2792 + ], + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + "range": [ + 2780, + 2792 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 2793, + 2796 + ], + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + "range": [ + 2780, + 2796 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "initialized", + "raw": "'initialized'", + "range": [ + 2798, + 2811 + ], + "loc": { + "start": { + "line": 119, + "column": 26 + }, + "end": { + "line": 119, + "column": 39 + } + } + } + ], + "range": [ + 2797, + 2812 + ], + "loc": { + "start": { + "line": 119, + "column": 25 + }, + "end": { + "line": 119, + "column": 40 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2814, + 2818 + ], + "loc": { + "start": { + "line": 119, + "column": 42 + }, + "end": { + "line": 119, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 2819, + 2828 + ], + "loc": { + "start": { + "line": 119, + "column": 47 + }, + "end": { + "line": 119, + "column": 56 + } + } + }, + "range": [ + 2814, + 2828 + ], + "loc": { + "start": { + "line": 119, + "column": 42 + }, + "end": { + "line": 119, + "column": 56 + } + } + } + ], + "range": [ + 2780, + 2829 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 57 + } + } + }, + "range": [ + 2780, + 2830 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 2839, + 2848 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 2849, + 2853 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "hashchange", + "raw": "'hashchange'", + "range": [ + 2855, + 2867 + ], + "loc": { + "start": { + "line": 120, + "column": 24 + }, + "end": { + "line": 120, + "column": 36 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2869, + 2873 + ], + "loc": { + "start": { + "line": 120, + "column": 38 + }, + "end": { + "line": 120, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundSync", + "range": [ + 2874, + 2883 + ], + "loc": { + "start": { + "line": 120, + "column": 43 + }, + "end": { + "line": 120, + "column": 52 + } + } + }, + "range": [ + 2869, + 2883 + ], + "loc": { + "start": { + "line": 120, + "column": 38 + }, + "end": { + "line": 120, + "column": 52 + } + } + } + ], + "range": [ + 2839, + 2884 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 53 + } + } + }, + "range": [ + 2839, + 2885 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2895, + 2899 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 2900, + 2905 + ], + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 18 + } + } + }, + "range": [ + 2895, + 2905 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2908, + 2912 + ], + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 25 + } + } + }, + "range": [ + 2895, + 2912 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + }, + "range": [ + 2895, + 2913 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2922, + 2926 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastHash", + "range": [ + 2927, + 2935 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 21 + } + } + }, + "range": [ + 2922, + 2935 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2938, + 2942 + ], + "loc": { + "start": { + "line": 123, + "column": 24 + }, + "end": { + "line": 123, + "column": 28 + } + } + }, + "range": [ + 2922, + 2942 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 28 + } + } + }, + "range": [ + 2922, + 2943 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2952, + 2956 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2957, + 2964 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "range": [ + 2952, + 2964 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2967, + 2971 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + "range": [ + 2952, + 2971 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 27 + } + } + }, + "range": [ + 2952, + 2972 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 28 + } + } + } + ], + "range": [ + 2690, + 2978 + ], + "loc": { + "start": { + "line": 117, + "column": 14 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2687, + 2978 + ], + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 125, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2680, + 2978 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 125, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Release Hash event subscriptions and clear fields\n ", + "range": [ + 2607, + 2675 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 538, + 2980 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 126, + "column": 1 + } + } + }, + "range": [ + 527, + 2980 + ], + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ", + "range": [ + 445, + 519 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 520, + 2980 + ], + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ", + "range": [ + 445, + 519 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 2980 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has onhashchange event\n ", + "range": [ + 236, + 287 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n ", + "range": [ + 445, + 519 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n ", + "range": [ + 545, + 644 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * State object\n * @type {State}\n ", + "range": [ + 678, + 742 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Cached URL hash\n * @type {String} Hash string\n * @private\n ", + "range": [ + 780, + 880 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Application event emitter instance\n * @type {Emitter}\n ", + "range": [ + 920, + 1008 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Bound sync wrapper for future use\n * @private\n ", + "range": [ + 1056, + 1136 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 53, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes the Hash object\n ", + "range": [ + 1179, + 1225 + ], + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Store a bound sync wrapper", + "range": [ + 1349, + 1377 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 36 + } + } + }, + { + "type": "Block", + "value": "*\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1625, + 1741 + ], + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n ", + "range": [ + 1970, + 2123 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 93, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Applies current hash state to features\n ", + "range": [ + 2312, + 2369 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2490, + 2552 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 70 + } + } + }, + { + "type": "Block", + "value": "*\n * Release Hash event subscriptions and clear fields\n ", + "range": [ + 2607, + 2675 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/help.js.json b/docs/ast/source/modules/help.js.json new file mode 100644 index 00000000..4d52056a --- /dev/null +++ b/docs/ast/source/modules/help.js.json @@ -0,0 +1,13838 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 88, + 96 + ], + "loc": { + "start": { + "line": 2, + "column": 52 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + "range": [ + 36, + 97 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "range": [ + 106, + 112 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 114, + 123 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 114, + 123 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 114, + 123 + ], + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 125, + 134 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 125, + 134 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 36 + } + } + }, + "range": [ + 125, + 134 + ], + "loc": { + "start": { + "line": 3, + "column": 27 + }, + "end": { + "line": 3, + "column": 36 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 141, + 151 + ], + "loc": { + "start": { + "line": 3, + "column": 43 + }, + "end": { + "line": 3, + "column": 53 + } + } + }, + "range": [ + 98, + 152 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 161, + 165 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 161, + 165 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "range": [ + 161, + 165 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 172, + 182 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + "range": [ + 153, + 183 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 192, + 196 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 192, + 196 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 192, + 196 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 203, + 212 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + "range": [ + 184, + 213 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 222, + 229 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 222, + 229 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "range": [ + 222, + 229 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 236, + 246 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 32 + } + } + }, + "range": [ + 214, + 247 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 33 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 256, + 267 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 256, + 267 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "range": [ + 256, + 267 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 274, + 287 + ], + "loc": { + "start": { + "line": 7, + "column": 26 + }, + "end": { + "line": 7, + "column": 39 + } + } + }, + "range": [ + 248, + 288 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "WIKI_URL", + "range": [ + 296, + 304 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "https://github.com/koalyptus/TableFilter/wiki/", + "raw": "'https://github.com/koalyptus/TableFilter/wiki/'", + "range": [ + 307, + 355 + ], + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 65 + } + } + }, + "right": { + "type": "Literal", + "value": "4.-Filter-operators", + "raw": "'4.-Filter-operators'", + "range": [ + 362, + 383 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + "range": [ + 307, + 383 + ], + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + "range": [ + 296, + 383 + ], + "loc": { + "start": { + "line": 9, + "column": 6 + }, + "end": { + "line": 10, + "column": 25 + } + } + } + ], + "kind": "const", + "range": [ + 290, + 384 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 10, + "column": 26 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "WEBSITE_URL", + "range": [ + 391, + 402 + ], + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": "http://koalyptus.github.io/TableFilter/", + "raw": "'http://koalyptus.github.io/TableFilter/'", + "range": [ + 405, + 446 + ], + "loc": { + "start": { + "line": 11, + "column": 20 + }, + "end": { + "line": 11, + "column": 61 + } + } + }, + "range": [ + 391, + 446 + ], + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 61 + } + } + } + ], + "kind": "const", + "range": [ + 385, + 447 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 62 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Help UI component\n ", + "range": [ + 449, + 477 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Help", + "range": [ + 491, + 495 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 17 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 504, + 511 + ], + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 622, + 633 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 634, + 636 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 648, + 653 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 654, + 656 + ], + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "help", + "raw": "'help'", + "range": [ + 658, + 664 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 24 + } + } + } + ], + "range": [ + 648, + 665 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + "range": [ + 648, + 666 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 26 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 680, + 681 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 684, + 688 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 689, + 695 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "range": [ + 684, + 695 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "help_instructions", + "range": [ + 696, + 713 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "range": [ + 684, + 713 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 717, + 719 + ], + "loc": { + "start": { + "line": 25, + "column": 49 + }, + "end": { + "line": 25, + "column": 51 + } + } + }, + "range": [ + 684, + 719 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 51 + } + } + }, + "range": [ + 680, + 719 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 676, + 720 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of main custom container element\n * @type {String}\n ", + "range": [ + 730, + 818 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 827, + 831 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 832, + 837 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 18 + } + } + }, + "range": [ + 827, + 837 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 840, + 851 + ], + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 852, + 853 + ], + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "target_id", + "range": [ + 854, + 863 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + "range": [ + 852, + 863 + ], + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 865, + 869 + ], + "loc": { + "start": { + "line": 31, + "column": 46 + }, + "end": { + "line": 31, + "column": 50 + } + } + } + ], + "range": [ + 840, + 870 + ], + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 51 + } + } + }, + "range": [ + 827, + 870 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 51 + } + } + }, + "range": [ + 827, + 871 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of main custom container element\n * @type {String}\n ", + "range": [ + 730, + 818 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element for instructions\n * @type {String}\n ", + "range": [ + 881, + 981 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 990, + 994 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contTgtId", + "range": [ + 995, + 1004 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + "range": [ + 990, + 1004 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1007, + 1018 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1019, + 1020 + ], + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "container_target_id", + "range": [ + 1021, + 1040 + ], + "loc": { + "start": { + "line": 37, + "column": 39 + }, + "end": { + "line": 37, + "column": 58 + } + } + }, + "range": [ + 1019, + 1040 + ], + "loc": { + "start": { + "line": 37, + "column": 37 + }, + "end": { + "line": 37, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1042, + 1046 + ], + "loc": { + "start": { + "line": 37, + "column": 60 + }, + "end": { + "line": 37, + "column": 64 + } + } + } + ], + "range": [ + 1007, + 1047 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 65 + } + } + }, + "range": [ + 990, + 1047 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 65 + } + } + }, + "range": [ + 990, + 1048 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element for instructions\n * @type {String}\n ", + "range": [ + 881, + 981 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Instructions text (accepts HTML)\n * @type {String}\n ", + "range": [ + 1058, + 1143 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1152, + 1156 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "instrText", + "range": [ + 1157, + 1166 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + "range": [ + 1152, + 1166 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 1170, + 1177 + ], + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1178, + 1179 + ], + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1180, + 1184 + ], + "loc": { + "start": { + "line": 43, + "column": 36 + }, + "end": { + "line": 43, + "column": 40 + } + } + }, + "range": [ + 1178, + 1184 + ], + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 40 + } + } + } + ], + "range": [ + 1170, + 1185 + ], + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 41 + } + } + }, + "prefix": true, + "range": [ + 1169, + 1185 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 41 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1188, + 1189 + ], + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1190, + 1194 + ], + "loc": { + "start": { + "line": 43, + "column": 46 + }, + "end": { + "line": 43, + "column": 50 + } + } + }, + "range": [ + 1188, + 1194 + ], + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 50 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "Use the filters above each column to filter and limit table ", + "raw": "'Use the filters above each column to filter and limit table '", + "range": [ + 1209, + 1271 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 74 + } + } + }, + "right": { + "type": "Literal", + "value": "data. Advanced searches can be performed by using the following ", + "raw": "'data. Advanced searches can be performed by using the following '", + "range": [ + 1286, + 1352 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 78 + } + } + }, + "range": [ + 1209, + 1352 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 45, + "column": 78 + } + } + }, + "right": { + "type": "Literal", + "value": "operators:
<, <=, >, ", + "raw": "'operators:
<, <=, >, '", + "range": [ + 1367, + 1426 + ], + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 71 + } + } + }, + "range": [ + 1209, + 1426 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 46, + "column": 71 + } + } + }, + "right": { + "type": "Literal", + "value": ">=, =, *, !, {, }, ", + "raw": "'>=, =, *, !, {, }, '", + "range": [ + 1441, + 1507 + ], + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 78 + } + } + }, + "range": [ + 1209, + 1507 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 47, + "column": 78 + } + } + }, + "right": { + "type": "Literal", + "value": "||,&&, [empty], [nonempty], ", + "raw": "'||,&&, [empty], [nonempty], '", + "range": [ + 1522, + 1588 + ], + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 78 + } + } + }, + "range": [ + 1209, + 1588 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 48, + "column": 78 + } + } + }, + "right": { + "type": "Literal", + "value": "rgx:
rgx:
", + "raw": "'\" target=\"_blank\">'", + "range": [ + 1644, + 1664 + ], + "loc": { + "start": { + "line": 49, + "column": 53 + }, + "end": { + "line": 49, + "column": 73 + } + } + }, + "range": [ + 1209, + 1664 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 49, + "column": 73 + } + } + }, + "right": { + "type": "Literal", + "value": "Learn more
", + "raw": "'Learn more
'", + "range": [ + 1679, + 1700 + ], + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + "range": [ + 1209, + 1700 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + "range": [ + 1169, + 1700 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + "range": [ + 1152, + 1700 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 50, + "column": 33 + } + } + }, + "range": [ + 1152, + 1701 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 50, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Instructions text (accepts HTML)\n * @type {String}\n ", + "range": [ + 1058, + 1143 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Instructions HTML\n * @type {String}\n ", + "range": [ + 1711, + 1781 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1790, + 1794 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "instrHtml", + "range": [ + 1795, + 1804 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 22 + } + } + }, + "range": [ + 1790, + 1804 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1807, + 1818 + ], + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1819, + 1820 + ], + "loc": { + "start": { + "line": 56, + "column": 37 + }, + "end": { + "line": 56, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 1821, + 1825 + ], + "loc": { + "start": { + "line": 56, + "column": 39 + }, + "end": { + "line": 56, + "column": 43 + } + } + }, + "range": [ + 1819, + 1825 + ], + "loc": { + "start": { + "line": 56, + "column": 37 + }, + "end": { + "line": 56, + "column": 43 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1827, + 1831 + ], + "loc": { + "start": { + "line": 56, + "column": 45 + }, + "end": { + "line": 56, + "column": 49 + } + } + } + ], + "range": [ + 1807, + 1832 + ], + "loc": { + "start": { + "line": 56, + "column": 25 + }, + "end": { + "line": 56, + "column": 50 + } + } + }, + "range": [ + 1790, + 1832 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 50 + } + } + }, + "range": [ + 1790, + 1833 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Instructions HTML\n * @type {String}\n ", + "range": [ + 1711, + 1781 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Help button text ('?')\n * @type {String}\n ", + "range": [ + 1843, + 1918 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1927, + 1931 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 1932, + 1939 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + "range": [ + 1927, + 1939 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1942, + 1953 + ], + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1954, + 1955 + ], + "loc": { + "start": { + "line": 62, + "column": 35 + }, + "end": { + "line": 62, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_text", + "range": [ + 1956, + 1964 + ], + "loc": { + "start": { + "line": 62, + "column": 37 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + "range": [ + 1954, + 1964 + ], + "loc": { + "start": { + "line": 62, + "column": 35 + }, + "end": { + "line": 62, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "?", + "raw": "'?'", + "range": [ + 1966, + 1969 + ], + "loc": { + "start": { + "line": 62, + "column": 47 + }, + "end": { + "line": 62, + "column": 50 + } + } + } + ], + "range": [ + 1942, + 1970 + ], + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 51 + } + } + }, + "range": [ + 1927, + 1970 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 51 + } + } + }, + "range": [ + 1927, + 1971 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Help button text ('?')\n * @type {String}\n ", + "range": [ + 1843, + 1918 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Custom help button HTML\n * @type {String}\n ", + "range": [ + 1981, + 2057 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2066, + 2070 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 2071, + 2078 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + "range": [ + 2066, + 2078 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2081, + 2092 + ], + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2093, + 2094 + ], + "loc": { + "start": { + "line": 68, + "column": 35 + }, + "end": { + "line": 68, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_html", + "range": [ + 2095, + 2103 + ], + "loc": { + "start": { + "line": 68, + "column": 37 + }, + "end": { + "line": 68, + "column": 45 + } + } + }, + "range": [ + 2093, + 2103 + ], + "loc": { + "start": { + "line": 68, + "column": 35 + }, + "end": { + "line": 68, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2105, + 2109 + ], + "loc": { + "start": { + "line": 68, + "column": 47 + }, + "end": { + "line": 68, + "column": 51 + } + } + } + ], + "range": [ + 2081, + 2110 + ], + "loc": { + "start": { + "line": 68, + "column": 23 + }, + "end": { + "line": 68, + "column": 52 + } + } + }, + "range": [ + 2066, + 2110 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 52 + } + } + }, + "range": [ + 2066, + 2111 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Custom help button HTML\n * @type {String}\n ", + "range": [ + 1981, + 2057 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for help button\n * @type {String}\n ", + "range": [ + 2121, + 2199 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2208, + 2212 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 2213, + 2224 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + "range": [ + 2208, + 2224 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2227, + 2238 + ], + "loc": { + "start": { + "line": 74, + "column": 27 + }, + "end": { + "line": 74, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2239, + 2240 + ], + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_css_class", + "range": [ + 2241, + 2254 + ], + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 54 + } + } + }, + "range": [ + 2239, + 2254 + ], + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "helpBtn", + "raw": "'helpBtn'", + "range": [ + 2256, + 2265 + ], + "loc": { + "start": { + "line": 74, + "column": 56 + }, + "end": { + "line": 74, + "column": 65 + } + } + } + ], + "range": [ + 2227, + 2266 + ], + "loc": { + "start": { + "line": 74, + "column": 27 + }, + "end": { + "line": 74, + "column": 66 + } + } + }, + "range": [ + 2208, + 2266 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 66 + } + } + }, + "range": [ + 2208, + 2267 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for help button\n * @type {String}\n ", + "range": [ + 2121, + 2199 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for help container element\n * @type {String}\n ", + "range": [ + 2277, + 2366 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2375, + 2379 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 2380, + 2392 + ], + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + "range": [ + 2375, + 2392 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2395, + 2406 + ], + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2407, + 2408 + ], + "loc": { + "start": { + "line": 80, + "column": 40 + }, + "end": { + "line": 80, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "container_css_class", + "range": [ + 2409, + 2428 + ], + "loc": { + "start": { + "line": 80, + "column": 42 + }, + "end": { + "line": 80, + "column": 61 + } + } + }, + "range": [ + 2407, + 2428 + ], + "loc": { + "start": { + "line": 80, + "column": 40 + }, + "end": { + "line": 80, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": "helpCont", + "raw": "'helpCont'", + "range": [ + 2430, + 2440 + ], + "loc": { + "start": { + "line": 80, + "column": 63 + }, + "end": { + "line": 80, + "column": 73 + } + } + } + ], + "range": [ + 2395, + 2441 + ], + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 74 + } + } + }, + "range": [ + 2375, + 2441 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 74 + } + } + }, + "range": [ + 2375, + 2442 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for help container element\n * @type {String}\n ", + "range": [ + 2277, + 2366 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Button DOM element\n * @type {DOMElement}\n ", + "range": [ + 2452, + 2527 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 85, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2536, + 2540 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 2541, + 2544 + ], + "loc": { + "start": { + "line": 86, + "column": 13 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + "range": [ + 2536, + 2544 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2547, + 2551 + ], + "loc": { + "start": { + "line": 86, + "column": 19 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + "range": [ + 2536, + 2551 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + "range": [ + 2536, + 2552 + ], + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Button DOM element\n * @type {DOMElement}\n ", + "range": [ + 2452, + 2527 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 85, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Help container DOM element\n * @type {DOMElement}\n ", + "range": [ + 2562, + 2645 + ], + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 91, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2654, + 2658 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 2659, + 2663 + ], + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + "range": [ + 2654, + 2663 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2666, + 2670 + ], + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + "range": [ + 2654, + 2670 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + "range": [ + 2654, + 2671 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Help container DOM element\n * @type {DOMElement}\n ", + "range": [ + 2562, + 2645 + ], + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 91, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 2681, + 2749 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 97, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2758, + 2762 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 2763, + 2775 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 25 + } + } + }, + "range": [ + 2758, + 2775 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2778, + 2782 + ], + "loc": { + "start": { + "line": 98, + "column": 28 + }, + "end": { + "line": 98, + "column": 32 + } + } + }, + "range": [ + 2758, + 2782 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 32 + } + } + }, + "range": [ + 2758, + 2783 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 2681, + 2749 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 97, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Default HTML appended to instructions text\n * @type {String}\n ", + "range": [ + 2793, + 2888 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 103, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2897, + 2901 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultHtml", + "range": [ + 2902, + 2913 + ], + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 24 + } + } + }, + "range": [ + 2897, + 2913 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "

TableFilter ", + "raw": "'

TableFilter '", + "range": [ + 2916, + 2958 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 104, + "column": 69 + } + } + }, + "right": { + "type": "Literal", + "value": "v", + "raw": "'v'", + "range": [ + 2973, + 2976 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 15 + } + } + }, + "range": [ + 2916, + 2976 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 105, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2979, + 2981 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "version", + "range": [ + 2982, + 2989 + ], + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 28 + } + } + }, + "range": [ + 2979, + 2989 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 28 + } + } + }, + "range": [ + 2916, + 2989 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 105, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": "

", + "raw": "'

'", + "range": [ + 2992, + 2999 + ], + "loc": { + "start": { + "line": 105, + "column": 31 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "range": [ + 2916, + 2999 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "'\" target=\"_blank\">'", + "range": [ + 3042, + 3062 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 32 + } + } + }, + "range": [ + 2916, + 3062 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 106, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "WEBSITE_URL", + "range": [ + 3065, + 3076 + ], + "loc": { + "start": { + "line": 106, + "column": 35 + }, + "end": { + "line": 106, + "column": 46 + } + } + }, + "range": [ + 2916, + 3076 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 106, + "column": 46 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 3079, + 3085 + ], + "loc": { + "start": { + "line": 106, + "column": 49 + }, + "end": { + "line": 106, + "column": 55 + } + } + }, + "range": [ + 2916, + 3085 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 106, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": "
©2015-", + "raw": "'
©2015-'", + "range": [ + 3100, + 3124 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 36 + } + } + }, + "range": [ + 2916, + 3124 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 107, + "column": 36 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3127, + 3129 + ], + "loc": { + "start": { + "line": 107, + "column": 39 + }, + "end": { + "line": 107, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "year", + "range": [ + 3130, + 3134 + ], + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + "range": [ + 3127, + 3134 + ], + "loc": { + "start": { + "line": 107, + "column": 39 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + "range": [ + 2916, + 3134 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + "right": { + "type": "Literal", + "value": " {AUTHOR}", + "raw": "' {AUTHOR}
'", + "range": [ + 3137, + 3155 + ], + "loc": { + "start": { + "line": 107, + "column": 49 + }, + "end": { + "line": 107, + "column": 67 + } + } + }, + "range": [ + 2916, + 3155 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 107, + "column": 67 + } + } + }, + "right": { + "type": "Literal", + "value": "
", + "raw": "'
'", + "range": [ + 3170, + 3216 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 58 + } + } + }, + "range": [ + 2916, + 3216 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 108, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": "Close
", + "raw": "'Close
'", + "range": [ + 3231, + 3298 + ], + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 79 + } + } + }, + "range": [ + 2916, + 3298 + ], + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 109, + "column": 79 + } + } + }, + "range": [ + 2897, + 3298 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 109, + "column": 79 + } + } + }, + "range": [ + 2897, + 3299 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 109, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Default HTML appended to instructions text\n * @type {String}\n ", + "range": [ + 2793, + 2888 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 103, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3309, + 3313 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3314, + 3321 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 20 + } + } + }, + "range": [ + 3309, + 3321 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3322, + 3324 + ], + "loc": { + "start": { + "line": 111, + "column": 21 + }, + "end": { + "line": 111, + "column": 23 + } + } + }, + "range": [ + 3309, + 3324 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "init-help", + "raw": "'init-help'", + "range": [ + 3326, + 3337 + ], + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 36 + } + } + } + ], + "range": [ + 3325, + 3338 + ], + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 111, + "column": 37 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3346, + 3350 + ], + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 3351, + 3355 + ], + "loc": { + "start": { + "line": 111, + "column": 50 + }, + "end": { + "line": 111, + "column": 54 + } + } + }, + "range": [ + 3346, + 3355 + ], + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 54 + } + } + }, + "arguments": [], + "range": [ + 3346, + 3357 + ], + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 56 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3340, + 3357 + ], + "loc": { + "start": { + "line": 111, + "column": 39 + }, + "end": { + "line": 111, + "column": 56 + } + } + } + ], + "range": [ + 3309, + 3358 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 57 + } + } + }, + "range": [ + 3309, + 3359 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 58 + } + } + } + ], + "range": [ + 638, + 3365 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 633, + 3365 + ], + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 622, + 3365 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 112, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Help\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 519, + 617 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 3371, + 3464 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 3469, + 3478 + ], + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 118, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3479, + 3482 + ], + "loc": { + "start": { + "line": 118, + "column": 14 + }, + "end": { + "line": 118, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3498, + 3507 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 3510, + 3519 + ], + "loc": { + "start": { + "line": 119, + "column": 24 + }, + "end": { + "line": 119, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3520, + 3523 + ], + "loc": { + "start": { + "line": 119, + "column": 34 + }, + "end": { + "line": 119, + "column": 37 + } + } + } + ], + "range": [ + 3510, + 3524 + ], + "loc": { + "start": { + "line": 119, + "column": 24 + }, + "end": { + "line": 119, + "column": 38 + } + } + }, + "range": [ + 3498, + 3524 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 3494, + 3525 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 39 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3542, + 3551 + ], + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3555, + 3564 + ], + "loc": { + "start": { + "line": 121, + "column": 28 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3569, + 3573 + ], + "loc": { + "start": { + "line": 121, + "column": 42 + }, + "end": { + "line": 121, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3574, + 3578 + ], + "loc": { + "start": { + "line": 121, + "column": 47 + }, + "end": { + "line": 121, + "column": 51 + } + } + }, + "range": [ + 3569, + 3578 + ], + "loc": { + "start": { + "line": 121, + "column": 42 + }, + "end": { + "line": 121, + "column": 51 + } + } + }, + "range": [ + 3555, + 3578 + ], + "loc": { + "start": { + "line": 121, + "column": 28 + }, + "end": { + "line": 121, + "column": 51 + } + } + }, + "range": [ + 3542, + 3578 + ], + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 51 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3582, + 3591 + ], + "loc": { + "start": { + "line": 121, + "column": 55 + }, + "end": { + "line": 121, + "column": 64 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3596, + 3600 + ], + "loc": { + "start": { + "line": 121, + "column": 69 + }, + "end": { + "line": 121, + "column": 73 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 3601, + 3604 + ], + "loc": { + "start": { + "line": 121, + "column": 74 + }, + "end": { + "line": 121, + "column": 77 + } + } + }, + "range": [ + 3596, + 3604 + ], + "loc": { + "start": { + "line": 121, + "column": 69 + }, + "end": { + "line": 121, + "column": 77 + } + } + }, + "range": [ + 3582, + 3604 + ], + "loc": { + "start": { + "line": 121, + "column": 55 + }, + "end": { + "line": 121, + "column": 77 + } + } + }, + "range": [ + 3542, + 3604 + ], + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 77 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3620, + 3629 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3632, + 3641 + ], + "loc": { + "start": { + "line": 122, + "column": 24 + }, + "end": { + "line": 122, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 3642, + 3652 + ], + "loc": { + "start": { + "line": 122, + "column": 34 + }, + "end": { + "line": 122, + "column": 44 + } + } + }, + "range": [ + 3632, + 3652 + ], + "loc": { + "start": { + "line": 122, + "column": 24 + }, + "end": { + "line": 122, + "column": 44 + } + } + }, + "range": [ + 3620, + 3652 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 44 + } + } + }, + "range": [ + 3620, + 3653 + ], + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 45 + } + } + } + ], + "range": [ + 3606, + 3663 + ], + "loc": { + "start": { + "line": 121, + "column": 79 + }, + "end": { + "line": 123, + "column": 9 + } + } + }, + "range": [ + 3535, + 3663 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 123, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3677, + 3686 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3691, + 3695 + ], + "loc": { + "start": { + "line": 125, + "column": 26 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3696, + 3700 + ], + "loc": { + "start": { + "line": 125, + "column": 31 + }, + "end": { + "line": 125, + "column": 35 + } + } + }, + "range": [ + 3691, + 3700 + ], + "loc": { + "start": { + "line": 125, + "column": 26 + }, + "end": { + "line": 125, + "column": 35 + } + } + }, + "range": [ + 3677, + 3700 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 3704, + 3713 + ], + "loc": { + "start": { + "line": 125, + "column": 39 + }, + "end": { + "line": 125, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3718, + 3722 + ], + "loc": { + "start": { + "line": 125, + "column": 53 + }, + "end": { + "line": 125, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 3723, + 3726 + ], + "loc": { + "start": { + "line": 125, + "column": 58 + }, + "end": { + "line": 125, + "column": 61 + } + } + }, + "range": [ + 3718, + 3726 + ], + "loc": { + "start": { + "line": 125, + "column": 53 + }, + "end": { + "line": 125, + "column": 61 + } + } + }, + "range": [ + 3704, + 3726 + ], + "loc": { + "start": { + "line": 125, + "column": 39 + }, + "end": { + "line": 125, + "column": 61 + } + } + }, + "range": [ + 3677, + 3726 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 61 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3742, + 3746 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 3747, + 3753 + ], + "loc": { + "start": { + "line": 126, + "column": 17 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "range": [ + 3742, + 3753 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 3742, + 3755 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 25 + } + } + }, + "range": [ + 3742, + 3756 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 26 + } + } + } + ], + "range": [ + 3728, + 3766 + ], + "loc": { + "start": { + "line": 125, + "column": 63 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3673, + 3766 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3776, + 3783 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 15 + } + } + } + ], + "range": [ + 3484, + 3789 + ], + "loc": { + "start": { + "line": 118, + "column": 19 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3478, + 3789 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3469, + 3789 + ], + "loc": { + "start": { + "line": 118, + "column": 4 + }, + "end": { + "line": 130, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 3371, + 3464 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialise Help instance\n ", + "range": [ + 3795, + 3838 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 3843, + 3847 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 135, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3864, + 3868 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3869, + 3880 + ], + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 28 + } + } + }, + "range": [ + 3864, + 3880 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3896, + 3903 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 19 + } + } + } + ], + "range": [ + 3882, + 3913 + ], + "loc": { + "start": { + "line": 136, + "column": 30 + }, + "end": { + "line": 138, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3860, + 3913 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 138, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 3927, + 3929 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3932, + 3936 + ], + "loc": { + "start": { + "line": 140, + "column": 17 + }, + "end": { + "line": 140, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3937, + 3939 + ], + "loc": { + "start": { + "line": 140, + "column": 22 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + "range": [ + 3932, + 3939 + ], + "loc": { + "start": { + "line": 140, + "column": 17 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + "range": [ + 3927, + 3939 + ], + "loc": { + "start": { + "line": 140, + "column": 12 + }, + "end": { + "line": 140, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3923, + 3940 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btn", + "range": [ + 3954, + 3957 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3960, + 3969 + ], + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 3970, + 3976 + ], + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 34 + } + } + } + ], + "range": [ + 3960, + 3977 + ], + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 35 + } + } + }, + "range": [ + 3954, + 3977 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 3950, + 3978 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 36 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 3991, + 3995 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 3998, + 4007 + ], + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 4008, + 4013 + ], + "loc": { + "start": { + "line": 143, + "column": 29 + }, + "end": { + "line": 143, + "column": 34 + } + } + } + ], + "range": [ + 3998, + 4014 + ], + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 35 + } + } + }, + "range": [ + 3991, + 4014 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 3987, + 4015 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 143, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4025, + 4029 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 4030, + 4042 + ], + "loc": { + "start": { + "line": 145, + "column": 13 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + "range": [ + 4025, + 4042 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4045, + 4049 + ], + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 4050, + 4059 + ], + "loc": { + "start": { + "line": 145, + "column": 33 + }, + "end": { + "line": 145, + "column": 42 + } + } + }, + "range": [ + 4045, + 4059 + ], + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 4060, + 4064 + ], + "loc": { + "start": { + "line": 145, + "column": 43 + }, + "end": { + "line": 145, + "column": 47 + } + } + }, + "range": [ + 4045, + 4064 + ], + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 4065, + 4069 + ], + "loc": { + "start": { + "line": 145, + "column": 48 + }, + "end": { + "line": 145, + "column": 52 + } + } + } + ], + "range": [ + 4045, + 4070 + ], + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 53 + } + } + }, + "range": [ + 4025, + 4070 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 53 + } + } + }, + "range": [ + 4025, + 4071 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "help button is added to defined element", + "range": [ + 4081, + 4122 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 49 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4136, + 4140 + ], + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 4141, + 4146 + ], + "loc": { + "start": { + "line": 148, + "column": 18 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + "range": [ + 4136, + 4146 + ], + "loc": { + "start": { + "line": 148, + "column": 13 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 4135, + 4146 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4162, + 4164 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 4165, + 4175 + ], + "loc": { + "start": { + "line": 149, + "column": 15 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + "range": [ + 4162, + 4175 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 4162, + 4177 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 27 + } + } + }, + "range": [ + 4162, + 4178 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 28 + } + } + } + ], + "range": [ + 4148, + 4188 + ], + "loc": { + "start": { + "line": 148, + "column": 25 + }, + "end": { + "line": 150, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4131, + 4188 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 150, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "help button is added to defined element", + "range": [ + 4081, + 4122 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 49 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 4201, + 4209 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4213, + 4217 + ], + "loc": { + "start": { + "line": 151, + "column": 24 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 4218, + 4223 + ], + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + "range": [ + 4213, + 4223 + ], + "loc": { + "start": { + "line": 151, + "column": 24 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 4212, + 4223 + ], + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4226, + 4228 + ], + "loc": { + "start": { + "line": 151, + "column": 37 + }, + "end": { + "line": 151, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 4229, + 4233 + ], + "loc": { + "start": { + "line": 151, + "column": 40 + }, + "end": { + "line": 151, + "column": 44 + } + } + }, + "range": [ + 4226, + 4233 + ], + "loc": { + "start": { + "line": 151, + "column": 37 + }, + "end": { + "line": 151, + "column": 44 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 4236, + 4239 + ], + "loc": { + "start": { + "line": 151, + "column": 47 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4240, + 4244 + ], + "loc": { + "start": { + "line": 151, + "column": 51 + }, + "end": { + "line": 151, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 4245, + 4250 + ], + "loc": { + "start": { + "line": 151, + "column": 56 + }, + "end": { + "line": 151, + "column": 61 + } + } + }, + "range": [ + 4240, + 4250 + ], + "loc": { + "start": { + "line": 151, + "column": 51 + }, + "end": { + "line": 151, + "column": 61 + } + } + } + ], + "range": [ + 4236, + 4251 + ], + "loc": { + "start": { + "line": 151, + "column": 47 + }, + "end": { + "line": 151, + "column": 62 + } + } + }, + "range": [ + 4212, + 4251 + ], + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 62 + } + } + }, + "range": [ + 4201, + 4251 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 4197, + 4252 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 4261, + 4269 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4270, + 4281 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "range": [ + 4261, + 4281 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 4282, + 4285 + ], + "loc": { + "start": { + "line": 152, + "column": 29 + }, + "end": { + "line": 152, + "column": 32 + } + } + } + ], + "range": [ + 4261, + 4286 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 33 + } + } + }, + "range": [ + 4261, + 4287 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "divContainer", + "range": [ + 4301, + 4313 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 24 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4317, + 4321 + ], + "loc": { + "start": { + "line": 154, + "column": 28 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "contTgtId", + "range": [ + 4322, + 4331 + ], + "loc": { + "start": { + "line": 154, + "column": 33 + }, + "end": { + "line": 154, + "column": 42 + } + } + }, + "range": [ + 4317, + 4331 + ], + "loc": { + "start": { + "line": 154, + "column": 28 + }, + "end": { + "line": 154, + "column": 42 + } + } + }, + "prefix": true, + "range": [ + 4316, + 4331 + ], + "loc": { + "start": { + "line": 154, + "column": 27 + }, + "end": { + "line": 154, + "column": 42 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "btn", + "range": [ + 4334, + 4337 + ], + "loc": { + "start": { + "line": 154, + "column": 45 + }, + "end": { + "line": 154, + "column": 48 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 4340, + 4343 + ], + "loc": { + "start": { + "line": 154, + "column": 51 + }, + "end": { + "line": 154, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4344, + 4348 + ], + "loc": { + "start": { + "line": 154, + "column": 55 + }, + "end": { + "line": 154, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "contTgtId", + "range": [ + 4349, + 4358 + ], + "loc": { + "start": { + "line": 154, + "column": 60 + }, + "end": { + "line": 154, + "column": 69 + } + } + }, + "range": [ + 4344, + 4358 + ], + "loc": { + "start": { + "line": 154, + "column": 55 + }, + "end": { + "line": 154, + "column": 69 + } + } + } + ], + "range": [ + 4340, + 4359 + ], + "loc": { + "start": { + "line": 154, + "column": 51 + }, + "end": { + "line": 154, + "column": 70 + } + } + }, + "range": [ + 4316, + 4359 + ], + "loc": { + "start": { + "line": 154, + "column": 27 + }, + "end": { + "line": 154, + "column": 70 + } + } + }, + "range": [ + 4301, + 4359 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 70 + } + } + } + ], + "kind": "let", + "range": [ + 4297, + 4360 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 71 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4375, + 4379 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 4380, + 4387 + ], + "loc": { + "start": { + "line": 156, + "column": 18 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "range": [ + 4375, + 4387 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 4374, + 4387 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "divContainer", + "range": [ + 4403, + 4415 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4416, + 4427 + ], + "loc": { + "start": { + "line": 157, + "column": 25 + }, + "end": { + "line": 157, + "column": 36 + } + } + }, + "range": [ + 4403, + 4427 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 4428, + 4432 + ], + "loc": { + "start": { + "line": 157, + "column": 37 + }, + "end": { + "line": 157, + "column": 41 + } + } + } + ], + "range": [ + 4403, + 4433 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 42 + } + } + }, + "range": [ + 4403, + 4434 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 43 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "helplink", + "range": [ + 4451, + 4459 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4462, + 4471 + ], + "loc": { + "start": { + "line": 158, + "column": 27 + }, + "end": { + "line": 158, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "a", + "raw": "'a'", + "range": [ + 4472, + 4475 + ], + "loc": { + "start": { + "line": 158, + "column": 37 + }, + "end": { + "line": 158, + "column": 40 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 4478, + 4484 + ], + "loc": { + "start": { + "line": 158, + "column": 43 + }, + "end": { + "line": 158, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "javascript:void(0);", + "raw": "'javascript:void(0);'", + "range": [ + 4486, + 4507 + ], + "loc": { + "start": { + "line": 158, + "column": 51 + }, + "end": { + "line": 158, + "column": 72 + } + } + } + ], + "range": [ + 4477, + 4508 + ], + "loc": { + "start": { + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 73 + } + } + } + ], + "range": [ + 4462, + 4509 + ], + "loc": { + "start": { + "line": 158, + "column": 27 + }, + "end": { + "line": 158, + "column": 74 + } + } + }, + "range": [ + 4451, + 4509 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 158, + "column": 74 + } + } + } + ], + "kind": "let", + "range": [ + 4447, + 4510 + ], + "loc": { + "start": { + "line": 158, + "column": 12 + }, + "end": { + "line": 158, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "helplink", + "range": [ + 4523, + 4531 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 4532, + 4541 + ], + "loc": { + "start": { + "line": 159, + "column": 21 + }, + "end": { + "line": 159, + "column": 30 + } + } + }, + "range": [ + 4523, + 4541 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4544, + 4548 + ], + "loc": { + "start": { + "line": 159, + "column": 33 + }, + "end": { + "line": 159, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 4549, + 4560 + ], + "loc": { + "start": { + "line": 159, + "column": 38 + }, + "end": { + "line": 159, + "column": 49 + } + } + }, + "range": [ + 4544, + 4560 + ], + "loc": { + "start": { + "line": 159, + "column": 33 + }, + "end": { + "line": 159, + "column": 49 + } + } + }, + "range": [ + 4523, + 4560 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 49 + } + } + }, + "range": [ + 4523, + 4561 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "helplink", + "range": [ + 4574, + 4582 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4583, + 4594 + ], + "loc": { + "start": { + "line": 160, + "column": 21 + }, + "end": { + "line": 160, + "column": 32 + } + } + }, + "range": [ + 4574, + 4594 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 4595, + 4605 + ], + "loc": { + "start": { + "line": 160, + "column": 33 + }, + "end": { + "line": 160, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4606, + 4610 + ], + "loc": { + "start": { + "line": 160, + "column": 44 + }, + "end": { + "line": 160, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 4611, + 4618 + ], + "loc": { + "start": { + "line": 160, + "column": 49 + }, + "end": { + "line": 160, + "column": 56 + } + } + }, + "range": [ + 4606, + 4618 + ], + "loc": { + "start": { + "line": 160, + "column": 44 + }, + "end": { + "line": 160, + "column": 56 + } + } + } + ], + "range": [ + 4595, + 4619 + ], + "loc": { + "start": { + "line": 160, + "column": 33 + }, + "end": { + "line": 160, + "column": 57 + } + } + } + ], + "range": [ + 4574, + 4620 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 58 + } + } + }, + "range": [ + 4574, + 4621 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 4634, + 4637 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4638, + 4649 + ], + "loc": { + "start": { + "line": 161, + "column": 16 + }, + "end": { + "line": 161, + "column": 27 + } + } + }, + "range": [ + 4634, + 4649 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "helplink", + "range": [ + 4650, + 4658 + ], + "loc": { + "start": { + "line": 161, + "column": 28 + }, + "end": { + "line": 161, + "column": 36 + } + } + } + ], + "range": [ + 4634, + 4659 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 37 + } + } + }, + "range": [ + 4634, + 4660 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 4673, + 4679 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "helplink", + "range": [ + 4680, + 4688 + ], + "loc": { + "start": { + "line": 162, + "column": 19 + }, + "end": { + "line": 162, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 4690, + 4697 + ], + "loc": { + "start": { + "line": 162, + "column": 29 + }, + "end": { + "line": 162, + "column": 36 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4705, + 4709 + ], + "loc": { + "start": { + "line": 162, + "column": 44 + }, + "end": { + "line": 162, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 4710, + 4716 + ], + "loc": { + "start": { + "line": 162, + "column": 49 + }, + "end": { + "line": 162, + "column": 55 + } + } + }, + "range": [ + 4705, + 4716 + ], + "loc": { + "start": { + "line": 162, + "column": 44 + }, + "end": { + "line": 162, + "column": 55 + } + } + }, + "arguments": [], + "range": [ + 4705, + 4718 + ], + "loc": { + "start": { + "line": 162, + "column": 44 + }, + "end": { + "line": 162, + "column": 57 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4699, + 4718 + ], + "loc": { + "start": { + "line": 162, + "column": 38 + }, + "end": { + "line": 162, + "column": 57 + } + } + } + ], + "range": [ + 4673, + 4719 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 58 + } + } + }, + "range": [ + 4673, + 4720 + ], + "loc": { + "start": { + "line": 162, + "column": 12 + }, + "end": { + "line": 162, + "column": 59 + } + } + } + ], + "range": [ + 4389, + 4730 + ], + "loc": { + "start": { + "line": 156, + "column": 27 + }, + "end": { + "line": 163, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 4750, + 4753 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 4754, + 4763 + ], + "loc": { + "start": { + "line": 164, + "column": 16 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "range": [ + 4750, + 4763 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4766, + 4770 + ], + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnHtml", + "range": [ + 4771, + 4778 + ], + "loc": { + "start": { + "line": 164, + "column": 33 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "range": [ + 4766, + 4778 + ], + "loc": { + "start": { + "line": 164, + "column": 28 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "range": [ + 4750, + 4778 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "range": [ + 4750, + 4779 + ], + "loc": { + "start": { + "line": 164, + "column": 12 + }, + "end": { + "line": 164, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "helpEl", + "range": [ + 4796, + 4802 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 4805, + 4808 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 165, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 4809, + 4819 + ], + "loc": { + "start": { + "line": 165, + "column": 29 + }, + "end": { + "line": 165, + "column": 39 + } + } + }, + "range": [ + 4805, + 4819 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 165, + "column": 39 + } + } + }, + "range": [ + 4796, + 4819 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 4792, + 4820 + ], + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 4833, + 4839 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "helpEl", + "range": [ + 4840, + 4846 + ], + "loc": { + "start": { + "line": 166, + "column": 19 + }, + "end": { + "line": 166, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 4848, + 4855 + ], + "loc": { + "start": { + "line": 166, + "column": 27 + }, + "end": { + "line": 166, + "column": 34 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4863, + 4867 + ], + "loc": { + "start": { + "line": 166, + "column": 42 + }, + "end": { + "line": 166, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 4868, + 4874 + ], + "loc": { + "start": { + "line": 166, + "column": 47 + }, + "end": { + "line": 166, + "column": 53 + } + } + }, + "range": [ + 4863, + 4874 + ], + "loc": { + "start": { + "line": 166, + "column": 42 + }, + "end": { + "line": 166, + "column": 53 + } + } + }, + "arguments": [], + "range": [ + 4863, + 4876 + ], + "loc": { + "start": { + "line": 166, + "column": 42 + }, + "end": { + "line": 166, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4857, + 4876 + ], + "loc": { + "start": { + "line": 166, + "column": 36 + }, + "end": { + "line": 166, + "column": 55 + } + } + } + ], + "range": [ + 4833, + 4877 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 56 + } + } + }, + "range": [ + 4833, + 4878 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "divContainer", + "range": [ + 4891, + 4903 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4904, + 4915 + ], + "loc": { + "start": { + "line": 167, + "column": 25 + }, + "end": { + "line": 167, + "column": 36 + } + } + }, + "range": [ + 4891, + 4915 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 4916, + 4920 + ], + "loc": { + "start": { + "line": 167, + "column": 37 + }, + "end": { + "line": 167, + "column": 41 + } + } + } + ], + "range": [ + 4891, + 4921 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 42 + } + } + }, + "range": [ + 4891, + 4922 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 43 + } + } + } + ], + "range": [ + 4736, + 4932 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + "range": [ + 4370, + 4932 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4947, + 4951 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "instrHtml", + "range": [ + 4952, + 4961 + ], + "loc": { + "start": { + "line": 170, + "column": 18 + }, + "end": { + "line": 170, + "column": 27 + } + } + }, + "range": [ + 4947, + 4961 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 27 + } + } + }, + "prefix": true, + "range": [ + 4946, + 4961 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 4977, + 4981 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 4982, + 4991 + ], + "loc": { + "start": { + "line": 171, + "column": 17 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "range": [ + 4977, + 4991 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4994, + 4998 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "instrText", + "range": [ + 4999, + 5008 + ], + "loc": { + "start": { + "line": 171, + "column": 34 + }, + "end": { + "line": 171, + "column": 43 + } + } + }, + "range": [ + 4994, + 5008 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 43 + } + } + }, + "range": [ + 4977, + 5008 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 43 + } + } + }, + "range": [ + 4977, + 5009 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 5022, + 5026 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 5027, + 5036 + ], + "loc": { + "start": { + "line": 172, + "column": 17 + }, + "end": { + "line": 172, + "column": 26 + } + } + }, + "range": [ + 5022, + 5036 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5039, + 5043 + ], + "loc": { + "start": { + "line": 172, + "column": 29 + }, + "end": { + "line": 172, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 5044, + 5056 + ], + "loc": { + "start": { + "line": 172, + "column": 34 + }, + "end": { + "line": 172, + "column": 46 + } + } + }, + "range": [ + 5039, + 5056 + ], + "loc": { + "start": { + "line": 172, + "column": 29 + }, + "end": { + "line": 172, + "column": 46 + } + } + }, + "range": [ + 5022, + 5056 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 46 + } + } + }, + "range": [ + 5022, + 5057 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 47 + } + } + } + ], + "range": [ + 4963, + 5067 + ], + "loc": { + "start": { + "line": 170, + "column": 29 + }, + "end": { + "line": 173, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5091, + 5095 + ], + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "contTgtId", + "range": [ + 5096, + 5105 + ], + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 30 + } + } + }, + "range": [ + 5091, + 5105 + ], + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "divContainer", + "range": [ + 5125, + 5137 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5138, + 5149 + ], + "loc": { + "start": { + "line": 175, + "column": 29 + }, + "end": { + "line": 175, + "column": 40 + } + } + }, + "range": [ + 5125, + 5149 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 5150, + 5154 + ], + "loc": { + "start": { + "line": 175, + "column": 41 + }, + "end": { + "line": 175, + "column": 45 + } + } + } + ], + "range": [ + 5125, + 5155 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 46 + } + } + }, + "range": [ + 5125, + 5156 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 47 + } + } + } + ], + "range": [ + 5107, + 5170 + ], + "loc": { + "start": { + "line": 174, + "column": 32 + }, + "end": { + "line": 176, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 5087, + 5170 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 176, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 5183, + 5187 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 5188, + 5197 + ], + "loc": { + "start": { + "line": 177, + "column": 17 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + "range": [ + 5183, + 5197 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5200, + 5204 + ], + "loc": { + "start": { + "line": 177, + "column": 29 + }, + "end": { + "line": 177, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "instrHtml", + "range": [ + 5205, + 5214 + ], + "loc": { + "start": { + "line": 177, + "column": 34 + }, + "end": { + "line": 177, + "column": 43 + } + } + }, + "range": [ + 5200, + 5214 + ], + "loc": { + "start": { + "line": 177, + "column": 29 + }, + "end": { + "line": 177, + "column": 43 + } + } + }, + "range": [ + 5183, + 5214 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 43 + } + } + }, + "range": [ + 5183, + 5215 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5233, + 5237 + ], + "loc": { + "start": { + "line": 178, + "column": 17 + }, + "end": { + "line": 178, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "contTgtId", + "range": [ + 5238, + 5247 + ], + "loc": { + "start": { + "line": 178, + "column": 22 + }, + "end": { + "line": 178, + "column": 31 + } + } + }, + "range": [ + 5233, + 5247 + ], + "loc": { + "start": { + "line": 178, + "column": 17 + }, + "end": { + "line": 178, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 5232, + 5247 + ], + "loc": { + "start": { + "line": 178, + "column": 16 + }, + "end": { + "line": 178, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 5267, + 5271 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 5272, + 5281 + ], + "loc": { + "start": { + "line": 179, + "column": 21 + }, + "end": { + "line": 179, + "column": 30 + } + } + }, + "range": [ + 5267, + 5281 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5284, + 5288 + ], + "loc": { + "start": { + "line": 179, + "column": 33 + }, + "end": { + "line": 179, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "contCssClass", + "range": [ + 5289, + 5301 + ], + "loc": { + "start": { + "line": 179, + "column": 38 + }, + "end": { + "line": 179, + "column": 50 + } + } + }, + "range": [ + 5284, + 5301 + ], + "loc": { + "start": { + "line": 179, + "column": 33 + }, + "end": { + "line": 179, + "column": 50 + } + } + }, + "range": [ + 5267, + 5301 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 50 + } + } + }, + "range": [ + 5267, + 5302 + ], + "loc": { + "start": { + "line": 179, + "column": 16 + }, + "end": { + "line": 179, + "column": 51 + } + } + } + ], + "range": [ + 5249, + 5316 + ], + "loc": { + "start": { + "line": 178, + "column": 33 + }, + "end": { + "line": 180, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 5228, + 5316 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 180, + "column": 13 + } + } + } + ], + "range": [ + 5073, + 5326 + ], + "loc": { + "start": { + "line": 173, + "column": 15 + }, + "end": { + "line": 181, + "column": 9 + } + } + }, + "range": [ + 4942, + 5326 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 181, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "+=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 5335, + 5339 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 5340, + 5349 + ], + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 22 + } + } + }, + "range": [ + 5335, + 5349 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5353, + 5357 + ], + "loc": { + "start": { + "line": 182, + "column": 26 + }, + "end": { + "line": 182, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "defaultHtml", + "range": [ + 5358, + 5369 + ], + "loc": { + "start": { + "line": 182, + "column": 31 + }, + "end": { + "line": 182, + "column": 42 + } + } + }, + "range": [ + 5353, + 5369 + ], + "loc": { + "start": { + "line": 182, + "column": 26 + }, + "end": { + "line": 182, + "column": 42 + } + } + }, + "range": [ + 5335, + 5369 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 42 + } + } + }, + "range": [ + 5335, + 5370 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 182, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 5379, + 5385 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 5386, + 5390 + ], + "loc": { + "start": { + "line": 183, + "column": 15 + }, + "end": { + "line": 183, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 5392, + 5399 + ], + "loc": { + "start": { + "line": 183, + "column": 21 + }, + "end": { + "line": 183, + "column": 28 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5407, + 5411 + ], + "loc": { + "start": { + "line": 183, + "column": 36 + }, + "end": { + "line": 183, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 5412, + 5418 + ], + "loc": { + "start": { + "line": 183, + "column": 41 + }, + "end": { + "line": 183, + "column": 47 + } + } + }, + "range": [ + 5407, + 5418 + ], + "loc": { + "start": { + "line": 183, + "column": 36 + }, + "end": { + "line": 183, + "column": 47 + } + } + }, + "arguments": [], + "range": [ + 5407, + 5420 + ], + "loc": { + "start": { + "line": 183, + "column": 36 + }, + "end": { + "line": 183, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5401, + 5420 + ], + "loc": { + "start": { + "line": 183, + "column": 30 + }, + "end": { + "line": 183, + "column": 49 + } + } + } + ], + "range": [ + 5379, + 5421 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 50 + } + } + }, + "range": [ + 5379, + 5422 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5432, + 5436 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 5437, + 5441 + ], + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 17 + } + } + }, + "range": [ + 5432, + 5441 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "cont", + "range": [ + 5444, + 5448 + ], + "loc": { + "start": { + "line": 185, + "column": 20 + }, + "end": { + "line": 185, + "column": 24 + } + } + }, + "range": [ + 5432, + 5448 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 24 + } + } + }, + "range": [ + 5432, + 5449 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5458, + 5462 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 5463, + 5466 + ], + "loc": { + "start": { + "line": 186, + "column": 13 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + "range": [ + 5458, + 5466 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "btn", + "range": [ + 5469, + 5472 + ], + "loc": { + "start": { + "line": 186, + "column": 19 + }, + "end": { + "line": 186, + "column": 22 + } + } + }, + "range": [ + 5458, + 5472 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 22 + } + } + }, + "range": [ + 5458, + 5473 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 23 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5482, + 5499 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5508, + 5512 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5513, + 5524 + ], + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 24 + } + } + }, + "range": [ + 5508, + 5524 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5527, + 5531 + ], + "loc": { + "start": { + "line": 188, + "column": 27 + }, + "end": { + "line": 188, + "column": 31 + } + } + }, + "range": [ + 5508, + 5531 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 31 + } + } + }, + "range": [ + 5508, + 5532 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5482, + 5499 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 3850, + 5538 + ], + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 189, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3847, + 5538 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 189, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3843, + 5538 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 189, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialise Help instance\n ", + "range": [ + 3795, + 3838 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle help pop-up\n ", + "range": [ + 5544, + 5581 + ], + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 193, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggle", + "range": [ + 5586, + 5592 + ], + "loc": { + "start": { + "line": 194, + "column": 4 + }, + "end": { + "line": 194, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5742, + 5746 + ], + "loc": { + "start": { + "line": 197, + "column": 13 + }, + "end": { + "line": 197, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 5747, + 5756 + ], + "loc": { + "start": { + "line": 197, + "column": 18 + }, + "end": { + "line": 197, + "column": 27 + } + } + }, + "range": [ + 5742, + 5756 + ], + "loc": { + "start": { + "line": 197, + "column": 13 + }, + "end": { + "line": 197, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 5742, + 5758 + ], + "loc": { + "start": { + "line": 197, + "column": 13 + }, + "end": { + "line": 197, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 5741, + 5758 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5774, + 5781 + ], + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 19 + } + } + } + ], + "range": [ + 5760, + 5791 + ], + "loc": { + "start": { + "line": 197, + "column": 31 + }, + "end": { + "line": 199, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5737, + 5791 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 199, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " check only if explicitily disabled as in this case undefined", + "range": [ + 5605, + 5668 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 71 + } + } + }, + { + "type": "Line", + "value": " signifies the help feature is enabled by default", + "range": [ + 5677, + 5728 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 59 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 5801, + 5843 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 201, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 5852, + 5861 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 5862, + 5866 + ], + "loc": { + "start": { + "line": 202, + "column": 18 + }, + "end": { + "line": 202, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 5868, + 5877 + ], + "loc": { + "start": { + "line": 202, + "column": 24 + }, + "end": { + "line": 202, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5879, + 5883 + ], + "loc": { + "start": { + "line": 202, + "column": 35 + }, + "end": { + "line": 202, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 5884, + 5896 + ], + "loc": { + "start": { + "line": 202, + "column": 40 + }, + "end": { + "line": 202, + "column": 52 + } + } + }, + "range": [ + 5879, + 5896 + ], + "loc": { + "start": { + "line": 202, + "column": 35 + }, + "end": { + "line": 202, + "column": 52 + } + } + } + ], + "range": [ + 5852, + 5897 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 53 + } + } + }, + "range": [ + 5852, + 5898 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 5801, + 5843 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 201, + "column": 50 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "divDisplay", + "range": [ + 5912, + 5922 + ], + "loc": { + "start": { + "line": 204, + "column": 12 + }, + "end": { + "line": 204, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5925, + 5929 + ], + "loc": { + "start": { + "line": 204, + "column": 25 + }, + "end": { + "line": 204, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 5930, + 5934 + ], + "loc": { + "start": { + "line": 204, + "column": 30 + }, + "end": { + "line": 204, + "column": 34 + } + } + }, + "range": [ + 5925, + 5934 + ], + "loc": { + "start": { + "line": 204, + "column": 25 + }, + "end": { + "line": 204, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 5935, + 5940 + ], + "loc": { + "start": { + "line": 204, + "column": 35 + }, + "end": { + "line": 204, + "column": 40 + } + } + }, + "range": [ + 5925, + 5940 + ], + "loc": { + "start": { + "line": 204, + "column": 25 + }, + "end": { + "line": 204, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 5941, + 5948 + ], + "loc": { + "start": { + "line": 204, + "column": 41 + }, + "end": { + "line": 204, + "column": 48 + } + } + }, + "range": [ + 5925, + 5948 + ], + "loc": { + "start": { + "line": 204, + "column": 25 + }, + "end": { + "line": 204, + "column": 48 + } + } + }, + "range": [ + 5912, + 5948 + ], + "loc": { + "start": { + "line": 204, + "column": 12 + }, + "end": { + "line": 204, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 5908, + 5949 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 49 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "divDisplay", + "range": [ + 5962, + 5972 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5977, + 5979 + ], + "loc": { + "start": { + "line": 205, + "column": 27 + }, + "end": { + "line": 205, + "column": 29 + } + } + }, + "range": [ + 5962, + 5979 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "divDisplay", + "range": [ + 5983, + 5993 + ], + "loc": { + "start": { + "line": 205, + "column": 33 + }, + "end": { + "line": 205, + "column": 43 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 5998, + 6002 + ], + "loc": { + "start": { + "line": 205, + "column": 48 + }, + "end": { + "line": 205, + "column": 52 + } + } + }, + "range": [ + 5983, + 6002 + ], + "loc": { + "start": { + "line": 205, + "column": 33 + }, + "end": { + "line": 205, + "column": 52 + } + } + }, + "range": [ + 5962, + 6002 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 52 + } + } + }, + "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": [ + 6018, + 6022 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 6023, + 6027 + ], + "loc": { + "start": { + "line": 206, + "column": 17 + }, + "end": { + "line": 206, + "column": 21 + } + } + }, + "range": [ + 6018, + 6027 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6028, + 6033 + ], + "loc": { + "start": { + "line": 206, + "column": 22 + }, + "end": { + "line": 206, + "column": 27 + } + } + }, + "range": [ + 6018, + 6033 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 6034, + 6041 + ], + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 35 + } + } + }, + "range": [ + 6018, + 6041 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": "inline", + "raw": "'inline'", + "range": [ + 6044, + 6052 + ], + "loc": { + "start": { + "line": 206, + "column": 38 + }, + "end": { + "line": 206, + "column": 46 + } + } + }, + "range": [ + 6018, + 6052 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 46 + } + } + }, + "range": [ + 6018, + 6053 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 6066, + 6072 + ], + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 6073, + 6077 + ], + "loc": { + "start": { + "line": 207, + "column": 19 + }, + "end": { + "line": 207, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 6079, + 6088 + ], + "loc": { + "start": { + "line": 207, + "column": 25 + }, + "end": { + "line": 207, + "column": 34 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6090, + 6094 + ], + "loc": { + "start": { + "line": 207, + "column": 36 + }, + "end": { + "line": 207, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 6095, + 6107 + ], + "loc": { + "start": { + "line": 207, + "column": 41 + }, + "end": { + "line": 207, + "column": 53 + } + } + }, + "range": [ + 6090, + 6107 + ], + "loc": { + "start": { + "line": 207, + "column": 36 + }, + "end": { + "line": 207, + "column": 53 + } + } + } + ], + "range": [ + 6066, + 6108 + ], + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 54 + } + } + }, + "range": [ + 6066, + 6109 + ], + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 55 + } + } + } + ], + "range": [ + 6004, + 6119 + ], + "loc": { + "start": { + "line": 205, + "column": 54 + }, + "end": { + "line": 208, + "column": 9 + } + } + }, + "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": [ + 6139, + 6143 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 6144, + 6148 + ], + "loc": { + "start": { + "line": 209, + "column": 17 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "range": [ + 6139, + 6148 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 6149, + 6154 + ], + "loc": { + "start": { + "line": 209, + "column": 22 + }, + "end": { + "line": 209, + "column": 27 + } + } + }, + "range": [ + 6139, + 6154 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 6155, + 6162 + ], + "loc": { + "start": { + "line": 209, + "column": 28 + }, + "end": { + "line": 209, + "column": 35 + } + } + }, + "range": [ + 6139, + 6162 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 6165, + 6169 + ], + "loc": { + "start": { + "line": 209, + "column": 38 + }, + "end": { + "line": 209, + "column": 42 + } + } + }, + "range": [ + 6139, + 6169 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 42 + } + } + }, + "range": [ + 6139, + 6170 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 43 + } + } + } + ], + "range": [ + 6125, + 6180 + ], + "loc": { + "start": { + "line": 208, + "column": 15 + }, + "end": { + "line": 210, + "column": 9 + } + } + }, + "range": [ + 5958, + 6180 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 210, + "column": 9 + } + } + } + ], + "range": [ + 5595, + 6186 + ], + "loc": { + "start": { + "line": 194, + "column": 13 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5592, + 6186 + ], + "loc": { + "start": { + "line": 194, + "column": 10 + }, + "end": { + "line": 211, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5586, + 6186 + ], + "loc": { + "start": { + "line": 194, + "column": 4 + }, + "end": { + "line": 211, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle help pop-up\n ", + "range": [ + 5544, + 5581 + ], + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 193, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove help UI\n ", + "range": [ + 6192, + 6225 + ], + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 215, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 6230, + 6237 + ], + "loc": { + "start": { + "line": 216, + "column": 4 + }, + "end": { + "line": 216, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6255, + 6259 + ], + "loc": { + "start": { + "line": 217, + "column": 13 + }, + "end": { + "line": 217, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 6260, + 6271 + ], + "loc": { + "start": { + "line": 217, + "column": 18 + }, + "end": { + "line": 217, + "column": 29 + } + } + }, + "range": [ + 6255, + 6271 + ], + "loc": { + "start": { + "line": 217, + "column": 13 + }, + "end": { + "line": 217, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 6254, + 6271 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 6287, + 6294 + ], + "loc": { + "start": { + "line": 218, + "column": 12 + }, + "end": { + "line": 218, + "column": 19 + } + } + } + ], + "range": [ + 6273, + 6304 + ], + "loc": { + "start": { + "line": 217, + "column": 31 + }, + "end": { + "line": 219, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6250, + 6304 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 219, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 6313, + 6322 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6323, + 6327 + ], + "loc": { + "start": { + "line": 220, + "column": 18 + }, + "end": { + "line": 220, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 6328, + 6331 + ], + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 26 + } + } + }, + "range": [ + 6323, + 6331 + ], + "loc": { + "start": { + "line": 220, + "column": 18 + }, + "end": { + "line": 220, + "column": 26 + } + } + } + ], + "range": [ + 6313, + 6332 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 27 + } + } + }, + "range": [ + 6313, + 6333 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6342, + 6346 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 6347, + 6350 + ], + "loc": { + "start": { + "line": 221, + "column": 13 + }, + "end": { + "line": 221, + "column": 16 + } + } + }, + "range": [ + 6342, + 6350 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6353, + 6357 + ], + "loc": { + "start": { + "line": 221, + "column": 19 + }, + "end": { + "line": 221, + "column": 23 + } + } + }, + "range": [ + 6342, + 6357 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 23 + } + } + }, + "range": [ + 6342, + 6358 + ], + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 24 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 6368, + 6377 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6378, + 6382 + ], + "loc": { + "start": { + "line": 223, + "column": 18 + }, + "end": { + "line": 223, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 6383, + 6387 + ], + "loc": { + "start": { + "line": 223, + "column": 23 + }, + "end": { + "line": 223, + "column": 27 + } + } + }, + "range": [ + 6378, + 6387 + ], + "loc": { + "start": { + "line": 223, + "column": 18 + }, + "end": { + "line": 223, + "column": 27 + } + } + } + ], + "range": [ + 6368, + 6388 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 28 + } + } + }, + "range": [ + 6368, + 6389 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6398, + 6402 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 6403, + 6407 + ], + "loc": { + "start": { + "line": 224, + "column": 13 + }, + "end": { + "line": 224, + "column": 17 + } + } + }, + "range": [ + 6398, + 6407 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6410, + 6414 + ], + "loc": { + "start": { + "line": 224, + "column": 20 + }, + "end": { + "line": 224, + "column": 24 + } + } + }, + "range": [ + 6398, + 6414 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 24 + } + } + }, + "range": [ + 6398, + 6415 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6425, + 6429 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "boundMouseup", + "range": [ + 6430, + 6442 + ], + "loc": { + "start": { + "line": 226, + "column": 13 + }, + "end": { + "line": 226, + "column": 25 + } + } + }, + "range": [ + 6425, + 6442 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6445, + 6449 + ], + "loc": { + "start": { + "line": 226, + "column": 28 + }, + "end": { + "line": 226, + "column": 32 + } + } + }, + "range": [ + 6425, + 6449 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 32 + } + } + }, + "range": [ + 6425, + 6450 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6459, + 6463 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 6464, + 6475 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + "range": [ + 6459, + 6475 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 6478, + 6483 + ], + "loc": { + "start": { + "line": 227, + "column": 27 + }, + "end": { + "line": 227, + "column": 32 + } + } + }, + "range": [ + 6459, + 6483 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 32 + } + } + }, + "range": [ + 6459, + 6484 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 33 + } + } + } + ], + "range": [ + 6240, + 6490 + ], + "loc": { + "start": { + "line": 216, + "column": 14 + }, + "end": { + "line": 228, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6237, + 6490 + ], + "loc": { + "start": { + "line": 216, + "column": 11 + }, + "end": { + "line": 228, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 6230, + 6490 + ], + "loc": { + "start": { + "line": 216, + "column": 4 + }, + "end": { + "line": 228, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove help UI\n ", + "range": [ + 6192, + 6225 + ], + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 215, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 512, + 6493 + ], + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 230, + "column": 1 + } + } + }, + "range": [ + 485, + 6493 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 230, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Help UI component\n ", + "range": [ + 449, + 477 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 478, + 6493 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 230, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Help UI component\n ", + "range": [ + 449, + 477 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 6493 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 230, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Help UI component\n ", + "range": [ + 449, + 477 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Help\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 519, + 617 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of main custom container element\n * @type {String}\n ", + "range": [ + 730, + 818 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element for instructions\n * @type {String}\n ", + "range": [ + 881, + 981 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Instructions text (accepts HTML)\n * @type {String}\n ", + "range": [ + 1058, + 1143 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Instructions HTML\n * @type {String}\n ", + "range": [ + 1711, + 1781 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Help button text ('?')\n * @type {String}\n ", + "range": [ + 1843, + 1918 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom help button HTML\n * @type {String}\n ", + "range": [ + 1981, + 2057 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for help button\n * @type {String}\n ", + "range": [ + 2121, + 2199 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for help container element\n * @type {String}\n ", + "range": [ + 2277, + 2366 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button DOM element\n * @type {DOMElement}\n ", + "range": [ + 2452, + 2527 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Help container DOM element\n * @type {DOMElement}\n ", + "range": [ + 2562, + 2645 + ], + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 91, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Bound mouseup wrapper\n * @private\n ", + "range": [ + 2681, + 2749 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 97, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Default HTML appended to instructions text\n * @type {String}\n ", + "range": [ + 2793, + 2888 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n ", + "range": [ + 3371, + 3464 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 117, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialise Help instance\n ", + "range": [ + 3795, + 3838 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "help button is added to defined element", + "range": [ + 4081, + 4122 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 49 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 5482, + 5499 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle help pop-up\n ", + "range": [ + 5544, + 5581 + ], + "loc": { + "start": { + "line": 191, + "column": 4 + }, + "end": { + "line": 193, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " check only if explicitily disabled as in this case undefined", + "range": [ + 5605, + 5668 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 71 + } + } + }, + { + "type": "Line", + "value": " signifies the help feature is enabled by default", + "range": [ + 5677, + 5728 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " ensure mouseup event handler is removed", + "range": [ + 5801, + 5843 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 201, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove help UI\n ", + "range": [ + 6192, + 6225 + ], + "loc": { + "start": { + "line": 213, + "column": 4 + }, + "end": { + "line": 215, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/highlightKeywords.js.json b/docs/ast/source/modules/highlightKeywords.js.json new file mode 100644 index 00000000..24906801 --- /dev/null +++ b/docs/ast/source/modules/highlightKeywords.js.json @@ -0,0 +1,12175 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 8, + 18 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 8, + 18 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + "range": [ + 8, + 18 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 20, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 20, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + "range": [ + 20, + 29 + ], + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getText", + "range": [ + 31, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getText", + "range": [ + 31, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 38 + } + } + }, + "range": [ + 31, + 38 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 38 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 45, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 54 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 63, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 63, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "range": [ + 63, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 77, + 87 + ], + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + "range": [ + 55, + 88 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 97, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 97, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + }, + "range": [ + 97, + 103 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 14 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../string", + "raw": "'../string'", + "range": [ + 110, + 121 + ], + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 32 + } + } + }, + "range": [ + 89, + 122 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 131, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 131, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "range": [ + 131, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 149, + 162 + ], + "loc": { + "start": { + "line": 4, + "column": 26 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + "range": [ + 123, + 163 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n ", + "range": [ + 165, + 258 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "HighlightKeyword", + "range": [ + 272, + 288 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 411, + 422 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 423, + 425 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 441, + 442 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 445, + 447 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 448, + 454 + ], + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + "range": [ + 445, + 454 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 445, + 456 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 27 + } + } + }, + "range": [ + 441, + 456 + ], + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 437, + 457 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for highlighted term\n * @type {String}\n ", + "range": [ + 467, + 550 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 559, + 563 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightCssClass", + "range": [ + 564, + 581 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "range": [ + 559, + 581 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 584, + 595 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 596, + 597 + ], + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlight_css_class", + "range": [ + 598, + 617 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 66 + } + } + }, + "range": [ + 596, + 617 + ], + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": "keyword", + "raw": "'keyword'", + "range": [ + 619, + 628 + ], + "loc": { + "start": { + "line": 25, + "column": 68 + }, + "end": { + "line": 25, + "column": 77 + } + } + } + ], + "range": [ + 584, + 629 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 78 + } + } + }, + "range": [ + 559, + 629 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 78 + } + } + }, + "range": [ + 559, + 630 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for highlighted term\n * @type {String}\n ", + "range": [ + 467, + 550 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter instance\n * @type {TableFilter}\n ", + "range": [ + 640, + 718 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 727, + 731 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 732, + 734 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "range": [ + 727, + 734 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "tf", + "range": [ + 737, + 739 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "range": [ + 727, + 739 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "range": [ + 727, + 740 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter instance\n * @type {TableFilter}\n ", + "range": [ + 640, + 718 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter's emitter instance\n * @type {Emitter}\n ", + "range": [ + 750, + 834 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 843, + 847 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 848, + 855 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "range": [ + 843, + 855 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 858, + 860 + ], + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 861, + 868 + ], + "loc": { + "start": { + "line": 37, + "column": 26 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + "range": [ + 858, + 868 + ], + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + "range": [ + 843, + 868 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + "range": [ + 843, + 869 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter's emitter instance\n * @type {Emitter}\n ", + "range": [ + 750, + 834 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 427, + 875 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 422, + 875 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 411, + 875 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of HighlightKeyword\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 296, + 406 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes HighlightKeyword instance\n ", + "range": [ + 881, + 937 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 942, + 946 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 959, + 963 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 964, + 971 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + "range": [ + 959, + 971 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 972, + 974 + ], + "loc": { + "start": { + "line": 44, + "column": 21 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + "range": [ + 959, + 974 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 989, + 1007 + ], + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "destroy", + "raw": "'destroy'", + "range": [ + 1009, + 1018 + ], + "loc": { + "start": { + "line": 45, + "column": 33 + }, + "end": { + "line": 45, + "column": 42 + } + } + } + ], + "range": [ + 988, + 1019 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1039, + 1043 + ], + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "unhighlightAll", + "range": [ + 1044, + 1058 + ], + "loc": { + "start": { + "line": 46, + "column": 23 + }, + "end": { + "line": 46, + "column": 37 + } + } + }, + "range": [ + 1039, + 1058 + ], + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 1039, + 1060 + ], + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 46, + "column": 39 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1033, + 1060 + ], + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 39 + } + } + } + ], + "range": [ + 959, + 1070 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + "range": [ + 959, + 1071 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1080, + 1084 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1085, + 1092 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 20 + } + } + }, + "range": [ + 1080, + 1092 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1093, + 1095 + ], + "loc": { + "start": { + "line": 48, + "column": 21 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "range": [ + 1080, + 1095 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "highlight-keyword", + "raw": "'highlight-keyword'", + "range": [ + 1110, + 1129 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 32 + } + } + } + ], + "range": [ + 1109, + 1130 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 33 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1145, + 1147 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "cell", + "range": [ + 1149, + 1153 + ], + "loc": { + "start": { + "line": 50, + "column": 17 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 1155, + 1159 + ], + "loc": { + "start": { + "line": 50, + "column": 23 + }, + "end": { + "line": 50, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1164, + 1168 + ], + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "_processTerm", + "range": [ + 1169, + 1181 + ], + "loc": { + "start": { + "line": 50, + "column": 37 + }, + "end": { + "line": 50, + "column": 49 + } + } + }, + "range": [ + 1164, + 1181 + ], + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 1182, + 1186 + ], + "loc": { + "start": { + "line": 50, + "column": 50 + }, + "end": { + "line": 50, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 1188, + 1192 + ], + "loc": { + "start": { + "line": 50, + "column": 56 + }, + "end": { + "line": 50, + "column": 60 + } + } + } + ], + "range": [ + 1164, + 1193 + ], + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 61 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1144, + 1193 + ], + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 61 + } + } + } + ], + "range": [ + 1080, + 1203 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + "range": [ + 1080, + 1204 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 51, + "column": 10 + } + } + } + ], + "range": [ + 949, + 1210 + ], + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 946, + 1210 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 942, + 1210 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes HighlightKeyword instance\n ", + "range": [ + 881, + 937 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} term Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n ", + "range": [ + 1216, + 1450 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 61, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "highlight", + "range": [ + 1455, + 1464 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 1465, + 1469 + ], + "loc": { + "start": { + "line": 62, + "column": 14 + }, + "end": { + "line": 62, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 1471, + 1475 + ], + "loc": { + "start": { + "line": 62, + "column": 20 + }, + "end": { + "line": 62, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1477, + 1485 + ], + "loc": { + "start": { + "line": 62, + "column": 26 + }, + "end": { + "line": 62, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1547, + 1551 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasChildNodes", + "range": [ + 1552, + 1565 + ], + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "range": [ + 1547, + 1565 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "children", + "range": [ + 1585, + 1593 + ], + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1596, + 1600 + ], + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "childNodes", + "range": [ + 1601, + 1611 + ], + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 42 + } + } + }, + "range": [ + 1596, + 1611 + ], + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 42 + } + } + }, + "range": [ + 1585, + 1611 + ], + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 1581, + 1612 + ], + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 43 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 1634, + 1635 + ], + "loc": { + "start": { + "line": 66, + "column": 21 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1638, + 1639 + ], + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 66, + "column": 26 + } + } + }, + "range": [ + 1634, + 1639 + ], + "loc": { + "start": { + "line": 66, + "column": 21 + }, + "end": { + "line": 66, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 1630, + 1639 + ], + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1641, + 1642 + ], + "loc": { + "start": { + "line": 66, + "column": 28 + }, + "end": { + "line": 66, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "children", + "range": [ + 1645, + 1653 + ], + "loc": { + "start": { + "line": 66, + "column": 32 + }, + "end": { + "line": 66, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1654, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 41 + }, + "end": { + "line": 66, + "column": 47 + } + } + }, + "range": [ + 1645, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 32 + }, + "end": { + "line": 66, + "column": 47 + } + } + }, + "range": [ + 1641, + 1660 + ], + "loc": { + "start": { + "line": 66, + "column": 28 + }, + "end": { + "line": 66, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1662, + 1663 + ], + "loc": { + "start": { + "line": 66, + "column": 49 + }, + "end": { + "line": 66, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 1662, + 1665 + ], + "loc": { + "start": { + "line": 66, + "column": 49 + }, + "end": { + "line": 66, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1685, + 1689 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlight", + "range": [ + 1690, + 1699 + ], + "loc": { + "start": { + "line": 67, + "column": 21 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + "range": [ + 1685, + 1699 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "children", + "range": [ + 1700, + 1708 + ], + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 1709, + 1710 + ], + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 41 + } + } + }, + "range": [ + 1700, + 1711 + ], + "loc": { + "start": { + "line": 67, + "column": 31 + }, + "end": { + "line": 67, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 1713, + 1717 + ], + "loc": { + "start": { + "line": 67, + "column": 44 + }, + "end": { + "line": 67, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1719, + 1727 + ], + "loc": { + "start": { + "line": 67, + "column": 50 + }, + "end": { + "line": 67, + "column": 58 + } + } + } + ], + "range": [ + 1685, + 1728 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 59 + } + } + }, + "range": [ + 1685, + 1729 + ], + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 60 + } + } + } + ], + "range": [ + 1667, + 1743 + ], + "loc": { + "start": { + "line": 66, + "column": 54 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + "range": [ + 1625, + 1743 + ], + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 68, + "column": 13 + } + } + } + ], + "range": [ + 1567, + 1753 + ], + "loc": { + "start": { + "line": 64, + "column": 32 + }, + "end": { + "line": 69, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1543, + 1753 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 69, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Iterate into this nodes childNodes", + "range": [ + 1497, + 1534 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 45 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1767, + 1771 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeType", + "range": [ + 1772, + 1780 + ], + "loc": { + "start": { + "line": 71, + "column": 17 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + "range": [ + 1767, + 1780 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 3, + "raw": "3", + "range": [ + 1785, + 1786 + ], + "loc": { + "start": { + "line": 71, + "column": 30 + }, + "end": { + "line": 71, + "column": 31 + } + } + }, + "range": [ + 1767, + 1786 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nodeVal", + "range": [ + 1806, + 1813 + ], + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1816, + 1820 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeValue", + "range": [ + 1821, + 1830 + ], + "loc": { + "start": { + "line": 72, + "column": 31 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + "range": [ + 1816, + 1830 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 1831, + 1842 + ], + "loc": { + "start": { + "line": 72, + "column": 41 + }, + "end": { + "line": 72, + "column": 52 + } + } + }, + "range": [ + 1816, + 1842 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 52 + } + } + }, + "arguments": [], + "range": [ + 1816, + 1844 + ], + "loc": { + "start": { + "line": 72, + "column": 26 + }, + "end": { + "line": 72, + "column": 54 + } + } + }, + "range": [ + 1806, + 1844 + ], + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 1802, + 1845 + ], + "loc": { + "start": { + "line": 72, + "column": 12 + }, + "end": { + "line": 72, + "column": 55 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "termIdx", + "range": [ + 1862, + 1869 + ], + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "nodeVal", + "range": [ + 1872, + 1879 + ], + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 1880, + 1887 + ], + "loc": { + "start": { + "line": 73, + "column": 34 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, + "range": [ + 1872, + 1887 + ], + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 1888, + 1892 + ], + "loc": { + "start": { + "line": 73, + "column": 42 + }, + "end": { + "line": 73, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 1893, + 1904 + ], + "loc": { + "start": { + "line": 73, + "column": 47 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + "range": [ + 1888, + 1904 + ], + "loc": { + "start": { + "line": 73, + "column": 42 + }, + "end": { + "line": 73, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 1888, + 1906 + ], + "loc": { + "start": { + "line": 73, + "column": 42 + }, + "end": { + "line": 73, + "column": 60 + } + } + } + ], + "range": [ + 1872, + 1907 + ], + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 61 + } + } + }, + "range": [ + 1862, + 1907 + ], + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 61 + } + } + } + ], + "kind": "let", + "range": [ + 1858, + 1908 + ], + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 62 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "termIdx", + "range": [ + 1926, + 1933 + ], + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 23 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1939, + 1940 + ], + "loc": { + "start": { + "line": 75, + "column": 29 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 1938, + 1940 + ], + "loc": { + "start": { + "line": 75, + "column": 28 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + "range": [ + 1926, + 1940 + ], + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pn", + "range": [ + 1964, + 1966 + ], + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 1969, + 1973 + ], + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 1974, + 1984 + ], + "loc": { + "start": { + "line": 76, + "column": 30 + }, + "end": { + "line": 76, + "column": 40 + } + } + }, + "range": [ + 1969, + 1984 + ], + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 40 + } + } + }, + "range": [ + 1964, + 1984 + ], + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 1960, + 1985 + ], + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "pn", + "range": [ + 2006, + 2008 + ], + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pn", + "range": [ + 2012, + 2014 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2015, + 2024 + ], + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + "range": [ + 2012, + 2024 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2029, + 2037 + ], + "loc": { + "start": { + "line": 77, + "column": 43 + }, + "end": { + "line": 77, + "column": 51 + } + } + }, + "range": [ + 2012, + 2037 + ], + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 51 + } + } + }, + "range": [ + 2006, + 2037 + ], + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 51 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nv", + "range": [ + 2113, + 2115 + ], + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "node", + "range": [ + 2118, + 2122 + ], + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeValue", + "range": [ + 2123, + 2132 + ], + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + "range": [ + 2118, + 2132 + ], + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + "range": [ + 2113, + 2132 + ], + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "before", + "range": [ + 2220, + 2226 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 30 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2229, + 2239 + ], + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "nv", + "range": [ + 2240, + 2242 + ], + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "substr", + "range": [ + 2243, + 2249 + ], + "loc": { + "start": { + "line": 81, + "column": 47 + }, + "end": { + "line": 81, + "column": 53 + } + } + }, + "range": [ + 2240, + 2249 + ], + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2250, + 2251 + ], + "loc": { + "start": { + "line": 81, + "column": 54 + }, + "end": { + "line": 81, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "termIdx", + "range": [ + 2253, + 2260 + ], + "loc": { + "start": { + "line": 81, + "column": 57 + }, + "end": { + "line": 81, + "column": 64 + } + } + } + ], + "range": [ + 2240, + 2261 + ], + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 65 + } + } + } + ], + "range": [ + 2229, + 2262 + ], + "loc": { + "start": { + "line": 81, + "column": 33 + }, + "end": { + "line": 81, + "column": 66 + } + } + }, + "range": [ + 2220, + 2262 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Create a load of replacement nodes", + "range": [ + 2158, + 2195 + ], + "loc": { + "start": { + "line": 80, + "column": 24 + }, + "end": { + "line": 80, + "column": 61 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "value", + "range": [ + 2288, + 2293 + ], + "loc": { + "start": { + "line": 82, + "column": 24 + }, + "end": { + "line": 82, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "nv", + "range": [ + 2296, + 2298 + ], + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "substr", + "range": [ + 2299, + 2305 + ], + "loc": { + "start": { + "line": 82, + "column": 35 + }, + "end": { + "line": 82, + "column": 41 + } + } + }, + "range": [ + 2296, + 2305 + ], + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "termIdx", + "range": [ + 2306, + 2313 + ], + "loc": { + "start": { + "line": 82, + "column": 42 + }, + "end": { + "line": 82, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 2315, + 2319 + ], + "loc": { + "start": { + "line": 82, + "column": 51 + }, + "end": { + "line": 82, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 2320, + 2326 + ], + "loc": { + "start": { + "line": 82, + "column": 56 + }, + "end": { + "line": 82, + "column": 62 + } + } + }, + "range": [ + 2315, + 2326 + ], + "loc": { + "start": { + "line": 82, + "column": 51 + }, + "end": { + "line": 82, + "column": 62 + } + } + } + ], + "range": [ + 2296, + 2327 + ], + "loc": { + "start": { + "line": 82, + "column": 32 + }, + "end": { + "line": 82, + "column": 63 + } + } + }, + "range": [ + 2288, + 2327 + ], + "loc": { + "start": { + "line": 82, + "column": 24 + }, + "end": { + "line": 82, + "column": 63 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "after", + "range": [ + 2353, + 2358 + ], + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2361, + 2371 + ], + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "nv", + "range": [ + 2372, + 2374 + ], + "loc": { + "start": { + "line": 83, + "column": 43 + }, + "end": { + "line": 83, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "substr", + "range": [ + 2375, + 2381 + ], + "loc": { + "start": { + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 52 + } + } + }, + "range": [ + 2372, + 2381 + ], + "loc": { + "start": { + "line": 83, + "column": 43 + }, + "end": { + "line": 83, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "termIdx", + "range": [ + 2382, + 2389 + ], + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 60 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 2392, + 2396 + ], + "loc": { + "start": { + "line": 83, + "column": 63 + }, + "end": { + "line": 83, + "column": 67 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 2397, + 2403 + ], + "loc": { + "start": { + "line": 83, + "column": 68 + }, + "end": { + "line": 83, + "column": 74 + } + } + }, + "range": [ + 2392, + 2403 + ], + "loc": { + "start": { + "line": 83, + "column": 63 + }, + "end": { + "line": 83, + "column": 74 + } + } + }, + "range": [ + 2382, + 2403 + ], + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 74 + } + } + } + ], + "range": [ + 2372, + 2404 + ], + "loc": { + "start": { + "line": 83, + "column": 43 + }, + "end": { + "line": 83, + "column": 75 + } + } + } + ], + "range": [ + 2361, + 2405 + ], + "loc": { + "start": { + "line": 83, + "column": 32 + }, + "end": { + "line": 83, + "column": 76 + } + } + }, + "range": [ + 2353, + 2405 + ], + "loc": { + "start": { + "line": 83, + "column": 24 + }, + "end": { + "line": 83, + "column": 76 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "text", + "range": [ + 2431, + 2435 + ], + "loc": { + "start": { + "line": 84, + "column": 24 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2438, + 2448 + ], + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 2449, + 2454 + ], + "loc": { + "start": { + "line": 84, + "column": 42 + }, + "end": { + "line": 84, + "column": 47 + } + } + } + ], + "range": [ + 2438, + 2455 + ], + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 48 + } + } + }, + "range": [ + 2431, + 2455 + ], + "loc": { + "start": { + "line": 84, + "column": 24 + }, + "end": { + "line": 84, + "column": 48 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "container", + "range": [ + 2481, + 2490 + ], + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 33 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2493, + 2502 + ], + "loc": { + "start": { + "line": 85, + "column": 36 + }, + "end": { + "line": 85, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 2503, + 2509 + ], + "loc": { + "start": { + "line": 85, + "column": 46 + }, + "end": { + "line": 85, + "column": 52 + } + } + } + ], + "range": [ + 2493, + 2510 + ], + "loc": { + "start": { + "line": 85, + "column": 36 + }, + "end": { + "line": 85, + "column": 53 + } + } + }, + "range": [ + 2481, + 2510 + ], + "loc": { + "start": { + "line": 85, + "column": 24 + }, + "end": { + "line": 85, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 2109, + 2511 + ], + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 85, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " term not highlighted yet", + "range": [ + 2061, + 2088 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 2532, + 2541 + ], + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2542, + 2551 + ], + "loc": { + "start": { + "line": 86, + "column": 30 + }, + "end": { + "line": 86, + "column": 39 + } + } + }, + "range": [ + 2532, + 2551 + ], + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2554, + 2562 + ], + "loc": { + "start": { + "line": 86, + "column": 42 + }, + "end": { + "line": 86, + "column": 50 + } + } + }, + "range": [ + 2532, + 2562 + ], + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 50 + } + } + }, + "range": [ + 2532, + 2563 + ], + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 2584, + 2593 + ], + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2594, + 2605 + ], + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + "range": [ + 2584, + 2605 + ], + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 2606, + 2610 + ], + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 46 + } + } + } + ], + "range": [ + 2584, + 2611 + ], + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 47 + } + } + }, + "range": [ + 2584, + 2612 + ], + "loc": { + "start": { + "line": 87, + "column": 20 + }, + "end": { + "line": 87, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pn", + "range": [ + 2633, + 2635 + ], + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 2636, + 2648 + ], + "loc": { + "start": { + "line": 88, + "column": 23 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + "range": [ + 2633, + 2648 + ], + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "before", + "range": [ + 2649, + 2655 + ], + "loc": { + "start": { + "line": 88, + "column": 36 + }, + "end": { + "line": 88, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "node", + "range": [ + 2657, + 2661 + ], + "loc": { + "start": { + "line": 88, + "column": 44 + }, + "end": { + "line": 88, + "column": 48 + } + } + } + ], + "range": [ + 2633, + 2662 + ], + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 49 + } + } + }, + "range": [ + 2633, + 2663 + ], + "loc": { + "start": { + "line": 88, + "column": 20 + }, + "end": { + "line": 88, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pn", + "range": [ + 2684, + 2686 + ], + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 2687, + 2699 + ], + "loc": { + "start": { + "line": 89, + "column": 23 + }, + "end": { + "line": 89, + "column": 35 + } + } + }, + "range": [ + 2684, + 2699 + ], + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "container", + "range": [ + 2700, + 2709 + ], + "loc": { + "start": { + "line": 89, + "column": 36 + }, + "end": { + "line": 89, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "node", + "range": [ + 2711, + 2715 + ], + "loc": { + "start": { + "line": 89, + "column": 47 + }, + "end": { + "line": 89, + "column": 51 + } + } + } + ], + "range": [ + 2684, + 2716 + ], + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 52 + } + } + }, + "range": [ + 2684, + 2717 + ], + "loc": { + "start": { + "line": 89, + "column": 20 + }, + "end": { + "line": 89, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pn", + "range": [ + 2738, + 2740 + ], + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 2741, + 2753 + ], + "loc": { + "start": { + "line": 90, + "column": 23 + }, + "end": { + "line": 90, + "column": 35 + } + } + }, + "range": [ + 2738, + 2753 + ], + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "after", + "range": [ + 2754, + 2759 + ], + "loc": { + "start": { + "line": 90, + "column": 36 + }, + "end": { + "line": 90, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "node", + "range": [ + 2761, + 2765 + ], + "loc": { + "start": { + "line": 90, + "column": 43 + }, + "end": { + "line": 90, + "column": 47 + } + } + } + ], + "range": [ + 2738, + 2766 + ], + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 48 + } + } + }, + "range": [ + 2738, + 2767 + ], + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pn", + "range": [ + 2788, + 2790 + ], + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeChild", + "range": [ + 2791, + 2802 + ], + "loc": { + "start": { + "line": 91, + "column": 23 + }, + "end": { + "line": 91, + "column": 34 + } + } + }, + "range": [ + 2788, + 2802 + ], + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "node", + "range": [ + 2803, + 2807 + ], + "loc": { + "start": { + "line": 91, + "column": 35 + }, + "end": { + "line": 91, + "column": 39 + } + } + } + ], + "range": [ + 2788, + 2808 + ], + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 40 + } + } + }, + "range": [ + 2788, + 2809 + ], + "loc": { + "start": { + "line": 91, + "column": 20 + }, + "end": { + "line": 91, + "column": 41 + } + } + } + ], + "range": [ + 2039, + 2827 + ], + "loc": { + "start": { + "line": 77, + "column": 53 + }, + "end": { + "line": 92, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 2002, + 2827 + ], + "loc": { + "start": { + "line": 77, + "column": 16 + }, + "end": { + "line": 92, + "column": 17 + } + } + } + ], + "range": [ + 1942, + 2841 + ], + "loc": { + "start": { + "line": 75, + "column": 32 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 1922, + 2841 + ], + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 93, + "column": 13 + } + } + } + ], + "range": [ + 1788, + 2851 + ], + "loc": { + "start": { + "line": 71, + "column": 33 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1763, + 2851 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + } + ], + "range": [ + 1487, + 2857 + ], + "loc": { + "start": { + "line": 62, + "column": 36 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1464, + 2857 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 95, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1455, + 2857 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 95, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} term Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n ", + "range": [ + 1216, + 1450 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 61, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes highlight to nodes matching passed string\n * @param {String} term\n * @param {String} cssClass Css class to remove\n ", + "range": [ + 2863, + 3013 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 101, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "unhighlight", + "range": [ + 3018, + 3029 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 3030, + 3034 + ], + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "cssClass", + "range": [ + 3036, + 3044 + ], + "loc": { + "start": { + "line": 102, + "column": 22 + }, + "end": { + "line": 102, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "highlightedNodes", + "range": [ + 3060, + 3076 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3079, + 3083 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3084, + 3086 + ], + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 103, + "column": 38 + } + } + }, + "range": [ + 3079, + 3086 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 3087, + 3090 + ], + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 42 + } + } + }, + "range": [ + 3079, + 3090 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 3079, + 3092 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "querySelectorAll", + "range": [ + 3093, + 3109 + ], + "loc": { + "start": { + "line": 103, + "column": 45 + }, + "end": { + "line": 103, + "column": 61 + } + } + }, + "range": [ + 3079, + 3109 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": ".", + "cooked": "." + }, + "tail": false, + "range": [ + 3110, + 3114 + ], + "loc": { + "start": { + "line": 103, + "column": 62 + }, + "end": { + "line": 103, + "column": 66 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 3122, + 3124 + ], + "loc": { + "start": { + "line": 103, + "column": 74 + }, + "end": { + "line": 103, + "column": 76 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "cssClass", + "range": [ + 3114, + 3122 + ], + "loc": { + "start": { + "line": 103, + "column": 66 + }, + "end": { + "line": 103, + "column": 74 + } + } + } + ], + "range": [ + 3110, + 3124 + ], + "loc": { + "start": { + "line": 103, + "column": 62 + }, + "end": { + "line": 103, + "column": 76 + } + } + } + ], + "range": [ + 3079, + 3125 + ], + "loc": { + "start": { + "line": 103, + "column": 31 + }, + "end": { + "line": 103, + "column": 77 + } + } + }, + "range": [ + 3060, + 3125 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 77 + } + } + } + ], + "kind": "let", + "range": [ + 3056, + 3126 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 78 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 3144, + 3145 + ], + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3148, + 3149 + ], + "loc": { + "start": { + "line": 104, + "column": 21 + }, + "end": { + "line": 104, + "column": 22 + } + } + }, + "range": [ + 3144, + 3149 + ], + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 3140, + 3149 + ], + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 3151, + 3152 + ], + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "highlightedNodes", + "range": [ + 3155, + 3171 + ], + "loc": { + "start": { + "line": 104, + "column": 28 + }, + "end": { + "line": 104, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 3172, + 3178 + ], + "loc": { + "start": { + "line": 104, + "column": 45 + }, + "end": { + "line": 104, + "column": 51 + } + } + }, + "range": [ + 3155, + 3178 + ], + "loc": { + "start": { + "line": 104, + "column": 28 + }, + "end": { + "line": 104, + "column": 51 + } + } + }, + "range": [ + 3151, + 3178 + ], + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 51 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 3180, + 3181 + ], + "loc": { + "start": { + "line": 104, + "column": 53 + }, + "end": { + "line": 104, + "column": 54 + } + } + }, + "prefix": false, + "range": [ + 3180, + 3183 + ], + "loc": { + "start": { + "line": 104, + "column": 53 + }, + "end": { + "line": 104, + "column": 56 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 3203, + 3204 + ], + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "highlightedNodes", + "range": [ + 3207, + 3223 + ], + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 3224, + 3225 + ], + "loc": { + "start": { + "line": 105, + "column": 37 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "range": [ + 3207, + 3226 + ], + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 39 + } + } + }, + "range": [ + 3203, + 3226 + ], + "loc": { + "start": { + "line": 105, + "column": 16 + }, + "end": { + "line": 105, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 3199, + 3227 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nodeVal", + "range": [ + 3244, + 3251 + ], + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 3254, + 3261 + ], + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "n", + "range": [ + 3262, + 3263 + ], + "loc": { + "start": { + "line": 106, + "column": 34 + }, + "end": { + "line": 106, + "column": 35 + } + } + } + ], + "range": [ + 3254, + 3264 + ], + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 36 + } + } + }, + "range": [ + 3244, + 3264 + ], + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 3240, + 3265 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 37 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "nodeVal", + "range": [ + 3283, + 3290 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 3291, + 3302 + ], + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 35 + } + } + }, + "range": [ + 3283, + 3302 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 3283, + 3304 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 3305, + 3312 + ], + "loc": { + "start": { + "line": 108, + "column": 38 + }, + "end": { + "line": 108, + "column": 45 + } + } + }, + "range": [ + 3283, + 3312 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 3313, + 3317 + ], + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 3318, + 3329 + ], + "loc": { + "start": { + "line": 108, + "column": 51 + }, + "end": { + "line": 108, + "column": 62 + } + } + }, + "range": [ + 3313, + 3329 + ], + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 62 + } + } + }, + "arguments": [], + "range": [ + 3313, + 3331 + ], + "loc": { + "start": { + "line": 108, + "column": 46 + }, + "end": { + "line": 108, + "column": 64 + } + } + } + ], + "range": [ + 3283, + 3332 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 65 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3338, + 3339 + ], + "loc": { + "start": { + "line": 108, + "column": 71 + }, + "end": { + "line": 108, + "column": 72 + } + } + }, + "prefix": true, + "range": [ + 3337, + 3339 + ], + "loc": { + "start": { + "line": 108, + "column": 70 + }, + "end": { + "line": 108, + "column": 72 + } + } + }, + "range": [ + 3283, + 3339 + ], + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 3363, + 3373 + ], + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "n", + "range": [ + 3376, + 3377 + ], + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 3378, + 3388 + ], + "loc": { + "start": { + "line": 109, + "column": 35 + }, + "end": { + "line": 109, + "column": 45 + } + } + }, + "range": [ + 3376, + 3388 + ], + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 45 + } + } + }, + "range": [ + 3363, + 3388 + ], + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 3359, + 3389 + ], + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 109, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 3406, + 3416 + ], + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "replaceChild", + "range": [ + 3417, + 3429 + ], + "loc": { + "start": { + "line": 110, + "column": 27 + }, + "end": { + "line": 110, + "column": 39 + } + } + }, + "range": [ + 3406, + 3429 + ], + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 3430, + 3440 + ], + "loc": { + "start": { + "line": 110, + "column": 40 + }, + "end": { + "line": 110, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nodeVal", + "range": [ + 3441, + 3448 + ], + "loc": { + "start": { + "line": 110, + "column": 51 + }, + "end": { + "line": 110, + "column": 58 + } + } + } + ], + "range": [ + 3430, + 3449 + ], + "loc": { + "start": { + "line": 110, + "column": 40 + }, + "end": { + "line": 110, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "n", + "range": [ + 3451, + 3452 + ], + "loc": { + "start": { + "line": 110, + "column": 61 + }, + "end": { + "line": 110, + "column": 62 + } + } + } + ], + "range": [ + 3406, + 3453 + ], + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 63 + } + } + }, + "range": [ + 3406, + 3454 + ], + "loc": { + "start": { + "line": 110, + "column": 16 + }, + "end": { + "line": 110, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 3471, + 3481 + ], + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "normalize", + "range": [ + 3482, + 3491 + ], + "loc": { + "start": { + "line": 111, + "column": 27 + }, + "end": { + "line": 111, + "column": 36 + } + } + }, + "range": [ + 3471, + 3491 + ], + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 36 + } + } + }, + "arguments": [], + "range": [ + 3471, + 3493 + ], + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 38 + } + } + }, + "range": [ + 3471, + 3494 + ], + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 39 + } + } + } + ], + "range": [ + 3341, + 3508 + ], + "loc": { + "start": { + "line": 108, + "column": 74 + }, + "end": { + "line": 112, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3279, + 3508 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 112, + "column": 13 + } + } + } + ], + "range": [ + 3185, + 3518 + ], + "loc": { + "start": { + "line": 104, + "column": 58 + }, + "end": { + "line": 113, + "column": 9 + } + } + }, + "range": [ + 3135, + 3518 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 113, + "column": 9 + } + } + } + ], + "range": [ + 3046, + 3524 + ], + "loc": { + "start": { + "line": 102, + "column": 32 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3029, + 3524 + ], + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 114, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3018, + 3524 + ], + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 114, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes highlight to nodes matching passed string\n * @param {String} term\n * @param {String} cssClass Css class to remove\n ", + "range": [ + 2863, + 3013 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 101, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear all occurrences of highlighted nodes\n ", + "range": [ + 3530, + 3591 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "unhighlightAll", + "range": [ + 3596, + 3610 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 119, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3628, + 3632 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3633, + 3635 + ], + "loc": { + "start": { + "line": 120, + "column": 18 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + "range": [ + 3628, + 3635 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightKeywords", + "range": [ + 3636, + 3653 + ], + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 38 + } + } + }, + "range": [ + 3628, + 3653 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 3627, + 3653 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3669, + 3676 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 19 + } + } + } + ], + "range": [ + 3655, + 3686 + ], + "loc": { + "start": { + "line": 120, + "column": 40 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3623, + 3686 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " iterate filters values to unhighlight all values", + "range": [ + 3695, + 3746 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 59 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3755, + 3759 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3760, + 3762 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + "range": [ + 3755, + 3762 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersValue", + "range": [ + 3763, + 3778 + ], + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + "range": [ + 3755, + 3778 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 3755, + 3780 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 3781, + 3788 + ], + "loc": { + "start": { + "line": 124, + "column": 34 + }, + "end": { + "line": 124, + "column": 41 + } + } + }, + "range": [ + 3755, + 3788 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 3790, + 3793 + ], + "loc": { + "start": { + "line": 124, + "column": 43 + }, + "end": { + "line": 124, + "column": 46 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 3816, + 3823 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 3824, + 3827 + ], + "loc": { + "start": { + "line": 125, + "column": 24 + }, + "end": { + "line": 125, + "column": 27 + } + } + } + ], + "range": [ + 3816, + 3828 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "val", + "range": [ + 3848, + 3851 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 3852, + 3859 + ], + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 27 + } + } + }, + "range": [ + 3848, + 3859 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 3861, + 3865 + ], + "loc": { + "start": { + "line": 126, + "column": 29 + }, + "end": { + "line": 126, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3890, + 3894 + ], + "loc": { + "start": { + "line": 127, + "column": 20 + }, + "end": { + "line": 127, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "unhighlight", + "range": [ + 3895, + 3906 + ], + "loc": { + "start": { + "line": 127, + "column": 25 + }, + "end": { + "line": 127, + "column": 36 + } + } + }, + "range": [ + 3890, + 3906 + ], + "loc": { + "start": { + "line": 127, + "column": 20 + }, + "end": { + "line": 127, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 3907, + 3911 + ], + "loc": { + "start": { + "line": 127, + "column": 37 + }, + "end": { + "line": 127, + "column": 41 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3913, + 3917 + ], + "loc": { + "start": { + "line": 127, + "column": 43 + }, + "end": { + "line": 127, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightCssClass", + "range": [ + 3918, + 3935 + ], + "loc": { + "start": { + "line": 127, + "column": 48 + }, + "end": { + "line": 127, + "column": 65 + } + } + }, + "range": [ + 3913, + 3935 + ], + "loc": { + "start": { + "line": 127, + "column": 43 + }, + "end": { + "line": 127, + "column": 65 + } + } + } + ], + "range": [ + 3890, + 3936 + ], + "loc": { + "start": { + "line": 127, + "column": 20 + }, + "end": { + "line": 127, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3860, + 3936 + ], + "loc": { + "start": { + "line": 126, + "column": 28 + }, + "end": { + "line": 127, + "column": 66 + } + } + } + ], + "range": [ + 3848, + 3937 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 127, + "column": 67 + } + } + }, + "range": [ + 3848, + 3938 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 127, + "column": 68 + } + } + } + ], + "range": [ + 3830, + 3952 + ], + "loc": { + "start": { + "line": 125, + "column": 30 + }, + "end": { + "line": 128, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3976, + 3980 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "unhighlight", + "range": [ + 3981, + 3992 + ], + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 32 + } + } + }, + "range": [ + 3976, + 3992 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 3993, + 3996 + ], + "loc": { + "start": { + "line": 129, + "column": 33 + }, + "end": { + "line": 129, + "column": 36 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3998, + 4002 + ], + "loc": { + "start": { + "line": 129, + "column": 38 + }, + "end": { + "line": 129, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightCssClass", + "range": [ + 4003, + 4020 + ], + "loc": { + "start": { + "line": 129, + "column": 43 + }, + "end": { + "line": 129, + "column": 60 + } + } + }, + "range": [ + 3998, + 4020 + ], + "loc": { + "start": { + "line": 129, + "column": 38 + }, + "end": { + "line": 129, + "column": 60 + } + } + } + ], + "range": [ + 3976, + 4021 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 61 + } + } + }, + "range": [ + 3976, + 4022 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 62 + } + } + } + ], + "range": [ + 3958, + 4036 + ], + "loc": { + "start": { + "line": 128, + "column": 19 + }, + "end": { + "line": 130, + "column": 13 + } + } + }, + "range": [ + 3812, + 4036 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 130, + "column": 13 + } + } + } + ], + "range": [ + 3798, + 4046 + ], + "loc": { + "start": { + "line": 124, + "column": 51 + }, + "end": { + "line": 131, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3789, + 4046 + ], + "loc": { + "start": { + "line": 124, + "column": 42 + }, + "end": { + "line": 131, + "column": 9 + } + } + } + ], + "range": [ + 3755, + 4047 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 131, + "column": 10 + } + } + }, + "range": [ + 3755, + 4048 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 131, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " iterate filters values to unhighlight all values", + "range": [ + 3695, + 3746 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 59 + } + } + } + ] + } + ], + "range": [ + 3613, + 4054 + ], + "loc": { + "start": { + "line": 119, + "column": 21 + }, + "end": { + "line": 132, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3610, + 4054 + ], + "loc": { + "start": { + "line": 119, + "column": 18 + }, + "end": { + "line": 132, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3596, + 4054 + ], + "loc": { + "start": { + "line": 119, + "column": 4 + }, + "end": { + "line": 132, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear all occurrences of highlighted nodes\n ", + "range": [ + 3530, + 3591 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* Remove feature ", + "range": [ + 4060, + 4082 + ], + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 26 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 4087, + 4094 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 135, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4107, + 4111 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4112, + 4119 + ], + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "range": [ + 4107, + 4119 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 4120, + 4123 + ], + "loc": { + "start": { + "line": 136, + "column": 21 + }, + "end": { + "line": 136, + "column": 24 + } + } + }, + "range": [ + 4107, + 4123 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 4138, + 4156 + ], + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "destroy", + "raw": "'destroy'", + "range": [ + 4158, + 4167 + ], + "loc": { + "start": { + "line": 137, + "column": 33 + }, + "end": { + "line": 137, + "column": 42 + } + } + } + ], + "range": [ + 4137, + 4168 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4188, + 4192 + ], + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "unhighlightAll", + "range": [ + 4193, + 4207 + ], + "loc": { + "start": { + "line": 138, + "column": 23 + }, + "end": { + "line": 138, + "column": 37 + } + } + }, + "range": [ + 4188, + 4207 + ], + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 4188, + 4209 + ], + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 39 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4182, + 4209 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 39 + } + } + } + ], + "range": [ + 4107, + 4219 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 139, + "column": 9 + } + } + }, + "range": [ + 4107, + 4220 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 139, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4229, + 4233 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4234, + 4241 + ], + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 20 + } + } + }, + "range": [ + 4229, + 4241 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 4242, + 4245 + ], + "loc": { + "start": { + "line": 140, + "column": 21 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + "range": [ + 4229, + 4245 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 140, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "highlight-keyword", + "raw": "'highlight-keyword'", + "range": [ + 4260, + 4279 + ], + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 32 + } + } + } + ], + "range": [ + 4259, + 4280 + ], + "loc": { + "start": { + "line": 141, + "column": 12 + }, + "end": { + "line": 141, + "column": 33 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4295, + 4297 + ], + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "cell", + "range": [ + 4299, + 4303 + ], + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 4305, + 4309 + ], + "loc": { + "start": { + "line": 142, + "column": 23 + }, + "end": { + "line": 142, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4314, + 4318 + ], + "loc": { + "start": { + "line": 142, + "column": 32 + }, + "end": { + "line": 142, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "_processTerm", + "range": [ + 4319, + 4331 + ], + "loc": { + "start": { + "line": 142, + "column": 37 + }, + "end": { + "line": 142, + "column": 49 + } + } + }, + "range": [ + 4314, + 4331 + ], + "loc": { + "start": { + "line": 142, + "column": 32 + }, + "end": { + "line": 142, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 4332, + 4336 + ], + "loc": { + "start": { + "line": 142, + "column": 50 + }, + "end": { + "line": 142, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 4338, + 4342 + ], + "loc": { + "start": { + "line": 142, + "column": 56 + }, + "end": { + "line": 142, + "column": 60 + } + } + } + ], + "range": [ + 4314, + 4343 + ], + "loc": { + "start": { + "line": 142, + "column": 32 + }, + "end": { + "line": 142, + "column": 61 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4294, + 4343 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 61 + } + } + } + ], + "range": [ + 4229, + 4353 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 9 + } + } + }, + "range": [ + 4229, + 4354 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 10 + } + } + } + ], + "range": [ + 4097, + 4360 + ], + "loc": { + "start": { + "line": 135, + "column": 14 + }, + "end": { + "line": 144, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4094, + 4360 + ], + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 144, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4087, + 4360 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 144, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Remove feature ", + "range": [ + 4060, + 4082 + ], + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Ensure filtering operators are handled before highlighting any match\n * @param {any} Table cell to look searched term into\n * @param {any} Searched termIdx\n ", + "range": [ + 4366, + 4548 + ], + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 150, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_processTerm", + "range": [ + 4553, + 4565 + ], + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 151, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 4566, + 4570 + ], + "loc": { + "start": { + "line": 151, + "column": 17 + }, + "end": { + "line": 151, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 4572, + 4576 + ], + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4592, + 4594 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4597, + 4601 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4602, + 4604 + ], + "loc": { + "start": { + "line": 152, + "column": 22 + }, + "end": { + "line": 152, + "column": 24 + } + } + }, + "range": [ + 4597, + 4604 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 24 + } + } + }, + "range": [ + 4592, + 4604 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4588, + 4605 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 152, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reLk", + "range": [ + 4618, + 4622 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4629, + 4635 + ], + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 4636, + 4642 + ], + "loc": { + "start": { + "line": 153, + "column": 30 + }, + "end": { + "line": 153, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4643, + 4645 + ], + "loc": { + "start": { + "line": 153, + "column": 37 + }, + "end": { + "line": 153, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "lkOperator", + "range": [ + 4646, + 4656 + ], + "loc": { + "start": { + "line": 153, + "column": 40 + }, + "end": { + "line": 153, + "column": 50 + } + } + }, + "range": [ + 4643, + 4656 + ], + "loc": { + "start": { + "line": 153, + "column": 37 + }, + "end": { + "line": 153, + "column": 50 + } + } + } + ], + "range": [ + 4636, + 4657 + ], + "loc": { + "start": { + "line": 153, + "column": 30 + }, + "end": { + "line": 153, + "column": 51 + } + } + } + ], + "range": [ + 4625, + 4658 + ], + "loc": { + "start": { + "line": 153, + "column": 19 + }, + "end": { + "line": 153, + "column": 52 + } + } + }, + "range": [ + 4618, + 4658 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 153, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 4614, + 4659 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 53 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reEq", + "range": [ + 4672, + 4676 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4683, + 4689 + ], + "loc": { + "start": { + "line": 154, + "column": 23 + }, + "end": { + "line": 154, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4690, + 4692 + ], + "loc": { + "start": { + "line": 154, + "column": 30 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "eqOperator", + "range": [ + 4693, + 4703 + ], + "loc": { + "start": { + "line": 154, + "column": 33 + }, + "end": { + "line": 154, + "column": 43 + } + } + }, + "range": [ + 4690, + 4703 + ], + "loc": { + "start": { + "line": 154, + "column": 30 + }, + "end": { + "line": 154, + "column": 43 + } + } + } + ], + "range": [ + 4679, + 4704 + ], + "loc": { + "start": { + "line": 154, + "column": 19 + }, + "end": { + "line": 154, + "column": 44 + } + } + }, + "range": [ + 4672, + 4704 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 4668, + 4705 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reSt", + "range": [ + 4718, + 4722 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4729, + 4735 + ], + "loc": { + "start": { + "line": 155, + "column": 23 + }, + "end": { + "line": 155, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4736, + 4738 + ], + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "stOperator", + "range": [ + 4739, + 4749 + ], + "loc": { + "start": { + "line": 155, + "column": 33 + }, + "end": { + "line": 155, + "column": 43 + } + } + }, + "range": [ + 4736, + 4749 + ], + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 43 + } + } + } + ], + "range": [ + 4725, + 4750 + ], + "loc": { + "start": { + "line": 155, + "column": 19 + }, + "end": { + "line": 155, + "column": 44 + } + } + }, + "range": [ + 4718, + 4750 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 155, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 4714, + 4751 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reEn", + "range": [ + 4764, + 4768 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4775, + 4781 + ], + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 156, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4782, + 4784 + ], + "loc": { + "start": { + "line": 156, + "column": 30 + }, + "end": { + "line": 156, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "enOperator", + "range": [ + 4785, + 4795 + ], + "loc": { + "start": { + "line": 156, + "column": 33 + }, + "end": { + "line": 156, + "column": 43 + } + } + }, + "range": [ + 4782, + 4795 + ], + "loc": { + "start": { + "line": 156, + "column": 30 + }, + "end": { + "line": 156, + "column": 43 + } + } + } + ], + "range": [ + 4771, + 4796 + ], + "loc": { + "start": { + "line": 156, + "column": 19 + }, + "end": { + "line": 156, + "column": 44 + } + } + }, + "range": [ + 4764, + 4796 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 4760, + 4797 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reLe", + "range": [ + 4810, + 4814 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4821, + 4827 + ], + "loc": { + "start": { + "line": 157, + "column": 23 + }, + "end": { + "line": 157, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4828, + 4830 + ], + "loc": { + "start": { + "line": 157, + "column": 30 + }, + "end": { + "line": 157, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "leOperator", + "range": [ + 4831, + 4841 + ], + "loc": { + "start": { + "line": 157, + "column": 33 + }, + "end": { + "line": 157, + "column": 43 + } + } + }, + "range": [ + 4828, + 4841 + ], + "loc": { + "start": { + "line": 157, + "column": 30 + }, + "end": { + "line": 157, + "column": 43 + } + } + } + ], + "range": [ + 4817, + 4842 + ], + "loc": { + "start": { + "line": 157, + "column": 19 + }, + "end": { + "line": 157, + "column": 44 + } + } + }, + "range": [ + 4810, + 4842 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 4806, + 4843 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reGe", + "range": [ + 4856, + 4860 + ], + "loc": { + "start": { + "line": 158, + "column": 12 + }, + "end": { + "line": 158, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4867, + 4873 + ], + "loc": { + "start": { + "line": 158, + "column": 23 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4874, + 4876 + ], + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "geOperator", + "range": [ + 4877, + 4887 + ], + "loc": { + "start": { + "line": 158, + "column": 33 + }, + "end": { + "line": 158, + "column": 43 + } + } + }, + "range": [ + 4874, + 4887 + ], + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 43 + } + } + } + ], + "range": [ + 4863, + 4888 + ], + "loc": { + "start": { + "line": 158, + "column": 19 + }, + "end": { + "line": 158, + "column": 44 + } + } + }, + "range": [ + 4856, + 4888 + ], + "loc": { + "start": { + "line": 158, + "column": 12 + }, + "end": { + "line": 158, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 4852, + 4889 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reL", + "range": [ + 4902, + 4905 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4912, + 4918 + ], + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4919, + 4921 + ], + "loc": { + "start": { + "line": 159, + "column": 29 + }, + "end": { + "line": 159, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "lwOperator", + "range": [ + 4922, + 4932 + ], + "loc": { + "start": { + "line": 159, + "column": 32 + }, + "end": { + "line": 159, + "column": 42 + } + } + }, + "range": [ + 4919, + 4932 + ], + "loc": { + "start": { + "line": 159, + "column": 29 + }, + "end": { + "line": 159, + "column": 42 + } + } + } + ], + "range": [ + 4908, + 4933 + ], + "loc": { + "start": { + "line": 159, + "column": 18 + }, + "end": { + "line": 159, + "column": 43 + } + } + }, + "range": [ + 4902, + 4933 + ], + "loc": { + "start": { + "line": 159, + "column": 12 + }, + "end": { + "line": 159, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 4898, + 4934 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reG", + "range": [ + 4947, + 4950 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 4957, + 4963 + ], + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4964, + 4966 + ], + "loc": { + "start": { + "line": 160, + "column": 29 + }, + "end": { + "line": 160, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "grOperator", + "range": [ + 4967, + 4977 + ], + "loc": { + "start": { + "line": 160, + "column": 32 + }, + "end": { + "line": 160, + "column": 42 + } + } + }, + "range": [ + 4964, + 4977 + ], + "loc": { + "start": { + "line": 160, + "column": 29 + }, + "end": { + "line": 160, + "column": 42 + } + } + } + ], + "range": [ + 4953, + 4978 + ], + "loc": { + "start": { + "line": 160, + "column": 18 + }, + "end": { + "line": 160, + "column": 43 + } + } + }, + "range": [ + 4947, + 4978 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 4943, + 4979 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reD", + "range": [ + 4992, + 4995 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 5002, + 5008 + ], + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5009, + 5011 + ], + "loc": { + "start": { + "line": 161, + "column": 29 + }, + "end": { + "line": 161, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "dfOperator", + "range": [ + 5012, + 5022 + ], + "loc": { + "start": { + "line": 161, + "column": 32 + }, + "end": { + "line": 161, + "column": 42 + } + } + }, + "range": [ + 5009, + 5022 + ], + "loc": { + "start": { + "line": 161, + "column": 29 + }, + "end": { + "line": 161, + "column": 42 + } + } + } + ], + "range": [ + 4998, + 5023 + ], + "loc": { + "start": { + "line": 161, + "column": 18 + }, + "end": { + "line": 161, + "column": 43 + } + } + }, + "range": [ + 4992, + 5023 + ], + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 4988, + 5024 + ], + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 5034, + 5038 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 5041, + 5045 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 163, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 5059, + 5066 + ], + "loc": { + "start": { + "line": 164, + "column": 13 + }, + "end": { + "line": 164, + "column": 20 + } + } + }, + "range": [ + 5041, + 5066 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 164, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLk", + "range": [ + 5067, + 5071 + ], + "loc": { + "start": { + "line": 164, + "column": 21 + }, + "end": { + "line": 164, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5073, + 5075 + ], + "loc": { + "start": { + "line": 164, + "column": 27 + }, + "end": { + "line": 164, + "column": 29 + } + } + } + ], + "range": [ + 5041, + 5076 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 164, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 5090, + 5097 + ], + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 20 + } + } + }, + "range": [ + 5041, + 5097 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 165, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEq", + "range": [ + 5098, + 5102 + ], + "loc": { + "start": { + "line": 165, + "column": 21 + }, + "end": { + "line": 165, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5104, + 5106 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 165, + "column": 29 + } + } + } + ], + "range": [ + 5041, + 5107 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 165, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 5121, + 5128 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 20 + } + } + }, + "range": [ + 5041, + 5128 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 166, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reSt", + "range": [ + 5129, + 5133 + ], + "loc": { + "start": { + "line": 166, + "column": 21 + }, + "end": { + "line": 166, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5135, + 5137 + ], + "loc": { + "start": { + "line": 166, + "column": 27 + }, + "end": { + "line": 166, + "column": 29 + } + } + } + ], + "range": [ + 5041, + 5138 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 166, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 5152, + 5159 + ], + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 20 + } + } + }, + "range": [ + 5041, + 5159 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 167, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEn", + "range": [ + 5160, + 5164 + ], + "loc": { + "start": { + "line": 167, + "column": 21 + }, + "end": { + "line": 167, + "column": 25 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5166, + 5168 + ], + "loc": { + "start": { + "line": 167, + "column": 27 + }, + "end": { + "line": 167, + "column": 29 + } + } + } + ], + "range": [ + 5041, + 5169 + ], + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 167, + "column": 30 + } + } + }, + "range": [ + 5034, + 5169 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 167, + "column": 30 + } + } + }, + "range": [ + 5034, + 5170 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 167, + "column": 31 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reLe", + "range": [ + 5184, + 5188 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 5189, + 5193 + ], + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + "range": [ + 5184, + 5193 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 5194, + 5198 + ], + "loc": { + "start": { + "line": 169, + "column": 22 + }, + "end": { + "line": 169, + "column": 26 + } + } + } + ], + "range": [ + 5184, + 5199 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reGe", + "range": [ + 5203, + 5207 + ], + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 5208, + 5212 + ], + "loc": { + "start": { + "line": 169, + "column": 36 + }, + "end": { + "line": 169, + "column": 40 + } + } + }, + "range": [ + 5203, + 5212 + ], + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 5213, + 5217 + ], + "loc": { + "start": { + "line": 169, + "column": 41 + }, + "end": { + "line": 169, + "column": 45 + } + } + } + ], + "range": [ + 5203, + 5218 + ], + "loc": { + "start": { + "line": 169, + "column": 31 + }, + "end": { + "line": 169, + "column": 46 + } + } + }, + "range": [ + 5184, + 5218 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 46 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reL", + "range": [ + 5222, + 5225 + ], + "loc": { + "start": { + "line": 169, + "column": 50 + }, + "end": { + "line": 169, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 5226, + 5230 + ], + "loc": { + "start": { + "line": 169, + "column": 54 + }, + "end": { + "line": 169, + "column": 58 + } + } + }, + "range": [ + 5222, + 5230 + ], + "loc": { + "start": { + "line": 169, + "column": 50 + }, + "end": { + "line": 169, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 5231, + 5235 + ], + "loc": { + "start": { + "line": 169, + "column": 59 + }, + "end": { + "line": 169, + "column": 63 + } + } + } + ], + "range": [ + 5222, + 5236 + ], + "loc": { + "start": { + "line": 169, + "column": 50 + }, + "end": { + "line": 169, + "column": 64 + } + } + }, + "range": [ + 5184, + 5236 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 64 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reG", + "range": [ + 5252, + 5255 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 5256, + 5260 + ], + "loc": { + "start": { + "line": 170, + "column": 16 + }, + "end": { + "line": 170, + "column": 20 + } + } + }, + "range": [ + 5252, + 5260 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 5261, + 5265 + ], + "loc": { + "start": { + "line": 170, + "column": 21 + }, + "end": { + "line": 170, + "column": 25 + } + } + } + ], + "range": [ + 5252, + 5266 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 26 + } + } + }, + "range": [ + 5184, + 5266 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 170, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reD", + "range": [ + 5270, + 5273 + ], + "loc": { + "start": { + "line": 170, + "column": 30 + }, + "end": { + "line": 170, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 5274, + 5278 + ], + "loc": { + "start": { + "line": 170, + "column": 34 + }, + "end": { + "line": 170, + "column": 38 + } + } + }, + "range": [ + 5270, + 5278 + ], + "loc": { + "start": { + "line": 170, + "column": 30 + }, + "end": { + "line": 170, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 5279, + 5283 + ], + "loc": { + "start": { + "line": 170, + "column": 39 + }, + "end": { + "line": 170, + "column": 43 + } + } + } + ], + "range": [ + 5270, + 5284 + ], + "loc": { + "start": { + "line": 170, + "column": 30 + }, + "end": { + "line": 170, + "column": 44 + } + } + }, + "range": [ + 5184, + 5284 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 170, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 5300, + 5304 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 5307, + 5314 + ], + "loc": { + "start": { + "line": 171, + "column": 19 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 5315, + 5319 + ], + "loc": { + "start": { + "line": 171, + "column": 27 + }, + "end": { + "line": 171, + "column": 31 + } + } + } + ], + "range": [ + 5307, + 5320 + ], + "loc": { + "start": { + "line": 171, + "column": 19 + }, + "end": { + "line": 171, + "column": 32 + } + } + }, + "range": [ + 5300, + 5320 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 32 + } + } + }, + "range": [ + 5300, + 5321 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 33 + } + } + } + ], + "range": [ + 5286, + 5331 + ], + "loc": { + "start": { + "line": 170, + "column": 46 + }, + "end": { + "line": 172, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5180, + 5331 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 172, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 5345, + 5349 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5354, + 5356 + ], + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 23 + } + } + }, + "range": [ + 5345, + 5356 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5372, + 5379 + ], + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 19 + } + } + } + ], + "range": [ + 5358, + 5389 + ], + "loc": { + "start": { + "line": 174, + "column": 25 + }, + "end": { + "line": 176, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5341, + 5389 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 176, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5399, + 5403 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlight", + "range": [ + 5404, + 5413 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + "range": [ + 5399, + 5413 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 5414, + 5418 + ], + "loc": { + "start": { + "line": 178, + "column": 23 + }, + "end": { + "line": 178, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "term", + "range": [ + 5420, + 5424 + ], + "loc": { + "start": { + "line": 178, + "column": 29 + }, + "end": { + "line": 178, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5426, + 5430 + ], + "loc": { + "start": { + "line": 178, + "column": 35 + }, + "end": { + "line": 178, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightCssClass", + "range": [ + 5431, + 5448 + ], + "loc": { + "start": { + "line": 178, + "column": 40 + }, + "end": { + "line": 178, + "column": 57 + } + } + }, + "range": [ + 5426, + 5448 + ], + "loc": { + "start": { + "line": 178, + "column": 35 + }, + "end": { + "line": 178, + "column": 57 + } + } + } + ], + "range": [ + 5399, + 5449 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 58 + } + } + }, + "range": [ + 5399, + 5450 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 59 + } + } + } + ], + "range": [ + 4578, + 5456 + ], + "loc": { + "start": { + "line": 151, + "column": 29 + }, + "end": { + "line": 179, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4565, + 5456 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 179, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4553, + 5456 + ], + "loc": { + "start": { + "line": 151, + "column": 4 + }, + "end": { + "line": 179, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Ensure filtering operators are handled before highlighting any match\n * @param {any} Table cell to look searched term into\n * @param {any} Searched termIdx\n ", + "range": [ + 4366, + 4548 + ], + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 150, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 289, + 5458 + ], + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 180, + "column": 1 + } + } + }, + "range": [ + 266, + 5458 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n ", + "range": [ + 165, + 258 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 259, + 5458 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n ", + "range": [ + 165, + 258 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 5458 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n ", + "range": [ + 165, + 258 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of HighlightKeyword\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 296, + 406 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for highlighted term\n * @type {String}\n ", + "range": [ + 467, + 550 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter instance\n * @type {TableFilter}\n ", + "range": [ + 640, + 718 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter's emitter instance\n * @type {Emitter}\n ", + "range": [ + 750, + 834 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes HighlightKeyword instance\n ", + "range": [ + 881, + 937 + ], + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} term Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n ", + "range": [ + 1216, + 1450 + ], + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 61, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Iterate into this nodes childNodes", + "range": [ + 1497, + 1534 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 45 + } + } + }, + { + "type": "Line", + "value": " term not highlighted yet", + "range": [ + 2061, + 2088 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " Create a load of replacement nodes", + "range": [ + 2158, + 2195 + ], + "loc": { + "start": { + "line": 80, + "column": 24 + }, + "end": { + "line": 80, + "column": 61 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes highlight to nodes matching passed string\n * @param {String} term\n * @param {String} cssClass Css class to remove\n ", + "range": [ + 2863, + 3013 + ], + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 101, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear all occurrences of highlighted nodes\n ", + "range": [ + 3530, + 3591 + ], + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " iterate filters values to unhighlight all values", + "range": [ + 3695, + 3746 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 59 + } + } + }, + { + "type": "Block", + "value": "* Remove feature ", + "range": [ + 4060, + 4082 + ], + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 26 + } + } + }, + { + "type": "Block", + "value": "*\n * Ensure filtering operators are handled before highlighting any match\n * @param {any} Table cell to look searched term into\n * @param {any} Searched termIdx\n ", + "range": [ + 4366, + 4548 + ], + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 150, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/loader.js.json b/docs/ast/source/modules/loader.js.json new file mode 100644 index 00000000..211fecb2 --- /dev/null +++ b/docs/ast/source/modules/loader.js.json @@ -0,0 +1,8935 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 88, + 96 + ], + "loc": { + "start": { + "line": 2, + "column": 52 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + "range": [ + 36, + 97 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 121, + 131 + ], + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 98, + 132 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 141, + 145 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 141, + 145 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "range": [ + 141, + 145 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 152, + 161 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + "range": [ + 133, + 162 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 171, + 175 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 171, + 175 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + "range": [ + 171, + 175 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 182, + 192 + ], + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + "range": [ + 163, + 193 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 202, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 202, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + "range": [ + 202, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 215, + 225 + ], + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 215, + 225 + ], + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + "range": [ + 215, + 225 + ], + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 232, + 245 + ], + "loc": { + "start": { + "line": 6, + "column": 38 + }, + "end": { + "line": 6, + "column": 51 + } + } + }, + "range": [ + 194, + 246 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 254, + 260 + ], + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 269, + 287 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "before-populating-filter", + "raw": "'before-populating-filter'", + "range": [ + 293, + 319 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "before-page-change", + "raw": "'before-page-change'", + "range": [ + 325, + 345 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + { + "type": "Literal", + "value": "before-clearing-filters", + "raw": "'before-clearing-filters'", + "range": [ + 351, + 376 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "before-page-length-change", + "raw": "'before-page-length-change'", + "range": [ + 382, + 409 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "before-reset-page", + "raw": "'before-reset-page'", + "range": [ + 415, + 434 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "before-reset-page-length", + "raw": "'before-reset-page-length'", + "range": [ + 440, + 466 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "before-loading-extensions", + "raw": "'before-loading-extensions'", + "range": [ + 472, + 499 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "before-loading-themes", + "raw": "'before-loading-themes'", + "range": [ + 505, + 528 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 27 + } + } + } + ], + "range": [ + 263, + 530 + ], + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + "range": [ + 254, + 530 + ], + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 18, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 248, + 531 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "column": 2 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", + "range": [ + 533, + 615 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Loader", + "range": [ + 629, + 635 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 644, + 651 + ], + "loc": { + "start": { + "line": 27, + "column": 28 + }, + "end": { + "line": 27, + "column": 35 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 772, + 783 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 784, + 786 + ], + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 798, + 803 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 804, + 806 + ], + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "loader", + "raw": "'loader'", + "range": [ + 808, + 816 + ], + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 26 + } + } + } + ], + "range": [ + 798, + 817 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "range": [ + 798, + 818 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 832, + 833 + ], + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 836, + 840 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 841, + 847 + ], + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + "range": [ + 836, + 847 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "loader", + "range": [ + 848, + 854 + ], + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + "range": [ + 836, + 854 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 858, + 860 + ], + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 40 + } + } + }, + "range": [ + 836, + 860 + ], + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 40 + } + } + }, + "range": [ + 832, + 860 + ], + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 828, + 861 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 41 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 871, + 954 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 963, + 967 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 968, + 976 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + "range": [ + 963, + 976 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 979, + 990 + ], + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 991, + 992 + ], + "loc": { + "start": { + "line": 43, + "column": 36 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "target_id", + "range": [ + 993, + 1002 + ], + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 47 + } + } + }, + "range": [ + 991, + 1002 + ], + "loc": { + "start": { + "line": 43, + "column": 36 + }, + "end": { + "line": 43, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1004, + 1008 + ], + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 53 + } + } + } + ], + "range": [ + 979, + 1009 + ], + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 54 + } + } + }, + "range": [ + 963, + 1009 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 54 + } + } + }, + "range": [ + 963, + 1010 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 871, + 954 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1020, + 1105 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1114, + 1118 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 1119, + 1123 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "range": [ + 1114, + 1123 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1126, + 1130 + ], + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 24 + } + } + }, + "range": [ + 1114, + 1130 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 24 + } + } + }, + "range": [ + 1114, + 1131 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1020, + 1105 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", + "range": [ + 1141, + 1234 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1243, + 1247 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1248, + 1252 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 17 + } + } + }, + "range": [ + 1243, + 1252 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1255, + 1266 + ], + "loc": { + "start": { + "line": 55, + "column": 20 + }, + "end": { + "line": 55, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1267, + 1268 + ], + "loc": { + "start": { + "line": 55, + "column": 32 + }, + "end": { + "line": 55, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1269, + 1273 + ], + "loc": { + "start": { + "line": 55, + "column": 34 + }, + "end": { + "line": 55, + "column": 38 + } + } + }, + "range": [ + 1267, + 1273 + ], + "loc": { + "start": { + "line": 55, + "column": 32 + }, + "end": { + "line": 55, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "Loading...", + "raw": "'Loading...'", + "range": [ + 1275, + 1287 + ], + "loc": { + "start": { + "line": 55, + "column": 40 + }, + "end": { + "line": 55, + "column": 52 + } + } + } + ], + "range": [ + 1255, + 1288 + ], + "loc": { + "start": { + "line": 55, + "column": 20 + }, + "end": { + "line": 55, + "column": 53 + } + } + }, + "range": [ + 1243, + 1288 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 53 + } + } + }, + "range": [ + 1243, + 1289 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", + "range": [ + 1141, + 1234 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", + "range": [ + 1299, + 1402 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1411, + 1415 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 1416, + 1420 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + "range": [ + 1411, + 1420 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1423, + 1434 + ], + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1435, + 1436 + ], + "loc": { + "start": { + "line": 61, + "column": 32 + }, + "end": { + "line": 61, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 1437, + 1441 + ], + "loc": { + "start": { + "line": 61, + "column": 34 + }, + "end": { + "line": 61, + "column": 38 + } + } + }, + "range": [ + 1435, + 1441 + ], + "loc": { + "start": { + "line": 61, + "column": 32 + }, + "end": { + "line": 61, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1443, + 1447 + ], + "loc": { + "start": { + "line": 61, + "column": 40 + }, + "end": { + "line": 61, + "column": 44 + } + } + } + ], + "range": [ + 1423, + 1448 + ], + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 45 + } + } + }, + "range": [ + 1411, + 1448 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 45 + } + } + }, + "range": [ + 1411, + 1449 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", + "range": [ + 1299, + 1402 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", + "range": [ + 1459, + 1552 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1561, + 1565 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1566, + 1574 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 21 + } + } + }, + "range": [ + 1561, + 1574 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1577, + 1588 + ], + "loc": { + "start": { + "line": 67, + "column": 24 + }, + "end": { + "line": 67, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1589, + 1590 + ], + "loc": { + "start": { + "line": 67, + "column": 36 + }, + "end": { + "line": 67, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "css_class", + "range": [ + 1591, + 1600 + ], + "loc": { + "start": { + "line": 67, + "column": 38 + }, + "end": { + "line": 67, + "column": 47 + } + } + }, + "range": [ + 1589, + 1600 + ], + "loc": { + "start": { + "line": 67, + "column": 36 + }, + "end": { + "line": 67, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "loader", + "raw": "'loader'", + "range": [ + 1602, + 1610 + ], + "loc": { + "start": { + "line": 67, + "column": 49 + }, + "end": { + "line": 67, + "column": 57 + } + } + } + ], + "range": [ + 1577, + 1611 + ], + "loc": { + "start": { + "line": 67, + "column": 24 + }, + "end": { + "line": 67, + "column": 58 + } + } + }, + "range": [ + 1561, + 1611 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 58 + } + } + }, + "range": [ + 1561, + 1612 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", + "range": [ + 1459, + 1552 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", + "range": [ + 1622, + 1702 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1711, + 1715 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeDelay", + "range": [ + 1716, + 1726 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "range": [ + 1711, + 1726 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": 250, + "raw": "250", + "range": [ + 1729, + 1732 + ], + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + "range": [ + 1711, + 1732 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 29 + } + } + }, + "range": [ + 1711, + 1733 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", + "range": [ + 1622, + 1702 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", + "range": [ + 1743, + 1837 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1846, + 1850 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onShow", + "range": [ + 1851, + 1857 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + "range": [ + 1846, + 1857 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1860, + 1870 + ], + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1871, + 1872 + ], + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_show_loader", + "range": [ + 1873, + 1887 + ], + "loc": { + "start": { + "line": 79, + "column": 35 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + "range": [ + 1871, + 1887 + ], + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1889, + 1897 + ], + "loc": { + "start": { + "line": 79, + "column": 51 + }, + "end": { + "line": 79, + "column": 59 + } + } + } + ], + "range": [ + 1860, + 1898 + ], + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 60 + } + } + }, + "range": [ + 1846, + 1898 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 60 + } + } + }, + "range": [ + 1846, + 1899 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", + "range": [ + 1743, + 1837 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", + "range": [ + 1909, + 2000 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2009, + 2013 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onHide", + "range": [ + 2014, + 2020 + ], + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 19 + } + } + }, + "range": [ + 2009, + 2020 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2023, + 2033 + ], + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2034, + 2035 + ], + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_hide_loader", + "range": [ + 2036, + 2050 + ], + "loc": { + "start": { + "line": 85, + "column": 35 + }, + "end": { + "line": 85, + "column": 49 + } + } + }, + "range": [ + 2034, + 2050 + ], + "loc": { + "start": { + "line": 85, + "column": 33 + }, + "end": { + "line": 85, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2052, + 2060 + ], + "loc": { + "start": { + "line": 85, + "column": 51 + }, + "end": { + "line": 85, + "column": 59 + } + } + } + ], + "range": [ + 2023, + 2061 + ], + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 60 + } + } + }, + "range": [ + 2009, + 2061 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 60 + } + } + }, + "range": [ + 2009, + 2062 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", + "range": [ + 1909, + 2000 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 788, + 2068 + ], + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 783, + 2068 + ], + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 772, + 2068 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 86, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 659, + 767 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes Loader instance\n ", + "range": [ + 2074, + 2120 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 2125, + 2129 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2146, + 2150 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2151, + 2162 + ], + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 28 + } + } + }, + "range": [ + 2146, + 2162 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2178, + 2185 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 19 + } + } + } + ], + "range": [ + 2164, + 2195 + ], + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2142, + 2195 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2209, + 2211 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2214, + 2218 + ], + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2219, + 2221 + ], + "loc": { + "start": { + "line": 96, + "column": 22 + }, + "end": { + "line": 96, + "column": 24 + } + } + }, + "range": [ + 2214, + 2221 + ], + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 24 + } + } + }, + "range": [ + 2209, + 2221 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2205, + 2222 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2235, + 2242 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2245, + 2249 + ], + "loc": { + "start": { + "line": 97, + "column": 22 + }, + "end": { + "line": 97, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2250, + 2257 + ], + "loc": { + "start": { + "line": 97, + "column": 27 + }, + "end": { + "line": 97, + "column": 34 + } + } + }, + "range": [ + 2245, + 2257 + ], + "loc": { + "start": { + "line": 97, + "column": 22 + }, + "end": { + "line": 97, + "column": 34 + } + } + }, + "range": [ + 2235, + 2257 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 2231, + 2258 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 35 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "containerDiv", + "range": [ + 2272, + 2284 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2287, + 2296 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 2297, + 2302 + ], + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 42 + } + } + } + ], + "range": [ + 2287, + 2303 + ], + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 43 + } + } + }, + "range": [ + 2272, + 2303 + ], + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 2268, + 2304 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "containerDiv", + "range": [ + 2313, + 2325 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2326, + 2335 + ], + "loc": { + "start": { + "line": 100, + "column": 21 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + "range": [ + 2313, + 2335 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2338, + 2342 + ], + "loc": { + "start": { + "line": 100, + "column": 33 + }, + "end": { + "line": 100, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2343, + 2351 + ], + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2338, + 2351 + ], + "loc": { + "start": { + "line": 100, + "column": 33 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2313, + 2351 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + "range": [ + 2313, + 2352 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2366, + 2374 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2378, + 2382 + ], + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2383, + 2391 + ], + "loc": { + "start": { + "line": 102, + "column": 29 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "range": [ + 2378, + 2391 + ], + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 2377, + 2391 + ], + "loc": { + "start": { + "line": 102, + "column": 23 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2406, + 2408 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 2409, + 2412 + ], + "loc": { + "start": { + "line": 103, + "column": 15 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + "range": [ + 2406, + 2412 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + "arguments": [], + "range": [ + 2406, + 2414 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 2415, + 2425 + ], + "loc": { + "start": { + "line": 103, + "column": 21 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + "range": [ + 2406, + 2425 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 2428, + 2431 + ], + "loc": { + "start": { + "line": 103, + "column": 34 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2432, + 2436 + ], + "loc": { + "start": { + "line": 103, + "column": 38 + }, + "end": { + "line": 103, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2437, + 2445 + ], + "loc": { + "start": { + "line": 103, + "column": 43 + }, + "end": { + "line": 103, + "column": 51 + } + } + }, + "range": [ + 2432, + 2445 + ], + "loc": { + "start": { + "line": 103, + "column": 38 + }, + "end": { + "line": 103, + "column": 51 + } + } + } + ], + "range": [ + 2428, + 2446 + ], + "loc": { + "start": { + "line": 103, + "column": 34 + }, + "end": { + "line": 103, + "column": 52 + } + } + }, + "range": [ + 2377, + 2446 + ], + "loc": { + "start": { + "line": 102, + "column": 23 + }, + "end": { + "line": 103, + "column": 52 + } + } + }, + "range": [ + 2366, + 2446 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 103, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 2362, + 2447 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 103, + "column": 53 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2461, + 2465 + ], + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2466, + 2474 + ], + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + "range": [ + 2461, + 2474 + ], + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 2460, + 2474 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2490, + 2498 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 2499, + 2511 + ], + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 33 + } + } + }, + "range": [ + 2490, + 2511 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "containerDiv", + "range": [ + 2512, + 2524 + ], + "loc": { + "start": { + "line": 105, + "column": 34 + }, + "end": { + "line": 105, + "column": 46 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2526, + 2528 + ], + "loc": { + "start": { + "line": 105, + "column": 48 + }, + "end": { + "line": 105, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 2529, + 2532 + ], + "loc": { + "start": { + "line": 105, + "column": 51 + }, + "end": { + "line": 105, + "column": 54 + } + } + }, + "range": [ + 2526, + 2532 + ], + "loc": { + "start": { + "line": 105, + "column": 48 + }, + "end": { + "line": 105, + "column": 54 + } + } + }, + "arguments": [], + "range": [ + 2526, + 2534 + ], + "loc": { + "start": { + "line": 105, + "column": 48 + }, + "end": { + "line": 105, + "column": 56 + } + } + } + ], + "range": [ + 2490, + 2535 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 57 + } + } + }, + "range": [ + 2490, + 2536 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 58 + } + } + } + ], + "range": [ + 2476, + 2546 + ], + "loc": { + "start": { + "line": 104, + "column": 28 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2566, + 2574 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2575, + 2586 + ], + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 32 + } + } + }, + "range": [ + 2566, + 2586 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "containerDiv", + "range": [ + 2587, + 2599 + ], + "loc": { + "start": { + "line": 107, + "column": 33 + }, + "end": { + "line": 107, + "column": 45 + } + } + } + ], + "range": [ + 2566, + 2600 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 46 + } + } + }, + "range": [ + 2566, + 2601 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 47 + } + } + } + ], + "range": [ + 2552, + 2611 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + "range": [ + 2456, + 2611 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2620, + 2624 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 2625, + 2629 + ], + "loc": { + "start": { + "line": 109, + "column": 13 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + "range": [ + 2620, + 2629 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "containerDiv", + "range": [ + 2632, + 2644 + ], + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 32 + } + } + }, + "range": [ + 2620, + 2644 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 32 + } + } + }, + "range": [ + 2620, + 2645 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2659, + 2663 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 2664, + 2668 + ], + "loc": { + "start": { + "line": 110, + "column": 18 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "range": [ + 2659, + 2668 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 2658, + 2668 + ], + "loc": { + "start": { + "line": 110, + "column": 12 + }, + "end": { + "line": 110, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2684, + 2688 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 2689, + 2693 + ], + "loc": { + "start": { + "line": 111, + "column": 17 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "range": [ + 2684, + 2693 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2694, + 2705 + ], + "loc": { + "start": { + "line": 111, + "column": 22 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + "range": [ + 2684, + 2705 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2706, + 2716 + ], + "loc": { + "start": { + "line": 111, + "column": 34 + }, + "end": { + "line": 111, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2717, + 2721 + ], + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 2722, + 2726 + ], + "loc": { + "start": { + "line": 111, + "column": 50 + }, + "end": { + "line": 111, + "column": 54 + } + } + }, + "range": [ + 2717, + 2726 + ], + "loc": { + "start": { + "line": 111, + "column": 45 + }, + "end": { + "line": 111, + "column": 54 + } + } + } + ], + "range": [ + 2706, + 2727 + ], + "loc": { + "start": { + "line": 111, + "column": 34 + }, + "end": { + "line": 111, + "column": 55 + } + } + } + ], + "range": [ + 2684, + 2728 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 56 + } + } + }, + "range": [ + 2684, + 2729 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 57 + } + } + } + ], + "range": [ + 2670, + 2739 + ], + "loc": { + "start": { + "line": 110, + "column": 24 + }, + "end": { + "line": 112, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2759, + 2763 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 2764, + 2768 + ], + "loc": { + "start": { + "line": 113, + "column": 17 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + "range": [ + 2759, + 2768 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 2769, + 2778 + ], + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + "range": [ + 2759, + 2778 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2781, + 2785 + ], + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "html", + "range": [ + 2786, + 2790 + ], + "loc": { + "start": { + "line": 113, + "column": 39 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + "range": [ + 2781, + 2790 + ], + "loc": { + "start": { + "line": 113, + "column": 34 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + "range": [ + 2759, + 2790 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + "range": [ + 2759, + 2791 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 44 + } + } + } + ], + "range": [ + 2745, + 2801 + ], + "loc": { + "start": { + "line": 112, + "column": 15 + }, + "end": { + "line": 114, + "column": 9 + } + } + }, + "range": [ + 2654, + 2801 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 114, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2811, + 2815 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 2816, + 2820 + ], + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + "range": [ + 2811, + 2820 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "NONE", + "range": [ + 2821, + 2825 + ], + "loc": { + "start": { + "line": 116, + "column": 18 + }, + "end": { + "line": 116, + "column": 22 + } + } + } + ], + "range": [ + 2811, + 2826 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + "range": [ + 2811, + 2827 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 24 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 2837, + 2859 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2868, + 2875 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 2876, + 2878 + ], + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 18 + } + } + }, + "range": [ + 2868, + 2878 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 2879, + 2885 + ], + "loc": { + "start": { + "line": 119, + "column": 19 + }, + "end": { + "line": 119, + "column": 25 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2893, + 2897 + ], + "loc": { + "start": { + "line": 119, + "column": 33 + }, + "end": { + "line": 119, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 2898, + 2902 + ], + "loc": { + "start": { + "line": 119, + "column": 38 + }, + "end": { + "line": 119, + "column": 42 + } + } + }, + "range": [ + 2893, + 2902 + ], + "loc": { + "start": { + "line": 119, + "column": 33 + }, + "end": { + "line": 119, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 2903, + 2905 + ], + "loc": { + "start": { + "line": 119, + "column": 43 + }, + "end": { + "line": 119, + "column": 45 + } + } + } + ], + "range": [ + 2893, + 2906 + ], + "loc": { + "start": { + "line": 119, + "column": 33 + }, + "end": { + "line": 119, + "column": 46 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2887, + 2906 + ], + "loc": { + "start": { + "line": 119, + "column": 27 + }, + "end": { + "line": 119, + "column": 46 + } + } + } + ], + "range": [ + 2868, + 2907 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 47 + } + } + }, + "range": [ + 2868, + 2908 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 2837, + 2859 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2917, + 2924 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 2925, + 2927 + ], + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 18 + } + } + }, + "range": [ + 2917, + 2927 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 2928, + 2934 + ], + "loc": { + "start": { + "line": 120, + "column": 19 + }, + "end": { + "line": 120, + "column": 25 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2942, + 2946 + ], + "loc": { + "start": { + "line": 120, + "column": 33 + }, + "end": { + "line": 120, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 2947, + 2951 + ], + "loc": { + "start": { + "line": 120, + "column": 38 + }, + "end": { + "line": 120, + "column": 42 + } + } + }, + "range": [ + 2942, + 2951 + ], + "loc": { + "start": { + "line": 120, + "column": 33 + }, + "end": { + "line": 120, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "NONE", + "range": [ + 2952, + 2956 + ], + "loc": { + "start": { + "line": 120, + "column": 43 + }, + "end": { + "line": 120, + "column": 47 + } + } + } + ], + "range": [ + 2942, + 2957 + ], + "loc": { + "start": { + "line": 120, + "column": 33 + }, + "end": { + "line": 120, + "column": 48 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2936, + 2957 + ], + "loc": { + "start": { + "line": 120, + "column": 27 + }, + "end": { + "line": 120, + "column": 48 + } + } + } + ], + "range": [ + 2917, + 2958 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 49 + } + } + }, + "range": [ + 2917, + 2959 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 50 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2969, + 2986 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2995, + 2999 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3000, + 3011 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 24 + } + } + }, + "range": [ + 2995, + 3011 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3014, + 3018 + ], + "loc": { + "start": { + "line": 123, + "column": 27 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + "range": [ + 2995, + 3018 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 31 + } + } + }, + "range": [ + 2995, + 3019 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2969, + 2986 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 2132, + 3025 + ], + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 124, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2129, + 3025 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 124, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2125, + 3025 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 124, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes Loader instance\n ", + "range": [ + 2074, + 2120 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", + "range": [ + 3031, + 3140 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 129, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "show", + "range": [ + 3145, + 3149 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 130, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "p", + "range": [ + 3150, + 3151 + ], + "loc": { + "start": { + "line": 130, + "column": 9 + }, + "end": { + "line": 130, + "column": 10 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3168, + 3172 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 3173, + 3182 + ], + "loc": { + "start": { + "line": 131, + "column": 18 + }, + "end": { + "line": 131, + "column": 27 + } + } + }, + "range": [ + 3168, + 3182 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 3168, + 3184 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3167, + 3184 + ], + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 131, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3200, + 3207 + ], + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 19 + } + } + } + ], + "range": [ + 3186, + 3217 + ], + "loc": { + "start": { + "line": 131, + "column": 31 + }, + "end": { + "line": 133, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3163, + 3217 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 133, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "displayLoader", + "range": [ + 3231, + 3244 + ], + "loc": { + "start": { + "line": 135, + "column": 12 + }, + "end": { + "line": 135, + "column": 25 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3272, + 3276 + ], + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3277, + 3281 + ], + "loc": { + "start": { + "line": 136, + "column": 22 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + "range": [ + 3272, + 3281 + ], + "loc": { + "start": { + "line": 136, + "column": 17 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 3271, + 3281 + ], + "loc": { + "start": { + "line": 136, + "column": 16 + }, + "end": { + "line": 136, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3301, + 3308 + ], + "loc": { + "start": { + "line": 137, + "column": 16 + }, + "end": { + "line": 137, + "column": 23 + } + } + } + ], + "range": [ + 3283, + 3322 + ], + "loc": { + "start": { + "line": 136, + "column": 28 + }, + "end": { + "line": 138, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3267, + 3322 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 138, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "p", + "range": [ + 3339, + 3340 + ], + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 3345, + 3349 + ], + "loc": { + "start": { + "line": 139, + "column": 22 + }, + "end": { + "line": 139, + "column": 26 + } + } + }, + "range": [ + 3339, + 3349 + ], + "loc": { + "start": { + "line": 139, + "column": 16 + }, + "end": { + "line": 139, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3369, + 3373 + ], + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "onShow", + "range": [ + 3374, + 3380 + ], + "loc": { + "start": { + "line": 140, + "column": 21 + }, + "end": { + "line": 140, + "column": 27 + } + } + }, + "range": [ + 3369, + 3380 + ], + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 3381, + 3385 + ], + "loc": { + "start": { + "line": 140, + "column": 28 + }, + "end": { + "line": 140, + "column": 32 + } + } + } + ], + "range": [ + 3369, + 3386 + ], + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 33 + } + } + }, + "range": [ + 3369, + 3387 + ], + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 34 + } + } + } + ], + "range": [ + 3351, + 3401 + ], + "loc": { + "start": { + "line": 139, + "column": 28 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3335, + 3401 + ], + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 141, + "column": 13 + } + } + }, + { + "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": [ + 3414, + 3418 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3419, + 3423 + ], + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + "range": [ + 3414, + 3423 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 3424, + 3429 + ], + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + "range": [ + 3414, + 3429 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 3430, + 3437 + ], + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 35 + } + } + }, + "range": [ + 3414, + 3437 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "p", + "range": [ + 3440, + 3441 + ], + "loc": { + "start": { + "line": 142, + "column": 38 + }, + "end": { + "line": 142, + "column": 39 + } + } + }, + "range": [ + 3414, + 3441 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 39 + } + } + }, + "range": [ + 3414, + 3442 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "p", + "range": [ + 3459, + 3460 + ], + "loc": { + "start": { + "line": 143, + "column": 16 + }, + "end": { + "line": 143, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 3465, + 3469 + ], + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 26 + } + } + }, + "range": [ + 3459, + 3469 + ], + "loc": { + "start": { + "line": 143, + "column": 16 + }, + "end": { + "line": 143, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3489, + 3493 + ], + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "onHide", + "range": [ + 3494, + 3500 + ], + "loc": { + "start": { + "line": 144, + "column": 21 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "range": [ + 3489, + 3500 + ], + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 3501, + 3505 + ], + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 144, + "column": 32 + } + } + } + ], + "range": [ + 3489, + 3506 + ], + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 33 + } + } + }, + "range": [ + 3489, + 3507 + ], + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 34 + } + } + } + ], + "range": [ + 3471, + 3521 + ], + "loc": { + "start": { + "line": 143, + "column": 28 + }, + "end": { + "line": 145, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3455, + 3521 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 145, + "column": 13 + } + } + } + ], + "range": [ + 3253, + 3531 + ], + "loc": { + "start": { + "line": 135, + "column": 34 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3247, + 3531 + ], + "loc": { + "start": { + "line": 135, + "column": 28 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + "range": [ + 3231, + 3531 + ], + "loc": { + "start": { + "line": 135, + "column": 12 + }, + "end": { + "line": 146, + "column": 9 + } + } + } + ], + "kind": "let", + "range": [ + 3227, + 3532 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 146, + "column": 10 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "t", + "range": [ + 3546, + 3547 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 13 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "p", + "range": [ + 3550, + 3551 + ], + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 3556, + 3560 + ], + "loc": { + "start": { + "line": 148, + "column": 22 + }, + "end": { + "line": 148, + "column": 26 + } + } + }, + "range": [ + 3550, + 3560 + ], + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 26 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3563, + 3567 + ], + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeDelay", + "range": [ + 3568, + 3578 + ], + "loc": { + "start": { + "line": 148, + "column": 34 + }, + "end": { + "line": 148, + "column": 44 + } + } + }, + "range": [ + 3563, + 3578 + ], + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3581, + 3582 + ], + "loc": { + "start": { + "line": 148, + "column": 47 + }, + "end": { + "line": 148, + "column": 48 + } + } + }, + "range": [ + 3550, + 3582 + ], + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 48 + } + } + }, + "range": [ + 3546, + 3582 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 148, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 3542, + 3583 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 3592, + 3596 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setTimeout", + "range": [ + 3597, + 3607 + ], + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 23 + } + } + }, + "range": [ + 3592, + 3607 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "displayLoader", + "range": [ + 3608, + 3621 + ], + "loc": { + "start": { + "line": 149, + "column": 24 + }, + "end": { + "line": 149, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 3623, + 3624 + ], + "loc": { + "start": { + "line": 149, + "column": 39 + }, + "end": { + "line": 149, + "column": 40 + } + } + } + ], + "range": [ + 3592, + 3625 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 41 + } + } + }, + "range": [ + 3592, + 3626 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 42 + } + } + } + ], + "range": [ + 3153, + 3632 + ], + "loc": { + "start": { + "line": 130, + "column": 12 + }, + "end": { + "line": 150, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3149, + 3632 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 150, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3145, + 3632 + ], + "loc": { + "start": { + "line": 130, + "column": 4 + }, + "end": { + "line": 150, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", + "range": [ + 3031, + 3140 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 129, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes feature\n ", + "range": [ + 3638, + 3672 + ], + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 154, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 3677, + 3684 + ], + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3702, + 3706 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3707, + 3718 + ], + "loc": { + "start": { + "line": 156, + "column": 18 + }, + "end": { + "line": 156, + "column": 29 + } + } + }, + "range": [ + 3702, + 3718 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3701, + 3718 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3734, + 3741 + ], + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 19 + } + } + } + ], + "range": [ + 3720, + 3751 + ], + "loc": { + "start": { + "line": 156, + "column": 31 + }, + "end": { + "line": 158, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3697, + 3751 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 158, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3765, + 3772 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3775, + 3779 + ], + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3780, + 3787 + ], + "loc": { + "start": { + "line": 160, + "column": 27 + }, + "end": { + "line": 160, + "column": 34 + } + } + }, + "range": [ + 3775, + 3787 + ], + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 34 + } + } + }, + "range": [ + 3765, + 3787 + ], + "loc": { + "start": { + "line": 160, + "column": 12 + }, + "end": { + "line": 160, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 3761, + 3788 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 3798, + 3807 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3808, + 3812 + ], + "loc": { + "start": { + "line": 162, + "column": 18 + }, + "end": { + "line": 162, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3813, + 3817 + ], + "loc": { + "start": { + "line": 162, + "column": 23 + }, + "end": { + "line": 162, + "column": 27 + } + } + }, + "range": [ + 3808, + 3817 + ], + "loc": { + "start": { + "line": 162, + "column": 18 + }, + "end": { + "line": 162, + "column": 27 + } + } + } + ], + "range": [ + 3798, + 3818 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 28 + } + } + }, + "range": [ + 3798, + 3819 + ], + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3828, + 3832 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3833, + 3837 + ], + "loc": { + "start": { + "line": 163, + "column": 13 + }, + "end": { + "line": 163, + "column": 17 + } + } + }, + "range": [ + 3828, + 3837 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3840, + 3844 + ], + "loc": { + "start": { + "line": 163, + "column": 20 + }, + "end": { + "line": 163, + "column": 24 + } + } + }, + "range": [ + 3828, + 3844 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 24 + } + } + }, + "range": [ + 3828, + 3845 + ], + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3855, + 3879 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3888, + 3895 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3896, + 3899 + ], + "loc": { + "start": { + "line": 166, + "column": 16 + }, + "end": { + "line": 166, + "column": 19 + } + } + }, + "range": [ + 3888, + 3899 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 3900, + 3906 + ], + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 166, + "column": 26 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3914, + 3918 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 3919, + 3923 + ], + "loc": { + "start": { + "line": 166, + "column": 39 + }, + "end": { + "line": 166, + "column": 43 + } + } + }, + "range": [ + 3914, + 3923 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 3924, + 3926 + ], + "loc": { + "start": { + "line": 166, + "column": 44 + }, + "end": { + "line": 166, + "column": 46 + } + } + } + ], + "range": [ + 3914, + 3927 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 47 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3908, + 3927 + ], + "loc": { + "start": { + "line": 166, + "column": 28 + }, + "end": { + "line": 166, + "column": 47 + } + } + } + ], + "range": [ + 3888, + 3928 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "range": [ + 3888, + 3929 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3855, + 3879 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3938, + 3945 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3946, + 3949 + ], + "loc": { + "start": { + "line": 167, + "column": 16 + }, + "end": { + "line": 167, + "column": 19 + } + } + }, + "range": [ + 3938, + 3949 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 3950, + 3956 + ], + "loc": { + "start": { + "line": 167, + "column": 20 + }, + "end": { + "line": 167, + "column": 26 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3964, + 3968 + ], + "loc": { + "start": { + "line": 167, + "column": 34 + }, + "end": { + "line": 167, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 3969, + 3973 + ], + "loc": { + "start": { + "line": 167, + "column": 39 + }, + "end": { + "line": 167, + "column": 43 + } + } + }, + "range": [ + 3964, + 3973 + ], + "loc": { + "start": { + "line": 167, + "column": 34 + }, + "end": { + "line": 167, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "NONE", + "range": [ + 3974, + 3978 + ], + "loc": { + "start": { + "line": 167, + "column": 44 + }, + "end": { + "line": 167, + "column": 48 + } + } + } + ], + "range": [ + 3964, + 3979 + ], + "loc": { + "start": { + "line": 167, + "column": 34 + }, + "end": { + "line": 167, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3958, + 3979 + ], + "loc": { + "start": { + "line": 167, + "column": 28 + }, + "end": { + "line": 167, + "column": 49 + } + } + } + ], + "range": [ + 3938, + 3980 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 50 + } + } + }, + "range": [ + 3938, + 3981 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3991, + 3995 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3996, + 4007 + ], + "loc": { + "start": { + "line": 169, + "column": 13 + }, + "end": { + "line": 169, + "column": 24 + } + } + }, + "range": [ + 3991, + 4007 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 4010, + 4015 + ], + "loc": { + "start": { + "line": 169, + "column": 27 + }, + "end": { + "line": 169, + "column": 32 + } + } + }, + "range": [ + 3991, + 4015 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 32 + } + } + }, + "range": [ + 3991, + 4016 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 33 + } + } + } + ], + "range": [ + 3687, + 4022 + ], + "loc": { + "start": { + "line": 155, + "column": 14 + }, + "end": { + "line": 170, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3684, + 4022 + ], + "loc": { + "start": { + "line": 155, + "column": 11 + }, + "end": { + "line": 170, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3677, + 4022 + ], + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 170, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes feature\n ", + "range": [ + 3638, + 3672 + ], + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 154, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 652, + 4024 + ], + "loc": { + "start": { + "line": 27, + "column": 36 + }, + "end": { + "line": 171, + "column": 1 + } + } + }, + "range": [ + 623, + 4024 + ], + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 171, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", + "range": [ + 533, + 615 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 616, + 4024 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 171, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", + "range": [ + 533, + 615 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 4024 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 171, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n ", + "range": [ + 533, + 615 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 659, + 767 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 871, + 954 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Loader container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1020, + 1105 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text displayed when indicator is visible\n * @type {String}\n ", + "range": [ + 1141, + 1234 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom HTML injected in Loader's container element\n * @type {String}\n ", + "range": [ + 1299, + 1402 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for Loader's container element\n * @type {String}\n ", + "range": [ + 1459, + 1552 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Close delay in milliseconds\n * @type {Number}\n ", + "range": [ + 1622, + 1702 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired when loader is displayed\n * @type {Function}\n ", + "range": [ + 1743, + 1837 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired when loader is closed\n * @type {Function}\n ", + "range": [ + 1909, + 2000 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes Loader instance\n ", + "range": [ + 2074, + 2120 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 2837, + 2859 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2969, + 2986 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n ", + "range": [ + 3031, + 3140 + ], + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 129, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes feature\n ", + "range": [ + 3638, + 3672 + ], + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 154, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 3855, + 3879 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/markActiveColumns.js.json b/docs/ast/source/modules/markActiveColumns.js.json new file mode 100644 index 00000000..20b4e561 --- /dev/null +++ b/docs/ast/source/modules/markActiveColumns.js.json @@ -0,0 +1,5585 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addClass", + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addClass", + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + "range": [ + 44, + 52 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 54, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "hasClass", + "range": [ + 67, + 75 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + "imported": { + "type": "Identifier", + "name": "hasClass", + "range": [ + 67, + 75 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + "range": [ + 67, + 75 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 39 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 82, + 90 + ], + "loc": { + "start": { + "line": 2, + "column": 46 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, + "range": [ + 36, + 91 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 55 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 100, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 100, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "range": [ + 100, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 115, + 125 + ], + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 92, + 126 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 135, + 146 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 135, + 146 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "range": [ + 135, + 146 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 148, + 158 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 148, + 158 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "range": [ + 148, + 158 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 165, + 178 + ], + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 51 + } + } + }, + "range": [ + 127, + 179 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Visual indicator for filtered columns\n * @export\n * @class MarkActiveColumns\n * @extends {Feature}\n ", + "range": [ + 181, + 290 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "MarkActiveColumns", + "range": [ + 304, + 321 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 30 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 330, + 337 + ], + "loc": { + "start": { + "line": 12, + "column": 39 + }, + "end": { + "line": 12, + "column": 46 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 460, + 471 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 472, + 474 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 486, + 491 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 492, + 494 + ], + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "markActiveColumns", + "raw": "'markActiveColumns'", + "range": [ + 496, + 515 + ], + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 37 + } + } + } + ], + "range": [ + 486, + 516 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + "range": [ + 486, + 517 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "config", + "range": [ + 531, + 537 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 540, + 544 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 545, + 551 + ], + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + "range": [ + 540, + 551 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "mark_active_columns", + "range": [ + 552, + 571 + ], + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + "range": [ + 540, + 571 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 575, + 577 + ], + "loc": { + "start": { + "line": 21, + "column": 56 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + "range": [ + 540, + 577 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 58 + } + } + }, + "range": [ + 531, + 577 + ], + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 527, + 578 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for filtered (active) columns\n * @type {String}\n ", + "range": [ + 588, + 680 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 26, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 689, + 693 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerCssClass", + "range": [ + 694, + 708 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + "range": [ + 689, + 708 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 711, + 722 + ], + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "config", + "range": [ + 723, + 729 + ], + "loc": { + "start": { + "line": 27, + "column": 42 + }, + "end": { + "line": 27, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "header_css_class", + "range": [ + 730, + 746 + ], + "loc": { + "start": { + "line": 27, + "column": 49 + }, + "end": { + "line": 27, + "column": 65 + } + } + }, + "range": [ + 723, + 746 + ], + "loc": { + "start": { + "line": 27, + "column": 42 + }, + "end": { + "line": 27, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": "activeHeader", + "raw": "'activeHeader'", + "range": [ + 760, + 774 + ], + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 26 + } + } + } + ], + "range": [ + 711, + 775 + ], + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + "range": [ + 689, + 775 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + "range": [ + 689, + 776 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 28, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for filtered (active) columns\n * @type {String}\n ", + "range": [ + 588, + 680 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 26, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 786, + 893 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 902, + 906 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeActiveColumn", + "range": [ + 907, + 927 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + "range": [ + 902, + 927 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 930, + 940 + ], + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 34, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "config", + "range": [ + 941, + 947 + ], + "loc": { + "start": { + "line": 34, + "column": 47 + }, + "end": { + "line": 34, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_active_column", + "range": [ + 948, + 971 + ], + "loc": { + "start": { + "line": 34, + "column": 54 + }, + "end": { + "line": 34, + "column": 77 + } + } + }, + "range": [ + 941, + 971 + ], + "loc": { + "start": { + "line": 34, + "column": 47 + }, + "end": { + "line": 34, + "column": 77 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 985, + 993 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 20 + } + } + } + ], + "range": [ + 930, + 994 + ], + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + "range": [ + 902, + 994 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + "range": [ + 902, + 995 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 35, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 786, + 893 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 1005, + 1111 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1120, + 1124 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterActiveColumn", + "range": [ + 1125, + 1144 + ], + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "range": [ + 1120, + 1144 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1147, + 1157 + ], + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "config", + "range": [ + 1158, + 1164 + ], + "loc": { + "start": { + "line": 41, + "column": 46 + }, + "end": { + "line": 41, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_active_column", + "range": [ + 1165, + 1187 + ], + "loc": { + "start": { + "line": 41, + "column": 53 + }, + "end": { + "line": 41, + "column": 75 + } + } + }, + "range": [ + 1158, + 1187 + ], + "loc": { + "start": { + "line": 41, + "column": 46 + }, + "end": { + "line": 41, + "column": 75 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1201, + 1209 + ], + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 20 + } + } + } + ], + "range": [ + 1147, + 1210 + ], + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + "range": [ + 1120, + 1210 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + "range": [ + 1120, + 1211 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 42, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 1005, + 1111 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 476, + 1217 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 471, + 1217 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 460, + 1217 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 43, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Create an instance of MarkActiveColumns\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 345, + 455 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialise MarkActiveColumns instance\n ", + "range": [ + 1223, + 1279 + ], + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 47, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 1284, + 1288 + ], + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1305, + 1309 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1310, + 1321 + ], + "loc": { + "start": { + "line": 49, + "column": 17 + }, + "end": { + "line": 49, + "column": 28 + } + } + }, + "range": [ + 1305, + 1321 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 1337, + 1344 + ], + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 19 + } + } + } + ], + "range": [ + 1323, + 1354 + ], + "loc": { + "start": { + "line": 49, + "column": 30 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 1301, + 1354 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 51, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1364, + 1368 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1369, + 1376 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + "range": [ + 1364, + 1376 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1377, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 21 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + "range": [ + 1364, + 1379 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 1381, + 1399 + ], + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 43 + } + } + } + ], + "range": [ + 1380, + 1400 + ], + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1408, + 1412 + ], + "loc": { + "start": { + "line": 53, + "column": 52 + }, + "end": { + "line": 53, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearActiveColumns", + "range": [ + 1413, + 1431 + ], + "loc": { + "start": { + "line": 53, + "column": 57 + }, + "end": { + "line": 53, + "column": 75 + } + } + }, + "range": [ + 1408, + 1431 + ], + "loc": { + "start": { + "line": 53, + "column": 52 + }, + "end": { + "line": 53, + "column": 75 + } + } + }, + "arguments": [], + "range": [ + 1408, + 1433 + ], + "loc": { + "start": { + "line": 53, + "column": 52 + }, + "end": { + "line": 53, + "column": 77 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1402, + 1433 + ], + "loc": { + "start": { + "line": 53, + "column": 46 + }, + "end": { + "line": 53, + "column": 77 + } + } + } + ], + "range": [ + 1364, + 1434 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 78 + } + } + }, + "range": [ + 1364, + 1435 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 79 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1444, + 1448 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1449, + 1456 + ], + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + "range": [ + 1444, + 1456 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1457, + 1459 + ], + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + "range": [ + 1444, + 1459 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "cell-processed", + "raw": "'cell-processed'", + "range": [ + 1474, + 1490 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 29 + } + } + } + ], + "range": [ + 1473, + 1491 + ], + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1506, + 1508 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 1510, + 1518 + ], + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1523, + 1527 + ], + "loc": { + "start": { + "line": 56, + "column": 30 + }, + "end": { + "line": 56, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "markActiveColumn", + "range": [ + 1528, + 1544 + ], + "loc": { + "start": { + "line": 56, + "column": 35 + }, + "end": { + "line": 56, + "column": 51 + } + } + }, + "range": [ + 1523, + 1544 + ], + "loc": { + "start": { + "line": 56, + "column": 30 + }, + "end": { + "line": 56, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 1545, + 1553 + ], + "loc": { + "start": { + "line": 56, + "column": 52 + }, + "end": { + "line": 56, + "column": 60 + } + } + } + ], + "range": [ + 1523, + 1554 + ], + "loc": { + "start": { + "line": 56, + "column": 30 + }, + "end": { + "line": 56, + "column": 61 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1505, + 1554 + ], + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 61 + } + } + } + ], + "range": [ + 1444, + 1564 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 57, + "column": 9 + } + } + }, + "range": [ + 1444, + 1565 + ], + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 57, + "column": 10 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1575, + 1592 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1601, + 1605 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 1606, + 1617 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "range": [ + 1601, + 1617 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1620, + 1624 + ], + "loc": { + "start": { + "line": 60, + "column": 27 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + "range": [ + 1601, + 1624 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + "range": [ + 1601, + 1625 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1575, + 1592 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 1291, + 1631 + ], + "loc": { + "start": { + "line": 48, + "column": 11 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1288, + 1631 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 61, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1284, + 1631 + ], + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 61, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialise MarkActiveColumns instance\n ", + "range": [ + 1223, + 1279 + ], + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 47, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear filtered columns visual indicator (background color)\n ", + "range": [ + 1637, + 1714 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 65, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "clearActiveColumns", + "range": [ + 1719, + 1737 + ], + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 1754, + 1756 + ], + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1759, + 1763 + ], + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 1764, + 1766 + ], + "loc": { + "start": { + "line": 67, + "column": 22 + }, + "end": { + "line": 67, + "column": 24 + } + } + }, + "range": [ + 1759, + 1766 + ], + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 24 + } + } + }, + "range": [ + 1754, + 1766 + ], + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 1750, + 1767 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 1780, + 1783 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1786, + 1788 + ], + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 1789, + 1799 + ], + "loc": { + "start": { + "line": 68, + "column": 21 + }, + "end": { + "line": 68, + "column": 31 + } + } + }, + "range": [ + 1786, + 1799 + ], + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 1786, + 1801 + ], + "loc": { + "start": { + "line": 68, + "column": 18 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + "range": [ + 1780, + 1801 + ], + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 1776, + 1802 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 1820, + 1821 + ], + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1824, + 1825 + ], + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + "range": [ + 1820, + 1825 + ], + "loc": { + "start": { + "line": 69, + "column": 17 + }, + "end": { + "line": 69, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 1816, + 1825 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 1827, + 1828 + ], + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 1831, + 1834 + ], + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 31 + } + } + }, + "range": [ + 1827, + 1834 + ], + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 31 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 1836, + 1837 + ], + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + "prefix": false, + "range": [ + 1836, + 1839 + ], + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 36 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 1855, + 1866 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1867, + 1869 + ], + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 1870, + 1886 + ], + "loc": { + "start": { + "line": 70, + "column": 27 + }, + "end": { + "line": 70, + "column": 43 + } + } + }, + "range": [ + 1867, + 1886 + ], + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 1887, + 1888 + ], + "loc": { + "start": { + "line": 70, + "column": 44 + }, + "end": { + "line": 70, + "column": 45 + } + } + } + ], + "range": [ + 1867, + 1889 + ], + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 46 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1891, + 1895 + ], + "loc": { + "start": { + "line": 70, + "column": 48 + }, + "end": { + "line": 70, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerCssClass", + "range": [ + 1896, + 1910 + ], + "loc": { + "start": { + "line": 70, + "column": 53 + }, + "end": { + "line": 70, + "column": 67 + } + } + }, + "range": [ + 1891, + 1910 + ], + "loc": { + "start": { + "line": 70, + "column": 48 + }, + "end": { + "line": 70, + "column": 67 + } + } + } + ], + "range": [ + 1855, + 1911 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 68 + } + } + }, + "range": [ + 1855, + 1912 + ], + "loc": { + "start": { + "line": 70, + "column": 12 + }, + "end": { + "line": 70, + "column": 69 + } + } + } + ], + "range": [ + 1841, + 1922 + ], + "loc": { + "start": { + "line": 69, + "column": 38 + }, + "end": { + "line": 71, + "column": 9 + } + } + }, + "range": [ + 1811, + 1922 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 71, + "column": 9 + } + } + } + ], + "range": [ + 1740, + 1928 + ], + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1737, + 1928 + ], + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1719, + 1928 + ], + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 72, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear filtered columns visual indicator (background color)\n ", + "range": [ + 1637, + 1714 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 65, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n ", + "range": [ + 1934, + 2029 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "markActiveColumn", + "range": [ + 2034, + 2050 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2051, + 2059 + ], + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 2075, + 2081 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2084, + 2088 + ], + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2089, + 2091 + ], + "loc": { + "start": { + "line": 79, + "column": 26 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + "range": [ + 2084, + 2091 + ], + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 2092, + 2108 + ], + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 45 + } + } + }, + "range": [ + 2084, + 2108 + ], + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2109, + 2117 + ], + "loc": { + "start": { + "line": 79, + "column": 46 + }, + "end": { + "line": 79, + "column": 54 + } + } + } + ], + "range": [ + 2084, + 2118 + ], + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 55 + } + } + }, + "range": [ + 2075, + 2118 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 2071, + 2119 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "hasClass", + "range": [ + 2132, + 2140 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "header", + "range": [ + 2141, + 2147 + ], + "loc": { + "start": { + "line": 80, + "column": 21 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2149, + 2153 + ], + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 80, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerCssClass", + "range": [ + 2154, + 2168 + ], + "loc": { + "start": { + "line": 80, + "column": 34 + }, + "end": { + "line": 80, + "column": 48 + } + } + }, + "range": [ + 2149, + 2168 + ], + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 80, + "column": 48 + } + } + } + ], + "range": [ + 2132, + 2169 + ], + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2185, + 2192 + ], + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 19 + } + } + } + ], + "range": [ + 2171, + 2202 + ], + "loc": { + "start": { + "line": 80, + "column": 51 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2128, + 2202 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2211, + 2215 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeActiveColumn", + "range": [ + 2216, + 2236 + ], + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + "range": [ + 2211, + 2236 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 2237, + 2241 + ], + "loc": { + "start": { + "line": 83, + "column": 34 + }, + "end": { + "line": 83, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2243, + 2251 + ], + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 48 + } + } + } + ], + "range": [ + 2211, + 2252 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 49 + } + } + }, + "range": [ + 2211, + 2253 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 2263, + 2271 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "header", + "range": [ + 2272, + 2278 + ], + "loc": { + "start": { + "line": 85, + "column": 17 + }, + "end": { + "line": 85, + "column": 23 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2280, + 2284 + ], + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "headerCssClass", + "range": [ + 2285, + 2299 + ], + "loc": { + "start": { + "line": 85, + "column": 30 + }, + "end": { + "line": 85, + "column": 44 + } + } + }, + "range": [ + 2280, + 2299 + ], + "loc": { + "start": { + "line": 85, + "column": 25 + }, + "end": { + "line": 85, + "column": 44 + } + } + } + ], + "range": [ + 2263, + 2300 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 45 + } + } + }, + "range": [ + 2263, + 2301 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2311, + 2315 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterActiveColumn", + "range": [ + 2316, + 2335 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 32 + } + } + }, + "range": [ + 2311, + 2335 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 2336, + 2340 + ], + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2342, + 2350 + ], + "loc": { + "start": { + "line": 87, + "column": 39 + }, + "end": { + "line": 87, + "column": 47 + } + } + } + ], + "range": [ + 2311, + 2351 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 48 + } + } + }, + "range": [ + 2311, + 2352 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 49 + } + } + } + ], + "range": [ + 2061, + 2358 + ], + "loc": { + "start": { + "line": 78, + "column": 31 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2050, + 2358 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 88, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2034, + 2358 + ], + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 88, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n ", + "range": [ + 1934, + 2029 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 2364, + 2397 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 92, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 2402, + 2409 + ], + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2427, + 2431 + ], + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2432, + 2443 + ], + "loc": { + "start": { + "line": 94, + "column": 18 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + "range": [ + 2427, + 2443 + ], + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 2426, + 2443 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2459, + 2466 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 19 + } + } + } + ], + "range": [ + 2445, + 2476 + ], + "loc": { + "start": { + "line": 94, + "column": 31 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2422, + 2476 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 96, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2486, + 2490 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearActiveColumns", + "range": [ + 2491, + 2509 + ], + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + "range": [ + 2486, + 2509 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 2486, + 2511 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 33 + } + } + }, + "range": [ + 2486, + 2512 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2521, + 2525 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2526, + 2533 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 20 + } + } + }, + "range": [ + 2521, + 2533 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 2534, + 2537 + ], + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "range": [ + 2521, + 2537 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 2539, + 2557 + ], + "loc": { + "start": { + "line": 99, + "column": 26 + }, + "end": { + "line": 99, + "column": 44 + } + } + } + ], + "range": [ + 2538, + 2558 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 45 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2566, + 2570 + ], + "loc": { + "start": { + "line": 99, + "column": 53 + }, + "end": { + "line": 99, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearActiveColumns", + "range": [ + 2571, + 2589 + ], + "loc": { + "start": { + "line": 99, + "column": 58 + }, + "end": { + "line": 99, + "column": 76 + } + } + }, + "range": [ + 2566, + 2589 + ], + "loc": { + "start": { + "line": 99, + "column": 53 + }, + "end": { + "line": 99, + "column": 76 + } + } + }, + "arguments": [], + "range": [ + 2566, + 2591 + ], + "loc": { + "start": { + "line": 99, + "column": 53 + }, + "end": { + "line": 99, + "column": 78 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2560, + 2591 + ], + "loc": { + "start": { + "line": 99, + "column": 47 + }, + "end": { + "line": 99, + "column": 78 + } + } + } + ], + "range": [ + 2521, + 2592 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 79 + } + } + }, + "range": [ + 2521, + 2593 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 80 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2602, + 2606 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2607, + 2614 + ], + "loc": { + "start": { + "line": 100, + "column": 13 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "range": [ + 2602, + 2614 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 2615, + 2618 + ], + "loc": { + "start": { + "line": 100, + "column": 21 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + "range": [ + 2602, + 2618 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "cell-processed", + "raw": "'cell-processed'", + "range": [ + 2633, + 2649 + ], + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 29 + } + } + } + ], + "range": [ + 2632, + 2650 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 2665, + 2667 + ], + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2669, + 2677 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2682, + 2686 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "markActiveColumn", + "range": [ + 2687, + 2703 + ], + "loc": { + "start": { + "line": 102, + "column": 35 + }, + "end": { + "line": 102, + "column": 51 + } + } + }, + "range": [ + 2682, + 2703 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 2704, + 2712 + ], + "loc": { + "start": { + "line": 102, + "column": 52 + }, + "end": { + "line": 102, + "column": 60 + } + } + } + ], + "range": [ + 2682, + 2713 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 61 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 2664, + 2713 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 61 + } + } + } + ], + "range": [ + 2602, + 2723 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 103, + "column": 9 + } + } + }, + "range": [ + 2602, + 2724 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 103, + "column": 10 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2734, + 2751 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2760, + 2764 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2765, + 2776 + ], + "loc": { + "start": { + "line": 106, + "column": 13 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + "range": [ + 2760, + 2776 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 2779, + 2784 + ], + "loc": { + "start": { + "line": 106, + "column": 27 + }, + "end": { + "line": 106, + "column": 32 + } + } + }, + "range": [ + 2760, + 2784 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 32 + } + } + }, + "range": [ + 2760, + 2785 + ], + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2734, + 2751 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 2412, + 2791 + ], + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2409, + 2791 + ], + "loc": { + "start": { + "line": 93, + "column": 11 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2402, + 2791 + ], + "loc": { + "start": { + "line": 93, + "column": 4 + }, + "end": { + "line": 107, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 2364, + 2397 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 92, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 338, + 2793 + ], + "loc": { + "start": { + "line": 12, + "column": 47 + }, + "end": { + "line": 108, + "column": 1 + } + } + }, + "range": [ + 298, + 2793 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Visual indicator for filtered columns\n * @export\n * @class MarkActiveColumns\n * @extends {Feature}\n ", + "range": [ + 181, + 290 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 291, + 2793 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Visual indicator for filtered columns\n * @export\n * @class MarkActiveColumns\n * @extends {Feature}\n ", + "range": [ + 181, + 290 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 2793 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 108, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Visual indicator for filtered columns\n * @export\n * @class MarkActiveColumns\n * @extends {Feature}\n ", + "range": [ + 181, + 290 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Create an instance of MarkActiveColumns\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 345, + 455 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for filtered (active) columns\n * @type {String}\n ", + "range": [ + 588, + 680 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 26, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 786, + 893 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a column is marked as filtered\n * @type {Function}\n ", + "range": [ + 1005, + 1111 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialise MarkActiveColumns instance\n ", + "range": [ + 1223, + 1279 + ], + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 47, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 1575, + 1592 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear filtered columns visual indicator (background color)\n ", + "range": [ + 1637, + 1714 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 65, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n ", + "range": [ + 1934, + 2029 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 2364, + 2397 + ], + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 92, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 2734, + 2751 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 25 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/noResults.js.json b/docs/ast/source/modules/noResults.js.json new file mode 100644 index 00000000..6fbf8ade --- /dev/null +++ b/docs/ast/source/modules/noResults.js.json @@ -0,0 +1,11081 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 55, + 58 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 55, + 58 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + "range": [ + 55, + 58 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 60, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 60, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + "range": [ + 60, + 69 + ], + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 33 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 76, + 84 + ], + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 48 + } + } + }, + "range": [ + 36, + 85 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 94, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 94, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "range": [ + 94, + 101 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 103, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 103, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + "range": [ + 103, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 118, + 128 + ], + "loc": { + "start": { + "line": 3, + "column": 32 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + "range": [ + 86, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 138, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 138, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + "range": [ + 138, + 142 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 149, + 159 + ], + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + "range": [ + 130, + 160 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 169, + 180 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 169, + 180 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "range": [ + 169, + 180 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 182, + 192 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 182, + 192 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "range": [ + 182, + 192 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 199, + 212 + ], + "loc": { + "start": { + "line": 5, + "column": 38 + }, + "end": { + "line": 5, + "column": 51 + } + } + }, + "range": [ + 161, + 213 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n ", + "range": [ + 215, + 314 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "NoResults", + "range": [ + 328, + 337 + ], + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 346, + 353 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 38 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 469, + 480 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 481, + 483 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 495, + 500 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 501, + 503 + ], + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "noResults", + "raw": "'noResults'", + "range": [ + 505, + 516 + ], + "loc": { + "start": { + "line": 20, + "column": 18 + }, + "end": { + "line": 20, + "column": 29 + } + } + } + ], + "range": [ + 495, + 517 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + "range": [ + 495, + 518 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "configuration object", + "range": [ + 528, + 550 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 30 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 563, + 564 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 567, + 571 + ], + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 572, + 578 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 567, + 578 + ], + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "no_results_message", + "range": [ + 579, + 597 + ], + "loc": { + "start": { + "line": 23, + "column": 28 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + "range": [ + 567, + 597 + ], + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 46 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 601, + 603 + ], + "loc": { + "start": { + "line": 23, + "column": 50 + }, + "end": { + "line": 23, + "column": 52 + } + } + }, + "range": [ + 567, + 603 + ], + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 52 + } + } + }, + "range": [ + 563, + 603 + ], + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 559, + 604 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "configuration object", + "range": [ + 528, + 550 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 30 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text (accepts HTML)\n * @type {String}\n ", + "range": [ + 614, + 686 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 695, + 699 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "content", + "range": [ + 700, + 707 + ], + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + "range": [ + 695, + 707 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 710, + 721 + ], + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 722, + 723 + ], + "loc": { + "start": { + "line": 29, + "column": 35 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "content", + "range": [ + 724, + 731 + ], + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 44 + } + } + }, + "range": [ + 722, + 731 + ], + "loc": { + "start": { + "line": 29, + "column": 35 + }, + "end": { + "line": 29, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "No results", + "raw": "'No results'", + "range": [ + 733, + 745 + ], + "loc": { + "start": { + "line": 29, + "column": 46 + }, + "end": { + "line": 29, + "column": 58 + } + } + } + ], + "range": [ + 710, + 746 + ], + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 59 + } + } + }, + "range": [ + 695, + 746 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 59 + } + } + }, + "range": [ + 695, + 747 + ], + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text (accepts HTML)\n * @type {String}\n ", + "range": [ + 614, + 686 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Custom container DOM element\n * @type {DOMElement}\n ", + "range": [ + 757, + 842 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 851, + 855 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainer", + "range": [ + 856, + 871 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + "range": [ + 851, + 871 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 874, + 885 + ], + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 886, + 887 + ], + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "custom_container", + "range": [ + 888, + 904 + ], + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 35, + "column": 61 + } + } + }, + "range": [ + 886, + 904 + ], + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 906, + 910 + ], + "loc": { + "start": { + "line": 35, + "column": 63 + }, + "end": { + "line": 35, + "column": 67 + } + } + } + ], + "range": [ + 874, + 911 + ], + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 68 + } + } + }, + "range": [ + 851, + 911 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 68 + } + } + }, + "range": [ + 851, + 912 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Custom container DOM element\n * @type {DOMElement}\n ", + "range": [ + 757, + 842 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 922, + 1005 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1014, + 1018 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainerId", + "range": [ + 1019, + 1036 + ], + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 30 + } + } + }, + "range": [ + 1014, + 1036 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1039, + 1050 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1051, + 1052 + ], + "loc": { + "start": { + "line": 41, + "column": 45 + }, + "end": { + "line": 41, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "custom_container_id", + "range": [ + 1053, + 1072 + ], + "loc": { + "start": { + "line": 41, + "column": 47 + }, + "end": { + "line": 41, + "column": 66 + } + } + }, + "range": [ + 1051, + 1072 + ], + "loc": { + "start": { + "line": 41, + "column": 45 + }, + "end": { + "line": 41, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1074, + 1078 + ], + "loc": { + "start": { + "line": 41, + "column": 68 + }, + "end": { + "line": 41, + "column": 72 + } + } + } + ], + "range": [ + 1039, + 1079 + ], + "loc": { + "start": { + "line": 41, + "column": 33 + }, + "end": { + "line": 41, + "column": 73 + } + } + }, + "range": [ + 1014, + 1079 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 73 + } + } + }, + "range": [ + 1014, + 1080 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 922, + 1005 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n ", + "range": [ + 1090, + 1214 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1223, + 1227 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternal", + "range": [ + 1228, + 1238 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "range": [ + 1223, + 1238 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 1242, + 1249 + ], + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1250, + 1254 + ], + "loc": { + "start": { + "line": 48, + "column": 35 + }, + "end": { + "line": 48, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainer", + "range": [ + 1255, + 1270 + ], + "loc": { + "start": { + "line": 48, + "column": 40 + }, + "end": { + "line": 48, + "column": 55 + } + } + }, + "range": [ + 1250, + 1270 + ], + "loc": { + "start": { + "line": 48, + "column": 35 + }, + "end": { + "line": 48, + "column": 55 + } + } + } + ], + "range": [ + 1242, + 1271 + ], + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 1241, + 1271 + ], + "loc": { + "start": { + "line": 48, + "column": 26 + }, + "end": { + "line": 48, + "column": 56 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 1288, + 1295 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1296, + 1300 + ], + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainerId", + "range": [ + 1301, + 1318 + ], + "loc": { + "start": { + "line": 49, + "column": 26 + }, + "end": { + "line": 49, + "column": 43 + } + } + }, + "range": [ + 1296, + 1318 + ], + "loc": { + "start": { + "line": 49, + "column": 21 + }, + "end": { + "line": 49, + "column": 43 + } + } + } + ], + "range": [ + 1288, + 1319 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + "prefix": true, + "range": [ + 1287, + 1319 + ], + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + "range": [ + 1241, + 1319 + ], + "loc": { + "start": { + "line": 48, + "column": 26 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + "range": [ + 1223, + 1319 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 49, + "column": 44 + } + } + }, + "range": [ + 1223, + 1320 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 49, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n ", + "range": [ + 1090, + 1214 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to container element\n * @type {String}\n ", + "range": [ + 1330, + 1422 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1431, + 1435 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1436, + 1444 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + "range": [ + 1431, + 1444 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1447, + 1458 + ], + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1459, + 1460 + ], + "loc": { + "start": { + "line": 55, + "column": 36 + }, + "end": { + "line": 55, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "css_class", + "range": [ + 1461, + 1470 + ], + "loc": { + "start": { + "line": 55, + "column": 38 + }, + "end": { + "line": 55, + "column": 47 + } + } + }, + "range": [ + 1459, + 1470 + ], + "loc": { + "start": { + "line": 55, + "column": 36 + }, + "end": { + "line": 55, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "no-results", + "raw": "'no-results'", + "range": [ + 1472, + 1484 + ], + "loc": { + "start": { + "line": 55, + "column": 49 + }, + "end": { + "line": 55, + "column": 61 + } + } + } + ], + "range": [ + 1447, + 1485 + ], + "loc": { + "start": { + "line": 55, + "column": 24 + }, + "end": { + "line": 55, + "column": 62 + } + } + }, + "range": [ + 1431, + 1485 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 62 + } + } + }, + "range": [ + 1431, + 1486 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to container element\n * @type {String}\n ", + "range": [ + 1330, + 1422 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Stores container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1496, + 1581 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1590, + 1594 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 1595, + 1599 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + "range": [ + 1590, + 1599 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1602, + 1606 + ], + "loc": { + "start": { + "line": 61, + "column": 20 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + "range": [ + 1590, + 1606 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + "range": [ + 1590, + 1607 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Stores container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1496, + 1581 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1617, + 1718 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1727, + 1731 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeShow", + "range": [ + 1732, + 1744 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + "range": [ + 1727, + 1744 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1747, + 1757 + ], + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1758, + 1759 + ], + "loc": { + "start": { + "line": 67, + "column": 39 + }, + "end": { + "line": 67, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_show_msg", + "range": [ + 1760, + 1778 + ], + "loc": { + "start": { + "line": 67, + "column": 41 + }, + "end": { + "line": 67, + "column": 59 + } + } + }, + "range": [ + 1758, + 1778 + ], + "loc": { + "start": { + "line": 67, + "column": 39 + }, + "end": { + "line": 67, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1780, + 1788 + ], + "loc": { + "start": { + "line": 67, + "column": 61 + }, + "end": { + "line": 67, + "column": 69 + } + } + } + ], + "range": [ + 1747, + 1789 + ], + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 70 + } + } + }, + "range": [ + 1727, + 1789 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 70 + } + } + }, + "range": [ + 1727, + 1790 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1617, + 1718 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 1800, + 1900 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1909, + 1913 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterShow", + "range": [ + 1914, + 1925 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + "range": [ + 1909, + 1925 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1928, + 1938 + ], + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1939, + 1940 + ], + "loc": { + "start": { + "line": 73, + "column": 38 + }, + "end": { + "line": 73, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_show_msg", + "range": [ + 1941, + 1958 + ], + "loc": { + "start": { + "line": 73, + "column": 40 + }, + "end": { + "line": 73, + "column": 57 + } + } + }, + "range": [ + 1939, + 1958 + ], + "loc": { + "start": { + "line": 73, + "column": 38 + }, + "end": { + "line": 73, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 1960, + 1968 + ], + "loc": { + "start": { + "line": 73, + "column": 59 + }, + "end": { + "line": 73, + "column": 67 + } + } + } + ], + "range": [ + 1928, + 1969 + ], + "loc": { + "start": { + "line": 73, + "column": 27 + }, + "end": { + "line": 73, + "column": 68 + } + } + }, + "range": [ + 1909, + 1969 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 68 + } + } + }, + "range": [ + 1909, + 1970 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 1800, + 1900 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is hidden\n * @type {Function}\n ", + "range": [ + 1980, + 2078 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2087, + 2091 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeHide", + "range": [ + 2092, + 2104 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + "range": [ + 2087, + 2104 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2107, + 2117 + ], + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2118, + 2119 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_hide_msg", + "range": [ + 2120, + 2138 + ], + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 79, + "column": 59 + } + } + }, + "range": [ + 2118, + 2138 + ], + "loc": { + "start": { + "line": 79, + "column": 39 + }, + "end": { + "line": 79, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2140, + 2148 + ], + "loc": { + "start": { + "line": 79, + "column": 61 + }, + "end": { + "line": 79, + "column": 69 + } + } + } + ], + "range": [ + 2107, + 2149 + ], + "loc": { + "start": { + "line": 79, + "column": 28 + }, + "end": { + "line": 79, + "column": 70 + } + } + }, + "range": [ + 2087, + 2149 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 70 + } + } + }, + "range": [ + 2087, + 2150 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is hidden\n * @type {Function}\n ", + "range": [ + 1980, + 2078 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is hidden\n * @type {Function}\n ", + "range": [ + 2160, + 2257 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2266, + 2270 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterHide", + "range": [ + 2271, + 2282 + ], + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 24 + } + } + }, + "range": [ + 2266, + 2282 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2285, + 2295 + ], + "loc": { + "start": { + "line": 85, + "column": 27 + }, + "end": { + "line": 85, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2296, + 2297 + ], + "loc": { + "start": { + "line": 85, + "column": 38 + }, + "end": { + "line": 85, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_hide_msg", + "range": [ + 2298, + 2315 + ], + "loc": { + "start": { + "line": 85, + "column": 40 + }, + "end": { + "line": 85, + "column": 57 + } + } + }, + "range": [ + 2296, + 2315 + ], + "loc": { + "start": { + "line": 85, + "column": 38 + }, + "end": { + "line": 85, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2317, + 2325 + ], + "loc": { + "start": { + "line": 85, + "column": 59 + }, + "end": { + "line": 85, + "column": 67 + } + } + } + ], + "range": [ + 2285, + 2326 + ], + "loc": { + "start": { + "line": 85, + "column": 27 + }, + "end": { + "line": 85, + "column": 68 + } + } + }, + "range": [ + 2266, + 2326 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 68 + } + } + }, + "range": [ + 2266, + 2327 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is hidden\n * @type {Function}\n ", + "range": [ + 2160, + 2257 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 485, + 2333 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 480, + 2333 + ], + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 86, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 469, + 2333 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 86, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of NoResults\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 361, + 464 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes NoResults instance\n ", + "range": [ + 2339, + 2388 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 2393, + 2397 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2414, + 2418 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2419, + 2430 + ], + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 28 + } + } + }, + "range": [ + 2414, + 2430 + ], + "loc": { + "start": { + "line": 92, + "column": 12 + }, + "end": { + "line": 92, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2446, + 2453 + ], + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 19 + } + } + } + ], + "range": [ + 2432, + 2463 + ], + "loc": { + "start": { + "line": 92, + "column": 30 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2410, + 2463 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2476, + 2478 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2481, + 2485 + ], + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2486, + 2488 + ], + "loc": { + "start": { + "line": 95, + "column": 22 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "range": [ + 2481, + 2488 + ], + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 24 + } + } + }, + "range": [ + 2476, + 2488 + ], + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2472, + 2489 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "target", + "range": [ + 2502, + 2508 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 18 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2511, + 2515 + ], + "loc": { + "start": { + "line": 96, + "column": 21 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainer", + "range": [ + 2516, + 2531 + ], + "loc": { + "start": { + "line": 96, + "column": 26 + }, + "end": { + "line": 96, + "column": 41 + } + } + }, + "range": [ + 2511, + 2531 + ], + "loc": { + "start": { + "line": 96, + "column": 21 + }, + "end": { + "line": 96, + "column": 41 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 2535, + 2538 + ], + "loc": { + "start": { + "line": 96, + "column": 45 + }, + "end": { + "line": 96, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2539, + 2543 + ], + "loc": { + "start": { + "line": 96, + "column": 49 + }, + "end": { + "line": 96, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "customContainerId", + "range": [ + 2544, + 2561 + ], + "loc": { + "start": { + "line": 96, + "column": 54 + }, + "end": { + "line": 96, + "column": 71 + } + } + }, + "range": [ + 2539, + 2561 + ], + "loc": { + "start": { + "line": 96, + "column": 49 + }, + "end": { + "line": 96, + "column": 71 + } + } + } + ], + "range": [ + 2535, + 2562 + ], + "loc": { + "start": { + "line": 96, + "column": 45 + }, + "end": { + "line": 96, + "column": 72 + } + } + }, + "range": [ + 2511, + 2562 + ], + "loc": { + "start": { + "line": 96, + "column": 21 + }, + "end": { + "line": 96, + "column": 72 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2578, + 2580 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 2581, + 2584 + ], + "loc": { + "start": { + "line": 97, + "column": 15 + }, + "end": { + "line": 97, + "column": 18 + } + } + }, + "range": [ + 2578, + 2584 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 18 + } + } + }, + "arguments": [], + "range": [ + 2578, + 2586 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + "range": [ + 2511, + 2586 + ], + "loc": { + "start": { + "line": 96, + "column": 21 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + "range": [ + 2502, + 2586 + ], + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 97, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 2498, + 2587 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 97, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "container", + "range": [ + 2597, + 2608 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 19 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 2621, + 2625 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2628, + 2637 + ], + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 2638, + 2643 + ], + "loc": { + "start": { + "line": 100, + "column": 29 + }, + "end": { + "line": 100, + "column": 34 + } + } + } + ], + "range": [ + 2628, + 2644 + ], + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 35 + } + } + }, + "range": [ + 2621, + 2644 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 2617, + 2645 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "container", + "range": [ + 2597, + 2608 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 19 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2654, + 2658 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2659, + 2668 + ], + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 22 + } + } + }, + "range": [ + 2654, + 2668 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2671, + 2675 + ], + "loc": { + "start": { + "line": 101, + "column": 25 + }, + "end": { + "line": 101, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2676, + 2684 + ], + "loc": { + "start": { + "line": 101, + "column": 30 + }, + "end": { + "line": 101, + "column": 38 + } + } + }, + "range": [ + 2671, + 2684 + ], + "loc": { + "start": { + "line": 101, + "column": 25 + }, + "end": { + "line": 101, + "column": 38 + } + } + }, + "range": [ + 2654, + 2684 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 38 + } + } + }, + "range": [ + 2654, + 2685 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 2694, + 2698 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 2699, + 2708 + ], + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + "range": [ + 2694, + 2708 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2711, + 2715 + ], + "loc": { + "start": { + "line": 102, + "column": 25 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "content", + "range": [ + 2716, + 2723 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "range": [ + 2711, + 2723 + ], + "loc": { + "start": { + "line": 102, + "column": 25 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "range": [ + 2694, + 2723 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 37 + } + } + }, + "range": [ + 2694, + 2724 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2738, + 2742 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternal", + "range": [ + 2743, + 2753 + ], + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 27 + } + } + }, + "range": [ + 2738, + 2753 + ], + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "target", + "range": [ + 2769, + 2775 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2776, + 2787 + ], + "loc": { + "start": { + "line": 105, + "column": 19 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + "range": [ + 2769, + 2787 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 2788, + 2792 + ], + "loc": { + "start": { + "line": 105, + "column": 31 + }, + "end": { + "line": 105, + "column": 35 + } + } + } + ], + "range": [ + 2769, + 2793 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 36 + } + } + }, + "range": [ + 2769, + 2794 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 37 + } + } + } + ], + "range": [ + 2755, + 2804 + ], + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "target", + "range": [ + 2824, + 2830 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 2831, + 2841 + ], + "loc": { + "start": { + "line": 107, + "column": 19 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + "range": [ + 2824, + 2841 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 2842, + 2854 + ], + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + "range": [ + 2824, + 2854 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 2855, + 2859 + ], + "loc": { + "start": { + "line": 107, + "column": 43 + }, + "end": { + "line": 107, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "target", + "range": [ + 2861, + 2867 + ], + "loc": { + "start": { + "line": 107, + "column": 49 + }, + "end": { + "line": 107, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "nextSibling", + "range": [ + 2868, + 2879 + ], + "loc": { + "start": { + "line": 107, + "column": 56 + }, + "end": { + "line": 107, + "column": 67 + } + } + }, + "range": [ + 2861, + 2879 + ], + "loc": { + "start": { + "line": 107, + "column": 49 + }, + "end": { + "line": 107, + "column": 67 + } + } + } + ], + "range": [ + 2824, + 2880 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 68 + } + } + }, + "range": [ + 2824, + 2881 + ], + "loc": { + "start": { + "line": 107, + "column": 12 + }, + "end": { + "line": 107, + "column": 69 + } + } + } + ], + "range": [ + 2810, + 2891 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + "range": [ + 2734, + 2891 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2901, + 2905 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 2906, + 2910 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 17 + } + } + }, + "range": [ + 2901, + 2910 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "cont", + "range": [ + 2913, + 2917 + ], + "loc": { + "start": { + "line": 110, + "column": 20 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + "range": [ + 2901, + 2917 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 24 + } + } + }, + "range": [ + 2901, + 2918 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " subscribe to after-filtering event", + "range": [ + 2928, + 2965 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 45 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2974, + 2978 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 2979, + 2986 + ], + "loc": { + "start": { + "line": 113, + "column": 13 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "range": [ + 2974, + 2986 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 2987, + 2989 + ], + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 23 + } + } + }, + "range": [ + 2974, + 2989 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 2991, + 3008 + ], + "loc": { + "start": { + "line": 113, + "column": 25 + }, + "end": { + "line": 113, + "column": 42 + } + } + } + ], + "range": [ + 2990, + 3009 + ], + "loc": { + "start": { + "line": 113, + "column": 24 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3017, + 3021 + ], + "loc": { + "start": { + "line": 113, + "column": 51 + }, + "end": { + "line": 113, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 3022, + 3028 + ], + "loc": { + "start": { + "line": 113, + "column": 56 + }, + "end": { + "line": 113, + "column": 62 + } + } + }, + "range": [ + 3017, + 3028 + ], + "loc": { + "start": { + "line": 113, + "column": 51 + }, + "end": { + "line": 113, + "column": 62 + } + } + }, + "arguments": [], + "range": [ + 3017, + 3030 + ], + "loc": { + "start": { + "line": 113, + "column": 51 + }, + "end": { + "line": 113, + "column": 64 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3011, + 3030 + ], + "loc": { + "start": { + "line": 113, + "column": 45 + }, + "end": { + "line": 113, + "column": 64 + } + } + } + ], + "range": [ + 2974, + 3031 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 65 + } + } + }, + "range": [ + 2974, + 3032 + ], + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subscribe to after-filtering event", + "range": [ + 2928, + 2965 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 45 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3042, + 3059 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3068, + 3072 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3073, + 3084 + ], + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 24 + } + } + }, + "range": [ + 3068, + 3084 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3087, + 3091 + ], + "loc": { + "start": { + "line": 116, + "column": 27 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + "range": [ + 3068, + 3091 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + "range": [ + 3068, + 3092 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3042, + 3059 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3102, + 3106 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hide", + "range": [ + 3107, + 3111 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 17 + } + } + }, + "range": [ + 3102, + 3111 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 3102, + 3113 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 19 + } + } + }, + "range": [ + 3102, + 3114 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 20 + } + } + } + ], + "range": [ + 2400, + 3120 + ], + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 119, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2397, + 3120 + ], + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 119, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2393, + 3120 + ], + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 119, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes NoResults instance\n ", + "range": [ + 2339, + 2388 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle no results message\n ", + "range": [ + 3126, + 3170 + ], + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 123, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggle", + "range": [ + 3175, + 3181 + ], + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 124, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "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": [ + 3198, + 3202 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3203, + 3205 + ], + "loc": { + "start": { + "line": 125, + "column": 17 + }, + "end": { + "line": 125, + "column": 19 + } + } + }, + "range": [ + 3198, + 3205 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 3206, + 3220 + ], + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 125, + "column": 34 + } + } + }, + "range": [ + 3198, + 3220 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 3198, + 3222 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3225, + 3226 + ], + "loc": { + "start": { + "line": 125, + "column": 39 + }, + "end": { + "line": 125, + "column": 40 + } + } + }, + "range": [ + 3198, + 3226 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3242, + 3246 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hide", + "range": [ + 3247, + 3251 + ], + "loc": { + "start": { + "line": 126, + "column": 17 + }, + "end": { + "line": 126, + "column": 21 + } + } + }, + "range": [ + 3242, + 3251 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 3242, + 3253 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "range": [ + 3242, + 3254 + ], + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 24 + } + } + } + ], + "range": [ + 3228, + 3264 + ], + "loc": { + "start": { + "line": 125, + "column": 42 + }, + "end": { + "line": 127, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3284, + 3288 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "show", + "range": [ + 3289, + 3293 + ], + "loc": { + "start": { + "line": 128, + "column": 17 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + "range": [ + 3284, + 3293 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 3284, + 3295 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 23 + } + } + }, + "range": [ + 3284, + 3296 + ], + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 24 + } + } + } + ], + "range": [ + 3270, + 3306 + ], + "loc": { + "start": { + "line": 127, + "column": 15 + }, + "end": { + "line": 129, + "column": 9 + } + } + }, + "range": [ + 3194, + 3306 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 129, + "column": 9 + } + } + } + ], + "range": [ + 3184, + 3312 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3181, + 3312 + ], + "loc": { + "start": { + "line": 124, + "column": 10 + }, + "end": { + "line": 130, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3175, + 3312 + ], + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 130, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle no results message\n ", + "range": [ + 3126, + 3170 + ], + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 123, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Show no results message\n ", + "range": [ + 3318, + 3360 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "show", + "range": [ + 3365, + 3369 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 135, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3387, + 3391 + ], + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3392, + 3403 + ], + "loc": { + "start": { + "line": 136, + "column": 18 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + "range": [ + 3387, + 3403 + ], + "loc": { + "start": { + "line": 136, + "column": 13 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3386, + 3403 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3408, + 3412 + ], + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 3413, + 3422 + ], + "loc": { + "start": { + "line": 136, + "column": 39 + }, + "end": { + "line": 136, + "column": 48 + } + } + }, + "range": [ + 3408, + 3422 + ], + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 3408, + 3424 + ], + "loc": { + "start": { + "line": 136, + "column": 34 + }, + "end": { + "line": 136, + "column": 50 + } + } + }, + "prefix": true, + "range": [ + 3407, + 3424 + ], + "loc": { + "start": { + "line": 136, + "column": 33 + }, + "end": { + "line": 136, + "column": 50 + } + } + }, + "range": [ + 3386, + 3424 + ], + "loc": { + "start": { + "line": 136, + "column": 12 + }, + "end": { + "line": 136, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3440, + 3447 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 19 + } + } + } + ], + "range": [ + 3426, + 3457 + ], + "loc": { + "start": { + "line": 136, + "column": 52 + }, + "end": { + "line": 138, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3382, + 3457 + ], + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 138, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3466, + 3470 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeShow", + "range": [ + 3471, + 3483 + ], + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 139, + "column": 25 + } + } + }, + "range": [ + 3466, + 3483 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3484, + 3488 + ], + "loc": { + "start": { + "line": 139, + "column": 26 + }, + "end": { + "line": 139, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3489, + 3491 + ], + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 33 + } + } + }, + "range": [ + 3484, + 3491 + ], + "loc": { + "start": { + "line": 139, + "column": 26 + }, + "end": { + "line": 139, + "column": 33 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 3493, + 3497 + ], + "loc": { + "start": { + "line": 139, + "column": 35 + }, + "end": { + "line": 139, + "column": 39 + } + } + } + ], + "range": [ + 3466, + 3498 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 40 + } + } + }, + "range": [ + 3466, + 3499 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3509, + 3513 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setWidth", + "range": [ + 3514, + 3522 + ], + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 21 + } + } + }, + "range": [ + 3509, + 3522 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 3509, + 3524 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 23 + } + } + }, + "range": [ + 3509, + 3525 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 24 + } + } + }, + { + "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": [ + 3534, + 3538 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3539, + 3543 + ], + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 17 + } + } + }, + "range": [ + 3534, + 3543 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 3544, + 3549 + ], + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 23 + } + } + }, + "range": [ + 3534, + 3549 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 3550, + 3557 + ], + "loc": { + "start": { + "line": 142, + "column": 24 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + "range": [ + 3534, + 3557 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "block", + "raw": "'block'", + "range": [ + 3560, + 3567 + ], + "loc": { + "start": { + "line": 142, + "column": 34 + }, + "end": { + "line": 142, + "column": 41 + } + } + }, + "range": [ + 3534, + 3567 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 41 + } + } + }, + "range": [ + 3534, + 3568 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3578, + 3582 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterShow", + "range": [ + 3583, + 3594 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 24 + } + } + }, + "range": [ + 3578, + 3594 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3595, + 3599 + ], + "loc": { + "start": { + "line": 144, + "column": 25 + }, + "end": { + "line": 144, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3600, + 3602 + ], + "loc": { + "start": { + "line": 144, + "column": 30 + }, + "end": { + "line": 144, + "column": 32 + } + } + }, + "range": [ + 3595, + 3602 + ], + "loc": { + "start": { + "line": 144, + "column": 25 + }, + "end": { + "line": 144, + "column": 32 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 3604, + 3608 + ], + "loc": { + "start": { + "line": 144, + "column": 34 + }, + "end": { + "line": 144, + "column": 38 + } + } + } + ], + "range": [ + 3578, + 3609 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 39 + } + } + }, + "range": [ + 3578, + 3610 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 40 + } + } + } + ], + "range": [ + 3372, + 3616 + ], + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 145, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3369, + 3616 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 145, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3365, + 3616 + ], + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 145, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Show no results message\n ", + "range": [ + 3318, + 3360 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Hide no results message\n ", + "range": [ + 3622, + 3664 + ], + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 149, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "hide", + "range": [ + 3669, + 3673 + ], + "loc": { + "start": { + "line": 150, + "column": 4 + }, + "end": { + "line": 150, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3691, + 3695 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3696, + 3707 + ], + "loc": { + "start": { + "line": 151, + "column": 18 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + "range": [ + 3691, + 3707 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3690, + 3707 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3712, + 3716 + ], + "loc": { + "start": { + "line": 151, + "column": 34 + }, + "end": { + "line": 151, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 3717, + 3726 + ], + "loc": { + "start": { + "line": 151, + "column": 39 + }, + "end": { + "line": 151, + "column": 48 + } + } + }, + "range": [ + 3712, + 3726 + ], + "loc": { + "start": { + "line": 151, + "column": 34 + }, + "end": { + "line": 151, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 3712, + 3728 + ], + "loc": { + "start": { + "line": 151, + "column": 34 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "prefix": true, + "range": [ + 3711, + 3728 + ], + "loc": { + "start": { + "line": 151, + "column": 33 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "range": [ + 3690, + 3728 + ], + "loc": { + "start": { + "line": 151, + "column": 12 + }, + "end": { + "line": 151, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3744, + 3751 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 19 + } + } + } + ], + "range": [ + 3730, + 3761 + ], + "loc": { + "start": { + "line": 151, + "column": 52 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3686, + 3761 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3770, + 3774 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeHide", + "range": [ + 3775, + 3787 + ], + "loc": { + "start": { + "line": 154, + "column": 13 + }, + "end": { + "line": 154, + "column": 25 + } + } + }, + "range": [ + 3770, + 3787 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3788, + 3792 + ], + "loc": { + "start": { + "line": 154, + "column": 26 + }, + "end": { + "line": 154, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3793, + 3795 + ], + "loc": { + "start": { + "line": 154, + "column": 31 + }, + "end": { + "line": 154, + "column": 33 + } + } + }, + "range": [ + 3788, + 3795 + ], + "loc": { + "start": { + "line": 154, + "column": 26 + }, + "end": { + "line": 154, + "column": 33 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 3797, + 3801 + ], + "loc": { + "start": { + "line": 154, + "column": 35 + }, + "end": { + "line": 154, + "column": 39 + } + } + } + ], + "range": [ + 3770, + 3802 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 40 + } + } + }, + "range": [ + 3770, + 3803 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 41 + } + } + }, + { + "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": [ + 3813, + 3817 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 3818, + 3822 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "range": [ + 3813, + 3822 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 3823, + 3828 + ], + "loc": { + "start": { + "line": 156, + "column": 18 + }, + "end": { + "line": 156, + "column": 23 + } + } + }, + "range": [ + 3813, + 3828 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 3829, + 3836 + ], + "loc": { + "start": { + "line": 156, + "column": 24 + }, + "end": { + "line": 156, + "column": 31 + } + } + }, + "range": [ + 3813, + 3836 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 3839, + 3843 + ], + "loc": { + "start": { + "line": 156, + "column": 34 + }, + "end": { + "line": 156, + "column": 38 + } + } + }, + "range": [ + 3813, + 3843 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 38 + } + } + }, + "range": [ + 3813, + 3844 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3854, + 3858 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterHide", + "range": [ + 3859, + 3870 + ], + "loc": { + "start": { + "line": 158, + "column": 13 + }, + "end": { + "line": 158, + "column": 24 + } + } + }, + "range": [ + 3854, + 3870 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3871, + 3875 + ], + "loc": { + "start": { + "line": 158, + "column": 25 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3876, + 3878 + ], + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 32 + } + } + }, + "range": [ + 3871, + 3878 + ], + "loc": { + "start": { + "line": 158, + "column": 25 + }, + "end": { + "line": 158, + "column": 32 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 3880, + 3884 + ], + "loc": { + "start": { + "line": 158, + "column": 34 + }, + "end": { + "line": 158, + "column": 38 + } + } + } + ], + "range": [ + 3854, + 3885 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 39 + } + } + }, + "range": [ + 3854, + 3886 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 40 + } + } + } + ], + "range": [ + 3676, + 3892 + ], + "loc": { + "start": { + "line": 150, + "column": 11 + }, + "end": { + "line": 159, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3673, + 3892 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 159, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3669, + 3892 + ], + "loc": { + "start": { + "line": 150, + "column": 4 + }, + "end": { + "line": 159, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Hide no results message\n ", + "range": [ + 3622, + 3664 + ], + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 149, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sets no results container width\n * @private\n ", + "range": [ + 3898, + 3964 + ], + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 164, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setWidth", + "range": [ + 3969, + 3977 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3995, + 3999 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4000, + 4011 + ], + "loc": { + "start": { + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 29 + } + } + }, + "range": [ + 3995, + 4011 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3994, + 4011 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4015, + 4019 + ], + "loc": { + "start": { + "line": 166, + "column": 33 + }, + "end": { + "line": 166, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternal", + "range": [ + 4020, + 4030 + ], + "loc": { + "start": { + "line": 166, + "column": 38 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "range": [ + 4015, + 4030 + ], + "loc": { + "start": { + "line": 166, + "column": 33 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "range": [ + 3994, + 4030 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4035, + 4039 + ], + "loc": { + "start": { + "line": 166, + "column": 53 + }, + "end": { + "line": 166, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 4040, + 4049 + ], + "loc": { + "start": { + "line": 166, + "column": 58 + }, + "end": { + "line": 166, + "column": 67 + } + } + }, + "range": [ + 4035, + 4049 + ], + "loc": { + "start": { + "line": 166, + "column": 53 + }, + "end": { + "line": 166, + "column": 67 + } + } + }, + "arguments": [], + "range": [ + 4035, + 4051 + ], + "loc": { + "start": { + "line": 166, + "column": 53 + }, + "end": { + "line": 166, + "column": 69 + } + } + }, + "prefix": true, + "range": [ + 4034, + 4051 + ], + "loc": { + "start": { + "line": 166, + "column": 52 + }, + "end": { + "line": 166, + "column": 69 + } + } + }, + "range": [ + 3994, + 4051 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 69 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4067, + 4074 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 19 + } + } + } + ], + "range": [ + 4053, + 4084 + ], + "loc": { + "start": { + "line": 166, + "column": 71 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3990, + 4084 + ], + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4097, + 4099 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4102, + 4106 + ], + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4107, + 4109 + ], + "loc": { + "start": { + "line": 169, + "column": 22 + }, + "end": { + "line": 169, + "column": 24 + } + } + }, + "range": [ + 4102, + 4109 + ], + "loc": { + "start": { + "line": 169, + "column": 17 + }, + "end": { + "line": 169, + "column": 24 + } + } + }, + "range": [ + 4097, + 4109 + ], + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4093, + 4110 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4123, + 4125 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 4126, + 4136 + ], + "loc": { + "start": { + "line": 170, + "column": 15 + }, + "end": { + "line": 170, + "column": 25 + } + } + }, + "range": [ + 4123, + 4136 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 4156, + 4166 + ], + "loc": { + "start": { + "line": 171, + "column": 16 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4169, + 4171 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 4172, + 4179 + ], + "loc": { + "start": { + "line": 171, + "column": 32 + }, + "end": { + "line": 171, + "column": 39 + } + } + }, + "range": [ + 4169, + 4179 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "gridLayout", + "raw": "'gridLayout'", + "range": [ + 4180, + 4192 + ], + "loc": { + "start": { + "line": 171, + "column": 40 + }, + "end": { + "line": 171, + "column": 52 + } + } + } + ], + "range": [ + 4169, + 4193 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 53 + } + } + }, + "range": [ + 4156, + 4193 + ], + "loc": { + "start": { + "line": 171, + "column": 16 + }, + "end": { + "line": 171, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 4152, + 4194 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 54 + } + } + }, + { + "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": [ + 4207, + 4211 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 4212, + 4216 + ], + "loc": { + "start": { + "line": 172, + "column": 17 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + "range": [ + 4207, + 4216 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 4217, + 4222 + ], + "loc": { + "start": { + "line": 172, + "column": 22 + }, + "end": { + "line": 172, + "column": 27 + } + } + }, + "range": [ + 4207, + 4222 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4223, + 4228 + ], + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 33 + } + } + }, + "range": [ + 4207, + 4228 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 4231, + 4241 + ], + "loc": { + "start": { + "line": 172, + "column": 36 + }, + "end": { + "line": 172, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblCont", + "range": [ + 4242, + 4249 + ], + "loc": { + "start": { + "line": 172, + "column": 47 + }, + "end": { + "line": 172, + "column": 54 + } + } + }, + "range": [ + 4231, + 4249 + ], + "loc": { + "start": { + "line": 172, + "column": 36 + }, + "end": { + "line": 172, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 4250, + 4261 + ], + "loc": { + "start": { + "line": 172, + "column": 55 + }, + "end": { + "line": 172, + "column": 66 + } + } + }, + "range": [ + 4231, + 4261 + ], + "loc": { + "start": { + "line": 172, + "column": 36 + }, + "end": { + "line": 172, + "column": 66 + } + } + }, + "right": { + "type": "Literal", + "value": "px", + "raw": "'px'", + "range": [ + 4264, + 4268 + ], + "loc": { + "start": { + "line": 172, + "column": 69 + }, + "end": { + "line": 172, + "column": 73 + } + } + }, + "range": [ + 4231, + 4268 + ], + "loc": { + "start": { + "line": 172, + "column": 36 + }, + "end": { + "line": 172, + "column": 73 + } + } + }, + "range": [ + 4207, + 4268 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 73 + } + } + }, + "range": [ + 4207, + 4269 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 74 + } + } + } + ], + "range": [ + 4138, + 4279 + ], + "loc": { + "start": { + "line": 170, + "column": 27 + }, + "end": { + "line": 173, + "column": 9 + } + } + }, + "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": [ + 4299, + 4303 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 4304, + 4308 + ], + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 21 + } + } + }, + "range": [ + 4299, + 4308 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 4309, + 4314 + ], + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 27 + } + } + }, + "range": [ + 4299, + 4314 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4315, + 4320 + ], + "loc": { + "start": { + "line": 174, + "column": 28 + }, + "end": { + "line": 174, + "column": 33 + } + } + }, + "range": [ + 4299, + 4320 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4324, + 4326 + ], + "loc": { + "start": { + "line": 174, + "column": 37 + }, + "end": { + "line": 174, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4327, + 4330 + ], + "loc": { + "start": { + "line": 174, + "column": 40 + }, + "end": { + "line": 174, + "column": 43 + } + } + }, + "range": [ + 4324, + 4330 + ], + "loc": { + "start": { + "line": 174, + "column": 37 + }, + "end": { + "line": 174, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 4324, + 4332 + ], + "loc": { + "start": { + "line": 174, + "column": 37 + }, + "end": { + "line": 174, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 4333, + 4338 + ], + "loc": { + "start": { + "line": 174, + "column": 46 + }, + "end": { + "line": 174, + "column": 51 + } + } + }, + "range": [ + 4324, + 4338 + ], + "loc": { + "start": { + "line": 174, + "column": 37 + }, + "end": { + "line": 174, + "column": 51 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4357, + 4359 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4360, + 4363 + ], + "loc": { + "start": { + "line": 175, + "column": 19 + }, + "end": { + "line": 175, + "column": 22 + } + } + }, + "range": [ + 4357, + 4363 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 22 + } + } + }, + "arguments": [], + "range": [ + 4357, + 4365 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "tHead", + "range": [ + 4366, + 4371 + ], + "loc": { + "start": { + "line": 175, + "column": 25 + }, + "end": { + "line": 175, + "column": 30 + } + } + }, + "range": [ + 4357, + 4371 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 4372, + 4383 + ], + "loc": { + "start": { + "line": 175, + "column": 31 + }, + "end": { + "line": 175, + "column": 42 + } + } + }, + "range": [ + 4357, + 4383 + ], + "loc": { + "start": { + "line": 175, + "column": 16 + }, + "end": { + "line": 175, + "column": 42 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4402, + 4404 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4405, + 4408 + ], + "loc": { + "start": { + "line": 176, + "column": 19 + }, + "end": { + "line": 176, + "column": 22 + } + } + }, + "range": [ + 4402, + 4408 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 22 + } + } + }, + "arguments": [], + "range": [ + 4402, + 4410 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "tBodies", + "range": [ + 4411, + 4418 + ], + "loc": { + "start": { + "line": 176, + "column": 25 + }, + "end": { + "line": 176, + "column": 32 + } + } + }, + "range": [ + 4402, + 4418 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 32 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4419, + 4420 + ], + "loc": { + "start": { + "line": 176, + "column": 33 + }, + "end": { + "line": 176, + "column": 34 + } + } + }, + "range": [ + 4402, + 4421 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 4422, + 4433 + ], + "loc": { + "start": { + "line": 176, + "column": 36 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "range": [ + 4402, + 4433 + ], + "loc": { + "start": { + "line": 176, + "column": 16 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "range": [ + 4324, + 4433 + ], + "loc": { + "start": { + "line": 174, + "column": 37 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": "px", + "raw": "'px'", + "range": [ + 4437, + 4441 + ], + "loc": { + "start": { + "line": 176, + "column": 51 + }, + "end": { + "line": 176, + "column": 55 + } + } + }, + "range": [ + 4323, + 4441 + ], + "loc": { + "start": { + "line": 174, + "column": 36 + }, + "end": { + "line": 176, + "column": 55 + } + } + }, + "range": [ + 4299, + 4441 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 176, + "column": 55 + } + } + }, + "range": [ + 4299, + 4442 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 176, + "column": 56 + } + } + } + ], + "range": [ + 4285, + 4452 + ], + "loc": { + "start": { + "line": 173, + "column": 15 + }, + "end": { + "line": 177, + "column": 9 + } + } + }, + "range": [ + 4119, + 4452 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 177, + "column": 9 + } + } + } + ], + "range": [ + 3980, + 4458 + ], + "loc": { + "start": { + "line": 165, + "column": 15 + }, + "end": { + "line": 178, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3977, + 4458 + ], + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 178, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3969, + 4458 + ], + "loc": { + "start": { + "line": 165, + "column": 4 + }, + "end": { + "line": 178, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sets no results container width\n * @private\n ", + "range": [ + 3898, + 3964 + ], + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 164, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 4464, + 4497 + ], + "loc": { + "start": { + "line": 180, + "column": 4 + }, + "end": { + "line": 182, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 4502, + 4509 + ], + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 183, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4527, + 4531 + ], + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4532, + 4543 + ], + "loc": { + "start": { + "line": 184, + "column": 18 + }, + "end": { + "line": 184, + "column": 29 + } + } + }, + "range": [ + 4527, + 4543 + ], + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 4526, + 4543 + ], + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4559, + 4566 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 19 + } + } + } + ], + "range": [ + 4545, + 4576 + ], + "loc": { + "start": { + "line": 184, + "column": 31 + }, + "end": { + "line": 186, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4522, + 4576 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 186, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 4585, + 4594 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4595, + 4599 + ], + "loc": { + "start": { + "line": 187, + "column": 18 + }, + "end": { + "line": 187, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 4600, + 4604 + ], + "loc": { + "start": { + "line": 187, + "column": 23 + }, + "end": { + "line": 187, + "column": 27 + } + } + }, + "range": [ + 4595, + 4604 + ], + "loc": { + "start": { + "line": 187, + "column": 18 + }, + "end": { + "line": 187, + "column": 27 + } + } + } + ], + "range": [ + 4585, + 4605 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 28 + } + } + }, + "range": [ + 4585, + 4606 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4615, + 4619 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cont", + "range": [ + 4620, + 4624 + ], + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 17 + } + } + }, + "range": [ + 4615, + 4624 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 4627, + 4631 + ], + "loc": { + "start": { + "line": 188, + "column": 20 + }, + "end": { + "line": 188, + "column": 24 + } + } + }, + "range": [ + 4615, + 4631 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 24 + } + } + }, + "range": [ + 4615, + 4632 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " unsubscribe to after-filtering event", + "range": [ + 4641, + 4680 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4689, + 4693 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4694, + 4701 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "range": [ + 4689, + 4701 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 4702, + 4705 + ], + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 24 + } + } + }, + "range": [ + 4689, + 4705 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 4707, + 4724 + ], + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 43 + } + } + } + ], + "range": [ + 4706, + 4725 + ], + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4733, + 4737 + ], + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 4738, + 4744 + ], + "loc": { + "start": { + "line": 190, + "column": 57 + }, + "end": { + "line": 190, + "column": 63 + } + } + }, + "range": [ + 4733, + 4744 + ], + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 63 + } + } + }, + "arguments": [], + "range": [ + 4733, + 4746 + ], + "loc": { + "start": { + "line": 190, + "column": 52 + }, + "end": { + "line": 190, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4727, + 4746 + ], + "loc": { + "start": { + "line": 190, + "column": 46 + }, + "end": { + "line": 190, + "column": 65 + } + } + } + ], + "range": [ + 4689, + 4747 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 66 + } + } + }, + "range": [ + 4689, + 4748 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unsubscribe to after-filtering event", + "range": [ + 4641, + 4680 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4758, + 4762 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4763, + 4774 + ], + "loc": { + "start": { + "line": 192, + "column": 13 + }, + "end": { + "line": 192, + "column": 24 + } + } + }, + "range": [ + 4758, + 4774 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 4777, + 4782 + ], + "loc": { + "start": { + "line": 192, + "column": 27 + }, + "end": { + "line": 192, + "column": 32 + } + } + }, + "range": [ + 4758, + 4782 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 32 + } + } + }, + "range": [ + 4758, + 4783 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 192, + "column": 33 + } + } + } + ], + "range": [ + 4512, + 4789 + ], + "loc": { + "start": { + "line": 183, + "column": 14 + }, + "end": { + "line": 193, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4509, + 4789 + ], + "loc": { + "start": { + "line": 183, + "column": 11 + }, + "end": { + "line": 193, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4502, + 4789 + ], + "loc": { + "start": { + "line": 183, + "column": 4 + }, + "end": { + "line": 193, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 4464, + 4497 + ], + "loc": { + "start": { + "line": 180, + "column": 4 + }, + "end": { + "line": 182, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 354, + 4791 + ], + "loc": { + "start": { + "line": 13, + "column": 39 + }, + "end": { + "line": 194, + "column": 1 + } + } + }, + "range": [ + 322, + 4791 + ], + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 194, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n ", + "range": [ + 215, + 314 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 315, + 4791 + ], + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 194, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n ", + "range": [ + 215, + 314 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 4791 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 194, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n ", + "range": [ + 215, + 314 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of NoResults\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 361, + 464 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "configuration object", + "range": [ + 528, + 550 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Text (accepts HTML)\n * @type {String}\n ", + "range": [ + 614, + 686 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 28, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom container DOM element\n * @type {DOMElement}\n ", + "range": [ + 757, + 842 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 922, + 1005 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n ", + "range": [ + 1090, + 1214 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class assigned to container element\n * @type {String}\n ", + "range": [ + 1330, + 1422 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Stores container DOM element\n * @type {DOMElement}\n ", + "range": [ + 1496, + 1581 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 60, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1617, + 1718 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 66, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 1800, + 1900 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the message is hidden\n * @type {Function}\n ", + "range": [ + 1980, + 2078 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 78, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the message is hidden\n * @type {Function}\n ", + "range": [ + 2160, + 2257 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 84, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes NoResults instance\n ", + "range": [ + 2339, + 2388 + ], + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 90, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "container", + "range": [ + 2597, + 2608 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 19 + } + } + }, + { + "type": "Line", + "value": " subscribe to after-filtering event", + "range": [ + 2928, + 2965 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 45 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3042, + 3059 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle no results message\n ", + "range": [ + 3126, + 3170 + ], + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 123, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Show no results message\n ", + "range": [ + 3318, + 3360 + ], + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 134, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Hide no results message\n ", + "range": [ + 3622, + 3664 + ], + "loc": { + "start": { + "line": 147, + "column": 4 + }, + "end": { + "line": 149, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sets no results container width\n * @private\n ", + "range": [ + 3898, + 3964 + ], + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 164, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 4464, + 4497 + ], + "loc": { + "start": { + "line": 180, + "column": 4 + }, + "end": { + "line": 182, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " unsubscribe to after-filtering event", + "range": [ + 4641, + 4680 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 47 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/paging.js.json b/docs/ast/source/modules/paging.js.json new file mode 100644 index 00000000..ad92068d --- /dev/null +++ b/docs/ast/source/modules/paging.js.json @@ -0,0 +1,59495 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 66, + 76 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 66, + 76 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + "range": [ + 66, + 76 + ], + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 78, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 78, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "range": [ + 78, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 42 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 83, + 92 + ], + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 2, + "column": 56 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 83, + 92 + ], + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 2, + "column": 56 + } + } + }, + "range": [ + 83, + 92 + ], + "loc": { + "start": { + "line": 2, + "column": 47 + }, + "end": { + "line": 2, + "column": 56 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 99, + 107 + ], + "loc": { + "start": { + "line": 2, + "column": 63 + }, + "end": { + "line": 2, + "column": 71 + } + } + }, + "range": [ + 36, + 108 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 72 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "range": [ + 117, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isNull", + "range": [ + 126, + 132 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isNull", + "range": [ + 126, + 132 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "range": [ + 126, + 132 + ], + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 134, + 142 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 134, + 142 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 134, + 142 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 33 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 149, + 159 + ], + "loc": { + "start": { + "line": 3, + "column": 40 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + "range": [ + 109, + 160 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 169, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 169, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "range": [ + 169, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 177, + 184 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 177, + 184 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + "range": [ + 177, + 184 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 186, + 195 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 186, + 195 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "range": [ + 186, + 195 + ], + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 34 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 202, + 212 + ], + "loc": { + "start": { + "line": 4, + "column": 41 + }, + "end": { + "line": 4, + "column": 51 + } + } + }, + "range": [ + 161, + 213 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 52 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 222, + 227 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 222, + 227 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "range": [ + 222, + 227 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 229, + 235 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + "imported": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 229, + 235 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + "range": [ + 229, + 235 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 21 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 237, + 241 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 237, + 241 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + "range": [ + 237, + 241 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 243, + 252 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 243, + 252 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + "range": [ + 243, + 252 + ], + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 38 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 259, + 269 + ], + "loc": { + "start": { + "line": 5, + "column": 45 + }, + "end": { + "line": 5, + "column": 55 + } + } + }, + "range": [ + 214, + 270 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 56 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 284, + 295 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 284, + 295 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + "range": [ + 284, + 295 + ], + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 297, + 307 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 297, + 307 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + "range": [ + 297, + 307 + ], + "loc": { + "start": { + "line": 7, + "column": 17 + }, + "end": { + "line": 7, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 309, + 321 + ], + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 309, + 321 + ], + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + "range": [ + 309, + 321 + ], + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 41 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 323, + 334 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 323, + 334 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + "range": [ + 323, + 334 + ], + "loc": { + "start": { + "line": 7, + "column": 43 + }, + "end": { + "line": 7, + "column": 54 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 336, + 346 + ], + "loc": { + "start": { + "line": 7, + "column": 56 + }, + "end": { + "line": 7, + "column": 66 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 336, + 346 + ], + "loc": { + "start": { + "line": 7, + "column": 56 + }, + "end": { + "line": 7, + "column": 66 + } + } + }, + "range": [ + 336, + 346 + ], + "loc": { + "start": { + "line": 7, + "column": 56 + }, + "end": { + "line": 7, + "column": 66 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 354, + 367 + ], + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + "range": [ + 271, + 368 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 8, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n ", + "range": [ + 370, + 450 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Paging", + "range": [ + 464, + 470 + ], + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 479, + 486 + ], + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 599, + 610 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 611, + 613 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 625, + 630 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 631, + 633 + ], + "loc": { + "start": { + "line": 23, + "column": 14 + }, + "end": { + "line": 23, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 635, + 643 + ], + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 26 + } + } + } + ], + "range": [ + 625, + 644 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 625, + 645 + ], + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 655, + 678 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 691, + 692 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 695, + 699 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 700, + 706 + ], + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + "range": [ + 695, + 706 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 707, + 713 + ], + "loc": { + "start": { + "line": 26, + "column": 28 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + "range": [ + 695, + 713 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 717, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 38 + }, + "end": { + "line": 26, + "column": 40 + } + } + }, + "range": [ + 695, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 40 + } + } + }, + "range": [ + 691, + 719 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 687, + 720 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 655, + 678 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n ", + "range": [ + 730, + 838 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 847, + 851 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 852, + 863 + ], + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + "range": [ + 847, + 863 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 866, + 877 + ], + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 878, + 879 + ], + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 32, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_css_class", + "range": [ + 880, + 893 + ], + "loc": { + "start": { + "line": 32, + "column": 41 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + "range": [ + 878, + 893 + ], + "loc": { + "start": { + "line": 32, + "column": 39 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "pgInp", + "raw": "'pgInp'", + "range": [ + 895, + 902 + ], + "loc": { + "start": { + "line": 32, + "column": 56 + }, + "end": { + "line": 32, + "column": 63 + } + } + } + ], + "range": [ + 866, + 903 + ], + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 64 + } + } + }, + "range": [ + 847, + 903 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 64 + } + } + }, + "range": [ + 847, + 904 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n ", + "range": [ + 730, + 838 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Main select DOM element\n * @type {DOMElement}\n ", + "range": [ + 914, + 994 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1003, + 1007 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 1008, + 1015 + ], + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + "range": [ + 1003, + 1015 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1018, + 1022 + ], + "loc": { + "start": { + "line": 38, + "column": 23 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 1003, + 1022 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + "range": [ + 1003, + 1023 + ], + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Main select DOM element\n * @type {DOMElement}\n ", + "range": [ + 914, + 994 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Results per page select DOM element\n * @type {DOMElement}\n ", + "range": [ + 1033, + 1125 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1134, + 1138 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 1139, + 1152 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + "range": [ + 1134, + 1152 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1155, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 29 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + "range": [ + 1134, + 1159 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + "range": [ + 1134, + 1160 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Results per page select DOM element\n * @type {DOMElement}\n ", + "range": [ + 1033, + 1125 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 1170, + 1253 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1262, + 1266 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 1267, + 1272 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 18 + } + } + }, + "range": [ + 1262, + 1272 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1275, + 1286 + ], + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1287, + 1288 + ], + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "target_id", + "range": [ + 1289, + 1298 + ], + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 50, + "column": 44 + } + } + }, + "range": [ + 1287, + 1298 + ], + "loc": { + "start": { + "line": 50, + "column": 33 + }, + "end": { + "line": 50, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1300, + 1304 + ], + "loc": { + "start": { + "line": 50, + "column": 46 + }, + "end": { + "line": 50, + "column": 50 + } + } + } + ], + "range": [ + 1275, + 1305 + ], + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 51 + } + } + }, + "range": [ + 1262, + 1305 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 51 + } + } + }, + "range": [ + 1262, + 1306 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 1170, + 1253 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number of rows contained in a page\n * @type {Number}\n ", + "range": [ + 1316, + 1403 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1412, + 1416 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 1417, + 1427 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + "range": [ + 1412, + 1427 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 1430, + 1440 + ], + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1441, + 1442 + ], + "loc": { + "start": { + "line": 56, + "column": 37 + }, + "end": { + "line": 56, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1443, + 1449 + ], + "loc": { + "start": { + "line": 56, + "column": 39 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + "range": [ + 1441, + 1449 + ], + "loc": { + "start": { + "line": 56, + "column": 37 + }, + "end": { + "line": 56, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 1451, + 1453 + ], + "loc": { + "start": { + "line": 56, + "column": 47 + }, + "end": { + "line": 56, + "column": 49 + } + } + } + ], + "range": [ + 1430, + 1454 + ], + "loc": { + "start": { + "line": 56, + "column": 26 + }, + "end": { + "line": 56, + "column": 50 + } + } + }, + "range": [ + 1412, + 1454 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 50 + } + } + }, + "range": [ + 1412, + 1455 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number of rows contained in a page\n * @type {Number}\n ", + "range": [ + 1316, + 1403 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element for the results per page selector\n * @type {String}\n ", + "range": [ + 1465, + 1582 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1591, + 1595 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthTgtId", + "range": [ + 1596, + 1611 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 28 + } + } + }, + "range": [ + 1591, + 1611 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1614, + 1625 + ], + "loc": { + "start": { + "line": 62, + "column": 31 + }, + "end": { + "line": 62, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1626, + 1627 + ], + "loc": { + "start": { + "line": 62, + "column": 43 + }, + "end": { + "line": 62, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "results_per_page_target_id", + "range": [ + 1628, + 1654 + ], + "loc": { + "start": { + "line": 62, + "column": 45 + }, + "end": { + "line": 62, + "column": 71 + } + } + }, + "range": [ + 1626, + 1654 + ], + "loc": { + "start": { + "line": 62, + "column": 43 + }, + "end": { + "line": 62, + "column": 71 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1656, + 1660 + ], + "loc": { + "start": { + "line": 62, + "column": 73 + }, + "end": { + "line": 62, + "column": 77 + } + } + } + ], + "range": [ + 1614, + 1661 + ], + "loc": { + "start": { + "line": 62, + "column": 31 + }, + "end": { + "line": 62, + "column": 78 + } + } + }, + "range": [ + 1591, + 1661 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 78 + } + } + }, + "range": [ + 1591, + 1662 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element for the results per page selector\n * @type {String}\n ", + "range": [ + 1465, + 1582 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging select element\n * @type {String}\n ", + "range": [ + 1672, + 1764 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1773, + 1777 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgSlcCssClass", + "range": [ + 1778, + 1791 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + "range": [ + 1773, + 1791 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1794, + 1805 + ], + "loc": { + "start": { + "line": 68, + "column": 29 + }, + "end": { + "line": 68, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1806, + 1807 + ], + "loc": { + "start": { + "line": 68, + "column": 41 + }, + "end": { + "line": 68, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "slc_css_class", + "range": [ + 1808, + 1821 + ], + "loc": { + "start": { + "line": 68, + "column": 43 + }, + "end": { + "line": 68, + "column": 56 + } + } + }, + "range": [ + 1806, + 1821 + ], + "loc": { + "start": { + "line": 68, + "column": 41 + }, + "end": { + "line": 68, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "pgSlc", + "raw": "'pgSlc'", + "range": [ + 1823, + 1830 + ], + "loc": { + "start": { + "line": 68, + "column": 58 + }, + "end": { + "line": 68, + "column": 65 + } + } + } + ], + "range": [ + 1794, + 1831 + ], + "loc": { + "start": { + "line": 68, + "column": 29 + }, + "end": { + "line": 68, + "column": 66 + } + } + }, + "range": [ + 1773, + 1831 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 66 + } + } + }, + "range": [ + 1773, + 1832 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging select element\n * @type {String}\n ", + "range": [ + 1672, + 1764 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging input element\n * @type {String}\n ", + "range": [ + 1842, + 1933 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1942, + 1946 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgInpCssClass", + "range": [ + 1947, + 1960 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + "range": [ + 1942, + 1960 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1963, + 1974 + ], + "loc": { + "start": { + "line": 74, + "column": 29 + }, + "end": { + "line": 74, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1975, + 1976 + ], + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "inp_css_class", + "range": [ + 1977, + 1990 + ], + "loc": { + "start": { + "line": 74, + "column": 43 + }, + "end": { + "line": 74, + "column": 56 + } + } + }, + "range": [ + 1975, + 1990 + ], + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "pgNbInp", + "raw": "'pgNbInp'", + "range": [ + 1992, + 2001 + ], + "loc": { + "start": { + "line": 74, + "column": 58 + }, + "end": { + "line": 74, + "column": 67 + } + } + } + ], + "range": [ + 1963, + 2002 + ], + "loc": { + "start": { + "line": 74, + "column": 29 + }, + "end": { + "line": 74, + "column": 68 + } + } + }, + "range": [ + 1942, + 2002 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 68 + } + } + }, + "range": [ + 1942, + 2003 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the paging input element\n * @type {String}\n ", + "range": [ + 1842, + 1933 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n ", + "range": [ + 2013, + 2173 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2182, + 2186 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 2187, + 2201 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 27 + } + } + }, + "range": [ + 2182, + 2201 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 2204, + 2215 + ], + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2216, + 2217 + ], + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "results_per_page", + "range": [ + 2218, + 2234 + ], + "loc": { + "start": { + "line": 81, + "column": 44 + }, + "end": { + "line": 81, + "column": 60 + } + } + }, + "range": [ + 2216, + 2234 + ], + "loc": { + "start": { + "line": 81, + "column": 42 + }, + "end": { + "line": 81, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2236, + 2240 + ], + "loc": { + "start": { + "line": 81, + "column": 62 + }, + "end": { + "line": 81, + "column": 66 + } + } + } + ], + "range": [ + 2204, + 2241 + ], + "loc": { + "start": { + "line": 81, + "column": 30 + }, + "end": { + "line": 81, + "column": 67 + } + } + }, + "range": [ + 2182, + 2241 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 67 + } + } + }, + "range": [ + 2182, + 2242 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n ", + "range": [ + 2013, + 2173 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determines if results per page is configured\n * @type {Boolean}\n ", + "range": [ + 2252, + 2350 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2359, + 2363 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasResultsPerPage", + "range": [ + 2364, + 2381 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + "range": [ + 2359, + 2381 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 2384, + 2391 + ], + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2392, + 2396 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 2397, + 2411 + ], + "loc": { + "start": { + "line": 87, + "column": 46 + }, + "end": { + "line": 87, + "column": 60 + } + } + }, + "range": [ + 2392, + 2411 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 60 + } + } + } + ], + "range": [ + 2384, + 2412 + ], + "loc": { + "start": { + "line": 87, + "column": 33 + }, + "end": { + "line": 87, + "column": 61 + } + } + }, + "range": [ + 2359, + 2412 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 61 + } + } + }, + "range": [ + 2359, + 2413 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determines if results per page is configured\n * @type {Boolean}\n ", + "range": [ + 2252, + 2350 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the results per page select\n * @type {String}\n ", + "range": [ + 2423, + 2517 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2526, + 2530 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsSlcCssClass", + "range": [ + 2531, + 2549 + ], + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 31 + } + } + }, + "range": [ + 2526, + 2549 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2552, + 2563 + ], + "loc": { + "start": { + "line": 93, + "column": 34 + }, + "end": { + "line": 93, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2564, + 2565 + ], + "loc": { + "start": { + "line": 93, + "column": 46 + }, + "end": { + "line": 93, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "results_slc_css_class", + "range": [ + 2566, + 2587 + ], + "loc": { + "start": { + "line": 93, + "column": 48 + }, + "end": { + "line": 93, + "column": 69 + } + } + }, + "range": [ + 2564, + 2587 + ], + "loc": { + "start": { + "line": 93, + "column": 46 + }, + "end": { + "line": 93, + "column": 69 + } + } + }, + { + "type": "Literal", + "value": "rspg", + "raw": "'rspg'", + "range": [ + 2589, + 2595 + ], + "loc": { + "start": { + "line": 93, + "column": 71 + }, + "end": { + "line": 93, + "column": 77 + } + } + } + ], + "range": [ + 2552, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 34 + }, + "end": { + "line": 93, + "column": 78 + } + } + }, + "range": [ + 2526, + 2596 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 78 + } + } + }, + "range": [ + 2526, + 2597 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the results per page select\n * @type {String}\n ", + "range": [ + 2423, + 2517 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the label preceding results per page select\n * @type {String}\n ", + "range": [ + 2607, + 2717 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2726, + 2730 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsSpanCssClass", + "range": [ + 2731, + 2750 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + "range": [ + 2726, + 2750 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2753, + 2764 + ], + "loc": { + "start": { + "line": 99, + "column": 35 + }, + "end": { + "line": 99, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2765, + 2766 + ], + "loc": { + "start": { + "line": 99, + "column": 47 + }, + "end": { + "line": 99, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "results_span_css_class", + "range": [ + 2767, + 2789 + ], + "loc": { + "start": { + "line": 99, + "column": 49 + }, + "end": { + "line": 99, + "column": 71 + } + } + }, + "range": [ + 2765, + 2789 + ], + "loc": { + "start": { + "line": 99, + "column": 47 + }, + "end": { + "line": 99, + "column": 71 + } + } + }, + { + "type": "Literal", + "value": "rspgSpan", + "raw": "'rspgSpan'", + "range": [ + 2803, + 2813 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 22 + } + } + } + ], + "range": [ + 2753, + 2814 + ], + "loc": { + "start": { + "line": 99, + "column": 35 + }, + "end": { + "line": 100, + "column": 23 + } + } + }, + "range": [ + 2726, + 2814 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 100, + "column": 23 + } + } + }, + "range": [ + 2726, + 2815 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 100, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the label preceding results per page select\n * @type {String}\n ", + "range": [ + 2607, + 2717 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Index of the first row of current page\n * @type {Number}\n * @private\n ", + "range": [ + 2825, + 2936 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2945, + 2949 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 2950, + 2964 + ], + "loc": { + "start": { + "line": 107, + "column": 13 + }, + "end": { + "line": 107, + "column": 27 + } + } + }, + "range": [ + 2945, + 2964 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2967, + 2968 + ], + "loc": { + "start": { + "line": 107, + "column": 30 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + "range": [ + 2945, + 2968 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 31 + } + } + }, + "range": [ + 2945, + 2969 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 107, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Index of the first row of current page\n * @type {Number}\n * @private\n ", + "range": [ + 2825, + 2936 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Total number of pages\n * @type {Number}\n * @private\n ", + "range": [ + 2979, + 3073 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 113, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3082, + 3086 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 3087, + 3094 + ], + "loc": { + "start": { + "line": 114, + "column": 13 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + "range": [ + 3082, + 3094 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3097, + 3098 + ], + "loc": { + "start": { + "line": 114, + "column": 23 + }, + "end": { + "line": 114, + "column": 24 + } + } + }, + "range": [ + 3082, + 3098 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 24 + } + } + }, + "range": [ + 3082, + 3099 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Total number of pages\n * @type {Number}\n * @private\n ", + "range": [ + 2979, + 3073 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 113, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 3109, + 3201 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 120, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3210, + 3214 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 3215, + 3228 + ], + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 26 + } + } + }, + "range": [ + 3210, + 3228 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3231, + 3232 + ], + "loc": { + "start": { + "line": 121, + "column": 29 + }, + "end": { + "line": 121, + "column": 30 + } + } + }, + "range": [ + 3210, + 3232 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 30 + } + } + }, + "range": [ + 3210, + 3233 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 3109, + 3201 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 120, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Next page button text\n * @type {String}\n ", + "range": [ + 3243, + 3317 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 126, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3326, + 3330 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextPageText", + "range": [ + 3331, + 3346 + ], + "loc": { + "start": { + "line": 127, + "column": 13 + }, + "end": { + "line": 127, + "column": 28 + } + } + }, + "range": [ + 3326, + 3346 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3349, + 3360 + ], + "loc": { + "start": { + "line": 127, + "column": 31 + }, + "end": { + "line": 127, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3361, + 3362 + ], + "loc": { + "start": { + "line": 127, + "column": 43 + }, + "end": { + "line": 127, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_next_page_text", + "range": [ + 3363, + 3381 + ], + "loc": { + "start": { + "line": 127, + "column": 45 + }, + "end": { + "line": 127, + "column": 63 + } + } + }, + "range": [ + 3361, + 3381 + ], + "loc": { + "start": { + "line": 127, + "column": 43 + }, + "end": { + "line": 127, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": ">", + "raw": "'>'", + "range": [ + 3383, + 3386 + ], + "loc": { + "start": { + "line": 127, + "column": 65 + }, + "end": { + "line": 127, + "column": 68 + } + } + } + ], + "range": [ + 3349, + 3387 + ], + "loc": { + "start": { + "line": 127, + "column": 31 + }, + "end": { + "line": 127, + "column": 69 + } + } + }, + "range": [ + 3326, + 3387 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 69 + } + } + }, + "range": [ + 3326, + 3388 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Next page button text\n * @type {String}\n ", + "range": [ + 3243, + 3317 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 126, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Previous page button text\n * @type {String}\n ", + "range": [ + 3398, + 3476 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 132, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3485, + 3489 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevPageText", + "range": [ + 3490, + 3505 + ], + "loc": { + "start": { + "line": 133, + "column": 13 + }, + "end": { + "line": 133, + "column": 28 + } + } + }, + "range": [ + 3485, + 3505 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3508, + 3519 + ], + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3520, + 3521 + ], + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_prev_page_text", + "range": [ + 3522, + 3540 + ], + "loc": { + "start": { + "line": 133, + "column": 45 + }, + "end": { + "line": 133, + "column": 63 + } + } + }, + "range": [ + 3520, + 3540 + ], + "loc": { + "start": { + "line": 133, + "column": 43 + }, + "end": { + "line": 133, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": "<", + "raw": "'<'", + "range": [ + 3542, + 3545 + ], + "loc": { + "start": { + "line": 133, + "column": 65 + }, + "end": { + "line": 133, + "column": 68 + } + } + } + ], + "range": [ + 3508, + 3546 + ], + "loc": { + "start": { + "line": 133, + "column": 31 + }, + "end": { + "line": 133, + "column": 69 + } + } + }, + "range": [ + 3485, + 3546 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 69 + } + } + }, + "range": [ + 3485, + 3547 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Previous page button text\n * @type {String}\n ", + "range": [ + 3398, + 3476 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 132, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Last page button text\n * @type {String}\n ", + "range": [ + 3557, + 3631 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 138, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3640, + 3644 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastPageText", + "range": [ + 3645, + 3660 + ], + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 139, + "column": 28 + } + } + }, + "range": [ + 3640, + 3660 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3663, + 3674 + ], + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3675, + 3676 + ], + "loc": { + "start": { + "line": 139, + "column": 43 + }, + "end": { + "line": 139, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_last_page_text", + "range": [ + 3677, + 3695 + ], + "loc": { + "start": { + "line": 139, + "column": 45 + }, + "end": { + "line": 139, + "column": 63 + } + } + }, + "range": [ + 3675, + 3695 + ], + "loc": { + "start": { + "line": 139, + "column": 43 + }, + "end": { + "line": 139, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": ">|", + "raw": "'>|'", + "range": [ + 3697, + 3701 + ], + "loc": { + "start": { + "line": 139, + "column": 65 + }, + "end": { + "line": 139, + "column": 69 + } + } + } + ], + "range": [ + 3663, + 3702 + ], + "loc": { + "start": { + "line": 139, + "column": 31 + }, + "end": { + "line": 139, + "column": 70 + } + } + }, + "range": [ + 3640, + 3702 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 70 + } + } + }, + "range": [ + 3640, + 3703 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 139, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Last page button text\n * @type {String}\n ", + "range": [ + 3557, + 3631 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 138, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * First page button text\n * @type {String}\n ", + "range": [ + 3713, + 3788 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 144, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3797, + 3801 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstPageText", + "range": [ + 3802, + 3818 + ], + "loc": { + "start": { + "line": 145, + "column": 13 + }, + "end": { + "line": 145, + "column": 29 + } + } + }, + "range": [ + 3797, + 3818 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3821, + 3832 + ], + "loc": { + "start": { + "line": 145, + "column": 32 + }, + "end": { + "line": 145, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3833, + 3834 + ], + "loc": { + "start": { + "line": 145, + "column": 44 + }, + "end": { + "line": 145, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_first_page_text", + "range": [ + 3835, + 3854 + ], + "loc": { + "start": { + "line": 145, + "column": 46 + }, + "end": { + "line": 145, + "column": 65 + } + } + }, + "range": [ + 3833, + 3854 + ], + "loc": { + "start": { + "line": 145, + "column": 44 + }, + "end": { + "line": 145, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": "|<", + "raw": "'|<'", + "range": [ + 3856, + 3860 + ], + "loc": { + "start": { + "line": 145, + "column": 67 + }, + "end": { + "line": 145, + "column": 71 + } + } + } + ], + "range": [ + 3821, + 3861 + ], + "loc": { + "start": { + "line": 145, + "column": 32 + }, + "end": { + "line": 145, + "column": 72 + } + } + }, + "range": [ + 3797, + 3861 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 72 + } + } + }, + "range": [ + 3797, + 3862 + ], + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 145, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * First page button text\n * @type {String}\n ", + "range": [ + 3713, + 3788 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 144, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Next page button HTML\n * @type {String}\n ", + "range": [ + 3872, + 3946 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3955, + 3959 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextPageHtml", + "range": [ + 3960, + 3975 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + "range": [ + 3955, + 3975 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3978, + 3989 + ], + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 151, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3990, + 3991 + ], + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 151, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_next_page_html", + "range": [ + 3992, + 4010 + ], + "loc": { + "start": { + "line": 151, + "column": 45 + }, + "end": { + "line": 151, + "column": 63 + } + } + }, + "range": [ + 3990, + 4010 + ], + "loc": { + "start": { + "line": 151, + "column": 43 + }, + "end": { + "line": 151, + "column": 63 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4026, + 4028 + ], + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 152, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 4029, + 4040 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "range": [ + 4026, + 4040 + ], + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 4025, + 4040 + ], + "loc": { + "start": { + "line": 152, + "column": 13 + }, + "end": { + "line": 152, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 4043, + 4047 + ], + "loc": { + "start": { + "line": 152, + "column": 31 + }, + "end": { + "line": 152, + "column": 35 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "' nextPage\" title=\"Next page\" />'", + "range": [ + 4143, + 4176 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 49 + } + } + }, + "range": [ + 4066, + 4176 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 154, + "column": 49 + } + } + }, + "range": [ + 4025, + 4176 + ], + "loc": { + "start": { + "line": 152, + "column": 13 + }, + "end": { + "line": 154, + "column": 49 + } + } + } + ], + "range": [ + 3978, + 4178 + ], + "loc": { + "start": { + "line": 151, + "column": 31 + }, + "end": { + "line": 154, + "column": 51 + } + } + }, + "range": [ + 3955, + 4178 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 154, + "column": 51 + } + } + }, + "range": [ + 3955, + 4179 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 154, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Next page button HTML\n * @type {String}\n ", + "range": [ + 3872, + 3946 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Previous page button HTML\n * @type {String}\n ", + "range": [ + 4189, + 4267 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 159, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4276, + 4280 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevPageHtml", + "range": [ + 4281, + 4296 + ], + "loc": { + "start": { + "line": 160, + "column": 13 + }, + "end": { + "line": 160, + "column": 28 + } + } + }, + "range": [ + 4276, + 4296 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4299, + 4310 + ], + "loc": { + "start": { + "line": 160, + "column": 31 + }, + "end": { + "line": 160, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4311, + 4312 + ], + "loc": { + "start": { + "line": 160, + "column": 43 + }, + "end": { + "line": 160, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_prev_page_html", + "range": [ + 4313, + 4331 + ], + "loc": { + "start": { + "line": 160, + "column": 45 + }, + "end": { + "line": 160, + "column": 63 + } + } + }, + "range": [ + 4311, + 4331 + ], + "loc": { + "start": { + "line": 160, + "column": 43 + }, + "end": { + "line": 160, + "column": 63 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4347, + 4349 + ], + "loc": { + "start": { + "line": 161, + "column": 14 + }, + "end": { + "line": 161, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 4350, + 4361 + ], + "loc": { + "start": { + "line": 161, + "column": 17 + }, + "end": { + "line": 161, + "column": 28 + } + } + }, + "range": [ + 4347, + 4361 + ], + "loc": { + "start": { + "line": 161, + "column": 14 + }, + "end": { + "line": 161, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 4346, + 4361 + ], + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 161, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 4364, + 4368 + ], + "loc": { + "start": { + "line": 161, + "column": 31 + }, + "end": { + "line": 161, + "column": 35 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "' previousPage\" title=\"Previous page\" />'", + "range": [ + 4464, + 4505 + ], + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 57 + } + } + }, + "range": [ + 4387, + 4505 + ], + "loc": { + "start": { + "line": 162, + "column": 16 + }, + "end": { + "line": 163, + "column": 57 + } + } + }, + "range": [ + 4346, + 4505 + ], + "loc": { + "start": { + "line": 161, + "column": 13 + }, + "end": { + "line": 163, + "column": 57 + } + } + } + ], + "range": [ + 4299, + 4507 + ], + "loc": { + "start": { + "line": 160, + "column": 31 + }, + "end": { + "line": 163, + "column": 59 + } + } + }, + "range": [ + 4276, + 4507 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 163, + "column": 59 + } + } + }, + "range": [ + 4276, + 4508 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 163, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Previous page button HTML\n * @type {String}\n ", + "range": [ + 4189, + 4267 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 159, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * First page button HTML\n * @type {String}\n ", + "range": [ + 4518, + 4593 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 168, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4602, + 4606 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstPageHtml", + "range": [ + 4607, + 4623 + ], + "loc": { + "start": { + "line": 169, + "column": 13 + }, + "end": { + "line": 169, + "column": 29 + } + } + }, + "range": [ + 4602, + 4623 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 169, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4626, + 4637 + ], + "loc": { + "start": { + "line": 169, + "column": 32 + }, + "end": { + "line": 169, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4638, + 4639 + ], + "loc": { + "start": { + "line": 169, + "column": 44 + }, + "end": { + "line": 169, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_first_page_html", + "range": [ + 4640, + 4659 + ], + "loc": { + "start": { + "line": 169, + "column": 46 + }, + "end": { + "line": 169, + "column": 65 + } + } + }, + "range": [ + 4638, + 4659 + ], + "loc": { + "start": { + "line": 169, + "column": 44 + }, + "end": { + "line": 169, + "column": 65 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4675, + 4677 + ], + "loc": { + "start": { + "line": 170, + "column": 14 + }, + "end": { + "line": 170, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 4678, + 4689 + ], + "loc": { + "start": { + "line": 170, + "column": 17 + }, + "end": { + "line": 170, + "column": 28 + } + } + }, + "range": [ + 4675, + 4689 + ], + "loc": { + "start": { + "line": 170, + "column": 14 + }, + "end": { + "line": 170, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 4674, + 4689 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 4692, + 4696 + ], + "loc": { + "start": { + "line": 170, + "column": 31 + }, + "end": { + "line": 170, + "column": 35 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "' firstPage\" title=\"First page\" />'", + "range": [ + 4792, + 4827 + ], + "loc": { + "start": { + "line": 172, + "column": 16 + }, + "end": { + "line": 172, + "column": 51 + } + } + }, + "range": [ + 4715, + 4827 + ], + "loc": { + "start": { + "line": 171, + "column": 16 + }, + "end": { + "line": 172, + "column": 51 + } + } + }, + "range": [ + 4674, + 4827 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 172, + "column": 51 + } + } + } + ], + "range": [ + 4626, + 4829 + ], + "loc": { + "start": { + "line": 169, + "column": 32 + }, + "end": { + "line": 172, + "column": 53 + } + } + }, + "range": [ + 4602, + 4829 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 172, + "column": 53 + } + } + }, + "range": [ + 4602, + 4830 + ], + "loc": { + "start": { + "line": 169, + "column": 8 + }, + "end": { + "line": 172, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * First page button HTML\n * @type {String}\n ", + "range": [ + 4518, + 4593 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 168, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Last page button HTML\n * @type {String}\n ", + "range": [ + 4840, + 4914 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 177, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4923, + 4927 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastPageHtml", + "range": [ + 4928, + 4943 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 28 + } + } + }, + "range": [ + 4923, + 4943 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4946, + 4957 + ], + "loc": { + "start": { + "line": 178, + "column": 31 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4958, + 4959 + ], + "loc": { + "start": { + "line": 178, + "column": 43 + }, + "end": { + "line": 178, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_last_page_html", + "range": [ + 4960, + 4978 + ], + "loc": { + "start": { + "line": 178, + "column": 45 + }, + "end": { + "line": 178, + "column": 63 + } + } + }, + "range": [ + 4958, + 4978 + ], + "loc": { + "start": { + "line": 178, + "column": 43 + }, + "end": { + "line": 178, + "column": 63 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4994, + 4996 + ], + "loc": { + "start": { + "line": 179, + "column": 14 + }, + "end": { + "line": 179, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 4997, + 5008 + ], + "loc": { + "start": { + "line": 179, + "column": 17 + }, + "end": { + "line": 179, + "column": 28 + } + } + }, + "range": [ + 4994, + 5008 + ], + "loc": { + "start": { + "line": 179, + "column": 14 + }, + "end": { + "line": 179, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 4993, + 5008 + ], + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 179, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5011, + 5015 + ], + "loc": { + "start": { + "line": 179, + "column": 31 + }, + "end": { + "line": 179, + "column": 35 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "' lastPage\" title=\"Last page\" />'", + "range": [ + 5111, + 5144 + ], + "loc": { + "start": { + "line": 181, + "column": 16 + }, + "end": { + "line": 181, + "column": 49 + } + } + }, + "range": [ + 5034, + 5144 + ], + "loc": { + "start": { + "line": 180, + "column": 16 + }, + "end": { + "line": 181, + "column": 49 + } + } + }, + "range": [ + 4993, + 5144 + ], + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 181, + "column": 49 + } + } + } + ], + "range": [ + 4946, + 5146 + ], + "loc": { + "start": { + "line": 178, + "column": 31 + }, + "end": { + "line": 181, + "column": 51 + } + } + }, + "range": [ + 4923, + 5146 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 181, + "column": 51 + } + } + }, + "range": [ + 4923, + 5147 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 181, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Last page button HTML\n * @type {String}\n ", + "range": [ + 4840, + 4914 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 177, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text preceeding page selector drop-down\n * @type {String}\n ", + "range": [ + 5157, + 5249 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 186, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5258, + 5262 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageText", + "range": [ + 5263, + 5271 + ], + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 21 + } + } + }, + "range": [ + 5258, + 5271 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5274, + 5285 + ], + "loc": { + "start": { + "line": 187, + "column": 24 + }, + "end": { + "line": 187, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5286, + 5287 + ], + "loc": { + "start": { + "line": 187, + "column": 36 + }, + "end": { + "line": 187, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "page_text", + "range": [ + 5288, + 5297 + ], + "loc": { + "start": { + "line": 187, + "column": 38 + }, + "end": { + "line": 187, + "column": 47 + } + } + }, + "range": [ + 5286, + 5297 + ], + "loc": { + "start": { + "line": 187, + "column": 36 + }, + "end": { + "line": 187, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": " Page ", + "raw": "' Page '", + "range": [ + 5299, + 5307 + ], + "loc": { + "start": { + "line": 187, + "column": 49 + }, + "end": { + "line": 187, + "column": 57 + } + } + } + ], + "range": [ + 5274, + 5308 + ], + "loc": { + "start": { + "line": 187, + "column": 24 + }, + "end": { + "line": 187, + "column": 58 + } + } + }, + "range": [ + 5258, + 5308 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 58 + } + } + }, + "range": [ + 5258, + 5309 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text preceeding page selector drop-down\n * @type {String}\n ", + "range": [ + 5157, + 5249 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 186, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text after page selector drop-down\n * @type {String}\n ", + "range": [ + 5319, + 5406 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 192, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5415, + 5419 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ofText", + "range": [ + 5420, + 5426 + ], + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 193, + "column": 19 + } + } + }, + "range": [ + 5415, + 5426 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5429, + 5440 + ], + "loc": { + "start": { + "line": 193, + "column": 22 + }, + "end": { + "line": 193, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5441, + 5442 + ], + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "of_text", + "range": [ + 5443, + 5450 + ], + "loc": { + "start": { + "line": 193, + "column": 36 + }, + "end": { + "line": 193, + "column": 43 + } + } + }, + "range": [ + 5441, + 5450 + ], + "loc": { + "start": { + "line": 193, + "column": 34 + }, + "end": { + "line": 193, + "column": 43 + } + } + }, + { + "type": "Literal", + "value": " of ", + "raw": "' of '", + "range": [ + 5452, + 5458 + ], + "loc": { + "start": { + "line": 193, + "column": 45 + }, + "end": { + "line": 193, + "column": 51 + } + } + } + ], + "range": [ + 5429, + 5459 + ], + "loc": { + "start": { + "line": 193, + "column": 22 + }, + "end": { + "line": 193, + "column": 52 + } + } + }, + "range": [ + 5415, + 5459 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 52 + } + } + }, + "range": [ + 5415, + 5460 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text after page selector drop-down\n * @type {String}\n ", + "range": [ + 5319, + 5406 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 192, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the span containing total number of pages\n * @type {String}\n ", + "range": [ + 5470, + 5578 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 198, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5587, + 5591 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPgSpanCssClass", + "range": [ + 5592, + 5608 + ], + "loc": { + "start": { + "line": 199, + "column": 13 + }, + "end": { + "line": 199, + "column": 29 + } + } + }, + "range": [ + 5587, + 5608 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5611, + 5622 + ], + "loc": { + "start": { + "line": 199, + "column": 32 + }, + "end": { + "line": 199, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5623, + 5624 + ], + "loc": { + "start": { + "line": 199, + "column": 44 + }, + "end": { + "line": 199, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "nb_pages_css_class", + "range": [ + 5625, + 5643 + ], + "loc": { + "start": { + "line": 199, + "column": 46 + }, + "end": { + "line": 199, + "column": 64 + } + } + }, + "range": [ + 5623, + 5643 + ], + "loc": { + "start": { + "line": 199, + "column": 44 + }, + "end": { + "line": 199, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": "nbpg", + "raw": "'nbpg'", + "range": [ + 5645, + 5651 + ], + "loc": { + "start": { + "line": 199, + "column": 66 + }, + "end": { + "line": 199, + "column": 72 + } + } + } + ], + "range": [ + 5611, + 5652 + ], + "loc": { + "start": { + "line": 199, + "column": 32 + }, + "end": { + "line": 199, + "column": 73 + } + } + }, + "range": [ + 5587, + 5652 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 73 + } + } + }, + "range": [ + 5587, + 5653 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the span containing total number of pages\n * @type {String}\n ", + "range": [ + 5470, + 5578 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 198, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n ", + "range": [ + 5663, + 5773 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 204, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5782, + 5786 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasBtns", + "range": [ + 5787, + 5794 + ], + "loc": { + "start": { + "line": 205, + "column": 13 + }, + "end": { + "line": 205, + "column": 20 + } + } + }, + "range": [ + 5782, + 5794 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 5797, + 5809 + ], + "loc": { + "start": { + "line": 205, + "column": 23 + }, + "end": { + "line": 205, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5810, + 5811 + ], + "loc": { + "start": { + "line": 205, + "column": 36 + }, + "end": { + "line": 205, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "btns", + "range": [ + 5812, + 5816 + ], + "loc": { + "start": { + "line": 205, + "column": 38 + }, + "end": { + "line": 205, + "column": 42 + } + } + }, + "range": [ + 5810, + 5816 + ], + "loc": { + "start": { + "line": 205, + "column": 36 + }, + "end": { + "line": 205, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5818, + 5822 + ], + "loc": { + "start": { + "line": 205, + "column": 44 + }, + "end": { + "line": 205, + "column": 48 + } + } + } + ], + "range": [ + 5797, + 5823 + ], + "loc": { + "start": { + "line": 205, + "column": 23 + }, + "end": { + "line": 205, + "column": 49 + } + } + }, + "range": [ + 5782, + 5823 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 49 + } + } + }, + "range": [ + 5782, + 5824 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n ", + "range": [ + 5663, + 5773 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 204, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n ", + "range": [ + 5834, + 5953 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 210, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5962, + 5966 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 5967, + 5983 + ], + "loc": { + "start": { + "line": 211, + "column": 13 + }, + "end": { + "line": 211, + "column": 29 + } + } + }, + "range": [ + 5962, + 5983 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5986, + 5997 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5998, + 5999 + ], + "loc": { + "start": { + "line": 211, + "column": 44 + }, + "end": { + "line": 211, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "page_selector_type", + "range": [ + 6000, + 6018 + ], + "loc": { + "start": { + "line": 211, + "column": 46 + }, + "end": { + "line": 211, + "column": 64 + } + } + }, + "range": [ + 5998, + 6018 + ], + "loc": { + "start": { + "line": 211, + "column": 44 + }, + "end": { + "line": 211, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 6020, + 6026 + ], + "loc": { + "start": { + "line": 211, + "column": 66 + }, + "end": { + "line": 211, + "column": 72 + } + } + } + ], + "range": [ + 5986, + 6027 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 211, + "column": 73 + } + } + }, + "range": [ + 5962, + 6027 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 73 + } + } + }, + "range": [ + 5962, + 6028 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n ", + "range": [ + 5834, + 5953 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 210, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the page is changed\n * @type {Function}\n ", + "range": [ + 6038, + 6134 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 216, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6143, + 6147 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeChangePage", + "range": [ + 6148, + 6166 + ], + "loc": { + "start": { + "line": 217, + "column": 13 + }, + "end": { + "line": 217, + "column": 31 + } + } + }, + "range": [ + 6143, + 6166 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6169, + 6179 + ], + "loc": { + "start": { + "line": 217, + "column": 34 + }, + "end": { + "line": 217, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6180, + 6181 + ], + "loc": { + "start": { + "line": 217, + "column": 45 + }, + "end": { + "line": 217, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_change_page", + "range": [ + 6182, + 6203 + ], + "loc": { + "start": { + "line": 217, + "column": 47 + }, + "end": { + "line": 217, + "column": 68 + } + } + }, + "range": [ + 6180, + 6203 + ], + "loc": { + "start": { + "line": 217, + "column": 45 + }, + "end": { + "line": 217, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6205, + 6213 + ], + "loc": { + "start": { + "line": 217, + "column": 70 + }, + "end": { + "line": 217, + "column": 78 + } + } + } + ], + "range": [ + 6169, + 6214 + ], + "loc": { + "start": { + "line": 217, + "column": 34 + }, + "end": { + "line": 217, + "column": 79 + } + } + }, + "range": [ + 6143, + 6214 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 79 + } + } + }, + "range": [ + 6143, + 6215 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the page is changed\n * @type {Function}\n ", + "range": [ + 6038, + 6134 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 216, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the page is changed\n * @type {Function}\n ", + "range": [ + 6225, + 6320 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6329, + 6333 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterChangePage", + "range": [ + 6334, + 6351 + ], + "loc": { + "start": { + "line": 223, + "column": 13 + }, + "end": { + "line": 223, + "column": 30 + } + } + }, + "range": [ + 6329, + 6351 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 6354, + 6364 + ], + "loc": { + "start": { + "line": 223, + "column": 33 + }, + "end": { + "line": 223, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6365, + 6366 + ], + "loc": { + "start": { + "line": 223, + "column": 44 + }, + "end": { + "line": 223, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_change_page", + "range": [ + 6367, + 6387 + ], + "loc": { + "start": { + "line": 223, + "column": 46 + }, + "end": { + "line": 223, + "column": 66 + } + } + }, + "range": [ + 6365, + 6387 + ], + "loc": { + "start": { + "line": 223, + "column": 44 + }, + "end": { + "line": 223, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 6389, + 6397 + ], + "loc": { + "start": { + "line": 223, + "column": 68 + }, + "end": { + "line": 223, + "column": 76 + } + } + } + ], + "range": [ + 6354, + 6398 + ], + "loc": { + "start": { + "line": 223, + "column": 33 + }, + "end": { + "line": 223, + "column": 77 + } + } + }, + "range": [ + 6329, + 6398 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 77 + } + } + }, + "range": [ + 6329, + 6399 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the page is changed\n * @type {Function}\n ", + "range": [ + 6225, + 6320 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Label preciding results per page select\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6409, + 6525 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6534, + 6538 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsTxt", + "range": [ + 6539, + 6552 + ], + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 26 + } + } + }, + "range": [ + 6534, + 6552 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6555, + 6559 + ], + "loc": { + "start": { + "line": 230, + "column": 29 + }, + "end": { + "line": 230, + "column": 33 + } + } + }, + "range": [ + 6534, + 6559 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 33 + } + } + }, + "range": [ + 6534, + 6560 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Label preciding results per page select\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6409, + 6525 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span containing next page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6569, + 6678 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 235, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6687, + 6691 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 6692, + 6703 + ], + "loc": { + "start": { + "line": 236, + "column": 13 + }, + "end": { + "line": 236, + "column": 24 + } + } + }, + "range": [ + 6687, + 6703 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6706, + 6710 + ], + "loc": { + "start": { + "line": 236, + "column": 27 + }, + "end": { + "line": 236, + "column": 31 + } + } + }, + "range": [ + 6687, + 6710 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 31 + } + } + }, + "range": [ + 6687, + 6711 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span containing next page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6569, + 6678 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 235, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span containing previous page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6720, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 241, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6842, + 6846 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 6847, + 6858 + ], + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 24 + } + } + }, + "range": [ + 6842, + 6858 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6861, + 6865 + ], + "loc": { + "start": { + "line": 242, + "column": 27 + }, + "end": { + "line": 242, + "column": 31 + } + } + }, + "range": [ + 6842, + 6865 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 31 + } + } + }, + "range": [ + 6842, + 6866 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 242, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span containing previous page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6720, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 241, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span containing last page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6875, + 6984 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 247, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6993, + 6997 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 6998, + 7009 + ], + "loc": { + "start": { + "line": 248, + "column": 13 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + "range": [ + 6993, + 7009 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7012, + 7016 + ], + "loc": { + "start": { + "line": 248, + "column": 27 + }, + "end": { + "line": 248, + "column": 31 + } + } + }, + "range": [ + 6993, + 7016 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 31 + } + } + }, + "range": [ + 6993, + 7017 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span containing last page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6875, + 6984 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 247, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span containing first page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7026, + 7136 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 253, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7145, + 7149 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 254, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 7150, + 7162 + ], + "loc": { + "start": { + "line": 254, + "column": 13 + }, + "end": { + "line": 254, + "column": 25 + } + } + }, + "range": [ + 7145, + 7162 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 254, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7165, + 7169 + ], + "loc": { + "start": { + "line": 254, + "column": 28 + }, + "end": { + "line": 254, + "column": 32 + } + } + }, + "range": [ + 7145, + 7169 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 254, + "column": 32 + } + } + }, + "range": [ + 7145, + 7170 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 254, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span containing first page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7026, + 7136 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 253, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span for tot nb pages\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7179, + 7277 + ], + "loc": { + "start": { + "line": 255, + "column": 8 + }, + "end": { + "line": 259, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7286, + 7290 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 7291, + 7297 + ], + "loc": { + "start": { + "line": 260, + "column": 13 + }, + "end": { + "line": 260, + "column": 19 + } + } + }, + "range": [ + 7286, + 7297 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7300, + 7304 + ], + "loc": { + "start": { + "line": 260, + "column": 22 + }, + "end": { + "line": 260, + "column": 26 + } + } + }, + "range": [ + 7286, + 7304 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 26 + } + } + }, + "range": [ + 7286, + 7305 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 260, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span for tot nb pages\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7179, + 7277 + ], + "loc": { + "start": { + "line": 255, + "column": 8 + }, + "end": { + "line": 259, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span preceding pages select (contains 'Page')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7314, + 7436 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 265, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7445, + 7449 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgBefore", + "range": [ + 7450, + 7458 + ], + "loc": { + "start": { + "line": 266, + "column": 13 + }, + "end": { + "line": 266, + "column": 21 + } + } + }, + "range": [ + 7445, + 7458 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7461, + 7465 + ], + "loc": { + "start": { + "line": 266, + "column": 24 + }, + "end": { + "line": 266, + "column": 28 + } + } + }, + "range": [ + 7445, + 7465 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 28 + } + } + }, + "range": [ + 7445, + 7466 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 266, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span preceding pages select (contains 'Page')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7314, + 7436 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 265, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Span following pages select (contains ' of ')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7475, + 7597 + ], + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 271, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7606, + 7610 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgAfter", + "range": [ + 7611, + 7618 + ], + "loc": { + "start": { + "line": 272, + "column": 13 + }, + "end": { + "line": 272, + "column": 20 + } + } + }, + "range": [ + 7606, + 7618 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7621, + 7625 + ], + "loc": { + "start": { + "line": 272, + "column": 23 + }, + "end": { + "line": 272, + "column": 27 + } + } + }, + "range": [ + 7606, + 7625 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 27 + } + } + }, + "range": [ + 7606, + 7626 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 272, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Span following pages select (contains ' of ')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7475, + 7597 + ], + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 271, + "column": 11 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "startRow", + "range": [ + 7640, + 7648 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7651, + 7653 + ], + "loc": { + "start": { + "line": 274, + "column": 23 + }, + "end": { + "line": 274, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 7654, + 7660 + ], + "loc": { + "start": { + "line": 274, + "column": 26 + }, + "end": { + "line": 274, + "column": 32 + } + } + }, + "range": [ + 7651, + 7660 + ], + "loc": { + "start": { + "line": 274, + "column": 23 + }, + "end": { + "line": 274, + "column": 32 + } + } + }, + "range": [ + 7640, + 7660 + ], + "loc": { + "start": { + "line": 274, + "column": 12 + }, + "end": { + "line": 274, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 7636, + 7661 + ], + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nrows", + "range": [ + 7674, + 7679 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7682, + 7684 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 7685, + 7694 + ], + "loc": { + "start": { + "line": 275, + "column": 23 + }, + "end": { + "line": 275, + "column": 32 + } + } + }, + "range": [ + 7682, + 7694 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 7695, + 7699 + ], + "loc": { + "start": { + "line": 275, + "column": 33 + }, + "end": { + "line": 275, + "column": 37 + } + } + } + ], + "range": [ + 7682, + 7700 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 38 + } + } + }, + "range": [ + 7674, + 7700 + ], + "loc": { + "start": { + "line": 275, + "column": 12 + }, + "end": { + "line": 275, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 7670, + 7701 + ], + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 39 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "calculates page nb", + "range": [ + 7710, + 7730 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 28 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7739, + 7743 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 7744, + 7751 + ], + "loc": { + "start": { + "line": 277, + "column": 13 + }, + "end": { + "line": 277, + "column": 20 + } + } + }, + "range": [ + 7739, + 7751 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 7754, + 7758 + ], + "loc": { + "start": { + "line": 277, + "column": 23 + }, + "end": { + "line": 277, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "ceil", + "range": [ + 7759, + 7763 + ], + "loc": { + "start": { + "line": 277, + "column": 28 + }, + "end": { + "line": 277, + "column": 32 + } + } + }, + "range": [ + 7754, + 7763 + ], + "loc": { + "start": { + "line": 277, + "column": 23 + }, + "end": { + "line": 277, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "nrows", + "range": [ + 7765, + 7770 + ], + "loc": { + "start": { + "line": 277, + "column": 34 + }, + "end": { + "line": 277, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "startRow", + "range": [ + 7773, + 7781 + ], + "loc": { + "start": { + "line": 277, + "column": 42 + }, + "end": { + "line": 277, + "column": 50 + } + } + }, + "range": [ + 7765, + 7781 + ], + "loc": { + "start": { + "line": 277, + "column": 34 + }, + "end": { + "line": 277, + "column": 50 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7785, + 7789 + ], + "loc": { + "start": { + "line": 277, + "column": 54 + }, + "end": { + "line": 277, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 7790, + 7800 + ], + "loc": { + "start": { + "line": 277, + "column": 59 + }, + "end": { + "line": 277, + "column": 69 + } + } + }, + "range": [ + 7785, + 7800 + ], + "loc": { + "start": { + "line": 277, + "column": 54 + }, + "end": { + "line": 277, + "column": 69 + } + } + }, + "range": [ + 7764, + 7800 + ], + "loc": { + "start": { + "line": 277, + "column": 33 + }, + "end": { + "line": 277, + "column": 69 + } + } + } + ], + "range": [ + 7754, + 7801 + ], + "loc": { + "start": { + "line": 277, + "column": 23 + }, + "end": { + "line": 277, + "column": 70 + } + } + }, + "range": [ + 7739, + 7801 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 70 + } + } + }, + "range": [ + 7739, + 7802 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "calculates page nb", + "range": [ + 7710, + 7730 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 28 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o", + "range": [ + 7816, + 7817 + ], + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 13 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 7820, + 7824 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 20 + } + } + }, + "range": [ + 7816, + 7824 + ], + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 7812, + 7825 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Paging DOM events handlers\n * @type {String}\n * @private\n ", + "range": [ + 7834, + 7933 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 284, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7942, + 7946 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 7947, + 7950 + ], + "loc": { + "start": { + "line": 285, + "column": 13 + }, + "end": { + "line": 285, + "column": 16 + } + } + }, + "range": [ + 7942, + 7950 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 16 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 7967, + 7975 + ], + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8004, + 8005 + ], + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 287, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 8006, + 8022 + ], + "loc": { + "start": { + "line": 287, + "column": 26 + }, + "end": { + "line": 287, + "column": 42 + } + } + }, + "range": [ + 8004, + 8022 + ], + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 287, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 8027, + 8033 + ], + "loc": { + "start": { + "line": 287, + "column": 47 + }, + "end": { + "line": 287, + "column": 53 + } + } + }, + "range": [ + 8004, + 8033 + ], + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 287, + "column": 53 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8057, + 8058 + ], + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 8059, + 8066 + ], + "loc": { + "start": { + "line": 288, + "column": 22 + }, + "end": { + "line": 288, + "column": 29 + } + } + }, + "range": [ + 8057, + 8066 + ], + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 8067, + 8074 + ], + "loc": { + "start": { + "line": 288, + "column": 30 + }, + "end": { + "line": 288, + "column": 37 + } + } + }, + "range": [ + 8057, + 8074 + ], + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedIndex", + "range": [ + 8075, + 8088 + ], + "loc": { + "start": { + "line": 288, + "column": 38 + }, + "end": { + "line": 288, + "column": 51 + } + } + }, + "range": [ + 8057, + 8088 + ], + "loc": { + "start": { + "line": 288, + "column": 20 + }, + "end": { + "line": 288, + "column": 51 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 8111, + 8119 + ], + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8120, + 8121 + ], + "loc": { + "start": { + "line": 289, + "column": 29 + }, + "end": { + "line": 289, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 8122, + 8129 + ], + "loc": { + "start": { + "line": 289, + "column": 31 + }, + "end": { + "line": 289, + "column": 38 + } + } + }, + "range": [ + 8120, + 8129 + ], + "loc": { + "start": { + "line": 289, + "column": 29 + }, + "end": { + "line": 289, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 8130, + 8135 + ], + "loc": { + "start": { + "line": 289, + "column": 39 + }, + "end": { + "line": 289, + "column": 44 + } + } + }, + "range": [ + 8120, + 8135 + ], + "loc": { + "start": { + "line": 289, + "column": 29 + }, + "end": { + "line": 289, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 8137, + 8139 + ], + "loc": { + "start": { + "line": 289, + "column": 46 + }, + "end": { + "line": 289, + "column": 48 + } + } + } + ], + "range": [ + 8111, + 8140 + ], + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8143, + 8144 + ], + "loc": { + "start": { + "line": 289, + "column": 52 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + "range": [ + 8111, + 8144 + ], + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + "range": [ + 8003, + 8144 + ], + "loc": { + "start": { + "line": 287, + "column": 23 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + "range": [ + 7996, + 8145 + ], + "loc": { + "start": { + "line": 287, + "column": 16 + }, + "end": { + "line": 289, + "column": 54 + } + } + } + ], + "range": [ + 7978, + 8159 + ], + "loc": { + "start": { + "line": 286, + "column": 23 + }, + "end": { + "line": 290, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7975, + 8159 + ], + "loc": { + "start": { + "line": 286, + "column": 20 + }, + "end": { + "line": 290, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 7967, + 8159 + ], + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 290, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "nbOpts", + "range": [ + 8173, + 8179 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 291, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8208, + 8209 + ], + "loc": { + "start": { + "line": 292, + "column": 24 + }, + "end": { + "line": 292, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 8210, + 8226 + ], + "loc": { + "start": { + "line": 292, + "column": 26 + }, + "end": { + "line": 292, + "column": 42 + } + } + }, + "range": [ + 8208, + 8226 + ], + "loc": { + "start": { + "line": 292, + "column": 24 + }, + "end": { + "line": 292, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 8231, + 8237 + ], + "loc": { + "start": { + "line": 292, + "column": 47 + }, + "end": { + "line": 292, + "column": 53 + } + } + }, + "range": [ + 8208, + 8237 + ], + "loc": { + "start": { + "line": 292, + "column": 24 + }, + "end": { + "line": 292, + "column": 53 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 8261, + 8269 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8270, + 8271 + ], + "loc": { + "start": { + "line": 293, + "column": 29 + }, + "end": { + "line": 293, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 8272, + 8279 + ], + "loc": { + "start": { + "line": 293, + "column": 31 + }, + "end": { + "line": 293, + "column": 38 + } + } + }, + "range": [ + 8270, + 8279 + ], + "loc": { + "start": { + "line": 293, + "column": 29 + }, + "end": { + "line": 293, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 8280, + 8287 + ], + "loc": { + "start": { + "line": 293, + "column": 39 + }, + "end": { + "line": 293, + "column": 46 + } + } + }, + "range": [ + 8270, + 8287 + ], + "loc": { + "start": { + "line": 293, + "column": 29 + }, + "end": { + "line": 293, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 8288, + 8294 + ], + "loc": { + "start": { + "line": 293, + "column": 47 + }, + "end": { + "line": 293, + "column": 53 + } + } + }, + "range": [ + 8270, + 8294 + ], + "loc": { + "start": { + "line": 293, + "column": 29 + }, + "end": { + "line": 293, + "column": 53 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 8296, + 8298 + ], + "loc": { + "start": { + "line": 293, + "column": 55 + }, + "end": { + "line": 293, + "column": 57 + } + } + } + ], + "range": [ + 8261, + 8299 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8302, + 8303 + ], + "loc": { + "start": { + "line": 293, + "column": 61 + }, + "end": { + "line": 293, + "column": 62 + } + } + }, + "range": [ + 8261, + 8303 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 62 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8327, + 8328 + ], + "loc": { + "start": { + "line": 294, + "column": 21 + }, + "end": { + "line": 294, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 8329, + 8336 + ], + "loc": { + "start": { + "line": 294, + "column": 23 + }, + "end": { + "line": 294, + "column": 30 + } + } + }, + "range": [ + 8327, + 8336 + ], + "loc": { + "start": { + "line": 294, + "column": 21 + }, + "end": { + "line": 294, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8339, + 8340 + ], + "loc": { + "start": { + "line": 294, + "column": 33 + }, + "end": { + "line": 294, + "column": 34 + } + } + }, + "range": [ + 8327, + 8340 + ], + "loc": { + "start": { + "line": 294, + "column": 21 + }, + "end": { + "line": 294, + "column": 34 + } + } + }, + "range": [ + 8207, + 8341 + ], + "loc": { + "start": { + "line": 292, + "column": 23 + }, + "end": { + "line": 294, + "column": 35 + } + } + }, + "range": [ + 8200, + 8342 + ], + "loc": { + "start": { + "line": 292, + "column": 16 + }, + "end": { + "line": 294, + "column": 36 + } + } + } + ], + "range": [ + 8182, + 8356 + ], + "loc": { + "start": { + "line": 291, + "column": 21 + }, + "end": { + "line": 295, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8179, + 8356 + ], + "loc": { + "start": { + "line": 291, + "column": 18 + }, + "end": { + "line": 295, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8173, + 8356 + ], + "loc": { + "start": { + "line": 291, + "column": 12 + }, + "end": { + "line": 295, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "next", + "range": [ + 8370, + 8374 + ], + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 296, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nextIndex", + "range": [ + 8399, + 8408 + ], + "loc": { + "start": { + "line": 297, + "column": 20 + }, + "end": { + "line": 297, + "column": 29 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8411, + 8412 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8413, + 8416 + ], + "loc": { + "start": { + "line": 297, + "column": 34 + }, + "end": { + "line": 297, + "column": 37 + } + } + }, + "range": [ + 8411, + 8416 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 8417, + 8425 + ], + "loc": { + "start": { + "line": 297, + "column": 38 + }, + "end": { + "line": 297, + "column": 46 + } + } + }, + "range": [ + 8411, + 8425 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 8411, + 8427 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 48 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8430, + 8431 + ], + "loc": { + "start": { + "line": 297, + "column": 51 + }, + "end": { + "line": 297, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8432, + 8435 + ], + "loc": { + "start": { + "line": 297, + "column": 53 + }, + "end": { + "line": 297, + "column": 56 + } + } + }, + "range": [ + 8430, + 8435 + ], + "loc": { + "start": { + "line": 297, + "column": 51 + }, + "end": { + "line": 297, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbOpts", + "range": [ + 8436, + 8442 + ], + "loc": { + "start": { + "line": 297, + "column": 57 + }, + "end": { + "line": 297, + "column": 63 + } + } + }, + "range": [ + 8430, + 8442 + ], + "loc": { + "start": { + "line": 297, + "column": 51 + }, + "end": { + "line": 297, + "column": 63 + } + } + }, + "arguments": [], + "range": [ + 8430, + 8444 + ], + "loc": { + "start": { + "line": 297, + "column": 51 + }, + "end": { + "line": 297, + "column": 65 + } + } + }, + "range": [ + 8411, + 8444 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 65 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8467, + 8468 + ], + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8469, + 8472 + ], + "loc": { + "start": { + "line": 298, + "column": 22 + }, + "end": { + "line": 298, + "column": 25 + } + } + }, + "range": [ + 8467, + 8472 + ], + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 8473, + 8481 + ], + "loc": { + "start": { + "line": 298, + "column": 26 + }, + "end": { + "line": 298, + "column": 34 + } + } + }, + "range": [ + 8467, + 8481 + ], + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 8467, + 8483 + ], + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8486, + 8487 + ], + "loc": { + "start": { + "line": 298, + "column": 39 + }, + "end": { + "line": 298, + "column": 40 + } + } + }, + "range": [ + 8467, + 8487 + ], + "loc": { + "start": { + "line": 298, + "column": 20 + }, + "end": { + "line": 298, + "column": 40 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8490, + 8491 + ], + "loc": { + "start": { + "line": 298, + "column": 43 + }, + "end": { + "line": 298, + "column": 44 + } + } + }, + "range": [ + 8411, + 8491 + ], + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 298, + "column": 44 + } + } + }, + "range": [ + 8399, + 8491 + ], + "loc": { + "start": { + "line": 297, + "column": 20 + }, + "end": { + "line": 298, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 8395, + 8492 + ], + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 298, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8509, + 8510 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 8511, + 8521 + ], + "loc": { + "start": { + "line": 299, + "column": 18 + }, + "end": { + "line": 299, + "column": 28 + } + } + }, + "range": [ + 8509, + 8521 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "nextIndex", + "range": [ + 8522, + 8531 + ], + "loc": { + "start": { + "line": 299, + "column": 29 + }, + "end": { + "line": 299, + "column": 38 + } + } + } + ], + "range": [ + 8509, + 8532 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 39 + } + } + }, + "range": [ + 8509, + 8533 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 40 + } + } + } + ], + "range": [ + 8377, + 8547 + ], + "loc": { + "start": { + "line": 296, + "column": 19 + }, + "end": { + "line": 300, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8374, + 8547 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 300, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8370, + 8547 + ], + "loc": { + "start": { + "line": 296, + "column": 12 + }, + "end": { + "line": 300, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "prev", + "range": [ + 8561, + 8565 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "prevIndex", + "range": [ + 8590, + 8599 + ], + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 302, + "column": 29 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8602, + 8603 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 302, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8604, + 8607 + ], + "loc": { + "start": { + "line": 302, + "column": 34 + }, + "end": { + "line": 302, + "column": 37 + } + } + }, + "range": [ + 8602, + 8607 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 302, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 8608, + 8616 + ], + "loc": { + "start": { + "line": 302, + "column": 38 + }, + "end": { + "line": 302, + "column": 46 + } + } + }, + "range": [ + 8602, + 8616 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 302, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 8602, + 8618 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 302, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8621, + 8622 + ], + "loc": { + "start": { + "line": 302, + "column": 51 + }, + "end": { + "line": 302, + "column": 52 + } + } + }, + "range": [ + 8602, + 8622 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 302, + "column": 52 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8645, + 8646 + ], + "loc": { + "start": { + "line": 303, + "column": 20 + }, + "end": { + "line": 303, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8647, + 8650 + ], + "loc": { + "start": { + "line": 303, + "column": 22 + }, + "end": { + "line": 303, + "column": 25 + } + } + }, + "range": [ + 8645, + 8650 + ], + "loc": { + "start": { + "line": 303, + "column": 20 + }, + "end": { + "line": 303, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 8651, + 8659 + ], + "loc": { + "start": { + "line": 303, + "column": 26 + }, + "end": { + "line": 303, + "column": 34 + } + } + }, + "range": [ + 8645, + 8659 + ], + "loc": { + "start": { + "line": 303, + "column": 20 + }, + "end": { + "line": 303, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 8645, + 8661 + ], + "loc": { + "start": { + "line": 303, + "column": 20 + }, + "end": { + "line": 303, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 8664, + 8665 + ], + "loc": { + "start": { + "line": 303, + "column": 39 + }, + "end": { + "line": 303, + "column": 40 + } + } + }, + "range": [ + 8645, + 8665 + ], + "loc": { + "start": { + "line": 303, + "column": 20 + }, + "end": { + "line": 303, + "column": 40 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8668, + 8669 + ], + "loc": { + "start": { + "line": 303, + "column": 43 + }, + "end": { + "line": 303, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8670, + 8673 + ], + "loc": { + "start": { + "line": 303, + "column": 45 + }, + "end": { + "line": 303, + "column": 48 + } + } + }, + "range": [ + 8668, + 8673 + ], + "loc": { + "start": { + "line": 303, + "column": 43 + }, + "end": { + "line": 303, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbOpts", + "range": [ + 8674, + 8680 + ], + "loc": { + "start": { + "line": 303, + "column": 49 + }, + "end": { + "line": 303, + "column": 55 + } + } + }, + "range": [ + 8668, + 8680 + ], + "loc": { + "start": { + "line": 303, + "column": 43 + }, + "end": { + "line": 303, + "column": 55 + } + } + }, + "arguments": [], + "range": [ + 8668, + 8682 + ], + "loc": { + "start": { + "line": 303, + "column": 43 + }, + "end": { + "line": 303, + "column": 57 + } + } + }, + "range": [ + 8602, + 8682 + ], + "loc": { + "start": { + "line": 302, + "column": 32 + }, + "end": { + "line": 303, + "column": 57 + } + } + }, + "range": [ + 8590, + 8682 + ], + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 303, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 8586, + 8683 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 303, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8700, + 8701 + ], + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 8702, + 8712 + ], + "loc": { + "start": { + "line": 304, + "column": 18 + }, + "end": { + "line": 304, + "column": 28 + } + } + }, + "range": [ + 8700, + 8712 + ], + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "prevIndex", + "range": [ + 8713, + 8722 + ], + "loc": { + "start": { + "line": 304, + "column": 29 + }, + "end": { + "line": 304, + "column": 38 + } + } + } + ], + "range": [ + 8700, + 8723 + ], + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 39 + } + } + }, + "range": [ + 8700, + 8724 + ], + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 40 + } + } + } + ], + "range": [ + 8568, + 8738 + ], + "loc": { + "start": { + "line": 301, + "column": 19 + }, + "end": { + "line": 305, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8565, + 8738 + ], + "loc": { + "start": { + "line": 301, + "column": 16 + }, + "end": { + "line": 305, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8561, + 8738 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 305, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "last", + "range": [ + 8752, + 8756 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 306, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8777, + 8778 + ], + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 8779, + 8789 + ], + "loc": { + "start": { + "line": 307, + "column": 18 + }, + "end": { + "line": 307, + "column": 28 + } + } + }, + "range": [ + 8777, + 8789 + ], + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8790, + 8791 + ], + "loc": { + "start": { + "line": 307, + "column": 29 + }, + "end": { + "line": 307, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 8792, + 8795 + ], + "loc": { + "start": { + "line": 307, + "column": 31 + }, + "end": { + "line": 307, + "column": 34 + } + } + }, + "range": [ + 8790, + 8795 + ], + "loc": { + "start": { + "line": 307, + "column": 29 + }, + "end": { + "line": 307, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbOpts", + "range": [ + 8796, + 8802 + ], + "loc": { + "start": { + "line": 307, + "column": 35 + }, + "end": { + "line": 307, + "column": 41 + } + } + }, + "range": [ + 8790, + 8802 + ], + "loc": { + "start": { + "line": 307, + "column": 29 + }, + "end": { + "line": 307, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 8790, + 8804 + ], + "loc": { + "start": { + "line": 307, + "column": 29 + }, + "end": { + "line": 307, + "column": 43 + } + } + } + ], + "range": [ + 8777, + 8805 + ], + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 44 + } + } + }, + "range": [ + 8777, + 8806 + ], + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 45 + } + } + } + ], + "range": [ + 8759, + 8820 + ], + "loc": { + "start": { + "line": 306, + "column": 19 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8756, + 8820 + ], + "loc": { + "start": { + "line": 306, + "column": 16 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8752, + 8820 + ], + "loc": { + "start": { + "line": 306, + "column": 12 + }, + "end": { + "line": 308, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "first", + "range": [ + 8834, + 8839 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 309, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 8860, + 8861 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 8862, + 8872 + ], + "loc": { + "start": { + "line": 310, + "column": 18 + }, + "end": { + "line": 310, + "column": 28 + } + } + }, + "range": [ + 8860, + 8872 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 8873, + 8874 + ], + "loc": { + "start": { + "line": 310, + "column": 29 + }, + "end": { + "line": 310, + "column": 30 + } + } + } + ], + "range": [ + 8860, + 8875 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 31 + } + } + }, + "range": [ + 8860, + 8876 + ], + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 32 + } + } + } + ], + "range": [ + 8842, + 8890 + ], + "loc": { + "start": { + "line": 309, + "column": 20 + }, + "end": { + "line": 311, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8839, + 8890 + ], + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 311, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8834, + 8890 + ], + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 311, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "_detectKey", + "range": [ + 8904, + 8914 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 312, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 8915, + 8916 + ], + "loc": { + "start": { + "line": 312, + "column": 23 + }, + "end": { + "line": 312, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 8940, + 8943 + ], + "loc": { + "start": { + "line": 313, + "column": 20 + }, + "end": { + "line": 313, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 8946, + 8953 + ], + "loc": { + "start": { + "line": 313, + "column": 26 + }, + "end": { + "line": 313, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "e", + "range": [ + 8954, + 8955 + ], + "loc": { + "start": { + "line": 313, + "column": 34 + }, + "end": { + "line": 313, + "column": 35 + } + } + } + ], + "range": [ + 8946, + 8956 + ], + "loc": { + "start": { + "line": 313, + "column": 26 + }, + "end": { + "line": 313, + "column": 36 + } + } + }, + "range": [ + 8940, + 8956 + ], + "loc": { + "start": { + "line": 313, + "column": 20 + }, + "end": { + "line": 313, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 8936, + 8957 + ], + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 37 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 8978, + 8981 + ], + "loc": { + "start": { + "line": 314, + "column": 20 + }, + "end": { + "line": 314, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 8986, + 8995 + ], + "loc": { + "start": { + "line": 314, + "column": 28 + }, + "end": { + "line": 314, + "column": 37 + } + } + }, + "range": [ + 8978, + 8995 + ], + "loc": { + "start": { + "line": 314, + "column": 20 + }, + "end": { + "line": 314, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9023, + 9025 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "sorted", + "range": [ + 9026, + 9032 + ], + "loc": { + "start": { + "line": 315, + "column": 27 + }, + "end": { + "line": 315, + "column": 33 + } + } + }, + "range": [ + 9023, + 9032 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9060, + 9062 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 9063, + 9069 + ], + "loc": { + "start": { + "line": 316, + "column": 27 + }, + "end": { + "line": 316, + "column": 33 + } + } + }, + "range": [ + 9060, + 9069 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 9060, + 9071 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 35 + } + } + }, + "range": [ + 9060, + 9072 + ], + "loc": { + "start": { + "line": 316, + "column": 24 + }, + "end": { + "line": 316, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 9097, + 9098 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 9099, + 9109 + ], + "loc": { + "start": { + "line": 317, + "column": 26 + }, + "end": { + "line": 317, + "column": 36 + } + } + }, + "range": [ + 9097, + 9109 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 9110, + 9111 + ], + "loc": { + "start": { + "line": 317, + "column": 37 + }, + "end": { + "line": 317, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 9112, + 9115 + ], + "loc": { + "start": { + "line": 317, + "column": 39 + }, + "end": { + "line": 317, + "column": 42 + } + } + }, + "range": [ + 9110, + 9115 + ], + "loc": { + "start": { + "line": 317, + "column": 37 + }, + "end": { + "line": 317, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 9116, + 9124 + ], + "loc": { + "start": { + "line": 317, + "column": 43 + }, + "end": { + "line": 317, + "column": 51 + } + } + }, + "range": [ + 9110, + 9124 + ], + "loc": { + "start": { + "line": 317, + "column": 37 + }, + "end": { + "line": 317, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 9110, + 9126 + ], + "loc": { + "start": { + "line": 317, + "column": 37 + }, + "end": { + "line": 317, + "column": 53 + } + } + } + ], + "range": [ + 9097, + 9127 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 54 + } + } + }, + "range": [ + 9097, + 9128 + ], + "loc": { + "start": { + "line": 317, + "column": 24 + }, + "end": { + "line": 317, + "column": 55 + } + } + } + ], + "range": [ + 9034, + 9150 + ], + "loc": { + "start": { + "line": 315, + "column": 35 + }, + "end": { + "line": 318, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "o", + "range": [ + 9182, + 9183 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 9184, + 9194 + ], + "loc": { + "start": { + "line": 319, + "column": 26 + }, + "end": { + "line": 319, + "column": 36 + } + } + }, + "range": [ + 9182, + 9194 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 36 + } + } + }, + "arguments": [], + "range": [ + 9182, + 9196 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 38 + } + } + }, + "range": [ + 9182, + 9197 + ], + "loc": { + "start": { + "line": 319, + "column": 24 + }, + "end": { + "line": 319, + "column": 39 + } + } + } + ], + "range": [ + 9156, + 9219 + ], + "loc": { + "start": { + "line": 318, + "column": 27 + }, + "end": { + "line": 320, + "column": 21 + } + } + }, + "range": [ + 9019, + 9219 + ], + "loc": { + "start": { + "line": 315, + "column": 20 + }, + "end": { + "line": 320, + "column": 21 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9240, + 9244 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 321, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "blur", + "range": [ + 9245, + 9249 + ], + "loc": { + "start": { + "line": 321, + "column": 25 + }, + "end": { + "line": 321, + "column": 29 + } + } + }, + "range": [ + 9240, + 9249 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 321, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 9240, + 9251 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 321, + "column": 31 + } + } + }, + "range": [ + 9240, + 9252 + ], + "loc": { + "start": { + "line": 321, + "column": 20 + }, + "end": { + "line": 321, + "column": 32 + } + } + } + ], + "range": [ + 8997, + 9270 + ], + "loc": { + "start": { + "line": 314, + "column": 39 + }, + "end": { + "line": 322, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 8974, + 9270 + ], + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 322, + "column": 17 + } + } + } + ], + "range": [ + 8918, + 9284 + ], + "loc": { + "start": { + "line": 312, + "column": 26 + }, + "end": { + "line": 323, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8914, + 9284 + ], + "loc": { + "start": { + "line": 312, + "column": 22 + }, + "end": { + "line": 323, + "column": 13 + } + } + }, + "kind": "init", + "method": true, + "shorthand": false, + "computed": false, + "range": [ + 8904, + 9284 + ], + "loc": { + "start": { + "line": 312, + "column": 12 + }, + "end": { + "line": 323, + "column": 13 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "slcPagesChange", + "range": [ + 9298, + 9312 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 26 + } + } + }, + "value": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9314, + 9318 + ], + "loc": { + "start": { + "line": 324, + "column": 28 + }, + "end": { + "line": 324, + "column": 32 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9298, + 9318 + ], + "loc": { + "start": { + "line": 324, + "column": 12 + }, + "end": { + "line": 324, + "column": 32 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "nextEvt", + "range": [ + 9332, + 9339 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 19 + } + } + }, + "value": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9341, + 9345 + ], + "loc": { + "start": { + "line": 325, + "column": 21 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9332, + 9345 + ], + "loc": { + "start": { + "line": 325, + "column": 12 + }, + "end": { + "line": 325, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "prevEvt", + "range": [ + 9359, + 9366 + ], + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 19 + } + } + }, + "value": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9368, + 9372 + ], + "loc": { + "start": { + "line": 326, + "column": 21 + }, + "end": { + "line": 326, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9359, + 9372 + ], + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "lastEvt", + "range": [ + 9386, + 9393 + ], + "loc": { + "start": { + "line": 327, + "column": 12 + }, + "end": { + "line": 327, + "column": 19 + } + } + }, + "value": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9395, + 9399 + ], + "loc": { + "start": { + "line": 327, + "column": 21 + }, + "end": { + "line": 327, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9386, + 9399 + ], + "loc": { + "start": { + "line": 327, + "column": 12 + }, + "end": { + "line": 327, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "firstEvt", + "range": [ + 9413, + 9421 + ], + "loc": { + "start": { + "line": 328, + "column": 12 + }, + "end": { + "line": 328, + "column": 20 + } + } + }, + "value": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 9423, + 9427 + ], + "loc": { + "start": { + "line": 328, + "column": 22 + }, + "end": { + "line": 328, + "column": 26 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9413, + 9427 + ], + "loc": { + "start": { + "line": 328, + "column": 12 + }, + "end": { + "line": 328, + "column": 26 + } + } + } + ], + "range": [ + 7953, + 9437 + ], + "loc": { + "start": { + "line": 285, + "column": 19 + }, + "end": { + "line": 329, + "column": 9 + } + } + }, + "range": [ + 7942, + 9437 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 329, + "column": 9 + } + } + }, + "range": [ + 7942, + 9438 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 329, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Paging DOM events handlers\n * @type {String}\n * @private\n ", + "range": [ + 7834, + 7933 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 284, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 615, + 9444 + ], + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 330, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 610, + 9444 + ], + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 330, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 599, + 9444 + ], + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 330, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Paging\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 494, + 594 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 9450, + 9492 + ], + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 9497, + 9501 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 9518, + 9526 + ], + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 20 + } + } + }, + "init": null, + "range": [ + 9518, + 9526 + ], + "loc": { + "start": { + "line": 336, + "column": 12 + }, + "end": { + "line": 336, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 9514, + 9527 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 21 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 9540, + 9542 + ], + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9545, + 9549 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 9550, + 9552 + ], + "loc": { + "start": { + "line": 337, + "column": 22 + }, + "end": { + "line": 337, + "column": 24 + } + } + }, + "range": [ + 9545, + 9552 + ], + "loc": { + "start": { + "line": 337, + "column": 17 + }, + "end": { + "line": 337, + "column": 24 + } + } + }, + "range": [ + 9540, + 9552 + ], + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 9536, + 9553 + ], + "loc": { + "start": { + "line": 337, + "column": 8 + }, + "end": { + "line": 337, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "evt", + "range": [ + 9566, + 9569 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9572, + 9576 + ], + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 9577, + 9580 + ], + "loc": { + "start": { + "line": 338, + "column": 23 + }, + "end": { + "line": 338, + "column": 26 + } + } + }, + "range": [ + 9572, + 9580 + ], + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 26 + } + } + }, + "range": [ + 9566, + 9580 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 9562, + 9581 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9595, + 9599 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 9600, + 9611 + ], + "loc": { + "start": { + "line": 340, + "column": 17 + }, + "end": { + "line": 340, + "column": 28 + } + } + }, + "range": [ + 9595, + 9611 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 9627, + 9634 + ], + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 19 + } + } + } + ], + "range": [ + 9613, + 9644 + ], + "loc": { + "start": { + "line": 340, + "column": 30 + }, + "end": { + "line": 342, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9591, + 9644 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 342, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Check resultsPerPage is in expected format and initialise the", + "range": [ + 9654, + 9718 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 72 + } + } + }, + { + "type": "Line", + "value": " results per page component", + "range": [ + 9727, + 9756 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 37 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9769, + 9773 + ], + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasResultsPerPage", + "range": [ + 9774, + 9791 + ], + "loc": { + "start": { + "line": 346, + "column": 17 + }, + "end": { + "line": 346, + "column": 34 + } + } + }, + "range": [ + 9769, + 9791 + ], + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9811, + 9815 + ], + "loc": { + "start": { + "line": 347, + "column": 16 + }, + "end": { + "line": 347, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 9816, + 9830 + ], + "loc": { + "start": { + "line": 347, + "column": 21 + }, + "end": { + "line": 347, + "column": 35 + } + } + }, + "range": [ + 9811, + 9830 + ], + "loc": { + "start": { + "line": 347, + "column": 16 + }, + "end": { + "line": 347, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 9831, + 9837 + ], + "loc": { + "start": { + "line": 347, + "column": 36 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + "range": [ + 9811, + 9837 + ], + "loc": { + "start": { + "line": 347, + "column": 16 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + "right": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 9840, + 9841 + ], + "loc": { + "start": { + "line": 347, + "column": 45 + }, + "end": { + "line": 347, + "column": 46 + } + } + }, + "range": [ + 9811, + 9841 + ], + "loc": { + "start": { + "line": 347, + "column": 16 + }, + "end": { + "line": 347, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9861, + 9865 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasResultsPerPage", + "range": [ + 9866, + 9883 + ], + "loc": { + "start": { + "line": 348, + "column": 21 + }, + "end": { + "line": 348, + "column": 38 + } + } + }, + "range": [ + 9861, + 9883 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 9886, + 9891 + ], + "loc": { + "start": { + "line": 348, + "column": 41 + }, + "end": { + "line": 348, + "column": 46 + } + } + }, + "range": [ + 9861, + 9891 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 46 + } + } + }, + "range": [ + 9861, + 9892 + ], + "loc": { + "start": { + "line": 348, + "column": 16 + }, + "end": { + "line": 348, + "column": 47 + } + } + } + ], + "range": [ + 9843, + 9906 + ], + "loc": { + "start": { + "line": 347, + "column": 48 + }, + "end": { + "line": 349, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9930, + 9934 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 9935, + 9945 + ], + "loc": { + "start": { + "line": 350, + "column": 21 + }, + "end": { + "line": 350, + "column": 31 + } + } + }, + "range": [ + 9930, + 9945 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9948, + 9952 + ], + "loc": { + "start": { + "line": 350, + "column": 34 + }, + "end": { + "line": 350, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 9953, + 9967 + ], + "loc": { + "start": { + "line": 350, + "column": 39 + }, + "end": { + "line": 350, + "column": 53 + } + } + }, + "range": [ + 9948, + 9967 + ], + "loc": { + "start": { + "line": 350, + "column": 34 + }, + "end": { + "line": 350, + "column": 53 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9968, + 9969 + ], + "loc": { + "start": { + "line": 350, + "column": 54 + }, + "end": { + "line": 350, + "column": 55 + } + } + }, + "range": [ + 9948, + 9970 + ], + "loc": { + "start": { + "line": 350, + "column": 34 + }, + "end": { + "line": 350, + "column": 56 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 9971, + 9972 + ], + "loc": { + "start": { + "line": 350, + "column": 57 + }, + "end": { + "line": 350, + "column": 58 + } + } + }, + "range": [ + 9948, + 9973 + ], + "loc": { + "start": { + "line": 350, + "column": 34 + }, + "end": { + "line": 350, + "column": 59 + } + } + }, + "range": [ + 9930, + 9973 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 59 + } + } + }, + "range": [ + 9930, + 9974 + ], + "loc": { + "start": { + "line": 350, + "column": 16 + }, + "end": { + "line": 350, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9991, + 9995 + ], + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "setResultsPerPage", + "range": [ + 9996, + 10013 + ], + "loc": { + "start": { + "line": 351, + "column": 21 + }, + "end": { + "line": 351, + "column": 38 + } + } + }, + "range": [ + 9991, + 10013 + ], + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 38 + } + } + }, + "arguments": [], + "range": [ + 9991, + 10015 + ], + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 40 + } + } + }, + "range": [ + 9991, + 10016 + ], + "loc": { + "start": { + "line": 351, + "column": 16 + }, + "end": { + "line": 351, + "column": 41 + } + } + } + ], + "range": [ + 9912, + 10030 + ], + "loc": { + "start": { + "line": 349, + "column": 19 + }, + "end": { + "line": 352, + "column": 13 + } + } + }, + "range": [ + 9807, + 10030 + ], + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 352, + "column": 13 + } + } + } + ], + "range": [ + 9793, + 10040 + ], + "loc": { + "start": { + "line": 346, + "column": 36 + }, + "end": { + "line": 353, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9765, + 10040 + ], + "loc": { + "start": { + "line": 346, + "column": 8 + }, + "end": { + "line": 353, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Check resultsPerPage is in expected format and initialise the", + "range": [ + 9654, + 9718 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 72 + } + } + }, + { + "type": "Line", + "value": " results per page component", + "range": [ + 9727, + 9756 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 10050, + 10053 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 355, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcPagesChange", + "range": [ + 10054, + 10068 + ], + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 26 + } + } + }, + "range": [ + 10050, + 10068 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 355, + "column": 26 + } + } + }, + "right": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "event", + "range": [ + 10072, + 10077 + ], + "loc": { + "start": { + "line": 355, + "column": 30 + }, + "end": { + "line": 355, + "column": 35 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 10100, + 10103 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "event", + "range": [ + 10106, + 10111 + ], + "loc": { + "start": { + "line": 356, + "column": 22 + }, + "end": { + "line": 356, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "target", + "range": [ + 10112, + 10118 + ], + "loc": { + "start": { + "line": 356, + "column": 28 + }, + "end": { + "line": 356, + "column": 34 + } + } + }, + "range": [ + 10106, + 10118 + ], + "loc": { + "start": { + "line": 356, + "column": 22 + }, + "end": { + "line": 356, + "column": 34 + } + } + }, + "range": [ + 10100, + 10118 + ], + "loc": { + "start": { + "line": 356, + "column": 16 + }, + "end": { + "line": 356, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 10096, + 10119 + ], + "loc": { + "start": { + "line": 356, + "column": 12 + }, + "end": { + "line": 356, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10132, + 10136 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 10137, + 10147 + ], + "loc": { + "start": { + "line": 357, + "column": 17 + }, + "end": { + "line": 357, + "column": 27 + } + } + }, + "range": [ + 10132, + 10147 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 10148, + 10151 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedIndex", + "range": [ + 10152, + 10165 + ], + "loc": { + "start": { + "line": 357, + "column": 32 + }, + "end": { + "line": 357, + "column": 45 + } + } + }, + "range": [ + 10148, + 10165 + ], + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 45 + } + } + } + ], + "range": [ + 10132, + 10166 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 46 + } + } + }, + "range": [ + 10132, + 10167 + ], + "loc": { + "start": { + "line": 357, + "column": 12 + }, + "end": { + "line": 357, + "column": 47 + } + } + } + ], + "range": [ + 10082, + 10177 + ], + "loc": { + "start": { + "line": 355, + "column": 40 + }, + "end": { + "line": 358, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10071, + 10177 + ], + "loc": { + "start": { + "line": 355, + "column": 29 + }, + "end": { + "line": 358, + "column": 9 + } + } + }, + "range": [ + 10050, + 10177 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 358, + "column": 9 + } + } + }, + "range": [ + 10050, + 10178 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 358, + "column": 10 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Paging drop-down list selector", + "range": [ + 10188, + 10221 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 41 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10234, + 10238 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 10239, + 10255 + ], + "loc": { + "start": { + "line": 361, + "column": 17 + }, + "end": { + "line": 361, + "column": 33 + } + } + }, + "range": [ + 10234, + 10255 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 10260, + 10266 + ], + "loc": { + "start": { + "line": 361, + "column": 38 + }, + "end": { + "line": 361, + "column": 44 + } + } + }, + "range": [ + 10234, + 10266 + ], + "loc": { + "start": { + "line": 361, + "column": 12 + }, + "end": { + "line": 361, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10282, + 10290 + ], + "loc": { + "start": { + "line": 362, + "column": 12 + }, + "end": { + "line": 362, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10293, + 10302 + ], + "loc": { + "start": { + "line": 362, + "column": 23 + }, + "end": { + "line": 362, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 10303, + 10309 + ], + "loc": { + "start": { + "line": 362, + "column": 33 + }, + "end": { + "line": 362, + "column": 39 + } + } + } + ], + "range": [ + 10293, + 10310 + ], + "loc": { + "start": { + "line": 362, + "column": 23 + }, + "end": { + "line": 362, + "column": 40 + } + } + }, + "range": [ + 10282, + 10310 + ], + "loc": { + "start": { + "line": 362, + "column": 12 + }, + "end": { + "line": 362, + "column": 40 + } + } + }, + "range": [ + 10282, + 10311 + ], + "loc": { + "start": { + "line": 362, + "column": 12 + }, + "end": { + "line": 362, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10324, + 10332 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10333, + 10342 + ], + "loc": { + "start": { + "line": 363, + "column": 21 + }, + "end": { + "line": 363, + "column": 30 + } + } + }, + "range": [ + 10324, + 10342 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10345, + 10349 + ], + "loc": { + "start": { + "line": 363, + "column": 33 + }, + "end": { + "line": 363, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgSlcCssClass", + "range": [ + 10350, + 10363 + ], + "loc": { + "start": { + "line": 363, + "column": 38 + }, + "end": { + "line": 363, + "column": 51 + } + } + }, + "range": [ + 10345, + 10363 + ], + "loc": { + "start": { + "line": 363, + "column": 33 + }, + "end": { + "line": 363, + "column": 51 + } + } + }, + "range": [ + 10324, + 10363 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 51 + } + } + }, + "range": [ + 10324, + 10364 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 10377, + 10383 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10384, + 10392 + ], + "loc": { + "start": { + "line": 364, + "column": 19 + }, + "end": { + "line": 364, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "change", + "raw": "'change'", + "range": [ + 10394, + 10402 + ], + "loc": { + "start": { + "line": 364, + "column": 29 + }, + "end": { + "line": 364, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 10404, + 10407 + ], + "loc": { + "start": { + "line": 364, + "column": 39 + }, + "end": { + "line": 364, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcPagesChange", + "range": [ + 10408, + 10422 + ], + "loc": { + "start": { + "line": 364, + "column": 43 + }, + "end": { + "line": 364, + "column": 57 + } + } + }, + "range": [ + 10404, + 10422 + ], + "loc": { + "start": { + "line": 364, + "column": 39 + }, + "end": { + "line": 364, + "column": 57 + } + } + } + ], + "range": [ + 10377, + 10423 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 58 + } + } + }, + "range": [ + 10377, + 10424 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 59 + } + } + } + ], + "range": [ + 10268, + 10434 + ], + "loc": { + "start": { + "line": 361, + "column": 46 + }, + "end": { + "line": 365, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10230, + 10434 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 365, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Paging drop-down list selector", + "range": [ + 10188, + 10221 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 41 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Paging input selector", + "range": [ + 10444, + 10468 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 367, + "column": 32 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10481, + 10485 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 10486, + 10502 + ], + "loc": { + "start": { + "line": 368, + "column": 17 + }, + "end": { + "line": 368, + "column": 33 + } + } + }, + "range": [ + 10481, + 10502 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 10507, + 10512 + ], + "loc": { + "start": { + "line": 368, + "column": 38 + }, + "end": { + "line": 368, + "column": 43 + } + } + }, + "range": [ + 10481, + 10512 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 368, + "column": 43 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10528, + 10536 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10539, + 10548 + ], + "loc": { + "start": { + "line": 369, + "column": 23 + }, + "end": { + "line": 369, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 10549, + 10554 + ], + "loc": { + "start": { + "line": 369, + "column": 33 + }, + "end": { + "line": 369, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 10557, + 10564 + ], + "loc": { + "start": { + "line": 369, + "column": 41 + }, + "end": { + "line": 369, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10566, + 10570 + ], + "loc": { + "start": { + "line": 369, + "column": 50 + }, + "end": { + "line": 369, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 10571, + 10584 + ], + "loc": { + "start": { + "line": 369, + "column": 55 + }, + "end": { + "line": 369, + "column": 68 + } + } + }, + "range": [ + 10566, + 10584 + ], + "loc": { + "start": { + "line": 369, + "column": 50 + }, + "end": { + "line": 369, + "column": 68 + } + } + } + ], + "range": [ + 10556, + 10585 + ], + "loc": { + "start": { + "line": 369, + "column": 40 + }, + "end": { + "line": 369, + "column": 69 + } + } + } + ], + "range": [ + 10539, + 10586 + ], + "loc": { + "start": { + "line": 369, + "column": 23 + }, + "end": { + "line": 369, + "column": 70 + } + } + }, + "range": [ + 10528, + 10586 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 70 + } + } + }, + "range": [ + 10528, + 10587 + ], + "loc": { + "start": { + "line": 369, + "column": 12 + }, + "end": { + "line": 369, + "column": 71 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10600, + 10608 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 10609, + 10618 + ], + "loc": { + "start": { + "line": 370, + "column": 21 + }, + "end": { + "line": 370, + "column": 30 + } + } + }, + "range": [ + 10600, + 10618 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10621, + 10625 + ], + "loc": { + "start": { + "line": 370, + "column": 33 + }, + "end": { + "line": 370, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgInpCssClass", + "range": [ + 10626, + 10639 + ], + "loc": { + "start": { + "line": 370, + "column": 38 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + "range": [ + 10621, + 10639 + ], + "loc": { + "start": { + "line": 370, + "column": 33 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + "range": [ + 10600, + 10639 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + "range": [ + 10600, + 10640 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 10653, + 10659 + ], + "loc": { + "start": { + "line": 371, + "column": 12 + }, + "end": { + "line": 371, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcPages", + "range": [ + 10660, + 10668 + ], + "loc": { + "start": { + "line": 371, + "column": 19 + }, + "end": { + "line": 371, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "keypress", + "raw": "'keypress'", + "range": [ + 10670, + 10680 + ], + "loc": { + "start": { + "line": 371, + "column": 29 + }, + "end": { + "line": 371, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 10682, + 10685 + ], + "loc": { + "start": { + "line": 371, + "column": 41 + }, + "end": { + "line": 371, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "_detectKey", + "range": [ + 10686, + 10696 + ], + "loc": { + "start": { + "line": 371, + "column": 45 + }, + "end": { + "line": 371, + "column": 55 + } + } + }, + "range": [ + 10682, + 10696 + ], + "loc": { + "start": { + "line": 371, + "column": 41 + }, + "end": { + "line": 371, + "column": 55 + } + } + } + ], + "range": [ + 10653, + 10697 + ], + "loc": { + "start": { + "line": 371, + "column": 12 + }, + "end": { + "line": 371, + "column": 56 + } + } + }, + "range": [ + 10653, + 10698 + ], + "loc": { + "start": { + "line": 371, + "column": 12 + }, + "end": { + "line": 371, + "column": 57 + } + } + } + ], + "range": [ + 10514, + 10708 + ], + "loc": { + "start": { + "line": 368, + "column": 45 + }, + "end": { + "line": 372, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10477, + 10708 + ], + "loc": { + "start": { + "line": 368, + "column": 8 + }, + "end": { + "line": 372, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Paging input selector", + "range": [ + 10444, + 10468 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 367, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " btns containers", + "range": [ + 10718, + 10736 + ], + "loc": { + "start": { + "line": 374, + "column": 8 + }, + "end": { + "line": 374, + "column": 26 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 10749, + 10760 + ], + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 375, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10763, + 10772 + ], + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 10773, + 10779 + ], + "loc": { + "start": { + "line": 375, + "column": 36 + }, + "end": { + "line": 375, + "column": 42 + } + } + } + ], + "range": [ + 10763, + 10780 + ], + "loc": { + "start": { + "line": 375, + "column": 26 + }, + "end": { + "line": 375, + "column": 43 + } + } + }, + "range": [ + 10749, + 10780 + ], + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 375, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 10745, + 10781 + ], + "loc": { + "start": { + "line": 375, + "column": 8 + }, + "end": { + "line": 375, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " btns containers", + "range": [ + 10718, + 10736 + ], + "loc": { + "start": { + "line": 374, + "column": 8 + }, + "end": { + "line": 374, + "column": 26 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 10794, + 10805 + ], + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10808, + 10817 + ], + "loc": { + "start": { + "line": 376, + "column": 26 + }, + "end": { + "line": 376, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 10818, + 10824 + ], + "loc": { + "start": { + "line": 376, + "column": 36 + }, + "end": { + "line": 376, + "column": 42 + } + } + } + ], + "range": [ + 10808, + 10825 + ], + "loc": { + "start": { + "line": 376, + "column": 26 + }, + "end": { + "line": 376, + "column": 43 + } + } + }, + "range": [ + 10794, + 10825 + ], + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 10790, + 10826 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 10839, + 10850 + ], + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10853, + 10862 + ], + "loc": { + "start": { + "line": 377, + "column": 26 + }, + "end": { + "line": 377, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 10863, + 10869 + ], + "loc": { + "start": { + "line": 377, + "column": 36 + }, + "end": { + "line": 377, + "column": 42 + } + } + } + ], + "range": [ + 10853, + 10870 + ], + "loc": { + "start": { + "line": 377, + "column": 26 + }, + "end": { + "line": 377, + "column": 43 + } + } + }, + "range": [ + 10839, + 10870 + ], + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 10835, + 10871 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 10884, + 10896 + ], + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 10899, + 10908 + ], + "loc": { + "start": { + "line": 378, + "column": 27 + }, + "end": { + "line": 378, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 10909, + 10915 + ], + "loc": { + "start": { + "line": 378, + "column": 37 + }, + "end": { + "line": 378, + "column": 43 + } + } + } + ], + "range": [ + 10899, + 10916 + ], + "loc": { + "start": { + "line": 378, + "column": 27 + }, + "end": { + "line": 378, + "column": 44 + } + } + }, + "range": [ + 10884, + 10916 + ], + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 10880, + 10917 + ], + "loc": { + "start": { + "line": 378, + "column": 8 + }, + "end": { + "line": 378, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10931, + 10935 + ], + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 380, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasBtns", + "range": [ + 10936, + 10943 + ], + "loc": { + "start": { + "line": 380, + "column": 17 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "range": [ + 10931, + 10943 + ], + "loc": { + "start": { + "line": 380, + "column": 12 + }, + "end": { + "line": 380, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10991, + 10995 + ], + "loc": { + "start": { + "line": 382, + "column": 17 + }, + "end": { + "line": 382, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextPageHtml", + "range": [ + 10996, + 11011 + ], + "loc": { + "start": { + "line": 382, + "column": 22 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + "range": [ + 10991, + 11011 + ], + "loc": { + "start": { + "line": 382, + "column": 17 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 10990, + 11011 + ], + "loc": { + "start": { + "line": 382, + "column": 16 + }, + "end": { + "line": 382, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnNext", + "range": [ + 11035, + 11042 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 383, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11045, + 11054 + ], + "loc": { + "start": { + "line": 383, + "column": 30 + }, + "end": { + "line": 383, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 11055, + 11060 + ], + "loc": { + "start": { + "line": 383, + "column": 40 + }, + "end": { + "line": 383, + "column": 45 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 11083, + 11089 + ], + "loc": { + "start": { + "line": 384, + "column": 21 + }, + "end": { + "line": 384, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "button", + "raw": "'button'", + "range": [ + 11091, + 11099 + ], + "loc": { + "start": { + "line": 384, + "column": 29 + }, + "end": { + "line": 384, + "column": 37 + } + } + } + ], + "range": [ + 11082, + 11100 + ], + "loc": { + "start": { + "line": 384, + "column": 20 + }, + "end": { + "line": 384, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 11123, + 11130 + ], + "loc": { + "start": { + "line": 385, + "column": 21 + }, + "end": { + "line": 385, + "column": 28 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11132, + 11136 + ], + "loc": { + "start": { + "line": 385, + "column": 30 + }, + "end": { + "line": 385, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextPageText", + "range": [ + 11137, + 11152 + ], + "loc": { + "start": { + "line": 385, + "column": 35 + }, + "end": { + "line": 385, + "column": 50 + } + } + }, + "range": [ + 11132, + 11152 + ], + "loc": { + "start": { + "line": 385, + "column": 30 + }, + "end": { + "line": 385, + "column": 50 + } + } + } + ], + "range": [ + 11122, + 11153 + ], + "loc": { + "start": { + "line": 385, + "column": 20 + }, + "end": { + "line": 385, + "column": 51 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "title", + "raw": "'title'", + "range": [ + 11176, + 11183 + ], + "loc": { + "start": { + "line": 386, + "column": 21 + }, + "end": { + "line": 386, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "Next", + "raw": "'Next'", + "range": [ + 11185, + 11191 + ], + "loc": { + "start": { + "line": 386, + "column": 30 + }, + "end": { + "line": 386, + "column": 36 + } + } + } + ], + "range": [ + 11175, + 11192 + ], + "loc": { + "start": { + "line": 386, + "column": 20 + }, + "end": { + "line": 386, + "column": 37 + } + } + } + ], + "range": [ + 11045, + 11210 + ], + "loc": { + "start": { + "line": 383, + "column": 30 + }, + "end": { + "line": 387, + "column": 17 + } + } + }, + "range": [ + 11035, + 11210 + ], + "loc": { + "start": { + "line": 383, + "column": 20 + }, + "end": { + "line": 387, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 11031, + 11211 + ], + "loc": { + "start": { + "line": 383, + "column": 16 + }, + "end": { + "line": 387, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnNext", + "range": [ + 11228, + 11235 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 11236, + 11245 + ], + "loc": { + "start": { + "line": 388, + "column": 24 + }, + "end": { + "line": 388, + "column": 33 + } + } + }, + "range": [ + 11228, + 11245 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11248, + 11252 + ], + "loc": { + "start": { + "line": 388, + "column": 36 + }, + "end": { + "line": 388, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 11253, + 11264 + ], + "loc": { + "start": { + "line": 388, + "column": 41 + }, + "end": { + "line": 388, + "column": 52 + } + } + }, + "range": [ + 11248, + 11264 + ], + "loc": { + "start": { + "line": 388, + "column": 36 + }, + "end": { + "line": 388, + "column": 52 + } + } + }, + "range": [ + 11228, + 11264 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 52 + } + } + }, + "range": [ + 11228, + 11265 + ], + "loc": { + "start": { + "line": 388, + "column": 16 + }, + "end": { + "line": 388, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11282, + 11288 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnNext", + "range": [ + 11289, + 11296 + ], + "loc": { + "start": { + "line": 389, + "column": 23 + }, + "end": { + "line": 389, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11298, + 11305 + ], + "loc": { + "start": { + "line": 389, + "column": 32 + }, + "end": { + "line": 389, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 11307, + 11310 + ], + "loc": { + "start": { + "line": 389, + "column": 41 + }, + "end": { + "line": 389, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "next", + "range": [ + 11311, + 11315 + ], + "loc": { + "start": { + "line": 389, + "column": 45 + }, + "end": { + "line": 389, + "column": 49 + } + } + }, + "range": [ + 11307, + 11315 + ], + "loc": { + "start": { + "line": 389, + "column": 41 + }, + "end": { + "line": 389, + "column": 49 + } + } + } + ], + "range": [ + 11282, + 11316 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 50 + } + } + }, + "range": [ + 11282, + 11317 + ], + "loc": { + "start": { + "line": 389, + "column": 16 + }, + "end": { + "line": 389, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 11334, + 11345 + ], + "loc": { + "start": { + "line": 390, + "column": 16 + }, + "end": { + "line": 390, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11346, + 11357 + ], + "loc": { + "start": { + "line": 390, + "column": 28 + }, + "end": { + "line": 390, + "column": 39 + } + } + }, + "range": [ + 11334, + 11357 + ], + "loc": { + "start": { + "line": 390, + "column": 16 + }, + "end": { + "line": 390, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnNext", + "range": [ + 11358, + 11365 + ], + "loc": { + "start": { + "line": 390, + "column": 40 + }, + "end": { + "line": 390, + "column": 47 + } + } + } + ], + "range": [ + 11334, + 11366 + ], + "loc": { + "start": { + "line": 390, + "column": 16 + }, + "end": { + "line": 390, + "column": 48 + } + } + }, + "range": [ + 11334, + 11367 + ], + "loc": { + "start": { + "line": 390, + "column": 16 + }, + "end": { + "line": 390, + "column": 49 + } + } + } + ], + "range": [ + 11013, + 11381 + ], + "loc": { + "start": { + "line": 382, + "column": 39 + }, + "end": { + "line": 391, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 11405, + 11416 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 11417, + 11426 + ], + "loc": { + "start": { + "line": 392, + "column": 28 + }, + "end": { + "line": 392, + "column": 37 + } + } + }, + "range": [ + 11405, + 11426 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11429, + 11433 + ], + "loc": { + "start": { + "line": 392, + "column": 40 + }, + "end": { + "line": 392, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextPageHtml", + "range": [ + 11434, + 11449 + ], + "loc": { + "start": { + "line": 392, + "column": 45 + }, + "end": { + "line": 392, + "column": 60 + } + } + }, + "range": [ + 11429, + 11449 + ], + "loc": { + "start": { + "line": 392, + "column": 40 + }, + "end": { + "line": 392, + "column": 60 + } + } + }, + "range": [ + 11405, + 11449 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 60 + } + } + }, + "range": [ + 11405, + 11450 + ], + "loc": { + "start": { + "line": 392, + "column": 16 + }, + "end": { + "line": 392, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11467, + 11473 + ], + "loc": { + "start": { + "line": 393, + "column": 16 + }, + "end": { + "line": 393, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 11474, + 11485 + ], + "loc": { + "start": { + "line": 393, + "column": 23 + }, + "end": { + "line": 393, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11487, + 11494 + ], + "loc": { + "start": { + "line": 393, + "column": 36 + }, + "end": { + "line": 393, + "column": 43 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 11496, + 11499 + ], + "loc": { + "start": { + "line": 393, + "column": 45 + }, + "end": { + "line": 393, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "next", + "range": [ + 11500, + 11504 + ], + "loc": { + "start": { + "line": 393, + "column": 49 + }, + "end": { + "line": 393, + "column": 53 + } + } + }, + "range": [ + 11496, + 11504 + ], + "loc": { + "start": { + "line": 393, + "column": 45 + }, + "end": { + "line": 393, + "column": 53 + } + } + } + ], + "range": [ + 11467, + 11505 + ], + "loc": { + "start": { + "line": 393, + "column": 16 + }, + "end": { + "line": 393, + "column": 54 + } + } + }, + "range": [ + 11467, + 11506 + ], + "loc": { + "start": { + "line": 393, + "column": 16 + }, + "end": { + "line": 393, + "column": 55 + } + } + } + ], + "range": [ + 11387, + 11520 + ], + "loc": { + "start": { + "line": 391, + "column": 19 + }, + "end": { + "line": 394, + "column": 13 + } + } + }, + "range": [ + 10986, + 11520 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 394, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Next button", + "range": [ + 10959, + 10973 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Previous button", + "range": [ + 11533, + 11551 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 30 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11569, + 11573 + ], + "loc": { + "start": { + "line": 396, + "column": 17 + }, + "end": { + "line": 396, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevPageHtml", + "range": [ + 11574, + 11589 + ], + "loc": { + "start": { + "line": 396, + "column": 22 + }, + "end": { + "line": 396, + "column": 37 + } + } + }, + "range": [ + 11569, + 11589 + ], + "loc": { + "start": { + "line": 396, + "column": 17 + }, + "end": { + "line": 396, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 11568, + 11589 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnPrev", + "range": [ + 11613, + 11620 + ], + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 397, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 11623, + 11632 + ], + "loc": { + "start": { + "line": 397, + "column": 30 + }, + "end": { + "line": 397, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 11633, + 11638 + ], + "loc": { + "start": { + "line": 397, + "column": 40 + }, + "end": { + "line": 397, + "column": 45 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 11661, + 11667 + ], + "loc": { + "start": { + "line": 398, + "column": 21 + }, + "end": { + "line": 398, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "button", + "raw": "'button'", + "range": [ + 11669, + 11677 + ], + "loc": { + "start": { + "line": 398, + "column": 29 + }, + "end": { + "line": 398, + "column": 37 + } + } + } + ], + "range": [ + 11660, + 11678 + ], + "loc": { + "start": { + "line": 398, + "column": 20 + }, + "end": { + "line": 398, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 11701, + 11708 + ], + "loc": { + "start": { + "line": 399, + "column": 21 + }, + "end": { + "line": 399, + "column": 28 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11710, + 11714 + ], + "loc": { + "start": { + "line": 399, + "column": 30 + }, + "end": { + "line": 399, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevPageText", + "range": [ + 11715, + 11730 + ], + "loc": { + "start": { + "line": 399, + "column": 35 + }, + "end": { + "line": 399, + "column": 50 + } + } + }, + "range": [ + 11710, + 11730 + ], + "loc": { + "start": { + "line": 399, + "column": 30 + }, + "end": { + "line": 399, + "column": 50 + } + } + } + ], + "range": [ + 11700, + 11731 + ], + "loc": { + "start": { + "line": 399, + "column": 20 + }, + "end": { + "line": 399, + "column": 51 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "title", + "raw": "'title'", + "range": [ + 11754, + 11761 + ], + "loc": { + "start": { + "line": 400, + "column": 21 + }, + "end": { + "line": 400, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "Previous", + "raw": "'Previous'", + "range": [ + 11763, + 11773 + ], + "loc": { + "start": { + "line": 400, + "column": 30 + }, + "end": { + "line": 400, + "column": 40 + } + } + } + ], + "range": [ + 11753, + 11774 + ], + "loc": { + "start": { + "line": 400, + "column": 20 + }, + "end": { + "line": 400, + "column": 41 + } + } + } + ], + "range": [ + 11623, + 11792 + ], + "loc": { + "start": { + "line": 397, + "column": 30 + }, + "end": { + "line": 401, + "column": 17 + } + } + }, + "range": [ + 11613, + 11792 + ], + "loc": { + "start": { + "line": 397, + "column": 20 + }, + "end": { + "line": 401, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 11609, + 11793 + ], + "loc": { + "start": { + "line": 397, + "column": 16 + }, + "end": { + "line": 401, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnPrev", + "range": [ + 11810, + 11817 + ], + "loc": { + "start": { + "line": 402, + "column": 16 + }, + "end": { + "line": 402, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 11818, + 11827 + ], + "loc": { + "start": { + "line": 402, + "column": 24 + }, + "end": { + "line": 402, + "column": 33 + } + } + }, + "range": [ + 11810, + 11827 + ], + "loc": { + "start": { + "line": 402, + "column": 16 + }, + "end": { + "line": 402, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11830, + 11834 + ], + "loc": { + "start": { + "line": 402, + "column": 36 + }, + "end": { + "line": 402, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 11835, + 11846 + ], + "loc": { + "start": { + "line": 402, + "column": 41 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + "range": [ + 11830, + 11846 + ], + "loc": { + "start": { + "line": 402, + "column": 36 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + "range": [ + 11810, + 11846 + ], + "loc": { + "start": { + "line": 402, + "column": 16 + }, + "end": { + "line": 402, + "column": 52 + } + } + }, + "range": [ + 11810, + 11847 + ], + "loc": { + "start": { + "line": 402, + "column": 16 + }, + "end": { + "line": 402, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 11864, + 11870 + ], + "loc": { + "start": { + "line": 403, + "column": 16 + }, + "end": { + "line": 403, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnPrev", + "range": [ + 11871, + 11878 + ], + "loc": { + "start": { + "line": 403, + "column": 23 + }, + "end": { + "line": 403, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 11880, + 11887 + ], + "loc": { + "start": { + "line": 403, + "column": 32 + }, + "end": { + "line": 403, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 11889, + 11892 + ], + "loc": { + "start": { + "line": 403, + "column": 41 + }, + "end": { + "line": 403, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "prev", + "range": [ + 11893, + 11897 + ], + "loc": { + "start": { + "line": 403, + "column": 45 + }, + "end": { + "line": 403, + "column": 49 + } + } + }, + "range": [ + 11889, + 11897 + ], + "loc": { + "start": { + "line": 403, + "column": 41 + }, + "end": { + "line": 403, + "column": 49 + } + } + } + ], + "range": [ + 11864, + 11898 + ], + "loc": { + "start": { + "line": 403, + "column": 16 + }, + "end": { + "line": 403, + "column": 50 + } + } + }, + "range": [ + 11864, + 11899 + ], + "loc": { + "start": { + "line": 403, + "column": 16 + }, + "end": { + "line": 403, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 11916, + 11927 + ], + "loc": { + "start": { + "line": 404, + "column": 16 + }, + "end": { + "line": 404, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 11928, + 11939 + ], + "loc": { + "start": { + "line": 404, + "column": 28 + }, + "end": { + "line": 404, + "column": 39 + } + } + }, + "range": [ + 11916, + 11939 + ], + "loc": { + "start": { + "line": 404, + "column": 16 + }, + "end": { + "line": 404, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnPrev", + "range": [ + 11940, + 11947 + ], + "loc": { + "start": { + "line": 404, + "column": 40 + }, + "end": { + "line": 404, + "column": 47 + } + } + } + ], + "range": [ + 11916, + 11948 + ], + "loc": { + "start": { + "line": 404, + "column": 16 + }, + "end": { + "line": 404, + "column": 48 + } + } + }, + "range": [ + 11916, + 11949 + ], + "loc": { + "start": { + "line": 404, + "column": 16 + }, + "end": { + "line": 404, + "column": 49 + } + } + } + ], + "range": [ + 11591, + 11963 + ], + "loc": { + "start": { + "line": 396, + "column": 39 + }, + "end": { + "line": 405, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 11987, + 11998 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 11999, + 12008 + ], + "loc": { + "start": { + "line": 406, + "column": 28 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "range": [ + 11987, + 12008 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12011, + 12015 + ], + "loc": { + "start": { + "line": 406, + "column": 40 + }, + "end": { + "line": 406, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevPageHtml", + "range": [ + 12016, + 12031 + ], + "loc": { + "start": { + "line": 406, + "column": 45 + }, + "end": { + "line": 406, + "column": 60 + } + } + }, + "range": [ + 12011, + 12031 + ], + "loc": { + "start": { + "line": 406, + "column": 40 + }, + "end": { + "line": 406, + "column": 60 + } + } + }, + "range": [ + 11987, + 12031 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 60 + } + } + }, + "range": [ + 11987, + 12032 + ], + "loc": { + "start": { + "line": 406, + "column": 16 + }, + "end": { + "line": 406, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 12049, + 12055 + ], + "loc": { + "start": { + "line": 407, + "column": 16 + }, + "end": { + "line": 407, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 12056, + 12067 + ], + "loc": { + "start": { + "line": 407, + "column": 23 + }, + "end": { + "line": 407, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 12069, + 12076 + ], + "loc": { + "start": { + "line": 407, + "column": 36 + }, + "end": { + "line": 407, + "column": 43 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 12078, + 12081 + ], + "loc": { + "start": { + "line": 407, + "column": 45 + }, + "end": { + "line": 407, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "prev", + "range": [ + 12082, + 12086 + ], + "loc": { + "start": { + "line": 407, + "column": 49 + }, + "end": { + "line": 407, + "column": 53 + } + } + }, + "range": [ + 12078, + 12086 + ], + "loc": { + "start": { + "line": 407, + "column": 45 + }, + "end": { + "line": 407, + "column": 53 + } + } + } + ], + "range": [ + 12049, + 12087 + ], + "loc": { + "start": { + "line": 407, + "column": 16 + }, + "end": { + "line": 407, + "column": 54 + } + } + }, + "range": [ + 12049, + 12088 + ], + "loc": { + "start": { + "line": 407, + "column": 16 + }, + "end": { + "line": 407, + "column": 55 + } + } + } + ], + "range": [ + 11969, + 12102 + ], + "loc": { + "start": { + "line": 405, + "column": 19 + }, + "end": { + "line": 408, + "column": 13 + } + } + }, + "range": [ + 11564, + 12102 + ], + "loc": { + "start": { + "line": 396, + "column": 12 + }, + "end": { + "line": 408, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Previous button", + "range": [ + 11533, + 11551 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 30 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Last button", + "range": [ + 12115, + 12129 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 26 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12147, + 12151 + ], + "loc": { + "start": { + "line": 410, + "column": 17 + }, + "end": { + "line": 410, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastPageHtml", + "range": [ + 12152, + 12167 + ], + "loc": { + "start": { + "line": 410, + "column": 22 + }, + "end": { + "line": 410, + "column": 37 + } + } + }, + "range": [ + 12147, + 12167 + ], + "loc": { + "start": { + "line": 410, + "column": 17 + }, + "end": { + "line": 410, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 12146, + 12167 + ], + "loc": { + "start": { + "line": 410, + "column": 16 + }, + "end": { + "line": 410, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnLast", + "range": [ + 12191, + 12198 + ], + "loc": { + "start": { + "line": 411, + "column": 20 + }, + "end": { + "line": 411, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12201, + 12210 + ], + "loc": { + "start": { + "line": 411, + "column": 30 + }, + "end": { + "line": 411, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 12211, + 12216 + ], + "loc": { + "start": { + "line": 411, + "column": 40 + }, + "end": { + "line": 411, + "column": 45 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 12239, + 12245 + ], + "loc": { + "start": { + "line": 412, + "column": 21 + }, + "end": { + "line": 412, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "button", + "raw": "'button'", + "range": [ + 12247, + 12255 + ], + "loc": { + "start": { + "line": 412, + "column": 29 + }, + "end": { + "line": 412, + "column": 37 + } + } + } + ], + "range": [ + 12238, + 12256 + ], + "loc": { + "start": { + "line": 412, + "column": 20 + }, + "end": { + "line": 412, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 12279, + 12286 + ], + "loc": { + "start": { + "line": 413, + "column": 21 + }, + "end": { + "line": 413, + "column": 28 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12288, + 12292 + ], + "loc": { + "start": { + "line": 413, + "column": 30 + }, + "end": { + "line": 413, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastPageText", + "range": [ + 12293, + 12308 + ], + "loc": { + "start": { + "line": 413, + "column": 35 + }, + "end": { + "line": 413, + "column": 50 + } + } + }, + "range": [ + 12288, + 12308 + ], + "loc": { + "start": { + "line": 413, + "column": 30 + }, + "end": { + "line": 413, + "column": 50 + } + } + } + ], + "range": [ + 12278, + 12309 + ], + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 51 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "title", + "raw": "'title'", + "range": [ + 12332, + 12339 + ], + "loc": { + "start": { + "line": 414, + "column": 21 + }, + "end": { + "line": 414, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "Last", + "raw": "'Last'", + "range": [ + 12341, + 12347 + ], + "loc": { + "start": { + "line": 414, + "column": 30 + }, + "end": { + "line": 414, + "column": 36 + } + } + } + ], + "range": [ + 12331, + 12348 + ], + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 37 + } + } + } + ], + "range": [ + 12201, + 12366 + ], + "loc": { + "start": { + "line": 411, + "column": 30 + }, + "end": { + "line": 415, + "column": 17 + } + } + }, + "range": [ + 12191, + 12366 + ], + "loc": { + "start": { + "line": 411, + "column": 20 + }, + "end": { + "line": 415, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 12187, + 12367 + ], + "loc": { + "start": { + "line": 411, + "column": 16 + }, + "end": { + "line": 415, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnLast", + "range": [ + 12384, + 12391 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 12392, + 12401 + ], + "loc": { + "start": { + "line": 416, + "column": 24 + }, + "end": { + "line": 416, + "column": 33 + } + } + }, + "range": [ + 12384, + 12401 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12404, + 12408 + ], + "loc": { + "start": { + "line": 416, + "column": 36 + }, + "end": { + "line": 416, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 12409, + 12420 + ], + "loc": { + "start": { + "line": 416, + "column": 41 + }, + "end": { + "line": 416, + "column": 52 + } + } + }, + "range": [ + 12404, + 12420 + ], + "loc": { + "start": { + "line": 416, + "column": 36 + }, + "end": { + "line": 416, + "column": 52 + } + } + }, + "range": [ + 12384, + 12420 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 52 + } + } + }, + "range": [ + 12384, + 12421 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 12438, + 12444 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnLast", + "range": [ + 12445, + 12452 + ], + "loc": { + "start": { + "line": 417, + "column": 23 + }, + "end": { + "line": 417, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 12454, + 12461 + ], + "loc": { + "start": { + "line": 417, + "column": 32 + }, + "end": { + "line": 417, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 12463, + 12466 + ], + "loc": { + "start": { + "line": 417, + "column": 41 + }, + "end": { + "line": 417, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "last", + "range": [ + 12467, + 12471 + ], + "loc": { + "start": { + "line": 417, + "column": 45 + }, + "end": { + "line": 417, + "column": 49 + } + } + }, + "range": [ + 12463, + 12471 + ], + "loc": { + "start": { + "line": 417, + "column": 41 + }, + "end": { + "line": 417, + "column": 49 + } + } + } + ], + "range": [ + 12438, + 12472 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 50 + } + } + }, + "range": [ + 12438, + 12473 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 12490, + 12501 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 12502, + 12513 + ], + "loc": { + "start": { + "line": 418, + "column": 28 + }, + "end": { + "line": 418, + "column": 39 + } + } + }, + "range": [ + 12490, + 12513 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnLast", + "range": [ + 12514, + 12521 + ], + "loc": { + "start": { + "line": 418, + "column": 40 + }, + "end": { + "line": 418, + "column": 47 + } + } + } + ], + "range": [ + 12490, + 12522 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 48 + } + } + }, + "range": [ + 12490, + 12523 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 49 + } + } + } + ], + "range": [ + 12169, + 12537 + ], + "loc": { + "start": { + "line": 410, + "column": 39 + }, + "end": { + "line": 419, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 12561, + 12572 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 12573, + 12582 + ], + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 420, + "column": 37 + } + } + }, + "range": [ + 12561, + 12582 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12585, + 12589 + ], + "loc": { + "start": { + "line": 420, + "column": 40 + }, + "end": { + "line": 420, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastPageHtml", + "range": [ + 12590, + 12605 + ], + "loc": { + "start": { + "line": 420, + "column": 45 + }, + "end": { + "line": 420, + "column": 60 + } + } + }, + "range": [ + 12585, + 12605 + ], + "loc": { + "start": { + "line": 420, + "column": 40 + }, + "end": { + "line": 420, + "column": 60 + } + } + }, + "range": [ + 12561, + 12605 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 60 + } + } + }, + "range": [ + 12561, + 12606 + ], + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 420, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 12623, + 12629 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 421, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 12630, + 12641 + ], + "loc": { + "start": { + "line": 421, + "column": 23 + }, + "end": { + "line": 421, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 12643, + 12650 + ], + "loc": { + "start": { + "line": 421, + "column": 36 + }, + "end": { + "line": 421, + "column": 43 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 12652, + 12655 + ], + "loc": { + "start": { + "line": 421, + "column": 45 + }, + "end": { + "line": 421, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "last", + "range": [ + 12656, + 12660 + ], + "loc": { + "start": { + "line": 421, + "column": 49 + }, + "end": { + "line": 421, + "column": 53 + } + } + }, + "range": [ + 12652, + 12660 + ], + "loc": { + "start": { + "line": 421, + "column": 45 + }, + "end": { + "line": 421, + "column": 53 + } + } + } + ], + "range": [ + 12623, + 12661 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 421, + "column": 54 + } + } + }, + "range": [ + 12623, + 12662 + ], + "loc": { + "start": { + "line": 421, + "column": 16 + }, + "end": { + "line": 421, + "column": 55 + } + } + } + ], + "range": [ + 12543, + 12676 + ], + "loc": { + "start": { + "line": 419, + "column": 19 + }, + "end": { + "line": 422, + "column": 13 + } + } + }, + "range": [ + 12142, + 12676 + ], + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 422, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Last button", + "range": [ + 12115, + 12129 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " First button", + "range": [ + 12689, + 12704 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 27 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12722, + 12726 + ], + "loc": { + "start": { + "line": 424, + "column": 17 + }, + "end": { + "line": 424, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstPageHtml", + "range": [ + 12727, + 12743 + ], + "loc": { + "start": { + "line": 424, + "column": 22 + }, + "end": { + "line": 424, + "column": 38 + } + } + }, + "range": [ + 12722, + 12743 + ], + "loc": { + "start": { + "line": 424, + "column": 17 + }, + "end": { + "line": 424, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 12721, + 12743 + ], + "loc": { + "start": { + "line": 424, + "column": 16 + }, + "end": { + "line": 424, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnFirst", + "range": [ + 12767, + 12775 + ], + "loc": { + "start": { + "line": 425, + "column": 20 + }, + "end": { + "line": 425, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 12778, + 12787 + ], + "loc": { + "start": { + "line": 425, + "column": 31 + }, + "end": { + "line": 425, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 12788, + 12793 + ], + "loc": { + "start": { + "line": 425, + "column": 41 + }, + "end": { + "line": 425, + "column": 46 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 12816, + 12822 + ], + "loc": { + "start": { + "line": 426, + "column": 21 + }, + "end": { + "line": 426, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": "button", + "raw": "'button'", + "range": [ + 12824, + 12832 + ], + "loc": { + "start": { + "line": 426, + "column": 29 + }, + "end": { + "line": 426, + "column": 37 + } + } + } + ], + "range": [ + 12815, + 12833 + ], + "loc": { + "start": { + "line": 426, + "column": 20 + }, + "end": { + "line": 426, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 12856, + 12863 + ], + "loc": { + "start": { + "line": 427, + "column": 21 + }, + "end": { + "line": 427, + "column": 28 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12865, + 12869 + ], + "loc": { + "start": { + "line": 427, + "column": 30 + }, + "end": { + "line": 427, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstPageText", + "range": [ + 12870, + 12886 + ], + "loc": { + "start": { + "line": 427, + "column": 35 + }, + "end": { + "line": 427, + "column": 51 + } + } + }, + "range": [ + 12865, + 12886 + ], + "loc": { + "start": { + "line": 427, + "column": 30 + }, + "end": { + "line": 427, + "column": 51 + } + } + } + ], + "range": [ + 12855, + 12887 + ], + "loc": { + "start": { + "line": 427, + "column": 20 + }, + "end": { + "line": 427, + "column": 52 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "title", + "raw": "'title'", + "range": [ + 12910, + 12917 + ], + "loc": { + "start": { + "line": 428, + "column": 21 + }, + "end": { + "line": 428, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "First", + "raw": "'First'", + "range": [ + 12919, + 12926 + ], + "loc": { + "start": { + "line": 428, + "column": 30 + }, + "end": { + "line": 428, + "column": 37 + } + } + } + ], + "range": [ + 12909, + 12927 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 38 + } + } + } + ], + "range": [ + 12778, + 12945 + ], + "loc": { + "start": { + "line": 425, + "column": 31 + }, + "end": { + "line": 429, + "column": 17 + } + } + }, + "range": [ + 12767, + 12945 + ], + "loc": { + "start": { + "line": 425, + "column": 20 + }, + "end": { + "line": 429, + "column": 17 + } + } + } + ], + "kind": "let", + "range": [ + 12763, + 12946 + ], + "loc": { + "start": { + "line": 425, + "column": 16 + }, + "end": { + "line": 429, + "column": 18 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnFirst", + "range": [ + 12963, + 12971 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 12972, + 12981 + ], + "loc": { + "start": { + "line": 430, + "column": 25 + }, + "end": { + "line": 430, + "column": 34 + } + } + }, + "range": [ + 12963, + 12981 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 34 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12984, + 12988 + ], + "loc": { + "start": { + "line": 430, + "column": 37 + }, + "end": { + "line": 430, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 12989, + 13000 + ], + "loc": { + "start": { + "line": 430, + "column": 42 + }, + "end": { + "line": 430, + "column": 53 + } + } + }, + "range": [ + 12984, + 13000 + ], + "loc": { + "start": { + "line": 430, + "column": 37 + }, + "end": { + "line": 430, + "column": 53 + } + } + }, + "range": [ + 12963, + 13000 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 53 + } + } + }, + "range": [ + 12963, + 13001 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 13018, + 13024 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnFirst", + "range": [ + 13025, + 13033 + ], + "loc": { + "start": { + "line": 431, + "column": 23 + }, + "end": { + "line": 431, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 13035, + 13042 + ], + "loc": { + "start": { + "line": 431, + "column": 33 + }, + "end": { + "line": 431, + "column": 40 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 13044, + 13047 + ], + "loc": { + "start": { + "line": 431, + "column": 42 + }, + "end": { + "line": 431, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "first", + "range": [ + 13048, + 13053 + ], + "loc": { + "start": { + "line": 431, + "column": 46 + }, + "end": { + "line": 431, + "column": 51 + } + } + }, + "range": [ + 13044, + 13053 + ], + "loc": { + "start": { + "line": 431, + "column": 42 + }, + "end": { + "line": 431, + "column": 51 + } + } + } + ], + "range": [ + 13018, + 13054 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 52 + } + } + }, + "range": [ + 13018, + 13055 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 13072, + 13084 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13085, + 13096 + ], + "loc": { + "start": { + "line": 432, + "column": 29 + }, + "end": { + "line": 432, + "column": 40 + } + } + }, + "range": [ + 13072, + 13096 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnFirst", + "range": [ + 13097, + 13105 + ], + "loc": { + "start": { + "line": 432, + "column": 41 + }, + "end": { + "line": 432, + "column": 49 + } + } + } + ], + "range": [ + 13072, + 13106 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 50 + } + } + }, + "range": [ + 13072, + 13107 + ], + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 51 + } + } + } + ], + "range": [ + 12745, + 13121 + ], + "loc": { + "start": { + "line": 424, + "column": 40 + }, + "end": { + "line": 433, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 13145, + 13157 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 13158, + 13167 + ], + "loc": { + "start": { + "line": 434, + "column": 29 + }, + "end": { + "line": 434, + "column": 38 + } + } + }, + "range": [ + 13145, + 13167 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13170, + 13174 + ], + "loc": { + "start": { + "line": 434, + "column": 41 + }, + "end": { + "line": 434, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstPageHtml", + "range": [ + 13175, + 13191 + ], + "loc": { + "start": { + "line": 434, + "column": 46 + }, + "end": { + "line": 434, + "column": 62 + } + } + }, + "range": [ + 13170, + 13191 + ], + "loc": { + "start": { + "line": 434, + "column": 41 + }, + "end": { + "line": 434, + "column": 62 + } + } + }, + "range": [ + 13145, + 13191 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 62 + } + } + }, + "range": [ + 13145, + 13192 + ], + "loc": { + "start": { + "line": 434, + "column": 16 + }, + "end": { + "line": 434, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 13209, + 13215 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 13216, + 13228 + ], + "loc": { + "start": { + "line": 435, + "column": 23 + }, + "end": { + "line": 435, + "column": 35 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 13230, + 13237 + ], + "loc": { + "start": { + "line": 435, + "column": 37 + }, + "end": { + "line": 435, + "column": 44 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 13239, + 13242 + ], + "loc": { + "start": { + "line": 435, + "column": 46 + }, + "end": { + "line": 435, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "first", + "range": [ + 13243, + 13248 + ], + "loc": { + "start": { + "line": 435, + "column": 50 + }, + "end": { + "line": 435, + "column": 55 + } + } + }, + "range": [ + 13239, + 13248 + ], + "loc": { + "start": { + "line": 435, + "column": 46 + }, + "end": { + "line": 435, + "column": 55 + } + } + } + ], + "range": [ + 13209, + 13249 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 56 + } + } + }, + "range": [ + 13209, + 13250 + ], + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 57 + } + } + } + ], + "range": [ + 13127, + 13264 + ], + "loc": { + "start": { + "line": 433, + "column": 19 + }, + "end": { + "line": 436, + "column": 13 + } + } + }, + "range": [ + 12717, + 13264 + ], + "loc": { + "start": { + "line": 424, + "column": 12 + }, + "end": { + "line": 436, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " First button", + "range": [ + 12689, + 12704 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 27 + } + } + } + ] + } + ], + "range": [ + 10945, + 13274 + ], + "loc": { + "start": { + "line": 380, + "column": 26 + }, + "end": { + "line": 437, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10927, + 13274 + ], + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 437, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " paging elements (buttons+drop-down list) are added to defined element", + "range": [ + 13284, + 13356 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 80 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13370, + 13374 + ], + "loc": { + "start": { + "line": 440, + "column": 13 + }, + "end": { + "line": 440, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 13375, + 13380 + ], + "loc": { + "start": { + "line": 440, + "column": 18 + }, + "end": { + "line": 440, + "column": 23 + } + } + }, + "range": [ + 13370, + 13380 + ], + "loc": { + "start": { + "line": 440, + "column": 13 + }, + "end": { + "line": 440, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 13369, + 13380 + ], + "loc": { + "start": { + "line": 440, + "column": 12 + }, + "end": { + "line": 440, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13396, + 13398 + ], + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 13399, + 13409 + ], + "loc": { + "start": { + "line": 441, + "column": 15 + }, + "end": { + "line": 441, + "column": 25 + } + } + }, + "range": [ + 13396, + 13409 + ], + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 13396, + 13411 + ], + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 27 + } + } + }, + "range": [ + 13396, + 13412 + ], + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 28 + } + } + } + ], + "range": [ + 13382, + 13422 + ], + "loc": { + "start": { + "line": 440, + "column": 25 + }, + "end": { + "line": 442, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13365, + 13422 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 442, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " paging elements (buttons+drop-down list) are added to defined element", + "range": [ + 13284, + 13356 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 80 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13435, + 13443 + ], + "loc": { + "start": { + "line": 443, + "column": 12 + }, + "end": { + "line": 443, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13447, + 13451 + ], + "loc": { + "start": { + "line": 443, + "column": 24 + }, + "end": { + "line": 443, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 13452, + 13457 + ], + "loc": { + "start": { + "line": 443, + "column": 29 + }, + "end": { + "line": 443, + "column": 34 + } + } + }, + "range": [ + 13447, + 13457 + ], + "loc": { + "start": { + "line": 443, + "column": 24 + }, + "end": { + "line": 443, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 13446, + 13457 + ], + "loc": { + "start": { + "line": 443, + "column": 23 + }, + "end": { + "line": 443, + "column": 34 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 13460, + 13462 + ], + "loc": { + "start": { + "line": 443, + "column": 37 + }, + "end": { + "line": 443, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 13463, + 13467 + ], + "loc": { + "start": { + "line": 443, + "column": 40 + }, + "end": { + "line": 443, + "column": 44 + } + } + }, + "range": [ + 13460, + 13467 + ], + "loc": { + "start": { + "line": 443, + "column": 37 + }, + "end": { + "line": 443, + "column": 44 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 13470, + 13473 + ], + "loc": { + "start": { + "line": 443, + "column": 47 + }, + "end": { + "line": 443, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13474, + 13478 + ], + "loc": { + "start": { + "line": 443, + "column": 51 + }, + "end": { + "line": 443, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 13479, + 13484 + ], + "loc": { + "start": { + "line": 443, + "column": 56 + }, + "end": { + "line": 443, + "column": 61 + } + } + }, + "range": [ + 13474, + 13484 + ], + "loc": { + "start": { + "line": 443, + "column": 51 + }, + "end": { + "line": 443, + "column": 61 + } + } + } + ], + "range": [ + 13470, + 13485 + ], + "loc": { + "start": { + "line": 443, + "column": 47 + }, + "end": { + "line": 443, + "column": 62 + } + } + }, + "range": [ + 13446, + 13485 + ], + "loc": { + "start": { + "line": 443, + "column": 23 + }, + "end": { + "line": 443, + "column": 62 + } + } + }, + "range": [ + 13435, + 13485 + ], + "loc": { + "start": { + "line": 443, + "column": 12 + }, + "end": { + "line": 443, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 13431, + 13486 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13495, + 13503 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13504, + 13515 + ], + "loc": { + "start": { + "line": 444, + "column": 17 + }, + "end": { + "line": 444, + "column": 28 + } + } + }, + "range": [ + 13495, + 13515 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 13516, + 13528 + ], + "loc": { + "start": { + "line": 444, + "column": 29 + }, + "end": { + "line": 444, + "column": 41 + } + } + } + ], + "range": [ + 13495, + 13529 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 42 + } + } + }, + "range": [ + 13495, + 13530 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13539, + 13547 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13548, + 13559 + ], + "loc": { + "start": { + "line": 445, + "column": 17 + }, + "end": { + "line": 445, + "column": 28 + } + } + }, + "range": [ + 13539, + 13559 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 13560, + 13571 + ], + "loc": { + "start": { + "line": 445, + "column": 29 + }, + "end": { + "line": 445, + "column": 40 + } + } + } + ], + "range": [ + 13539, + 13572 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 41 + } + } + }, + "range": [ + 13539, + 13573 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pgBeforeSpan", + "range": [ + 13587, + 13599 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 13602, + 13611 + ], + "loc": { + "start": { + "line": 447, + "column": 27 + }, + "end": { + "line": 447, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 13612, + 13618 + ], + "loc": { + "start": { + "line": 447, + "column": 37 + }, + "end": { + "line": 447, + "column": 43 + } + } + } + ], + "range": [ + 13602, + 13619 + ], + "loc": { + "start": { + "line": 447, + "column": 27 + }, + "end": { + "line": 447, + "column": 44 + } + } + }, + "range": [ + 13587, + 13619 + ], + "loc": { + "start": { + "line": 447, + "column": 12 + }, + "end": { + "line": 447, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 13583, + 13620 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgBeforeSpan", + "range": [ + 13629, + 13641 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13642, + 13653 + ], + "loc": { + "start": { + "line": 448, + "column": 21 + }, + "end": { + "line": 448, + "column": 32 + } + } + }, + "range": [ + 13629, + 13653 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 13654, + 13664 + ], + "loc": { + "start": { + "line": 448, + "column": 33 + }, + "end": { + "line": 448, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13665, + 13669 + ], + "loc": { + "start": { + "line": 448, + "column": 44 + }, + "end": { + "line": 448, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageText", + "range": [ + 13670, + 13678 + ], + "loc": { + "start": { + "line": 448, + "column": 49 + }, + "end": { + "line": 448, + "column": 57 + } + } + }, + "range": [ + 13665, + 13678 + ], + "loc": { + "start": { + "line": 448, + "column": 44 + }, + "end": { + "line": 448, + "column": 57 + } + } + } + ], + "range": [ + 13654, + 13679 + ], + "loc": { + "start": { + "line": 448, + "column": 33 + }, + "end": { + "line": 448, + "column": 58 + } + } + } + ], + "range": [ + 13629, + 13680 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 59 + } + } + }, + "range": [ + 13629, + 13681 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgBeforeSpan", + "range": [ + 13690, + 13702 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 13703, + 13712 + ], + "loc": { + "start": { + "line": 449, + "column": 21 + }, + "end": { + "line": 449, + "column": 30 + } + } + }, + "range": [ + 13690, + 13712 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13715, + 13719 + ], + "loc": { + "start": { + "line": 449, + "column": 33 + }, + "end": { + "line": 449, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPgSpanCssClass", + "range": [ + 13720, + 13736 + ], + "loc": { + "start": { + "line": 449, + "column": 38 + }, + "end": { + "line": 449, + "column": 54 + } + } + }, + "range": [ + 13715, + 13736 + ], + "loc": { + "start": { + "line": 449, + "column": 33 + }, + "end": { + "line": 449, + "column": 54 + } + } + }, + "range": [ + 13690, + 13736 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 54 + } + } + }, + "range": [ + 13690, + 13737 + ], + "loc": { + "start": { + "line": 449, + "column": 8 + }, + "end": { + "line": 449, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13746, + 13754 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 450, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13755, + 13766 + ], + "loc": { + "start": { + "line": 450, + "column": 17 + }, + "end": { + "line": 450, + "column": 28 + } + } + }, + "range": [ + 13746, + 13766 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 450, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pgBeforeSpan", + "range": [ + 13767, + 13779 + ], + "loc": { + "start": { + "line": 450, + "column": 29 + }, + "end": { + "line": 450, + "column": 41 + } + } + } + ], + "range": [ + 13746, + 13780 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 450, + "column": 42 + } + } + }, + "range": [ + 13746, + 13781 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 450, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13790, + 13798 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13799, + 13810 + ], + "loc": { + "start": { + "line": 451, + "column": 17 + }, + "end": { + "line": 451, + "column": 28 + } + } + }, + "range": [ + 13790, + 13810 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcPages", + "range": [ + 13811, + 13819 + ], + "loc": { + "start": { + "line": 451, + "column": 29 + }, + "end": { + "line": 451, + "column": 37 + } + } + } + ], + "range": [ + 13790, + 13820 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 38 + } + } + }, + "range": [ + 13790, + 13821 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pgAfterSpan", + "range": [ + 13834, + 13845 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 13848, + 13857 + ], + "loc": { + "start": { + "line": 452, + "column": 26 + }, + "end": { + "line": 452, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 13858, + 13864 + ], + "loc": { + "start": { + "line": 452, + "column": 36 + }, + "end": { + "line": 452, + "column": 42 + } + } + } + ], + "range": [ + 13848, + 13865 + ], + "loc": { + "start": { + "line": 452, + "column": 26 + }, + "end": { + "line": 452, + "column": 43 + } + } + }, + "range": [ + 13834, + 13865 + ], + "loc": { + "start": { + "line": 452, + "column": 12 + }, + "end": { + "line": 452, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 13830, + 13866 + ], + "loc": { + "start": { + "line": 452, + "column": 8 + }, + "end": { + "line": 452, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgAfterSpan", + "range": [ + 13875, + 13886 + ], + "loc": { + "start": { + "line": 453, + "column": 8 + }, + "end": { + "line": 453, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13887, + 13898 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 31 + } + } + }, + "range": [ + 13875, + 13898 + ], + "loc": { + "start": { + "line": 453, + "column": 8 + }, + "end": { + "line": 453, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 13899, + 13909 + ], + "loc": { + "start": { + "line": 453, + "column": 32 + }, + "end": { + "line": 453, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13910, + 13914 + ], + "loc": { + "start": { + "line": 453, + "column": 43 + }, + "end": { + "line": 453, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "ofText", + "range": [ + 13915, + 13921 + ], + "loc": { + "start": { + "line": 453, + "column": 48 + }, + "end": { + "line": 453, + "column": 54 + } + } + }, + "range": [ + 13910, + 13921 + ], + "loc": { + "start": { + "line": 453, + "column": 43 + }, + "end": { + "line": 453, + "column": 54 + } + } + } + ], + "range": [ + 13899, + 13922 + ], + "loc": { + "start": { + "line": 453, + "column": 32 + }, + "end": { + "line": 453, + "column": 55 + } + } + } + ], + "range": [ + 13875, + 13923 + ], + "loc": { + "start": { + "line": 453, + "column": 8 + }, + "end": { + "line": 453, + "column": 56 + } + } + }, + "range": [ + 13875, + 13924 + ], + "loc": { + "start": { + "line": 453, + "column": 8 + }, + "end": { + "line": 453, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgAfterSpan", + "range": [ + 13933, + 13944 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 13945, + 13954 + ], + "loc": { + "start": { + "line": 454, + "column": 20 + }, + "end": { + "line": 454, + "column": 29 + } + } + }, + "range": [ + 13933, + 13954 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13957, + 13961 + ], + "loc": { + "start": { + "line": 454, + "column": 32 + }, + "end": { + "line": 454, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPgSpanCssClass", + "range": [ + 13962, + 13978 + ], + "loc": { + "start": { + "line": 454, + "column": 37 + }, + "end": { + "line": 454, + "column": 53 + } + } + }, + "range": [ + 13957, + 13978 + ], + "loc": { + "start": { + "line": 454, + "column": 32 + }, + "end": { + "line": 454, + "column": 53 + } + } + }, + "range": [ + 13933, + 13978 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 53 + } + } + }, + "range": [ + 13933, + 13979 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 13988, + 13996 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 13997, + 14008 + ], + "loc": { + "start": { + "line": 455, + "column": 17 + }, + "end": { + "line": 455, + "column": 28 + } + } + }, + "range": [ + 13988, + 14008 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pgAfterSpan", + "range": [ + 14009, + 14020 + ], + "loc": { + "start": { + "line": 455, + "column": 29 + }, + "end": { + "line": 455, + "column": 40 + } + } + } + ], + "range": [ + 13988, + 14021 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 41 + } + } + }, + "range": [ + 13988, + 14022 + ], + "loc": { + "start": { + "line": 455, + "column": 8 + }, + "end": { + "line": 455, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pgSpan", + "range": [ + 14035, + 14041 + ], + "loc": { + "start": { + "line": 456, + "column": 12 + }, + "end": { + "line": 456, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 14044, + 14053 + ], + "loc": { + "start": { + "line": 456, + "column": 21 + }, + "end": { + "line": 456, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 14054, + 14060 + ], + "loc": { + "start": { + "line": 456, + "column": 31 + }, + "end": { + "line": 456, + "column": 37 + } + } + } + ], + "range": [ + 14044, + 14061 + ], + "loc": { + "start": { + "line": 456, + "column": 21 + }, + "end": { + "line": 456, + "column": 38 + } + } + }, + "range": [ + 14035, + 14061 + ], + "loc": { + "start": { + "line": 456, + "column": 12 + }, + "end": { + "line": 456, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 14031, + 14062 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgSpan", + "range": [ + 14071, + 14077 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 14078, + 14087 + ], + "loc": { + "start": { + "line": 457, + "column": 15 + }, + "end": { + "line": 457, + "column": 24 + } + } + }, + "range": [ + 14071, + 14087 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14090, + 14094 + ], + "loc": { + "start": { + "line": 457, + "column": 27 + }, + "end": { + "line": 457, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPgSpanCssClass", + "range": [ + 14095, + 14111 + ], + "loc": { + "start": { + "line": 457, + "column": 32 + }, + "end": { + "line": 457, + "column": 48 + } + } + }, + "range": [ + 14090, + 14111 + ], + "loc": { + "start": { + "line": 457, + "column": 27 + }, + "end": { + "line": 457, + "column": 48 + } + } + }, + "range": [ + 14071, + 14111 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 48 + } + } + }, + "range": [ + 14071, + 14112 + ], + "loc": { + "start": { + "line": 457, + "column": 8 + }, + "end": { + "line": 457, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pgSpan", + "range": [ + 14121, + 14127 + ], + "loc": { + "start": { + "line": 458, + "column": 8 + }, + "end": { + "line": 458, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14128, + 14139 + ], + "loc": { + "start": { + "line": 458, + "column": 15 + }, + "end": { + "line": 458, + "column": 26 + } + } + }, + "range": [ + 14121, + 14139 + ], + "loc": { + "start": { + "line": 458, + "column": 8 + }, + "end": { + "line": 458, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 14140, + 14150 + ], + "loc": { + "start": { + "line": 458, + "column": 27 + }, + "end": { + "line": 458, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 14151, + 14154 + ], + "loc": { + "start": { + "line": 458, + "column": 38 + }, + "end": { + "line": 458, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14157, + 14161 + ], + "loc": { + "start": { + "line": 458, + "column": 44 + }, + "end": { + "line": 458, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 14162, + 14169 + ], + "loc": { + "start": { + "line": 458, + "column": 49 + }, + "end": { + "line": 458, + "column": 56 + } + } + }, + "range": [ + 14157, + 14169 + ], + "loc": { + "start": { + "line": 458, + "column": 44 + }, + "end": { + "line": 458, + "column": 56 + } + } + }, + "range": [ + 14151, + 14169 + ], + "loc": { + "start": { + "line": 458, + "column": 38 + }, + "end": { + "line": 458, + "column": 56 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 14172, + 14175 + ], + "loc": { + "start": { + "line": 458, + "column": 59 + }, + "end": { + "line": 458, + "column": 62 + } + } + }, + "range": [ + 14151, + 14175 + ], + "loc": { + "start": { + "line": 458, + "column": 38 + }, + "end": { + "line": 458, + "column": 62 + } + } + } + ], + "range": [ + 14140, + 14176 + ], + "loc": { + "start": { + "line": 458, + "column": 27 + }, + "end": { + "line": 458, + "column": 63 + } + } + } + ], + "range": [ + 14121, + 14177 + ], + "loc": { + "start": { + "line": 458, + "column": 8 + }, + "end": { + "line": 458, + "column": 64 + } + } + }, + "range": [ + 14121, + 14178 + ], + "loc": { + "start": { + "line": 458, + "column": 8 + }, + "end": { + "line": 458, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 14187, + 14195 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14196, + 14207 + ], + "loc": { + "start": { + "line": 459, + "column": 17 + }, + "end": { + "line": 459, + "column": 28 + } + } + }, + "range": [ + 14187, + 14207 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pgSpan", + "range": [ + 14208, + 14214 + ], + "loc": { + "start": { + "line": 459, + "column": 29 + }, + "end": { + "line": 459, + "column": 35 + } + } + } + ], + "range": [ + 14187, + 14215 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 36 + } + } + }, + "range": [ + 14187, + 14216 + ], + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 14225, + 14233 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14234, + 14245 + ], + "loc": { + "start": { + "line": 460, + "column": 17 + }, + "end": { + "line": 460, + "column": 28 + } + } + }, + "range": [ + 14225, + 14245 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 14246, + 14257 + ], + "loc": { + "start": { + "line": 460, + "column": 29 + }, + "end": { + "line": 460, + "column": 40 + } + } + } + ], + "range": [ + 14225, + 14258 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 41 + } + } + }, + "range": [ + 14225, + 14259 + ], + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 14268, + 14276 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 14277, + 14288 + ], + "loc": { + "start": { + "line": 461, + "column": 17 + }, + "end": { + "line": 461, + "column": 28 + } + } + }, + "range": [ + 14268, + 14288 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 14289, + 14300 + ], + "loc": { + "start": { + "line": 461, + "column": 29 + }, + "end": { + "line": 461, + "column": 40 + } + } + } + ], + "range": [ + 14268, + 14301 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 41 + } + } + }, + "range": [ + 14268, + 14302 + ], + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14312, + 14316 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 14317, + 14328 + ], + "loc": { + "start": { + "line": 463, + "column": 13 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "range": [ + 14312, + 14328 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "btnNextSpan", + "range": [ + 14331, + 14342 + ], + "loc": { + "start": { + "line": 463, + "column": 27 + }, + "end": { + "line": 463, + "column": 38 + } + } + }, + "range": [ + 14312, + 14342 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 38 + } + } + }, + "range": [ + 14312, + 14343 + ], + "loc": { + "start": { + "line": 463, + "column": 8 + }, + "end": { + "line": 463, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14352, + 14356 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 14357, + 14368 + ], + "loc": { + "start": { + "line": 464, + "column": 13 + }, + "end": { + "line": 464, + "column": 24 + } + } + }, + "range": [ + 14352, + 14368 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "btnPrevSpan", + "range": [ + 14371, + 14382 + ], + "loc": { + "start": { + "line": 464, + "column": 27 + }, + "end": { + "line": 464, + "column": 38 + } + } + }, + "range": [ + 14352, + 14382 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 38 + } + } + }, + "range": [ + 14352, + 14383 + ], + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14392, + 14396 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 14397, + 14408 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 24 + } + } + }, + "range": [ + 14392, + 14408 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "btnLastSpan", + "range": [ + 14411, + 14422 + ], + "loc": { + "start": { + "line": 465, + "column": 27 + }, + "end": { + "line": 465, + "column": 38 + } + } + }, + "range": [ + 14392, + 14422 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 38 + } + } + }, + "range": [ + 14392, + 14423 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14432, + 14436 + ], + "loc": { + "start": { + "line": 466, + "column": 8 + }, + "end": { + "line": 466, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 14437, + 14449 + ], + "loc": { + "start": { + "line": 466, + "column": 13 + }, + "end": { + "line": 466, + "column": 25 + } + } + }, + "range": [ + 14432, + 14449 + ], + "loc": { + "start": { + "line": 466, + "column": 8 + }, + "end": { + "line": 466, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "btnFirstSpan", + "range": [ + 14452, + 14464 + ], + "loc": { + "start": { + "line": 466, + "column": 28 + }, + "end": { + "line": 466, + "column": 40 + } + } + }, + "range": [ + 14432, + 14464 + ], + "loc": { + "start": { + "line": 466, + "column": 8 + }, + "end": { + "line": 466, + "column": 40 + } + } + }, + "range": [ + 14432, + 14465 + ], + "loc": { + "start": { + "line": 466, + "column": 8 + }, + "end": { + "line": 466, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14474, + 14478 + ], + "loc": { + "start": { + "line": 467, + "column": 8 + }, + "end": { + "line": 467, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 14479, + 14485 + ], + "loc": { + "start": { + "line": 467, + "column": 13 + }, + "end": { + "line": 467, + "column": 19 + } + } + }, + "range": [ + 14474, + 14485 + ], + "loc": { + "start": { + "line": 467, + "column": 8 + }, + "end": { + "line": 467, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "pgSpan", + "range": [ + 14488, + 14494 + ], + "loc": { + "start": { + "line": 467, + "column": 22 + }, + "end": { + "line": 467, + "column": 28 + } + } + }, + "range": [ + 14474, + 14494 + ], + "loc": { + "start": { + "line": 467, + "column": 8 + }, + "end": { + "line": 467, + "column": 28 + } + } + }, + "range": [ + 14474, + 14495 + ], + "loc": { + "start": { + "line": 467, + "column": 8 + }, + "end": { + "line": 467, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14504, + 14508 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgBefore", + "range": [ + 14509, + 14517 + ], + "loc": { + "start": { + "line": 468, + "column": 13 + }, + "end": { + "line": 468, + "column": 21 + } + } + }, + "range": [ + 14504, + 14517 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "pgBeforeSpan", + "range": [ + 14520, + 14532 + ], + "loc": { + "start": { + "line": 468, + "column": 24 + }, + "end": { + "line": 468, + "column": 36 + } + } + }, + "range": [ + 14504, + 14532 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 36 + } + } + }, + "range": [ + 14504, + 14533 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14542, + 14546 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgAfter", + "range": [ + 14547, + 14554 + ], + "loc": { + "start": { + "line": 469, + "column": 13 + }, + "end": { + "line": 469, + "column": 20 + } + } + }, + "range": [ + 14542, + 14554 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "pgAfterSpan", + "range": [ + 14557, + 14568 + ], + "loc": { + "start": { + "line": 469, + "column": 23 + }, + "end": { + "line": 469, + "column": 34 + } + } + }, + "range": [ + 14542, + 14568 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 34 + } + } + }, + "range": [ + 14542, + 14569 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14578, + 14582 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 14583, + 14590 + ], + "loc": { + "start": { + "line": 470, + "column": 13 + }, + "end": { + "line": 470, + "column": 20 + } + } + }, + "range": [ + 14578, + 14590 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "slcPages", + "range": [ + 14593, + 14601 + ], + "loc": { + "start": { + "line": 470, + "column": 23 + }, + "end": { + "line": 470, + "column": 31 + } + } + }, + "range": [ + 14578, + 14601 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 31 + } + } + }, + "range": [ + 14578, + 14602 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14612, + 14616 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPagingInfo", + "range": [ + 14617, + 14630 + ], + "loc": { + "start": { + "line": 472, + "column": 13 + }, + "end": { + "line": 472, + "column": 26 + } + } + }, + "range": [ + 14612, + 14630 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 14612, + 14632 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 28 + } + } + }, + "range": [ + 14612, + 14633 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 29 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14648, + 14650 + ], + "loc": { + "start": { + "line": 474, + "column": 13 + }, + "end": { + "line": 474, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 14651, + 14658 + ], + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 23 + } + } + }, + "range": [ + 14648, + 14658 + ], + "loc": { + "start": { + "line": 474, + "column": 13 + }, + "end": { + "line": 474, + "column": 23 + } + } + }, + "prefix": true, + "range": [ + 14647, + 14658 + ], + "loc": { + "start": { + "line": 474, + "column": 12 + }, + "end": { + "line": 474, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14674, + 14676 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "validateAllRows", + "range": [ + 14677, + 14692 + ], + "loc": { + "start": { + "line": 475, + "column": 15 + }, + "end": { + "line": 475, + "column": 30 + } + } + }, + "range": [ + 14674, + 14692 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 14674, + 14694 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 32 + } + } + }, + "range": [ + 14674, + 14695 + ], + "loc": { + "start": { + "line": 475, + "column": 12 + }, + "end": { + "line": 475, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14708, + 14712 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPagingInfo", + "range": [ + 14713, + 14726 + ], + "loc": { + "start": { + "line": 476, + "column": 17 + }, + "end": { + "line": 476, + "column": 30 + } + } + }, + "range": [ + 14708, + 14726 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 14727, + 14729 + ], + "loc": { + "start": { + "line": 476, + "column": 31 + }, + "end": { + "line": 476, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 14730, + 14744 + ], + "loc": { + "start": { + "line": 476, + "column": 34 + }, + "end": { + "line": 476, + "column": 48 + } + } + }, + "range": [ + 14727, + 14744 + ], + "loc": { + "start": { + "line": 476, + "column": 31 + }, + "end": { + "line": 476, + "column": 48 + } + } + } + ], + "range": [ + 14708, + 14745 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 49 + } + } + }, + "range": [ + 14708, + 14746 + ], + "loc": { + "start": { + "line": 476, + "column": 12 + }, + "end": { + "line": 476, + "column": 50 + } + } + } + ], + "range": [ + 14660, + 14756 + ], + "loc": { + "start": { + "line": 474, + "column": 25 + }, + "end": { + "line": 477, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14643, + 14756 + ], + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 477, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14766, + 14770 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14771, + 14778 + ], + "loc": { + "start": { + "line": 479, + "column": 13 + }, + "end": { + "line": 479, + "column": 20 + } + } + }, + "range": [ + 14766, + 14778 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 14779, + 14781 + ], + "loc": { + "start": { + "line": 479, + "column": 21 + }, + "end": { + "line": 479, + "column": 23 + } + } + }, + "range": [ + 14766, + 14781 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 14783, + 14800 + ], + "loc": { + "start": { + "line": 479, + "column": 25 + }, + "end": { + "line": 479, + "column": 42 + } + } + } + ], + "range": [ + 14782, + 14801 + ], + "loc": { + "start": { + "line": 479, + "column": 24 + }, + "end": { + "line": 479, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14809, + 14813 + ], + "loc": { + "start": { + "line": 479, + "column": 51 + }, + "end": { + "line": 479, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "resetPagingInfo", + "range": [ + 14814, + 14829 + ], + "loc": { + "start": { + "line": 479, + "column": 56 + }, + "end": { + "line": 479, + "column": 71 + } + } + }, + "range": [ + 14809, + 14829 + ], + "loc": { + "start": { + "line": 479, + "column": 51 + }, + "end": { + "line": 479, + "column": 71 + } + } + }, + "arguments": [], + "range": [ + 14809, + 14831 + ], + "loc": { + "start": { + "line": 479, + "column": 51 + }, + "end": { + "line": 479, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14803, + 14831 + ], + "loc": { + "start": { + "line": 479, + "column": 45 + }, + "end": { + "line": 479, + "column": 73 + } + } + } + ], + "range": [ + 14766, + 14832 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 74 + } + } + }, + "range": [ + 14766, + 14833 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14842, + 14846 + ], + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14847, + 14854 + ], + "loc": { + "start": { + "line": 480, + "column": 13 + }, + "end": { + "line": 480, + "column": 20 + } + } + }, + "range": [ + 14842, + 14854 + ], + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 14855, + 14857 + ], + "loc": { + "start": { + "line": 480, + "column": 21 + }, + "end": { + "line": 480, + "column": 23 + } + } + }, + "range": [ + 14842, + 14857 + ], + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "change-page", + "raw": "'change-page'", + "range": [ + 14859, + 14872 + ], + "loc": { + "start": { + "line": 480, + "column": 25 + }, + "end": { + "line": 480, + "column": 38 + } + } + } + ], + "range": [ + 14858, + 14873 + ], + "loc": { + "start": { + "line": 480, + "column": 24 + }, + "end": { + "line": 480, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 14888, + 14890 + ], + "loc": { + "start": { + "line": 481, + "column": 13 + }, + "end": { + "line": 481, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 14892, + 14902 + ], + "loc": { + "start": { + "line": 481, + "column": 17 + }, + "end": { + "line": 481, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14907, + 14911 + ], + "loc": { + "start": { + "line": 481, + "column": 32 + }, + "end": { + "line": 481, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 14912, + 14919 + ], + "loc": { + "start": { + "line": 481, + "column": 37 + }, + "end": { + "line": 481, + "column": 44 + } + } + }, + "range": [ + 14907, + 14919 + ], + "loc": { + "start": { + "line": 481, + "column": 32 + }, + "end": { + "line": 481, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 14920, + 14930 + ], + "loc": { + "start": { + "line": 481, + "column": 45 + }, + "end": { + "line": 481, + "column": 55 + } + } + } + ], + "range": [ + 14907, + 14931 + ], + "loc": { + "start": { + "line": 481, + "column": 32 + }, + "end": { + "line": 481, + "column": 56 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14887, + 14931 + ], + "loc": { + "start": { + "line": 481, + "column": 12 + }, + "end": { + "line": 481, + "column": 56 + } + } + } + ], + "range": [ + 14842, + 14932 + ], + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 481, + "column": 57 + } + } + }, + "range": [ + 14842, + 14933 + ], + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 481, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14942, + 14946 + ], + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14947, + 14954 + ], + "loc": { + "start": { + "line": 482, + "column": 13 + }, + "end": { + "line": 482, + "column": 20 + } + } + }, + "range": [ + 14942, + 14954 + ], + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 14955, + 14957 + ], + "loc": { + "start": { + "line": 482, + "column": 21 + }, + "end": { + "line": 482, + "column": 23 + } + } + }, + "range": [ + 14942, + 14957 + ], + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "change-page-results", + "raw": "'change-page-results'", + "range": [ + 14959, + 14980 + ], + "loc": { + "start": { + "line": 482, + "column": 25 + }, + "end": { + "line": 482, + "column": 46 + } + } + } + ], + "range": [ + 14958, + 14981 + ], + "loc": { + "start": { + "line": 482, + "column": 24 + }, + "end": { + "line": 482, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 14996, + 14998 + ], + "loc": { + "start": { + "line": 483, + "column": 13 + }, + "end": { + "line": 483, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 15000, + 15010 + ], + "loc": { + "start": { + "line": 483, + "column": 17 + }, + "end": { + "line": 483, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15015, + 15019 + ], + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeResultsPerPage", + "range": [ + 15020, + 15040 + ], + "loc": { + "start": { + "line": 483, + "column": 37 + }, + "end": { + "line": 483, + "column": 57 + } + } + }, + "range": [ + 15015, + 15040 + ], + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 15041, + 15051 + ], + "loc": { + "start": { + "line": 483, + "column": 58 + }, + "end": { + "line": 483, + "column": 68 + } + } + } + ], + "range": [ + 15015, + 15052 + ], + "loc": { + "start": { + "line": 483, + "column": 32 + }, + "end": { + "line": 483, + "column": 69 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14995, + 15052 + ], + "loc": { + "start": { + "line": 483, + "column": 12 + }, + "end": { + "line": 483, + "column": 69 + } + } + } + ], + "range": [ + 14942, + 15053 + ], + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 483, + "column": 70 + } + } + }, + "range": [ + 14942, + 15054 + ], + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 483, + "column": 71 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 15064, + 15081 + ], + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15090, + 15094 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 15095, + 15106 + ], + "loc": { + "start": { + "line": 486, + "column": 13 + }, + "end": { + "line": 486, + "column": 24 + } + } + }, + "range": [ + 15090, + 15106 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15109, + 15113 + ], + "loc": { + "start": { + "line": 486, + "column": 27 + }, + "end": { + "line": 486, + "column": 31 + } + } + }, + "range": [ + 15090, + 15113 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 31 + } + } + }, + "range": [ + 15090, + 15114 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 15064, + 15081 + ], + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 9504, + 15120 + ], + "loc": { + "start": { + "line": 335, + "column": 11 + }, + "end": { + "line": 487, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9501, + 15120 + ], + "loc": { + "start": { + "line": 335, + "column": 8 + }, + "end": { + "line": 487, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9497, + 15120 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 487, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 9450, + 9492 + ], + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n ", + "range": [ + 15126, + 15274 + ], + "loc": { + "start": { + "line": 489, + "column": 4 + }, + "end": { + "line": 492, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "reset", + "range": [ + 15279, + 15284 + ], + "loc": { + "start": { + "line": 493, + "column": 4 + }, + "end": { + "line": 493, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "filterTable", + "range": [ + 15285, + 15296 + ], + "loc": { + "start": { + "line": 493, + "column": 10 + }, + "end": { + "line": 493, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 15299, + 15304 + ], + "loc": { + "start": { + "line": 493, + "column": 24 + }, + "end": { + "line": 493, + "column": 29 + } + } + }, + "range": [ + 15285, + 15304 + ], + "loc": { + "start": { + "line": 493, + "column": 10 + }, + "end": { + "line": 493, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15316, + 15320 + ], + "loc": { + "start": { + "line": 494, + "column": 8 + }, + "end": { + "line": 494, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 15321, + 15327 + ], + "loc": { + "start": { + "line": 494, + "column": 13 + }, + "end": { + "line": 494, + "column": 19 + } + } + }, + "range": [ + 15316, + 15327 + ], + "loc": { + "start": { + "line": 494, + "column": 8 + }, + "end": { + "line": 494, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 15316, + 15329 + ], + "loc": { + "start": { + "line": 494, + "column": 8 + }, + "end": { + "line": 494, + "column": 21 + } + } + }, + "range": [ + 15316, + 15330 + ], + "loc": { + "start": { + "line": 494, + "column": 8 + }, + "end": { + "line": 494, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15339, + 15343 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 495, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 15344, + 15348 + ], + "loc": { + "start": { + "line": 495, + "column": 13 + }, + "end": { + "line": 495, + "column": 17 + } + } + }, + "range": [ + 15339, + 15348 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 495, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 15339, + 15350 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 495, + "column": 19 + } + } + }, + "range": [ + 15339, + 15351 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 495, + "column": 20 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "filterTable", + "range": [ + 15365, + 15376 + ], + "loc": { + "start": { + "line": 497, + "column": 12 + }, + "end": { + "line": 497, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15392, + 15396 + ], + "loc": { + "start": { + "line": 498, + "column": 12 + }, + "end": { + "line": 498, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 15397, + 15399 + ], + "loc": { + "start": { + "line": 498, + "column": 17 + }, + "end": { + "line": 498, + "column": 19 + } + } + }, + "range": [ + 15392, + 15399 + ], + "loc": { + "start": { + "line": 498, + "column": 12 + }, + "end": { + "line": 498, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 15400, + 15406 + ], + "loc": { + "start": { + "line": 498, + "column": 20 + }, + "end": { + "line": 498, + "column": 26 + } + } + }, + "range": [ + 15392, + 15406 + ], + "loc": { + "start": { + "line": 498, + "column": 12 + }, + "end": { + "line": 498, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 15392, + 15408 + ], + "loc": { + "start": { + "line": 498, + "column": 12 + }, + "end": { + "line": 498, + "column": 28 + } + } + }, + "range": [ + 15392, + 15409 + ], + "loc": { + "start": { + "line": 498, + "column": 12 + }, + "end": { + "line": 498, + "column": 29 + } + } + } + ], + "range": [ + 15378, + 15419 + ], + "loc": { + "start": { + "line": 497, + "column": 25 + }, + "end": { + "line": 499, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 15361, + 15419 + ], + "loc": { + "start": { + "line": 497, + "column": 8 + }, + "end": { + "line": 499, + "column": 9 + } + } + } + ], + "range": [ + 15306, + 15425 + ], + "loc": { + "start": { + "line": 493, + "column": 31 + }, + "end": { + "line": 500, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15284, + 15425 + ], + "loc": { + "start": { + "line": 493, + "column": 9 + }, + "end": { + "line": 500, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15279, + 15425 + ], + "loc": { + "start": { + "line": 493, + "column": 4 + }, + "end": { + "line": 500, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n ", + "range": [ + 15126, + 15274 + ], + "loc": { + "start": { + "line": 489, + "column": 4 + }, + "end": { + "line": 492, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reset paging info from scratch after a filtering process\n ", + "range": [ + 15431, + 15506 + ], + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 504, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "resetPagingInfo", + "range": [ + 15511, + 15526 + ], + "loc": { + "start": { + "line": 505, + "column": 4 + }, + "end": { + "line": 505, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15539, + 15543 + ], + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 506, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 15544, + 15558 + ], + "loc": { + "start": { + "line": 506, + "column": 13 + }, + "end": { + "line": 506, + "column": 27 + } + } + }, + "range": [ + 15539, + 15558 + ], + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 506, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 15561, + 15562 + ], + "loc": { + "start": { + "line": 506, + "column": 30 + }, + "end": { + "line": 506, + "column": 31 + } + } + }, + "range": [ + 15539, + 15562 + ], + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 506, + "column": 31 + } + } + }, + "range": [ + 15539, + 15563 + ], + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 506, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15572, + 15576 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 15577, + 15590 + ], + "loc": { + "start": { + "line": 507, + "column": 13 + }, + "end": { + "line": 507, + "column": 26 + } + } + }, + "range": [ + 15572, + 15590 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 15593, + 15594 + ], + "loc": { + "start": { + "line": 507, + "column": 29 + }, + "end": { + "line": 507, + "column": 30 + } + } + }, + "range": [ + 15572, + 15594 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 30 + } + } + }, + "range": [ + 15572, + 15595 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 507, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15604, + 15608 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPagingInfo", + "range": [ + 15609, + 15622 + ], + "loc": { + "start": { + "line": 508, + "column": 13 + }, + "end": { + "line": 508, + "column": 26 + } + } + }, + "range": [ + 15604, + 15622 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15623, + 15627 + ], + "loc": { + "start": { + "line": 508, + "column": 27 + }, + "end": { + "line": 508, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 15628, + 15630 + ], + "loc": { + "start": { + "line": 508, + "column": 32 + }, + "end": { + "line": 508, + "column": 34 + } + } + }, + "range": [ + 15623, + 15630 + ], + "loc": { + "start": { + "line": 508, + "column": 27 + }, + "end": { + "line": 508, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 15631, + 15645 + ], + "loc": { + "start": { + "line": 508, + "column": 35 + }, + "end": { + "line": 508, + "column": 49 + } + } + }, + "range": [ + 15623, + 15645 + ], + "loc": { + "start": { + "line": 508, + "column": 27 + }, + "end": { + "line": 508, + "column": 49 + } + } + } + ], + "range": [ + 15604, + 15646 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 50 + } + } + }, + "range": [ + 15604, + 15647 + ], + "loc": { + "start": { + "line": 508, + "column": 8 + }, + "end": { + "line": 508, + "column": 51 + } + } + } + ], + "range": [ + 15529, + 15653 + ], + "loc": { + "start": { + "line": 505, + "column": 22 + }, + "end": { + "line": 509, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15526, + 15653 + ], + "loc": { + "start": { + "line": 505, + "column": 19 + }, + "end": { + "line": 509, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15511, + 15653 + ], + "loc": { + "start": { + "line": 505, + "column": 4 + }, + "end": { + "line": 509, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reset paging info from scratch after a filtering process\n ", + "range": [ + 15431, + 15506 + ], + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 504, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 15659, + 15838 + ], + "loc": { + "start": { + "line": 511, + "column": 4 + }, + "end": { + "line": 515, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setPagingInfo", + "range": [ + 15843, + 15856 + ], + "loc": { + "start": { + "line": 516, + "column": 4 + }, + "end": { + "line": 516, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "validRows", + "range": [ + 15857, + 15866 + ], + "loc": { + "start": { + "line": 516, + "column": 18 + }, + "end": { + "line": 516, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 15882, + 15884 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15887, + 15891 + ], + "loc": { + "start": { + "line": 517, + "column": 17 + }, + "end": { + "line": 517, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 15892, + 15894 + ], + "loc": { + "start": { + "line": 517, + "column": 22 + }, + "end": { + "line": 517, + "column": 24 + } + } + }, + "range": [ + 15887, + 15894 + ], + "loc": { + "start": { + "line": 517, + "column": 17 + }, + "end": { + "line": 517, + "column": 24 + } + } + }, + "range": [ + 15882, + 15894 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 15878, + 15895 + ], + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "mdiv", + "range": [ + 15908, + 15912 + ], + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 16 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15916, + 15920 + ], + "loc": { + "start": { + "line": 518, + "column": 20 + }, + "end": { + "line": 518, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 15921, + 15926 + ], + "loc": { + "start": { + "line": 518, + "column": 25 + }, + "end": { + "line": 518, + "column": 30 + } + } + }, + "range": [ + 15916, + 15926 + ], + "loc": { + "start": { + "line": 518, + "column": 20 + }, + "end": { + "line": 518, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 15915, + 15926 + ], + "loc": { + "start": { + "line": 518, + "column": 19 + }, + "end": { + "line": 518, + "column": 30 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 15929, + 15931 + ], + "loc": { + "start": { + "line": 518, + "column": 33 + }, + "end": { + "line": 518, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 15932, + 15936 + ], + "loc": { + "start": { + "line": 518, + "column": 36 + }, + "end": { + "line": 518, + "column": 40 + } + } + }, + "range": [ + 15929, + 15936 + ], + "loc": { + "start": { + "line": 518, + "column": 33 + }, + "end": { + "line": 518, + "column": 40 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 15939, + 15942 + ], + "loc": { + "start": { + "line": 518, + "column": 43 + }, + "end": { + "line": 518, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15943, + 15947 + ], + "loc": { + "start": { + "line": 518, + "column": 47 + }, + "end": { + "line": 518, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "tgtId", + "range": [ + 15948, + 15953 + ], + "loc": { + "start": { + "line": 518, + "column": 52 + }, + "end": { + "line": 518, + "column": 57 + } + } + }, + "range": [ + 15943, + 15953 + ], + "loc": { + "start": { + "line": 518, + "column": 47 + }, + "end": { + "line": 518, + "column": 57 + } + } + } + ], + "range": [ + 15939, + 15954 + ], + "loc": { + "start": { + "line": 518, + "column": 43 + }, + "end": { + "line": 518, + "column": 58 + } + } + }, + "range": [ + 15915, + 15954 + ], + "loc": { + "start": { + "line": 518, + "column": 19 + }, + "end": { + "line": 518, + "column": 58 + } + } + }, + "range": [ + 15908, + 15954 + ], + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 15904, + 15955 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 518, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 15965, + 15991 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16000, + 16002 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 16003, + 16017 + ], + "loc": { + "start": { + "line": 521, + "column": 11 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + "range": [ + 16000, + 16017 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "validRows", + "range": [ + 16020, + 16029 + ], + "loc": { + "start": { + "line": 521, + "column": 28 + }, + "end": { + "line": 521, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16033, + 16035 + ], + "loc": { + "start": { + "line": 521, + "column": 41 + }, + "end": { + "line": 521, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 16036, + 16048 + ], + "loc": { + "start": { + "line": 521, + "column": 44 + }, + "end": { + "line": 521, + "column": 56 + } + } + }, + "range": [ + 16033, + 16048 + ], + "loc": { + "start": { + "line": 521, + "column": 41 + }, + "end": { + "line": 521, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 16049, + 16053 + ], + "loc": { + "start": { + "line": 521, + "column": 57 + }, + "end": { + "line": 521, + "column": 61 + } + } + } + ], + "range": [ + 16033, + 16054 + ], + "loc": { + "start": { + "line": 521, + "column": 41 + }, + "end": { + "line": 521, + "column": 62 + } + } + }, + "range": [ + 16020, + 16054 + ], + "loc": { + "start": { + "line": 521, + "column": 28 + }, + "end": { + "line": 521, + "column": 62 + } + } + }, + "range": [ + 16000, + 16054 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 62 + } + } + }, + "range": [ + 16000, + 16055 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 15965, + 15991 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "calculate nb of pages", + "range": [ + 16065, + 16088 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16097, + 16101 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 16102, + 16109 + ], + "loc": { + "start": { + "line": 524, + "column": 13 + }, + "end": { + "line": 524, + "column": 20 + } + } + }, + "range": [ + 16097, + 16109 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Math", + "range": [ + 16112, + 16116 + ], + "loc": { + "start": { + "line": 524, + "column": 23 + }, + "end": { + "line": 524, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "ceil", + "range": [ + 16117, + 16121 + ], + "loc": { + "start": { + "line": 524, + "column": 28 + }, + "end": { + "line": 524, + "column": 32 + } + } + }, + "range": [ + 16112, + 16121 + ], + "loc": { + "start": { + "line": 524, + "column": 23 + }, + "end": { + "line": 524, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "/", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 16122, + 16124 + ], + "loc": { + "start": { + "line": 524, + "column": 33 + }, + "end": { + "line": 524, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 16125, + 16139 + ], + "loc": { + "start": { + "line": 524, + "column": 36 + }, + "end": { + "line": 524, + "column": 50 + } + } + }, + "range": [ + 16122, + 16139 + ], + "loc": { + "start": { + "line": 524, + "column": 33 + }, + "end": { + "line": 524, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 16140, + 16146 + ], + "loc": { + "start": { + "line": 524, + "column": 51 + }, + "end": { + "line": 524, + "column": 57 + } + } + }, + "range": [ + 16122, + 16146 + ], + "loc": { + "start": { + "line": 524, + "column": 33 + }, + "end": { + "line": 524, + "column": 57 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16149, + 16153 + ], + "loc": { + "start": { + "line": 524, + "column": 60 + }, + "end": { + "line": 524, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 16154, + 16164 + ], + "loc": { + "start": { + "line": 524, + "column": 65 + }, + "end": { + "line": 524, + "column": 75 + } + } + }, + "range": [ + 16149, + 16164 + ], + "loc": { + "start": { + "line": 524, + "column": 60 + }, + "end": { + "line": 524, + "column": 75 + } + } + }, + "range": [ + 16122, + 16164 + ], + "loc": { + "start": { + "line": 524, + "column": 33 + }, + "end": { + "line": 524, + "column": 75 + } + } + } + ], + "range": [ + 16112, + 16165 + ], + "loc": { + "start": { + "line": 524, + "column": 23 + }, + "end": { + "line": 524, + "column": 76 + } + } + }, + "range": [ + 16097, + 16165 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 76 + } + } + }, + "range": [ + 16097, + 16166 + ], + "loc": { + "start": { + "line": 524, + "column": 8 + }, + "end": { + "line": 524, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "calculate nb of pages", + "range": [ + 16065, + 16088 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "refresh page nb span", + "range": [ + 16175, + 16197 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16206, + 16210 + ], + "loc": { + "start": { + "line": 526, + "column": 8 + }, + "end": { + "line": 526, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 16211, + 16217 + ], + "loc": { + "start": { + "line": 526, + "column": 13 + }, + "end": { + "line": 526, + "column": 19 + } + } + }, + "range": [ + 16206, + 16217 + ], + "loc": { + "start": { + "line": 526, + "column": 8 + }, + "end": { + "line": 526, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 16218, + 16227 + ], + "loc": { + "start": { + "line": 526, + "column": 20 + }, + "end": { + "line": 526, + "column": 29 + } + } + }, + "range": [ + 16206, + 16227 + ], + "loc": { + "start": { + "line": 526, + "column": 8 + }, + "end": { + "line": 526, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16230, + 16234 + ], + "loc": { + "start": { + "line": 526, + "column": 32 + }, + "end": { + "line": 526, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 16235, + 16242 + ], + "loc": { + "start": { + "line": 526, + "column": 37 + }, + "end": { + "line": 526, + "column": 44 + } + } + }, + "range": [ + 16230, + 16242 + ], + "loc": { + "start": { + "line": 526, + "column": 32 + }, + "end": { + "line": 526, + "column": 44 + } + } + }, + "range": [ + 16206, + 16242 + ], + "loc": { + "start": { + "line": 526, + "column": 8 + }, + "end": { + "line": 526, + "column": 44 + } + } + }, + "range": [ + 16206, + 16243 + ], + "loc": { + "start": { + "line": 526, + "column": 8 + }, + "end": { + "line": 526, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "refresh page nb span", + "range": [ + 16175, + 16197 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 30 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "select clearing shortcut", + "range": [ + 16252, + 16278 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16291, + 16295 + ], + "loc": { + "start": { + "line": 528, + "column": 12 + }, + "end": { + "line": 528, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 16296, + 16312 + ], + "loc": { + "start": { + "line": 528, + "column": 17 + }, + "end": { + "line": 528, + "column": 33 + } + } + }, + "range": [ + 16291, + 16312 + ], + "loc": { + "start": { + "line": 528, + "column": 12 + }, + "end": { + "line": 528, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 16317, + 16323 + ], + "loc": { + "start": { + "line": 528, + "column": 38 + }, + "end": { + "line": 528, + "column": 44 + } + } + }, + "range": [ + 16291, + 16323 + ], + "loc": { + "start": { + "line": 528, + "column": 12 + }, + "end": { + "line": 528, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16339, + 16343 + ], + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 16344, + 16351 + ], + "loc": { + "start": { + "line": 529, + "column": 17 + }, + "end": { + "line": 529, + "column": 24 + } + } + }, + "range": [ + 16339, + 16351 + ], + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 16352, + 16361 + ], + "loc": { + "start": { + "line": 529, + "column": 25 + }, + "end": { + "line": 529, + "column": 34 + } + } + }, + "range": [ + 16339, + 16361 + ], + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 16364, + 16366 + ], + "loc": { + "start": { + "line": 529, + "column": 37 + }, + "end": { + "line": 529, + "column": 39 + } + } + }, + "range": [ + 16339, + 16366 + ], + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 39 + } + } + }, + "range": [ + 16339, + 16367 + ], + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 40 + } + } + } + ], + "range": [ + 16325, + 16377 + ], + "loc": { + "start": { + "line": 528, + "column": 46 + }, + "end": { + "line": 530, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 16287, + 16377 + ], + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 530, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "select clearing shortcut", + "range": [ + 16252, + 16278 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16391, + 16395 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 16396, + 16403 + ], + "loc": { + "start": { + "line": 532, + "column": 17 + }, + "end": { + "line": 532, + "column": 24 + } + } + }, + "range": [ + 16391, + 16403 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 16406, + 16407 + ], + "loc": { + "start": { + "line": 532, + "column": 27 + }, + "end": { + "line": 532, + "column": 28 + } + } + }, + "range": [ + 16391, + 16407 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "mdiv", + "range": [ + 16423, + 16427 + ], + "loc": { + "start": { + "line": 533, + "column": 12 + }, + "end": { + "line": 533, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 16428, + 16433 + ], + "loc": { + "start": { + "line": 533, + "column": 17 + }, + "end": { + "line": 533, + "column": 22 + } + } + }, + "range": [ + 16423, + 16433 + ], + "loc": { + "start": { + "line": 533, + "column": 12 + }, + "end": { + "line": 533, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibility", + "range": [ + 16434, + 16444 + ], + "loc": { + "start": { + "line": 533, + "column": 23 + }, + "end": { + "line": 533, + "column": 33 + } + } + }, + "range": [ + 16423, + 16444 + ], + "loc": { + "start": { + "line": 533, + "column": 12 + }, + "end": { + "line": 533, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": "visible", + "raw": "'visible'", + "range": [ + 16447, + 16456 + ], + "loc": { + "start": { + "line": 533, + "column": 36 + }, + "end": { + "line": 533, + "column": 45 + } + } + }, + "range": [ + 16423, + 16456 + ], + "loc": { + "start": { + "line": 533, + "column": 12 + }, + "end": { + "line": 533, + "column": 45 + } + } + }, + "range": [ + 16423, + 16457 + ], + "loc": { + "start": { + "line": 533, + "column": 12 + }, + "end": { + "line": 533, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16474, + 16478 + ], + "loc": { + "start": { + "line": 534, + "column": 16 + }, + "end": { + "line": 534, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 16479, + 16495 + ], + "loc": { + "start": { + "line": 534, + "column": 21 + }, + "end": { + "line": 534, + "column": 37 + } + } + }, + "range": [ + 16474, + 16495 + ], + "loc": { + "start": { + "line": 534, + "column": 16 + }, + "end": { + "line": 534, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 16500, + 16506 + ], + "loc": { + "start": { + "line": 534, + "column": 42 + }, + "end": { + "line": 534, + "column": 48 + } + } + }, + "range": [ + 16474, + 16506 + ], + "loc": { + "start": { + "line": 534, + "column": 16 + }, + "end": { + "line": 534, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "z", + "range": [ + 16535, + 16536 + ], + "loc": { + "start": { + "line": 535, + "column": 25 + }, + "end": { + "line": 535, + "column": 26 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 16539, + 16540 + ], + "loc": { + "start": { + "line": 535, + "column": 29 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + "range": [ + 16535, + 16540 + ], + "loc": { + "start": { + "line": 535, + "column": 25 + }, + "end": { + "line": 535, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 16531, + 16540 + ], + "loc": { + "start": { + "line": 535, + "column": 21 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 16542, + 16543 + ], + "loc": { + "start": { + "line": 535, + "column": 32 + }, + "end": { + "line": 535, + "column": 33 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16546, + 16550 + ], + "loc": { + "start": { + "line": 535, + "column": 36 + }, + "end": { + "line": 535, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 16551, + 16558 + ], + "loc": { + "start": { + "line": 535, + "column": 41 + }, + "end": { + "line": 535, + "column": 48 + } + } + }, + "range": [ + 16546, + 16558 + ], + "loc": { + "start": { + "line": 535, + "column": 36 + }, + "end": { + "line": 535, + "column": 48 + } + } + }, + "range": [ + 16542, + 16558 + ], + "loc": { + "start": { + "line": 535, + "column": 32 + }, + "end": { + "line": 535, + "column": 48 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "z", + "range": [ + 16560, + 16561 + ], + "loc": { + "start": { + "line": 535, + "column": 50 + }, + "end": { + "line": 535, + "column": 51 + } + } + }, + "prefix": false, + "range": [ + 16560, + 16563 + ], + "loc": { + "start": { + "line": 535, + "column": 50 + }, + "end": { + "line": 535, + "column": 53 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt", + "range": [ + 16591, + 16594 + ], + "loc": { + "start": { + "line": 536, + "column": 24 + }, + "end": { + "line": 536, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 16597, + 16606 + ], + "loc": { + "start": { + "line": 536, + "column": 30 + }, + "end": { + "line": 536, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 16607, + 16608 + ], + "loc": { + "start": { + "line": 536, + "column": 40 + }, + "end": { + "line": 536, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 16611, + 16612 + ], + "loc": { + "start": { + "line": 536, + "column": 44 + }, + "end": { + "line": 536, + "column": 45 + } + } + }, + "range": [ + 16607, + 16612 + ], + "loc": { + "start": { + "line": 536, + "column": 40 + }, + "end": { + "line": 536, + "column": 45 + } + } + }, + { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "z", + "range": [ + 16614, + 16615 + ], + "loc": { + "start": { + "line": 536, + "column": 47 + }, + "end": { + "line": 536, + "column": 48 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16618, + 16622 + ], + "loc": { + "start": { + "line": 536, + "column": 51 + }, + "end": { + "line": 536, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 16623, + 16633 + ], + "loc": { + "start": { + "line": 536, + "column": 56 + }, + "end": { + "line": 536, + "column": 66 + } + } + }, + "range": [ + 16618, + 16633 + ], + "loc": { + "start": { + "line": 536, + "column": 51 + }, + "end": { + "line": 536, + "column": 66 + } + } + }, + "range": [ + 16614, + 16633 + ], + "loc": { + "start": { + "line": 536, + "column": 47 + }, + "end": { + "line": 536, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 16635, + 16640 + ], + "loc": { + "start": { + "line": 536, + "column": 68 + }, + "end": { + "line": 536, + "column": 73 + } + } + } + ], + "range": [ + 16597, + 16641 + ], + "loc": { + "start": { + "line": 536, + "column": 30 + }, + "end": { + "line": 536, + "column": 74 + } + } + }, + "range": [ + 16591, + 16641 + ], + "loc": { + "start": { + "line": 536, + "column": 24 + }, + "end": { + "line": 536, + "column": 74 + } + } + } + ], + "kind": "let", + "range": [ + 16587, + 16642 + ], + "loc": { + "start": { + "line": 536, + "column": 20 + }, + "end": { + "line": 536, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16663, + 16667 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 16668, + 16675 + ], + "loc": { + "start": { + "line": 537, + "column": 25 + }, + "end": { + "line": 537, + "column": 32 + } + } + }, + "range": [ + 16663, + 16675 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 16676, + 16683 + ], + "loc": { + "start": { + "line": 537, + "column": 33 + }, + "end": { + "line": 537, + "column": 40 + } + } + }, + "range": [ + 16663, + 16683 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "z", + "range": [ + 16684, + 16685 + ], + "loc": { + "start": { + "line": 537, + "column": 41 + }, + "end": { + "line": 537, + "column": 42 + } + } + }, + "range": [ + 16663, + 16686 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 43 + } + } + }, + "right": { + "type": "Identifier", + "name": "opt", + "range": [ + 16689, + 16692 + ], + "loc": { + "start": { + "line": 537, + "column": 46 + }, + "end": { + "line": 537, + "column": 49 + } + } + }, + "range": [ + 16663, + 16692 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 49 + } + } + }, + "range": [ + 16663, + 16693 + ], + "loc": { + "start": { + "line": 537, + "column": 20 + }, + "end": { + "line": 537, + "column": 50 + } + } + } + ], + "range": [ + 16565, + 16711 + ], + "loc": { + "start": { + "line": 535, + "column": 55 + }, + "end": { + "line": 538, + "column": 17 + } + } + }, + "range": [ + 16526, + 16711 + ], + "loc": { + "start": { + "line": 535, + "column": 16 + }, + "end": { + "line": 538, + "column": 17 + } + } + } + ], + "range": [ + 16508, + 16725 + ], + "loc": { + "start": { + "line": 534, + "column": 50 + }, + "end": { + "line": 539, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16778, + 16782 + ], + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 16783, + 16790 + ], + "loc": { + "start": { + "line": 541, + "column": 21 + }, + "end": { + "line": 541, + "column": 28 + } + } + }, + "range": [ + 16778, + 16790 + ], + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 16791, + 16796 + ], + "loc": { + "start": { + "line": 541, + "column": 29 + }, + "end": { + "line": 541, + "column": 34 + } + } + }, + "range": [ + 16778, + 16796 + ], + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 34 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16799, + 16803 + ], + "loc": { + "start": { + "line": 541, + "column": 37 + }, + "end": { + "line": 541, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 16804, + 16817 + ], + "loc": { + "start": { + "line": 541, + "column": 42 + }, + "end": { + "line": 541, + "column": 55 + } + } + }, + "range": [ + 16799, + 16817 + ], + "loc": { + "start": { + "line": 541, + "column": 37 + }, + "end": { + "line": 541, + "column": 55 + } + } + }, + "range": [ + 16778, + 16817 + ], + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 55 + } + } + }, + "range": [ + 16778, + 16818 + ], + "loc": { + "start": { + "line": 541, + "column": 16 + }, + "end": { + "line": 541, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "input type", + "range": [ + 16749, + 16761 + ], + "loc": { + "start": { + "line": 540, + "column": 16 + }, + "end": { + "line": 540, + "column": 28 + } + } + } + ] + } + ], + "range": [ + 16731, + 16832 + ], + "loc": { + "start": { + "line": 539, + "column": 19 + }, + "end": { + "line": 542, + "column": 13 + } + } + }, + "range": [ + 16470, + 16832 + ], + "loc": { + "start": { + "line": 534, + "column": 12 + }, + "end": { + "line": 542, + "column": 13 + } + } + } + ], + "range": [ + 16409, + 16843 + ], + "loc": { + "start": { + "line": 532, + "column": 30 + }, + "end": { + "line": 544, + "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": "mdiv", + "range": [ + 16936, + 16940 + ], + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 16941, + 16946 + ], + "loc": { + "start": { + "line": 546, + "column": 17 + }, + "end": { + "line": 546, + "column": 22 + } + } + }, + "range": [ + 16936, + 16946 + ], + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibility", + "range": [ + 16947, + 16957 + ], + "loc": { + "start": { + "line": 546, + "column": 23 + }, + "end": { + "line": 546, + "column": 33 + } + } + }, + "range": [ + 16936, + 16957 + ], + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": "hidden", + "raw": "'hidden'", + "range": [ + 16960, + 16968 + ], + "loc": { + "start": { + "line": 546, + "column": 36 + }, + "end": { + "line": 546, + "column": 44 + } + } + }, + "range": [ + 16936, + 16968 + ], + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 44 + } + } + }, + "range": [ + 16936, + 16969 + ], + "loc": { + "start": { + "line": 546, + "column": 12 + }, + "end": { + "line": 546, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** if no results paging select and buttons are hidden **", + "range": [ + 16863, + 16923 + ], + "loc": { + "start": { + "line": 545, + "column": 12 + }, + "end": { + "line": 545, + "column": 72 + } + } + } + ] + } + ], + "range": [ + 16849, + 16979 + ], + "loc": { + "start": { + "line": 544, + "column": 15 + }, + "end": { + "line": 547, + "column": 9 + } + } + }, + "range": [ + 16387, + 16979 + ], + "loc": { + "start": { + "line": 532, + "column": 8 + }, + "end": { + "line": 547, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16988, + 16992 + ], + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 548, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "groupByPage", + "range": [ + 16993, + 17004 + ], + "loc": { + "start": { + "line": 548, + "column": 13 + }, + "end": { + "line": 548, + "column": 24 + } + } + }, + "range": [ + 16988, + 17004 + ], + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 548, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17005, + 17007 + ], + "loc": { + "start": { + "line": 548, + "column": 25 + }, + "end": { + "line": 548, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 17008, + 17022 + ], + "loc": { + "start": { + "line": 548, + "column": 28 + }, + "end": { + "line": 548, + "column": 42 + } + } + }, + "range": [ + 17005, + 17022 + ], + "loc": { + "start": { + "line": 548, + "column": 25 + }, + "end": { + "line": 548, + "column": 42 + } + } + } + ], + "range": [ + 16988, + 17023 + ], + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 548, + "column": 43 + } + } + }, + "range": [ + 16988, + 17024 + ], + "loc": { + "start": { + "line": 548, + "column": 8 + }, + "end": { + "line": 548, + "column": 44 + } + } + } + ], + "range": [ + 15868, + 17030 + ], + "loc": { + "start": { + "line": 516, + "column": 29 + }, + "end": { + "line": 549, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 15856, + 17030 + ], + "loc": { + "start": { + "line": 516, + "column": 17 + }, + "end": { + "line": 549, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 15843, + 17030 + ], + "loc": { + "start": { + "line": 516, + "column": 4 + }, + "end": { + "line": 549, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 15659, + 15838 + ], + "loc": { + "start": { + "line": 511, + "column": 4 + }, + "end": { + "line": 515, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Group table rows by page and display valid rows\n * @param {Array} validRows Collection of valid rows\n ", + "range": [ + 17036, + 17160 + ], + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 554, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "groupByPage", + "range": [ + 17165, + 17176 + ], + "loc": { + "start": { + "line": 555, + "column": 4 + }, + "end": { + "line": 555, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "validRows", + "range": [ + 17177, + 17186 + ], + "loc": { + "start": { + "line": 555, + "column": 16 + }, + "end": { + "line": 555, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 17202, + 17204 + ], + "loc": { + "start": { + "line": 556, + "column": 12 + }, + "end": { + "line": 556, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17207, + 17211 + ], + "loc": { + "start": { + "line": 556, + "column": 17 + }, + "end": { + "line": 556, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 17212, + 17214 + ], + "loc": { + "start": { + "line": 556, + "column": 22 + }, + "end": { + "line": 556, + "column": 24 + } + } + }, + "range": [ + 17207, + 17214 + ], + "loc": { + "start": { + "line": 556, + "column": 17 + }, + "end": { + "line": 556, + "column": 24 + } + } + }, + "range": [ + 17202, + 17214 + ], + "loc": { + "start": { + "line": 556, + "column": 12 + }, + "end": { + "line": 556, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 17198, + 17215 + ], + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 556, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 17228, + 17232 + ], + "loc": { + "start": { + "line": 557, + "column": 12 + }, + "end": { + "line": 557, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17235, + 17237 + ], + "loc": { + "start": { + "line": 557, + "column": 19 + }, + "end": { + "line": 557, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 17238, + 17241 + ], + "loc": { + "start": { + "line": 557, + "column": 22 + }, + "end": { + "line": 557, + "column": 25 + } + } + }, + "range": [ + 17235, + 17241 + ], + "loc": { + "start": { + "line": 557, + "column": 19 + }, + "end": { + "line": 557, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 17235, + 17243 + ], + "loc": { + "start": { + "line": 557, + "column": 19 + }, + "end": { + "line": 557, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 17244, + 17248 + ], + "loc": { + "start": { + "line": 557, + "column": 28 + }, + "end": { + "line": 557, + "column": 32 + } + } + }, + "range": [ + 17235, + 17248 + ], + "loc": { + "start": { + "line": 557, + "column": 19 + }, + "end": { + "line": 557, + "column": 32 + } + } + }, + "range": [ + 17228, + 17248 + ], + "loc": { + "start": { + "line": 557, + "column": 12 + }, + "end": { + "line": 557, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 17224, + 17249 + ], + "loc": { + "start": { + "line": 557, + "column": 8 + }, + "end": { + "line": 557, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 17262, + 17276 + ], + "loc": { + "start": { + "line": 558, + "column": 12 + }, + "end": { + "line": 558, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 17279, + 17287 + ], + "loc": { + "start": { + "line": 558, + "column": 29 + }, + "end": { + "line": 558, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17288, + 17292 + ], + "loc": { + "start": { + "line": 558, + "column": 38 + }, + "end": { + "line": 558, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 17293, + 17307 + ], + "loc": { + "start": { + "line": 558, + "column": 43 + }, + "end": { + "line": 558, + "column": 57 + } + } + }, + "range": [ + 17288, + 17307 + ], + "loc": { + "start": { + "line": 558, + "column": 38 + }, + "end": { + "line": 558, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 17309, + 17311 + ], + "loc": { + "start": { + "line": 558, + "column": 59 + }, + "end": { + "line": 558, + "column": 61 + } + } + } + ], + "range": [ + 17279, + 17312 + ], + "loc": { + "start": { + "line": 558, + "column": 29 + }, + "end": { + "line": 558, + "column": 62 + } + } + }, + "range": [ + 17262, + 17312 + ], + "loc": { + "start": { + "line": 558, + "column": 12 + }, + "end": { + "line": 558, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 17258, + 17313 + ], + "loc": { + "start": { + "line": 558, + "column": 8 + }, + "end": { + "line": 558, + "column": 63 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "endPagingRow", + "range": [ + 17326, + 17338 + ], + "loc": { + "start": { + "line": 559, + "column": 12 + }, + "end": { + "line": 559, + "column": 24 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 17341, + 17355 + ], + "loc": { + "start": { + "line": 559, + "column": 27 + }, + "end": { + "line": 559, + "column": 41 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 17358, + 17366 + ], + "loc": { + "start": { + "line": 559, + "column": 44 + }, + "end": { + "line": 559, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17367, + 17371 + ], + "loc": { + "start": { + "line": 559, + "column": 53 + }, + "end": { + "line": 559, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 17372, + 17382 + ], + "loc": { + "start": { + "line": 559, + "column": 58 + }, + "end": { + "line": 559, + "column": 68 + } + } + }, + "range": [ + 17367, + 17382 + ], + "loc": { + "start": { + "line": 559, + "column": 53 + }, + "end": { + "line": 559, + "column": 68 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 17384, + 17386 + ], + "loc": { + "start": { + "line": 559, + "column": 70 + }, + "end": { + "line": 559, + "column": 72 + } + } + } + ], + "range": [ + 17358, + 17387 + ], + "loc": { + "start": { + "line": 559, + "column": 44 + }, + "end": { + "line": 559, + "column": 73 + } + } + }, + "range": [ + 17341, + 17387 + ], + "loc": { + "start": { + "line": 559, + "column": 27 + }, + "end": { + "line": 559, + "column": 73 + } + } + }, + "range": [ + 17326, + 17387 + ], + "loc": { + "start": { + "line": 559, + "column": 12 + }, + "end": { + "line": 559, + "column": 73 + } + } + } + ], + "kind": "let", + "range": [ + 17322, + 17388 + ], + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 559, + "column": 74 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 17398, + 17424 + ], + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 561, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "validRows", + "range": [ + 17437, + 17446 + ], + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17462, + 17464 + ], + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 17465, + 17479 + ], + "loc": { + "start": { + "line": 563, + "column": 15 + }, + "end": { + "line": 563, + "column": 29 + } + } + }, + "range": [ + 17462, + 17479 + ], + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "validRows", + "range": [ + 17482, + 17491 + ], + "loc": { + "start": { + "line": 563, + "column": 32 + }, + "end": { + "line": 563, + "column": 41 + } + } + }, + "range": [ + 17462, + 17491 + ], + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 41 + } + } + }, + "range": [ + 17462, + 17492 + ], + "loc": { + "start": { + "line": 563, + "column": 12 + }, + "end": { + "line": 563, + "column": 42 + } + } + } + ], + "range": [ + 17448, + 17502 + ], + "loc": { + "start": { + "line": 562, + "column": 23 + }, + "end": { + "line": 564, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 17433, + 17502 + ], + "loc": { + "start": { + "line": 562, + "column": 8 + }, + "end": { + "line": 564, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 17398, + 17424 + ], + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 561, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "this loop shows valid rows of current page", + "range": [ + 17512, + 17556 + ], + "loc": { + "start": { + "line": 566, + "column": 8 + }, + "end": { + "line": 566, + "column": 52 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "h", + "range": [ + 17574, + 17575 + ], + "loc": { + "start": { + "line": 567, + "column": 17 + }, + "end": { + "line": 567, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 17578, + 17579 + ], + "loc": { + "start": { + "line": 567, + "column": 21 + }, + "end": { + "line": 567, + "column": 22 + } + } + }, + "range": [ + 17574, + 17579 + ], + "loc": { + "start": { + "line": 567, + "column": 17 + }, + "end": { + "line": 567, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 17581, + 17584 + ], + "loc": { + "start": { + "line": 567, + "column": 24 + }, + "end": { + "line": 567, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17587, + 17589 + ], + "loc": { + "start": { + "line": 567, + "column": 30 + }, + "end": { + "line": 567, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 17590, + 17604 + ], + "loc": { + "start": { + "line": 567, + "column": 33 + }, + "end": { + "line": 567, + "column": 47 + } + } + }, + "range": [ + 17587, + 17604 + ], + "loc": { + "start": { + "line": 567, + "column": 30 + }, + "end": { + "line": 567, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 17605, + 17609 + ], + "loc": { + "start": { + "line": 567, + "column": 48 + }, + "end": { + "line": 567, + "column": 52 + } + } + } + ], + "range": [ + 17587, + 17610 + ], + "loc": { + "start": { + "line": 567, + "column": 30 + }, + "end": { + "line": 567, + "column": 53 + } + } + }, + "range": [ + 17581, + 17610 + ], + "loc": { + "start": { + "line": 567, + "column": 24 + }, + "end": { + "line": 567, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 17570, + 17610 + ], + "loc": { + "start": { + "line": 567, + "column": 13 + }, + "end": { + "line": 567, + "column": 53 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "h", + "range": [ + 17612, + 17613 + ], + "loc": { + "start": { + "line": 567, + "column": 55 + }, + "end": { + "line": 567, + "column": 56 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 17616, + 17619 + ], + "loc": { + "start": { + "line": 567, + "column": 59 + }, + "end": { + "line": 567, + "column": 62 + } + } + }, + "range": [ + 17612, + 17619 + ], + "loc": { + "start": { + "line": 567, + "column": 55 + }, + "end": { + "line": 567, + "column": 62 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "h", + "range": [ + 17621, + 17622 + ], + "loc": { + "start": { + "line": 567, + "column": 64 + }, + "end": { + "line": 567, + "column": 65 + } + } + }, + "prefix": false, + "range": [ + 17621, + 17624 + ], + "loc": { + "start": { + "line": 567, + "column": 64 + }, + "end": { + "line": 567, + "column": 67 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validRowIdx", + "range": [ + 17644, + 17655 + ], + "loc": { + "start": { + "line": 568, + "column": 16 + }, + "end": { + "line": 568, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 17658, + 17660 + ], + "loc": { + "start": { + "line": 568, + "column": 30 + }, + "end": { + "line": 568, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 17661, + 17675 + ], + "loc": { + "start": { + "line": 568, + "column": 33 + }, + "end": { + "line": 568, + "column": 47 + } + } + }, + "range": [ + 17658, + 17675 + ], + "loc": { + "start": { + "line": 568, + "column": 30 + }, + "end": { + "line": 568, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "h", + "range": [ + 17676, + 17677 + ], + "loc": { + "start": { + "line": 568, + "column": 48 + }, + "end": { + "line": 568, + "column": 49 + } + } + }, + "range": [ + 17658, + 17678 + ], + "loc": { + "start": { + "line": 568, + "column": 30 + }, + "end": { + "line": 568, + "column": 50 + } + } + }, + "range": [ + 17644, + 17678 + ], + "loc": { + "start": { + "line": 568, + "column": 16 + }, + "end": { + "line": 568, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 17640, + 17679 + ], + "loc": { + "start": { + "line": 568, + "column": 12 + }, + "end": { + "line": 568, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 17696, + 17697 + ], + "loc": { + "start": { + "line": 569, + "column": 16 + }, + "end": { + "line": 569, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 17700, + 17704 + ], + "loc": { + "start": { + "line": 569, + "column": 20 + }, + "end": { + "line": 569, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowIdx", + "range": [ + 17705, + 17716 + ], + "loc": { + "start": { + "line": 569, + "column": 25 + }, + "end": { + "line": 569, + "column": 36 + } + } + }, + "range": [ + 17700, + 17717 + ], + "loc": { + "start": { + "line": 569, + "column": 20 + }, + "end": { + "line": 569, + "column": 37 + } + } + }, + "range": [ + 17696, + 17717 + ], + "loc": { + "start": { + "line": 569, + "column": 16 + }, + "end": { + "line": 569, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 17692, + 17718 + ], + "loc": { + "start": { + "line": 569, + "column": 12 + }, + "end": { + "line": 569, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 17735, + 17745 + ], + "loc": { + "start": { + "line": 570, + "column": 16 + }, + "end": { + "line": 570, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 17748, + 17749 + ], + "loc": { + "start": { + "line": 570, + "column": 29 + }, + "end": { + "line": 570, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 17750, + 17762 + ], + "loc": { + "start": { + "line": 570, + "column": 31 + }, + "end": { + "line": 570, + "column": 43 + } + } + }, + "range": [ + 17748, + 17762 + ], + "loc": { + "start": { + "line": 570, + "column": 29 + }, + "end": { + "line": 570, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "validRow", + "raw": "'validRow'", + "range": [ + 17763, + 17773 + ], + "loc": { + "start": { + "line": 570, + "column": 44 + }, + "end": { + "line": 570, + "column": 54 + } + } + } + ], + "range": [ + 17748, + 17774 + ], + "loc": { + "start": { + "line": 570, + "column": 29 + }, + "end": { + "line": 570, + "column": 55 + } + } + }, + "range": [ + 17735, + 17774 + ], + "loc": { + "start": { + "line": 570, + "column": 16 + }, + "end": { + "line": 570, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 17731, + 17775 + ], + "loc": { + "start": { + "line": 570, + "column": 12 + }, + "end": { + "line": 570, + "column": 56 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rowDisplayed", + "range": [ + 17792, + 17804 + ], + "loc": { + "start": { + "line": 571, + "column": 16 + }, + "end": { + "line": 571, + "column": 28 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 17807, + 17812 + ], + "loc": { + "start": { + "line": 571, + "column": 31 + }, + "end": { + "line": 571, + "column": 36 + } + } + }, + "range": [ + 17792, + 17812 + ], + "loc": { + "start": { + "line": 571, + "column": 16 + }, + "end": { + "line": 571, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 17788, + 17813 + ], + "loc": { + "start": { + "line": 571, + "column": 12 + }, + "end": { + "line": 571, + "column": 37 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "h", + "range": [ + 17831, + 17832 + ], + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 17836, + 17850 + ], + "loc": { + "start": { + "line": 573, + "column": 21 + }, + "end": { + "line": 573, + "column": 35 + } + } + }, + "range": [ + 17831, + 17850 + ], + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "h", + "range": [ + 17854, + 17855 + ], + "loc": { + "start": { + "line": 573, + "column": 39 + }, + "end": { + "line": 573, + "column": 40 + } + } + }, + "right": { + "type": "Identifier", + "name": "endPagingRow", + "range": [ + 17858, + 17870 + ], + "loc": { + "start": { + "line": 573, + "column": 43 + }, + "end": { + "line": 573, + "column": 55 + } + } + }, + "range": [ + 17854, + 17870 + ], + "loc": { + "start": { + "line": 573, + "column": 39 + }, + "end": { + "line": 573, + "column": 55 + } + } + }, + "range": [ + 17831, + 17870 + ], + "loc": { + "start": { + "line": 573, + "column": 16 + }, + "end": { + "line": 573, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 17894, + 17900 + ], + "loc": { + "start": { + "line": 574, + "column": 20 + }, + "end": { + "line": 574, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 17901, + 17911 + ], + "loc": { + "start": { + "line": 574, + "column": 27 + }, + "end": { + "line": 574, + "column": 37 + } + } + } + ], + "range": [ + 17894, + 17912 + ], + "loc": { + "start": { + "line": 574, + "column": 20 + }, + "end": { + "line": 574, + "column": 38 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 17916, + 17923 + ], + "loc": { + "start": { + "line": 574, + "column": 42 + }, + "end": { + "line": 574, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 17924, + 17934 + ], + "loc": { + "start": { + "line": 574, + "column": 50 + }, + "end": { + "line": 574, + "column": 60 + } + } + }, + "right": { + "type": "Literal", + "value": "true", + "raw": "'true'", + "range": [ + 17939, + 17945 + ], + "loc": { + "start": { + "line": 574, + "column": 65 + }, + "end": { + "line": 574, + "column": 71 + } + } + }, + "range": [ + 17924, + 17945 + ], + "loc": { + "start": { + "line": 574, + "column": 50 + }, + "end": { + "line": 574, + "column": 71 + } + } + } + ], + "range": [ + 17916, + 17946 + ], + "loc": { + "start": { + "line": 574, + "column": 42 + }, + "end": { + "line": 574, + "column": 72 + } + } + }, + "range": [ + 17894, + 17946 + ], + "loc": { + "start": { + "line": 574, + "column": 20 + }, + "end": { + "line": 574, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 17970, + 17971 + ], + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 17972, + 17977 + ], + "loc": { + "start": { + "line": 575, + "column": 22 + }, + "end": { + "line": 575, + "column": 27 + } + } + }, + "range": [ + 17970, + 17977 + ], + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 17978, + 17985 + ], + "loc": { + "start": { + "line": 575, + "column": 28 + }, + "end": { + "line": 575, + "column": 35 + } + } + }, + "range": [ + 17970, + 17985 + ], + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 17988, + 17990 + ], + "loc": { + "start": { + "line": 575, + "column": 38 + }, + "end": { + "line": 575, + "column": 40 + } + } + }, + "range": [ + 17970, + 17990 + ], + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 40 + } + } + }, + "range": [ + 17970, + 17991 + ], + "loc": { + "start": { + "line": 575, + "column": 20 + }, + "end": { + "line": 575, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "rowDisplayed", + "range": [ + 18012, + 18024 + ], + "loc": { + "start": { + "line": 576, + "column": 20 + }, + "end": { + "line": 576, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 18027, + 18031 + ], + "loc": { + "start": { + "line": 576, + "column": 35 + }, + "end": { + "line": 576, + "column": 39 + } + } + }, + "range": [ + 18012, + 18031 + ], + "loc": { + "start": { + "line": 576, + "column": 20 + }, + "end": { + "line": 576, + "column": 39 + } + } + }, + "range": [ + 18012, + 18032 + ], + "loc": { + "start": { + "line": 576, + "column": 20 + }, + "end": { + "line": 576, + "column": 40 + } + } + } + ], + "range": [ + 17948, + 18050 + ], + "loc": { + "start": { + "line": 574, + "column": 74 + }, + "end": { + "line": 577, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 17890, + 18050 + ], + "loc": { + "start": { + "line": 574, + "column": 16 + }, + "end": { + "line": 577, + "column": 17 + } + } + } + ], + "range": [ + 17872, + 18064 + ], + "loc": { + "start": { + "line": 573, + "column": 57 + }, + "end": { + "line": 578, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 18088, + 18089 + ], + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 18090, + 18095 + ], + "loc": { + "start": { + "line": 579, + "column": 18 + }, + "end": { + "line": 579, + "column": 23 + } + } + }, + "range": [ + 18088, + 18095 + ], + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 18096, + 18103 + ], + "loc": { + "start": { + "line": 579, + "column": 24 + }, + "end": { + "line": 579, + "column": 31 + } + } + }, + "range": [ + 18088, + 18103 + ], + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 18106, + 18110 + ], + "loc": { + "start": { + "line": 579, + "column": 34 + }, + "end": { + "line": 579, + "column": 38 + } + } + }, + "range": [ + 18088, + 18110 + ], + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 38 + } + } + }, + "range": [ + 18088, + 18111 + ], + "loc": { + "start": { + "line": 579, + "column": 16 + }, + "end": { + "line": 579, + "column": 39 + } + } + } + ], + "range": [ + 18070, + 18125 + ], + "loc": { + "start": { + "line": 578, + "column": 19 + }, + "end": { + "line": 580, + "column": 13 + } + } + }, + "range": [ + 17827, + 18125 + ], + "loc": { + "start": { + "line": 573, + "column": 12 + }, + "end": { + "line": 580, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18138, + 18142 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 18143, + 18150 + ], + "loc": { + "start": { + "line": 581, + "column": 17 + }, + "end": { + "line": 581, + "column": 24 + } + } + }, + "range": [ + 18138, + 18150 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 18151, + 18155 + ], + "loc": { + "start": { + "line": 581, + "column": 25 + }, + "end": { + "line": 581, + "column": 29 + } + } + }, + "range": [ + 18138, + 18155 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "row-paged", + "raw": "'row-paged'", + "range": [ + 18156, + 18167 + ], + "loc": { + "start": { + "line": 581, + "column": 30 + }, + "end": { + "line": 581, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 18169, + 18171 + ], + "loc": { + "start": { + "line": 581, + "column": 43 + }, + "end": { + "line": 581, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "validRowIdx", + "range": [ + 18173, + 18184 + ], + "loc": { + "start": { + "line": 581, + "column": 47 + }, + "end": { + "line": 581, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "h", + "range": [ + 18186, + 18187 + ], + "loc": { + "start": { + "line": 581, + "column": 60 + }, + "end": { + "line": 581, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "rowDisplayed", + "range": [ + 18189, + 18201 + ], + "loc": { + "start": { + "line": 581, + "column": 63 + }, + "end": { + "line": 581, + "column": 75 + } + } + } + ], + "range": [ + 18138, + 18202 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 76 + } + } + }, + "range": [ + 18138, + 18203 + ], + "loc": { + "start": { + "line": 581, + "column": 12 + }, + "end": { + "line": 581, + "column": 77 + } + } + } + ], + "range": [ + 17626, + 18213 + ], + "loc": { + "start": { + "line": 567, + "column": 69 + }, + "end": { + "line": 582, + "column": 9 + } + } + }, + "range": [ + 17565, + 18213 + ], + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 582, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "this loop shows valid rows of current page", + "range": [ + 17512, + 17556 + ], + "loc": { + "start": { + "line": 566, + "column": 8 + }, + "end": { + "line": 566, + "column": 52 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " broadcast grouping by page", + "range": [ + 18223, + 18252 + ], + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18261, + 18265 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 585, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 18266, + 18273 + ], + "loc": { + "start": { + "line": 585, + "column": 13 + }, + "end": { + "line": 585, + "column": 20 + } + } + }, + "range": [ + 18261, + 18273 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 585, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 18274, + 18278 + ], + "loc": { + "start": { + "line": 585, + "column": 21 + }, + "end": { + "line": 585, + "column": 25 + } + } + }, + "range": [ + 18261, + 18278 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 585, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "grouped-by-page", + "raw": "'grouped-by-page'", + "range": [ + 18279, + 18296 + ], + "loc": { + "start": { + "line": 585, + "column": 26 + }, + "end": { + "line": 585, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 18298, + 18300 + ], + "loc": { + "start": { + "line": 585, + "column": 45 + }, + "end": { + "line": 585, + "column": 47 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 18302, + 18306 + ], + "loc": { + "start": { + "line": 585, + "column": 49 + }, + "end": { + "line": 585, + "column": 53 + } + } + } + ], + "range": [ + 18261, + 18307 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 585, + "column": 54 + } + } + }, + "range": [ + 18261, + 18308 + ], + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 585, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " broadcast grouping by page", + "range": [ + 18223, + 18252 + ], + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 37 + } + } + } + ] + } + ], + "range": [ + 17188, + 18314 + ], + "loc": { + "start": { + "line": 555, + "column": 27 + }, + "end": { + "line": 586, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 17176, + 18314 + ], + "loc": { + "start": { + "line": 555, + "column": 15 + }, + "end": { + "line": 586, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 17165, + 18314 + ], + "loc": { + "start": { + "line": 555, + "column": 4 + }, + "end": { + "line": 586, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Group table rows by page and display valid rows\n * @param {Array} validRows Collection of valid rows\n ", + "range": [ + 17036, + 17160 + ], + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 554, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the current page number\n * @return {Number} Page number\n ", + "range": [ + 18320, + 18405 + ], + "loc": { + "start": { + "line": 588, + "column": 4 + }, + "end": { + "line": 591, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getPage", + "range": [ + 18410, + 18417 + ], + "loc": { + "start": { + "line": 592, + "column": 4 + }, + "end": { + "line": 592, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18437, + 18441 + ], + "loc": { + "start": { + "line": 593, + "column": 15 + }, + "end": { + "line": 593, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 18442, + 18455 + ], + "loc": { + "start": { + "line": 593, + "column": 20 + }, + "end": { + "line": 593, + "column": 33 + } + } + }, + "range": [ + 18437, + 18455 + ], + "loc": { + "start": { + "line": 593, + "column": 15 + }, + "end": { + "line": 593, + "column": 33 + } + } + }, + "range": [ + 18430, + 18456 + ], + "loc": { + "start": { + "line": 593, + "column": 8 + }, + "end": { + "line": 593, + "column": 34 + } + } + } + ], + "range": [ + 18420, + 18462 + ], + "loc": { + "start": { + "line": 592, + "column": 14 + }, + "end": { + "line": 594, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 18417, + 18462 + ], + "loc": { + "start": { + "line": 592, + "column": 11 + }, + "end": { + "line": 594, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 18410, + 18462 + ], + "loc": { + "start": { + "line": 592, + "column": 4 + }, + "end": { + "line": 594, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the current page number\n * @return {Number} Page number\n ", + "range": [ + 18320, + 18405 + ], + "loc": { + "start": { + "line": 588, + "column": 4 + }, + "end": { + "line": 591, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 18468, + 18676 + ], + "loc": { + "start": { + "line": 596, + "column": 4 + }, + "end": { + "line": 600, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setPage", + "range": [ + 18681, + 18688 + ], + "loc": { + "start": { + "line": 601, + "column": 4 + }, + "end": { + "line": 601, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cmd", + "range": [ + 18689, + 18692 + ], + "loc": { + "start": { + "line": 601, + "column": 12 + }, + "end": { + "line": 601, + "column": 15 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 18708, + 18710 + ], + "loc": { + "start": { + "line": 602, + "column": 12 + }, + "end": { + "line": 602, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18713, + 18717 + ], + "loc": { + "start": { + "line": 602, + "column": 17 + }, + "end": { + "line": 602, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 18718, + 18720 + ], + "loc": { + "start": { + "line": 602, + "column": 22 + }, + "end": { + "line": 602, + "column": 24 + } + } + }, + "range": [ + 18713, + 18720 + ], + "loc": { + "start": { + "line": 602, + "column": 17 + }, + "end": { + "line": 602, + "column": 24 + } + } + }, + "range": [ + 18708, + 18720 + ], + "loc": { + "start": { + "line": 602, + "column": 12 + }, + "end": { + "line": 602, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 18704, + 18721 + ], + "loc": { + "start": { + "line": 602, + "column": 8 + }, + "end": { + "line": 602, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 18735, + 18737 + ], + "loc": { + "start": { + "line": 603, + "column": 13 + }, + "end": { + "line": 603, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "isInitialized", + "range": [ + 18738, + 18751 + ], + "loc": { + "start": { + "line": 603, + "column": 16 + }, + "end": { + "line": 603, + "column": 29 + } + } + }, + "range": [ + 18735, + 18751 + ], + "loc": { + "start": { + "line": 603, + "column": 13 + }, + "end": { + "line": 603, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 18735, + 18753 + ], + "loc": { + "start": { + "line": 603, + "column": 13 + }, + "end": { + "line": 603, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 18734, + 18753 + ], + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18758, + 18762 + ], + "loc": { + "start": { + "line": 603, + "column": 36 + }, + "end": { + "line": 603, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 18763, + 18772 + ], + "loc": { + "start": { + "line": 603, + "column": 41 + }, + "end": { + "line": 603, + "column": 50 + } + } + }, + "range": [ + 18758, + 18772 + ], + "loc": { + "start": { + "line": 603, + "column": 36 + }, + "end": { + "line": 603, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 18758, + 18774 + ], + "loc": { + "start": { + "line": 603, + "column": 36 + }, + "end": { + "line": 603, + "column": 52 + } + } + }, + "prefix": true, + "range": [ + 18757, + 18774 + ], + "loc": { + "start": { + "line": 603, + "column": 35 + }, + "end": { + "line": 603, + "column": 52 + } + } + }, + "range": [ + 18734, + 18774 + ], + "loc": { + "start": { + "line": 603, + "column": 12 + }, + "end": { + "line": 603, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 18790, + 18797 + ], + "loc": { + "start": { + "line": 604, + "column": 12 + }, + "end": { + "line": 604, + "column": 19 + } + } + } + ], + "range": [ + 18776, + 18807 + ], + "loc": { + "start": { + "line": 603, + "column": 54 + }, + "end": { + "line": 605, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 18730, + 18807 + ], + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 605, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 18820, + 18826 + ], + "loc": { + "start": { + "line": 606, + "column": 12 + }, + "end": { + "line": 606, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18829, + 18833 + ], + "loc": { + "start": { + "line": 606, + "column": 21 + }, + "end": { + "line": 606, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 18834, + 18837 + ], + "loc": { + "start": { + "line": 606, + "column": 26 + }, + "end": { + "line": 606, + "column": 29 + } + } + }, + "range": [ + 18829, + 18837 + ], + "loc": { + "start": { + "line": 606, + "column": 21 + }, + "end": { + "line": 606, + "column": 29 + } + } + }, + "range": [ + 18820, + 18837 + ], + "loc": { + "start": { + "line": 606, + "column": 12 + }, + "end": { + "line": 606, + "column": 29 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cmdtype", + "range": [ + 18851, + 18858 + ], + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 607, + "column": 19 + } + } + }, + "init": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "cmd", + "range": [ + 18868, + 18871 + ], + "loc": { + "start": { + "line": 607, + "column": 29 + }, + "end": { + "line": 607, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 18861, + 18871 + ], + "loc": { + "start": { + "line": 607, + "column": 22 + }, + "end": { + "line": 607, + "column": 32 + } + } + }, + "range": [ + 18851, + 18871 + ], + "loc": { + "start": { + "line": 607, + "column": 12 + }, + "end": { + "line": 607, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 18816, + 18872 + ], + "loc": { + "start": { + "line": 606, + "column": 8 + }, + "end": { + "line": 607, + "column": 33 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "cmdtype", + "range": [ + 18885, + 18892 + ], + "loc": { + "start": { + "line": 608, + "column": 12 + }, + "end": { + "line": 608, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "string", + "raw": "'string'", + "range": [ + 18897, + 18905 + ], + "loc": { + "start": { + "line": 608, + "column": 24 + }, + "end": { + "line": 608, + "column": 32 + } + } + }, + "range": [ + 18885, + 18905 + ], + "loc": { + "start": { + "line": 608, + "column": 12 + }, + "end": { + "line": 608, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "SwitchStatement", + "discriminant": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cmd", + "range": [ + 18929, + 18932 + ], + "loc": { + "start": { + "line": 609, + "column": 20 + }, + "end": { + "line": 609, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 18933, + 18944 + ], + "loc": { + "start": { + "line": 609, + "column": 24 + }, + "end": { + "line": 609, + "column": 35 + } + } + }, + "range": [ + 18929, + 18944 + ], + "loc": { + "start": { + "line": 609, + "column": 20 + }, + "end": { + "line": 609, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 18929, + 18946 + ], + "loc": { + "start": { + "line": 609, + "column": 20 + }, + "end": { + "line": 609, + "column": 37 + } + } + }, + "cases": [ + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "next", + "raw": "'next'", + "range": [ + 18971, + 18977 + ], + "loc": { + "start": { + "line": 610, + "column": 21 + }, + "end": { + "line": 610, + "column": 27 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 18999, + 19005 + ], + "loc": { + "start": { + "line": 611, + "column": 20 + }, + "end": { + "line": 611, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "next", + "range": [ + 19006, + 19010 + ], + "loc": { + "start": { + "line": 611, + "column": 27 + }, + "end": { + "line": 611, + "column": 31 + } + } + }, + "range": [ + 18999, + 19010 + ], + "loc": { + "start": { + "line": 611, + "column": 20 + }, + "end": { + "line": 611, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 18999, + 19012 + ], + "loc": { + "start": { + "line": 611, + "column": 20 + }, + "end": { + "line": 611, + "column": 33 + } + } + }, + "range": [ + 18999, + 19013 + ], + "loc": { + "start": { + "line": 611, + "column": 20 + }, + "end": { + "line": 611, + "column": 34 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 19034, + 19040 + ], + "loc": { + "start": { + "line": 612, + "column": 20 + }, + "end": { + "line": 612, + "column": 26 + } + } + } + ], + "range": [ + 18966, + 19040 + ], + "loc": { + "start": { + "line": 610, + "column": 16 + }, + "end": { + "line": 612, + "column": 26 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "previous", + "raw": "'previous'", + "range": [ + 19062, + 19072 + ], + "loc": { + "start": { + "line": 613, + "column": 21 + }, + "end": { + "line": 613, + "column": 31 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 19094, + 19100 + ], + "loc": { + "start": { + "line": 614, + "column": 20 + }, + "end": { + "line": 614, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "prev", + "range": [ + 19101, + 19105 + ], + "loc": { + "start": { + "line": 614, + "column": 27 + }, + "end": { + "line": 614, + "column": 31 + } + } + }, + "range": [ + 19094, + 19105 + ], + "loc": { + "start": { + "line": 614, + "column": 20 + }, + "end": { + "line": 614, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 19094, + 19107 + ], + "loc": { + "start": { + "line": 614, + "column": 20 + }, + "end": { + "line": 614, + "column": 33 + } + } + }, + "range": [ + 19094, + 19108 + ], + "loc": { + "start": { + "line": 614, + "column": 20 + }, + "end": { + "line": 614, + "column": 34 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 19129, + 19135 + ], + "loc": { + "start": { + "line": 615, + "column": 20 + }, + "end": { + "line": 615, + "column": 26 + } + } + } + ], + "range": [ + 19057, + 19135 + ], + "loc": { + "start": { + "line": 613, + "column": 16 + }, + "end": { + "line": 615, + "column": 26 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "last", + "raw": "'last'", + "range": [ + 19157, + 19163 + ], + "loc": { + "start": { + "line": 616, + "column": 21 + }, + "end": { + "line": 616, + "column": 27 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 19185, + 19191 + ], + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 617, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "last", + "range": [ + 19192, + 19196 + ], + "loc": { + "start": { + "line": 617, + "column": 27 + }, + "end": { + "line": 617, + "column": 31 + } + } + }, + "range": [ + 19185, + 19196 + ], + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 617, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 19185, + 19198 + ], + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 617, + "column": 33 + } + } + }, + "range": [ + 19185, + 19199 + ], + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 617, + "column": 34 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 19220, + 19226 + ], + "loc": { + "start": { + "line": 618, + "column": 20 + }, + "end": { + "line": 618, + "column": 26 + } + } + } + ], + "range": [ + 19152, + 19226 + ], + "loc": { + "start": { + "line": 616, + "column": 16 + }, + "end": { + "line": 618, + "column": 26 + } + } + }, + { + "type": "SwitchCase", + "test": { + "type": "Literal", + "value": "first", + "raw": "'first'", + "range": [ + 19248, + 19255 + ], + "loc": { + "start": { + "line": 619, + "column": 21 + }, + "end": { + "line": 619, + "column": 28 + } + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 19277, + 19283 + ], + "loc": { + "start": { + "line": 620, + "column": 20 + }, + "end": { + "line": 620, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "first", + "range": [ + 19284, + 19289 + ], + "loc": { + "start": { + "line": 620, + "column": 27 + }, + "end": { + "line": 620, + "column": 32 + } + } + }, + "range": [ + 19277, + 19289 + ], + "loc": { + "start": { + "line": 620, + "column": 20 + }, + "end": { + "line": 620, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 19277, + 19291 + ], + "loc": { + "start": { + "line": 620, + "column": 20 + }, + "end": { + "line": 620, + "column": 34 + } + } + }, + "range": [ + 19277, + 19292 + ], + "loc": { + "start": { + "line": 620, + "column": 20 + }, + "end": { + "line": 620, + "column": 35 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 19313, + 19319 + ], + "loc": { + "start": { + "line": 621, + "column": 20 + }, + "end": { + "line": 621, + "column": 26 + } + } + } + ], + "range": [ + 19243, + 19319 + ], + "loc": { + "start": { + "line": 619, + "column": 16 + }, + "end": { + "line": 621, + "column": 26 + } + } + }, + { + "type": "SwitchCase", + "test": null, + "consequent": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btnEvt", + "range": [ + 19365, + 19371 + ], + "loc": { + "start": { + "line": 623, + "column": 20 + }, + "end": { + "line": 623, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "next", + "range": [ + 19372, + 19376 + ], + "loc": { + "start": { + "line": 623, + "column": 27 + }, + "end": { + "line": 623, + "column": 31 + } + } + }, + "range": [ + 19365, + 19376 + ], + "loc": { + "start": { + "line": 623, + "column": 20 + }, + "end": { + "line": 623, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 19365, + 19378 + ], + "loc": { + "start": { + "line": 623, + "column": 20 + }, + "end": { + "line": 623, + "column": 33 + } + } + }, + "range": [ + 19365, + 19379 + ], + "loc": { + "start": { + "line": 623, + "column": 20 + }, + "end": { + "line": 623, + "column": 34 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 19400, + 19406 + ], + "loc": { + "start": { + "line": 624, + "column": 20 + }, + "end": { + "line": 624, + "column": 26 + } + } + } + ], + "range": [ + 19336, + 19406 + ], + "loc": { + "start": { + "line": 622, + "column": 16 + }, + "end": { + "line": 624, + "column": 26 + } + } + } + ], + "range": [ + 18921, + 19420 + ], + "loc": { + "start": { + "line": 609, + "column": 12 + }, + "end": { + "line": 625, + "column": 13 + } + } + } + ], + "range": [ + 18907, + 19430 + ], + "loc": { + "start": { + "line": 608, + "column": 34 + }, + "end": { + "line": 626, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "cmdtype", + "range": [ + 19448, + 19455 + ], + "loc": { + "start": { + "line": 627, + "column": 17 + }, + "end": { + "line": 627, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": "number", + "raw": "'number'", + "range": [ + 19460, + 19468 + ], + "loc": { + "start": { + "line": 627, + "column": 29 + }, + "end": { + "line": 627, + "column": 37 + } + } + }, + "range": [ + 19448, + 19468 + ], + "loc": { + "start": { + "line": 627, + "column": 17 + }, + "end": { + "line": 627, + "column": 37 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19484, + 19488 + ], + "loc": { + "start": { + "line": 628, + "column": 12 + }, + "end": { + "line": 628, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 19489, + 19499 + ], + "loc": { + "start": { + "line": 628, + "column": 17 + }, + "end": { + "line": 628, + "column": 27 + } + } + }, + "range": [ + 19484, + 19499 + ], + "loc": { + "start": { + "line": 628, + "column": 12 + }, + "end": { + "line": 628, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "cmd", + "range": [ + 19500, + 19503 + ], + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 19506, + 19507 + ], + "loc": { + "start": { + "line": 628, + "column": 34 + }, + "end": { + "line": 628, + "column": 35 + } + } + }, + "range": [ + 19500, + 19507 + ], + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 35 + } + } + } + ], + "range": [ + 19484, + 19508 + ], + "loc": { + "start": { + "line": 628, + "column": 12 + }, + "end": { + "line": 628, + "column": 36 + } + } + }, + "range": [ + 19484, + 19509 + ], + "loc": { + "start": { + "line": 628, + "column": 12 + }, + "end": { + "line": 628, + "column": 37 + } + } + } + ], + "range": [ + 19470, + 19519 + ], + "loc": { + "start": { + "line": 627, + "column": 39 + }, + "end": { + "line": 629, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 19444, + 19519 + ], + "loc": { + "start": { + "line": 627, + "column": 13 + }, + "end": { + "line": 629, + "column": 9 + } + } + }, + "range": [ + 18881, + 19519 + ], + "loc": { + "start": { + "line": 608, + "column": 8 + }, + "end": { + "line": 629, + "column": 9 + } + } + } + ], + "range": [ + 18694, + 19525 + ], + "loc": { + "start": { + "line": 601, + "column": 17 + }, + "end": { + "line": 630, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 18688, + 19525 + ], + "loc": { + "start": { + "line": 601, + "column": 11 + }, + "end": { + "line": 630, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 18681, + 19525 + ], + "loc": { + "start": { + "line": 601, + "column": 4 + }, + "end": { + "line": 630, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 18468, + 18676 + ], + "loc": { + "start": { + "line": 596, + "column": 4 + }, + "end": { + "line": 600, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Generates UI elements for the number of results per page drop-down\n ", + "range": [ + 19531, + 19616 + ], + "loc": { + "start": { + "line": 632, + "column": 4 + }, + "end": { + "line": 634, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setResultsPerPage", + "range": [ + 19621, + 19638 + ], + "loc": { + "start": { + "line": 635, + "column": 4 + }, + "end": { + "line": 635, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 19655, + 19657 + ], + "loc": { + "start": { + "line": 636, + "column": 12 + }, + "end": { + "line": 636, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19660, + 19664 + ], + "loc": { + "start": { + "line": 636, + "column": 17 + }, + "end": { + "line": 636, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 19665, + 19667 + ], + "loc": { + "start": { + "line": 636, + "column": 22 + }, + "end": { + "line": 636, + "column": 24 + } + } + }, + "range": [ + 19660, + 19667 + ], + "loc": { + "start": { + "line": 636, + "column": 17 + }, + "end": { + "line": 636, + "column": 24 + } + } + }, + "range": [ + 19655, + 19667 + ], + "loc": { + "start": { + "line": 636, + "column": 12 + }, + "end": { + "line": 636, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 19651, + 19668 + ], + "loc": { + "start": { + "line": 636, + "column": 8 + }, + "end": { + "line": 636, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "evt", + "range": [ + 19681, + 19684 + ], + "loc": { + "start": { + "line": 637, + "column": 12 + }, + "end": { + "line": 637, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19687, + 19691 + ], + "loc": { + "start": { + "line": 637, + "column": 18 + }, + "end": { + "line": 637, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 19692, + 19695 + ], + "loc": { + "start": { + "line": 637, + "column": 23 + }, + "end": { + "line": 637, + "column": 26 + } + } + }, + "range": [ + 19687, + 19695 + ], + "loc": { + "start": { + "line": 637, + "column": 18 + }, + "end": { + "line": 637, + "column": 26 + } + } + }, + "range": [ + 19681, + 19695 + ], + "loc": { + "start": { + "line": 637, + "column": 12 + }, + "end": { + "line": 637, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 19677, + 19696 + ], + "loc": { + "start": { + "line": 637, + "column": 8 + }, + "end": { + "line": 637, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19710, + 19714 + ], + "loc": { + "start": { + "line": 639, + "column": 12 + }, + "end": { + "line": 639, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 19715, + 19728 + ], + "loc": { + "start": { + "line": 639, + "column": 17 + }, + "end": { + "line": 639, + "column": 30 + } + } + }, + "range": [ + 19710, + 19728 + ], + "loc": { + "start": { + "line": 639, + "column": 12 + }, + "end": { + "line": 639, + "column": 30 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19733, + 19737 + ], + "loc": { + "start": { + "line": 639, + "column": 35 + }, + "end": { + "line": 639, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 19738, + 19752 + ], + "loc": { + "start": { + "line": 639, + "column": 40 + }, + "end": { + "line": 639, + "column": 54 + } + } + }, + "range": [ + 19733, + 19752 + ], + "loc": { + "start": { + "line": 639, + "column": 35 + }, + "end": { + "line": 639, + "column": 54 + } + } + }, + "prefix": true, + "range": [ + 19732, + 19752 + ], + "loc": { + "start": { + "line": 639, + "column": 34 + }, + "end": { + "line": 639, + "column": 54 + } + } + }, + "range": [ + 19710, + 19752 + ], + "loc": { + "start": { + "line": 639, + "column": 12 + }, + "end": { + "line": 639, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 19768, + 19775 + ], + "loc": { + "start": { + "line": 640, + "column": 12 + }, + "end": { + "line": 640, + "column": 19 + } + } + } + ], + "range": [ + 19754, + 19785 + ], + "loc": { + "start": { + "line": 639, + "column": 56 + }, + "end": { + "line": 641, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 19706, + 19785 + ], + "loc": { + "start": { + "line": 639, + "column": 8 + }, + "end": { + "line": 641, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 19795, + 19798 + ], + "loc": { + "start": { + "line": 643, + "column": 8 + }, + "end": { + "line": 643, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsChange", + "range": [ + 19799, + 19815 + ], + "loc": { + "start": { + "line": 643, + "column": 12 + }, + "end": { + "line": 643, + "column": 28 + } + } + }, + "range": [ + 19795, + 19815 + ], + "loc": { + "start": { + "line": 643, + "column": 8 + }, + "end": { + "line": 643, + "column": 28 + } + } + }, + "right": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "ev", + "range": [ + 19819, + 19821 + ], + "loc": { + "start": { + "line": 643, + "column": 32 + }, + "end": { + "line": 643, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19840, + 19844 + ], + "loc": { + "start": { + "line": 644, + "column": 12 + }, + "end": { + "line": 644, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onChangeResultsPerPage", + "range": [ + 19845, + 19867 + ], + "loc": { + "start": { + "line": 644, + "column": 17 + }, + "end": { + "line": 644, + "column": 39 + } + } + }, + "range": [ + 19840, + 19867 + ], + "loc": { + "start": { + "line": 644, + "column": 12 + }, + "end": { + "line": 644, + "column": 39 + } + } + }, + "arguments": [], + "range": [ + 19840, + 19869 + ], + "loc": { + "start": { + "line": 644, + "column": 12 + }, + "end": { + "line": 644, + "column": 41 + } + } + }, + "range": [ + 19840, + 19870 + ], + "loc": { + "start": { + "line": 644, + "column": 12 + }, + "end": { + "line": 644, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ev", + "range": [ + 19883, + 19885 + ], + "loc": { + "start": { + "line": 645, + "column": 12 + }, + "end": { + "line": 645, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "target", + "range": [ + 19886, + 19892 + ], + "loc": { + "start": { + "line": 645, + "column": 15 + }, + "end": { + "line": 645, + "column": 21 + } + } + }, + "range": [ + 19883, + 19892 + ], + "loc": { + "start": { + "line": 645, + "column": 12 + }, + "end": { + "line": 645, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "blur", + "range": [ + 19893, + 19897 + ], + "loc": { + "start": { + "line": 645, + "column": 22 + }, + "end": { + "line": 645, + "column": 26 + } + } + }, + "range": [ + 19883, + 19897 + ], + "loc": { + "start": { + "line": 645, + "column": 12 + }, + "end": { + "line": 645, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 19883, + 19899 + ], + "loc": { + "start": { + "line": 645, + "column": 12 + }, + "end": { + "line": 645, + "column": 28 + } + } + }, + "range": [ + 19883, + 19900 + ], + "loc": { + "start": { + "line": 645, + "column": 12 + }, + "end": { + "line": 645, + "column": 29 + } + } + } + ], + "range": [ + 19826, + 19910 + ], + "loc": { + "start": { + "line": 643, + "column": 39 + }, + "end": { + "line": 646, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 19818, + 19910 + ], + "loc": { + "start": { + "line": 643, + "column": 31 + }, + "end": { + "line": 646, + "column": 9 + } + } + }, + "range": [ + 19795, + 19910 + ], + "loc": { + "start": { + "line": 643, + "column": 8 + }, + "end": { + "line": 646, + "column": 9 + } + } + }, + "range": [ + 19795, + 19911 + ], + "loc": { + "start": { + "line": 643, + "column": 8 + }, + "end": { + "line": 646, + "column": 10 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcR", + "range": [ + 19925, + 19929 + ], + "loc": { + "start": { + "line": 648, + "column": 12 + }, + "end": { + "line": 648, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 19932, + 19941 + ], + "loc": { + "start": { + "line": 648, + "column": 19 + }, + "end": { + "line": 648, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 19942, + 19948 + ], + "loc": { + "start": { + "line": 648, + "column": 29 + }, + "end": { + "line": 648, + "column": 35 + } + } + } + ], + "range": [ + 19932, + 19949 + ], + "loc": { + "start": { + "line": 648, + "column": 19 + }, + "end": { + "line": 648, + "column": 36 + } + } + }, + "range": [ + 19925, + 19949 + ], + "loc": { + "start": { + "line": 648, + "column": 12 + }, + "end": { + "line": 648, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 19921, + 19950 + ], + "loc": { + "start": { + "line": 648, + "column": 8 + }, + "end": { + "line": 648, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcR", + "range": [ + 19959, + 19963 + ], + "loc": { + "start": { + "line": 649, + "column": 8 + }, + "end": { + "line": 649, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 19964, + 19973 + ], + "loc": { + "start": { + "line": 649, + "column": 13 + }, + "end": { + "line": 649, + "column": 22 + } + } + }, + "range": [ + 19959, + 19973 + ], + "loc": { + "start": { + "line": 649, + "column": 8 + }, + "end": { + "line": 649, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19976, + 19980 + ], + "loc": { + "start": { + "line": 649, + "column": 25 + }, + "end": { + "line": 649, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsSlcCssClass", + "range": [ + 19981, + 19999 + ], + "loc": { + "start": { + "line": 649, + "column": 30 + }, + "end": { + "line": 649, + "column": 48 + } + } + }, + "range": [ + 19976, + 19999 + ], + "loc": { + "start": { + "line": 649, + "column": 25 + }, + "end": { + "line": 649, + "column": 48 + } + } + }, + "range": [ + 19959, + 19999 + ], + "loc": { + "start": { + "line": 649, + "column": 8 + }, + "end": { + "line": 649, + "column": 48 + } + } + }, + "range": [ + 19959, + 20000 + ], + "loc": { + "start": { + "line": 649, + "column": 8 + }, + "end": { + "line": 649, + "column": 49 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcRText", + "range": [ + 20013, + 20021 + ], + "loc": { + "start": { + "line": 650, + "column": 12 + }, + "end": { + "line": 650, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20024, + 20028 + ], + "loc": { + "start": { + "line": 650, + "column": 23 + }, + "end": { + "line": 650, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 20029, + 20043 + ], + "loc": { + "start": { + "line": 650, + "column": 28 + }, + "end": { + "line": 650, + "column": 42 + } + } + }, + "range": [ + 20024, + 20043 + ], + "loc": { + "start": { + "line": 650, + "column": 23 + }, + "end": { + "line": 650, + "column": 42 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 20044, + 20045 + ], + "loc": { + "start": { + "line": 650, + "column": 43 + }, + "end": { + "line": 650, + "column": 44 + } + } + }, + "range": [ + 20024, + 20046 + ], + "loc": { + "start": { + "line": 650, + "column": 23 + }, + "end": { + "line": 650, + "column": 45 + } + } + }, + "range": [ + 20013, + 20046 + ], + "loc": { + "start": { + "line": 650, + "column": 12 + }, + "end": { + "line": 650, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcROpts", + "range": [ + 20060, + 20068 + ], + "loc": { + "start": { + "line": 651, + "column": 12 + }, + "end": { + "line": 651, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20071, + 20075 + ], + "loc": { + "start": { + "line": 651, + "column": 23 + }, + "end": { + "line": 651, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 20076, + 20090 + ], + "loc": { + "start": { + "line": 651, + "column": 28 + }, + "end": { + "line": 651, + "column": 42 + } + } + }, + "range": [ + 20071, + 20090 + ], + "loc": { + "start": { + "line": 651, + "column": 23 + }, + "end": { + "line": 651, + "column": 42 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 20091, + 20092 + ], + "loc": { + "start": { + "line": 651, + "column": 43 + }, + "end": { + "line": 651, + "column": 44 + } + } + }, + "range": [ + 20071, + 20093 + ], + "loc": { + "start": { + "line": 651, + "column": 23 + }, + "end": { + "line": 651, + "column": 45 + } + } + }, + "range": [ + 20060, + 20093 + ], + "loc": { + "start": { + "line": 651, + "column": 12 + }, + "end": { + "line": 651, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 20009, + 20094 + ], + "loc": { + "start": { + "line": 650, + "column": 8 + }, + "end": { + "line": 651, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 20107, + 20115 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 20118, + 20127 + ], + "loc": { + "start": { + "line": 652, + "column": 23 + }, + "end": { + "line": 652, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 20128, + 20134 + ], + "loc": { + "start": { + "line": 652, + "column": 33 + }, + "end": { + "line": 652, + "column": 39 + } + } + } + ], + "range": [ + 20118, + 20135 + ], + "loc": { + "start": { + "line": 652, + "column": 23 + }, + "end": { + "line": 652, + "column": 40 + } + } + }, + "range": [ + 20107, + 20135 + ], + "loc": { + "start": { + "line": 652, + "column": 12 + }, + "end": { + "line": 652, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 20103, + 20136 + ], + "loc": { + "start": { + "line": 652, + "column": 8 + }, + "end": { + "line": 652, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 20145, + 20153 + ], + "loc": { + "start": { + "line": 653, + "column": 8 + }, + "end": { + "line": 653, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 20154, + 20163 + ], + "loc": { + "start": { + "line": 653, + "column": 17 + }, + "end": { + "line": 653, + "column": 26 + } + } + }, + "range": [ + 20145, + 20163 + ], + "loc": { + "start": { + "line": 653, + "column": 8 + }, + "end": { + "line": 653, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20166, + 20170 + ], + "loc": { + "start": { + "line": 653, + "column": 29 + }, + "end": { + "line": 653, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsSpanCssClass", + "range": [ + 20171, + 20190 + ], + "loc": { + "start": { + "line": 653, + "column": 34 + }, + "end": { + "line": 653, + "column": 53 + } + } + }, + "range": [ + 20166, + 20190 + ], + "loc": { + "start": { + "line": 653, + "column": 29 + }, + "end": { + "line": 653, + "column": 53 + } + } + }, + "range": [ + 20145, + 20190 + ], + "loc": { + "start": { + "line": 653, + "column": 8 + }, + "end": { + "line": 653, + "column": 53 + } + } + }, + "range": [ + 20145, + 20191 + ], + "loc": { + "start": { + "line": 653, + "column": 8 + }, + "end": { + "line": 653, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " results per page select is added to external element", + "range": [ + 20201, + 20256 + ], + "loc": { + "start": { + "line": 655, + "column": 8 + }, + "end": { + "line": 655, + "column": 63 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20270, + 20274 + ], + "loc": { + "start": { + "line": 656, + "column": 13 + }, + "end": { + "line": 656, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthTgtId", + "range": [ + 20275, + 20290 + ], + "loc": { + "start": { + "line": 656, + "column": 18 + }, + "end": { + "line": 656, + "column": 33 + } + } + }, + "range": [ + 20270, + 20290 + ], + "loc": { + "start": { + "line": 656, + "column": 13 + }, + "end": { + "line": 656, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 20269, + 20290 + ], + "loc": { + "start": { + "line": 656, + "column": 12 + }, + "end": { + "line": 656, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 20306, + 20308 + ], + "loc": { + "start": { + "line": 657, + "column": 12 + }, + "end": { + "line": 657, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 20309, + 20319 + ], + "loc": { + "start": { + "line": 657, + "column": 15 + }, + "end": { + "line": 657, + "column": 25 + } + } + }, + "range": [ + 20306, + 20319 + ], + "loc": { + "start": { + "line": 657, + "column": 12 + }, + "end": { + "line": 657, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 20306, + 20321 + ], + "loc": { + "start": { + "line": 657, + "column": 12 + }, + "end": { + "line": 657, + "column": 27 + } + } + }, + "range": [ + 20306, + 20322 + ], + "loc": { + "start": { + "line": 657, + "column": 12 + }, + "end": { + "line": 657, + "column": 28 + } + } + } + ], + "range": [ + 20292, + 20332 + ], + "loc": { + "start": { + "line": 656, + "column": 35 + }, + "end": { + "line": 658, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 20265, + 20332 + ], + "loc": { + "start": { + "line": 656, + "column": 8 + }, + "end": { + "line": 658, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " results per page select is added to external element", + "range": [ + 20201, + 20256 + ], + "loc": { + "start": { + "line": 655, + "column": 8 + }, + "end": { + "line": 655, + "column": 63 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 20345, + 20353 + ], + "loc": { + "start": { + "line": 659, + "column": 12 + }, + "end": { + "line": 659, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20357, + 20361 + ], + "loc": { + "start": { + "line": 659, + "column": 24 + }, + "end": { + "line": 659, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthTgtId", + "range": [ + 20362, + 20377 + ], + "loc": { + "start": { + "line": 659, + "column": 29 + }, + "end": { + "line": 659, + "column": 44 + } + } + }, + "range": [ + 20357, + 20377 + ], + "loc": { + "start": { + "line": 659, + "column": 24 + }, + "end": { + "line": 659, + "column": 44 + } + } + }, + "prefix": true, + "range": [ + 20356, + 20377 + ], + "loc": { + "start": { + "line": 659, + "column": 23 + }, + "end": { + "line": 659, + "column": 44 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 20392, + 20394 + ], + "loc": { + "start": { + "line": 660, + "column": 12 + }, + "end": { + "line": 660, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 20395, + 20399 + ], + "loc": { + "start": { + "line": 660, + "column": 15 + }, + "end": { + "line": 660, + "column": 19 + } + } + }, + "range": [ + 20392, + 20399 + ], + "loc": { + "start": { + "line": 660, + "column": 12 + }, + "end": { + "line": 660, + "column": 19 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 20402, + 20405 + ], + "loc": { + "start": { + "line": 660, + "column": 22 + }, + "end": { + "line": 660, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20406, + 20410 + ], + "loc": { + "start": { + "line": 660, + "column": 26 + }, + "end": { + "line": 660, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthTgtId", + "range": [ + 20411, + 20426 + ], + "loc": { + "start": { + "line": 660, + "column": 31 + }, + "end": { + "line": 660, + "column": 46 + } + } + }, + "range": [ + 20406, + 20426 + ], + "loc": { + "start": { + "line": 660, + "column": 26 + }, + "end": { + "line": 660, + "column": 46 + } + } + } + ], + "range": [ + 20402, + 20427 + ], + "loc": { + "start": { + "line": 660, + "column": 22 + }, + "end": { + "line": 660, + "column": 47 + } + } + }, + "range": [ + 20356, + 20427 + ], + "loc": { + "start": { + "line": 659, + "column": 23 + }, + "end": { + "line": 660, + "column": 47 + } + } + }, + "range": [ + 20345, + 20427 + ], + "loc": { + "start": { + "line": 659, + "column": 12 + }, + "end": { + "line": 660, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 20341, + 20428 + ], + "loc": { + "start": { + "line": 659, + "column": 8 + }, + "end": { + "line": 660, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 20437, + 20445 + ], + "loc": { + "start": { + "line": 661, + "column": 8 + }, + "end": { + "line": 661, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 20446, + 20457 + ], + "loc": { + "start": { + "line": 661, + "column": 17 + }, + "end": { + "line": 661, + "column": 28 + } + } + }, + "range": [ + 20437, + 20457 + ], + "loc": { + "start": { + "line": 661, + "column": 8 + }, + "end": { + "line": 661, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 20458, + 20468 + ], + "loc": { + "start": { + "line": 661, + "column": 29 + }, + "end": { + "line": 661, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcRText", + "range": [ + 20469, + 20477 + ], + "loc": { + "start": { + "line": 661, + "column": 40 + }, + "end": { + "line": 661, + "column": 48 + } + } + } + ], + "range": [ + 20458, + 20478 + ], + "loc": { + "start": { + "line": 661, + "column": 29 + }, + "end": { + "line": 661, + "column": 49 + } + } + } + ], + "range": [ + 20437, + 20479 + ], + "loc": { + "start": { + "line": 661, + "column": 8 + }, + "end": { + "line": 661, + "column": 50 + } + } + }, + "range": [ + 20437, + 20480 + ], + "loc": { + "start": { + "line": 661, + "column": 8 + }, + "end": { + "line": 661, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "help", + "range": [ + 20494, + 20498 + ], + "loc": { + "start": { + "line": 663, + "column": 12 + }, + "end": { + "line": 663, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 20501, + 20503 + ], + "loc": { + "start": { + "line": 663, + "column": 19 + }, + "end": { + "line": 663, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 20504, + 20511 + ], + "loc": { + "start": { + "line": 663, + "column": 22 + }, + "end": { + "line": 663, + "column": 29 + } + } + }, + "range": [ + 20501, + 20511 + ], + "loc": { + "start": { + "line": 663, + "column": 19 + }, + "end": { + "line": 663, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "help", + "raw": "'help'", + "range": [ + 20512, + 20518 + ], + "loc": { + "start": { + "line": 663, + "column": 30 + }, + "end": { + "line": 663, + "column": 36 + } + } + } + ], + "range": [ + 20501, + 20519 + ], + "loc": { + "start": { + "line": 663, + "column": 19 + }, + "end": { + "line": 663, + "column": 37 + } + } + }, + "range": [ + 20494, + 20519 + ], + "loc": { + "start": { + "line": 663, + "column": 12 + }, + "end": { + "line": 663, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 20490, + 20520 + ], + "loc": { + "start": { + "line": 663, + "column": 8 + }, + "end": { + "line": 663, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "help", + "range": [ + 20533, + 20537 + ], + "loc": { + "start": { + "line": 664, + "column": 12 + }, + "end": { + "line": 664, + "column": 16 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "help", + "range": [ + 20541, + 20545 + ], + "loc": { + "start": { + "line": 664, + "column": 20 + }, + "end": { + "line": 664, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20546, + 20549 + ], + "loc": { + "start": { + "line": 664, + "column": 25 + }, + "end": { + "line": 664, + "column": 28 + } + } + }, + "range": [ + 20541, + 20549 + ], + "loc": { + "start": { + "line": 664, + "column": 20 + }, + "end": { + "line": 664, + "column": 28 + } + } + }, + "range": [ + 20533, + 20549 + ], + "loc": { + "start": { + "line": 664, + "column": 12 + }, + "end": { + "line": 664, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "help", + "range": [ + 20565, + 20569 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20570, + 20573 + ], + "loc": { + "start": { + "line": 665, + "column": 17 + }, + "end": { + "line": 665, + "column": 20 + } + } + }, + "range": [ + 20565, + 20573 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 20574, + 20584 + ], + "loc": { + "start": { + "line": 665, + "column": 21 + }, + "end": { + "line": 665, + "column": 31 + } + } + }, + "range": [ + 20565, + 20584 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 20585, + 20597 + ], + "loc": { + "start": { + "line": 665, + "column": 32 + }, + "end": { + "line": 665, + "column": 44 + } + } + }, + "range": [ + 20565, + 20597 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 20598, + 20606 + ], + "loc": { + "start": { + "line": 665, + "column": 45 + }, + "end": { + "line": 665, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "help", + "range": [ + 20608, + 20612 + ], + "loc": { + "start": { + "line": 665, + "column": 55 + }, + "end": { + "line": 665, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20613, + 20616 + ], + "loc": { + "start": { + "line": 665, + "column": 60 + }, + "end": { + "line": 665, + "column": 63 + } + } + }, + "range": [ + 20608, + 20616 + ], + "loc": { + "start": { + "line": 665, + "column": 55 + }, + "end": { + "line": 665, + "column": 63 + } + } + } + ], + "range": [ + 20565, + 20617 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 64 + } + } + }, + "range": [ + 20565, + 20618 + ], + "loc": { + "start": { + "line": 665, + "column": 12 + }, + "end": { + "line": 665, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "help", + "range": [ + 20631, + 20635 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20636, + 20639 + ], + "loc": { + "start": { + "line": 666, + "column": 17 + }, + "end": { + "line": 666, + "column": 20 + } + } + }, + "range": [ + 20631, + 20639 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 20640, + 20650 + ], + "loc": { + "start": { + "line": 666, + "column": 21 + }, + "end": { + "line": 666, + "column": 31 + } + } + }, + "range": [ + 20631, + 20650 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 20651, + 20663 + ], + "loc": { + "start": { + "line": 666, + "column": 32 + }, + "end": { + "line": 666, + "column": 44 + } + } + }, + "range": [ + 20631, + 20663 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcR", + "range": [ + 20664, + 20668 + ], + "loc": { + "start": { + "line": 666, + "column": 45 + }, + "end": { + "line": 666, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "help", + "range": [ + 20670, + 20674 + ], + "loc": { + "start": { + "line": 666, + "column": 51 + }, + "end": { + "line": 666, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20675, + 20678 + ], + "loc": { + "start": { + "line": 666, + "column": 56 + }, + "end": { + "line": 666, + "column": 59 + } + } + }, + "range": [ + 20670, + 20678 + ], + "loc": { + "start": { + "line": 666, + "column": 51 + }, + "end": { + "line": 666, + "column": 59 + } + } + } + ], + "range": [ + 20631, + 20679 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 60 + } + } + }, + "range": [ + 20631, + 20680 + ], + "loc": { + "start": { + "line": 666, + "column": 12 + }, + "end": { + "line": 666, + "column": 61 + } + } + } + ], + "range": [ + 20551, + 20690 + ], + "loc": { + "start": { + "line": 664, + "column": 30 + }, + "end": { + "line": 667, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 20710, + 20718 + ], + "loc": { + "start": { + "line": 668, + "column": 12 + }, + "end": { + "line": 668, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 20719, + 20730 + ], + "loc": { + "start": { + "line": 668, + "column": 21 + }, + "end": { + "line": 668, + "column": 32 + } + } + }, + "range": [ + 20710, + 20730 + ], + "loc": { + "start": { + "line": 668, + "column": 12 + }, + "end": { + "line": 668, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 20731, + 20739 + ], + "loc": { + "start": { + "line": 668, + "column": 33 + }, + "end": { + "line": 668, + "column": 41 + } + } + } + ], + "range": [ + 20710, + 20740 + ], + "loc": { + "start": { + "line": 668, + "column": 12 + }, + "end": { + "line": 668, + "column": 42 + } + } + }, + "range": [ + 20710, + 20741 + ], + "loc": { + "start": { + "line": 668, + "column": 12 + }, + "end": { + "line": 668, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 20754, + 20762 + ], + "loc": { + "start": { + "line": 669, + "column": 12 + }, + "end": { + "line": 669, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 20763, + 20774 + ], + "loc": { + "start": { + "line": 669, + "column": 21 + }, + "end": { + "line": 669, + "column": 32 + } + } + }, + "range": [ + 20754, + 20774 + ], + "loc": { + "start": { + "line": 669, + "column": 12 + }, + "end": { + "line": 669, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcR", + "range": [ + 20775, + 20779 + ], + "loc": { + "start": { + "line": 669, + "column": 33 + }, + "end": { + "line": 669, + "column": 37 + } + } + } + ], + "range": [ + 20754, + 20780 + ], + "loc": { + "start": { + "line": 669, + "column": 12 + }, + "end": { + "line": 669, + "column": 38 + } + } + }, + "range": [ + 20754, + 20781 + ], + "loc": { + "start": { + "line": 669, + "column": 12 + }, + "end": { + "line": 669, + "column": 39 + } + } + } + ], + "range": [ + 20696, + 20791 + ], + "loc": { + "start": { + "line": 667, + "column": 15 + }, + "end": { + "line": 670, + "column": 9 + } + } + }, + "range": [ + 20529, + 20791 + ], + "loc": { + "start": { + "line": 664, + "column": 8 + }, + "end": { + "line": 670, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 20810, + 20811 + ], + "loc": { + "start": { + "line": 672, + "column": 17 + }, + "end": { + "line": 672, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 20814, + 20815 + ], + "loc": { + "start": { + "line": 672, + "column": 21 + }, + "end": { + "line": 672, + "column": 22 + } + } + }, + "range": [ + 20810, + 20815 + ], + "loc": { + "start": { + "line": 672, + "column": 17 + }, + "end": { + "line": 672, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 20806, + 20815 + ], + "loc": { + "start": { + "line": 672, + "column": 13 + }, + "end": { + "line": 672, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 20817, + 20818 + ], + "loc": { + "start": { + "line": 672, + "column": 24 + }, + "end": { + "line": 672, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcROpts", + "range": [ + 20821, + 20829 + ], + "loc": { + "start": { + "line": 672, + "column": 28 + }, + "end": { + "line": 672, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 20830, + 20836 + ], + "loc": { + "start": { + "line": 672, + "column": 37 + }, + "end": { + "line": 672, + "column": 43 + } + } + }, + "range": [ + 20821, + 20836 + ], + "loc": { + "start": { + "line": 672, + "column": 28 + }, + "end": { + "line": 672, + "column": 43 + } + } + }, + "range": [ + 20817, + 20836 + ], + "loc": { + "start": { + "line": 672, + "column": 24 + }, + "end": { + "line": 672, + "column": 43 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "r", + "range": [ + 20838, + 20839 + ], + "loc": { + "start": { + "line": 672, + "column": 45 + }, + "end": { + "line": 672, + "column": 46 + } + } + }, + "prefix": false, + "range": [ + 20838, + 20841 + ], + "loc": { + "start": { + "line": 672, + "column": 45 + }, + "end": { + "line": 672, + "column": 48 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "currOpt", + "range": [ + 20861, + 20868 + ], + "loc": { + "start": { + "line": 673, + "column": 16 + }, + "end": { + "line": 673, + "column": 23 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Option", + "range": [ + 20875, + 20881 + ], + "loc": { + "start": { + "line": 673, + "column": 30 + }, + "end": { + "line": 673, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcROpts", + "range": [ + 20882, + 20890 + ], + "loc": { + "start": { + "line": 673, + "column": 37 + }, + "end": { + "line": 673, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 20891, + 20892 + ], + "loc": { + "start": { + "line": 673, + "column": 46 + }, + "end": { + "line": 673, + "column": 47 + } + } + }, + "range": [ + 20882, + 20893 + ], + "loc": { + "start": { + "line": 673, + "column": 37 + }, + "end": { + "line": 673, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcROpts", + "range": [ + 20895, + 20903 + ], + "loc": { + "start": { + "line": 673, + "column": 50 + }, + "end": { + "line": 673, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 20904, + 20905 + ], + "loc": { + "start": { + "line": 673, + "column": 59 + }, + "end": { + "line": 673, + "column": 60 + } + } + }, + "range": [ + 20895, + 20906 + ], + "loc": { + "start": { + "line": 673, + "column": 50 + }, + "end": { + "line": 673, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 20908, + 20913 + ], + "loc": { + "start": { + "line": 673, + "column": 63 + }, + "end": { + "line": 673, + "column": 68 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 20915, + 20920 + ], + "loc": { + "start": { + "line": 673, + "column": 70 + }, + "end": { + "line": 673, + "column": 75 + } + } + } + ], + "range": [ + 20871, + 20921 + ], + "loc": { + "start": { + "line": 673, + "column": 26 + }, + "end": { + "line": 673, + "column": 76 + } + } + }, + "range": [ + 20861, + 20921 + ], + "loc": { + "start": { + "line": 673, + "column": 16 + }, + "end": { + "line": 673, + "column": 76 + } + } + } + ], + "kind": "let", + "range": [ + 20857, + 20922 + ], + "loc": { + "start": { + "line": 673, + "column": 12 + }, + "end": { + "line": 673, + "column": 77 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcR", + "range": [ + 20935, + 20939 + ], + "loc": { + "start": { + "line": 674, + "column": 12 + }, + "end": { + "line": 674, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 20940, + 20947 + ], + "loc": { + "start": { + "line": 674, + "column": 17 + }, + "end": { + "line": 674, + "column": 24 + } + } + }, + "range": [ + 20935, + 20947 + ], + "loc": { + "start": { + "line": 674, + "column": 12 + }, + "end": { + "line": 674, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 20948, + 20949 + ], + "loc": { + "start": { + "line": 674, + "column": 25 + }, + "end": { + "line": 674, + "column": 26 + } + } + }, + "range": [ + 20935, + 20950 + ], + "loc": { + "start": { + "line": 674, + "column": 12 + }, + "end": { + "line": 674, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "currOpt", + "range": [ + 20953, + 20960 + ], + "loc": { + "start": { + "line": 674, + "column": 30 + }, + "end": { + "line": 674, + "column": 37 + } + } + }, + "range": [ + 20935, + 20960 + ], + "loc": { + "start": { + "line": 674, + "column": 12 + }, + "end": { + "line": 674, + "column": 37 + } + } + }, + "range": [ + 20935, + 20961 + ], + "loc": { + "start": { + "line": 674, + "column": 12 + }, + "end": { + "line": 674, + "column": 38 + } + } + } + ], + "range": [ + 20843, + 20971 + ], + "loc": { + "start": { + "line": 672, + "column": 50 + }, + "end": { + "line": 675, + "column": 9 + } + } + }, + "range": [ + 20801, + 20971 + ], + "loc": { + "start": { + "line": 672, + "column": 8 + }, + "end": { + "line": 675, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 20980, + 20986 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 676, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcR", + "range": [ + 20987, + 20991 + ], + "loc": { + "start": { + "line": 676, + "column": 15 + }, + "end": { + "line": 676, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "change", + "raw": "'change'", + "range": [ + 20993, + 21001 + ], + "loc": { + "start": { + "line": 676, + "column": 21 + }, + "end": { + "line": 676, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 21003, + 21006 + ], + "loc": { + "start": { + "line": 676, + "column": 31 + }, + "end": { + "line": 676, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsChange", + "range": [ + 21007, + 21023 + ], + "loc": { + "start": { + "line": 676, + "column": 35 + }, + "end": { + "line": 676, + "column": 51 + } + } + }, + "range": [ + 21003, + 21023 + ], + "loc": { + "start": { + "line": 676, + "column": 31 + }, + "end": { + "line": 676, + "column": 51 + } + } + } + ], + "range": [ + 20980, + 21024 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 676, + "column": 52 + } + } + }, + "range": [ + 20980, + 21025 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 676, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21034, + 21038 + ], + "loc": { + "start": { + "line": 677, + "column": 8 + }, + "end": { + "line": 677, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsTxt", + "range": [ + 21039, + 21052 + ], + "loc": { + "start": { + "line": 677, + "column": 13 + }, + "end": { + "line": 677, + "column": 26 + } + } + }, + "range": [ + 21034, + 21052 + ], + "loc": { + "start": { + "line": 677, + "column": 8 + }, + "end": { + "line": 677, + "column": 26 + } + } + }, + "right": { + "type": "Identifier", + "name": "slcRSpan", + "range": [ + 21055, + 21063 + ], + "loc": { + "start": { + "line": 677, + "column": 29 + }, + "end": { + "line": 677, + "column": 37 + } + } + }, + "range": [ + 21034, + 21063 + ], + "loc": { + "start": { + "line": 677, + "column": 8 + }, + "end": { + "line": 677, + "column": 37 + } + } + }, + "range": [ + 21034, + 21064 + ], + "loc": { + "start": { + "line": 677, + "column": 8 + }, + "end": { + "line": 677, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21073, + 21077 + ], + "loc": { + "start": { + "line": 678, + "column": 8 + }, + "end": { + "line": 678, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 21078, + 21091 + ], + "loc": { + "start": { + "line": 678, + "column": 13 + }, + "end": { + "line": 678, + "column": 26 + } + } + }, + "range": [ + 21073, + 21091 + ], + "loc": { + "start": { + "line": 678, + "column": 8 + }, + "end": { + "line": 678, + "column": 26 + } + } + }, + "right": { + "type": "Identifier", + "name": "slcR", + "range": [ + 21094, + 21098 + ], + "loc": { + "start": { + "line": 678, + "column": 29 + }, + "end": { + "line": 678, + "column": 33 + } + } + }, + "range": [ + 21073, + 21098 + ], + "loc": { + "start": { + "line": 678, + "column": 8 + }, + "end": { + "line": 678, + "column": 33 + } + } + }, + "range": [ + 21073, + 21099 + ], + "loc": { + "start": { + "line": 678, + "column": 8 + }, + "end": { + "line": 678, + "column": 34 + } + } + } + ], + "range": [ + 19641, + 21105 + ], + "loc": { + "start": { + "line": 635, + "column": 24 + }, + "end": { + "line": 679, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 19638, + 21105 + ], + "loc": { + "start": { + "line": 635, + "column": 21 + }, + "end": { + "line": 679, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 19621, + 21105 + ], + "loc": { + "start": { + "line": 635, + "column": 4 + }, + "end": { + "line": 679, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Generates UI elements for the number of results per page drop-down\n ", + "range": [ + 19531, + 19616 + ], + "loc": { + "start": { + "line": 632, + "column": 4 + }, + "end": { + "line": 634, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove number of results per page UI elements\n ", + "range": [ + 21111, + 21175 + ], + "loc": { + "start": { + "line": 681, + "column": 4 + }, + "end": { + "line": 683, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "removeResultsPerPage", + "range": [ + 21180, + 21200 + ], + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 684, + "column": 24 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 21217, + 21219 + ], + "loc": { + "start": { + "line": 685, + "column": 12 + }, + "end": { + "line": 685, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21222, + 21226 + ], + "loc": { + "start": { + "line": 685, + "column": 17 + }, + "end": { + "line": 685, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 21227, + 21229 + ], + "loc": { + "start": { + "line": 685, + "column": 22 + }, + "end": { + "line": 685, + "column": 24 + } + } + }, + "range": [ + 21222, + 21229 + ], + "loc": { + "start": { + "line": 685, + "column": 17 + }, + "end": { + "line": 685, + "column": 24 + } + } + }, + "range": [ + 21217, + 21229 + ], + "loc": { + "start": { + "line": 685, + "column": 12 + }, + "end": { + "line": 685, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 21213, + 21230 + ], + "loc": { + "start": { + "line": 685, + "column": 8 + }, + "end": { + "line": 685, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 21244, + 21246 + ], + "loc": { + "start": { + "line": 686, + "column": 13 + }, + "end": { + "line": 686, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "isInitialized", + "range": [ + 21247, + 21260 + ], + "loc": { + "start": { + "line": 686, + "column": 16 + }, + "end": { + "line": 686, + "column": 29 + } + } + }, + "range": [ + 21244, + 21260 + ], + "loc": { + "start": { + "line": 686, + "column": 13 + }, + "end": { + "line": 686, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 21244, + 21262 + ], + "loc": { + "start": { + "line": 686, + "column": 13 + }, + "end": { + "line": 686, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 21243, + 21262 + ], + "loc": { + "start": { + "line": 686, + "column": 12 + }, + "end": { + "line": 686, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21267, + 21271 + ], + "loc": { + "start": { + "line": 686, + "column": 36 + }, + "end": { + "line": 686, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 21272, + 21285 + ], + "loc": { + "start": { + "line": 686, + "column": 41 + }, + "end": { + "line": 686, + "column": 54 + } + } + }, + "range": [ + 21267, + 21285 + ], + "loc": { + "start": { + "line": 686, + "column": 36 + }, + "end": { + "line": 686, + "column": 54 + } + } + }, + "prefix": true, + "range": [ + 21266, + 21285 + ], + "loc": { + "start": { + "line": 686, + "column": 35 + }, + "end": { + "line": 686, + "column": 54 + } + } + }, + "range": [ + 21243, + 21285 + ], + "loc": { + "start": { + "line": 686, + "column": 12 + }, + "end": { + "line": 686, + "column": 54 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21302, + 21306 + ], + "loc": { + "start": { + "line": 687, + "column": 13 + }, + "end": { + "line": 687, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "resultsPerPage", + "range": [ + 21307, + 21321 + ], + "loc": { + "start": { + "line": 687, + "column": 18 + }, + "end": { + "line": 687, + "column": 32 + } + } + }, + "range": [ + 21302, + 21321 + ], + "loc": { + "start": { + "line": 687, + "column": 13 + }, + "end": { + "line": 687, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 21301, + 21321 + ], + "loc": { + "start": { + "line": 687, + "column": 12 + }, + "end": { + "line": 687, + "column": 32 + } + } + }, + "range": [ + 21243, + 21321 + ], + "loc": { + "start": { + "line": 686, + "column": 12 + }, + "end": { + "line": 687, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 21337, + 21344 + ], + "loc": { + "start": { + "line": 688, + "column": 12 + }, + "end": { + "line": 688, + "column": 19 + } + } + } + ], + "range": [ + 21323, + 21354 + ], + "loc": { + "start": { + "line": 687, + "column": 34 + }, + "end": { + "line": 689, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 21239, + 21354 + ], + "loc": { + "start": { + "line": 686, + "column": 8 + }, + "end": { + "line": 689, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21367, + 21371 + ], + "loc": { + "start": { + "line": 690, + "column": 12 + }, + "end": { + "line": 690, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 21372, + 21385 + ], + "loc": { + "start": { + "line": 690, + "column": 17 + }, + "end": { + "line": 690, + "column": 30 + } + } + }, + "range": [ + 21367, + 21385 + ], + "loc": { + "start": { + "line": 690, + "column": 12 + }, + "end": { + "line": 690, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 21401, + 21410 + ], + "loc": { + "start": { + "line": 691, + "column": 12 + }, + "end": { + "line": 691, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21411, + 21415 + ], + "loc": { + "start": { + "line": 691, + "column": 22 + }, + "end": { + "line": 691, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 21416, + 21429 + ], + "loc": { + "start": { + "line": 691, + "column": 27 + }, + "end": { + "line": 691, + "column": 40 + } + } + }, + "range": [ + 21411, + 21429 + ], + "loc": { + "start": { + "line": 691, + "column": 22 + }, + "end": { + "line": 691, + "column": 40 + } + } + } + ], + "range": [ + 21401, + 21430 + ], + "loc": { + "start": { + "line": 691, + "column": 12 + }, + "end": { + "line": 691, + "column": 41 + } + } + }, + "range": [ + 21401, + 21431 + ], + "loc": { + "start": { + "line": 691, + "column": 12 + }, + "end": { + "line": 691, + "column": 42 + } + } + } + ], + "range": [ + 21387, + 21441 + ], + "loc": { + "start": { + "line": 690, + "column": 32 + }, + "end": { + "line": 692, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 21363, + 21441 + ], + "loc": { + "start": { + "line": 690, + "column": 8 + }, + "end": { + "line": 692, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21454, + 21458 + ], + "loc": { + "start": { + "line": 693, + "column": 12 + }, + "end": { + "line": 693, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsTxt", + "range": [ + 21459, + 21472 + ], + "loc": { + "start": { + "line": 693, + "column": 17 + }, + "end": { + "line": 693, + "column": 30 + } + } + }, + "range": [ + 21454, + 21472 + ], + "loc": { + "start": { + "line": 693, + "column": 12 + }, + "end": { + "line": 693, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 21488, + 21497 + ], + "loc": { + "start": { + "line": 694, + "column": 12 + }, + "end": { + "line": 694, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21498, + 21502 + ], + "loc": { + "start": { + "line": 694, + "column": 22 + }, + "end": { + "line": 694, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsTxt", + "range": [ + 21503, + 21516 + ], + "loc": { + "start": { + "line": 694, + "column": 27 + }, + "end": { + "line": 694, + "column": 40 + } + } + }, + "range": [ + 21498, + 21516 + ], + "loc": { + "start": { + "line": 694, + "column": 22 + }, + "end": { + "line": 694, + "column": 40 + } + } + } + ], + "range": [ + 21488, + 21517 + ], + "loc": { + "start": { + "line": 694, + "column": 12 + }, + "end": { + "line": 694, + "column": 41 + } + } + }, + "range": [ + 21488, + 21518 + ], + "loc": { + "start": { + "line": 694, + "column": 12 + }, + "end": { + "line": 694, + "column": 42 + } + } + } + ], + "range": [ + 21474, + 21528 + ], + "loc": { + "start": { + "line": 693, + "column": 32 + }, + "end": { + "line": 695, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 21450, + 21528 + ], + "loc": { + "start": { + "line": 693, + "column": 8 + }, + "end": { + "line": 695, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21537, + 21541 + ], + "loc": { + "start": { + "line": 696, + "column": 8 + }, + "end": { + "line": 696, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 21542, + 21555 + ], + "loc": { + "start": { + "line": 696, + "column": 13 + }, + "end": { + "line": 696, + "column": 26 + } + } + }, + "range": [ + 21537, + 21555 + ], + "loc": { + "start": { + "line": 696, + "column": 8 + }, + "end": { + "line": 696, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 21558, + 21562 + ], + "loc": { + "start": { + "line": 696, + "column": 29 + }, + "end": { + "line": 696, + "column": 33 + } + } + }, + "range": [ + 21537, + 21562 + ], + "loc": { + "start": { + "line": 696, + "column": 8 + }, + "end": { + "line": 696, + "column": 33 + } + } + }, + "range": [ + 21537, + 21563 + ], + "loc": { + "start": { + "line": 696, + "column": 8 + }, + "end": { + "line": 696, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21572, + 21576 + ], + "loc": { + "start": { + "line": 697, + "column": 8 + }, + "end": { + "line": 697, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcResultsTxt", + "range": [ + 21577, + 21590 + ], + "loc": { + "start": { + "line": 697, + "column": 13 + }, + "end": { + "line": 697, + "column": 26 + } + } + }, + "range": [ + 21572, + 21590 + ], + "loc": { + "start": { + "line": 697, + "column": 8 + }, + "end": { + "line": 697, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 21593, + 21597 + ], + "loc": { + "start": { + "line": 697, + "column": 29 + }, + "end": { + "line": 697, + "column": 33 + } + } + }, + "range": [ + 21572, + 21597 + ], + "loc": { + "start": { + "line": 697, + "column": 8 + }, + "end": { + "line": 697, + "column": 33 + } + } + }, + "range": [ + 21572, + 21598 + ], + "loc": { + "start": { + "line": 697, + "column": 8 + }, + "end": { + "line": 697, + "column": 34 + } + } + } + ], + "range": [ + 21203, + 21604 + ], + "loc": { + "start": { + "line": 684, + "column": 27 + }, + "end": { + "line": 698, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 21200, + 21604 + ], + "loc": { + "start": { + "line": 684, + "column": 24 + }, + "end": { + "line": 698, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 21180, + 21604 + ], + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 698, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove number of results per page UI elements\n ", + "range": [ + 21111, + 21175 + ], + "loc": { + "start": { + "line": 681, + "column": 4 + }, + "end": { + "line": 683, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n ", + "range": [ + 21610, + 21719 + ], + "loc": { + "start": { + "line": 700, + "column": 4 + }, + "end": { + "line": 703, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "changePage", + "range": [ + 21724, + 21734 + ], + "loc": { + "start": { + "line": 704, + "column": 4 + }, + "end": { + "line": 704, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 21735, + 21740 + ], + "loc": { + "start": { + "line": 704, + "column": 15 + }, + "end": { + "line": 704, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 21756, + 21758 + ], + "loc": { + "start": { + "line": 705, + "column": 12 + }, + "end": { + "line": 705, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21761, + 21765 + ], + "loc": { + "start": { + "line": 705, + "column": 17 + }, + "end": { + "line": 705, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 21766, + 21768 + ], + "loc": { + "start": { + "line": 705, + "column": 22 + }, + "end": { + "line": 705, + "column": 24 + } + } + }, + "range": [ + 21761, + 21768 + ], + "loc": { + "start": { + "line": 705, + "column": 17 + }, + "end": { + "line": 705, + "column": 24 + } + } + }, + "range": [ + 21756, + 21768 + ], + "loc": { + "start": { + "line": 705, + "column": 12 + }, + "end": { + "line": 705, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 21752, + 21769 + ], + "loc": { + "start": { + "line": 705, + "column": 8 + }, + "end": { + "line": 705, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21784, + 21788 + ], + "loc": { + "start": { + "line": 707, + "column": 13 + }, + "end": { + "line": 707, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 21789, + 21798 + ], + "loc": { + "start": { + "line": 707, + "column": 18 + }, + "end": { + "line": 707, + "column": 27 + } + } + }, + "range": [ + 21784, + 21798 + ], + "loc": { + "start": { + "line": 707, + "column": 13 + }, + "end": { + "line": 707, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 21784, + 21800 + ], + "loc": { + "start": { + "line": 707, + "column": 13 + }, + "end": { + "line": 707, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 21783, + 21800 + ], + "loc": { + "start": { + "line": 707, + "column": 12 + }, + "end": { + "line": 707, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 21816, + 21823 + ], + "loc": { + "start": { + "line": 708, + "column": 12 + }, + "end": { + "line": 708, + "column": 19 + } + } + } + ], + "range": [ + 21802, + 21833 + ], + "loc": { + "start": { + "line": 707, + "column": 31 + }, + "end": { + "line": 709, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 21779, + 21833 + ], + "loc": { + "start": { + "line": 707, + "column": 8 + }, + "end": { + "line": 709, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21843, + 21847 + ], + "loc": { + "start": { + "line": 711, + "column": 8 + }, + "end": { + "line": 711, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 21848, + 21855 + ], + "loc": { + "start": { + "line": 711, + "column": 13 + }, + "end": { + "line": 711, + "column": 20 + } + } + }, + "range": [ + 21843, + 21855 + ], + "loc": { + "start": { + "line": 711, + "column": 8 + }, + "end": { + "line": 711, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 21856, + 21860 + ], + "loc": { + "start": { + "line": 711, + "column": 21 + }, + "end": { + "line": 711, + "column": 25 + } + } + }, + "range": [ + 21843, + 21860 + ], + "loc": { + "start": { + "line": 711, + "column": 8 + }, + "end": { + "line": 711, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-page-change", + "raw": "'before-page-change'", + "range": [ + 21861, + 21881 + ], + "loc": { + "start": { + "line": 711, + "column": 26 + }, + "end": { + "line": 711, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 21883, + 21885 + ], + "loc": { + "start": { + "line": 711, + "column": 48 + }, + "end": { + "line": 711, + "column": 50 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 21888, + 21893 + ], + "loc": { + "start": { + "line": 711, + "column": 53 + }, + "end": { + "line": 711, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 21896, + 21897 + ], + "loc": { + "start": { + "line": 711, + "column": 61 + }, + "end": { + "line": 711, + "column": 62 + } + } + }, + "range": [ + 21888, + 21897 + ], + "loc": { + "start": { + "line": 711, + "column": 53 + }, + "end": { + "line": 711, + "column": 62 + } + } + } + ], + "range": [ + 21843, + 21899 + ], + "loc": { + "start": { + "line": 711, + "column": 8 + }, + "end": { + "line": 711, + "column": 64 + } + } + }, + "range": [ + 21843, + 21900 + ], + "loc": { + "start": { + "line": 711, + "column": 8 + }, + "end": { + "line": 711, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 21914, + 21919 + ], + "loc": { + "start": { + "line": 713, + "column": 12 + }, + "end": { + "line": 713, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 21924, + 21928 + ], + "loc": { + "start": { + "line": 713, + "column": 22 + }, + "end": { + "line": 713, + "column": 26 + } + } + }, + "range": [ + 21914, + 21928 + ], + "loc": { + "start": { + "line": 713, + "column": 12 + }, + "end": { + "line": 713, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 21944, + 21949 + ], + "loc": { + "start": { + "line": 714, + "column": 12 + }, + "end": { + "line": 714, + "column": 17 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21952, + 21956 + ], + "loc": { + "start": { + "line": 714, + "column": 20 + }, + "end": { + "line": 714, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 21957, + 21973 + ], + "loc": { + "start": { + "line": 714, + "column": 25 + }, + "end": { + "line": 714, + "column": 41 + } + } + }, + "range": [ + 21952, + 21973 + ], + "loc": { + "start": { + "line": 714, + "column": 20 + }, + "end": { + "line": 714, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 21978, + 21984 + ], + "loc": { + "start": { + "line": 714, + "column": 46 + }, + "end": { + "line": 714, + "column": 52 + } + } + }, + "range": [ + 21952, + 21984 + ], + "loc": { + "start": { + "line": 714, + "column": 20 + }, + "end": { + "line": 714, + "column": 52 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22003, + 22007 + ], + "loc": { + "start": { + "line": 715, + "column": 16 + }, + "end": { + "line": 715, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 22008, + 22015 + ], + "loc": { + "start": { + "line": 715, + "column": 21 + }, + "end": { + "line": 715, + "column": 28 + } + } + }, + "range": [ + 22003, + 22015 + ], + "loc": { + "start": { + "line": 715, + "column": 16 + }, + "end": { + "line": 715, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 22016, + 22023 + ], + "loc": { + "start": { + "line": 715, + "column": 29 + }, + "end": { + "line": 715, + "column": 36 + } + } + }, + "range": [ + 22003, + 22023 + ], + "loc": { + "start": { + "line": 715, + "column": 16 + }, + "end": { + "line": 715, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedIndex", + "range": [ + 22024, + 22037 + ], + "loc": { + "start": { + "line": 715, + "column": 37 + }, + "end": { + "line": 715, + "column": 50 + } + } + }, + "range": [ + 22003, + 22037 + ], + "loc": { + "start": { + "line": 715, + "column": 16 + }, + "end": { + "line": 715, + "column": 50 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22040, + 22044 + ], + "loc": { + "start": { + "line": 715, + "column": 53 + }, + "end": { + "line": 715, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 22045, + 22052 + ], + "loc": { + "start": { + "line": 715, + "column": 58 + }, + "end": { + "line": 715, + "column": 65 + } + } + }, + "range": [ + 22040, + 22052 + ], + "loc": { + "start": { + "line": 715, + "column": 53 + }, + "end": { + "line": 715, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 22053, + 22058 + ], + "loc": { + "start": { + "line": 715, + "column": 66 + }, + "end": { + "line": 715, + "column": 71 + } + } + }, + "range": [ + 22040, + 22058 + ], + "loc": { + "start": { + "line": 715, + "column": 53 + }, + "end": { + "line": 715, + "column": 71 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22061, + 22062 + ], + "loc": { + "start": { + "line": 715, + "column": 74 + }, + "end": { + "line": 715, + "column": 75 + } + } + }, + "range": [ + 22040, + 22062 + ], + "loc": { + "start": { + "line": 715, + "column": 53 + }, + "end": { + "line": 715, + "column": 75 + } + } + }, + "range": [ + 21952, + 22062 + ], + "loc": { + "start": { + "line": 714, + "column": 20 + }, + "end": { + "line": 715, + "column": 75 + } + } + }, + "range": [ + 21944, + 22062 + ], + "loc": { + "start": { + "line": 714, + "column": 12 + }, + "end": { + "line": 715, + "column": 75 + } + } + }, + "range": [ + 21944, + 22063 + ], + "loc": { + "start": { + "line": 714, + "column": 12 + }, + "end": { + "line": 715, + "column": 76 + } + } + } + ], + "range": [ + 21930, + 22073 + ], + "loc": { + "start": { + "line": 713, + "column": 28 + }, + "end": { + "line": 716, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 21910, + 22073 + ], + "loc": { + "start": { + "line": 713, + "column": 8 + }, + "end": { + "line": 716, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22086, + 22091 + ], + "loc": { + "start": { + "line": 717, + "column": 12 + }, + "end": { + "line": 717, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 22095, + 22096 + ], + "loc": { + "start": { + "line": 717, + "column": 21 + }, + "end": { + "line": 717, + "column": 22 + } + } + }, + "range": [ + 22086, + 22096 + ], + "loc": { + "start": { + "line": 717, + "column": 12 + }, + "end": { + "line": 717, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22100, + 22105 + ], + "loc": { + "start": { + "line": 717, + "column": 26 + }, + "end": { + "line": 717, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22110, + 22114 + ], + "loc": { + "start": { + "line": 717, + "column": 36 + }, + "end": { + "line": 717, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 22115, + 22122 + ], + "loc": { + "start": { + "line": 717, + "column": 41 + }, + "end": { + "line": 717, + "column": 48 + } + } + }, + "range": [ + 22110, + 22122 + ], + "loc": { + "start": { + "line": 717, + "column": 36 + }, + "end": { + "line": 717, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22125, + 22126 + ], + "loc": { + "start": { + "line": 717, + "column": 51 + }, + "end": { + "line": 717, + "column": 52 + } + } + }, + "range": [ + 22110, + 22126 + ], + "loc": { + "start": { + "line": 717, + "column": 36 + }, + "end": { + "line": 717, + "column": 52 + } + } + }, + "range": [ + 22100, + 22127 + ], + "loc": { + "start": { + "line": 717, + "column": 26 + }, + "end": { + "line": 717, + "column": 53 + } + } + }, + "range": [ + 22086, + 22127 + ], + "loc": { + "start": { + "line": 717, + "column": 12 + }, + "end": { + "line": 717, + "column": 53 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22143, + 22147 + ], + "loc": { + "start": { + "line": 718, + "column": 12 + }, + "end": { + "line": 718, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeChangePage", + "range": [ + 22148, + 22166 + ], + "loc": { + "start": { + "line": 718, + "column": 17 + }, + "end": { + "line": 718, + "column": 35 + } + } + }, + "range": [ + 22143, + 22166 + ], + "loc": { + "start": { + "line": 718, + "column": 12 + }, + "end": { + "line": 718, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 22167, + 22171 + ], + "loc": { + "start": { + "line": 718, + "column": 36 + }, + "end": { + "line": 718, + "column": 40 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22174, + 22179 + ], + "loc": { + "start": { + "line": 718, + "column": 43 + }, + "end": { + "line": 718, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22182, + 22183 + ], + "loc": { + "start": { + "line": 718, + "column": 51 + }, + "end": { + "line": 718, + "column": 52 + } + } + }, + "range": [ + 22174, + 22183 + ], + "loc": { + "start": { + "line": 718, + "column": 43 + }, + "end": { + "line": 718, + "column": 52 + } + } + } + ], + "range": [ + 22143, + 22185 + ], + "loc": { + "start": { + "line": 718, + "column": 12 + }, + "end": { + "line": 718, + "column": 54 + } + } + }, + "range": [ + 22143, + 22186 + ], + "loc": { + "start": { + "line": 718, + "column": 12 + }, + "end": { + "line": 718, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22200, + 22204 + ], + "loc": { + "start": { + "line": 720, + "column": 12 + }, + "end": { + "line": 720, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 22205, + 22218 + ], + "loc": { + "start": { + "line": 720, + "column": 17 + }, + "end": { + "line": 720, + "column": 30 + } + } + }, + "range": [ + 22200, + 22218 + ], + "loc": { + "start": { + "line": 720, + "column": 12 + }, + "end": { + "line": 720, + "column": 30 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 22221, + 22229 + ], + "loc": { + "start": { + "line": 720, + "column": 33 + }, + "end": { + "line": 720, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 22230, + 22235 + ], + "loc": { + "start": { + "line": 720, + "column": 42 + }, + "end": { + "line": 720, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 22237, + 22239 + ], + "loc": { + "start": { + "line": 720, + "column": 49 + }, + "end": { + "line": 720, + "column": 51 + } + } + } + ], + "range": [ + 22221, + 22240 + ], + "loc": { + "start": { + "line": 720, + "column": 33 + }, + "end": { + "line": 720, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22243, + 22244 + ], + "loc": { + "start": { + "line": 720, + "column": 55 + }, + "end": { + "line": 720, + "column": 56 + } + } + }, + "range": [ + 22221, + 22244 + ], + "loc": { + "start": { + "line": 720, + "column": 33 + }, + "end": { + "line": 720, + "column": 56 + } + } + }, + "range": [ + 22200, + 22244 + ], + "loc": { + "start": { + "line": 720, + "column": 12 + }, + "end": { + "line": 720, + "column": 56 + } + } + }, + "range": [ + 22200, + 22245 + ], + "loc": { + "start": { + "line": 720, + "column": 12 + }, + "end": { + "line": 720, + "column": 57 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22262, + 22266 + ], + "loc": { + "start": { + "line": 721, + "column": 16 + }, + "end": { + "line": 721, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 22267, + 22283 + ], + "loc": { + "start": { + "line": 721, + "column": 21 + }, + "end": { + "line": 721, + "column": 37 + } + } + }, + "range": [ + 22262, + 22283 + ], + "loc": { + "start": { + "line": 721, + "column": 16 + }, + "end": { + "line": 721, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 22288, + 22294 + ], + "loc": { + "start": { + "line": 721, + "column": 42 + }, + "end": { + "line": 721, + "column": 48 + } + } + }, + "range": [ + 22262, + 22294 + ], + "loc": { + "start": { + "line": 721, + "column": 16 + }, + "end": { + "line": 721, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22314, + 22318 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 22319, + 22326 + ], + "loc": { + "start": { + "line": 722, + "column": 21 + }, + "end": { + "line": 722, + "column": 28 + } + } + }, + "range": [ + 22314, + 22326 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 22327, + 22334 + ], + "loc": { + "start": { + "line": 722, + "column": 29 + }, + "end": { + "line": 722, + "column": 36 + } + } + }, + "range": [ + 22314, + 22334 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 22335, + 22340 + ], + "loc": { + "start": { + "line": 722, + "column": 37 + }, + "end": { + "line": 722, + "column": 42 + } + } + }, + "range": [ + 22314, + 22341 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 22342, + 22350 + ], + "loc": { + "start": { + "line": 722, + "column": 44 + }, + "end": { + "line": 722, + "column": 52 + } + } + }, + "range": [ + 22314, + 22350 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 22353, + 22357 + ], + "loc": { + "start": { + "line": 722, + "column": 55 + }, + "end": { + "line": 722, + "column": 59 + } + } + }, + "range": [ + 22314, + 22357 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 59 + } + } + }, + "range": [ + 22314, + 22358 + ], + "loc": { + "start": { + "line": 722, + "column": 16 + }, + "end": { + "line": 722, + "column": 60 + } + } + } + ], + "range": [ + 22296, + 22372 + ], + "loc": { + "start": { + "line": 721, + "column": 50 + }, + "end": { + "line": 723, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22396, + 22400 + ], + "loc": { + "start": { + "line": 724, + "column": 16 + }, + "end": { + "line": 724, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 22401, + 22408 + ], + "loc": { + "start": { + "line": 724, + "column": 21 + }, + "end": { + "line": 724, + "column": 28 + } + } + }, + "range": [ + 22396, + 22408 + ], + "loc": { + "start": { + "line": 724, + "column": 16 + }, + "end": { + "line": 724, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 22409, + 22414 + ], + "loc": { + "start": { + "line": 724, + "column": 29 + }, + "end": { + "line": 724, + "column": 34 + } + } + }, + "range": [ + 22396, + 22414 + ], + "loc": { + "start": { + "line": 724, + "column": 16 + }, + "end": { + "line": 724, + "column": 34 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22417, + 22421 + ], + "loc": { + "start": { + "line": 724, + "column": 37 + }, + "end": { + "line": 724, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "currentPageNb", + "range": [ + 22422, + 22435 + ], + "loc": { + "start": { + "line": 724, + "column": 42 + }, + "end": { + "line": 724, + "column": 55 + } + } + }, + "range": [ + 22417, + 22435 + ], + "loc": { + "start": { + "line": 724, + "column": 37 + }, + "end": { + "line": 724, + "column": 55 + } + } + }, + "range": [ + 22396, + 22435 + ], + "loc": { + "start": { + "line": 724, + "column": 16 + }, + "end": { + "line": 724, + "column": 55 + } + } + }, + "range": [ + 22396, + 22436 + ], + "loc": { + "start": { + "line": 724, + "column": 16 + }, + "end": { + "line": 724, + "column": 56 + } + } + } + ], + "range": [ + 22378, + 22450 + ], + "loc": { + "start": { + "line": 723, + "column": 19 + }, + "end": { + "line": 725, + "column": 13 + } + } + }, + "range": [ + 22258, + 22450 + ], + "loc": { + "start": { + "line": 721, + "column": 12 + }, + "end": { + "line": 725, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22464, + 22468 + ], + "loc": { + "start": { + "line": 727, + "column": 12 + }, + "end": { + "line": 727, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 22469, + 22483 + ], + "loc": { + "start": { + "line": 727, + "column": 17 + }, + "end": { + "line": 727, + "column": 31 + } + } + }, + "range": [ + 22464, + 22483 + ], + "loc": { + "start": { + "line": 727, + "column": 12 + }, + "end": { + "line": 727, + "column": 31 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22487, + 22491 + ], + "loc": { + "start": { + "line": 727, + "column": 35 + }, + "end": { + "line": 727, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 22492, + 22508 + ], + "loc": { + "start": { + "line": 727, + "column": 40 + }, + "end": { + "line": 727, + "column": 56 + } + } + }, + "range": [ + 22487, + 22508 + ], + "loc": { + "start": { + "line": 727, + "column": 35 + }, + "end": { + "line": 727, + "column": 56 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 22513, + 22519 + ], + "loc": { + "start": { + "line": 727, + "column": 61 + }, + "end": { + "line": 727, + "column": 67 + } + } + }, + "range": [ + 22487, + 22519 + ], + "loc": { + "start": { + "line": 727, + "column": 35 + }, + "end": { + "line": 727, + "column": 67 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22539, + 22543 + ], + "loc": { + "start": { + "line": 728, + "column": 16 + }, + "end": { + "line": 728, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 22544, + 22551 + ], + "loc": { + "start": { + "line": 728, + "column": 21 + }, + "end": { + "line": 728, + "column": 28 + } + } + }, + "range": [ + 22539, + 22551 + ], + "loc": { + "start": { + "line": 728, + "column": 16 + }, + "end": { + "line": 728, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 22552, + 22557 + ], + "loc": { + "start": { + "line": 728, + "column": 29 + }, + "end": { + "line": 728, + "column": 34 + } + } + }, + "range": [ + 22539, + 22557 + ], + "loc": { + "start": { + "line": 728, + "column": 16 + }, + "end": { + "line": 728, + "column": 34 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22561, + 22566 + ], + "loc": { + "start": { + "line": 728, + "column": 38 + }, + "end": { + "line": 728, + "column": 43 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22569, + 22573 + ], + "loc": { + "start": { + "line": 728, + "column": 46 + }, + "end": { + "line": 728, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 22574, + 22584 + ], + "loc": { + "start": { + "line": 728, + "column": 51 + }, + "end": { + "line": 728, + "column": 61 + } + } + }, + "range": [ + 22569, + 22584 + ], + "loc": { + "start": { + "line": 728, + "column": 46 + }, + "end": { + "line": 728, + "column": 61 + } + } + }, + "range": [ + 22561, + 22584 + ], + "loc": { + "start": { + "line": 728, + "column": 38 + }, + "end": { + "line": 728, + "column": 61 + } + } + }, + "range": [ + 22486, + 22585 + ], + "loc": { + "start": { + "line": 727, + "column": 34 + }, + "end": { + "line": 728, + "column": 62 + } + } + }, + "range": [ + 22464, + 22585 + ], + "loc": { + "start": { + "line": 727, + "column": 12 + }, + "end": { + "line": 728, + "column": 62 + } + } + }, + "range": [ + 22464, + 22586 + ], + "loc": { + "start": { + "line": 727, + "column": 12 + }, + "end": { + "line": 728, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22600, + 22604 + ], + "loc": { + "start": { + "line": 730, + "column": 12 + }, + "end": { + "line": 730, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "groupByPage", + "range": [ + 22605, + 22616 + ], + "loc": { + "start": { + "line": 730, + "column": 17 + }, + "end": { + "line": 730, + "column": 28 + } + } + }, + "range": [ + 22600, + 22616 + ], + "loc": { + "start": { + "line": 730, + "column": 12 + }, + "end": { + "line": 730, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 22600, + 22618 + ], + "loc": { + "start": { + "line": 730, + "column": 12 + }, + "end": { + "line": 730, + "column": 30 + } + } + }, + "range": [ + 22600, + 22619 + ], + "loc": { + "start": { + "line": 730, + "column": 12 + }, + "end": { + "line": 730, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22633, + 22637 + ], + "loc": { + "start": { + "line": 732, + "column": 12 + }, + "end": { + "line": 732, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterChangePage", + "range": [ + 22638, + 22655 + ], + "loc": { + "start": { + "line": 732, + "column": 17 + }, + "end": { + "line": 732, + "column": 34 + } + } + }, + "range": [ + 22633, + 22655 + ], + "loc": { + "start": { + "line": 732, + "column": 12 + }, + "end": { + "line": 732, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 22656, + 22660 + ], + "loc": { + "start": { + "line": 732, + "column": 35 + }, + "end": { + "line": 732, + "column": 39 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22663, + 22668 + ], + "loc": { + "start": { + "line": 732, + "column": 42 + }, + "end": { + "line": 732, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22671, + 22672 + ], + "loc": { + "start": { + "line": 732, + "column": 50 + }, + "end": { + "line": 732, + "column": 51 + } + } + }, + "range": [ + 22663, + 22672 + ], + "loc": { + "start": { + "line": 732, + "column": 42 + }, + "end": { + "line": 732, + "column": 51 + } + } + } + ], + "range": [ + 22633, + 22674 + ], + "loc": { + "start": { + "line": 732, + "column": 12 + }, + "end": { + "line": 732, + "column": 53 + } + } + }, + "range": [ + 22633, + 22675 + ], + "loc": { + "start": { + "line": 732, + "column": 12 + }, + "end": { + "line": 732, + "column": 54 + } + } + } + ], + "range": [ + 22129, + 22685 + ], + "loc": { + "start": { + "line": 717, + "column": 55 + }, + "end": { + "line": 733, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 22082, + 22685 + ], + "loc": { + "start": { + "line": 717, + "column": 8 + }, + "end": { + "line": 733, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22695, + 22699 + ], + "loc": { + "start": { + "line": 735, + "column": 8 + }, + "end": { + "line": 735, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 22700, + 22707 + ], + "loc": { + "start": { + "line": 735, + "column": 13 + }, + "end": { + "line": 735, + "column": 20 + } + } + }, + "range": [ + 22695, + 22707 + ], + "loc": { + "start": { + "line": 735, + "column": 8 + }, + "end": { + "line": 735, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 22708, + 22712 + ], + "loc": { + "start": { + "line": 735, + "column": 21 + }, + "end": { + "line": 735, + "column": 25 + } + } + }, + "range": [ + 22695, + 22712 + ], + "loc": { + "start": { + "line": 735, + "column": 8 + }, + "end": { + "line": 735, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-page-change", + "raw": "'after-page-change'", + "range": [ + 22713, + 22732 + ], + "loc": { + "start": { + "line": 735, + "column": 26 + }, + "end": { + "line": 735, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 22734, + 22736 + ], + "loc": { + "start": { + "line": 735, + "column": 47 + }, + "end": { + "line": 735, + "column": 49 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "index", + "range": [ + 22739, + 22744 + ], + "loc": { + "start": { + "line": 735, + "column": 52 + }, + "end": { + "line": 735, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 22747, + 22748 + ], + "loc": { + "start": { + "line": 735, + "column": 60 + }, + "end": { + "line": 735, + "column": 61 + } + } + }, + "range": [ + 22739, + 22748 + ], + "loc": { + "start": { + "line": 735, + "column": 52 + }, + "end": { + "line": 735, + "column": 61 + } + } + } + ], + "range": [ + 22695, + 22750 + ], + "loc": { + "start": { + "line": 735, + "column": 8 + }, + "end": { + "line": 735, + "column": 63 + } + } + }, + "range": [ + 22695, + 22751 + ], + "loc": { + "start": { + "line": 735, + "column": 8 + }, + "end": { + "line": 735, + "column": 64 + } + } + } + ], + "range": [ + 21742, + 22757 + ], + "loc": { + "start": { + "line": 704, + "column": 22 + }, + "end": { + "line": 736, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 21734, + 22757 + ], + "loc": { + "start": { + "line": 704, + "column": 14 + }, + "end": { + "line": 736, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 21724, + 22757 + ], + "loc": { + "start": { + "line": 704, + "column": 4 + }, + "end": { + "line": 736, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n ", + "range": [ + 21610, + 21719 + ], + "loc": { + "start": { + "line": 700, + "column": 4 + }, + "end": { + "line": 703, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n ", + "range": [ + 22763, + 22899 + ], + "loc": { + "start": { + "line": 738, + "column": 4 + }, + "end": { + "line": 741, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "changeResultsPerPage", + "range": [ + 22904, + 22924 + ], + "loc": { + "start": { + "line": 742, + "column": 4 + }, + "end": { + "line": 742, + "column": 24 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 22925, + 22928 + ], + "loc": { + "start": { + "line": 742, + "column": 25 + }, + "end": { + "line": 742, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22945, + 22949 + ], + "loc": { + "start": { + "line": 743, + "column": 13 + }, + "end": { + "line": 743, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 22950, + 22959 + ], + "loc": { + "start": { + "line": 743, + "column": 18 + }, + "end": { + "line": 743, + "column": 27 + } + } + }, + "range": [ + 22945, + 22959 + ], + "loc": { + "start": { + "line": 743, + "column": 13 + }, + "end": { + "line": 743, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 22945, + 22961 + ], + "loc": { + "start": { + "line": 743, + "column": 13 + }, + "end": { + "line": 743, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 22944, + 22961 + ], + "loc": { + "start": { + "line": 743, + "column": 12 + }, + "end": { + "line": 743, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 22965, + 22970 + ], + "loc": { + "start": { + "line": 743, + "column": 33 + }, + "end": { + "line": 743, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 22971, + 22974 + ], + "loc": { + "start": { + "line": 743, + "column": 39 + }, + "end": { + "line": 743, + "column": 42 + } + } + } + ], + "range": [ + 22965, + 22975 + ], + "loc": { + "start": { + "line": 743, + "column": 33 + }, + "end": { + "line": 743, + "column": 43 + } + } + }, + "range": [ + 22944, + 22975 + ], + "loc": { + "start": { + "line": 743, + "column": 12 + }, + "end": { + "line": 743, + "column": 43 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 22991, + 22998 + ], + "loc": { + "start": { + "line": 744, + "column": 12 + }, + "end": { + "line": 744, + "column": 19 + } + } + } + ], + "range": [ + 22977, + 23008 + ], + "loc": { + "start": { + "line": 743, + "column": 45 + }, + "end": { + "line": 745, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 22940, + 23008 + ], + "loc": { + "start": { + "line": 743, + "column": 8 + }, + "end": { + "line": 745, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23018, + 23022 + ], + "loc": { + "start": { + "line": 747, + "column": 8 + }, + "end": { + "line": 747, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 23023, + 23036 + ], + "loc": { + "start": { + "line": 747, + "column": 13 + }, + "end": { + "line": 747, + "column": 26 + } + } + }, + "range": [ + 23018, + 23036 + ], + "loc": { + "start": { + "line": 747, + "column": 8 + }, + "end": { + "line": 747, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 23037, + 23042 + ], + "loc": { + "start": { + "line": 747, + "column": 27 + }, + "end": { + "line": 747, + "column": 32 + } + } + }, + "range": [ + 23018, + 23042 + ], + "loc": { + "start": { + "line": 747, + "column": 8 + }, + "end": { + "line": 747, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "val", + "range": [ + 23045, + 23048 + ], + "loc": { + "start": { + "line": 747, + "column": 35 + }, + "end": { + "line": 747, + "column": 38 + } + } + }, + "range": [ + 23018, + 23048 + ], + "loc": { + "start": { + "line": 747, + "column": 8 + }, + "end": { + "line": 747, + "column": 38 + } + } + }, + "range": [ + 23018, + 23049 + ], + "loc": { + "start": { + "line": 747, + "column": 8 + }, + "end": { + "line": 747, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23058, + 23062 + ], + "loc": { + "start": { + "line": 748, + "column": 8 + }, + "end": { + "line": 748, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onChangeResultsPerPage", + "range": [ + 23063, + 23085 + ], + "loc": { + "start": { + "line": 748, + "column": 13 + }, + "end": { + "line": 748, + "column": 35 + } + } + }, + "range": [ + 23058, + 23085 + ], + "loc": { + "start": { + "line": 748, + "column": 8 + }, + "end": { + "line": 748, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 23058, + 23087 + ], + "loc": { + "start": { + "line": 748, + "column": 8 + }, + "end": { + "line": 748, + "column": 37 + } + } + }, + "range": [ + 23058, + 23088 + ], + "loc": { + "start": { + "line": 748, + "column": 8 + }, + "end": { + "line": 748, + "column": 38 + } + } + } + ], + "range": [ + 22930, + 23094 + ], + "loc": { + "start": { + "line": 742, + "column": 30 + }, + "end": { + "line": 749, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 22924, + 23094 + ], + "loc": { + "start": { + "line": 742, + "column": 24 + }, + "end": { + "line": 749, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 22904, + 23094 + ], + "loc": { + "start": { + "line": 742, + "column": 4 + }, + "end": { + "line": 749, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n ", + "range": [ + 22763, + 22899 + ], + "loc": { + "start": { + "line": 738, + "column": 4 + }, + "end": { + "line": 741, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Change rows according to page results drop-down\n ", + "range": [ + 23100, + 23166 + ], + "loc": { + "start": { + "line": 751, + "column": 4 + }, + "end": { + "line": 753, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onChangeResultsPerPage", + "range": [ + 23171, + 23193 + ], + "loc": { + "start": { + "line": 754, + "column": 4 + }, + "end": { + "line": 754, + "column": 26 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 23210, + 23212 + ], + "loc": { + "start": { + "line": 755, + "column": 12 + }, + "end": { + "line": 755, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23215, + 23219 + ], + "loc": { + "start": { + "line": 755, + "column": 17 + }, + "end": { + "line": 755, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 23220, + 23222 + ], + "loc": { + "start": { + "line": 755, + "column": 22 + }, + "end": { + "line": 755, + "column": 24 + } + } + }, + "range": [ + 23215, + 23222 + ], + "loc": { + "start": { + "line": 755, + "column": 17 + }, + "end": { + "line": 755, + "column": 24 + } + } + }, + "range": [ + 23210, + 23222 + ], + "loc": { + "start": { + "line": 755, + "column": 12 + }, + "end": { + "line": 755, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 23206, + 23223 + ], + "loc": { + "start": { + "line": 755, + "column": 8 + }, + "end": { + "line": 755, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23238, + 23242 + ], + "loc": { + "start": { + "line": 757, + "column": 13 + }, + "end": { + "line": 757, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 23243, + 23252 + ], + "loc": { + "start": { + "line": 757, + "column": 18 + }, + "end": { + "line": 757, + "column": 27 + } + } + }, + "range": [ + 23238, + 23252 + ], + "loc": { + "start": { + "line": 757, + "column": 13 + }, + "end": { + "line": 757, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 23238, + 23254 + ], + "loc": { + "start": { + "line": 757, + "column": 13 + }, + "end": { + "line": 757, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 23237, + 23254 + ], + "loc": { + "start": { + "line": 757, + "column": 12 + }, + "end": { + "line": 757, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 23258, + 23260 + ], + "loc": { + "start": { + "line": 757, + "column": 33 + }, + "end": { + "line": 757, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 23261, + 23275 + ], + "loc": { + "start": { + "line": 757, + "column": 36 + }, + "end": { + "line": 757, + "column": 50 + } + } + }, + "range": [ + 23258, + 23275 + ], + "loc": { + "start": { + "line": 757, + "column": 33 + }, + "end": { + "line": 757, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 23258, + 23277 + ], + "loc": { + "start": { + "line": 757, + "column": 33 + }, + "end": { + "line": 757, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 23282, + 23283 + ], + "loc": { + "start": { + "line": 757, + "column": 57 + }, + "end": { + "line": 757, + "column": 58 + } + } + }, + "range": [ + 23258, + 23283 + ], + "loc": { + "start": { + "line": 757, + "column": 33 + }, + "end": { + "line": 757, + "column": 58 + } + } + }, + "range": [ + 23237, + 23283 + ], + "loc": { + "start": { + "line": 757, + "column": 12 + }, + "end": { + "line": 757, + "column": 58 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 23299, + 23306 + ], + "loc": { + "start": { + "line": 758, + "column": 12 + }, + "end": { + "line": 758, + "column": 19 + } + } + } + ], + "range": [ + 23285, + 23316 + ], + "loc": { + "start": { + "line": 757, + "column": 60 + }, + "end": { + "line": 759, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 23233, + 23316 + ], + "loc": { + "start": { + "line": 757, + "column": 8 + }, + "end": { + "line": 759, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 23344, + 23357 + ], + "loc": { + "start": { + "line": 762, + "column": 12 + }, + "end": { + "line": 762, + "column": 25 + } + } + }, + "value": { + "type": "Identifier", + "name": "slcR", + "range": [ + 23359, + 23363 + ], + "loc": { + "start": { + "line": 762, + "column": 27 + }, + "end": { + "line": 762, + "column": 31 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 23344, + 23363 + ], + "loc": { + "start": { + "line": 762, + "column": 12 + }, + "end": { + "line": 762, + "column": 31 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 23365, + 23381 + ], + "loc": { + "start": { + "line": 762, + "column": 33 + }, + "end": { + "line": 762, + "column": 49 + } + } + }, + "value": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 23365, + 23381 + ], + "loc": { + "start": { + "line": 762, + "column": 33 + }, + "end": { + "line": 762, + "column": 49 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 23365, + 23381 + ], + "loc": { + "start": { + "line": 762, + "column": 33 + }, + "end": { + "line": 762, + "column": 49 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 23383, + 23390 + ], + "loc": { + "start": { + "line": 762, + "column": 51 + }, + "end": { + "line": 762, + "column": 58 + } + } + }, + "value": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 23383, + 23390 + ], + "loc": { + "start": { + "line": 762, + "column": 51 + }, + "end": { + "line": 762, + "column": 58 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 23383, + 23390 + ], + "loc": { + "start": { + "line": 762, + "column": 51 + }, + "end": { + "line": 762, + "column": 58 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "emitter", + "range": [ + 23392, + 23399 + ], + "loc": { + "start": { + "line": 762, + "column": 60 + }, + "end": { + "line": 762, + "column": 67 + } + } + }, + "value": { + "type": "Identifier", + "name": "emitter", + "range": [ + 23392, + 23399 + ], + "loc": { + "start": { + "line": 762, + "column": 60 + }, + "end": { + "line": 762, + "column": 67 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 23392, + 23399 + ], + "loc": { + "start": { + "line": 762, + "column": 60 + }, + "end": { + "line": 762, + "column": 67 + } + } + } + ], + "range": [ + 23330, + 23409 + ], + "loc": { + "start": { + "line": 761, + "column": 12 + }, + "end": { + "line": 763, + "column": 9 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 23412, + 23416 + ], + "loc": { + "start": { + "line": 763, + "column": 12 + }, + "end": { + "line": 763, + "column": 16 + } + } + }, + "range": [ + 23330, + 23416 + ], + "loc": { + "start": { + "line": 761, + "column": 12 + }, + "end": { + "line": 763, + "column": 16 + } + } + } + ], + "kind": "let", + "range": [ + 23326, + 23417 + ], + "loc": { + "start": { + "line": 761, + "column": 8 + }, + "end": { + "line": 763, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 23427, + 23434 + ], + "loc": { + "start": { + "line": 765, + "column": 8 + }, + "end": { + "line": 765, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 23435, + 23439 + ], + "loc": { + "start": { + "line": 765, + "column": 16 + }, + "end": { + "line": 765, + "column": 20 + } + } + }, + "range": [ + 23427, + 23439 + ], + "loc": { + "start": { + "line": 765, + "column": 8 + }, + "end": { + "line": 765, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-page-length-change", + "raw": "'before-page-length-change'", + "range": [ + 23440, + 23467 + ], + "loc": { + "start": { + "line": 765, + "column": 21 + }, + "end": { + "line": 765, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 23469, + 23471 + ], + "loc": { + "start": { + "line": 765, + "column": 50 + }, + "end": { + "line": 765, + "column": 52 + } + } + } + ], + "range": [ + 23427, + 23472 + ], + "loc": { + "start": { + "line": 765, + "column": 8 + }, + "end": { + "line": 765, + "column": 53 + } + } + }, + "range": [ + 23427, + 23473 + ], + "loc": { + "start": { + "line": 765, + "column": 8 + }, + "end": { + "line": 765, + "column": 54 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 23487, + 23495 + ], + "loc": { + "start": { + "line": 767, + "column": 12 + }, + "end": { + "line": 767, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcR", + "range": [ + 23498, + 23502 + ], + "loc": { + "start": { + "line": 767, + "column": 23 + }, + "end": { + "line": 767, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedIndex", + "range": [ + 23503, + 23516 + ], + "loc": { + "start": { + "line": 767, + "column": 28 + }, + "end": { + "line": 767, + "column": 41 + } + } + }, + "range": [ + 23498, + 23516 + ], + "loc": { + "start": { + "line": 767, + "column": 23 + }, + "end": { + "line": 767, + "column": 41 + } + } + }, + "range": [ + 23487, + 23516 + ], + "loc": { + "start": { + "line": 767, + "column": 12 + }, + "end": { + "line": 767, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 23483, + 23517 + ], + "loc": { + "start": { + "line": 767, + "column": 8 + }, + "end": { + "line": 767, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcPagesSelIndex", + "range": [ + 23530, + 23546 + ], + "loc": { + "start": { + "line": 768, + "column": 12 + }, + "end": { + "line": 768, + "column": 28 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 23550, + 23566 + ], + "loc": { + "start": { + "line": 768, + "column": 32 + }, + "end": { + "line": 768, + "column": 48 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 23571, + 23577 + ], + "loc": { + "start": { + "line": 768, + "column": 53 + }, + "end": { + "line": 768, + "column": 59 + } + } + }, + "range": [ + 23550, + 23577 + ], + "loc": { + "start": { + "line": 768, + "column": 32 + }, + "end": { + "line": 768, + "column": 59 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 23593, + 23600 + ], + "loc": { + "start": { + "line": 769, + "column": 12 + }, + "end": { + "line": 769, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "selectedIndex", + "range": [ + 23601, + 23614 + ], + "loc": { + "start": { + "line": 769, + "column": 20 + }, + "end": { + "line": 769, + "column": 33 + } + } + }, + "range": [ + 23593, + 23614 + ], + "loc": { + "start": { + "line": 769, + "column": 12 + }, + "end": { + "line": 769, + "column": 33 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 23617, + 23625 + ], + "loc": { + "start": { + "line": 769, + "column": 36 + }, + "end": { + "line": 769, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 23626, + 23633 + ], + "loc": { + "start": { + "line": 769, + "column": 45 + }, + "end": { + "line": 769, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 23634, + 23639 + ], + "loc": { + "start": { + "line": 769, + "column": 53 + }, + "end": { + "line": 769, + "column": 58 + } + } + }, + "range": [ + 23626, + 23639 + ], + "loc": { + "start": { + "line": 769, + "column": 45 + }, + "end": { + "line": 769, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 23642, + 23643 + ], + "loc": { + "start": { + "line": 769, + "column": 61 + }, + "end": { + "line": 769, + "column": 62 + } + } + }, + "range": [ + 23626, + 23643 + ], + "loc": { + "start": { + "line": 769, + "column": 45 + }, + "end": { + "line": 769, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 23645, + 23647 + ], + "loc": { + "start": { + "line": 769, + "column": 64 + }, + "end": { + "line": 769, + "column": 66 + } + } + } + ], + "range": [ + 23617, + 23648 + ], + "loc": { + "start": { + "line": 769, + "column": 36 + }, + "end": { + "line": 769, + "column": 67 + } + } + }, + "range": [ + 23549, + 23648 + ], + "loc": { + "start": { + "line": 768, + "column": 31 + }, + "end": { + "line": 769, + "column": 67 + } + } + }, + "range": [ + 23530, + 23648 + ], + "loc": { + "start": { + "line": 768, + "column": 12 + }, + "end": { + "line": 769, + "column": 67 + } + } + } + ], + "kind": "let", + "range": [ + 23526, + 23649 + ], + "loc": { + "start": { + "line": 768, + "column": 8 + }, + "end": { + "line": 769, + "column": 68 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23658, + 23662 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 770, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 23663, + 23673 + ], + "loc": { + "start": { + "line": 770, + "column": 13 + }, + "end": { + "line": 770, + "column": 23 + } + } + }, + "range": [ + 23658, + 23673 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 770, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 23676, + 23684 + ], + "loc": { + "start": { + "line": 770, + "column": 26 + }, + "end": { + "line": 770, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcR", + "range": [ + 23685, + 23689 + ], + "loc": { + "start": { + "line": 770, + "column": 35 + }, + "end": { + "line": 770, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 23690, + 23697 + ], + "loc": { + "start": { + "line": 770, + "column": 40 + }, + "end": { + "line": 770, + "column": 47 + } + } + }, + "range": [ + 23685, + 23697 + ], + "loc": { + "start": { + "line": 770, + "column": 35 + }, + "end": { + "line": 770, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 23698, + 23706 + ], + "loc": { + "start": { + "line": 770, + "column": 48 + }, + "end": { + "line": 770, + "column": 56 + } + } + }, + "range": [ + 23685, + 23707 + ], + "loc": { + "start": { + "line": 770, + "column": 35 + }, + "end": { + "line": 770, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 23708, + 23713 + ], + "loc": { + "start": { + "line": 770, + "column": 58 + }, + "end": { + "line": 770, + "column": 63 + } + } + }, + "range": [ + 23685, + 23713 + ], + "loc": { + "start": { + "line": 770, + "column": 35 + }, + "end": { + "line": 770, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 23715, + 23717 + ], + "loc": { + "start": { + "line": 770, + "column": 65 + }, + "end": { + "line": 770, + "column": 67 + } + } + } + ], + "range": [ + 23676, + 23718 + ], + "loc": { + "start": { + "line": 770, + "column": 26 + }, + "end": { + "line": 770, + "column": 68 + } + } + }, + "range": [ + 23658, + 23718 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 770, + "column": 68 + } + } + }, + "range": [ + 23658, + 23719 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 770, + "column": 69 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23728, + 23732 + ], + "loc": { + "start": { + "line": 771, + "column": 8 + }, + "end": { + "line": 771, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 23733, + 23747 + ], + "loc": { + "start": { + "line": 771, + "column": 13 + }, + "end": { + "line": 771, + "column": 27 + } + } + }, + "range": [ + 23728, + 23747 + ], + "loc": { + "start": { + "line": 771, + "column": 8 + }, + "end": { + "line": 771, + "column": 27 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23750, + 23754 + ], + "loc": { + "start": { + "line": 771, + "column": 30 + }, + "end": { + "line": 771, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 23755, + 23765 + ], + "loc": { + "start": { + "line": 771, + "column": 35 + }, + "end": { + "line": 771, + "column": 45 + } + } + }, + "range": [ + 23750, + 23765 + ], + "loc": { + "start": { + "line": 771, + "column": 30 + }, + "end": { + "line": 771, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "slcPagesSelIndex", + "range": [ + 23768, + 23784 + ], + "loc": { + "start": { + "line": 771, + "column": 48 + }, + "end": { + "line": 771, + "column": 64 + } + } + }, + "range": [ + 23750, + 23784 + ], + "loc": { + "start": { + "line": 771, + "column": 30 + }, + "end": { + "line": 771, + "column": 64 + } + } + }, + "range": [ + 23728, + 23784 + ], + "loc": { + "start": { + "line": 771, + "column": 8 + }, + "end": { + "line": 771, + "column": 64 + } + } + }, + "range": [ + 23728, + 23785 + ], + "loc": { + "start": { + "line": 771, + "column": 8 + }, + "end": { + "line": 771, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 23800, + 23805 + ], + "loc": { + "start": { + "line": 773, + "column": 13 + }, + "end": { + "line": 773, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23806, + 23810 + ], + "loc": { + "start": { + "line": 773, + "column": 19 + }, + "end": { + "line": 773, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 23811, + 23821 + ], + "loc": { + "start": { + "line": 773, + "column": 24 + }, + "end": { + "line": 773, + "column": 34 + } + } + }, + "range": [ + 23806, + 23821 + ], + "loc": { + "start": { + "line": 773, + "column": 19 + }, + "end": { + "line": 773, + "column": 34 + } + } + } + ], + "range": [ + 23800, + 23822 + ], + "loc": { + "start": { + "line": 773, + "column": 13 + }, + "end": { + "line": 773, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 23799, + 23822 + ], + "loc": { + "start": { + "line": 773, + "column": 12 + }, + "end": { + "line": 773, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23842, + 23846 + ], + "loc": { + "start": { + "line": 774, + "column": 16 + }, + "end": { + "line": 774, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 23847, + 23861 + ], + "loc": { + "start": { + "line": 774, + "column": 21 + }, + "end": { + "line": 774, + "column": 35 + } + } + }, + "range": [ + 23842, + 23861 + ], + "loc": { + "start": { + "line": 774, + "column": 16 + }, + "end": { + "line": 774, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 23865, + 23867 + ], + "loc": { + "start": { + "line": 774, + "column": 39 + }, + "end": { + "line": 774, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 23868, + 23884 + ], + "loc": { + "start": { + "line": 774, + "column": 42 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "range": [ + 23865, + 23884 + ], + "loc": { + "start": { + "line": 774, + "column": 39 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "range": [ + 23842, + 23884 + ], + "loc": { + "start": { + "line": 774, + "column": 16 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23904, + 23908 + ], + "loc": { + "start": { + "line": 775, + "column": 16 + }, + "end": { + "line": 775, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 23909, + 23923 + ], + "loc": { + "start": { + "line": 775, + "column": 21 + }, + "end": { + "line": 775, + "column": 35 + } + } + }, + "range": [ + 23904, + 23923 + ], + "loc": { + "start": { + "line": 775, + "column": 16 + }, + "end": { + "line": 775, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 23927, + 23929 + ], + "loc": { + "start": { + "line": 775, + "column": 39 + }, + "end": { + "line": 775, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 23930, + 23946 + ], + "loc": { + "start": { + "line": 775, + "column": 42 + }, + "end": { + "line": 775, + "column": 58 + } + } + }, + "range": [ + 23927, + 23946 + ], + "loc": { + "start": { + "line": 775, + "column": 39 + }, + "end": { + "line": 775, + "column": 58 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23949, + 23953 + ], + "loc": { + "start": { + "line": 775, + "column": 61 + }, + "end": { + "line": 775, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 23954, + 23964 + ], + "loc": { + "start": { + "line": 775, + "column": 66 + }, + "end": { + "line": 775, + "column": 76 + } + } + }, + "range": [ + 23949, + 23964 + ], + "loc": { + "start": { + "line": 775, + "column": 61 + }, + "end": { + "line": 775, + "column": 76 + } + } + }, + "range": [ + 23927, + 23964 + ], + "loc": { + "start": { + "line": 775, + "column": 39 + }, + "end": { + "line": 775, + "column": 76 + } + } + }, + "range": [ + 23904, + 23965 + ], + "loc": { + "start": { + "line": 775, + "column": 16 + }, + "end": { + "line": 775, + "column": 77 + } + } + }, + "range": [ + 23904, + 23966 + ], + "loc": { + "start": { + "line": 775, + "column": 16 + }, + "end": { + "line": 775, + "column": 78 + } + } + } + ], + "range": [ + 23886, + 23980 + ], + "loc": { + "start": { + "line": 774, + "column": 60 + }, + "end": { + "line": 776, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 23838, + 23980 + ], + "loc": { + "start": { + "line": 774, + "column": 12 + }, + "end": { + "line": 776, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23993, + 23997 + ], + "loc": { + "start": { + "line": 777, + "column": 12 + }, + "end": { + "line": 777, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPagingInfo", + "range": [ + 23998, + 24011 + ], + "loc": { + "start": { + "line": 777, + "column": 17 + }, + "end": { + "line": 777, + "column": 30 + } + } + }, + "range": [ + 23993, + 24011 + ], + "loc": { + "start": { + "line": 777, + "column": 12 + }, + "end": { + "line": 777, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 23993, + 24013 + ], + "loc": { + "start": { + "line": 777, + "column": 12 + }, + "end": { + "line": 777, + "column": 32 + } + } + }, + "range": [ + 23993, + 24014 + ], + "loc": { + "start": { + "line": 777, + "column": 12 + }, + "end": { + "line": 777, + "column": 33 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 24032, + 24048 + ], + "loc": { + "start": { + "line": 779, + "column": 16 + }, + "end": { + "line": 779, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 24053, + 24059 + ], + "loc": { + "start": { + "line": 779, + "column": 37 + }, + "end": { + "line": 779, + "column": 43 + } + } + }, + "range": [ + 24032, + 24059 + ], + "loc": { + "start": { + "line": 779, + "column": 16 + }, + "end": { + "line": 779, + "column": 43 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcIdx", + "range": [ + 24083, + 24089 + ], + "loc": { + "start": { + "line": 780, + "column": 20 + }, + "end": { + "line": 780, + "column": 26 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 24093, + 24100 + ], + "loc": { + "start": { + "line": 780, + "column": 30 + }, + "end": { + "line": 780, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 24101, + 24108 + ], + "loc": { + "start": { + "line": 780, + "column": 38 + }, + "end": { + "line": 780, + "column": 45 + } + } + }, + "range": [ + 24093, + 24108 + ], + "loc": { + "start": { + "line": 780, + "column": 30 + }, + "end": { + "line": 780, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 24109, + 24115 + ], + "loc": { + "start": { + "line": 780, + "column": 46 + }, + "end": { + "line": 780, + "column": 52 + } + } + }, + "range": [ + 24093, + 24115 + ], + "loc": { + "start": { + "line": 780, + "column": 30 + }, + "end": { + "line": 780, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 24118, + 24119 + ], + "loc": { + "start": { + "line": 780, + "column": 55 + }, + "end": { + "line": 780, + "column": 56 + } + } + }, + "range": [ + 24093, + 24119 + ], + "loc": { + "start": { + "line": 780, + "column": 30 + }, + "end": { + "line": 780, + "column": 56 + } + } + }, + "right": { + "type": "Identifier", + "name": "slcPagesSelIndex", + "range": [ + 24123, + 24139 + ], + "loc": { + "start": { + "line": 780, + "column": 60 + }, + "end": { + "line": 780, + "column": 76 + } + } + }, + "range": [ + 24093, + 24139 + ], + "loc": { + "start": { + "line": 780, + "column": 30 + }, + "end": { + "line": 780, + "column": 76 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 24164, + 24171 + ], + "loc": { + "start": { + "line": 781, + "column": 21 + }, + "end": { + "line": 781, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 24172, + 24179 + ], + "loc": { + "start": { + "line": 781, + "column": 29 + }, + "end": { + "line": 781, + "column": 36 + } + } + }, + "range": [ + 24164, + 24179 + ], + "loc": { + "start": { + "line": 781, + "column": 21 + }, + "end": { + "line": 781, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 24180, + 24186 + ], + "loc": { + "start": { + "line": 781, + "column": 37 + }, + "end": { + "line": 781, + "column": 43 + } + } + }, + "range": [ + 24164, + 24186 + ], + "loc": { + "start": { + "line": 781, + "column": 21 + }, + "end": { + "line": 781, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 24189, + 24190 + ], + "loc": { + "start": { + "line": 781, + "column": 46 + }, + "end": { + "line": 781, + "column": 47 + } + } + }, + "range": [ + 24164, + 24190 + ], + "loc": { + "start": { + "line": 781, + "column": 21 + }, + "end": { + "line": 781, + "column": 47 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "slcPagesSelIndex", + "range": [ + 24214, + 24230 + ], + "loc": { + "start": { + "line": 782, + "column": 20 + }, + "end": { + "line": 782, + "column": 36 + } + } + }, + "range": [ + 24092, + 24230 + ], + "loc": { + "start": { + "line": 780, + "column": 29 + }, + "end": { + "line": 782, + "column": 36 + } + } + }, + "range": [ + 24083, + 24230 + ], + "loc": { + "start": { + "line": 780, + "column": 20 + }, + "end": { + "line": 782, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 24079, + 24231 + ], + "loc": { + "start": { + "line": 780, + "column": 16 + }, + "end": { + "line": 782, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 24248, + 24255 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 24256, + 24263 + ], + "loc": { + "start": { + "line": 783, + "column": 24 + }, + "end": { + "line": 783, + "column": 31 + } + } + }, + "range": [ + 24248, + 24263 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcIdx", + "range": [ + 24264, + 24270 + ], + "loc": { + "start": { + "line": 783, + "column": 32 + }, + "end": { + "line": 783, + "column": 38 + } + } + }, + "range": [ + 24248, + 24271 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 24272, + 24280 + ], + "loc": { + "start": { + "line": 783, + "column": 40 + }, + "end": { + "line": 783, + "column": 48 + } + } + }, + "range": [ + 24248, + 24280 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 24283, + 24287 + ], + "loc": { + "start": { + "line": 783, + "column": 51 + }, + "end": { + "line": 783, + "column": 55 + } + } + }, + "range": [ + 24248, + 24287 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 55 + } + } + }, + "range": [ + 24248, + 24288 + ], + "loc": { + "start": { + "line": 783, + "column": 16 + }, + "end": { + "line": 783, + "column": 56 + } + } + } + ], + "range": [ + 24061, + 24302 + ], + "loc": { + "start": { + "line": 779, + "column": 45 + }, + "end": { + "line": 784, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 24028, + 24302 + ], + "loc": { + "start": { + "line": 779, + "column": 12 + }, + "end": { + "line": 784, + "column": 13 + } + } + } + ], + "range": [ + 23824, + 24312 + ], + "loc": { + "start": { + "line": 773, + "column": 37 + }, + "end": { + "line": 785, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 23795, + 24312 + ], + "loc": { + "start": { + "line": 773, + "column": 8 + }, + "end": { + "line": 785, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 24322, + 24329 + ], + "loc": { + "start": { + "line": 787, + "column": 8 + }, + "end": { + "line": 787, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 24330, + 24334 + ], + "loc": { + "start": { + "line": 787, + "column": 16 + }, + "end": { + "line": 787, + "column": 20 + } + } + }, + "range": [ + 24322, + 24334 + ], + "loc": { + "start": { + "line": 787, + "column": 8 + }, + "end": { + "line": 787, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-page-length-change", + "raw": "'after-page-length-change'", + "range": [ + 24335, + 24361 + ], + "loc": { + "start": { + "line": 787, + "column": 21 + }, + "end": { + "line": 787, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 24363, + 24365 + ], + "loc": { + "start": { + "line": 787, + "column": 49 + }, + "end": { + "line": 787, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24367, + 24371 + ], + "loc": { + "start": { + "line": 787, + "column": 53 + }, + "end": { + "line": 787, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 24372, + 24382 + ], + "loc": { + "start": { + "line": 787, + "column": 58 + }, + "end": { + "line": 787, + "column": 68 + } + } + }, + "range": [ + 24367, + 24382 + ], + "loc": { + "start": { + "line": 787, + "column": 53 + }, + "end": { + "line": 787, + "column": 68 + } + } + } + ], + "range": [ + 24322, + 24383 + ], + "loc": { + "start": { + "line": 787, + "column": 8 + }, + "end": { + "line": 787, + "column": 69 + } + } + }, + "range": [ + 24322, + 24384 + ], + "loc": { + "start": { + "line": 787, + "column": 8 + }, + "end": { + "line": 787, + "column": 70 + } + } + } + ], + "range": [ + 23196, + 24390 + ], + "loc": { + "start": { + "line": 754, + "column": 29 + }, + "end": { + "line": 788, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 23193, + 24390 + ], + "loc": { + "start": { + "line": 754, + "column": 26 + }, + "end": { + "line": 788, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 23171, + 24390 + ], + "loc": { + "start": { + "line": 754, + "column": 4 + }, + "end": { + "line": 788, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Change rows according to page results drop-down\n ", + "range": [ + 23100, + 23166 + ], + "loc": { + "start": { + "line": 751, + "column": 4 + }, + "end": { + "line": 753, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Re-set page nb at page re-load\n ", + "range": [ + 24396, + 24445 + ], + "loc": { + "start": { + "line": 790, + "column": 4 + }, + "end": { + "line": 792, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "resetPage", + "range": [ + 24450, + 24459 + ], + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 793, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 24476, + 24478 + ], + "loc": { + "start": { + "line": 794, + "column": 12 + }, + "end": { + "line": 794, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24481, + 24485 + ], + "loc": { + "start": { + "line": 794, + "column": 17 + }, + "end": { + "line": 794, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 24486, + 24488 + ], + "loc": { + "start": { + "line": 794, + "column": 22 + }, + "end": { + "line": 794, + "column": 24 + } + } + }, + "range": [ + 24481, + 24488 + ], + "loc": { + "start": { + "line": 794, + "column": 17 + }, + "end": { + "line": 794, + "column": 24 + } + } + }, + "range": [ + 24476, + 24488 + ], + "loc": { + "start": { + "line": 794, + "column": 12 + }, + "end": { + "line": 794, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 24472, + 24489 + ], + "loc": { + "start": { + "line": 794, + "column": 8 + }, + "end": { + "line": 794, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24503, + 24507 + ], + "loc": { + "start": { + "line": 795, + "column": 13 + }, + "end": { + "line": 795, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 24508, + 24517 + ], + "loc": { + "start": { + "line": 795, + "column": 18 + }, + "end": { + "line": 795, + "column": 27 + } + } + }, + "range": [ + 24503, + 24517 + ], + "loc": { + "start": { + "line": 795, + "column": 13 + }, + "end": { + "line": 795, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 24503, + 24519 + ], + "loc": { + "start": { + "line": 795, + "column": 13 + }, + "end": { + "line": 795, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 24502, + 24519 + ], + "loc": { + "start": { + "line": 795, + "column": 12 + }, + "end": { + "line": 795, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 24535, + 24542 + ], + "loc": { + "start": { + "line": 796, + "column": 12 + }, + "end": { + "line": 796, + "column": 19 + } + } + } + ], + "range": [ + 24521, + 24552 + ], + "loc": { + "start": { + "line": 795, + "column": 31 + }, + "end": { + "line": 797, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 24498, + 24552 + ], + "loc": { + "start": { + "line": 795, + "column": 8 + }, + "end": { + "line": 797, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24561, + 24565 + ], + "loc": { + "start": { + "line": 798, + "column": 8 + }, + "end": { + "line": 798, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 24566, + 24573 + ], + "loc": { + "start": { + "line": 798, + "column": 13 + }, + "end": { + "line": 798, + "column": 20 + } + } + }, + "range": [ + 24561, + 24573 + ], + "loc": { + "start": { + "line": 798, + "column": 8 + }, + "end": { + "line": 798, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 24574, + 24578 + ], + "loc": { + "start": { + "line": 798, + "column": 21 + }, + "end": { + "line": 798, + "column": 25 + } + } + }, + "range": [ + 24561, + 24578 + ], + "loc": { + "start": { + "line": 798, + "column": 8 + }, + "end": { + "line": 798, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-reset-page", + "raw": "'before-reset-page'", + "range": [ + 24579, + 24598 + ], + "loc": { + "start": { + "line": 798, + "column": 26 + }, + "end": { + "line": 798, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 24600, + 24602 + ], + "loc": { + "start": { + "line": 798, + "column": 47 + }, + "end": { + "line": 798, + "column": 49 + } + } + } + ], + "range": [ + 24561, + 24603 + ], + "loc": { + "start": { + "line": 798, + "column": 8 + }, + "end": { + "line": 798, + "column": 50 + } + } + }, + "range": [ + 24561, + 24604 + ], + "loc": { + "start": { + "line": 798, + "column": 8 + }, + "end": { + "line": 798, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pgNb", + "range": [ + 24617, + 24621 + ], + "loc": { + "start": { + "line": 799, + "column": 12 + }, + "end": { + "line": 799, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 24624, + 24626 + ], + "loc": { + "start": { + "line": 799, + "column": 19 + }, + "end": { + "line": 799, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 24627, + 24634 + ], + "loc": { + "start": { + "line": 799, + "column": 22 + }, + "end": { + "line": 799, + "column": 29 + } + } + }, + "range": [ + 24624, + 24634 + ], + "loc": { + "start": { + "line": 799, + "column": 19 + }, + "end": { + "line": 799, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "store", + "raw": "'store'", + "range": [ + 24635, + 24642 + ], + "loc": { + "start": { + "line": 799, + "column": 30 + }, + "end": { + "line": 799, + "column": 37 + } + } + } + ], + "range": [ + 24624, + 24643 + ], + "loc": { + "start": { + "line": 799, + "column": 19 + }, + "end": { + "line": 799, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "getPageNb", + "range": [ + 24644, + 24653 + ], + "loc": { + "start": { + "line": 799, + "column": 39 + }, + "end": { + "line": 799, + "column": 48 + } + } + }, + "range": [ + 24624, + 24653 + ], + "loc": { + "start": { + "line": 799, + "column": 19 + }, + "end": { + "line": 799, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 24624, + 24655 + ], + "loc": { + "start": { + "line": 799, + "column": 19 + }, + "end": { + "line": 799, + "column": 50 + } + } + }, + "range": [ + 24617, + 24655 + ], + "loc": { + "start": { + "line": 799, + "column": 12 + }, + "end": { + "line": 799, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 24613, + 24656 + ], + "loc": { + "start": { + "line": 799, + "column": 8 + }, + "end": { + "line": 799, + "column": 51 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "pgNb", + "range": [ + 24669, + 24673 + ], + "loc": { + "start": { + "line": 800, + "column": 12 + }, + "end": { + "line": 800, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 24678, + 24680 + ], + "loc": { + "start": { + "line": 800, + "column": 21 + }, + "end": { + "line": 800, + "column": 23 + } + } + }, + "range": [ + 24669, + 24680 + ], + "loc": { + "start": { + "line": 800, + "column": 12 + }, + "end": { + "line": 800, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24696, + 24700 + ], + "loc": { + "start": { + "line": 801, + "column": 12 + }, + "end": { + "line": 801, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "changePage", + "range": [ + 24701, + 24711 + ], + "loc": { + "start": { + "line": 801, + "column": 17 + }, + "end": { + "line": 801, + "column": 27 + } + } + }, + "range": [ + 24696, + 24711 + ], + "loc": { + "start": { + "line": 801, + "column": 12 + }, + "end": { + "line": 801, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "pgNb", + "range": [ + 24713, + 24717 + ], + "loc": { + "start": { + "line": 801, + "column": 29 + }, + "end": { + "line": 801, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 24720, + 24721 + ], + "loc": { + "start": { + "line": 801, + "column": 36 + }, + "end": { + "line": 801, + "column": 37 + } + } + }, + "range": [ + 24713, + 24721 + ], + "loc": { + "start": { + "line": 801, + "column": 29 + }, + "end": { + "line": 801, + "column": 37 + } + } + } + ], + "range": [ + 24696, + 24723 + ], + "loc": { + "start": { + "line": 801, + "column": 12 + }, + "end": { + "line": 801, + "column": 39 + } + } + }, + "range": [ + 24696, + 24724 + ], + "loc": { + "start": { + "line": 801, + "column": 12 + }, + "end": { + "line": 801, + "column": 40 + } + } + } + ], + "range": [ + 24682, + 24734 + ], + "loc": { + "start": { + "line": 800, + "column": 25 + }, + "end": { + "line": 802, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 24665, + 24734 + ], + "loc": { + "start": { + "line": 800, + "column": 8 + }, + "end": { + "line": 802, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24743, + 24747 + ], + "loc": { + "start": { + "line": 803, + "column": 8 + }, + "end": { + "line": 803, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 24748, + 24755 + ], + "loc": { + "start": { + "line": 803, + "column": 13 + }, + "end": { + "line": 803, + "column": 20 + } + } + }, + "range": [ + 24743, + 24755 + ], + "loc": { + "start": { + "line": 803, + "column": 8 + }, + "end": { + "line": 803, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 24756, + 24760 + ], + "loc": { + "start": { + "line": 803, + "column": 21 + }, + "end": { + "line": 803, + "column": 25 + } + } + }, + "range": [ + 24743, + 24760 + ], + "loc": { + "start": { + "line": 803, + "column": 8 + }, + "end": { + "line": 803, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-reset-page", + "raw": "'after-reset-page'", + "range": [ + 24761, + 24779 + ], + "loc": { + "start": { + "line": 803, + "column": 26 + }, + "end": { + "line": 803, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 24781, + 24783 + ], + "loc": { + "start": { + "line": 803, + "column": 46 + }, + "end": { + "line": 803, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "pgNb", + "range": [ + 24785, + 24789 + ], + "loc": { + "start": { + "line": 803, + "column": 50 + }, + "end": { + "line": 803, + "column": 54 + } + } + } + ], + "range": [ + 24743, + 24790 + ], + "loc": { + "start": { + "line": 803, + "column": 8 + }, + "end": { + "line": 803, + "column": 55 + } + } + }, + "range": [ + 24743, + 24791 + ], + "loc": { + "start": { + "line": 803, + "column": 8 + }, + "end": { + "line": 803, + "column": 56 + } + } + } + ], + "range": [ + 24462, + 24797 + ], + "loc": { + "start": { + "line": 793, + "column": 16 + }, + "end": { + "line": 804, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 24459, + 24797 + ], + "loc": { + "start": { + "line": 793, + "column": 13 + }, + "end": { + "line": 804, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 24450, + 24797 + ], + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 804, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Re-set page nb at page re-load\n ", + "range": [ + 24396, + 24445 + ], + "loc": { + "start": { + "line": 790, + "column": 4 + }, + "end": { + "line": 792, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Re-set page length value at page re-load\n ", + "range": [ + 24803, + 24862 + ], + "loc": { + "start": { + "line": 806, + "column": 4 + }, + "end": { + "line": 808, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "resetPageLength", + "range": [ + 24867, + 24882 + ], + "loc": { + "start": { + "line": 809, + "column": 4 + }, + "end": { + "line": 809, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 24899, + 24901 + ], + "loc": { + "start": { + "line": 810, + "column": 12 + }, + "end": { + "line": 810, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24904, + 24908 + ], + "loc": { + "start": { + "line": 810, + "column": 17 + }, + "end": { + "line": 810, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 24909, + 24911 + ], + "loc": { + "start": { + "line": 810, + "column": 22 + }, + "end": { + "line": 810, + "column": 24 + } + } + }, + "range": [ + 24904, + 24911 + ], + "loc": { + "start": { + "line": 810, + "column": 17 + }, + "end": { + "line": 810, + "column": 24 + } + } + }, + "range": [ + 24899, + 24911 + ], + "loc": { + "start": { + "line": 810, + "column": 12 + }, + "end": { + "line": 810, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 24895, + 24912 + ], + "loc": { + "start": { + "line": 810, + "column": 8 + }, + "end": { + "line": 810, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24926, + 24930 + ], + "loc": { + "start": { + "line": 811, + "column": 13 + }, + "end": { + "line": 811, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 24931, + 24940 + ], + "loc": { + "start": { + "line": 811, + "column": 18 + }, + "end": { + "line": 811, + "column": 27 + } + } + }, + "range": [ + 24926, + 24940 + ], + "loc": { + "start": { + "line": 811, + "column": 13 + }, + "end": { + "line": 811, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 24926, + 24942 + ], + "loc": { + "start": { + "line": 811, + "column": 13 + }, + "end": { + "line": 811, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 24925, + 24942 + ], + "loc": { + "start": { + "line": 811, + "column": 12 + }, + "end": { + "line": 811, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 24958, + 24965 + ], + "loc": { + "start": { + "line": 812, + "column": 12 + }, + "end": { + "line": 812, + "column": 19 + } + } + } + ], + "range": [ + 24944, + 24975 + ], + "loc": { + "start": { + "line": 811, + "column": 31 + }, + "end": { + "line": 813, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 24921, + 24975 + ], + "loc": { + "start": { + "line": 811, + "column": 8 + }, + "end": { + "line": 813, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24984, + 24988 + ], + "loc": { + "start": { + "line": 814, + "column": 8 + }, + "end": { + "line": 814, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 24989, + 24996 + ], + "loc": { + "start": { + "line": 814, + "column": 13 + }, + "end": { + "line": 814, + "column": 20 + } + } + }, + "range": [ + 24984, + 24996 + ], + "loc": { + "start": { + "line": 814, + "column": 8 + }, + "end": { + "line": 814, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 24997, + 25001 + ], + "loc": { + "start": { + "line": 814, + "column": 21 + }, + "end": { + "line": 814, + "column": 25 + } + } + }, + "range": [ + 24984, + 25001 + ], + "loc": { + "start": { + "line": 814, + "column": 8 + }, + "end": { + "line": 814, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-reset-page-length", + "raw": "'before-reset-page-length'", + "range": [ + 25002, + 25028 + ], + "loc": { + "start": { + "line": 814, + "column": 26 + }, + "end": { + "line": 814, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 25030, + 25032 + ], + "loc": { + "start": { + "line": 814, + "column": 54 + }, + "end": { + "line": 814, + "column": 56 + } + } + } + ], + "range": [ + 24984, + 25033 + ], + "loc": { + "start": { + "line": 814, + "column": 8 + }, + "end": { + "line": 814, + "column": 57 + } + } + }, + "range": [ + 24984, + 25034 + ], + "loc": { + "start": { + "line": 814, + "column": 8 + }, + "end": { + "line": 814, + "column": 58 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pglenIndex", + "range": [ + 25047, + 25057 + ], + "loc": { + "start": { + "line": 815, + "column": 12 + }, + "end": { + "line": 815, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 25060, + 25062 + ], + "loc": { + "start": { + "line": 815, + "column": 25 + }, + "end": { + "line": 815, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 25063, + 25070 + ], + "loc": { + "start": { + "line": 815, + "column": 28 + }, + "end": { + "line": 815, + "column": 35 + } + } + }, + "range": [ + 25060, + 25070 + ], + "loc": { + "start": { + "line": 815, + "column": 25 + }, + "end": { + "line": 815, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "store", + "raw": "'store'", + "range": [ + 25071, + 25078 + ], + "loc": { + "start": { + "line": 815, + "column": 36 + }, + "end": { + "line": 815, + "column": 43 + } + } + } + ], + "range": [ + 25060, + 25079 + ], + "loc": { + "start": { + "line": 815, + "column": 25 + }, + "end": { + "line": 815, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "getPageLength", + "range": [ + 25080, + 25093 + ], + "loc": { + "start": { + "line": 815, + "column": 45 + }, + "end": { + "line": 815, + "column": 58 + } + } + }, + "range": [ + 25060, + 25093 + ], + "loc": { + "start": { + "line": 815, + "column": 25 + }, + "end": { + "line": 815, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 25060, + 25095 + ], + "loc": { + "start": { + "line": 815, + "column": 25 + }, + "end": { + "line": 815, + "column": 60 + } + } + }, + "range": [ + 25047, + 25095 + ], + "loc": { + "start": { + "line": 815, + "column": 12 + }, + "end": { + "line": 815, + "column": 60 + } + } + } + ], + "kind": "let", + "range": [ + 25043, + 25096 + ], + "loc": { + "start": { + "line": 815, + "column": 8 + }, + "end": { + "line": 815, + "column": 61 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "pglenIndex", + "range": [ + 25110, + 25120 + ], + "loc": { + "start": { + "line": 817, + "column": 12 + }, + "end": { + "line": 817, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 25125, + 25127 + ], + "loc": { + "start": { + "line": 817, + "column": 27 + }, + "end": { + "line": 817, + "column": 29 + } + } + }, + "range": [ + 25110, + 25127 + ], + "loc": { + "start": { + "line": 817, + "column": 12 + }, + "end": { + "line": 817, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25143, + 25147 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthSlc", + "range": [ + 25148, + 25161 + ], + "loc": { + "start": { + "line": 818, + "column": 17 + }, + "end": { + "line": 818, + "column": 30 + } + } + }, + "range": [ + 25143, + 25161 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "options", + "range": [ + 25162, + 25169 + ], + "loc": { + "start": { + "line": 818, + "column": 31 + }, + "end": { + "line": 818, + "column": 38 + } + } + }, + "range": [ + 25143, + 25169 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "pglenIndex", + "range": [ + 25170, + 25180 + ], + "loc": { + "start": { + "line": 818, + "column": 39 + }, + "end": { + "line": 818, + "column": 49 + } + } + }, + "range": [ + 25143, + 25181 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "selected", + "range": [ + 25182, + 25190 + ], + "loc": { + "start": { + "line": 818, + "column": 51 + }, + "end": { + "line": 818, + "column": 59 + } + } + }, + "range": [ + 25143, + 25190 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 59 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 25193, + 25197 + ], + "loc": { + "start": { + "line": 818, + "column": 62 + }, + "end": { + "line": 818, + "column": 66 + } + } + }, + "range": [ + 25143, + 25197 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 66 + } + } + }, + "range": [ + 25143, + 25198 + ], + "loc": { + "start": { + "line": 818, + "column": 12 + }, + "end": { + "line": 818, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25211, + 25215 + ], + "loc": { + "start": { + "line": 819, + "column": 12 + }, + "end": { + "line": 819, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeResultsPerPage", + "range": [ + 25216, + 25236 + ], + "loc": { + "start": { + "line": 819, + "column": 17 + }, + "end": { + "line": 819, + "column": 37 + } + } + }, + "range": [ + 25211, + 25236 + ], + "loc": { + "start": { + "line": 819, + "column": 12 + }, + "end": { + "line": 819, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 25211, + 25238 + ], + "loc": { + "start": { + "line": 819, + "column": 12 + }, + "end": { + "line": 819, + "column": 39 + } + } + }, + "range": [ + 25211, + 25239 + ], + "loc": { + "start": { + "line": 819, + "column": 12 + }, + "end": { + "line": 819, + "column": 40 + } + } + } + ], + "range": [ + 25129, + 25249 + ], + "loc": { + "start": { + "line": 817, + "column": 31 + }, + "end": { + "line": 820, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 25106, + 25249 + ], + "loc": { + "start": { + "line": 817, + "column": 8 + }, + "end": { + "line": 820, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25258, + 25262 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 25263, + 25270 + ], + "loc": { + "start": { + "line": 821, + "column": 13 + }, + "end": { + "line": 821, + "column": 20 + } + } + }, + "range": [ + 25258, + 25270 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 25271, + 25275 + ], + "loc": { + "start": { + "line": 821, + "column": 21 + }, + "end": { + "line": 821, + "column": 25 + } + } + }, + "range": [ + 25258, + 25275 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-reset-page-length", + "raw": "'after-reset-page-length'", + "range": [ + 25276, + 25301 + ], + "loc": { + "start": { + "line": 821, + "column": 26 + }, + "end": { + "line": 821, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 25303, + 25305 + ], + "loc": { + "start": { + "line": 821, + "column": 53 + }, + "end": { + "line": 821, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "pglenIndex", + "range": [ + 25307, + 25317 + ], + "loc": { + "start": { + "line": 821, + "column": 57 + }, + "end": { + "line": 821, + "column": 67 + } + } + } + ], + "range": [ + 25258, + 25318 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 68 + } + } + }, + "range": [ + 25258, + 25319 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 69 + } + } + } + ], + "range": [ + 24885, + 25325 + ], + "loc": { + "start": { + "line": 809, + "column": 22 + }, + "end": { + "line": 822, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 24882, + 25325 + ], + "loc": { + "start": { + "line": 809, + "column": 19 + }, + "end": { + "line": 822, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 24867, + 25325 + ], + "loc": { + "start": { + "line": 809, + "column": 4 + }, + "end": { + "line": 822, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Re-set page length value at page re-load\n ", + "range": [ + 24803, + 24862 + ], + "loc": { + "start": { + "line": 806, + "column": 4 + }, + "end": { + "line": 808, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove paging feature\n ", + "range": [ + 25331, + 25371 + ], + "loc": { + "start": { + "line": 824, + "column": 4 + }, + "end": { + "line": 826, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 25376, + 25383 + ], + "loc": { + "start": { + "line": 827, + "column": 4 + }, + "end": { + "line": 827, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25401, + 25405 + ], + "loc": { + "start": { + "line": 828, + "column": 13 + }, + "end": { + "line": 828, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 25406, + 25417 + ], + "loc": { + "start": { + "line": 828, + "column": 18 + }, + "end": { + "line": 828, + "column": 29 + } + } + }, + "range": [ + 25401, + 25417 + ], + "loc": { + "start": { + "line": 828, + "column": 13 + }, + "end": { + "line": 828, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 25400, + 25417 + ], + "loc": { + "start": { + "line": 828, + "column": 12 + }, + "end": { + "line": 828, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 25433, + 25440 + ], + "loc": { + "start": { + "line": 829, + "column": 12 + }, + "end": { + "line": 829, + "column": 19 + } + } + } + ], + "range": [ + 25419, + 25450 + ], + "loc": { + "start": { + "line": 828, + "column": 31 + }, + "end": { + "line": 830, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 25396, + 25450 + ], + "loc": { + "start": { + "line": 828, + "column": 8 + }, + "end": { + "line": 830, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "evt", + "range": [ + 25464, + 25467 + ], + "loc": { + "start": { + "line": 832, + "column": 12 + }, + "end": { + "line": 832, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25470, + 25474 + ], + "loc": { + "start": { + "line": 832, + "column": 18 + }, + "end": { + "line": 832, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "evt", + "range": [ + 25475, + 25478 + ], + "loc": { + "start": { + "line": 832, + "column": 23 + }, + "end": { + "line": 832, + "column": 26 + } + } + }, + "range": [ + 25470, + 25478 + ], + "loc": { + "start": { + "line": 832, + "column": 18 + }, + "end": { + "line": 832, + "column": 26 + } + } + }, + "range": [ + 25464, + 25478 + ], + "loc": { + "start": { + "line": 832, + "column": 12 + }, + "end": { + "line": 832, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 25460, + 25479 + ], + "loc": { + "start": { + "line": 832, + "column": 8 + }, + "end": { + "line": 832, + "column": 27 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25493, + 25497 + ], + "loc": { + "start": { + "line": 834, + "column": 12 + }, + "end": { + "line": 834, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 25498, + 25505 + ], + "loc": { + "start": { + "line": 834, + "column": 17 + }, + "end": { + "line": 834, + "column": 24 + } + } + }, + "range": [ + 25493, + 25505 + ], + "loc": { + "start": { + "line": 834, + "column": 12 + }, + "end": { + "line": 834, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25525, + 25529 + ], + "loc": { + "start": { + "line": 835, + "column": 16 + }, + "end": { + "line": 835, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 25530, + 25546 + ], + "loc": { + "start": { + "line": 835, + "column": 21 + }, + "end": { + "line": 835, + "column": 37 + } + } + }, + "range": [ + 25525, + 25546 + ], + "loc": { + "start": { + "line": 835, + "column": 16 + }, + "end": { + "line": 835, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 25551, + 25557 + ], + "loc": { + "start": { + "line": 835, + "column": 42 + }, + "end": { + "line": 835, + "column": 48 + } + } + }, + "range": [ + 25525, + 25557 + ], + "loc": { + "start": { + "line": 835, + "column": 16 + }, + "end": { + "line": 835, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 25577, + 25586 + ], + "loc": { + "start": { + "line": 836, + "column": 16 + }, + "end": { + "line": 836, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25587, + 25591 + ], + "loc": { + "start": { + "line": 836, + "column": 26 + }, + "end": { + "line": 836, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 25592, + 25599 + ], + "loc": { + "start": { + "line": 836, + "column": 31 + }, + "end": { + "line": 836, + "column": 38 + } + } + }, + "range": [ + 25587, + 25599 + ], + "loc": { + "start": { + "line": 836, + "column": 26 + }, + "end": { + "line": 836, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "change", + "raw": "'change'", + "range": [ + 25601, + 25609 + ], + "loc": { + "start": { + "line": 836, + "column": 40 + }, + "end": { + "line": 836, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 25611, + 25614 + ], + "loc": { + "start": { + "line": 836, + "column": 50 + }, + "end": { + "line": 836, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "slcPagesChange", + "range": [ + 25615, + 25629 + ], + "loc": { + "start": { + "line": 836, + "column": 54 + }, + "end": { + "line": 836, + "column": 68 + } + } + }, + "range": [ + 25611, + 25629 + ], + "loc": { + "start": { + "line": 836, + "column": 50 + }, + "end": { + "line": 836, + "column": 68 + } + } + } + ], + "range": [ + 25577, + 25630 + ], + "loc": { + "start": { + "line": 836, + "column": 16 + }, + "end": { + "line": 836, + "column": 69 + } + } + }, + "range": [ + 25577, + 25631 + ], + "loc": { + "start": { + "line": 836, + "column": 16 + }, + "end": { + "line": 836, + "column": 70 + } + } + } + ], + "range": [ + 25559, + 25645 + ], + "loc": { + "start": { + "line": 835, + "column": 50 + }, + "end": { + "line": 837, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25667, + 25671 + ], + "loc": { + "start": { + "line": 838, + "column": 21 + }, + "end": { + "line": 838, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSelectorType", + "range": [ + 25672, + 25688 + ], + "loc": { + "start": { + "line": 838, + "column": 26 + }, + "end": { + "line": 838, + "column": 42 + } + } + }, + "range": [ + 25667, + 25688 + ], + "loc": { + "start": { + "line": 838, + "column": 21 + }, + "end": { + "line": 838, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 25693, + 25698 + ], + "loc": { + "start": { + "line": 838, + "column": 47 + }, + "end": { + "line": 838, + "column": 52 + } + } + }, + "range": [ + 25667, + 25698 + ], + "loc": { + "start": { + "line": 838, + "column": 21 + }, + "end": { + "line": 838, + "column": 52 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 25718, + 25727 + ], + "loc": { + "start": { + "line": 839, + "column": 16 + }, + "end": { + "line": 839, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25728, + 25732 + ], + "loc": { + "start": { + "line": 839, + "column": 26 + }, + "end": { + "line": 839, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 25733, + 25740 + ], + "loc": { + "start": { + "line": 839, + "column": 31 + }, + "end": { + "line": 839, + "column": 38 + } + } + }, + "range": [ + 25728, + 25740 + ], + "loc": { + "start": { + "line": 839, + "column": 26 + }, + "end": { + "line": 839, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "keypress", + "raw": "'keypress'", + "range": [ + 25742, + 25752 + ], + "loc": { + "start": { + "line": 839, + "column": 40 + }, + "end": { + "line": 839, + "column": 50 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 25754, + 25757 + ], + "loc": { + "start": { + "line": 839, + "column": 52 + }, + "end": { + "line": 839, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "_detectKey", + "range": [ + 25758, + 25768 + ], + "loc": { + "start": { + "line": 839, + "column": 56 + }, + "end": { + "line": 839, + "column": 66 + } + } + }, + "range": [ + 25754, + 25768 + ], + "loc": { + "start": { + "line": 839, + "column": 52 + }, + "end": { + "line": 839, + "column": 66 + } + } + } + ], + "range": [ + 25718, + 25769 + ], + "loc": { + "start": { + "line": 839, + "column": 16 + }, + "end": { + "line": 839, + "column": 67 + } + } + }, + "range": [ + 25718, + 25770 + ], + "loc": { + "start": { + "line": 839, + "column": 16 + }, + "end": { + "line": 839, + "column": 68 + } + } + } + ], + "range": [ + 25700, + 25784 + ], + "loc": { + "start": { + "line": 838, + "column": 54 + }, + "end": { + "line": 840, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 25663, + 25784 + ], + "loc": { + "start": { + "line": 838, + "column": 17 + }, + "end": { + "line": 840, + "column": 13 + } + } + }, + "range": [ + 25521, + 25784 + ], + "loc": { + "start": { + "line": 835, + "column": 12 + }, + "end": { + "line": 840, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 25797, + 25806 + ], + "loc": { + "start": { + "line": 841, + "column": 12 + }, + "end": { + "line": 841, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25807, + 25811 + ], + "loc": { + "start": { + "line": 841, + "column": 22 + }, + "end": { + "line": 841, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 25812, + 25819 + ], + "loc": { + "start": { + "line": 841, + "column": 27 + }, + "end": { + "line": 841, + "column": 34 + } + } + }, + "range": [ + 25807, + 25819 + ], + "loc": { + "start": { + "line": 841, + "column": 22 + }, + "end": { + "line": 841, + "column": 34 + } + } + } + ], + "range": [ + 25797, + 25820 + ], + "loc": { + "start": { + "line": 841, + "column": 12 + }, + "end": { + "line": 841, + "column": 35 + } + } + }, + "range": [ + 25797, + 25821 + ], + "loc": { + "start": { + "line": 841, + "column": 12 + }, + "end": { + "line": 841, + "column": 36 + } + } + } + ], + "range": [ + 25507, + 25831 + ], + "loc": { + "start": { + "line": 834, + "column": 26 + }, + "end": { + "line": 842, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 25489, + 25831 + ], + "loc": { + "start": { + "line": 834, + "column": 8 + }, + "end": { + "line": 842, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25845, + 25849 + ], + "loc": { + "start": { + "line": 844, + "column": 12 + }, + "end": { + "line": 844, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 25850, + 25861 + ], + "loc": { + "start": { + "line": 844, + "column": 17 + }, + "end": { + "line": 844, + "column": 28 + } + } + }, + "range": [ + 25845, + 25861 + ], + "loc": { + "start": { + "line": 844, + "column": 12 + }, + "end": { + "line": 844, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 25877, + 25886 + ], + "loc": { + "start": { + "line": 845, + "column": 12 + }, + "end": { + "line": 845, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25887, + 25891 + ], + "loc": { + "start": { + "line": 845, + "column": 22 + }, + "end": { + "line": 845, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 25892, + 25903 + ], + "loc": { + "start": { + "line": 845, + "column": 27 + }, + "end": { + "line": 845, + "column": 38 + } + } + }, + "range": [ + 25887, + 25903 + ], + "loc": { + "start": { + "line": 845, + "column": 22 + }, + "end": { + "line": 845, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 25905, + 25912 + ], + "loc": { + "start": { + "line": 845, + "column": 40 + }, + "end": { + "line": 845, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 25914, + 25917 + ], + "loc": { + "start": { + "line": 845, + "column": 49 + }, + "end": { + "line": 845, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "next", + "range": [ + 25918, + 25922 + ], + "loc": { + "start": { + "line": 845, + "column": 53 + }, + "end": { + "line": 845, + "column": 57 + } + } + }, + "range": [ + 25914, + 25922 + ], + "loc": { + "start": { + "line": 845, + "column": 49 + }, + "end": { + "line": 845, + "column": 57 + } + } + } + ], + "range": [ + 25877, + 25923 + ], + "loc": { + "start": { + "line": 845, + "column": 12 + }, + "end": { + "line": 845, + "column": 58 + } + } + }, + "range": [ + 25877, + 25924 + ], + "loc": { + "start": { + "line": 845, + "column": 12 + }, + "end": { + "line": 845, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 25937, + 25946 + ], + "loc": { + "start": { + "line": 846, + "column": 12 + }, + "end": { + "line": 846, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25947, + 25951 + ], + "loc": { + "start": { + "line": 846, + "column": 22 + }, + "end": { + "line": 846, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 25952, + 25963 + ], + "loc": { + "start": { + "line": 846, + "column": 27 + }, + "end": { + "line": 846, + "column": 38 + } + } + }, + "range": [ + 25947, + 25963 + ], + "loc": { + "start": { + "line": 846, + "column": 22 + }, + "end": { + "line": 846, + "column": 38 + } + } + } + ], + "range": [ + 25937, + 25964 + ], + "loc": { + "start": { + "line": 846, + "column": 12 + }, + "end": { + "line": 846, + "column": 39 + } + } + }, + "range": [ + 25937, + 25965 + ], + "loc": { + "start": { + "line": 846, + "column": 12 + }, + "end": { + "line": 846, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25978, + 25982 + ], + "loc": { + "start": { + "line": 847, + "column": 12 + }, + "end": { + "line": 847, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnNextCont", + "range": [ + 25983, + 25994 + ], + "loc": { + "start": { + "line": 847, + "column": 17 + }, + "end": { + "line": 847, + "column": 28 + } + } + }, + "range": [ + 25978, + 25994 + ], + "loc": { + "start": { + "line": 847, + "column": 12 + }, + "end": { + "line": 847, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 25997, + 26001 + ], + "loc": { + "start": { + "line": 847, + "column": 31 + }, + "end": { + "line": 847, + "column": 35 + } + } + }, + "range": [ + 25978, + 26001 + ], + "loc": { + "start": { + "line": 847, + "column": 12 + }, + "end": { + "line": 847, + "column": 35 + } + } + }, + "range": [ + 25978, + 26002 + ], + "loc": { + "start": { + "line": 847, + "column": 12 + }, + "end": { + "line": 847, + "column": 36 + } + } + } + ], + "range": [ + 25863, + 26012 + ], + "loc": { + "start": { + "line": 844, + "column": 30 + }, + "end": { + "line": 848, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 25841, + 26012 + ], + "loc": { + "start": { + "line": 844, + "column": 8 + }, + "end": { + "line": 848, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26026, + 26030 + ], + "loc": { + "start": { + "line": 850, + "column": 12 + }, + "end": { + "line": 850, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 26031, + 26042 + ], + "loc": { + "start": { + "line": 850, + "column": 17 + }, + "end": { + "line": 850, + "column": 28 + } + } + }, + "range": [ + 26026, + 26042 + ], + "loc": { + "start": { + "line": 850, + "column": 12 + }, + "end": { + "line": 850, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 26058, + 26067 + ], + "loc": { + "start": { + "line": 851, + "column": 12 + }, + "end": { + "line": 851, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26068, + 26072 + ], + "loc": { + "start": { + "line": 851, + "column": 22 + }, + "end": { + "line": 851, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 26073, + 26084 + ], + "loc": { + "start": { + "line": 851, + "column": 27 + }, + "end": { + "line": 851, + "column": 38 + } + } + }, + "range": [ + 26068, + 26084 + ], + "loc": { + "start": { + "line": 851, + "column": 22 + }, + "end": { + "line": 851, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 26086, + 26093 + ], + "loc": { + "start": { + "line": 851, + "column": 40 + }, + "end": { + "line": 851, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 26095, + 26098 + ], + "loc": { + "start": { + "line": 851, + "column": 49 + }, + "end": { + "line": 851, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "prev", + "range": [ + 26099, + 26103 + ], + "loc": { + "start": { + "line": 851, + "column": 53 + }, + "end": { + "line": 851, + "column": 57 + } + } + }, + "range": [ + 26095, + 26103 + ], + "loc": { + "start": { + "line": 851, + "column": 49 + }, + "end": { + "line": 851, + "column": 57 + } + } + } + ], + "range": [ + 26058, + 26104 + ], + "loc": { + "start": { + "line": 851, + "column": 12 + }, + "end": { + "line": 851, + "column": 58 + } + } + }, + "range": [ + 26058, + 26105 + ], + "loc": { + "start": { + "line": 851, + "column": 12 + }, + "end": { + "line": 851, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26118, + 26127 + ], + "loc": { + "start": { + "line": 852, + "column": 12 + }, + "end": { + "line": 852, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26128, + 26132 + ], + "loc": { + "start": { + "line": 852, + "column": 22 + }, + "end": { + "line": 852, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 26133, + 26144 + ], + "loc": { + "start": { + "line": 852, + "column": 27 + }, + "end": { + "line": 852, + "column": 38 + } + } + }, + "range": [ + 26128, + 26144 + ], + "loc": { + "start": { + "line": 852, + "column": 22 + }, + "end": { + "line": 852, + "column": 38 + } + } + } + ], + "range": [ + 26118, + 26145 + ], + "loc": { + "start": { + "line": 852, + "column": 12 + }, + "end": { + "line": 852, + "column": 39 + } + } + }, + "range": [ + 26118, + 26146 + ], + "loc": { + "start": { + "line": 852, + "column": 12 + }, + "end": { + "line": 852, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26159, + 26163 + ], + "loc": { + "start": { + "line": 853, + "column": 12 + }, + "end": { + "line": 853, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnPrevCont", + "range": [ + 26164, + 26175 + ], + "loc": { + "start": { + "line": 853, + "column": 17 + }, + "end": { + "line": 853, + "column": 28 + } + } + }, + "range": [ + 26159, + 26175 + ], + "loc": { + "start": { + "line": 853, + "column": 12 + }, + "end": { + "line": 853, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26178, + 26182 + ], + "loc": { + "start": { + "line": 853, + "column": 31 + }, + "end": { + "line": 853, + "column": 35 + } + } + }, + "range": [ + 26159, + 26182 + ], + "loc": { + "start": { + "line": 853, + "column": 12 + }, + "end": { + "line": 853, + "column": 35 + } + } + }, + "range": [ + 26159, + 26183 + ], + "loc": { + "start": { + "line": 853, + "column": 12 + }, + "end": { + "line": 853, + "column": 36 + } + } + } + ], + "range": [ + 26044, + 26193 + ], + "loc": { + "start": { + "line": 850, + "column": 30 + }, + "end": { + "line": 854, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26022, + 26193 + ], + "loc": { + "start": { + "line": 850, + "column": 8 + }, + "end": { + "line": 854, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26207, + 26211 + ], + "loc": { + "start": { + "line": 856, + "column": 12 + }, + "end": { + "line": 856, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 26212, + 26223 + ], + "loc": { + "start": { + "line": 856, + "column": 17 + }, + "end": { + "line": 856, + "column": 28 + } + } + }, + "range": [ + 26207, + 26223 + ], + "loc": { + "start": { + "line": 856, + "column": 12 + }, + "end": { + "line": 856, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 26239, + 26248 + ], + "loc": { + "start": { + "line": 857, + "column": 12 + }, + "end": { + "line": 857, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26249, + 26253 + ], + "loc": { + "start": { + "line": 857, + "column": 22 + }, + "end": { + "line": 857, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 26254, + 26265 + ], + "loc": { + "start": { + "line": 857, + "column": 27 + }, + "end": { + "line": 857, + "column": 38 + } + } + }, + "range": [ + 26249, + 26265 + ], + "loc": { + "start": { + "line": 857, + "column": 22 + }, + "end": { + "line": 857, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 26267, + 26274 + ], + "loc": { + "start": { + "line": 857, + "column": 40 + }, + "end": { + "line": 857, + "column": 47 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 26276, + 26279 + ], + "loc": { + "start": { + "line": 857, + "column": 49 + }, + "end": { + "line": 857, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "last", + "range": [ + 26280, + 26284 + ], + "loc": { + "start": { + "line": 857, + "column": 53 + }, + "end": { + "line": 857, + "column": 57 + } + } + }, + "range": [ + 26276, + 26284 + ], + "loc": { + "start": { + "line": 857, + "column": 49 + }, + "end": { + "line": 857, + "column": 57 + } + } + } + ], + "range": [ + 26239, + 26285 + ], + "loc": { + "start": { + "line": 857, + "column": 12 + }, + "end": { + "line": 857, + "column": 58 + } + } + }, + "range": [ + 26239, + 26286 + ], + "loc": { + "start": { + "line": 857, + "column": 12 + }, + "end": { + "line": 857, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26299, + 26308 + ], + "loc": { + "start": { + "line": 858, + "column": 12 + }, + "end": { + "line": 858, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26309, + 26313 + ], + "loc": { + "start": { + "line": 858, + "column": 22 + }, + "end": { + "line": 858, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 26314, + 26325 + ], + "loc": { + "start": { + "line": 858, + "column": 27 + }, + "end": { + "line": 858, + "column": 38 + } + } + }, + "range": [ + 26309, + 26325 + ], + "loc": { + "start": { + "line": 858, + "column": 22 + }, + "end": { + "line": 858, + "column": 38 + } + } + } + ], + "range": [ + 26299, + 26326 + ], + "loc": { + "start": { + "line": 858, + "column": 12 + }, + "end": { + "line": 858, + "column": 39 + } + } + }, + "range": [ + 26299, + 26327 + ], + "loc": { + "start": { + "line": 858, + "column": 12 + }, + "end": { + "line": 858, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26340, + 26344 + ], + "loc": { + "start": { + "line": 859, + "column": 12 + }, + "end": { + "line": 859, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnLastCont", + "range": [ + 26345, + 26356 + ], + "loc": { + "start": { + "line": 859, + "column": 17 + }, + "end": { + "line": 859, + "column": 28 + } + } + }, + "range": [ + 26340, + 26356 + ], + "loc": { + "start": { + "line": 859, + "column": 12 + }, + "end": { + "line": 859, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26359, + 26363 + ], + "loc": { + "start": { + "line": 859, + "column": 31 + }, + "end": { + "line": 859, + "column": 35 + } + } + }, + "range": [ + 26340, + 26363 + ], + "loc": { + "start": { + "line": 859, + "column": 12 + }, + "end": { + "line": 859, + "column": 35 + } + } + }, + "range": [ + 26340, + 26364 + ], + "loc": { + "start": { + "line": 859, + "column": 12 + }, + "end": { + "line": 859, + "column": 36 + } + } + } + ], + "range": [ + 26225, + 26374 + ], + "loc": { + "start": { + "line": 856, + "column": 30 + }, + "end": { + "line": 860, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26203, + 26374 + ], + "loc": { + "start": { + "line": 856, + "column": 8 + }, + "end": { + "line": 860, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26388, + 26392 + ], + "loc": { + "start": { + "line": 862, + "column": 12 + }, + "end": { + "line": 862, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 26393, + 26405 + ], + "loc": { + "start": { + "line": 862, + "column": 17 + }, + "end": { + "line": 862, + "column": 29 + } + } + }, + "range": [ + 26388, + 26405 + ], + "loc": { + "start": { + "line": 862, + "column": 12 + }, + "end": { + "line": 862, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 26421, + 26430 + ], + "loc": { + "start": { + "line": 863, + "column": 12 + }, + "end": { + "line": 863, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26431, + 26435 + ], + "loc": { + "start": { + "line": 863, + "column": 22 + }, + "end": { + "line": 863, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 26436, + 26448 + ], + "loc": { + "start": { + "line": 863, + "column": 27 + }, + "end": { + "line": 863, + "column": 39 + } + } + }, + "range": [ + 26431, + 26448 + ], + "loc": { + "start": { + "line": 863, + "column": 22 + }, + "end": { + "line": 863, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 26450, + 26457 + ], + "loc": { + "start": { + "line": 863, + "column": 41 + }, + "end": { + "line": 863, + "column": 48 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "evt", + "range": [ + 26459, + 26462 + ], + "loc": { + "start": { + "line": 863, + "column": 50 + }, + "end": { + "line": 863, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "first", + "range": [ + 26463, + 26468 + ], + "loc": { + "start": { + "line": 863, + "column": 54 + }, + "end": { + "line": 863, + "column": 59 + } + } + }, + "range": [ + 26459, + 26468 + ], + "loc": { + "start": { + "line": 863, + "column": 50 + }, + "end": { + "line": 863, + "column": 59 + } + } + } + ], + "range": [ + 26421, + 26469 + ], + "loc": { + "start": { + "line": 863, + "column": 12 + }, + "end": { + "line": 863, + "column": 60 + } + } + }, + "range": [ + 26421, + 26470 + ], + "loc": { + "start": { + "line": 863, + "column": 12 + }, + "end": { + "line": 863, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26483, + 26492 + ], + "loc": { + "start": { + "line": 864, + "column": 12 + }, + "end": { + "line": 864, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26493, + 26497 + ], + "loc": { + "start": { + "line": 864, + "column": 22 + }, + "end": { + "line": 864, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 26498, + 26510 + ], + "loc": { + "start": { + "line": 864, + "column": 27 + }, + "end": { + "line": 864, + "column": 39 + } + } + }, + "range": [ + 26493, + 26510 + ], + "loc": { + "start": { + "line": 864, + "column": 22 + }, + "end": { + "line": 864, + "column": 39 + } + } + } + ], + "range": [ + 26483, + 26511 + ], + "loc": { + "start": { + "line": 864, + "column": 12 + }, + "end": { + "line": 864, + "column": 40 + } + } + }, + "range": [ + 26483, + 26512 + ], + "loc": { + "start": { + "line": 864, + "column": 12 + }, + "end": { + "line": 864, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26525, + 26529 + ], + "loc": { + "start": { + "line": 865, + "column": 12 + }, + "end": { + "line": 865, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnFirstCont", + "range": [ + 26530, + 26542 + ], + "loc": { + "start": { + "line": 865, + "column": 17 + }, + "end": { + "line": 865, + "column": 29 + } + } + }, + "range": [ + 26525, + 26542 + ], + "loc": { + "start": { + "line": 865, + "column": 12 + }, + "end": { + "line": 865, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26545, + 26549 + ], + "loc": { + "start": { + "line": 865, + "column": 32 + }, + "end": { + "line": 865, + "column": 36 + } + } + }, + "range": [ + 26525, + 26549 + ], + "loc": { + "start": { + "line": 865, + "column": 12 + }, + "end": { + "line": 865, + "column": 36 + } + } + }, + "range": [ + 26525, + 26550 + ], + "loc": { + "start": { + "line": 865, + "column": 12 + }, + "end": { + "line": 865, + "column": 37 + } + } + } + ], + "range": [ + 26407, + 26560 + ], + "loc": { + "start": { + "line": 862, + "column": 31 + }, + "end": { + "line": 866, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26384, + 26560 + ], + "loc": { + "start": { + "line": 862, + "column": 8 + }, + "end": { + "line": 866, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26574, + 26578 + ], + "loc": { + "start": { + "line": 868, + "column": 12 + }, + "end": { + "line": 868, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgBefore", + "range": [ + 26579, + 26587 + ], + "loc": { + "start": { + "line": 868, + "column": 17 + }, + "end": { + "line": 868, + "column": 25 + } + } + }, + "range": [ + 26574, + 26587 + ], + "loc": { + "start": { + "line": 868, + "column": 12 + }, + "end": { + "line": 868, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26603, + 26612 + ], + "loc": { + "start": { + "line": 869, + "column": 12 + }, + "end": { + "line": 869, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26613, + 26617 + ], + "loc": { + "start": { + "line": 869, + "column": 22 + }, + "end": { + "line": 869, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgBefore", + "range": [ + 26618, + 26626 + ], + "loc": { + "start": { + "line": 869, + "column": 27 + }, + "end": { + "line": 869, + "column": 35 + } + } + }, + "range": [ + 26613, + 26626 + ], + "loc": { + "start": { + "line": 869, + "column": 22 + }, + "end": { + "line": 869, + "column": 35 + } + } + } + ], + "range": [ + 26603, + 26627 + ], + "loc": { + "start": { + "line": 869, + "column": 12 + }, + "end": { + "line": 869, + "column": 36 + } + } + }, + "range": [ + 26603, + 26628 + ], + "loc": { + "start": { + "line": 869, + "column": 12 + }, + "end": { + "line": 869, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26641, + 26645 + ], + "loc": { + "start": { + "line": 870, + "column": 12 + }, + "end": { + "line": 870, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgBefore", + "range": [ + 26646, + 26654 + ], + "loc": { + "start": { + "line": 870, + "column": 17 + }, + "end": { + "line": 870, + "column": 25 + } + } + }, + "range": [ + 26641, + 26654 + ], + "loc": { + "start": { + "line": 870, + "column": 12 + }, + "end": { + "line": 870, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26657, + 26661 + ], + "loc": { + "start": { + "line": 870, + "column": 28 + }, + "end": { + "line": 870, + "column": 32 + } + } + }, + "range": [ + 26641, + 26661 + ], + "loc": { + "start": { + "line": 870, + "column": 12 + }, + "end": { + "line": 870, + "column": 32 + } + } + }, + "range": [ + 26641, + 26662 + ], + "loc": { + "start": { + "line": 870, + "column": 12 + }, + "end": { + "line": 870, + "column": 33 + } + } + } + ], + "range": [ + 26589, + 26672 + ], + "loc": { + "start": { + "line": 868, + "column": 27 + }, + "end": { + "line": 871, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26570, + 26672 + ], + "loc": { + "start": { + "line": 868, + "column": 8 + }, + "end": { + "line": 871, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26686, + 26690 + ], + "loc": { + "start": { + "line": 873, + "column": 12 + }, + "end": { + "line": 873, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgAfter", + "range": [ + 26691, + 26698 + ], + "loc": { + "start": { + "line": 873, + "column": 17 + }, + "end": { + "line": 873, + "column": 24 + } + } + }, + "range": [ + 26686, + 26698 + ], + "loc": { + "start": { + "line": 873, + "column": 12 + }, + "end": { + "line": 873, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26714, + 26723 + ], + "loc": { + "start": { + "line": 874, + "column": 12 + }, + "end": { + "line": 874, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26724, + 26728 + ], + "loc": { + "start": { + "line": 874, + "column": 22 + }, + "end": { + "line": 874, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgAfter", + "range": [ + 26729, + 26736 + ], + "loc": { + "start": { + "line": 874, + "column": 27 + }, + "end": { + "line": 874, + "column": 34 + } + } + }, + "range": [ + 26724, + 26736 + ], + "loc": { + "start": { + "line": 874, + "column": 22 + }, + "end": { + "line": 874, + "column": 34 + } + } + } + ], + "range": [ + 26714, + 26737 + ], + "loc": { + "start": { + "line": 874, + "column": 12 + }, + "end": { + "line": 874, + "column": 35 + } + } + }, + "range": [ + 26714, + 26738 + ], + "loc": { + "start": { + "line": 874, + "column": 12 + }, + "end": { + "line": 874, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26751, + 26755 + ], + "loc": { + "start": { + "line": 875, + "column": 12 + }, + "end": { + "line": 875, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgAfter", + "range": [ + 26756, + 26763 + ], + "loc": { + "start": { + "line": 875, + "column": 17 + }, + "end": { + "line": 875, + "column": 24 + } + } + }, + "range": [ + 26751, + 26763 + ], + "loc": { + "start": { + "line": 875, + "column": 12 + }, + "end": { + "line": 875, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26766, + 26770 + ], + "loc": { + "start": { + "line": 875, + "column": 27 + }, + "end": { + "line": 875, + "column": 31 + } + } + }, + "range": [ + 26751, + 26770 + ], + "loc": { + "start": { + "line": 875, + "column": 12 + }, + "end": { + "line": 875, + "column": 31 + } + } + }, + "range": [ + 26751, + 26771 + ], + "loc": { + "start": { + "line": 875, + "column": 12 + }, + "end": { + "line": 875, + "column": 32 + } + } + } + ], + "range": [ + 26700, + 26781 + ], + "loc": { + "start": { + "line": 873, + "column": 26 + }, + "end": { + "line": 876, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26682, + 26781 + ], + "loc": { + "start": { + "line": 873, + "column": 8 + }, + "end": { + "line": 876, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26795, + 26799 + ], + "loc": { + "start": { + "line": 878, + "column": 12 + }, + "end": { + "line": 878, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 26800, + 26806 + ], + "loc": { + "start": { + "line": 878, + "column": 17 + }, + "end": { + "line": 878, + "column": 23 + } + } + }, + "range": [ + 26795, + 26806 + ], + "loc": { + "start": { + "line": 878, + "column": 12 + }, + "end": { + "line": 878, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 26822, + 26831 + ], + "loc": { + "start": { + "line": 879, + "column": 12 + }, + "end": { + "line": 879, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26832, + 26836 + ], + "loc": { + "start": { + "line": 879, + "column": 22 + }, + "end": { + "line": 879, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 26837, + 26843 + ], + "loc": { + "start": { + "line": 879, + "column": 27 + }, + "end": { + "line": 879, + "column": 33 + } + } + }, + "range": [ + 26832, + 26843 + ], + "loc": { + "start": { + "line": 879, + "column": 22 + }, + "end": { + "line": 879, + "column": 33 + } + } + } + ], + "range": [ + 26822, + 26844 + ], + "loc": { + "start": { + "line": 879, + "column": 12 + }, + "end": { + "line": 879, + "column": 34 + } + } + }, + "range": [ + 26822, + 26845 + ], + "loc": { + "start": { + "line": 879, + "column": 12 + }, + "end": { + "line": 879, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26858, + 26862 + ], + "loc": { + "start": { + "line": 880, + "column": 12 + }, + "end": { + "line": 880, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "pgCont", + "range": [ + 26863, + 26869 + ], + "loc": { + "start": { + "line": 880, + "column": 17 + }, + "end": { + "line": 880, + "column": 23 + } + } + }, + "range": [ + 26858, + 26869 + ], + "loc": { + "start": { + "line": 880, + "column": 12 + }, + "end": { + "line": 880, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 26872, + 26876 + ], + "loc": { + "start": { + "line": 880, + "column": 26 + }, + "end": { + "line": 880, + "column": 30 + } + } + }, + "range": [ + 26858, + 26876 + ], + "loc": { + "start": { + "line": 880, + "column": 12 + }, + "end": { + "line": 880, + "column": 30 + } + } + }, + "range": [ + 26858, + 26877 + ], + "loc": { + "start": { + "line": 880, + "column": 12 + }, + "end": { + "line": 880, + "column": 31 + } + } + } + ], + "range": [ + 26808, + 26887 + ], + "loc": { + "start": { + "line": 878, + "column": 25 + }, + "end": { + "line": 881, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26791, + 26887 + ], + "loc": { + "start": { + "line": 878, + "column": 8 + }, + "end": { + "line": 881, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26901, + 26905 + ], + "loc": { + "start": { + "line": 883, + "column": 12 + }, + "end": { + "line": 883, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasResultsPerPage", + "range": [ + 26906, + 26923 + ], + "loc": { + "start": { + "line": 883, + "column": 17 + }, + "end": { + "line": 883, + "column": 34 + } + } + }, + "range": [ + 26901, + 26923 + ], + "loc": { + "start": { + "line": 883, + "column": 12 + }, + "end": { + "line": 883, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26939, + 26943 + ], + "loc": { + "start": { + "line": 884, + "column": 12 + }, + "end": { + "line": 884, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeResultsPerPage", + "range": [ + 26944, + 26964 + ], + "loc": { + "start": { + "line": 884, + "column": 17 + }, + "end": { + "line": 884, + "column": 37 + } + } + }, + "range": [ + 26939, + 26964 + ], + "loc": { + "start": { + "line": 884, + "column": 12 + }, + "end": { + "line": 884, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 26939, + 26966 + ], + "loc": { + "start": { + "line": 884, + "column": 12 + }, + "end": { + "line": 884, + "column": 39 + } + } + }, + "range": [ + 26939, + 26967 + ], + "loc": { + "start": { + "line": 884, + "column": 12 + }, + "end": { + "line": 884, + "column": 40 + } + } + } + ], + "range": [ + 26925, + 26977 + ], + "loc": { + "start": { + "line": 883, + "column": 36 + }, + "end": { + "line": 885, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 26897, + 26977 + ], + "loc": { + "start": { + "line": 883, + "column": 8 + }, + "end": { + "line": 885, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26987, + 26991 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 887, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 26992, + 26999 + ], + "loc": { + "start": { + "line": 887, + "column": 13 + }, + "end": { + "line": 887, + "column": 20 + } + } + }, + "range": [ + 26987, + 26999 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 887, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 27000, + 27003 + ], + "loc": { + "start": { + "line": 887, + "column": 21 + }, + "end": { + "line": 887, + "column": 24 + } + } + }, + "range": [ + 26987, + 27003 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 887, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 27005, + 27022 + ], + "loc": { + "start": { + "line": 887, + "column": 26 + }, + "end": { + "line": 887, + "column": 43 + } + } + } + ], + "range": [ + 27004, + 27023 + ], + "loc": { + "start": { + "line": 887, + "column": 25 + }, + "end": { + "line": 887, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27031, + 27035 + ], + "loc": { + "start": { + "line": 887, + "column": 52 + }, + "end": { + "line": 887, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "resetPagingInfo", + "range": [ + 27036, + 27051 + ], + "loc": { + "start": { + "line": 887, + "column": 57 + }, + "end": { + "line": 887, + "column": 72 + } + } + }, + "range": [ + 27031, + 27051 + ], + "loc": { + "start": { + "line": 887, + "column": 52 + }, + "end": { + "line": 887, + "column": 72 + } + } + }, + "arguments": [], + "range": [ + 27031, + 27053 + ], + "loc": { + "start": { + "line": 887, + "column": 52 + }, + "end": { + "line": 887, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 27025, + 27053 + ], + "loc": { + "start": { + "line": 887, + "column": 46 + }, + "end": { + "line": 887, + "column": 74 + } + } + } + ], + "range": [ + 26987, + 27054 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 887, + "column": 75 + } + } + }, + "range": [ + 26987, + 27055 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 887, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27064, + 27068 + ], + "loc": { + "start": { + "line": 888, + "column": 8 + }, + "end": { + "line": 888, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 27069, + 27076 + ], + "loc": { + "start": { + "line": 888, + "column": 13 + }, + "end": { + "line": 888, + "column": 20 + } + } + }, + "range": [ + 27064, + 27076 + ], + "loc": { + "start": { + "line": 888, + "column": 8 + }, + "end": { + "line": 888, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 27077, + 27080 + ], + "loc": { + "start": { + "line": 888, + "column": 21 + }, + "end": { + "line": 888, + "column": 24 + } + } + }, + "range": [ + 27064, + 27080 + ], + "loc": { + "start": { + "line": 888, + "column": 8 + }, + "end": { + "line": 888, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "change-page", + "raw": "'change-page'", + "range": [ + 27082, + 27095 + ], + "loc": { + "start": { + "line": 888, + "column": 26 + }, + "end": { + "line": 888, + "column": 39 + } + } + } + ], + "range": [ + 27081, + 27096 + ], + "loc": { + "start": { + "line": 888, + "column": 25 + }, + "end": { + "line": 888, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 27111, + 27113 + ], + "loc": { + "start": { + "line": 889, + "column": 13 + }, + "end": { + "line": 889, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 27115, + 27125 + ], + "loc": { + "start": { + "line": 889, + "column": 17 + }, + "end": { + "line": 889, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27130, + 27134 + ], + "loc": { + "start": { + "line": 889, + "column": 32 + }, + "end": { + "line": 889, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "setPage", + "range": [ + 27135, + 27142 + ], + "loc": { + "start": { + "line": 889, + "column": 37 + }, + "end": { + "line": 889, + "column": 44 + } + } + }, + "range": [ + 27130, + 27142 + ], + "loc": { + "start": { + "line": 889, + "column": 32 + }, + "end": { + "line": 889, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 27143, + 27153 + ], + "loc": { + "start": { + "line": 889, + "column": 45 + }, + "end": { + "line": 889, + "column": 55 + } + } + } + ], + "range": [ + 27130, + 27154 + ], + "loc": { + "start": { + "line": 889, + "column": 32 + }, + "end": { + "line": 889, + "column": 56 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 27110, + 27154 + ], + "loc": { + "start": { + "line": 889, + "column": 12 + }, + "end": { + "line": 889, + "column": 56 + } + } + } + ], + "range": [ + 27064, + 27155 + ], + "loc": { + "start": { + "line": 888, + "column": 8 + }, + "end": { + "line": 889, + "column": 57 + } + } + }, + "range": [ + 27064, + 27156 + ], + "loc": { + "start": { + "line": 888, + "column": 8 + }, + "end": { + "line": 889, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27165, + 27169 + ], + "loc": { + "start": { + "line": 890, + "column": 8 + }, + "end": { + "line": 890, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 27170, + 27177 + ], + "loc": { + "start": { + "line": 890, + "column": 13 + }, + "end": { + "line": 890, + "column": 20 + } + } + }, + "range": [ + 27165, + 27177 + ], + "loc": { + "start": { + "line": 890, + "column": 8 + }, + "end": { + "line": 890, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 27178, + 27181 + ], + "loc": { + "start": { + "line": 890, + "column": 21 + }, + "end": { + "line": 890, + "column": 24 + } + } + }, + "range": [ + 27165, + 27181 + ], + "loc": { + "start": { + "line": 890, + "column": 8 + }, + "end": { + "line": 890, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "change-page-results", + "raw": "'change-page-results'", + "range": [ + 27183, + 27204 + ], + "loc": { + "start": { + "line": 890, + "column": 26 + }, + "end": { + "line": 890, + "column": 47 + } + } + } + ], + "range": [ + 27182, + 27205 + ], + "loc": { + "start": { + "line": 890, + "column": 25 + }, + "end": { + "line": 890, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 27220, + 27222 + ], + "loc": { + "start": { + "line": 891, + "column": 13 + }, + "end": { + "line": 891, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 27224, + 27234 + ], + "loc": { + "start": { + "line": 891, + "column": 17 + }, + "end": { + "line": 891, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27239, + 27243 + ], + "loc": { + "start": { + "line": 891, + "column": 32 + }, + "end": { + "line": 891, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeResultsPerPage", + "range": [ + 27244, + 27264 + ], + "loc": { + "start": { + "line": 891, + "column": 37 + }, + "end": { + "line": 891, + "column": 57 + } + } + }, + "range": [ + 27239, + 27264 + ], + "loc": { + "start": { + "line": 891, + "column": 32 + }, + "end": { + "line": 891, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 27265, + 27275 + ], + "loc": { + "start": { + "line": 891, + "column": 58 + }, + "end": { + "line": 891, + "column": 68 + } + } + } + ], + "range": [ + 27239, + 27276 + ], + "loc": { + "start": { + "line": 891, + "column": 32 + }, + "end": { + "line": 891, + "column": 69 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 27219, + 27276 + ], + "loc": { + "start": { + "line": 891, + "column": 12 + }, + "end": { + "line": 891, + "column": 69 + } + } + } + ], + "range": [ + 27165, + 27277 + ], + "loc": { + "start": { + "line": 890, + "column": 8 + }, + "end": { + "line": 891, + "column": 70 + } + } + }, + "range": [ + 27165, + 27278 + ], + "loc": { + "start": { + "line": 890, + "column": 8 + }, + "end": { + "line": 891, + "column": 71 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27288, + 27292 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 893, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageSlc", + "range": [ + 27293, + 27300 + ], + "loc": { + "start": { + "line": 893, + "column": 13 + }, + "end": { + "line": 893, + "column": 20 + } + } + }, + "range": [ + 27288, + 27300 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 893, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 27303, + 27307 + ], + "loc": { + "start": { + "line": 893, + "column": 23 + }, + "end": { + "line": 893, + "column": 27 + } + } + }, + "range": [ + 27288, + 27307 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 893, + "column": 27 + } + } + }, + "range": [ + 27288, + 27308 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 893, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27317, + 27321 + ], + "loc": { + "start": { + "line": 894, + "column": 8 + }, + "end": { + "line": 894, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbPages", + "range": [ + 27322, + 27329 + ], + "loc": { + "start": { + "line": 894, + "column": 13 + }, + "end": { + "line": 894, + "column": 20 + } + } + }, + "range": [ + 27317, + 27329 + ], + "loc": { + "start": { + "line": 894, + "column": 8 + }, + "end": { + "line": 894, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 27332, + 27333 + ], + "loc": { + "start": { + "line": 894, + "column": 23 + }, + "end": { + "line": 894, + "column": 24 + } + } + }, + "range": [ + 27317, + 27333 + ], + "loc": { + "start": { + "line": 894, + "column": 8 + }, + "end": { + "line": 894, + "column": 24 + } + } + }, + "range": [ + 27317, + 27334 + ], + "loc": { + "start": { + "line": 894, + "column": 8 + }, + "end": { + "line": 894, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27344, + 27348 + ], + "loc": { + "start": { + "line": 896, + "column": 8 + }, + "end": { + "line": 896, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 27349, + 27360 + ], + "loc": { + "start": { + "line": 896, + "column": 13 + }, + "end": { + "line": 896, + "column": 24 + } + } + }, + "range": [ + 27344, + 27360 + ], + "loc": { + "start": { + "line": 896, + "column": 8 + }, + "end": { + "line": 896, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 27363, + 27368 + ], + "loc": { + "start": { + "line": 896, + "column": 27 + }, + "end": { + "line": 896, + "column": 32 + } + } + }, + "range": [ + 27344, + 27368 + ], + "loc": { + "start": { + "line": 896, + "column": 8 + }, + "end": { + "line": 896, + "column": 32 + } + } + }, + "range": [ + 27344, + 27369 + ], + "loc": { + "start": { + "line": 896, + "column": 8 + }, + "end": { + "line": 896, + "column": 33 + } + } + } + ], + "range": [ + 25386, + 27375 + ], + "loc": { + "start": { + "line": 827, + "column": 14 + }, + "end": { + "line": 897, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 25383, + 27375 + ], + "loc": { + "start": { + "line": 827, + "column": 11 + }, + "end": { + "line": 897, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 25376, + 27375 + ], + "loc": { + "start": { + "line": 827, + "column": 4 + }, + "end": { + "line": 897, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove paging feature\n ", + "range": [ + 25331, + 25371 + ], + "loc": { + "start": { + "line": 824, + "column": 4 + }, + "end": { + "line": 826, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 487, + 27377 + ], + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 898, + "column": 1 + } + } + }, + "range": [ + 458, + 27377 + ], + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 898, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n ", + "range": [ + 370, + 450 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 451, + 27377 + ], + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 898, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n ", + "range": [ + 370, + 450 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 27377 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 898, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n ", + "range": [ + 370, + 450 + ], + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Paging\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 494, + 594 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Configuration object", + "range": [ + 655, + 678 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n ", + "range": [ + 730, + 838 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Main select DOM element\n * @type {DOMElement}\n ", + "range": [ + 914, + 994 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 37, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Results per page select DOM element\n * @type {DOMElement}\n ", + "range": [ + 1033, + 1125 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 1170, + 1253 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Number of rows contained in a page\n * @type {Number}\n ", + "range": [ + 1316, + 1403 + ], + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element for the results per page selector\n * @type {String}\n ", + "range": [ + 1465, + 1582 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the paging select element\n * @type {String}\n ", + "range": [ + 1672, + 1764 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the paging input element\n * @type {String}\n ", + "range": [ + 1842, + 1933 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n ", + "range": [ + 2013, + 2173 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Determines if results per page is configured\n * @type {Boolean}\n ", + "range": [ + 2252, + 2350 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the results per page select\n * @type {String}\n ", + "range": [ + 2423, + 2517 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the label preceding results per page select\n * @type {String}\n ", + "range": [ + 2607, + 2717 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Index of the first row of current page\n * @type {Number}\n * @private\n ", + "range": [ + 2825, + 2936 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 106, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Total number of pages\n * @type {Number}\n * @private\n ", + "range": [ + 2979, + 3073 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 113, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 3109, + 3201 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 120, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Next page button text\n * @type {String}\n ", + "range": [ + 3243, + 3317 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 126, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Previous page button text\n * @type {String}\n ", + "range": [ + 3398, + 3476 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 132, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Last page button text\n * @type {String}\n ", + "range": [ + 3557, + 3631 + ], + "loc": { + "start": { + "line": 135, + "column": 8 + }, + "end": { + "line": 138, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * First page button text\n * @type {String}\n ", + "range": [ + 3713, + 3788 + ], + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 144, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Next page button HTML\n * @type {String}\n ", + "range": [ + 3872, + 3946 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Previous page button HTML\n * @type {String}\n ", + "range": [ + 4189, + 4267 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 159, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * First page button HTML\n * @type {String}\n ", + "range": [ + 4518, + 4593 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 168, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Last page button HTML\n * @type {String}\n ", + "range": [ + 4840, + 4914 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 177, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text preceeding page selector drop-down\n * @type {String}\n ", + "range": [ + 5157, + 5249 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 186, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text after page selector drop-down\n * @type {String}\n ", + "range": [ + 5319, + 5406 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 192, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the span containing total number of pages\n * @type {String}\n ", + "range": [ + 5470, + 5578 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 198, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n ", + "range": [ + 5663, + 5773 + ], + "loc": { + "start": { + "line": 201, + "column": 8 + }, + "end": { + "line": 204, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n ", + "range": [ + 5834, + 5953 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 210, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the page is changed\n * @type {Function}\n ", + "range": [ + 6038, + 6134 + ], + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 216, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the page is changed\n * @type {Function}\n ", + "range": [ + 6225, + 6320 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Label preciding results per page select\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6409, + 6525 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span containing next page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6569, + 6678 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 235, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span containing previous page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6720, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 241, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span containing last page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6875, + 6984 + ], + "loc": { + "start": { + "line": 243, + "column": 8 + }, + "end": { + "line": 247, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span containing first page button\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7026, + 7136 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 253, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span for tot nb pages\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7179, + 7277 + ], + "loc": { + "start": { + "line": 255, + "column": 8 + }, + "end": { + "line": 259, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span preceding pages select (contains 'Page')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7314, + 7436 + ], + "loc": { + "start": { + "line": 261, + "column": 8 + }, + "end": { + "line": 265, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Span following pages select (contains ' of ')\n * @type {DOMElement}\n * @private\n ", + "range": [ + 7475, + 7597 + ], + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 271, + "column": 11 + } + } + }, + { + "type": "Line", + "value": "calculates page nb", + "range": [ + 7710, + 7730 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * Paging DOM events handlers\n * @type {String}\n * @private\n ", + "range": [ + 7834, + 7933 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 284, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 9450, + 9492 + ], + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Check resultsPerPage is in expected format and initialise the", + "range": [ + 9654, + 9718 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 72 + } + } + }, + { + "type": "Line", + "value": " results per page component", + "range": [ + 9727, + 9756 + ], + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 345, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " Paging drop-down list selector", + "range": [ + 10188, + 10221 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " Paging input selector", + "range": [ + 10444, + 10468 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 367, + "column": 32 + } + } + }, + { + "type": "Line", + "value": " btns containers", + "range": [ + 10718, + 10736 + ], + "loc": { + "start": { + "line": 374, + "column": 8 + }, + "end": { + "line": 374, + "column": 26 + } + } + }, + { + "type": "Line", + "value": " Next button", + "range": [ + 10959, + 10973 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 26 + } + } + }, + { + "type": "Line", + "value": " Previous button", + "range": [ + 11533, + 11551 + ], + "loc": { + "start": { + "line": 395, + "column": 12 + }, + "end": { + "line": 395, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " Last button", + "range": [ + 12115, + 12129 + ], + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 26 + } + } + }, + { + "type": "Line", + "value": " First button", + "range": [ + 12689, + 12704 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 27 + } + } + }, + { + "type": "Line", + "value": " paging elements (buttons+drop-down list) are added to defined element", + "range": [ + 13284, + 13356 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 80 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 15064, + 15081 + ], + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n ", + "range": [ + 15126, + 15274 + ], + "loc": { + "start": { + "line": 489, + "column": 4 + }, + "end": { + "line": 492, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Reset paging info from scratch after a filtering process\n ", + "range": [ + 15431, + 15506 + ], + "loc": { + "start": { + "line": 502, + "column": 4 + }, + "end": { + "line": 504, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 15659, + 15838 + ], + "loc": { + "start": { + "line": 511, + "column": 4 + }, + "end": { + "line": 515, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 15965, + 15991 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "calculate nb of pages", + "range": [ + 16065, + 16088 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 31 + } + } + }, + { + "type": "Line", + "value": "refresh page nb span", + "range": [ + 16175, + 16197 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 30 + } + } + }, + { + "type": "Line", + "value": "select clearing shortcut", + "range": [ + 16252, + 16278 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "input type", + "range": [ + 16749, + 16761 + ], + "loc": { + "start": { + "line": 540, + "column": 16 + }, + "end": { + "line": 540, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "** if no results paging select and buttons are hidden **", + "range": [ + 16863, + 16923 + ], + "loc": { + "start": { + "line": 545, + "column": 12 + }, + "end": { + "line": 545, + "column": 72 + } + } + }, + { + "type": "Block", + "value": "*\n * Group table rows by page and display valid rows\n * @param {Array} validRows Collection of valid rows\n ", + "range": [ + 17036, + 17160 + ], + "loc": { + "start": { + "line": 551, + "column": 4 + }, + "end": { + "line": 554, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "store valid rows indexes", + "range": [ + 17398, + 17424 + ], + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 561, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "this loop shows valid rows of current page", + "range": [ + 17512, + 17556 + ], + "loc": { + "start": { + "line": 566, + "column": 8 + }, + "end": { + "line": 566, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " broadcast grouping by page", + "range": [ + 18223, + 18252 + ], + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 37 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the current page number\n * @return {Number} Page number\n ", + "range": [ + 18320, + 18405 + ], + "loc": { + "start": { + "line": 588, + "column": 4 + }, + "end": { + "line": 591, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 18468, + 18676 + ], + "loc": { + "start": { + "line": 596, + "column": 4 + }, + "end": { + "line": 600, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Generates UI elements for the number of results per page drop-down\n ", + "range": [ + 19531, + 19616 + ], + "loc": { + "start": { + "line": 632, + "column": 4 + }, + "end": { + "line": 634, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " results per page select is added to external element", + "range": [ + 20201, + 20256 + ], + "loc": { + "start": { + "line": 655, + "column": 8 + }, + "end": { + "line": 655, + "column": 63 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove number of results per page UI elements\n ", + "range": [ + 21111, + 21175 + ], + "loc": { + "start": { + "line": 681, + "column": 4 + }, + "end": { + "line": 683, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n ", + "range": [ + 21610, + 21719 + ], + "loc": { + "start": { + "line": 700, + "column": 4 + }, + "end": { + "line": 703, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n ", + "range": [ + 22763, + 22899 + ], + "loc": { + "start": { + "line": 738, + "column": 4 + }, + "end": { + "line": 741, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Change rows according to page results drop-down\n ", + "range": [ + 23100, + 23166 + ], + "loc": { + "start": { + "line": 751, + "column": 4 + }, + "end": { + "line": 753, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Re-set page nb at page re-load\n ", + "range": [ + 24396, + 24445 + ], + "loc": { + "start": { + "line": 790, + "column": 4 + }, + "end": { + "line": 792, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Re-set page length value at page re-load\n ", + "range": [ + 24803, + 24862 + ], + "loc": { + "start": { + "line": 806, + "column": 4 + }, + "end": { + "line": 808, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove paging feature\n ", + "range": [ + 25331, + 25371 + ], + "loc": { + "start": { + "line": 824, + "column": 4 + }, + "end": { + "line": 826, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/popupFilter.js.json b/docs/ast/source/modules/popupFilter.js.json new file mode 100644 index 00000000..65ac1320 --- /dev/null +++ b/docs/ast/source/modules/popupFilter.js.json @@ -0,0 +1,27843 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 44, + 51 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 44, + 51 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + "range": [ + 44, + 51 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 53, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 53, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "range": [ + 53, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 68, + 78 + ], + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 42 + } + } + }, + "range": [ + 36, + 79 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 43 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 88, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 88, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "range": [ + 88, + 97 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 99, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 99, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 28 + } + } + }, + "range": [ + 99, + 108 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 28 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 115, + 123 + ], + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + "range": [ + 80, + 124 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 44 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 133, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 133, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + "range": [ + 133, + 139 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 141, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 141, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + "range": [ + 141, + 150 + ], + "loc": { + "start": { + "line": 4, + "column": 16 + }, + "end": { + "line": 4, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 152, + 159 + ], + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 152, + 159 + ], + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + "range": [ + 152, + 159 + ], + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 161, + 170 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 161, + 170 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "range": [ + 161, + 170 + ], + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 172, + 181 + ], + "loc": { + "start": { + "line": 4, + "column": 47 + }, + "end": { + "line": 4, + "column": 56 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 172, + 181 + ], + "loc": { + "start": { + "line": 4, + "column": 47 + }, + "end": { + "line": 4, + "column": 56 + } + } + }, + "range": [ + 172, + 181 + ], + "loc": { + "start": { + "line": 4, + "column": 47 + }, + "end": { + "line": 4, + "column": 56 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../event", + "raw": "'../event'", + "range": [ + 188, + 198 + ], + "loc": { + "start": { + "line": 4, + "column": 63 + }, + "end": { + "line": 4, + "column": 73 + } + } + }, + "range": [ + 125, + 199 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 74 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 208, + 213 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 208, + 213 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + "range": [ + 208, + 213 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 215, + 219 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 215, + 219 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "range": [ + 215, + 219 + ], + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 221, + 230 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 221, + 230 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + "range": [ + 221, + 230 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 232, + 240 + ], + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 40 + } + } + }, + "imported": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 232, + 240 + ], + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 40 + } + } + }, + "range": [ + 232, + 240 + ], + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 40 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../const", + "raw": "'../const'", + "range": [ + 247, + 257 + ], + "loc": { + "start": { + "line": 5, + "column": 47 + }, + "end": { + "line": 5, + "column": 57 + } + } + }, + "range": [ + 200, + 258 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 58 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 267, + 271 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 267, + 271 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + "range": [ + 267, + 271 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 278, + 287 + ], + "loc": { + "start": { + "line": 6, + "column": 19 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + "range": [ + 259, + 288 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 297, + 308 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 297, + 308 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + "range": [ + 297, + 308 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 310, + 322 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 310, + 322 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + "range": [ + 310, + 322 + ], + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 324, + 335 + ], + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 324, + 335 + ], + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + "range": [ + 324, + 335 + ], + "loc": { + "start": { + "line": 7, + "column": 35 + }, + "end": { + "line": 7, + "column": 46 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 337, + 347 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 337, + 347 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + } + } + }, + "range": [ + 337, + 347 + ], + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 58 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 354, + 367 + ], + "loc": { + "start": { + "line": 7, + "column": 65 + }, + "end": { + "line": 7, + "column": 78 + } + } + }, + "range": [ + 289, + 368 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 79 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n ", + "range": [ + 370, + 459 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "PopupFilter", + "range": [ + 473, + 484 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 493, + 500 + ], + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 40 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 618, + 629 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 630, + 632 + ], + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 644, + 649 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 650, + 652 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "popupFilters", + "raw": "'popupFilters'", + "range": [ + 654, + 668 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 32 + } + } + } + ], + "range": [ + 644, + 669 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 33 + } + } + }, + "range": [ + 644, + 670 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 34 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 716, + 717 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 720, + 724 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 725, + 731 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "range": [ + 720, + 731 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "popup_filters", + "range": [ + 732, + 745 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + "range": [ + 720, + 745 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 749, + 751 + ], + "loc": { + "start": { + "line": 25, + "column": 45 + }, + "end": { + "line": 25, + "column": 47 + } + } + }, + "range": [ + 720, + 751 + ], + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 47 + } + } + }, + "range": [ + 716, + 751 + ], + "loc": { + "start": { + "line": 25, + "column": 12 + }, + "end": { + "line": 25, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 712, + 752 + ], + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Close active popup filter upon filtering, enabled by default\n * @type {Boolean}\n ", + "range": [ + 762, + 876 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 885, + 889 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeOnFiltering", + "range": [ + 890, + 906 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + "range": [ + 885, + 906 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 909, + 921 + ], + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 922, + 923 + ], + "loc": { + "start": { + "line": 31, + "column": 45 + }, + "end": { + "line": 31, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "close_on_filtering", + "range": [ + 924, + 942 + ], + "loc": { + "start": { + "line": 31, + "column": 47 + }, + "end": { + "line": 31, + "column": 65 + } + } + }, + "range": [ + 922, + 942 + ], + "loc": { + "start": { + "line": 31, + "column": 45 + }, + "end": { + "line": 31, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 944, + 948 + ], + "loc": { + "start": { + "line": 31, + "column": 67 + }, + "end": { + "line": 31, + "column": 71 + } + } + } + ], + "range": [ + 909, + 949 + ], + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 72 + } + } + }, + "range": [ + 885, + 949 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 72 + } + } + }, + "range": [ + 885, + 950 + ], + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Close active popup filter upon filtering, enabled by default\n * @type {Boolean}\n ", + "range": [ + 762, + 876 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter icon path\n * @type {String}\n ", + "range": [ + 960, + 1029 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1038, + 1042 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "iconPath", + "range": [ + 1043, + 1051 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + "range": [ + 1038, + 1051 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1054, + 1065 + ], + "loc": { + "start": { + "line": 37, + "column": 24 + }, + "end": { + "line": 37, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1066, + 1067 + ], + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "image", + "range": [ + 1068, + 1073 + ], + "loc": { + "start": { + "line": 37, + "column": 38 + }, + "end": { + "line": 37, + "column": 43 + } + } + }, + "range": [ + 1066, + 1073 + ], + "loc": { + "start": { + "line": 37, + "column": 36 + }, + "end": { + "line": 37, + "column": 43 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1075, + 1077 + ], + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "themesPath", + "range": [ + 1078, + 1088 + ], + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 37, + "column": 58 + } + } + }, + "range": [ + 1075, + 1088 + ], + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": "icn_filter.gif", + "raw": "'icn_filter.gif'", + "range": [ + 1091, + 1107 + ], + "loc": { + "start": { + "line": 37, + "column": 61 + }, + "end": { + "line": 37, + "column": 77 + } + } + }, + "range": [ + 1075, + 1107 + ], + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 77 + } + } + } + ], + "range": [ + 1054, + 1108 + ], + "loc": { + "start": { + "line": 37, + "column": 24 + }, + "end": { + "line": 37, + "column": 78 + } + } + }, + "range": [ + 1038, + 1108 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 78 + } + } + }, + "range": [ + 1038, + 1109 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter icon path\n * @type {String}\n ", + "range": [ + 960, + 1029 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Active filter icon path\n * @type {string}\n ", + "range": [ + 1119, + 1195 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1204, + 1208 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeIconPath", + "range": [ + 1209, + 1223 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + "range": [ + 1204, + 1223 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1226, + 1237 + ], + "loc": { + "start": { + "line": 43, + "column": 30 + }, + "end": { + "line": 43, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1238, + 1239 + ], + "loc": { + "start": { + "line": 43, + "column": 42 + }, + "end": { + "line": 43, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_active", + "range": [ + 1240, + 1252 + ], + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + "range": [ + 1238, + 1252 + ], + "loc": { + "start": { + "line": 43, + "column": 42 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 1266, + 1268 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "themesPath", + "range": [ + 1269, + 1279 + ], + "loc": { + "start": { + "line": 44, + "column": 15 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + "range": [ + 1266, + 1279 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": "icn_filterActive.gif", + "raw": "'icn_filterActive.gif'", + "range": [ + 1282, + 1304 + ], + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 50 + } + } + }, + "range": [ + 1266, + 1304 + ], + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 50 + } + } + } + ], + "range": [ + 1226, + 1305 + ], + "loc": { + "start": { + "line": 43, + "column": 30 + }, + "end": { + "line": 44, + "column": 51 + } + } + }, + "range": [ + 1204, + 1305 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 44, + "column": 51 + } + } + }, + "range": [ + 1204, + 1306 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 44, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Active filter icon path\n * @type {string}\n ", + "range": [ + 1119, + 1195 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * HTML for the filter icon\n * @type {string}\n ", + "range": [ + 1316, + 1393 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1402, + 1406 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "iconHtml", + "range": [ + 1407, + 1415 + ], + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + "range": [ + 1402, + 1415 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1418, + 1429 + ], + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 50, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1430, + 1431 + ], + "loc": { + "start": { + "line": 50, + "column": 36 + }, + "end": { + "line": 50, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "image_html", + "range": [ + 1432, + 1442 + ], + "loc": { + "start": { + "line": 50, + "column": 38 + }, + "end": { + "line": 50, + "column": 48 + } + } + }, + "range": [ + 1430, + 1442 + ], + "loc": { + "start": { + "line": 50, + "column": 36 + }, + "end": { + "line": 50, + "column": 48 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "\"Column", + "raw": "'\" alt=\"Column filter\" />'", + "range": [ + 1487, + 1513 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 69 + } + } + }, + "range": [ + 1456, + 1513 + ], + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 69 + } + } + } + ], + "range": [ + 1418, + 1514 + ], + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 51, + "column": 70 + } + } + }, + "range": [ + 1402, + 1514 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 51, + "column": 70 + } + } + }, + "range": [ + 1402, + 1515 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 51, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * HTML for the filter icon\n * @type {string}\n ", + "range": [ + 1316, + 1393 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to the popup container element\n * @type {String}\n ", + "range": [ + 1525, + 1627 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1636, + 1640 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "placeholderCssClass", + "range": [ + 1641, + 1660 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 32 + } + } + }, + "range": [ + 1636, + 1660 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1663, + 1674 + ], + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1675, + 1676 + ], + "loc": { + "start": { + "line": 57, + "column": 47 + }, + "end": { + "line": 57, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "placeholder_css_class", + "range": [ + 1677, + 1698 + ], + "loc": { + "start": { + "line": 57, + "column": 49 + }, + "end": { + "line": 57, + "column": 70 + } + } + }, + "range": [ + 1675, + 1698 + ], + "loc": { + "start": { + "line": 57, + "column": 47 + }, + "end": { + "line": 57, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": "popUpPlaceholder", + "raw": "'popUpPlaceholder'", + "range": [ + 1712, + 1730 + ], + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 30 + } + } + } + ], + "range": [ + 1663, + 1731 + ], + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 58, + "column": 31 + } + } + }, + "range": [ + 1636, + 1731 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 58, + "column": 31 + } + } + }, + "range": [ + 1636, + 1732 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 58, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to the popup container element\n * @type {String}\n ", + "range": [ + 1525, + 1627 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to filter container element\n * @type {String}\n ", + "range": [ + 1742, + 1841 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1850, + 1854 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "containerCssClass", + "range": [ + 1855, + 1872 + ], + "loc": { + "start": { + "line": 64, + "column": 13 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "range": [ + 1850, + 1872 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1875, + 1886 + ], + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1887, + 1888 + ], + "loc": { + "start": { + "line": 64, + "column": 45 + }, + "end": { + "line": 64, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "div_css_class", + "range": [ + 1889, + 1902 + ], + "loc": { + "start": { + "line": 64, + "column": 47 + }, + "end": { + "line": 64, + "column": 60 + } + } + }, + "range": [ + 1887, + 1902 + ], + "loc": { + "start": { + "line": 64, + "column": 45 + }, + "end": { + "line": 64, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "popUpFilter", + "raw": "'popUpFilter'", + "range": [ + 1904, + 1917 + ], + "loc": { + "start": { + "line": 64, + "column": 62 + }, + "end": { + "line": 64, + "column": 75 + } + } + } + ], + "range": [ + 1875, + 1918 + ], + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 76 + } + } + }, + "range": [ + 1850, + 1918 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 76 + } + } + }, + "range": [ + 1850, + 1919 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class assigned to filter container element\n * @type {String}\n ", + "range": [ + 1742, + 1841 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Ensure filter's container element width matches column width, enabled\n * by default\n * @type {Boolean}\n ", + "range": [ + 1929, + 2074 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2083, + 2087 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "adjustToContainer", + "range": [ + 2088, + 2105 + ], + "loc": { + "start": { + "line": 71, + "column": 13 + }, + "end": { + "line": 71, + "column": 30 + } + } + }, + "range": [ + 2083, + 2105 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 2108, + 2120 + ], + "loc": { + "start": { + "line": 71, + "column": 33 + }, + "end": { + "line": 71, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2121, + 2122 + ], + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "adjust_to_container", + "range": [ + 2123, + 2142 + ], + "loc": { + "start": { + "line": 71, + "column": 48 + }, + "end": { + "line": 71, + "column": 67 + } + } + }, + "range": [ + 2121, + 2142 + ], + "loc": { + "start": { + "line": 71, + "column": 46 + }, + "end": { + "line": 71, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 2144, + 2148 + ], + "loc": { + "start": { + "line": 71, + "column": 69 + }, + "end": { + "line": 71, + "column": 73 + } + } + } + ], + "range": [ + 2108, + 2149 + ], + "loc": { + "start": { + "line": 71, + "column": 33 + }, + "end": { + "line": 71, + "column": 74 + } + } + }, + "range": [ + 2083, + 2149 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 74 + } + } + }, + "range": [ + 2083, + 2150 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 71, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Ensure filter's container element width matches column width, enabled\n * by default\n * @type {Boolean}\n ", + "range": [ + 1929, + 2074 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2160, + 2261 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2270, + 2274 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOpen", + "range": [ + 2275, + 2287 + ], + "loc": { + "start": { + "line": 77, + "column": 13 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + "range": [ + 2270, + 2287 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2290, + 2300 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2301, + 2302 + ], + "loc": { + "start": { + "line": 77, + "column": 39 + }, + "end": { + "line": 77, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_popup_filter_open", + "range": [ + 2303, + 2330 + ], + "loc": { + "start": { + "line": 77, + "column": 41 + }, + "end": { + "line": 77, + "column": 68 + } + } + }, + "range": [ + 2301, + 2330 + ], + "loc": { + "start": { + "line": 77, + "column": 39 + }, + "end": { + "line": 77, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2332, + 2340 + ], + "loc": { + "start": { + "line": 77, + "column": 70 + }, + "end": { + "line": 77, + "column": 78 + } + } + } + ], + "range": [ + 2290, + 2341 + ], + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 79 + } + } + }, + "range": [ + 2270, + 2341 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 79 + } + } + }, + "range": [ + 2270, + 2342 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2160, + 2261 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2352, + 2452 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2461, + 2465 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOpen", + "range": [ + 2466, + 2477 + ], + "loc": { + "start": { + "line": 83, + "column": 13 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "range": [ + 2461, + 2477 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2480, + 2490 + ], + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2491, + 2492 + ], + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_popup_filter_open", + "range": [ + 2493, + 2519 + ], + "loc": { + "start": { + "line": 83, + "column": 40 + }, + "end": { + "line": 83, + "column": 66 + } + } + }, + "range": [ + 2491, + 2519 + ], + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 66 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2521, + 2529 + ], + "loc": { + "start": { + "line": 83, + "column": 68 + }, + "end": { + "line": 83, + "column": 76 + } + } + } + ], + "range": [ + 2480, + 2530 + ], + "loc": { + "start": { + "line": 83, + "column": 27 + }, + "end": { + "line": 83, + "column": 77 + } + } + }, + "range": [ + 2461, + 2530 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 77 + } + } + }, + "range": [ + 2461, + 2531 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2352, + 2452 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2541, + 2642 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2651, + 2655 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeClose", + "range": [ + 2656, + 2669 + ], + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 26 + } + } + }, + "range": [ + 2651, + 2669 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2672, + 2682 + ], + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2683, + 2684 + ], + "loc": { + "start": { + "line": 89, + "column": 40 + }, + "end": { + "line": 89, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_popup_filter_close", + "range": [ + 2685, + 2713 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 70 + } + } + }, + "range": [ + 2683, + 2713 + ], + "loc": { + "start": { + "line": 89, + "column": 40 + }, + "end": { + "line": 89, + "column": 70 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2727, + 2735 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 20 + } + } + } + ], + "range": [ + 2672, + 2736 + ], + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 90, + "column": 21 + } + } + }, + "range": [ + 2651, + 2736 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 90, + "column": 21 + } + } + }, + "range": [ + 2651, + 2737 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 90, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2541, + 2642 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2747, + 2847 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2856, + 2860 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterClose", + "range": [ + 2861, + 2873 + ], + "loc": { + "start": { + "line": 96, + "column": 13 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + "range": [ + 2856, + 2873 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2876, + 2886 + ], + "loc": { + "start": { + "line": 96, + "column": 28 + }, + "end": { + "line": 96, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2887, + 2888 + ], + "loc": { + "start": { + "line": 96, + "column": 39 + }, + "end": { + "line": 96, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_popup_filter_close", + "range": [ + 2889, + 2916 + ], + "loc": { + "start": { + "line": 96, + "column": 41 + }, + "end": { + "line": 96, + "column": 68 + } + } + }, + "range": [ + 2887, + 2916 + ], + "loc": { + "start": { + "line": 96, + "column": 39 + }, + "end": { + "line": 96, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2918, + 2926 + ], + "loc": { + "start": { + "line": 96, + "column": 70 + }, + "end": { + "line": 96, + "column": 78 + } + } + } + ], + "range": [ + 2876, + 2927 + ], + "loc": { + "start": { + "line": 96, + "column": 28 + }, + "end": { + "line": 96, + "column": 79 + } + } + }, + "range": [ + 2856, + 2927 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 79 + } + } + }, + "range": [ + 2856, + 2928 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2747, + 2847 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters spans\n * @type {Array}\n * @private\n ", + "range": [ + 2938, + 3037 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3046, + 3050 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSpans", + "range": [ + 3051, + 3059 + ], + "loc": { + "start": { + "line": 103, + "column": 13 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + "range": [ + 3046, + 3059 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 3062, + 3064 + ], + "loc": { + "start": { + "line": 103, + "column": 24 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + "range": [ + 3046, + 3064 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 26 + } + } + }, + "range": [ + 3046, + 3065 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 103, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters spans\n * @type {Array}\n * @private\n ", + "range": [ + 2938, + 3037 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters icons\n * @type {Array}\n * @private\n ", + "range": [ + 3075, + 3174 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3183, + 3187 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 3188, + 3196 + ], + "loc": { + "start": { + "line": 110, + "column": 13 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + "range": [ + 3183, + 3196 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 3199, + 3201 + ], + "loc": { + "start": { + "line": 110, + "column": 24 + }, + "end": { + "line": 110, + "column": 26 + } + } + }, + "range": [ + 3183, + 3201 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 26 + } + } + }, + "range": [ + 3183, + 3202 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters icons\n * @type {Array}\n * @private\n ", + "range": [ + 3075, + 3174 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n ", + "range": [ + 3212, + 3351 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3360, + 3364 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 3365, + 3377 + ], + "loc": { + "start": { + "line": 117, + "column": 13 + }, + "end": { + "line": 117, + "column": 25 + } + } + }, + "range": [ + 3360, + 3377 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3380, + 3384 + ], + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 32 + } + } + }, + "range": [ + 3360, + 3384 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 32 + } + } + }, + "range": [ + 3360, + 3385 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n ", + "range": [ + 3212, + 3351 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters containers\n * @type {Array}\n * @private\n ", + "range": [ + 3395, + 3499 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3508, + 3512 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 3513, + 3520 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "range": [ + 3508, + 3520 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 3523, + 3534 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3535, + 3539 + ], + "loc": { + "start": { + "line": 124, + "column": 35 + }, + "end": { + "line": 124, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 3540, + 3552 + ], + "loc": { + "start": { + "line": 124, + "column": 40 + }, + "end": { + "line": 124, + "column": 52 + } + } + }, + "range": [ + 3535, + 3552 + ], + "loc": { + "start": { + "line": 124, + "column": 35 + }, + "end": { + "line": 124, + "column": 52 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 3554, + 3556 + ], + "loc": { + "start": { + "line": 124, + "column": 54 + }, + "end": { + "line": 124, + "column": 56 + } + } + } + ], + "range": [ + 3523, + 3557 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 57 + } + } + }, + "range": [ + 3508, + 3557 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 57 + } + } + }, + "range": [ + 3508, + 3558 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filters containers\n * @type {Array}\n * @private\n ", + "range": [ + 3395, + 3499 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n ", + "range": [ + 3568, + 3678 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3687, + 3691 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxDiv", + "range": [ + 3692, + 3699 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + "range": [ + 3687, + 3699 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": "popup_", + "raw": "'popup_'", + "range": [ + 3702, + 3710 + ], + "loc": { + "start": { + "line": 131, + "column": 23 + }, + "end": { + "line": 131, + "column": 31 + } + } + }, + "range": [ + 3687, + 3710 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 31 + } + } + }, + "range": [ + 3687, + 3711 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n ", + "range": [ + 3568, + 3678 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Column index of popup filter currently active\n * @type {Number}\n * @private\n ", + "range": [ + 3721, + 3839 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3848, + 3852 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 3853, + 3868 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + "range": [ + 3848, + 3868 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 28 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 3872, + 3873 + ], + "loc": { + "start": { + "line": 138, + "column": 32 + }, + "end": { + "line": 138, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 3871, + 3873 + ], + "loc": { + "start": { + "line": 138, + "column": 31 + }, + "end": { + "line": 138, + "column": 33 + } + } + }, + "range": [ + 3848, + 3873 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 33 + } + } + }, + "range": [ + 3848, + 3874 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Column index of popup filter currently active\n * @type {Number}\n * @private\n ", + "range": [ + 3721, + 3839 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 634, + 3880 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 629, + 3880 + ], + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 139, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 618, + 3880 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 139, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 508, + 613 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Click event handler for pop-up filter icon\n * @private\n ", + "range": [ + 3886, + 3963 + ], + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 144, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onClick", + "range": [ + 3968, + 3975 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 3976, + 3979 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 15 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 3995, + 3998 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 4001, + 4010 + ], + "loc": { + "start": { + "line": 146, + "column": 18 + }, + "end": { + "line": 146, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4011, + 4014 + ], + "loc": { + "start": { + "line": 146, + "column": 28 + }, + "end": { + "line": 146, + "column": 31 + } + } + } + ], + "range": [ + 4001, + 4015 + ], + "loc": { + "start": { + "line": 146, + "column": 18 + }, + "end": { + "line": 146, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 4016, + 4026 + ], + "loc": { + "start": { + "line": 146, + "column": 33 + }, + "end": { + "line": 146, + "column": 43 + } + } + }, + "range": [ + 4001, + 4026 + ], + "loc": { + "start": { + "line": 146, + "column": 18 + }, + "end": { + "line": 146, + "column": 43 + } + } + }, + "range": [ + 3995, + 4026 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 3991, + 4027 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 44 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4040, + 4048 + ], + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 4051, + 4059 + ], + "loc": { + "start": { + "line": 147, + "column": 23 + }, + "end": { + "line": 147, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "elm", + "range": [ + 4060, + 4063 + ], + "loc": { + "start": { + "line": 147, + "column": 32 + }, + "end": { + "line": 147, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 4064, + 4076 + ], + "loc": { + "start": { + "line": 147, + "column": 36 + }, + "end": { + "line": 147, + "column": 48 + } + } + }, + "range": [ + 4060, + 4076 + ], + "loc": { + "start": { + "line": 147, + "column": 32 + }, + "end": { + "line": 147, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "ci", + "raw": "'ci'", + "range": [ + 4077, + 4081 + ], + "loc": { + "start": { + "line": 147, + "column": 49 + }, + "end": { + "line": 147, + "column": 53 + } + } + } + ], + "range": [ + 4060, + 4082 + ], + "loc": { + "start": { + "line": 147, + "column": 32 + }, + "end": { + "line": 147, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 4084, + 4086 + ], + "loc": { + "start": { + "line": 147, + "column": 56 + }, + "end": { + "line": 147, + "column": 58 + } + } + } + ], + "range": [ + 4051, + 4087 + ], + "loc": { + "start": { + "line": 147, + "column": 23 + }, + "end": { + "line": 147, + "column": 59 + } + } + }, + "range": [ + 4040, + 4087 + ], + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 4036, + 4088 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 147, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4098, + 4102 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeAll", + "range": [ + 4103, + 4111 + ], + "loc": { + "start": { + "line": 149, + "column": 13 + }, + "end": { + "line": 149, + "column": 21 + } + } + }, + "range": [ + 4098, + 4111 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4112, + 4120 + ], + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 30 + } + } + } + ], + "range": [ + 4098, + 4121 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 31 + } + } + }, + "range": [ + 4098, + 4122 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4131, + 4135 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "toggle", + "range": [ + 4136, + 4142 + ], + "loc": { + "start": { + "line": 150, + "column": 13 + }, + "end": { + "line": 150, + "column": 19 + } + } + }, + "range": [ + 4131, + 4142 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4143, + 4151 + ], + "loc": { + "start": { + "line": 150, + "column": 20 + }, + "end": { + "line": 150, + "column": 28 + } + } + } + ], + "range": [ + 4131, + 4152 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 29 + } + } + }, + "range": [ + 4131, + 4153 + ], + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 30 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4167, + 4171 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "adjustToContainer", + "range": [ + 4172, + 4189 + ], + "loc": { + "start": { + "line": 152, + "column": 17 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + "range": [ + 4167, + 4189 + ], + "loc": { + "start": { + "line": 152, + "column": 12 + }, + "end": { + "line": 152, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 4209, + 4213 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4216, + 4220 + ], + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 4221, + 4228 + ], + "loc": { + "start": { + "line": 153, + "column": 28 + }, + "end": { + "line": 153, + "column": 35 + } + } + }, + "range": [ + 4216, + 4228 + ], + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4229, + 4237 + ], + "loc": { + "start": { + "line": 153, + "column": 36 + }, + "end": { + "line": 153, + "column": 44 + } + } + }, + "range": [ + 4216, + 4238 + ], + "loc": { + "start": { + "line": 153, + "column": 23 + }, + "end": { + "line": 153, + "column": 45 + } + } + }, + "range": [ + 4209, + 4238 + ], + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 4256, + 4262 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4265, + 4269 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4270, + 4272 + ], + "loc": { + "start": { + "line": 154, + "column": 30 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + "range": [ + 4265, + 4272 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 4273, + 4289 + ], + "loc": { + "start": { + "line": 154, + "column": 33 + }, + "end": { + "line": 154, + "column": 49 + } + } + }, + "range": [ + 4265, + 4289 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 4290, + 4298 + ], + "loc": { + "start": { + "line": 154, + "column": 50 + }, + "end": { + "line": 154, + "column": 58 + } + } + } + ], + "range": [ + 4265, + 4299 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 59 + } + } + }, + "range": [ + 4256, + 4299 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 59 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headerWidth", + "range": [ + 4317, + 4328 + ], + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 27 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "*", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 4331, + 4337 + ], + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "clientWidth", + "range": [ + 4338, + 4349 + ], + "loc": { + "start": { + "line": 155, + "column": 37 + }, + "end": { + "line": 155, + "column": 48 + } + } + }, + "range": [ + 4331, + 4349 + ], + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 0.95, + "raw": "0.95", + "range": [ + 4352, + 4356 + ], + "loc": { + "start": { + "line": 155, + "column": 51 + }, + "end": { + "line": 155, + "column": 55 + } + } + }, + "range": [ + 4331, + 4356 + ], + "loc": { + "start": { + "line": 155, + "column": 30 + }, + "end": { + "line": 155, + "column": 55 + } + } + }, + "range": [ + 4317, + 4356 + ], + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 4205, + 4357 + ], + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 155, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 4370, + 4374 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 4375, + 4380 + ], + "loc": { + "start": { + "line": 156, + "column": 17 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + "range": [ + 4370, + 4380 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 4381, + 4386 + ], + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 156, + "column": 28 + } + } + }, + "range": [ + 4370, + 4386 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 28 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 4389, + 4397 + ], + "loc": { + "start": { + "line": 156, + "column": 31 + }, + "end": { + "line": 156, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "headerWidth", + "range": [ + 4398, + 4409 + ], + "loc": { + "start": { + "line": 156, + "column": 40 + }, + "end": { + "line": 156, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 4411, + 4413 + ], + "loc": { + "start": { + "line": 156, + "column": 53 + }, + "end": { + "line": 156, + "column": 55 + } + } + } + ], + "range": [ + 4389, + 4414 + ], + "loc": { + "start": { + "line": 156, + "column": 31 + }, + "end": { + "line": 156, + "column": 56 + } + } + }, + "right": { + "type": "Literal", + "value": "px", + "raw": "'px'", + "range": [ + 4417, + 4421 + ], + "loc": { + "start": { + "line": 156, + "column": 59 + }, + "end": { + "line": 156, + "column": 63 + } + } + }, + "range": [ + 4389, + 4421 + ], + "loc": { + "start": { + "line": 156, + "column": 31 + }, + "end": { + "line": 156, + "column": 63 + } + } + }, + "range": [ + 4370, + 4421 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 63 + } + } + }, + "range": [ + 4370, + 4422 + ], + "loc": { + "start": { + "line": 156, + "column": 12 + }, + "end": { + "line": 156, + "column": 64 + } + } + } + ], + "range": [ + 4191, + 4432 + ], + "loc": { + "start": { + "line": 152, + "column": 36 + }, + "end": { + "line": 157, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4163, + 4432 + ], + "loc": { + "start": { + "line": 152, + "column": 8 + }, + "end": { + "line": 157, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 4441, + 4450 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4451, + 4454 + ], + "loc": { + "start": { + "line": 158, + "column": 18 + }, + "end": { + "line": 158, + "column": 21 + } + } + } + ], + "range": [ + 4441, + 4455 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 22 + } + } + }, + "range": [ + 4441, + 4456 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 23 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 4465, + 4472 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4473, + 4476 + ], + "loc": { + "start": { + "line": 159, + "column": 16 + }, + "end": { + "line": 159, + "column": 19 + } + } + } + ], + "range": [ + 4465, + 4477 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 20 + } + } + }, + "range": [ + 4465, + 4478 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 21 + } + } + } + ], + "range": [ + 3981, + 4484 + ], + "loc": { + "start": { + "line": 145, + "column": 17 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3975, + 4484 + ], + "loc": { + "start": { + "line": 145, + "column": 11 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3968, + 4484 + ], + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 160, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Click event handler for pop-up filter icon\n * @private\n ", + "range": [ + 3886, + 3963 + ], + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 144, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup filter auto-close behaviour\n * @private\n ", + "range": [ + 4490, + 4590 + ], + "loc": { + "start": { + "line": 162, + "column": 4 + }, + "end": { + "line": 165, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 4595, + 4604 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 166, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4605, + 4608 + ], + "loc": { + "start": { + "line": 166, + "column": 14 + }, + "end": { + "line": 166, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4624, + 4628 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 4629, + 4644 + ], + "loc": { + "start": { + "line": 167, + "column": 17 + }, + "end": { + "line": 167, + "column": 32 + } + } + }, + "range": [ + 4624, + 4644 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 32 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4650, + 4651 + ], + "loc": { + "start": { + "line": 167, + "column": 38 + }, + "end": { + "line": 167, + "column": 39 + } + } + }, + "prefix": true, + "range": [ + 4649, + 4651 + ], + "loc": { + "start": { + "line": 167, + "column": 37 + }, + "end": { + "line": 167, + "column": 39 + } + } + }, + "range": [ + 4624, + 4651 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 167, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4667, + 4674 + ], + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 19 + } + } + } + ], + "range": [ + 4653, + 4684 + ], + "loc": { + "start": { + "line": 167, + "column": 41 + }, + "end": { + "line": 169, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4620, + 4684 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 169, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4697, + 4706 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 4709, + 4718 + ], + "loc": { + "start": { + "line": 170, + "column": 24 + }, + "end": { + "line": 170, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 4719, + 4722 + ], + "loc": { + "start": { + "line": 170, + "column": 34 + }, + "end": { + "line": 170, + "column": 37 + } + } + } + ], + "range": [ + 4709, + 4723 + ], + "loc": { + "start": { + "line": 170, + "column": 24 + }, + "end": { + "line": 170, + "column": 38 + } + } + }, + "range": [ + 4697, + 4723 + ], + "loc": { + "start": { + "line": 170, + "column": 12 + }, + "end": { + "line": 170, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 4693, + 4724 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeFlt", + "range": [ + 4737, + 4746 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4749, + 4753 + ], + "loc": { + "start": { + "line": 171, + "column": 24 + }, + "end": { + "line": 171, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 4754, + 4761 + ], + "loc": { + "start": { + "line": 171, + "column": 29 + }, + "end": { + "line": 171, + "column": 36 + } + } + }, + "range": [ + 4749, + 4761 + ], + "loc": { + "start": { + "line": 171, + "column": 24 + }, + "end": { + "line": 171, + "column": 36 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4762, + 4766 + ], + "loc": { + "start": { + "line": 171, + "column": 37 + }, + "end": { + "line": 171, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 4767, + 4782 + ], + "loc": { + "start": { + "line": 171, + "column": 42 + }, + "end": { + "line": 171, + "column": 57 + } + } + }, + "range": [ + 4762, + 4782 + ], + "loc": { + "start": { + "line": 171, + "column": 37 + }, + "end": { + "line": 171, + "column": 57 + } + } + }, + "range": [ + 4749, + 4783 + ], + "loc": { + "start": { + "line": 171, + "column": 24 + }, + "end": { + "line": 171, + "column": 58 + } + } + }, + "range": [ + 4737, + 4783 + ], + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 4733, + 4784 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 59 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "icon", + "range": [ + 4797, + 4801 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4804, + 4808 + ], + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 4809, + 4817 + ], + "loc": { + "start": { + "line": 172, + "column": 24 + }, + "end": { + "line": 172, + "column": 32 + } + } + }, + "range": [ + 4804, + 4817 + ], + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 32 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4818, + 4822 + ], + "loc": { + "start": { + "line": 172, + "column": 33 + }, + "end": { + "line": 172, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 4823, + 4838 + ], + "loc": { + "start": { + "line": 172, + "column": 38 + }, + "end": { + "line": 172, + "column": 53 + } + } + }, + "range": [ + 4818, + 4838 + ], + "loc": { + "start": { + "line": 172, + "column": 33 + }, + "end": { + "line": 172, + "column": 53 + } + } + }, + "range": [ + 4804, + 4839 + ], + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 54 + } + } + }, + "range": [ + 4797, + 4839 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 4793, + 4840 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 55 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "icon", + "range": [ + 4854, + 4858 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4863, + 4872 + ], + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 30 + } + } + }, + "range": [ + 4854, + 4872 + ], + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4888, + 4895 + ], + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 19 + } + } + } + ], + "range": [ + 4874, + 4905 + ], + "loc": { + "start": { + "line": 174, + "column": 32 + }, + "end": { + "line": 176, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4850, + 4905 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 176, + "column": 9 + } + } + }, + { + "type": "WhileStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4922, + 4931 + ], + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4935, + 4944 + ], + "loc": { + "start": { + "line": 178, + "column": 28 + }, + "end": { + "line": 178, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeFlt", + "range": [ + 4949, + 4958 + ], + "loc": { + "start": { + "line": 178, + "column": 42 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "range": [ + 4935, + 4958 + ], + "loc": { + "start": { + "line": 178, + "column": 28 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "range": [ + 4922, + 4958 + ], + "loc": { + "start": { + "line": 178, + "column": 15 + }, + "end": { + "line": 178, + "column": 51 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4974, + 4983 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 4986, + 4995 + ], + "loc": { + "start": { + "line": 179, + "column": 24 + }, + "end": { + "line": 179, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 4996, + 5006 + ], + "loc": { + "start": { + "line": 179, + "column": 34 + }, + "end": { + "line": 179, + "column": 44 + } + } + }, + "range": [ + 4986, + 5006 + ], + "loc": { + "start": { + "line": 179, + "column": 24 + }, + "end": { + "line": 179, + "column": 44 + } + } + }, + "range": [ + 4974, + 5006 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 44 + } + } + }, + "range": [ + 4974, + 5007 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 45 + } + } + } + ], + "range": [ + 4960, + 5017 + ], + "loc": { + "start": { + "line": 178, + "column": 53 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + "range": [ + 4915, + 5017 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "targetElm", + "range": [ + 5031, + 5040 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "activeFlt", + "range": [ + 5045, + 5054 + ], + "loc": { + "start": { + "line": 182, + "column": 26 + }, + "end": { + "line": 182, + "column": 35 + } + } + }, + "range": [ + 5031, + 5054 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5070, + 5074 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "close", + "range": [ + 5075, + 5080 + ], + "loc": { + "start": { + "line": 183, + "column": 17 + }, + "end": { + "line": 183, + "column": 22 + } + } + }, + "range": [ + 5070, + 5080 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5081, + 5085 + ], + "loc": { + "start": { + "line": 183, + "column": 23 + }, + "end": { + "line": 183, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 5086, + 5101 + ], + "loc": { + "start": { + "line": 183, + "column": 28 + }, + "end": { + "line": 183, + "column": 43 + } + } + }, + "range": [ + 5081, + 5101 + ], + "loc": { + "start": { + "line": 183, + "column": 23 + }, + "end": { + "line": 183, + "column": 43 + } + } + } + ], + "range": [ + 5070, + 5102 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 44 + } + } + }, + "range": [ + 5070, + 5103 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 45 + } + } + } + ], + "range": [ + 5056, + 5113 + ], + "loc": { + "start": { + "line": 182, + "column": 37 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5027, + 5113 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5123, + 5130 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 15 + } + } + } + ], + "range": [ + 4610, + 5136 + ], + "loc": { + "start": { + "line": 166, + "column": 19 + }, + "end": { + "line": 187, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4604, + 5136 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 187, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4595, + 5136 + ], + "loc": { + "start": { + "line": 166, + "column": 4 + }, + "end": { + "line": 187, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup filter auto-close behaviour\n * @private\n ", + "range": [ + 4490, + 4590 + ], + "loc": { + "start": { + "line": 162, + "column": 4 + }, + "end": { + "line": 165, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 5142, + 5184 + ], + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 5189, + 5193 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 192, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5210, + 5214 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5215, + 5226 + ], + "loc": { + "start": { + "line": 193, + "column": 17 + }, + "end": { + "line": 193, + "column": 28 + } + } + }, + "range": [ + 5210, + 5226 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5242, + 5249 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 19 + } + } + } + ], + "range": [ + 5228, + 5259 + ], + "loc": { + "start": { + "line": 193, + "column": 30 + }, + "end": { + "line": 195, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5206, + 5259 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 195, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 5273, + 5275 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5278, + 5282 + ], + "loc": { + "start": { + "line": 197, + "column": 17 + }, + "end": { + "line": 197, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 5283, + 5285 + ], + "loc": { + "start": { + "line": 197, + "column": 22 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + "range": [ + 5278, + 5285 + ], + "loc": { + "start": { + "line": 197, + "column": 17 + }, + "end": { + "line": 197, + "column": 24 + } + } + }, + "range": [ + 5273, + 5285 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 5269, + 5286 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Enable external filters", + "range": [ + 5296, + 5322 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5331, + 5333 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 5334, + 5351 + ], + "loc": { + "start": { + "line": 200, + "column": 11 + }, + "end": { + "line": 200, + "column": 28 + } + } + }, + "range": [ + 5331, + 5351 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 28 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5355, + 5357 + ], + "loc": { + "start": { + "line": 200, + "column": 32 + }, + "end": { + "line": 200, + "column": 34 + } + } + } + ], + "range": [ + 5354, + 5358 + ], + "loc": { + "start": { + "line": 200, + "column": 31 + }, + "end": { + "line": 200, + "column": 35 + } + } + }, + "range": [ + 5331, + 5358 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 35 + } + } + }, + "range": [ + 5331, + 5359 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Enable external filters", + "range": [ + 5296, + 5322 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Override headers row index if no grouped headers", + "range": [ + 5369, + 5420 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5429, + 5500 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5509, + 5553 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 52 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5566, + 5568 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 5569, + 5579 + ], + "loc": { + "start": { + "line": 205, + "column": 15 + }, + "end": { + "line": 205, + "column": 25 + } + } + }, + "range": [ + 5566, + 5579 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5583, + 5584 + ], + "loc": { + "start": { + "line": 205, + "column": 29 + }, + "end": { + "line": 205, + "column": 30 + } + } + }, + "range": [ + 5566, + 5584 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 5588, + 5593 + ], + "loc": { + "start": { + "line": 205, + "column": 34 + }, + "end": { + "line": 205, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5594, + 5596 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 5597, + 5603 + ], + "loc": { + "start": { + "line": 205, + "column": 43 + }, + "end": { + "line": 205, + "column": 49 + } + } + }, + "range": [ + 5594, + 5603 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 5594, + 5605 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_row_index", + "range": [ + 5606, + 5623 + ], + "loc": { + "start": { + "line": 205, + "column": 52 + }, + "end": { + "line": 205, + "column": 69 + } + } + }, + "range": [ + 5594, + 5623 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 69 + } + } + } + ], + "range": [ + 5588, + 5624 + ], + "loc": { + "start": { + "line": 205, + "column": 34 + }, + "end": { + "line": 205, + "column": 70 + } + } + }, + "range": [ + 5566, + 5624 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 70 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5640, + 5642 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 5643, + 5653 + ], + "loc": { + "start": { + "line": 206, + "column": 15 + }, + "end": { + "line": 206, + "column": 25 + } + } + }, + "range": [ + 5640, + 5653 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5656, + 5657 + ], + "loc": { + "start": { + "line": 206, + "column": 28 + }, + "end": { + "line": 206, + "column": 29 + } + } + }, + "range": [ + 5640, + 5657 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 29 + } + } + }, + "range": [ + 5640, + 5658 + ], + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 30 + } + } + } + ], + "range": [ + 5626, + 5668 + ], + "loc": { + "start": { + "line": 205, + "column": 72 + }, + "end": { + "line": 207, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5562, + 5668 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 207, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Override headers row index if no grouped headers", + "range": [ + 5369, + 5420 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5429, + 5500 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5509, + 5553 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 52 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 5678, + 5726 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5735, + 5806 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5815, + 5859 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 52 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5872, + 5874 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 5875, + 5885 + ], + "loc": { + "start": { + "line": 212, + "column": 15 + }, + "end": { + "line": 212, + "column": 25 + } + } + }, + "range": [ + 5872, + 5885 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "--", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5901, + 5903 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 5904, + 5914 + ], + "loc": { + "start": { + "line": 213, + "column": 15 + }, + "end": { + "line": 213, + "column": 25 + } + } + }, + "range": [ + 5901, + 5914 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 25 + } + } + }, + "prefix": false, + "range": [ + 5901, + 5916 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 27 + } + } + }, + "range": [ + 5901, + 5917 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5930, + 5934 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 5935, + 5945 + ], + "loc": { + "start": { + "line": 214, + "column": 17 + }, + "end": { + "line": 214, + "column": 27 + } + } + }, + "range": [ + 5930, + 5945 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 5930, + 5947 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 29 + } + } + }, + "range": [ + 5930, + 5948 + ], + "loc": { + "start": { + "line": 214, + "column": 12 + }, + "end": { + "line": 214, + "column": 30 + } + } + } + ], + "range": [ + 5887, + 5958 + ], + "loc": { + "start": { + "line": 212, + "column": 27 + }, + "end": { + "line": 215, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5868, + 5958 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 215, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 5678, + 5726 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5735, + 5806 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5815, + 5859 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 52 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 5968, + 5990 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5999, + 6003 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6004, + 6011 + ], + "loc": { + "start": { + "line": 218, + "column": 13 + }, + "end": { + "line": 218, + "column": 20 + } + } + }, + "range": [ + 5999, + 6011 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6012, + 6014 + ], + "loc": { + "start": { + "line": 218, + "column": 21 + }, + "end": { + "line": 218, + "column": 23 + } + } + }, + "range": [ + 5999, + 6014 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 6016, + 6034 + ], + "loc": { + "start": { + "line": 218, + "column": 25 + }, + "end": { + "line": 218, + "column": 43 + } + } + } + ], + "range": [ + 6015, + 6035 + ], + "loc": { + "start": { + "line": 218, + "column": 24 + }, + "end": { + "line": 218, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6043, + 6047 + ], + "loc": { + "start": { + "line": 218, + "column": 52 + }, + "end": { + "line": 218, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "setIconsState", + "range": [ + 6048, + 6061 + ], + "loc": { + "start": { + "line": 218, + "column": 57 + }, + "end": { + "line": 218, + "column": 70 + } + } + }, + "range": [ + 6043, + 6061 + ], + "loc": { + "start": { + "line": 218, + "column": 52 + }, + "end": { + "line": 218, + "column": 70 + } + } + }, + "arguments": [], + "range": [ + 6043, + 6063 + ], + "loc": { + "start": { + "line": 218, + "column": 52 + }, + "end": { + "line": 218, + "column": 72 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6037, + 6063 + ], + "loc": { + "start": { + "line": 218, + "column": 46 + }, + "end": { + "line": 218, + "column": 72 + } + } + } + ], + "range": [ + 5999, + 6064 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 73 + } + } + }, + "range": [ + 5999, + 6065 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 5968, + 5990 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6074, + 6078 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6079, + 6086 + ], + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 20 + } + } + }, + "range": [ + 6074, + 6086 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6087, + 6089 + ], + "loc": { + "start": { + "line": 219, + "column": 21 + }, + "end": { + "line": 219, + "column": 23 + } + } + }, + "range": [ + 6074, + 6089 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 6091, + 6108 + ], + "loc": { + "start": { + "line": 219, + "column": 25 + }, + "end": { + "line": 219, + "column": 42 + } + } + } + ], + "range": [ + 6090, + 6109 + ], + "loc": { + "start": { + "line": 219, + "column": 24 + }, + "end": { + "line": 219, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6117, + 6121 + ], + "loc": { + "start": { + "line": 219, + "column": 51 + }, + "end": { + "line": 219, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeAll", + "range": [ + 6122, + 6130 + ], + "loc": { + "start": { + "line": 219, + "column": 56 + }, + "end": { + "line": 219, + "column": 64 + } + } + }, + "range": [ + 6117, + 6130 + ], + "loc": { + "start": { + "line": 219, + "column": 51 + }, + "end": { + "line": 219, + "column": 64 + } + } + }, + "arguments": [], + "range": [ + 6117, + 6132 + ], + "loc": { + "start": { + "line": 219, + "column": 51 + }, + "end": { + "line": 219, + "column": 66 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6111, + 6132 + ], + "loc": { + "start": { + "line": 219, + "column": 45 + }, + "end": { + "line": 219, + "column": 66 + } + } + } + ], + "range": [ + 6074, + 6133 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 67 + } + } + }, + "range": [ + 6074, + 6134 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 68 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6143, + 6147 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6148, + 6155 + ], + "loc": { + "start": { + "line": 220, + "column": 13 + }, + "end": { + "line": 220, + "column": 20 + } + } + }, + "range": [ + 6143, + 6155 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6156, + 6158 + ], + "loc": { + "start": { + "line": 220, + "column": 21 + }, + "end": { + "line": 220, + "column": 23 + } + } + }, + "range": [ + 6143, + 6158 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "cell-processed", + "raw": "'cell-processed'", + "range": [ + 6160, + 6176 + ], + "loc": { + "start": { + "line": 220, + "column": 25 + }, + "end": { + "line": 220, + "column": 41 + } + } + } + ], + "range": [ + 6159, + 6177 + ], + "loc": { + "start": { + "line": 220, + "column": 24 + }, + "end": { + "line": 220, + "column": 42 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 6192, + 6194 + ], + "loc": { + "start": { + "line": 221, + "column": 13 + }, + "end": { + "line": 221, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 6196, + 6205 + ], + "loc": { + "start": { + "line": 221, + "column": 17 + }, + "end": { + "line": 221, + "column": 26 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6210, + 6214 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeState", + "range": [ + 6215, + 6226 + ], + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 47 + } + } + }, + "range": [ + 6210, + 6226 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 6227, + 6236 + ], + "loc": { + "start": { + "line": 221, + "column": 48 + }, + "end": { + "line": 221, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 6238, + 6242 + ], + "loc": { + "start": { + "line": 221, + "column": 59 + }, + "end": { + "line": 221, + "column": 63 + } + } + } + ], + "range": [ + 6210, + 6243 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 64 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6191, + 6243 + ], + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 64 + } + } + } + ], + "range": [ + 6143, + 6244 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 221, + "column": 65 + } + } + }, + "range": [ + 6143, + 6245 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 221, + "column": 66 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6254, + 6258 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6259, + 6266 + ], + "loc": { + "start": { + "line": 222, + "column": 13 + }, + "end": { + "line": 222, + "column": 20 + } + } + }, + "range": [ + 6254, + 6266 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6267, + 6269 + ], + "loc": { + "start": { + "line": 222, + "column": 21 + }, + "end": { + "line": 222, + "column": 23 + } + } + }, + "range": [ + 6254, + 6269 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-row-inserted", + "raw": "'filters-row-inserted'", + "range": [ + 6271, + 6293 + ], + "loc": { + "start": { + "line": 222, + "column": 25 + }, + "end": { + "line": 222, + "column": 47 + } + } + } + ], + "range": [ + 6270, + 6294 + ], + "loc": { + "start": { + "line": 222, + "column": 24 + }, + "end": { + "line": 222, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6302, + 6306 + ], + "loc": { + "start": { + "line": 222, + "column": 56 + }, + "end": { + "line": 222, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 6307, + 6317 + ], + "loc": { + "start": { + "line": 222, + "column": 61 + }, + "end": { + "line": 222, + "column": 71 + } + } + }, + "range": [ + 6302, + 6317 + ], + "loc": { + "start": { + "line": 222, + "column": 56 + }, + "end": { + "line": 222, + "column": 71 + } + } + }, + "arguments": [], + "range": [ + 6302, + 6319 + ], + "loc": { + "start": { + "line": 222, + "column": 56 + }, + "end": { + "line": 222, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6296, + 6319 + ], + "loc": { + "start": { + "line": 222, + "column": 50 + }, + "end": { + "line": 222, + "column": 73 + } + } + } + ], + "range": [ + 6254, + 6320 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 74 + } + } + }, + "range": [ + 6254, + 6321 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6330, + 6334 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6335, + 6342 + ], + "loc": { + "start": { + "line": 223, + "column": 13 + }, + "end": { + "line": 223, + "column": 20 + } + } + }, + "range": [ + 6330, + 6342 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6343, + 6345 + ], + "loc": { + "start": { + "line": 223, + "column": 21 + }, + "end": { + "line": 223, + "column": 23 + } + } + }, + "range": [ + 6330, + 6345 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filter-init", + "raw": "'before-filter-init'", + "range": [ + 6347, + 6367 + ], + "loc": { + "start": { + "line": 223, + "column": 25 + }, + "end": { + "line": 223, + "column": 45 + } + } + } + ], + "range": [ + 6346, + 6368 + ], + "loc": { + "start": { + "line": 223, + "column": 24 + }, + "end": { + "line": 223, + "column": 46 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 6383, + 6385 + ], + "loc": { + "start": { + "line": 224, + "column": 13 + }, + "end": { + "line": 224, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 6387, + 6395 + ], + "loc": { + "start": { + "line": 224, + "column": 17 + }, + "end": { + "line": 224, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6400, + 6404 + ], + "loc": { + "start": { + "line": 224, + "column": 30 + }, + "end": { + "line": 224, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 6405, + 6410 + ], + "loc": { + "start": { + "line": 224, + "column": 35 + }, + "end": { + "line": 224, + "column": 40 + } + } + }, + "range": [ + 6400, + 6410 + ], + "loc": { + "start": { + "line": 224, + "column": 30 + }, + "end": { + "line": 224, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 6411, + 6419 + ], + "loc": { + "start": { + "line": 224, + "column": 41 + }, + "end": { + "line": 224, + "column": 49 + } + } + } + ], + "range": [ + 6400, + 6420 + ], + "loc": { + "start": { + "line": 224, + "column": 30 + }, + "end": { + "line": 224, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6382, + 6420 + ], + "loc": { + "start": { + "line": 224, + "column": 12 + }, + "end": { + "line": 224, + "column": 50 + } + } + } + ], + "range": [ + 6330, + 6421 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 224, + "column": 51 + } + } + }, + "range": [ + 6330, + 6422 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 224, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6432, + 6449 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6458, + 6462 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 6463, + 6474 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + "range": [ + 6458, + 6474 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 6477, + 6481 + ], + "loc": { + "start": { + "line": 227, + "column": 27 + }, + "end": { + "line": 227, + "column": 31 + } + } + }, + "range": [ + 6458, + 6481 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 31 + } + } + }, + "range": [ + 6458, + 6482 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6432, + 6449 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 25 + } + } + } + ] + } + ], + "range": [ + 5196, + 6488 + ], + "loc": { + "start": { + "line": 192, + "column": 11 + }, + "end": { + "line": 228, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5193, + 6488 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 228, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5189, + 6488 + ], + "loc": { + "start": { + "line": 192, + "column": 4 + }, + "end": { + "line": 228, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 5142, + 5184 + ], + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Reset previously destroyed feature\n ", + "range": [ + 6494, + 6547 + ], + "loc": { + "start": { + "line": 230, + "column": 4 + }, + "end": { + "line": 232, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "reset", + "range": [ + 6552, + 6557 + ], + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 233, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6570, + 6574 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 6575, + 6581 + ], + "loc": { + "start": { + "line": 234, + "column": 13 + }, + "end": { + "line": 234, + "column": 19 + } + } + }, + "range": [ + 6570, + 6581 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 6570, + 6583 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 21 + } + } + }, + "range": [ + 6570, + 6584 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6593, + 6597 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 6598, + 6602 + ], + "loc": { + "start": { + "line": 235, + "column": 13 + }, + "end": { + "line": 235, + "column": 17 + } + } + }, + "range": [ + 6593, + 6602 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 6593, + 6604 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 19 + } + } + }, + "range": [ + 6593, + 6605 + ], + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 20 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6614, + 6618 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 6619, + 6629 + ], + "loc": { + "start": { + "line": 236, + "column": 13 + }, + "end": { + "line": 236, + "column": 23 + } + } + }, + "range": [ + 6614, + 6629 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 6614, + 6631 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 25 + } + } + }, + "range": [ + 6614, + 6632 + ], + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6641, + 6645 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildAll", + "range": [ + 6646, + 6654 + ], + "loc": { + "start": { + "line": 237, + "column": 13 + }, + "end": { + "line": 237, + "column": 21 + } + } + }, + "range": [ + 6641, + 6654 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 6641, + 6656 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 23 + } + } + }, + "range": [ + 6641, + 6657 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 24 + } + } + } + ], + "range": [ + 6560, + 6663 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 238, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6557, + 6663 + ], + "loc": { + "start": { + "line": 233, + "column": 9 + }, + "end": { + "line": 238, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 6552, + 6663 + ], + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 238, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Reset previously destroyed feature\n ", + "range": [ + 6494, + 6547 + ], + "loc": { + "start": { + "line": 230, + "column": 4 + }, + "end": { + "line": 232, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 6669, + 6711 + ], + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 242, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 6716, + 6726 + ], + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 243, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 6743, + 6745 + ], + "loc": { + "start": { + "line": 244, + "column": 12 + }, + "end": { + "line": 244, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6748, + 6752 + ], + "loc": { + "start": { + "line": 244, + "column": 17 + }, + "end": { + "line": 244, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 6753, + 6755 + ], + "loc": { + "start": { + "line": 244, + "column": 22 + }, + "end": { + "line": 244, + "column": 24 + } + } + }, + "range": [ + 6748, + 6755 + ], + "loc": { + "start": { + "line": 244, + "column": 17 + }, + "end": { + "line": 244, + "column": 24 + } + } + }, + "range": [ + 6743, + 6755 + ], + "loc": { + "start": { + "line": 244, + "column": 12 + }, + "end": { + "line": 244, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 6739, + 6756 + ], + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 6766, + 6837 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 6846, + 6890 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 52 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6899, + 6901 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 6902, + 6912 + ], + "loc": { + "start": { + "line": 248, + "column": 11 + }, + "end": { + "line": 248, + "column": 21 + } + } + }, + "range": [ + 6899, + 6912 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 21 + } + } + }, + "prefix": false, + "range": [ + 6899, + 6914 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 23 + } + } + }, + "range": [ + 6899, + 6915 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 6766, + 6837 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 6846, + 6890 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 52 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 6934, + 6935 + ], + "loc": { + "start": { + "line": 250, + "column": 17 + }, + "end": { + "line": 250, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 6938, + 6939 + ], + "loc": { + "start": { + "line": 250, + "column": 21 + }, + "end": { + "line": 250, + "column": 22 + } + } + }, + "range": [ + 6934, + 6939 + ], + "loc": { + "start": { + "line": 250, + "column": 17 + }, + "end": { + "line": 250, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 6930, + 6939 + ], + "loc": { + "start": { + "line": 250, + "column": 13 + }, + "end": { + "line": 250, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 6941, + 6942 + ], + "loc": { + "start": { + "line": 250, + "column": 24 + }, + "end": { + "line": 250, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6945, + 6947 + ], + "loc": { + "start": { + "line": 250, + "column": 28 + }, + "end": { + "line": 250, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 6948, + 6955 + ], + "loc": { + "start": { + "line": 250, + "column": 31 + }, + "end": { + "line": 250, + "column": 38 + } + } + }, + "range": [ + 6945, + 6955 + ], + "loc": { + "start": { + "line": 250, + "column": 28 + }, + "end": { + "line": 250, + "column": 38 + } + } + }, + "range": [ + 6941, + 6955 + ], + "loc": { + "start": { + "line": 250, + "column": 24 + }, + "end": { + "line": 250, + "column": 38 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 6957, + 6958 + ], + "loc": { + "start": { + "line": 250, + "column": 40 + }, + "end": { + "line": 250, + "column": 41 + } + } + }, + "prefix": false, + "range": [ + 6957, + 6960 + ], + "loc": { + "start": { + "line": 250, + "column": 40 + }, + "end": { + "line": 250, + "column": 43 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6980, + 6982 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 6983, + 6996 + ], + "loc": { + "start": { + "line": 251, + "column": 19 + }, + "end": { + "line": 251, + "column": 32 + } + } + }, + "range": [ + 6980, + 6996 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 6997, + 6998 + ], + "loc": { + "start": { + "line": 251, + "column": 33 + }, + "end": { + "line": 251, + "column": 34 + } + } + } + ], + "range": [ + 6980, + 6999 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 7004, + 7008 + ], + "loc": { + "start": { + "line": 251, + "column": 40 + }, + "end": { + "line": 251, + "column": 44 + } + } + }, + "range": [ + 6980, + 7008 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 7028, + 7037 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 25 + } + } + } + ], + "range": [ + 7010, + 7051 + ], + "loc": { + "start": { + "line": 251, + "column": 46 + }, + "end": { + "line": 253, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 6976, + 7051 + ], + "loc": { + "start": { + "line": 251, + "column": 12 + }, + "end": { + "line": 253, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "icon", + "range": [ + 7068, + 7072 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 7075, + 7084 + ], + "loc": { + "start": { + "line": 254, + "column": 23 + }, + "end": { + "line": 254, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 7085, + 7091 + ], + "loc": { + "start": { + "line": 254, + "column": 33 + }, + "end": { + "line": 254, + "column": 39 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "ci", + "raw": "'ci'", + "range": [ + 7094, + 7098 + ], + "loc": { + "start": { + "line": 254, + "column": 42 + }, + "end": { + "line": 254, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 7100, + 7101 + ], + "loc": { + "start": { + "line": 254, + "column": 48 + }, + "end": { + "line": 254, + "column": 49 + } + } + } + ], + "range": [ + 7093, + 7102 + ], + "loc": { + "start": { + "line": 254, + "column": 41 + }, + "end": { + "line": 254, + "column": 50 + } + } + } + ], + "range": [ + 7075, + 7103 + ], + "loc": { + "start": { + "line": 254, + "column": 23 + }, + "end": { + "line": 254, + "column": 51 + } + } + }, + "range": [ + 7068, + 7103 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 7064, + 7104 + ], + "loc": { + "start": { + "line": 254, + "column": 12 + }, + "end": { + "line": 254, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "icon", + "range": [ + 7117, + 7121 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 7122, + 7131 + ], + "loc": { + "start": { + "line": 255, + "column": 17 + }, + "end": { + "line": 255, + "column": 26 + } + } + }, + "range": [ + 7117, + 7131 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7134, + 7138 + ], + "loc": { + "start": { + "line": 255, + "column": 29 + }, + "end": { + "line": 255, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "iconHtml", + "range": [ + 7139, + 7147 + ], + "loc": { + "start": { + "line": 255, + "column": 34 + }, + "end": { + "line": 255, + "column": 42 + } + } + }, + "range": [ + 7134, + 7147 + ], + "loc": { + "start": { + "line": 255, + "column": 29 + }, + "end": { + "line": 255, + "column": 42 + } + } + }, + "range": [ + 7117, + 7147 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 42 + } + } + }, + "range": [ + 7117, + 7148 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 43 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 7165, + 7171 + ], + "loc": { + "start": { + "line": 256, + "column": 16 + }, + "end": { + "line": 256, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7174, + 7176 + ], + "loc": { + "start": { + "line": 256, + "column": 25 + }, + "end": { + "line": 256, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 7177, + 7193 + ], + "loc": { + "start": { + "line": 256, + "column": 28 + }, + "end": { + "line": 256, + "column": 44 + } + } + }, + "range": [ + 7174, + 7193 + ], + "loc": { + "start": { + "line": 256, + "column": 25 + }, + "end": { + "line": 256, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 7194, + 7195 + ], + "loc": { + "start": { + "line": 256, + "column": 45 + }, + "end": { + "line": 256, + "column": 46 + } + } + } + ], + "range": [ + 7174, + 7196 + ], + "loc": { + "start": { + "line": 256, + "column": 25 + }, + "end": { + "line": 256, + "column": 47 + } + } + }, + "range": [ + 7165, + 7196 + ], + "loc": { + "start": { + "line": 256, + "column": 16 + }, + "end": { + "line": 256, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 7161, + 7197 + ], + "loc": { + "start": { + "line": 256, + "column": 12 + }, + "end": { + "line": 256, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 7210, + 7216 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 7217, + 7228 + ], + "loc": { + "start": { + "line": 257, + "column": 19 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "range": [ + 7210, + 7228 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "icon", + "range": [ + 7229, + 7233 + ], + "loc": { + "start": { + "line": 257, + "column": 31 + }, + "end": { + "line": 257, + "column": 35 + } + } + } + ], + "range": [ + 7210, + 7234 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 36 + } + } + }, + "range": [ + 7210, + 7235 + ], + "loc": { + "start": { + "line": 257, + "column": 12 + }, + "end": { + "line": 257, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 7248, + 7254 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "icon", + "range": [ + 7255, + 7259 + ], + "loc": { + "start": { + "line": 258, + "column": 19 + }, + "end": { + "line": 258, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 7261, + 7268 + ], + "loc": { + "start": { + "line": 258, + "column": 25 + }, + "end": { + "line": 258, + "column": 32 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 7271, + 7274 + ], + "loc": { + "start": { + "line": 258, + "column": 35 + }, + "end": { + "line": 258, + "column": 38 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7279, + 7283 + ], + "loc": { + "start": { + "line": 258, + "column": 43 + }, + "end": { + "line": 258, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "onClick", + "range": [ + 7284, + 7291 + ], + "loc": { + "start": { + "line": 258, + "column": 48 + }, + "end": { + "line": 258, + "column": 55 + } + } + }, + "range": [ + 7279, + 7291 + ], + "loc": { + "start": { + "line": 258, + "column": 43 + }, + "end": { + "line": 258, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 7292, + 7295 + ], + "loc": { + "start": { + "line": 258, + "column": 56 + }, + "end": { + "line": 258, + "column": 59 + } + } + } + ], + "range": [ + 7279, + 7296 + ], + "loc": { + "start": { + "line": 258, + "column": 43 + }, + "end": { + "line": 258, + "column": 60 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 7270, + 7296 + ], + "loc": { + "start": { + "line": 258, + "column": 34 + }, + "end": { + "line": 258, + "column": 60 + } + } + } + ], + "range": [ + 7248, + 7297 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 61 + } + } + }, + "range": [ + 7248, + 7298 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 62 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7311, + 7315 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSpans", + "range": [ + 7316, + 7324 + ], + "loc": { + "start": { + "line": 259, + "column": 17 + }, + "end": { + "line": 259, + "column": 25 + } + } + }, + "range": [ + 7311, + 7324 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7325, + 7326 + ], + "loc": { + "start": { + "line": 259, + "column": 26 + }, + "end": { + "line": 259, + "column": 27 + } + } + }, + "range": [ + 7311, + 7327 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "icon", + "range": [ + 7330, + 7334 + ], + "loc": { + "start": { + "line": 259, + "column": 31 + }, + "end": { + "line": 259, + "column": 35 + } + } + }, + "range": [ + 7311, + 7334 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 35 + } + } + }, + "range": [ + 7311, + 7335 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7348, + 7352 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 7353, + 7361 + ], + "loc": { + "start": { + "line": 260, + "column": 17 + }, + "end": { + "line": 260, + "column": 25 + } + } + }, + "range": [ + 7348, + 7361 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7362, + 7363 + ], + "loc": { + "start": { + "line": 260, + "column": 26 + }, + "end": { + "line": 260, + "column": 27 + } + } + }, + "range": [ + 7348, + 7364 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "icon", + "range": [ + 7367, + 7371 + ], + "loc": { + "start": { + "line": 260, + "column": 31 + }, + "end": { + "line": 260, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 7372, + 7382 + ], + "loc": { + "start": { + "line": 260, + "column": 36 + }, + "end": { + "line": 260, + "column": 46 + } + } + }, + "range": [ + 7367, + 7382 + ], + "loc": { + "start": { + "line": 260, + "column": 31 + }, + "end": { + "line": 260, + "column": 46 + } + } + }, + "range": [ + 7348, + 7382 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 46 + } + } + }, + "range": [ + 7348, + 7383 + ], + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 47 + } + } + } + ], + "range": [ + 6962, + 7393 + ], + "loc": { + "start": { + "line": 250, + "column": 45 + }, + "end": { + "line": 261, + "column": 9 + } + } + }, + "range": [ + 6925, + 7393 + ], + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 261, + "column": 9 + } + } + } + ], + "range": [ + 6729, + 7399 + ], + "loc": { + "start": { + "line": 243, + "column": 17 + }, + "end": { + "line": 262, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6726, + 7399 + ], + "loc": { + "start": { + "line": 243, + "column": 14 + }, + "end": { + "line": 262, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 6716, + 7399 + ], + "loc": { + "start": { + "line": 243, + "column": 4 + }, + "end": { + "line": 262, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 6669, + 6711 + ], + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 242, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build all pop-up filters elements\n ", + "range": [ + 7405, + 7457 + ], + "loc": { + "start": { + "line": 264, + "column": 4 + }, + "end": { + "line": 266, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildAll", + "range": [ + 7462, + 7470 + ], + "loc": { + "start": { + "line": 267, + "column": 4 + }, + "end": { + "line": 267, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 7492, + 7493 + ], + "loc": { + "start": { + "line": 268, + "column": 17 + }, + "end": { + "line": 268, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 7496, + 7497 + ], + "loc": { + "start": { + "line": 268, + "column": 21 + }, + "end": { + "line": 268, + "column": 22 + } + } + }, + "range": [ + 7492, + 7497 + ], + "loc": { + "start": { + "line": 268, + "column": 17 + }, + "end": { + "line": 268, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 7488, + 7497 + ], + "loc": { + "start": { + "line": 268, + "column": 13 + }, + "end": { + "line": 268, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 7499, + 7500 + ], + "loc": { + "start": { + "line": 268, + "column": 24 + }, + "end": { + "line": 268, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7503, + 7507 + ], + "loc": { + "start": { + "line": 268, + "column": 28 + }, + "end": { + "line": 268, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 7508, + 7520 + ], + "loc": { + "start": { + "line": 268, + "column": 33 + }, + "end": { + "line": 268, + "column": 45 + } + } + }, + "range": [ + 7503, + 7520 + ], + "loc": { + "start": { + "line": 268, + "column": 28 + }, + "end": { + "line": 268, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 7521, + 7527 + ], + "loc": { + "start": { + "line": 268, + "column": 46 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "range": [ + 7503, + 7527 + ], + "loc": { + "start": { + "line": 268, + "column": 28 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "range": [ + 7499, + 7527 + ], + "loc": { + "start": { + "line": 268, + "column": 24 + }, + "end": { + "line": 268, + "column": 52 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 7529, + 7530 + ], + "loc": { + "start": { + "line": 268, + "column": 54 + }, + "end": { + "line": 268, + "column": 55 + } + } + }, + "prefix": false, + "range": [ + 7529, + 7532 + ], + "loc": { + "start": { + "line": 268, + "column": 54 + }, + "end": { + "line": 268, + "column": 57 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7548, + 7552 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 7553, + 7558 + ], + "loc": { + "start": { + "line": 269, + "column": 17 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + "range": [ + 7548, + 7558 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 7559, + 7560 + ], + "loc": { + "start": { + "line": 269, + "column": 23 + }, + "end": { + "line": 269, + "column": 24 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7562, + 7566 + ], + "loc": { + "start": { + "line": 269, + "column": 26 + }, + "end": { + "line": 269, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 7567, + 7579 + ], + "loc": { + "start": { + "line": 269, + "column": 31 + }, + "end": { + "line": 269, + "column": 43 + } + } + }, + "range": [ + 7562, + 7579 + ], + "loc": { + "start": { + "line": 269, + "column": 26 + }, + "end": { + "line": 269, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 7580, + 7581 + ], + "loc": { + "start": { + "line": 269, + "column": 44 + }, + "end": { + "line": 269, + "column": 45 + } + } + }, + "range": [ + 7562, + 7582 + ], + "loc": { + "start": { + "line": 269, + "column": 26 + }, + "end": { + "line": 269, + "column": 46 + } + } + } + ], + "range": [ + 7548, + 7583 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 47 + } + } + }, + "range": [ + 7548, + 7584 + ], + "loc": { + "start": { + "line": 269, + "column": 12 + }, + "end": { + "line": 269, + "column": 48 + } + } + } + ], + "range": [ + 7534, + 7594 + ], + "loc": { + "start": { + "line": 268, + "column": 59 + }, + "end": { + "line": 270, + "column": 9 + } + } + }, + "range": [ + 7483, + 7594 + ], + "loc": { + "start": { + "line": 268, + "column": 8 + }, + "end": { + "line": 270, + "column": 9 + } + } + } + ], + "range": [ + 7473, + 7600 + ], + "loc": { + "start": { + "line": 267, + "column": 15 + }, + "end": { + "line": 271, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7470, + 7600 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 271, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 7462, + 7600 + ], + "loc": { + "start": { + "line": 267, + "column": 4 + }, + "end": { + "line": 271, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build all pop-up filters elements\n ", + "range": [ + 7405, + 7457 + ], + "loc": { + "start": { + "line": 264, + "column": 4 + }, + "end": { + "line": 266, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n ", + "range": [ + 7606, + 7775 + ], + "loc": { + "start": { + "line": 273, + "column": 4 + }, + "end": { + "line": 277, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "build", + "range": [ + 7780, + 7785 + ], + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 278, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7786, + 7794 + ], + "loc": { + "start": { + "line": 278, + "column": 10 + }, + "end": { + "line": 278, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "div", + "range": [ + 7796, + 7799 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 7815, + 7817 + ], + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7820, + 7824 + ], + "loc": { + "start": { + "line": 279, + "column": 17 + }, + "end": { + "line": 279, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 7825, + 7827 + ], + "loc": { + "start": { + "line": 279, + "column": 22 + }, + "end": { + "line": 279, + "column": 24 + } + } + }, + "range": [ + 7820, + 7827 + ], + "loc": { + "start": { + "line": 279, + "column": 17 + }, + "end": { + "line": 279, + "column": 24 + } + } + }, + "range": [ + 7815, + 7827 + ], + "loc": { + "start": { + "line": 279, + "column": 12 + }, + "end": { + "line": 279, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 7811, + 7828 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "contId", + "range": [ + 7841, + 7847 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 280, + "column": 18 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 7850, + 7853 + ], + "loc": { + "start": { + "line": 280, + "column": 21 + }, + "end": { + "line": 280, + "column": 24 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 7865, + 7868 + ], + "loc": { + "start": { + "line": 280, + "column": 36 + }, + "end": { + "line": 280, + "column": 39 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 7873, + 7877 + ], + "loc": { + "start": { + "line": 280, + "column": 44 + }, + "end": { + "line": 280, + "column": 48 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 7885, + 7887 + ], + "loc": { + "start": { + "line": 280, + "column": 56 + }, + "end": { + "line": 280, + "column": 58 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7853, + 7857 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxDiv", + "range": [ + 7858, + 7865 + ], + "loc": { + "start": { + "line": 280, + "column": 29 + }, + "end": { + "line": 280, + "column": 36 + } + } + }, + "range": [ + 7853, + 7865 + ], + "loc": { + "start": { + "line": 280, + "column": 24 + }, + "end": { + "line": 280, + "column": 36 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 7868, + 7870 + ], + "loc": { + "start": { + "line": 280, + "column": 39 + }, + "end": { + "line": 280, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 7871, + 7873 + ], + "loc": { + "start": { + "line": 280, + "column": 42 + }, + "end": { + "line": 280, + "column": 44 + } + } + }, + "range": [ + 7868, + 7873 + ], + "loc": { + "start": { + "line": 280, + "column": 39 + }, + "end": { + "line": 280, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 7877, + 7885 + ], + "loc": { + "start": { + "line": 280, + "column": 48 + }, + "end": { + "line": 280, + "column": 56 + } + } + } + ], + "range": [ + 7850, + 7887 + ], + "loc": { + "start": { + "line": 280, + "column": 21 + }, + "end": { + "line": 280, + "column": 58 + } + } + }, + "range": [ + 7841, + 7887 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 280, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 7837, + 7888 + ], + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 59 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "placeholder", + "range": [ + 7901, + 7912 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 7915, + 7924 + ], + "loc": { + "start": { + "line": 281, + "column": 26 + }, + "end": { + "line": 281, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 7925, + 7930 + ], + "loc": { + "start": { + "line": 281, + "column": 36 + }, + "end": { + "line": 281, + "column": 41 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "class", + "raw": "'class'", + "range": [ + 7933, + 7940 + ], + "loc": { + "start": { + "line": 281, + "column": 44 + }, + "end": { + "line": 281, + "column": 51 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7942, + 7946 + ], + "loc": { + "start": { + "line": 281, + "column": 53 + }, + "end": { + "line": 281, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "placeholderCssClass", + "range": [ + 7947, + 7966 + ], + "loc": { + "start": { + "line": 281, + "column": 58 + }, + "end": { + "line": 281, + "column": 77 + } + } + }, + "range": [ + 7942, + 7966 + ], + "loc": { + "start": { + "line": 281, + "column": 53 + }, + "end": { + "line": 281, + "column": 77 + } + } + } + ], + "range": [ + 7932, + 7967 + ], + "loc": { + "start": { + "line": 281, + "column": 43 + }, + "end": { + "line": 281, + "column": 78 + } + } + } + ], + "range": [ + 7915, + 7968 + ], + "loc": { + "start": { + "line": 281, + "column": 26 + }, + "end": { + "line": 281, + "column": 79 + } + } + }, + "range": [ + 7901, + 7968 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 79 + } + } + } + ], + "kind": "let", + "range": [ + 7897, + 7969 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 281, + "column": 80 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 7982, + 7986 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 16 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "div", + "range": [ + 7989, + 7992 + ], + "loc": { + "start": { + "line": 282, + "column": 19 + }, + "end": { + "line": 282, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 8008, + 8017 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 8018, + 8023 + ], + "loc": { + "start": { + "line": 283, + "column": 22 + }, + "end": { + "line": 283, + "column": 27 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 8026, + 8030 + ], + "loc": { + "start": { + "line": 283, + "column": 30 + }, + "end": { + "line": 283, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "contId", + "range": [ + 8032, + 8038 + ], + "loc": { + "start": { + "line": 283, + "column": 36 + }, + "end": { + "line": 283, + "column": 42 + } + } + } + ], + "range": [ + 8025, + 8039 + ], + "loc": { + "start": { + "line": 283, + "column": 29 + }, + "end": { + "line": 283, + "column": 43 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "class", + "raw": "'class'", + "range": [ + 8042, + 8049 + ], + "loc": { + "start": { + "line": 283, + "column": 46 + }, + "end": { + "line": 283, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8051, + 8055 + ], + "loc": { + "start": { + "line": 283, + "column": 55 + }, + "end": { + "line": 283, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "containerCssClass", + "range": [ + 8056, + 8073 + ], + "loc": { + "start": { + "line": 283, + "column": 60 + }, + "end": { + "line": 283, + "column": 77 + } + } + }, + "range": [ + 8051, + 8073 + ], + "loc": { + "start": { + "line": 283, + "column": 55 + }, + "end": { + "line": 283, + "column": 77 + } + } + } + ], + "range": [ + 8041, + 8074 + ], + "loc": { + "start": { + "line": 283, + "column": 45 + }, + "end": { + "line": 283, + "column": 78 + } + } + } + ], + "range": [ + 8008, + 8075 + ], + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 79 + } + } + }, + "range": [ + 7989, + 8075 + ], + "loc": { + "start": { + "line": 282, + "column": 19 + }, + "end": { + "line": 283, + "column": 79 + } + } + }, + "range": [ + 7982, + 8075 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 283, + "column": 79 + } + } + } + ], + "kind": "let", + "range": [ + 7978, + 8076 + ], + "loc": { + "start": { + "line": 282, + "column": 8 + }, + "end": { + "line": 283, + "column": 80 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8085, + 8087 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 8088, + 8105 + ], + "loc": { + "start": { + "line": 284, + "column": 11 + }, + "end": { + "line": 284, + "column": 28 + } + } + }, + "range": [ + 8085, + 8105 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8106, + 8114 + ], + "loc": { + "start": { + "line": 284, + "column": 29 + }, + "end": { + "line": 284, + "column": 37 + } + } + }, + "range": [ + 8085, + 8115 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 8118, + 8122 + ], + "loc": { + "start": { + "line": 284, + "column": 41 + }, + "end": { + "line": 284, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 8123, + 8125 + ], + "loc": { + "start": { + "line": 284, + "column": 46 + }, + "end": { + "line": 284, + "column": 48 + } + } + }, + "range": [ + 8118, + 8125 + ], + "loc": { + "start": { + "line": 284, + "column": 41 + }, + "end": { + "line": 284, + "column": 48 + } + } + }, + "range": [ + 8085, + 8125 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 48 + } + } + }, + "range": [ + 8085, + 8126 + ], + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "placeholder", + "range": [ + 8135, + 8146 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 8147, + 8158 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 31 + } + } + }, + "range": [ + 8135, + 8158 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 8159, + 8163 + ], + "loc": { + "start": { + "line": 285, + "column": 32 + }, + "end": { + "line": 285, + "column": 36 + } + } + } + ], + "range": [ + 8135, + 8164 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 37 + } + } + }, + "range": [ + 8135, + 8165 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 8179, + 8185 + ], + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 8188, + 8190 + ], + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 8191, + 8207 + ], + "loc": { + "start": { + "line": 287, + "column": 24 + }, + "end": { + "line": 287, + "column": 40 + } + } + }, + "range": [ + 8188, + 8207 + ], + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8208, + 8216 + ], + "loc": { + "start": { + "line": 287, + "column": 41 + }, + "end": { + "line": 287, + "column": 49 + } + } + } + ], + "range": [ + 8188, + 8217 + ], + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 50 + } + } + }, + "range": [ + 8179, + 8217 + ], + "loc": { + "start": { + "line": 287, + "column": 12 + }, + "end": { + "line": 287, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 8175, + 8218 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 8227, + 8233 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 8234, + 8246 + ], + "loc": { + "start": { + "line": 288, + "column": 15 + }, + "end": { + "line": 288, + "column": 27 + } + } + }, + "range": [ + 8227, + 8246 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "placeholder", + "range": [ + 8247, + 8258 + ], + "loc": { + "start": { + "line": 288, + "column": 28 + }, + "end": { + "line": 288, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "header", + "range": [ + 8260, + 8266 + ], + "loc": { + "start": { + "line": 288, + "column": 41 + }, + "end": { + "line": 288, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 8267, + 8277 + ], + "loc": { + "start": { + "line": 288, + "column": 48 + }, + "end": { + "line": 288, + "column": 58 + } + } + }, + "range": [ + 8260, + 8277 + ], + "loc": { + "start": { + "line": 288, + "column": 41 + }, + "end": { + "line": 288, + "column": 58 + } + } + } + ], + "range": [ + 8227, + 8278 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 59 + } + } + }, + "range": [ + 8227, + 8279 + ], + "loc": { + "start": { + "line": 288, + "column": 8 + }, + "end": { + "line": 288, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8288, + 8294 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 8295, + 8299 + ], + "loc": { + "start": { + "line": 289, + "column": 15 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 8301, + 8308 + ], + "loc": { + "start": { + "line": 289, + "column": 21 + }, + "end": { + "line": 289, + "column": 28 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8311, + 8314 + ], + "loc": { + "start": { + "line": 289, + "column": 31 + }, + "end": { + "line": 289, + "column": 34 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 8319, + 8326 + ], + "loc": { + "start": { + "line": 289, + "column": 39 + }, + "end": { + "line": 289, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 8327, + 8330 + ], + "loc": { + "start": { + "line": 289, + "column": 47 + }, + "end": { + "line": 289, + "column": 50 + } + } + } + ], + "range": [ + 8319, + 8331 + ], + "loc": { + "start": { + "line": 289, + "column": 39 + }, + "end": { + "line": 289, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8310, + 8331 + ], + "loc": { + "start": { + "line": 289, + "column": 30 + }, + "end": { + "line": 289, + "column": 51 + } + } + } + ], + "range": [ + 8288, + 8332 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 52 + } + } + }, + "range": [ + 8288, + 8333 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8342, + 8346 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 8347, + 8354 + ], + "loc": { + "start": { + "line": 290, + "column": 13 + }, + "end": { + "line": 290, + "column": 20 + } + } + }, + "range": [ + 8342, + 8354 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8355, + 8363 + ], + "loc": { + "start": { + "line": 290, + "column": 21 + }, + "end": { + "line": 290, + "column": 29 + } + } + }, + "range": [ + 8342, + 8364 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "cont", + "range": [ + 8367, + 8371 + ], + "loc": { + "start": { + "line": 290, + "column": 33 + }, + "end": { + "line": 290, + "column": 37 + } + } + }, + "range": [ + 8342, + 8371 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 37 + } + } + }, + "range": [ + 8342, + 8372 + ], + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 38 + } + } + } + ], + "range": [ + 7801, + 8378 + ], + "loc": { + "start": { + "line": 278, + "column": 25 + }, + "end": { + "line": 291, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7785, + 8378 + ], + "loc": { + "start": { + "line": 278, + "column": 9 + }, + "end": { + "line": 291, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 7780, + 8378 + ], + "loc": { + "start": { + "line": 278, + "column": 4 + }, + "end": { + "line": 291, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n ", + "range": [ + 7606, + 7775 + ], + "loc": { + "start": { + "line": 273, + "column": 4 + }, + "end": { + "line": 277, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toggle visibility of specified filter\n * @param {Number} colIndex Column index\n ", + "range": [ + 8384, + 8486 + ], + "loc": { + "start": { + "line": 293, + "column": 4 + }, + "end": { + "line": 296, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "toggle", + "range": [ + 8491, + 8497 + ], + "loc": { + "start": { + "line": 297, + "column": 4 + }, + "end": { + "line": 297, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8498, + 8506 + ], + "loc": { + "start": { + "line": 297, + "column": 11 + }, + "end": { + "line": 297, + "column": 19 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8523, + 8527 + ], + "loc": { + "start": { + "line": 298, + "column": 13 + }, + "end": { + "line": 298, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isOpen", + "range": [ + 8528, + 8534 + ], + "loc": { + "start": { + "line": 298, + "column": 18 + }, + "end": { + "line": 298, + "column": 24 + } + } + }, + "range": [ + 8523, + 8534 + ], + "loc": { + "start": { + "line": 298, + "column": 13 + }, + "end": { + "line": 298, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8535, + 8543 + ], + "loc": { + "start": { + "line": 298, + "column": 25 + }, + "end": { + "line": 298, + "column": 33 + } + } + } + ], + "range": [ + 8523, + 8544 + ], + "loc": { + "start": { + "line": 298, + "column": 13 + }, + "end": { + "line": 298, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 8522, + 8544 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8560, + 8564 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "open", + "range": [ + 8565, + 8569 + ], + "loc": { + "start": { + "line": 299, + "column": 17 + }, + "end": { + "line": 299, + "column": 21 + } + } + }, + "range": [ + 8560, + 8569 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8570, + 8578 + ], + "loc": { + "start": { + "line": 299, + "column": 22 + }, + "end": { + "line": 299, + "column": 30 + } + } + } + ], + "range": [ + 8560, + 8579 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 31 + } + } + }, + "range": [ + 8560, + 8580 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 299, + "column": 32 + } + } + } + ], + "range": [ + 8546, + 8590 + ], + "loc": { + "start": { + "line": 298, + "column": 36 + }, + "end": { + "line": 300, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8610, + 8614 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "close", + "range": [ + 8615, + 8620 + ], + "loc": { + "start": { + "line": 301, + "column": 17 + }, + "end": { + "line": 301, + "column": 22 + } + } + }, + "range": [ + 8610, + 8620 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8621, + 8629 + ], + "loc": { + "start": { + "line": 301, + "column": 23 + }, + "end": { + "line": 301, + "column": 31 + } + } + } + ], + "range": [ + 8610, + 8630 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 32 + } + } + }, + "range": [ + 8610, + 8631 + ], + "loc": { + "start": { + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 33 + } + } + } + ], + "range": [ + 8596, + 8641 + ], + "loc": { + "start": { + "line": 300, + "column": 15 + }, + "end": { + "line": 302, + "column": 9 + } + } + }, + "range": [ + 8518, + 8641 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 302, + "column": 9 + } + } + } + ], + "range": [ + 8508, + 8647 + ], + "loc": { + "start": { + "line": 297, + "column": 21 + }, + "end": { + "line": 303, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8497, + 8647 + ], + "loc": { + "start": { + "line": 297, + "column": 10 + }, + "end": { + "line": 303, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8491, + 8647 + ], + "loc": { + "start": { + "line": 297, + "column": 4 + }, + "end": { + "line": 303, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toggle visibility of specified filter\n * @param {Number} colIndex Column index\n ", + "range": [ + 8384, + 8486 + ], + "loc": { + "start": { + "line": 293, + "column": 4 + }, + "end": { + "line": 296, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Open popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 8653, + 8754 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 308, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "open", + "range": [ + 8759, + 8763 + ], + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 309, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8764, + 8772 + ], + "loc": { + "start": { + "line": 309, + "column": 9 + }, + "end": { + "line": 309, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 8788, + 8790 + ], + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8793, + 8797 + ], + "loc": { + "start": { + "line": 310, + "column": 17 + }, + "end": { + "line": 310, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 8798, + 8800 + ], + "loc": { + "start": { + "line": 310, + "column": 22 + }, + "end": { + "line": 310, + "column": 24 + } + } + }, + "range": [ + 8793, + 8800 + ], + "loc": { + "start": { + "line": 310, + "column": 17 + }, + "end": { + "line": 310, + "column": 24 + } + } + }, + "range": [ + 8788, + 8800 + ], + "loc": { + "start": { + "line": 310, + "column": 12 + }, + "end": { + "line": 310, + "column": 24 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "container", + "range": [ + 8814, + 8823 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8826, + 8830 + ], + "loc": { + "start": { + "line": 311, + "column": 24 + }, + "end": { + "line": 311, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 8831, + 8838 + ], + "loc": { + "start": { + "line": 311, + "column": 29 + }, + "end": { + "line": 311, + "column": 36 + } + } + }, + "range": [ + 8826, + 8838 + ], + "loc": { + "start": { + "line": 311, + "column": 24 + }, + "end": { + "line": 311, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8839, + 8847 + ], + "loc": { + "start": { + "line": 311, + "column": 37 + }, + "end": { + "line": 311, + "column": 45 + } + } + }, + "range": [ + 8826, + 8848 + ], + "loc": { + "start": { + "line": 311, + "column": 24 + }, + "end": { + "line": 311, + "column": 46 + } + } + }, + "range": [ + 8814, + 8848 + ], + "loc": { + "start": { + "line": 311, + "column": 12 + }, + "end": { + "line": 311, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 8784, + 8849 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 311, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8859, + 8863 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeOpen", + "range": [ + 8864, + 8876 + ], + "loc": { + "start": { + "line": 313, + "column": 13 + }, + "end": { + "line": 313, + "column": 25 + } + } + }, + "range": [ + 8859, + 8876 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 8877, + 8881 + ], + "loc": { + "start": { + "line": 313, + "column": 26 + }, + "end": { + "line": 313, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 8883, + 8892 + ], + "loc": { + "start": { + "line": 313, + "column": 32 + }, + "end": { + "line": 313, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8894, + 8902 + ], + "loc": { + "start": { + "line": 313, + "column": 43 + }, + "end": { + "line": 313, + "column": 51 + } + } + } + ], + "range": [ + 8859, + 8903 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 52 + } + } + }, + "range": [ + 8859, + 8904 + ], + "loc": { + "start": { + "line": 313, + "column": 8 + }, + "end": { + "line": 313, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 8914, + 8923 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 8924, + 8929 + ], + "loc": { + "start": { + "line": 315, + "column": 18 + }, + "end": { + "line": 315, + "column": 23 + } + } + }, + "range": [ + 8914, + 8929 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 8930, + 8937 + ], + "loc": { + "start": { + "line": 315, + "column": 24 + }, + "end": { + "line": 315, + "column": 31 + } + } + }, + "range": [ + 8914, + 8937 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "block", + "raw": "'block'", + "range": [ + 8940, + 8947 + ], + "loc": { + "start": { + "line": 315, + "column": 34 + }, + "end": { + "line": 315, + "column": 41 + } + } + }, + "range": [ + 8914, + 8947 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 41 + } + } + }, + "range": [ + 8914, + 8948 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8957, + 8961 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 8962, + 8977 + ], + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 28 + } + } + }, + "range": [ + 8957, + 8977 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 8980, + 8988 + ], + "loc": { + "start": { + "line": 316, + "column": 31 + }, + "end": { + "line": 316, + "column": 39 + } + } + }, + "range": [ + 8957, + 8988 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 39 + } + } + }, + "range": [ + 8957, + 8989 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8998, + 9004 + ], + "loc": { + "start": { + "line": 317, + "column": 8 + }, + "end": { + "line": 317, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 9005, + 9009 + ], + "loc": { + "start": { + "line": 317, + "column": 15 + }, + "end": { + "line": 317, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 9011, + 9020 + ], + "loc": { + "start": { + "line": 317, + "column": 21 + }, + "end": { + "line": 317, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9023, + 9026 + ], + "loc": { + "start": { + "line": 317, + "column": 33 + }, + "end": { + "line": 317, + "column": 36 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9031, + 9035 + ], + "loc": { + "start": { + "line": 317, + "column": 41 + }, + "end": { + "line": 317, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 9036, + 9045 + ], + "loc": { + "start": { + "line": 317, + "column": 46 + }, + "end": { + "line": 317, + "column": 55 + } + } + }, + "range": [ + 9031, + 9045 + ], + "loc": { + "start": { + "line": 317, + "column": 41 + }, + "end": { + "line": 317, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9046, + 9049 + ], + "loc": { + "start": { + "line": 317, + "column": 56 + }, + "end": { + "line": 317, + "column": 59 + } + } + } + ], + "range": [ + 9031, + 9050 + ], + "loc": { + "start": { + "line": 317, + "column": 41 + }, + "end": { + "line": 317, + "column": 60 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 9022, + 9050 + ], + "loc": { + "start": { + "line": 317, + "column": 32 + }, + "end": { + "line": 317, + "column": 60 + } + } + } + ], + "range": [ + 8998, + 9051 + ], + "loc": { + "start": { + "line": 317, + "column": 8 + }, + "end": { + "line": 317, + "column": 61 + } + } + }, + "range": [ + 8998, + 9052 + ], + "loc": { + "start": { + "line": 317, + "column": 8 + }, + "end": { + "line": 317, + "column": 62 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9066, + 9068 + ], + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 9069, + 9082 + ], + "loc": { + "start": { + "line": 319, + "column": 15 + }, + "end": { + "line": 319, + "column": 28 + } + } + }, + "range": [ + 9066, + 9082 + ], + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9083, + 9091 + ], + "loc": { + "start": { + "line": 319, + "column": 29 + }, + "end": { + "line": 319, + "column": 37 + } + } + } + ], + "range": [ + 9066, + 9092 + ], + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 9097, + 9102 + ], + "loc": { + "start": { + "line": 319, + "column": 43 + }, + "end": { + "line": 319, + "column": 48 + } + } + }, + "range": [ + 9066, + 9102 + ], + "loc": { + "start": { + "line": 319, + "column": 12 + }, + "end": { + "line": 319, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "flt", + "range": [ + 9122, + 9125 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 9128, + 9130 + ], + "loc": { + "start": { + "line": 320, + "column": 22 + }, + "end": { + "line": 320, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 9131, + 9147 + ], + "loc": { + "start": { + "line": 320, + "column": 25 + }, + "end": { + "line": 320, + "column": 41 + } + } + }, + "range": [ + 9128, + 9147 + ], + "loc": { + "start": { + "line": 320, + "column": 22 + }, + "end": { + "line": 320, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9148, + 9156 + ], + "loc": { + "start": { + "line": 320, + "column": 42 + }, + "end": { + "line": 320, + "column": 50 + } + } + } + ], + "range": [ + 9128, + 9157 + ], + "loc": { + "start": { + "line": 320, + "column": 22 + }, + "end": { + "line": 320, + "column": 51 + } + } + }, + "range": [ + 9122, + 9157 + ], + "loc": { + "start": { + "line": 320, + "column": 16 + }, + "end": { + "line": 320, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 9118, + 9158 + ], + "loc": { + "start": { + "line": 320, + "column": 12 + }, + "end": { + "line": 320, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "flt", + "range": [ + 9175, + 9178 + ], + "loc": { + "start": { + "line": 321, + "column": 16 + }, + "end": { + "line": 321, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 9198, + 9201 + ], + "loc": { + "start": { + "line": 322, + "column": 16 + }, + "end": { + "line": 322, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "focus", + "range": [ + 9202, + 9207 + ], + "loc": { + "start": { + "line": 322, + "column": 20 + }, + "end": { + "line": 322, + "column": 25 + } + } + }, + "range": [ + 9198, + 9207 + ], + "loc": { + "start": { + "line": 322, + "column": 16 + }, + "end": { + "line": 322, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 9198, + 9209 + ], + "loc": { + "start": { + "line": 322, + "column": 16 + }, + "end": { + "line": 322, + "column": 27 + } + } + }, + "range": [ + 9198, + 9210 + ], + "loc": { + "start": { + "line": 322, + "column": 16 + }, + "end": { + "line": 322, + "column": 28 + } + } + } + ], + "range": [ + 9180, + 9224 + ], + "loc": { + "start": { + "line": 321, + "column": 21 + }, + "end": { + "line": 323, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 9171, + 9224 + ], + "loc": { + "start": { + "line": 321, + "column": 12 + }, + "end": { + "line": 323, + "column": 13 + } + } + } + ], + "range": [ + 9104, + 9234 + ], + "loc": { + "start": { + "line": 319, + "column": 50 + }, + "end": { + "line": 324, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9062, + 9234 + ], + "loc": { + "start": { + "line": 319, + "column": 8 + }, + "end": { + "line": 324, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9244, + 9248 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterOpen", + "range": [ + 9249, + 9260 + ], + "loc": { + "start": { + "line": 326, + "column": 13 + }, + "end": { + "line": 326, + "column": 24 + } + } + }, + "range": [ + 9244, + 9260 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 9261, + 9265 + ], + "loc": { + "start": { + "line": 326, + "column": 25 + }, + "end": { + "line": 326, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 9267, + 9276 + ], + "loc": { + "start": { + "line": 326, + "column": 31 + }, + "end": { + "line": 326, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9278, + 9286 + ], + "loc": { + "start": { + "line": 326, + "column": 42 + }, + "end": { + "line": 326, + "column": 50 + } + } + } + ], + "range": [ + 9244, + 9287 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 51 + } + } + }, + "range": [ + 9244, + 9288 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 52 + } + } + } + ], + "range": [ + 8774, + 9294 + ], + "loc": { + "start": { + "line": 309, + "column": 19 + }, + "end": { + "line": 327, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8763, + 9294 + ], + "loc": { + "start": { + "line": 309, + "column": 8 + }, + "end": { + "line": 327, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8759, + 9294 + ], + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 327, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Open popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 8653, + 8754 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 308, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Close popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 9300, + 9402 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 332, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "close", + "range": [ + 9407, + 9412 + ], + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 9 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9413, + 9421 + ], + "loc": { + "start": { + "line": 333, + "column": 10 + }, + "end": { + "line": 333, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "container", + "range": [ + 9437, + 9446 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9449, + 9453 + ], + "loc": { + "start": { + "line": 334, + "column": 24 + }, + "end": { + "line": 334, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 9454, + 9461 + ], + "loc": { + "start": { + "line": 334, + "column": 29 + }, + "end": { + "line": 334, + "column": 36 + } + } + }, + "range": [ + 9449, + 9461 + ], + "loc": { + "start": { + "line": 334, + "column": 24 + }, + "end": { + "line": 334, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9462, + 9470 + ], + "loc": { + "start": { + "line": 334, + "column": 37 + }, + "end": { + "line": 334, + "column": 45 + } + } + }, + "range": [ + 9449, + 9471 + ], + "loc": { + "start": { + "line": 334, + "column": 24 + }, + "end": { + "line": 334, + "column": 46 + } + } + }, + "range": [ + 9437, + 9471 + ], + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 9433, + 9472 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 334, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9482, + 9486 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeClose", + "range": [ + 9487, + 9500 + ], + "loc": { + "start": { + "line": 336, + "column": 13 + }, + "end": { + "line": 336, + "column": 26 + } + } + }, + "range": [ + 9482, + 9500 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 9501, + 9505 + ], + "loc": { + "start": { + "line": 336, + "column": 27 + }, + "end": { + "line": 336, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 9507, + 9516 + ], + "loc": { + "start": { + "line": 336, + "column": 33 + }, + "end": { + "line": 336, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9518, + 9526 + ], + "loc": { + "start": { + "line": 336, + "column": 44 + }, + "end": { + "line": 336, + "column": 52 + } + } + } + ], + "range": [ + 9482, + 9527 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 53 + } + } + }, + "range": [ + 9482, + 9528 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 9538, + 9547 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 9548, + 9553 + ], + "loc": { + "start": { + "line": 338, + "column": 18 + }, + "end": { + "line": 338, + "column": 23 + } + } + }, + "range": [ + 9538, + 9553 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 9554, + 9561 + ], + "loc": { + "start": { + "line": 338, + "column": 24 + }, + "end": { + "line": 338, + "column": 31 + } + } + }, + "range": [ + 9538, + 9561 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 9564, + 9568 + ], + "loc": { + "start": { + "line": 338, + "column": 34 + }, + "end": { + "line": 338, + "column": 38 + } + } + }, + "range": [ + 9538, + 9568 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 38 + } + } + }, + "range": [ + 9538, + 9569 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9582, + 9586 + ], + "loc": { + "start": { + "line": 339, + "column": 12 + }, + "end": { + "line": 339, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 9587, + 9602 + ], + "loc": { + "start": { + "line": 339, + "column": 17 + }, + "end": { + "line": 339, + "column": 32 + } + } + }, + "range": [ + 9582, + 9602 + ], + "loc": { + "start": { + "line": 339, + "column": 12 + }, + "end": { + "line": 339, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9607, + 9615 + ], + "loc": { + "start": { + "line": 339, + "column": 37 + }, + "end": { + "line": 339, + "column": 45 + } + } + }, + "range": [ + 9582, + 9615 + ], + "loc": { + "start": { + "line": 339, + "column": 12 + }, + "end": { + "line": 339, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9631, + 9635 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterIdx", + "range": [ + 9636, + 9651 + ], + "loc": { + "start": { + "line": 340, + "column": 17 + }, + "end": { + "line": 340, + "column": 32 + } + } + }, + "range": [ + 9631, + 9651 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 32 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 9655, + 9656 + ], + "loc": { + "start": { + "line": 340, + "column": 36 + }, + "end": { + "line": 340, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 9654, + 9656 + ], + "loc": { + "start": { + "line": 340, + "column": 35 + }, + "end": { + "line": 340, + "column": 37 + } + } + }, + "range": [ + 9631, + 9656 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 37 + } + } + }, + "range": [ + 9631, + 9657 + ], + "loc": { + "start": { + "line": 340, + "column": 12 + }, + "end": { + "line": 340, + "column": 38 + } + } + } + ], + "range": [ + 9617, + 9667 + ], + "loc": { + "start": { + "line": 339, + "column": 47 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 9578, + 9667 + ], + "loc": { + "start": { + "line": 339, + "column": 8 + }, + "end": { + "line": 341, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeEvt", + "range": [ + 9676, + 9685 + ], + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "root", + "range": [ + 9686, + 9690 + ], + "loc": { + "start": { + "line": 342, + "column": 18 + }, + "end": { + "line": 342, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "mouseup", + "raw": "'mouseup'", + "range": [ + 9692, + 9701 + ], + "loc": { + "start": { + "line": 342, + "column": 24 + }, + "end": { + "line": 342, + "column": 33 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9704, + 9707 + ], + "loc": { + "start": { + "line": 342, + "column": 36 + }, + "end": { + "line": 342, + "column": 39 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9712, + 9716 + ], + "loc": { + "start": { + "line": 342, + "column": 44 + }, + "end": { + "line": 342, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "onMouseup", + "range": [ + 9717, + 9726 + ], + "loc": { + "start": { + "line": 342, + "column": 49 + }, + "end": { + "line": 342, + "column": 58 + } + } + }, + "range": [ + 9712, + 9726 + ], + "loc": { + "start": { + "line": 342, + "column": 44 + }, + "end": { + "line": 342, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 9727, + 9730 + ], + "loc": { + "start": { + "line": 342, + "column": 59 + }, + "end": { + "line": 342, + "column": 62 + } + } + } + ], + "range": [ + 9712, + 9731 + ], + "loc": { + "start": { + "line": 342, + "column": 44 + }, + "end": { + "line": 342, + "column": 63 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 9703, + 9731 + ], + "loc": { + "start": { + "line": 342, + "column": 35 + }, + "end": { + "line": 342, + "column": 63 + } + } + } + ], + "range": [ + 9676, + 9732 + ], + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 64 + } + } + }, + "range": [ + 9676, + 9733 + ], + "loc": { + "start": { + "line": 342, + "column": 8 + }, + "end": { + "line": 342, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9743, + 9747 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterClose", + "range": [ + 9748, + 9760 + ], + "loc": { + "start": { + "line": 344, + "column": 13 + }, + "end": { + "line": 344, + "column": 25 + } + } + }, + "range": [ + 9743, + 9760 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 9761, + 9765 + ], + "loc": { + "start": { + "line": 344, + "column": 26 + }, + "end": { + "line": 344, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 9767, + 9776 + ], + "loc": { + "start": { + "line": 344, + "column": 32 + }, + "end": { + "line": 344, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9778, + 9786 + ], + "loc": { + "start": { + "line": 344, + "column": 43 + }, + "end": { + "line": 344, + "column": 51 + } + } + } + ], + "range": [ + 9743, + 9787 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 52 + } + } + }, + "range": [ + 9743, + 9788 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 53 + } + } + } + ], + "range": [ + 9423, + 9794 + ], + "loc": { + "start": { + "line": 333, + "column": 20 + }, + "end": { + "line": 345, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9412, + 9794 + ], + "loc": { + "start": { + "line": 333, + "column": 9 + }, + "end": { + "line": 345, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9407, + 9794 + ], + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 345, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Close popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 9300, + 9402 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 332, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if popup filter for specified column is open\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n ", + "range": [ + 9800, + 9940 + ], + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isOpen", + "range": [ + 9945, + 9951 + ], + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 352, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9952, + 9960 + ], + "loc": { + "start": { + "line": 352, + "column": 11 + }, + "end": { + "line": 352, + "column": 19 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9979, + 9983 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 9984, + 9991 + ], + "loc": { + "start": { + "line": 353, + "column": 20 + }, + "end": { + "line": 353, + "column": 27 + } + } + }, + "range": [ + 9979, + 9991 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 9992, + 10000 + ], + "loc": { + "start": { + "line": 353, + "column": 28 + }, + "end": { + "line": 353, + "column": 36 + } + } + }, + "range": [ + 9979, + 10001 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 10002, + 10007 + ], + "loc": { + "start": { + "line": 353, + "column": 38 + }, + "end": { + "line": 353, + "column": 43 + } + } + }, + "range": [ + 9979, + 10007 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 10008, + 10015 + ], + "loc": { + "start": { + "line": 353, + "column": 44 + }, + "end": { + "line": 353, + "column": 51 + } + } + }, + "range": [ + 9979, + 10015 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": "block", + "raw": "'block'", + "range": [ + 10020, + 10027 + ], + "loc": { + "start": { + "line": 353, + "column": 56 + }, + "end": { + "line": 353, + "column": 63 + } + } + }, + "range": [ + 9979, + 10027 + ], + "loc": { + "start": { + "line": 353, + "column": 15 + }, + "end": { + "line": 353, + "column": 63 + } + } + }, + "range": [ + 9972, + 10028 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 64 + } + } + } + ], + "range": [ + 9962, + 10034 + ], + "loc": { + "start": { + "line": 352, + "column": 21 + }, + "end": { + "line": 354, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9951, + 10034 + ], + "loc": { + "start": { + "line": 352, + "column": 10 + }, + "end": { + "line": 354, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9945, + 10034 + ], + "loc": { + "start": { + "line": 352, + "column": 4 + }, + "end": { + "line": 354, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if popup filter for specified column is open\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n ", + "range": [ + 9800, + 9940 + ], + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n ", + "range": [ + 10040, + 10188 + ], + "loc": { + "start": { + "line": 356, + "column": 4 + }, + "end": { + "line": 359, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "closeAll", + "range": [ + 10193, + 10201 + ], + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 360, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "exceptIdx", + "range": [ + 10202, + 10211 + ], + "loc": { + "start": { + "line": 360, + "column": 13 + }, + "end": { + "line": 360, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 10342, + 10349 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "exceptIdx", + "range": [ + 10350, + 10359 + ], + "loc": { + "start": { + "line": 363, + "column": 20 + }, + "end": { + "line": 363, + "column": 29 + } + } + } + ], + "range": [ + 10342, + 10360 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 30 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10365, + 10369 + ], + "loc": { + "start": { + "line": 363, + "column": 35 + }, + "end": { + "line": 363, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeOnFiltering", + "range": [ + 10370, + 10386 + ], + "loc": { + "start": { + "line": 363, + "column": 40 + }, + "end": { + "line": 363, + "column": 56 + } + } + }, + "range": [ + 10365, + 10386 + ], + "loc": { + "start": { + "line": 363, + "column": 35 + }, + "end": { + "line": 363, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 10364, + 10386 + ], + "loc": { + "start": { + "line": 363, + "column": 34 + }, + "end": { + "line": 363, + "column": 56 + } + } + }, + "range": [ + 10342, + 10386 + ], + "loc": { + "start": { + "line": 363, + "column": 12 + }, + "end": { + "line": 363, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 10402, + 10409 + ], + "loc": { + "start": { + "line": 364, + "column": 12 + }, + "end": { + "line": 364, + "column": 19 + } + } + } + ], + "range": [ + 10388, + 10419 + ], + "loc": { + "start": { + "line": 363, + "column": 58 + }, + "end": { + "line": 365, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10338, + 10419 + ], + "loc": { + "start": { + "line": 363, + "column": 8 + }, + "end": { + "line": 365, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Do not close filters only if argument is undefined and close on", + "range": [ + 10223, + 10289 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 361, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " filtering option is disabled", + "range": [ + 10298, + 10329 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 39 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 10437, + 10438 + ], + "loc": { + "start": { + "line": 366, + "column": 17 + }, + "end": { + "line": 366, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 10441, + 10442 + ], + "loc": { + "start": { + "line": 366, + "column": 21 + }, + "end": { + "line": 366, + "column": 22 + } + } + }, + "range": [ + 10437, + 10442 + ], + "loc": { + "start": { + "line": 366, + "column": 17 + }, + "end": { + "line": 366, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 10433, + 10442 + ], + "loc": { + "start": { + "line": 366, + "column": 13 + }, + "end": { + "line": 366, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 10444, + 10445 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10448, + 10452 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 10453, + 10460 + ], + "loc": { + "start": { + "line": 366, + "column": 33 + }, + "end": { + "line": 366, + "column": 40 + } + } + }, + "range": [ + 10448, + 10460 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 10461, + 10467 + ], + "loc": { + "start": { + "line": 366, + "column": 41 + }, + "end": { + "line": 366, + "column": 47 + } + } + }, + "range": [ + 10448, + 10467 + ], + "loc": { + "start": { + "line": 366, + "column": 28 + }, + "end": { + "line": 366, + "column": 47 + } + } + }, + "range": [ + 10444, + 10467 + ], + "loc": { + "start": { + "line": 366, + "column": 24 + }, + "end": { + "line": 366, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 10469, + 10470 + ], + "loc": { + "start": { + "line": 366, + "column": 49 + }, + "end": { + "line": 366, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 10469, + 10472 + ], + "loc": { + "start": { + "line": 366, + "column": 49 + }, + "end": { + "line": 366, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 10492, + 10493 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "exceptIdx", + "range": [ + 10498, + 10507 + ], + "loc": { + "start": { + "line": 367, + "column": 22 + }, + "end": { + "line": 367, + "column": 31 + } + } + }, + "range": [ + 10492, + 10507 + ], + "loc": { + "start": { + "line": 367, + "column": 16 + }, + "end": { + "line": 367, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 10527, + 10536 + ], + "loc": { + "start": { + "line": 368, + "column": 16 + }, + "end": { + "line": 368, + "column": 25 + } + } + } + ], + "range": [ + 10509, + 10550 + ], + "loc": { + "start": { + "line": 367, + "column": 33 + }, + "end": { + "line": 369, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10488, + 10550 + ], + "loc": { + "start": { + "line": 367, + "column": 12 + }, + "end": { + "line": 369, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltType", + "range": [ + 10567, + 10574 + ], + "loc": { + "start": { + "line": 370, + "column": 16 + }, + "end": { + "line": 370, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10577, + 10581 + ], + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10582, + 10584 + ], + "loc": { + "start": { + "line": 370, + "column": 31 + }, + "end": { + "line": 370, + "column": 33 + } + } + }, + "range": [ + 10577, + 10584 + ], + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 10585, + 10598 + ], + "loc": { + "start": { + "line": 370, + "column": 34 + }, + "end": { + "line": 370, + "column": 47 + } + } + }, + "range": [ + 10577, + 10598 + ], + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 10599, + 10600 + ], + "loc": { + "start": { + "line": 370, + "column": 48 + }, + "end": { + "line": 370, + "column": 49 + } + } + } + ], + "range": [ + 10577, + 10601 + ], + "loc": { + "start": { + "line": 370, + "column": 26 + }, + "end": { + "line": 370, + "column": 50 + } + } + }, + "range": [ + 10567, + 10601 + ], + "loc": { + "start": { + "line": 370, + "column": 16 + }, + "end": { + "line": 370, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 10563, + 10602 + ], + "loc": { + "start": { + "line": 370, + "column": 12 + }, + "end": { + "line": 370, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isMultipleFilter", + "range": [ + 10619, + 10635 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 371, + "column": 32 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltType", + "range": [ + 10655, + 10662 + ], + "loc": { + "start": { + "line": 372, + "column": 17 + }, + "end": { + "line": 372, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 10667, + 10676 + ], + "loc": { + "start": { + "line": 372, + "column": 29 + }, + "end": { + "line": 372, + "column": 38 + } + } + }, + "range": [ + 10655, + 10676 + ], + "loc": { + "start": { + "line": 372, + "column": 17 + }, + "end": { + "line": 372, + "column": 38 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltType", + "range": [ + 10680, + 10687 + ], + "loc": { + "start": { + "line": 372, + "column": 42 + }, + "end": { + "line": 372, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 10692, + 10700 + ], + "loc": { + "start": { + "line": 372, + "column": 54 + }, + "end": { + "line": 372, + "column": 62 + } + } + }, + "range": [ + 10680, + 10700 + ], + "loc": { + "start": { + "line": 372, + "column": 42 + }, + "end": { + "line": 372, + "column": 62 + } + } + }, + "range": [ + 10655, + 10700 + ], + "loc": { + "start": { + "line": 372, + "column": 17 + }, + "end": { + "line": 372, + "column": 62 + } + } + }, + "range": [ + 10619, + 10701 + ], + "loc": { + "start": { + "line": 371, + "column": 16 + }, + "end": { + "line": 372, + "column": 63 + } + } + } + ], + "kind": "let", + "range": [ + 10615, + 10702 + ], + "loc": { + "start": { + "line": 371, + "column": 12 + }, + "end": { + "line": 372, + "column": 64 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Always hide all single selection filter types but hide multiple", + "range": [ + 10716, + 10782 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 78 + } + } + }, + { + "type": "Line", + "value": " selection filter types only if index set", + "range": [ + 10795, + 10838 + ], + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 375, + "column": 55 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isMultipleFilter", + "range": [ + 10856, + 10872 + ], + "loc": { + "start": { + "line": 376, + "column": 17 + }, + "end": { + "line": 376, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 10855, + 10872 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 33 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 10877, + 10884 + ], + "loc": { + "start": { + "line": 376, + "column": 38 + }, + "end": { + "line": 376, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "exceptIdx", + "range": [ + 10885, + 10894 + ], + "loc": { + "start": { + "line": 376, + "column": 46 + }, + "end": { + "line": 376, + "column": 55 + } + } + } + ], + "range": [ + 10877, + 10895 + ], + "loc": { + "start": { + "line": 376, + "column": 38 + }, + "end": { + "line": 376, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 10876, + 10895 + ], + "loc": { + "start": { + "line": 376, + "column": 37 + }, + "end": { + "line": 376, + "column": 56 + } + } + }, + "range": [ + 10855, + 10895 + ], + "loc": { + "start": { + "line": 376, + "column": 16 + }, + "end": { + "line": 376, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10915, + 10919 + ], + "loc": { + "start": { + "line": 377, + "column": 16 + }, + "end": { + "line": 377, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "close", + "range": [ + 10920, + 10925 + ], + "loc": { + "start": { + "line": 377, + "column": 21 + }, + "end": { + "line": 377, + "column": 26 + } + } + }, + "range": [ + 10915, + 10925 + ], + "loc": { + "start": { + "line": 377, + "column": 16 + }, + "end": { + "line": 377, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 10926, + 10927 + ], + "loc": { + "start": { + "line": 377, + "column": 27 + }, + "end": { + "line": 377, + "column": 28 + } + } + } + ], + "range": [ + 10915, + 10928 + ], + "loc": { + "start": { + "line": 377, + "column": 16 + }, + "end": { + "line": 377, + "column": 29 + } + } + }, + "range": [ + 10915, + 10929 + ], + "loc": { + "start": { + "line": 377, + "column": 16 + }, + "end": { + "line": 377, + "column": 30 + } + } + } + ], + "range": [ + 10897, + 10943 + ], + "loc": { + "start": { + "line": 376, + "column": 58 + }, + "end": { + "line": 378, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 10851, + 10943 + ], + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 378, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Always hide all single selection filter types but hide multiple", + "range": [ + 10716, + 10782 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 78 + } + } + }, + { + "type": "Line", + "value": " selection filter types only if index set", + "range": [ + 10795, + 10838 + ], + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 375, + "column": 55 + } + } + } + ] + } + ], + "range": [ + 10474, + 10953 + ], + "loc": { + "start": { + "line": 366, + "column": 54 + }, + "end": { + "line": 379, + "column": 9 + } + } + }, + "range": [ + 10428, + 10953 + ], + "loc": { + "start": { + "line": 366, + "column": 8 + }, + "end": { + "line": 379, + "column": 9 + } + } + } + ], + "range": [ + 10213, + 10959 + ], + "loc": { + "start": { + "line": 360, + "column": 24 + }, + "end": { + "line": 380, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10201, + 10959 + ], + "loc": { + "start": { + "line": 360, + "column": 12 + }, + "end": { + "line": 380, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10193, + 10959 + ], + "loc": { + "start": { + "line": 360, + "column": 4 + }, + "end": { + "line": 380, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n ", + "range": [ + 10040, + 10188 + ], + "loc": { + "start": { + "line": 356, + "column": 4 + }, + "end": { + "line": 359, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build all the icons representing the pop-up filters\n ", + "range": [ + 10965, + 11035 + ], + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 384, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setIconsState", + "range": [ + 11040, + 11053 + ], + "loc": { + "start": { + "line": 385, + "column": 4 + }, + "end": { + "line": 385, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 11075, + 11076 + ], + "loc": { + "start": { + "line": 386, + "column": 17 + }, + "end": { + "line": 386, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11079, + 11080 + ], + "loc": { + "start": { + "line": 386, + "column": 21 + }, + "end": { + "line": 386, + "column": 22 + } + } + }, + "range": [ + 11075, + 11080 + ], + "loc": { + "start": { + "line": 386, + "column": 17 + }, + "end": { + "line": 386, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 11071, + 11080 + ], + "loc": { + "start": { + "line": 386, + "column": 13 + }, + "end": { + "line": 386, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 11082, + 11083 + ], + "loc": { + "start": { + "line": 386, + "column": 24 + }, + "end": { + "line": 386, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11086, + 11090 + ], + "loc": { + "start": { + "line": 386, + "column": 28 + }, + "end": { + "line": 386, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 11091, + 11099 + ], + "loc": { + "start": { + "line": 386, + "column": 33 + }, + "end": { + "line": 386, + "column": 41 + } + } + }, + "range": [ + 11086, + 11099 + ], + "loc": { + "start": { + "line": 386, + "column": 28 + }, + "end": { + "line": 386, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11100, + 11106 + ], + "loc": { + "start": { + "line": 386, + "column": 42 + }, + "end": { + "line": 386, + "column": 48 + } + } + }, + "range": [ + 11086, + 11106 + ], + "loc": { + "start": { + "line": 386, + "column": 28 + }, + "end": { + "line": 386, + "column": 48 + } + } + }, + "range": [ + 11082, + 11106 + ], + "loc": { + "start": { + "line": 386, + "column": 24 + }, + "end": { + "line": 386, + "column": 48 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 11108, + 11109 + ], + "loc": { + "start": { + "line": 386, + "column": 50 + }, + "end": { + "line": 386, + "column": 51 + } + } + }, + "prefix": false, + "range": [ + 11108, + 11111 + ], + "loc": { + "start": { + "line": 386, + "column": 50 + }, + "end": { + "line": 386, + "column": 53 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11127, + 11131 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeState", + "range": [ + 11132, + 11143 + ], + "loc": { + "start": { + "line": 387, + "column": 17 + }, + "end": { + "line": 387, + "column": 28 + } + } + }, + "range": [ + 11127, + 11143 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 11144, + 11145 + ], + "loc": { + "start": { + "line": 387, + "column": 29 + }, + "end": { + "line": 387, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 11147, + 11152 + ], + "loc": { + "start": { + "line": 387, + "column": 32 + }, + "end": { + "line": 387, + "column": 37 + } + } + } + ], + "range": [ + 11127, + 11153 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 38 + } + } + }, + "range": [ + 11127, + 11154 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 39 + } + } + } + ], + "range": [ + 11113, + 11164 + ], + "loc": { + "start": { + "line": 386, + "column": 55 + }, + "end": { + "line": 388, + "column": 9 + } + } + }, + "range": [ + 11066, + 11164 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 388, + "column": 9 + } + } + } + ], + "range": [ + 11056, + 11170 + ], + "loc": { + "start": { + "line": 385, + "column": 20 + }, + "end": { + "line": 389, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11053, + 11170 + ], + "loc": { + "start": { + "line": 385, + "column": 17 + }, + "end": { + "line": 389, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11040, + 11170 + ], + "loc": { + "start": { + "line": 385, + "column": 4 + }, + "end": { + "line": 389, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build all the icons representing the pop-up filters\n ", + "range": [ + 10965, + 11035 + ], + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 384, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", + "range": [ + 11176, + 11320 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 395, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "changeState", + "range": [ + 11325, + 11336 + ], + "loc": { + "start": { + "line": 396, + "column": 4 + }, + "end": { + "line": 396, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11337, + 11345 + ], + "loc": { + "start": { + "line": 396, + "column": 16 + }, + "end": { + "line": 396, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "active", + "range": [ + 11347, + 11353 + ], + "loc": { + "start": { + "line": 396, + "column": 26 + }, + "end": { + "line": 396, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "icon", + "range": [ + 11369, + 11373 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11376, + 11380 + ], + "loc": { + "start": { + "line": 397, + "column": 19 + }, + "end": { + "line": 397, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 11381, + 11389 + ], + "loc": { + "start": { + "line": 397, + "column": 24 + }, + "end": { + "line": 397, + "column": 32 + } + } + }, + "range": [ + 11376, + 11389 + ], + "loc": { + "start": { + "line": 397, + "column": 19 + }, + "end": { + "line": 397, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 11390, + 11398 + ], + "loc": { + "start": { + "line": 397, + "column": 33 + }, + "end": { + "line": 397, + "column": 41 + } + } + }, + "range": [ + 11376, + 11399 + ], + "loc": { + "start": { + "line": 397, + "column": 19 + }, + "end": { + "line": 397, + "column": 42 + } + } + }, + "range": [ + 11369, + 11399 + ], + "loc": { + "start": { + "line": 397, + "column": 12 + }, + "end": { + "line": 397, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 11365, + 11400 + ], + "loc": { + "start": { + "line": 397, + "column": 8 + }, + "end": { + "line": 397, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "icon", + "range": [ + 11413, + 11417 + ], + "loc": { + "start": { + "line": 398, + "column": 12 + }, + "end": { + "line": 398, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "icon", + "range": [ + 11433, + 11437 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "src", + "range": [ + 11438, + 11441 + ], + "loc": { + "start": { + "line": 399, + "column": 17 + }, + "end": { + "line": 399, + "column": 20 + } + } + }, + "range": [ + 11433, + 11441 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 20 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "active", + "range": [ + 11444, + 11450 + ], + "loc": { + "start": { + "line": 399, + "column": 23 + }, + "end": { + "line": 399, + "column": 29 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11453, + 11457 + ], + "loc": { + "start": { + "line": 399, + "column": 32 + }, + "end": { + "line": 399, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeIconPath", + "range": [ + 11458, + 11472 + ], + "loc": { + "start": { + "line": 399, + "column": 37 + }, + "end": { + "line": 399, + "column": 51 + } + } + }, + "range": [ + 11453, + 11472 + ], + "loc": { + "start": { + "line": 399, + "column": 32 + }, + "end": { + "line": 399, + "column": 51 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11475, + 11479 + ], + "loc": { + "start": { + "line": 399, + "column": 54 + }, + "end": { + "line": 399, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "iconPath", + "range": [ + 11480, + 11488 + ], + "loc": { + "start": { + "line": 399, + "column": 59 + }, + "end": { + "line": 399, + "column": 67 + } + } + }, + "range": [ + 11475, + 11488 + ], + "loc": { + "start": { + "line": 399, + "column": 54 + }, + "end": { + "line": 399, + "column": 67 + } + } + }, + "range": [ + 11444, + 11488 + ], + "loc": { + "start": { + "line": 399, + "column": 23 + }, + "end": { + "line": 399, + "column": 67 + } + } + }, + "range": [ + 11433, + 11488 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 67 + } + } + }, + "range": [ + 11433, + 11489 + ], + "loc": { + "start": { + "line": 399, + "column": 12 + }, + "end": { + "line": 399, + "column": 68 + } + } + } + ], + "range": [ + 11419, + 11499 + ], + "loc": { + "start": { + "line": 398, + "column": 18 + }, + "end": { + "line": 400, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11409, + 11499 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 400, + "column": 9 + } + } + } + ], + "range": [ + 11355, + 11505 + ], + "loc": { + "start": { + "line": 396, + "column": 34 + }, + "end": { + "line": 401, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11336, + 11505 + ], + "loc": { + "start": { + "line": 396, + "column": 15 + }, + "end": { + "line": 401, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11325, + 11505 + ], + "loc": { + "start": { + "line": 396, + "column": 4 + }, + "end": { + "line": 401, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", + "range": [ + 11176, + 11320 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 395, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove pop-up filters\n ", + "range": [ + 11511, + 11551 + ], + "loc": { + "start": { + "line": 403, + "column": 4 + }, + "end": { + "line": 405, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 11556, + 11563 + ], + "loc": { + "start": { + "line": 406, + "column": 4 + }, + "end": { + "line": 406, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11581, + 11585 + ], + "loc": { + "start": { + "line": 407, + "column": 13 + }, + "end": { + "line": 407, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 11586, + 11597 + ], + "loc": { + "start": { + "line": 407, + "column": 18 + }, + "end": { + "line": 407, + "column": 29 + } + } + }, + "range": [ + 11581, + 11597 + ], + "loc": { + "start": { + "line": 407, + "column": 13 + }, + "end": { + "line": 407, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 11580, + 11597 + ], + "loc": { + "start": { + "line": 407, + "column": 12 + }, + "end": { + "line": 407, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 11613, + 11620 + ], + "loc": { + "start": { + "line": 408, + "column": 12 + }, + "end": { + "line": 408, + "column": 19 + } + } + } + ], + "range": [ + 11599, + 11630 + ], + "loc": { + "start": { + "line": 407, + "column": 31 + }, + "end": { + "line": 409, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11576, + 11630 + ], + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 409, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11640, + 11644 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 11645, + 11657 + ], + "loc": { + "start": { + "line": 411, + "column": 13 + }, + "end": { + "line": 411, + "column": 25 + } + } + }, + "range": [ + 11640, + 11657 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 25 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11660, + 11662 + ], + "loc": { + "start": { + "line": 411, + "column": 28 + }, + "end": { + "line": 411, + "column": 30 + } + } + }, + "range": [ + 11640, + 11662 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 30 + } + } + }, + "range": [ + 11640, + 11663 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 31 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 11681, + 11682 + ], + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 11685, + 11686 + ], + "loc": { + "start": { + "line": 412, + "column": 21 + }, + "end": { + "line": 412, + "column": 22 + } + } + }, + "range": [ + 11681, + 11686 + ], + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 11677, + 11686 + ], + "loc": { + "start": { + "line": 412, + "column": 13 + }, + "end": { + "line": 412, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 11688, + 11689 + ], + "loc": { + "start": { + "line": 412, + "column": 24 + }, + "end": { + "line": 412, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11692, + 11696 + ], + "loc": { + "start": { + "line": 412, + "column": 28 + }, + "end": { + "line": 412, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 11697, + 11704 + ], + "loc": { + "start": { + "line": 412, + "column": 33 + }, + "end": { + "line": 412, + "column": 40 + } + } + }, + "range": [ + 11692, + 11704 + ], + "loc": { + "start": { + "line": 412, + "column": 28 + }, + "end": { + "line": 412, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 11705, + 11711 + ], + "loc": { + "start": { + "line": 412, + "column": 41 + }, + "end": { + "line": 412, + "column": 47 + } + } + }, + "range": [ + 11692, + 11711 + ], + "loc": { + "start": { + "line": 412, + "column": 28 + }, + "end": { + "line": 412, + "column": 47 + } + } + }, + "range": [ + 11688, + 11711 + ], + "loc": { + "start": { + "line": 412, + "column": 24 + }, + "end": { + "line": 412, + "column": 47 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 11713, + 11714 + ], + "loc": { + "start": { + "line": 412, + "column": 49 + }, + "end": { + "line": 412, + "column": 50 + } + } + }, + "prefix": false, + "range": [ + 11713, + 11716 + ], + "loc": { + "start": { + "line": 412, + "column": 49 + }, + "end": { + "line": 412, + "column": 52 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "container", + "range": [ + 11736, + 11745 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 25 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11748, + 11752 + ], + "loc": { + "start": { + "line": 413, + "column": 28 + }, + "end": { + "line": 413, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 11753, + 11760 + ], + "loc": { + "start": { + "line": 413, + "column": 33 + }, + "end": { + "line": 413, + "column": 40 + } + } + }, + "range": [ + 11748, + 11760 + ], + "loc": { + "start": { + "line": 413, + "column": 28 + }, + "end": { + "line": 413, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 11761, + 11762 + ], + "loc": { + "start": { + "line": 413, + "column": 41 + }, + "end": { + "line": 413, + "column": 42 + } + } + }, + "range": [ + 11748, + 11763 + ], + "loc": { + "start": { + "line": 413, + "column": 28 + }, + "end": { + "line": 413, + "column": 43 + } + } + }, + "range": [ + 11736, + 11763 + ], + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 413, + "column": 43 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "placeholder", + "range": [ + 11781, + 11792 + ], + "loc": { + "start": { + "line": 414, + "column": 16 + }, + "end": { + "line": 414, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 11795, + 11804 + ], + "loc": { + "start": { + "line": 414, + "column": 30 + }, + "end": { + "line": 414, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "parentNode", + "range": [ + 11805, + 11815 + ], + "loc": { + "start": { + "line": 414, + "column": 40 + }, + "end": { + "line": 414, + "column": 50 + } + } + }, + "range": [ + 11795, + 11815 + ], + "loc": { + "start": { + "line": 414, + "column": 30 + }, + "end": { + "line": 414, + "column": 50 + } + } + }, + "range": [ + 11781, + 11815 + ], + "loc": { + "start": { + "line": 414, + "column": 16 + }, + "end": { + "line": 414, + "column": 50 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "icon", + "range": [ + 11833, + 11837 + ], + "loc": { + "start": { + "line": 415, + "column": 16 + }, + "end": { + "line": 415, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11840, + 11844 + ], + "loc": { + "start": { + "line": 415, + "column": 23 + }, + "end": { + "line": 415, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSpans", + "range": [ + 11845, + 11853 + ], + "loc": { + "start": { + "line": 415, + "column": 28 + }, + "end": { + "line": 415, + "column": 36 + } + } + }, + "range": [ + 11840, + 11853 + ], + "loc": { + "start": { + "line": 415, + "column": 23 + }, + "end": { + "line": 415, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 11854, + 11855 + ], + "loc": { + "start": { + "line": 415, + "column": 37 + }, + "end": { + "line": 415, + "column": 38 + } + } + }, + "range": [ + 11840, + 11856 + ], + "loc": { + "start": { + "line": 415, + "column": 23 + }, + "end": { + "line": 415, + "column": 39 + } + } + }, + "range": [ + 11833, + 11856 + ], + "loc": { + "start": { + "line": 415, + "column": 16 + }, + "end": { + "line": 415, + "column": 39 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "iconImg", + "range": [ + 11874, + 11881 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11884, + 11888 + ], + "loc": { + "start": { + "line": 416, + "column": 26 + }, + "end": { + "line": 416, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 11889, + 11897 + ], + "loc": { + "start": { + "line": 416, + "column": 31 + }, + "end": { + "line": 416, + "column": 39 + } + } + }, + "range": [ + 11884, + 11897 + ], + "loc": { + "start": { + "line": 416, + "column": 26 + }, + "end": { + "line": 416, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 11898, + 11899 + ], + "loc": { + "start": { + "line": 416, + "column": 40 + }, + "end": { + "line": 416, + "column": 41 + } + } + }, + "range": [ + 11884, + 11900 + ], + "loc": { + "start": { + "line": 416, + "column": 26 + }, + "end": { + "line": 416, + "column": 42 + } + } + }, + "range": [ + 11874, + 11900 + ], + "loc": { + "start": { + "line": 416, + "column": 16 + }, + "end": { + "line": 416, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 11732, + 11901 + ], + "loc": { + "start": { + "line": 413, + "column": 12 + }, + "end": { + "line": 416, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "container", + "range": [ + 11918, + 11927 + ], + "loc": { + "start": { + "line": 417, + "column": 16 + }, + "end": { + "line": 417, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 11947, + 11956 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "container", + "range": [ + 11957, + 11966 + ], + "loc": { + "start": { + "line": 418, + "column": 26 + }, + "end": { + "line": 418, + "column": 35 + } + } + } + ], + "range": [ + 11947, + 11967 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 36 + } + } + }, + "range": [ + 11947, + 11968 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11985, + 11989 + ], + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersCache", + "range": [ + 11990, + 12002 + ], + "loc": { + "start": { + "line": 419, + "column": 21 + }, + "end": { + "line": 419, + "column": 33 + } + } + }, + "range": [ + 11985, + 12002 + ], + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 12003, + 12004 + ], + "loc": { + "start": { + "line": 419, + "column": 34 + }, + "end": { + "line": 419, + "column": 35 + } + } + }, + "range": [ + 11985, + 12005 + ], + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "container", + "range": [ + 12008, + 12017 + ], + "loc": { + "start": { + "line": 419, + "column": 39 + }, + "end": { + "line": 419, + "column": 48 + } + } + }, + "range": [ + 11985, + 12017 + ], + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 48 + } + } + }, + "range": [ + 11985, + 12018 + ], + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 49 + } + } + } + ], + "range": [ + 11929, + 12032 + ], + "loc": { + "start": { + "line": 417, + "column": 27 + }, + "end": { + "line": 420, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 11914, + 12032 + ], + "loc": { + "start": { + "line": 417, + "column": 12 + }, + "end": { + "line": 420, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "container", + "range": [ + 12045, + 12054 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 12057, + 12061 + ], + "loc": { + "start": { + "line": 421, + "column": 24 + }, + "end": { + "line": 421, + "column": 28 + } + } + }, + "range": [ + 12045, + 12061 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 28 + } + } + }, + "range": [ + 12045, + 12062 + ], + "loc": { + "start": { + "line": 421, + "column": 12 + }, + "end": { + "line": 421, + "column": 29 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "placeholder", + "range": [ + 12079, + 12090 + ], + "loc": { + "start": { + "line": 422, + "column": 16 + }, + "end": { + "line": 422, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 12110, + 12119 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "placeholder", + "range": [ + 12120, + 12131 + ], + "loc": { + "start": { + "line": 423, + "column": 26 + }, + "end": { + "line": 423, + "column": 37 + } + } + } + ], + "range": [ + 12110, + 12132 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 38 + } + } + }, + "range": [ + 12110, + 12133 + ], + "loc": { + "start": { + "line": 423, + "column": 16 + }, + "end": { + "line": 423, + "column": 39 + } + } + } + ], + "range": [ + 12092, + 12147 + ], + "loc": { + "start": { + "line": 422, + "column": 29 + }, + "end": { + "line": 424, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12075, + 12147 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 424, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "placeholder", + "range": [ + 12160, + 12171 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 12174, + 12178 + ], + "loc": { + "start": { + "line": 425, + "column": 26 + }, + "end": { + "line": 425, + "column": 30 + } + } + }, + "range": [ + 12160, + 12178 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 30 + } + } + }, + "range": [ + 12160, + 12179 + ], + "loc": { + "start": { + "line": 425, + "column": 12 + }, + "end": { + "line": 425, + "column": 31 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "icon", + "range": [ + 12196, + 12200 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 20 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 12220, + 12229 + ], + "loc": { + "start": { + "line": 427, + "column": 16 + }, + "end": { + "line": 427, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "icon", + "range": [ + 12230, + 12234 + ], + "loc": { + "start": { + "line": 427, + "column": 26 + }, + "end": { + "line": 427, + "column": 30 + } + } + } + ], + "range": [ + 12220, + 12235 + ], + "loc": { + "start": { + "line": 427, + "column": 16 + }, + "end": { + "line": 427, + "column": 31 + } + } + }, + "range": [ + 12220, + 12236 + ], + "loc": { + "start": { + "line": 427, + "column": 16 + }, + "end": { + "line": 427, + "column": 32 + } + } + } + ], + "range": [ + 12202, + 12250 + ], + "loc": { + "start": { + "line": 426, + "column": 22 + }, + "end": { + "line": 428, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12192, + 12250 + ], + "loc": { + "start": { + "line": 426, + "column": 12 + }, + "end": { + "line": 428, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "icon", + "range": [ + 12263, + 12267 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 12270, + 12274 + ], + "loc": { + "start": { + "line": 429, + "column": 19 + }, + "end": { + "line": 429, + "column": 23 + } + } + }, + "range": [ + 12263, + 12274 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 23 + } + } + }, + "range": [ + 12263, + 12275 + ], + "loc": { + "start": { + "line": 429, + "column": 12 + }, + "end": { + "line": 429, + "column": 24 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "iconImg", + "range": [ + 12292, + 12299 + ], + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 12319, + 12328 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "iconImg", + "range": [ + 12329, + 12336 + ], + "loc": { + "start": { + "line": 431, + "column": 26 + }, + "end": { + "line": 431, + "column": 33 + } + } + } + ], + "range": [ + 12319, + 12337 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 34 + } + } + }, + "range": [ + 12319, + 12338 + ], + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 35 + } + } + } + ], + "range": [ + 12301, + 12352 + ], + "loc": { + "start": { + "line": 430, + "column": 25 + }, + "end": { + "line": 432, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12288, + 12352 + ], + "loc": { + "start": { + "line": 430, + "column": 12 + }, + "end": { + "line": 432, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "iconImg", + "range": [ + 12365, + 12372 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 12375, + 12379 + ], + "loc": { + "start": { + "line": 433, + "column": 22 + }, + "end": { + "line": 433, + "column": 26 + } + } + }, + "range": [ + 12365, + 12379 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 26 + } + } + }, + "range": [ + 12365, + 12380 + ], + "loc": { + "start": { + "line": 433, + "column": 12 + }, + "end": { + "line": 433, + "column": 27 + } + } + } + ], + "range": [ + 11718, + 12390 + ], + "loc": { + "start": { + "line": 412, + "column": 54 + }, + "end": { + "line": 434, + "column": 9 + } + } + }, + "range": [ + 11672, + 12390 + ], + "loc": { + "start": { + "line": 412, + "column": 8 + }, + "end": { + "line": 434, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12399, + 12403 + ], + "loc": { + "start": { + "line": 435, + "column": 8 + }, + "end": { + "line": 435, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltElms", + "range": [ + 12404, + 12411 + ], + "loc": { + "start": { + "line": 435, + "column": 13 + }, + "end": { + "line": 435, + "column": 20 + } + } + }, + "range": [ + 12399, + 12411 + ], + "loc": { + "start": { + "line": 435, + "column": 8 + }, + "end": { + "line": 435, + "column": 20 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12414, + 12416 + ], + "loc": { + "start": { + "line": 435, + "column": 23 + }, + "end": { + "line": 435, + "column": 25 + } + } + }, + "range": [ + 12399, + 12416 + ], + "loc": { + "start": { + "line": 435, + "column": 8 + }, + "end": { + "line": 435, + "column": 25 + } + } + }, + "range": [ + 12399, + 12417 + ], + "loc": { + "start": { + "line": 435, + "column": 8 + }, + "end": { + "line": 435, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12426, + 12430 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSpans", + "range": [ + 12431, + 12439 + ], + "loc": { + "start": { + "line": 436, + "column": 13 + }, + "end": { + "line": 436, + "column": 21 + } + } + }, + "range": [ + 12426, + 12439 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12442, + 12444 + ], + "loc": { + "start": { + "line": 436, + "column": 24 + }, + "end": { + "line": 436, + "column": 26 + } + } + }, + "range": [ + 12426, + 12444 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 26 + } + } + }, + "range": [ + 12426, + 12445 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12454, + 12458 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIcons", + "range": [ + 12459, + 12467 + ], + "loc": { + "start": { + "line": 437, + "column": 13 + }, + "end": { + "line": 437, + "column": 21 + } + } + }, + "range": [ + 12454, + 12467 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 21 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12470, + 12472 + ], + "loc": { + "start": { + "line": 437, + "column": 24 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "range": [ + 12454, + 12472 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 26 + } + } + }, + "range": [ + 12454, + 12473 + ], + "loc": { + "start": { + "line": 437, + "column": 8 + }, + "end": { + "line": 437, + "column": 27 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TODO: expose an API to handle external filter IDs", + "range": [ + 12483, + 12535 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 60 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12544, + 12548 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12549, + 12551 + ], + "loc": { + "start": { + "line": 440, + "column": 13 + }, + "end": { + "line": 440, + "column": 15 + } + } + }, + "range": [ + 12544, + 12551 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 12552, + 12569 + ], + "loc": { + "start": { + "line": 440, + "column": 16 + }, + "end": { + "line": 440, + "column": 33 + } + } + }, + "range": [ + 12544, + 12569 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 33 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12572, + 12574 + ], + "loc": { + "start": { + "line": 440, + "column": 36 + }, + "end": { + "line": 440, + "column": 38 + } + } + }, + "range": [ + 12544, + 12574 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 38 + } + } + }, + "range": [ + 12544, + 12575 + ], + "loc": { + "start": { + "line": 440, + "column": 8 + }, + "end": { + "line": 440, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: expose an API to handle external filter IDs", + "range": [ + 12483, + 12535 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 60 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 12585, + 12609 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12618, + 12622 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12623, + 12630 + ], + "loc": { + "start": { + "line": 443, + "column": 13 + }, + "end": { + "line": 443, + "column": 20 + } + } + }, + "range": [ + 12618, + 12630 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 12631, + 12634 + ], + "loc": { + "start": { + "line": 443, + "column": 21 + }, + "end": { + "line": 443, + "column": 24 + } + } + }, + "range": [ + 12618, + 12634 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 12636, + 12654 + ], + "loc": { + "start": { + "line": 443, + "column": 26 + }, + "end": { + "line": 443, + "column": 44 + } + } + } + ], + "range": [ + 12635, + 12655 + ], + "loc": { + "start": { + "line": 443, + "column": 25 + }, + "end": { + "line": 443, + "column": 45 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12663, + 12667 + ], + "loc": { + "start": { + "line": 443, + "column": 53 + }, + "end": { + "line": 443, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "setIconsState", + "range": [ + 12668, + 12681 + ], + "loc": { + "start": { + "line": 443, + "column": 58 + }, + "end": { + "line": 443, + "column": 71 + } + } + }, + "range": [ + 12663, + 12681 + ], + "loc": { + "start": { + "line": 443, + "column": 53 + }, + "end": { + "line": 443, + "column": 71 + } + } + }, + "arguments": [], + "range": [ + 12663, + 12683 + ], + "loc": { + "start": { + "line": 443, + "column": 53 + }, + "end": { + "line": 443, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 12657, + 12683 + ], + "loc": { + "start": { + "line": 443, + "column": 47 + }, + "end": { + "line": 443, + "column": 73 + } + } + } + ], + "range": [ + 12618, + 12684 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 74 + } + } + }, + "range": [ + 12618, + 12685 + ], + "loc": { + "start": { + "line": 443, + "column": 8 + }, + "end": { + "line": 443, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 12585, + 12609 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12694, + 12698 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12699, + 12706 + ], + "loc": { + "start": { + "line": 444, + "column": 13 + }, + "end": { + "line": 444, + "column": 20 + } + } + }, + "range": [ + 12694, + 12706 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 12707, + 12710 + ], + "loc": { + "start": { + "line": 444, + "column": 21 + }, + "end": { + "line": 444, + "column": 24 + } + } + }, + "range": [ + 12694, + 12710 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 12712, + 12729 + ], + "loc": { + "start": { + "line": 444, + "column": 26 + }, + "end": { + "line": 444, + "column": 43 + } + } + } + ], + "range": [ + 12711, + 12730 + ], + "loc": { + "start": { + "line": 444, + "column": 25 + }, + "end": { + "line": 444, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12738, + 12742 + ], + "loc": { + "start": { + "line": 444, + "column": 52 + }, + "end": { + "line": 444, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "closeAll", + "range": [ + 12743, + 12751 + ], + "loc": { + "start": { + "line": 444, + "column": 57 + }, + "end": { + "line": 444, + "column": 65 + } + } + }, + "range": [ + 12738, + 12751 + ], + "loc": { + "start": { + "line": 444, + "column": 52 + }, + "end": { + "line": 444, + "column": 65 + } + } + }, + "arguments": [], + "range": [ + 12738, + 12753 + ], + "loc": { + "start": { + "line": 444, + "column": 52 + }, + "end": { + "line": 444, + "column": 67 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 12732, + 12753 + ], + "loc": { + "start": { + "line": 444, + "column": 46 + }, + "end": { + "line": 444, + "column": 67 + } + } + } + ], + "range": [ + 12694, + 12754 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 68 + } + } + }, + "range": [ + 12694, + 12755 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 444, + "column": 69 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12764, + 12768 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12769, + 12776 + ], + "loc": { + "start": { + "line": 445, + "column": 13 + }, + "end": { + "line": 445, + "column": 20 + } + } + }, + "range": [ + 12764, + 12776 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 12777, + 12780 + ], + "loc": { + "start": { + "line": 445, + "column": 21 + }, + "end": { + "line": 445, + "column": 24 + } + } + }, + "range": [ + 12764, + 12780 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "cell-processed", + "raw": "'cell-processed'", + "range": [ + 12782, + 12798 + ], + "loc": { + "start": { + "line": 445, + "column": 26 + }, + "end": { + "line": 445, + "column": 42 + } + } + } + ], + "range": [ + 12781, + 12799 + ], + "loc": { + "start": { + "line": 445, + "column": 25 + }, + "end": { + "line": 445, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 12814, + 12816 + ], + "loc": { + "start": { + "line": 446, + "column": 13 + }, + "end": { + "line": 446, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 12818, + 12827 + ], + "loc": { + "start": { + "line": 446, + "column": 17 + }, + "end": { + "line": 446, + "column": 26 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12832, + 12836 + ], + "loc": { + "start": { + "line": 446, + "column": 31 + }, + "end": { + "line": 446, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "changeState", + "range": [ + 12837, + 12848 + ], + "loc": { + "start": { + "line": 446, + "column": 36 + }, + "end": { + "line": 446, + "column": 47 + } + } + }, + "range": [ + 12832, + 12848 + ], + "loc": { + "start": { + "line": 446, + "column": 31 + }, + "end": { + "line": 446, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 12849, + 12858 + ], + "loc": { + "start": { + "line": 446, + "column": 48 + }, + "end": { + "line": 446, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 12860, + 12864 + ], + "loc": { + "start": { + "line": 446, + "column": 59 + }, + "end": { + "line": 446, + "column": 63 + } + } + } + ], + "range": [ + 12832, + 12865 + ], + "loc": { + "start": { + "line": 446, + "column": 31 + }, + "end": { + "line": 446, + "column": 64 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 12813, + 12865 + ], + "loc": { + "start": { + "line": 446, + "column": 12 + }, + "end": { + "line": 446, + "column": 64 + } + } + } + ], + "range": [ + 12764, + 12866 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 446, + "column": 65 + } + } + }, + "range": [ + 12764, + 12867 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 446, + "column": 66 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12876, + 12880 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12881, + 12888 + ], + "loc": { + "start": { + "line": 447, + "column": 13 + }, + "end": { + "line": 447, + "column": 20 + } + } + }, + "range": [ + 12876, + 12888 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 12889, + 12892 + ], + "loc": { + "start": { + "line": 447, + "column": 21 + }, + "end": { + "line": 447, + "column": 24 + } + } + }, + "range": [ + 12876, + 12892 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-row-inserted", + "raw": "'filters-row-inserted'", + "range": [ + 12894, + 12916 + ], + "loc": { + "start": { + "line": 447, + "column": 26 + }, + "end": { + "line": 447, + "column": 48 + } + } + } + ], + "range": [ + 12893, + 12917 + ], + "loc": { + "start": { + "line": 447, + "column": 25 + }, + "end": { + "line": 447, + "column": 49 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12925, + 12929 + ], + "loc": { + "start": { + "line": 447, + "column": 57 + }, + "end": { + "line": 447, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildIcons", + "range": [ + 12930, + 12940 + ], + "loc": { + "start": { + "line": 447, + "column": 62 + }, + "end": { + "line": 447, + "column": 72 + } + } + }, + "range": [ + 12925, + 12940 + ], + "loc": { + "start": { + "line": 447, + "column": 57 + }, + "end": { + "line": 447, + "column": 72 + } + } + }, + "arguments": [], + "range": [ + 12925, + 12942 + ], + "loc": { + "start": { + "line": 447, + "column": 57 + }, + "end": { + "line": 447, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 12919, + 12942 + ], + "loc": { + "start": { + "line": 447, + "column": 51 + }, + "end": { + "line": 447, + "column": 74 + } + } + } + ], + "range": [ + 12876, + 12943 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 75 + } + } + }, + "range": [ + 12876, + 12944 + ], + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12953, + 12957 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12958, + 12965 + ], + "loc": { + "start": { + "line": 448, + "column": 13 + }, + "end": { + "line": 448, + "column": 20 + } + } + }, + "range": [ + 12953, + 12965 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 12966, + 12969 + ], + "loc": { + "start": { + "line": 448, + "column": 21 + }, + "end": { + "line": 448, + "column": 24 + } + } + }, + "range": [ + 12953, + 12969 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filter-init", + "raw": "'before-filter-init'", + "range": [ + 12971, + 12991 + ], + "loc": { + "start": { + "line": 448, + "column": 26 + }, + "end": { + "line": 448, + "column": 46 + } + } + } + ], + "range": [ + 12970, + 12992 + ], + "loc": { + "start": { + "line": 448, + "column": 25 + }, + "end": { + "line": 448, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 13007, + 13009 + ], + "loc": { + "start": { + "line": 449, + "column": 13 + }, + "end": { + "line": 449, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13011, + 13019 + ], + "loc": { + "start": { + "line": 449, + "column": 17 + }, + "end": { + "line": 449, + "column": 25 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13024, + 13028 + ], + "loc": { + "start": { + "line": 449, + "column": 30 + }, + "end": { + "line": 449, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "build", + "range": [ + 13029, + 13034 + ], + "loc": { + "start": { + "line": 449, + "column": 35 + }, + "end": { + "line": 449, + "column": 40 + } + } + }, + "range": [ + 13024, + 13034 + ], + "loc": { + "start": { + "line": 449, + "column": 30 + }, + "end": { + "line": 449, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 13035, + 13043 + ], + "loc": { + "start": { + "line": 449, + "column": 41 + }, + "end": { + "line": 449, + "column": 49 + } + } + } + ], + "range": [ + 13024, + 13044 + ], + "loc": { + "start": { + "line": 449, + "column": 30 + }, + "end": { + "line": 449, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 13006, + 13044 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 449, + "column": 50 + } + } + } + ], + "range": [ + 12953, + 13045 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 449, + "column": 51 + } + } + }, + "range": [ + 12953, + 13046 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 449, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13056, + 13060 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 13061, + 13072 + ], + "loc": { + "start": { + "line": 451, + "column": 13 + }, + "end": { + "line": 451, + "column": 24 + } + } + }, + "range": [ + 13056, + 13072 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 13075, + 13080 + ], + "loc": { + "start": { + "line": 451, + "column": 27 + }, + "end": { + "line": 451, + "column": 32 + } + } + }, + "range": [ + 13056, + 13080 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 32 + } + } + }, + "range": [ + 13056, + 13081 + ], + "loc": { + "start": { + "line": 451, + "column": 8 + }, + "end": { + "line": 451, + "column": 33 + } + } + } + ], + "range": [ + 11566, + 13087 + ], + "loc": { + "start": { + "line": 406, + "column": 14 + }, + "end": { + "line": 452, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11563, + 13087 + ], + "loc": { + "start": { + "line": 406, + "column": 11 + }, + "end": { + "line": 452, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11556, + 13087 + ], + "loc": { + "start": { + "line": 406, + "column": 4 + }, + "end": { + "line": 452, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove pop-up filters\n ", + "range": [ + 11511, + 11551 + ], + "loc": { + "start": { + "line": 403, + "column": 4 + }, + "end": { + "line": 405, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 501, + 13090 + ], + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 454, + "column": 1 + } + } + }, + "range": [ + 467, + 13090 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 454, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n ", + "range": [ + 370, + 459 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 460, + 13090 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 454, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n ", + "range": [ + 370, + 459 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 13090 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 454, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n ", + "range": [ + 370, + 459 + ], + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 508, + 613 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Configuration object", + "range": [ + 680, + 703 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Close active popup filter upon filtering, enabled by default\n * @type {Boolean}\n ", + "range": [ + 762, + 876 + ], + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter icon path\n * @type {String}\n ", + "range": [ + 960, + 1029 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Active filter icon path\n * @type {string}\n ", + "range": [ + 1119, + 1195 + ], + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 42, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * HTML for the filter icon\n * @type {string}\n ", + "range": [ + 1316, + 1393 + ], + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 49, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class assigned to the popup container element\n * @type {String}\n ", + "range": [ + 1525, + 1627 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class assigned to filter container element\n * @type {String}\n ", + "range": [ + 1742, + 1841 + ], + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 63, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Ensure filter's container element width matches column width, enabled\n * by default\n * @type {Boolean}\n ", + "range": [ + 1929, + 2074 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 70, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2160, + 2261 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is opened\n * @type {Function}\n ", + "range": [ + 2352, + 2452 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 82, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2541, + 2642 + ], + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 88, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a popup filter is closed\n * @type {Function}\n ", + "range": [ + 2747, + 2847 + ], + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 95, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of filters spans\n * @type {Array}\n * @private\n ", + "range": [ + 2938, + 3037 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 102, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of filters icons\n * @type {Array}\n * @private\n ", + "range": [ + 3075, + 3174 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 109, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n ", + "range": [ + 3212, + 3351 + ], + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 116, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of filters containers\n * @type {Array}\n * @private\n ", + "range": [ + 3395, + 3499 + ], + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 123, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n ", + "range": [ + 3568, + 3678 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Column index of popup filter currently active\n * @type {Number}\n * @private\n ", + "range": [ + 3721, + 3839 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Click event handler for pop-up filter icon\n * @private\n ", + "range": [ + 3886, + 3963 + ], + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 144, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Mouse-up event handler handling popup filter auto-close behaviour\n * @private\n ", + "range": [ + 4490, + 4590 + ], + "loc": { + "start": { + "line": 162, + "column": 4 + }, + "end": { + "line": 165, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize DOM elements\n ", + "range": [ + 5142, + 5184 + ], + "loc": { + "start": { + "line": 189, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Enable external filters", + "range": [ + 5296, + 5322 + ], + "loc": { + "start": { + "line": 199, + "column": 8 + }, + "end": { + "line": 199, + "column": 34 + } + } + }, + { + "type": "Line", + "value": " Override headers row index if no grouped headers", + "range": [ + 5369, + 5420 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5429, + 5500 + ], + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5509, + 5553 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " Adjust headers row index for grid-layout mode", + "range": [ + 5678, + 5726 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 56 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 5735, + 5806 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 5815, + 5859 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 5968, + 5990 + ], + "loc": { + "start": { + "line": 217, + "column": 8 + }, + "end": { + "line": 217, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 6432, + 6449 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Reset previously destroyed feature\n ", + "range": [ + 6494, + 6547 + ], + "loc": { + "start": { + "line": 230, + "column": 4 + }, + "end": { + "line": 232, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Build all filters icons\n ", + "range": [ + 6669, + 6711 + ], + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 242, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: Because of the filters row generation, headers row index needs", + "range": [ + 6766, + 6837 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 79 + } + } + }, + { + "type": "Line", + "value": " adjusting: prevent useless row generation", + "range": [ + 6846, + 6890 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 52 + } + } + }, + { + "type": "Block", + "value": "*\n * Build all pop-up filters elements\n ", + "range": [ + 7405, + 7457 + ], + "loc": { + "start": { + "line": 264, + "column": 4 + }, + "end": { + "line": 266, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n ", + "range": [ + 7606, + 7775 + ], + "loc": { + "start": { + "line": 273, + "column": 4 + }, + "end": { + "line": 277, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Toggle visibility of specified filter\n * @param {Number} colIndex Column index\n ", + "range": [ + 8384, + 8486 + ], + "loc": { + "start": { + "line": 293, + "column": 4 + }, + "end": { + "line": 296, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Open popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 8653, + 8754 + ], + "loc": { + "start": { + "line": 305, + "column": 4 + }, + "end": { + "line": 308, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Close popup filter of specified column\n * @param {Number} colIndex Column index\n ", + "range": [ + 9300, + 9402 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 332, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if popup filter for specified column is open\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n ", + "range": [ + 9800, + 9940 + ], + "loc": { + "start": { + "line": 347, + "column": 4 + }, + "end": { + "line": 351, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n ", + "range": [ + 10040, + 10188 + ], + "loc": { + "start": { + "line": 356, + "column": 4 + }, + "end": { + "line": 359, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Do not close filters only if argument is undefined and close on", + "range": [ + 10223, + 10289 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 361, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " filtering option is disabled", + "range": [ + 10298, + 10329 + ], + "loc": { + "start": { + "line": 362, + "column": 8 + }, + "end": { + "line": 362, + "column": 39 + } + } + }, + { + "type": "Line", + "value": " Always hide all single selection filter types but hide multiple", + "range": [ + 10716, + 10782 + ], + "loc": { + "start": { + "line": 374, + "column": 12 + }, + "end": { + "line": 374, + "column": 78 + } + } + }, + { + "type": "Line", + "value": " selection filter types only if index set", + "range": [ + 10795, + 10838 + ], + "loc": { + "start": { + "line": 375, + "column": 12 + }, + "end": { + "line": 375, + "column": 55 + } + } + }, + { + "type": "Block", + "value": "*\n * Build all the icons representing the pop-up filters\n ", + "range": [ + 10965, + 11035 + ], + "loc": { + "start": { + "line": 382, + "column": 4 + }, + "end": { + "line": 384, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n ", + "range": [ + 11176, + 11320 + ], + "loc": { + "start": { + "line": 391, + "column": 4 + }, + "end": { + "line": 395, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove pop-up filters\n ", + "range": [ + 11511, + 11551 + ], + "loc": { + "start": { + "line": 403, + "column": 4 + }, + "end": { + "line": 405, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: expose an API to handle external filter IDs", + "range": [ + 12483, + 12535 + ], + "loc": { + "start": { + "line": 439, + "column": 8 + }, + "end": { + "line": 439, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 12585, + 12609 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/rowsCounter.js.json b/docs/ast/source/modules/rowsCounter.js.json new file mode 100644 index 00000000..a4fa5759 --- /dev/null +++ b/docs/ast/source/modules/rowsCounter.js.json @@ -0,0 +1,11556 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + "range": [ + 44, + 53 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + "range": [ + 55, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + "range": [ + 67, + 70 + ], + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + }, + "range": [ + 72, + 81 + ], + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 45 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 88, + 96 + ], + "loc": { + "start": { + "line": 2, + "column": 52 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + "range": [ + 36, + 97 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + "range": [ + 106, + 114 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 121, + 131 + ], + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 98, + 132 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 141, + 152 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 141, + 152 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + "range": [ + 141, + 152 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 154, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 154, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "range": [ + 154, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 171, + 184 + ], + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 51 + } + } + }, + "range": [ + 133, + 185 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n ", + "range": [ + 187, + 278 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "RowsCounter", + "range": [ + 292, + 303 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 24 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 312, + 319 + ], + "loc": { + "start": { + "line": 12, + "column": 33 + }, + "end": { + "line": 12, + "column": 40 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 437, + 448 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 449, + 451 + ], + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 463, + 468 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 469, + 471 + ], + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "rowsCounter", + "raw": "'rowsCounter'", + "range": [ + 473, + 486 + ], + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 31 + } + } + } + ], + "range": [ + 463, + 487 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 32 + } + } + }, + "range": [ + 463, + 488 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 33 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TableFilter configuration", + "range": [ + 498, + 526 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 36 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 539, + 540 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 543, + 547 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 548, + 554 + ], + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "range": [ + 543, + 554 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows_counter", + "range": [ + 555, + 567 + ], + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 40 + } + } + }, + "range": [ + 543, + 567 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 40 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 571, + 573 + ], + "loc": { + "start": { + "line": 22, + "column": 44 + }, + "end": { + "line": 22, + "column": 46 + } + } + }, + "range": [ + 543, + 573 + ], + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 46 + } + } + }, + "range": [ + 539, + 573 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 535, + 574 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TableFilter configuration", + "range": [ + 498, + 526 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 36 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 584, + 667 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 676, + 680 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 681, + 689 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + "range": [ + 676, + 689 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 692, + 703 + ], + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 704, + 705 + ], + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "target_id", + "range": [ + 706, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 38 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + "range": [ + 704, + 715 + ], + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 717, + 721 + ], + "loc": { + "start": { + "line": 28, + "column": 49 + }, + "end": { + "line": 28, + "column": 53 + } + } + } + ], + "range": [ + 692, + 722 + ], + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 54 + } + } + }, + "range": [ + 676, + 722 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 54 + } + } + }, + "range": [ + 676, + 723 + ], + "loc": { + "start": { + "line": 28, + "column": 8 + }, + "end": { + "line": 28, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 584, + 667 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 733, + 831 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 840, + 844 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 845, + 854 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + "range": [ + 840, + 854 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 857, + 861 + ], + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + "range": [ + 840, + 861 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + "range": [ + 840, + 862 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 733, + 831 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n ", + "range": [ + 872, + 1016 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1025, + 1029 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 1030, + 1035 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + "range": [ + 1025, + 1035 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1038, + 1042 + ], + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + "range": [ + 1025, + 1042 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 25 + } + } + }, + "range": [ + 1025, + 1043 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n ", + "range": [ + 872, + 1016 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding the total number of rows\n * @type {String}\n ", + "range": [ + 1053, + 1145 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1154, + 1158 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1159, + 1163 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + "range": [ + 1154, + 1163 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1166, + 1177 + ], + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1178, + 1179 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1180, + 1184 + ], + "loc": { + "start": { + "line": 48, + "column": 34 + }, + "end": { + "line": 48, + "column": 38 + } + } + }, + "range": [ + 1178, + 1184 + ], + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "Rows: ", + "raw": "'Rows: '", + "range": [ + 1186, + 1194 + ], + "loc": { + "start": { + "line": 48, + "column": 40 + }, + "end": { + "line": 48, + "column": 48 + } + } + } + ], + "range": [ + 1166, + 1195 + ], + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "range": [ + 1154, + 1195 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 49 + } + } + }, + "range": [ + 1154, + 1196 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding the total number of rows\n * @type {String}\n ", + "range": [ + 1053, + 1145 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1206, + 1397 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1406, + 1410 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fromToTextSeparator", + "range": [ + 1411, + 1430 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + "range": [ + 1406, + 1430 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1433, + 1444 + ], + "loc": { + "start": { + "line": 55, + "column": 35 + }, + "end": { + "line": 55, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1445, + 1446 + ], + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 1447, + 1456 + ], + "loc": { + "start": { + "line": 55, + "column": 49 + }, + "end": { + "line": 55, + "column": 58 + } + } + }, + "range": [ + 1445, + 1456 + ], + "loc": { + "start": { + "line": 55, + "column": 47 + }, + "end": { + "line": 55, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "-", + "raw": "'-'", + "range": [ + 1458, + 1461 + ], + "loc": { + "start": { + "line": 55, + "column": 60 + }, + "end": { + "line": 55, + "column": 63 + } + } + } + ], + "range": [ + 1433, + 1462 + ], + "loc": { + "start": { + "line": 55, + "column": 35 + }, + "end": { + "line": 55, + "column": 64 + } + } + }, + "range": [ + 1406, + 1462 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 64 + } + } + }, + "range": [ + 1406, + 1463 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1206, + 1397 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1473, + 1715 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1724, + 1728 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "overText", + "range": [ + 1729, + 1737 + ], + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 21 + } + } + }, + "range": [ + 1724, + 1737 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1740, + 1751 + ], + "loc": { + "start": { + "line": 63, + "column": 24 + }, + "end": { + "line": 63, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1752, + 1753 + ], + "loc": { + "start": { + "line": 63, + "column": 36 + }, + "end": { + "line": 63, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "over_text", + "range": [ + 1754, + 1763 + ], + "loc": { + "start": { + "line": 63, + "column": 38 + }, + "end": { + "line": 63, + "column": 47 + } + } + }, + "range": [ + 1752, + 1763 + ], + "loc": { + "start": { + "line": 63, + "column": 36 + }, + "end": { + "line": 63, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": " / ", + "raw": "' / '", + "range": [ + 1765, + 1770 + ], + "loc": { + "start": { + "line": 63, + "column": 49 + }, + "end": { + "line": 63, + "column": 54 + } + } + } + ], + "range": [ + 1740, + 1771 + ], + "loc": { + "start": { + "line": 63, + "column": 24 + }, + "end": { + "line": 63, + "column": 55 + } + } + }, + "range": [ + 1724, + 1771 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 55 + } + } + }, + "range": [ + 1724, + 1772 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1473, + 1715 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1782, + 1866 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1875, + 1879 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1880, + 1888 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 21 + } + } + }, + "range": [ + 1875, + 1888 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1891, + 1902 + ], + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1903, + 1904 + ], + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "css_class", + "range": [ + 1905, + 1914 + ], + "loc": { + "start": { + "line": 69, + "column": 38 + }, + "end": { + "line": 69, + "column": 47 + } + } + }, + "range": [ + 1903, + 1914 + ], + "loc": { + "start": { + "line": 69, + "column": 36 + }, + "end": { + "line": 69, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "tot", + "raw": "'tot'", + "range": [ + 1916, + 1921 + ], + "loc": { + "start": { + "line": 69, + "column": 49 + }, + "end": { + "line": 69, + "column": 54 + } + } + } + ], + "range": [ + 1891, + 1922 + ], + "loc": { + "start": { + "line": 69, + "column": 24 + }, + "end": { + "line": 69, + "column": 55 + } + } + }, + "range": [ + 1875, + 1922 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 55 + } + } + }, + "range": [ + 1875, + 1923 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1782, + 1866 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the counter is refreshed\n * @type {Function}\n ", + "range": [ + 1933, + 2034 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2043, + 2047 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeRefreshCounter", + "range": [ + 2048, + 2070 + ], + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 35 + } + } + }, + "range": [ + 2043, + 2070 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2073, + 2083 + ], + "loc": { + "start": { + "line": 75, + "column": 38 + }, + "end": { + "line": 75, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2084, + 2085 + ], + "loc": { + "start": { + "line": 75, + "column": 49 + }, + "end": { + "line": 75, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_refresh_counter", + "range": [ + 2086, + 2111 + ], + "loc": { + "start": { + "line": 75, + "column": 51 + }, + "end": { + "line": 75, + "column": 76 + } + } + }, + "range": [ + 2084, + 2111 + ], + "loc": { + "start": { + "line": 75, + "column": 49 + }, + "end": { + "line": 75, + "column": 76 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2125, + 2133 + ], + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 20 + } + } + } + ], + "range": [ + 2073, + 2134 + ], + "loc": { + "start": { + "line": 75, + "column": 38 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + "range": [ + 2043, + 2134 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + "range": [ + 2043, + 2135 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 76, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the counter is refreshed\n * @type {Function}\n ", + "range": [ + 1933, + 2034 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the counter is refreshed\n * @type {Function}\n ", + "range": [ + 2145, + 2245 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 81, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2254, + 2258 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterRefreshCounter", + "range": [ + 2259, + 2280 + ], + "loc": { + "start": { + "line": 82, + "column": 13 + }, + "end": { + "line": 82, + "column": 34 + } + } + }, + "range": [ + 2254, + 2280 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 34 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2283, + 2293 + ], + "loc": { + "start": { + "line": 82, + "column": 37 + }, + "end": { + "line": 82, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2294, + 2295 + ], + "loc": { + "start": { + "line": 82, + "column": 48 + }, + "end": { + "line": 82, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_refresh_counter", + "range": [ + 2296, + 2320 + ], + "loc": { + "start": { + "line": 82, + "column": 50 + }, + "end": { + "line": 82, + "column": 74 + } + } + }, + "range": [ + 2294, + 2320 + ], + "loc": { + "start": { + "line": 82, + "column": 48 + }, + "end": { + "line": 82, + "column": 74 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2334, + 2342 + ], + "loc": { + "start": { + "line": 83, + "column": 12 + }, + "end": { + "line": 83, + "column": 20 + } + } + } + ], + "range": [ + 2283, + 2343 + ], + "loc": { + "start": { + "line": 82, + "column": 37 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + "range": [ + 2254, + 2343 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + "range": [ + 2254, + 2344 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 83, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the counter is refreshed\n * @type {Function}\n ", + "range": [ + 2145, + 2245 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 81, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 453, + 2350 + ], + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 448, + 2350 + ], + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 84, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 437, + 2350 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 84, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 327, + 432 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes RowsCounter instance\n ", + "range": [ + 2356, + 2407 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 2412, + 2416 + ], + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2433, + 2437 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2438, + 2449 + ], + "loc": { + "start": { + "line": 90, + "column": 17 + }, + "end": { + "line": 90, + "column": 28 + } + } + }, + "range": [ + 2433, + 2449 + ], + "loc": { + "start": { + "line": 90, + "column": 12 + }, + "end": { + "line": 90, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2465, + 2472 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 19 + } + } + } + ], + "range": [ + 2451, + 2482 + ], + "loc": { + "start": { + "line": 90, + "column": 30 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2429, + 2482 + ], + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 2496, + 2498 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2501, + 2505 + ], + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 2506, + 2508 + ], + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "range": [ + 2501, + 2508 + ], + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + "range": [ + 2496, + 2508 + ], + "loc": { + "start": { + "line": 94, + "column": 12 + }, + "end": { + "line": 94, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2492, + 2509 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "rows counter container", + "range": [ + 2519, + 2543 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 32 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "countDiv", + "range": [ + 2556, + 2564 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2567, + 2576 + ], + "loc": { + "start": { + "line": 97, + "column": 23 + }, + "end": { + "line": 97, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 2577, + 2582 + ], + "loc": { + "start": { + "line": 97, + "column": 33 + }, + "end": { + "line": 97, + "column": 38 + } + } + } + ], + "range": [ + 2567, + 2583 + ], + "loc": { + "start": { + "line": 97, + "column": 23 + }, + "end": { + "line": 97, + "column": 39 + } + } + }, + "range": [ + 2556, + 2583 + ], + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 2552, + 2584 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 40 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "rows counter container", + "range": [ + 2519, + 2543 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "countDiv", + "range": [ + 2593, + 2601 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 2602, + 2611 + ], + "loc": { + "start": { + "line": 98, + "column": 17 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "range": [ + 2593, + 2611 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2614, + 2618 + ], + "loc": { + "start": { + "line": 98, + "column": 29 + }, + "end": { + "line": 98, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 2619, + 2627 + ], + "loc": { + "start": { + "line": 98, + "column": 34 + }, + "end": { + "line": 98, + "column": 42 + } + } + }, + "range": [ + 2614, + 2627 + ], + "loc": { + "start": { + "line": 98, + "column": 29 + }, + "end": { + "line": 98, + "column": 42 + } + } + }, + "range": [ + 2593, + 2627 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 42 + } + } + }, + "range": [ + 2593, + 2628 + ], + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 43 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "rows counter label", + "range": [ + 2637, + 2657 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 28 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "countSpan", + "range": [ + 2670, + 2679 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2682, + 2691 + ], + "loc": { + "start": { + "line": 100, + "column": 24 + }, + "end": { + "line": 100, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 2692, + 2698 + ], + "loc": { + "start": { + "line": 100, + "column": 34 + }, + "end": { + "line": 100, + "column": 40 + } + } + } + ], + "range": [ + 2682, + 2699 + ], + "loc": { + "start": { + "line": 100, + "column": 24 + }, + "end": { + "line": 100, + "column": 41 + } + } + }, + "range": [ + 2670, + 2699 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 2666, + 2700 + ], + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "rows counter label", + "range": [ + 2637, + 2657 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 28 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "countText", + "range": [ + 2713, + 2722 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 2725, + 2734 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 2735, + 2741 + ], + "loc": { + "start": { + "line": 101, + "column": 34 + }, + "end": { + "line": 101, + "column": 40 + } + } + } + ], + "range": [ + 2725, + 2742 + ], + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 41 + } + } + }, + "range": [ + 2713, + 2742 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 2709, + 2743 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "countText", + "range": [ + 2752, + 2761 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 2762, + 2773 + ], + "loc": { + "start": { + "line": 102, + "column": 18 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + "range": [ + 2752, + 2773 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 2774, + 2784 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2785, + 2789 + ], + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 2790, + 2794 + ], + "loc": { + "start": { + "line": 102, + "column": 46 + }, + "end": { + "line": 102, + "column": 50 + } + } + }, + "range": [ + 2785, + 2794 + ], + "loc": { + "start": { + "line": 102, + "column": 41 + }, + "end": { + "line": 102, + "column": 50 + } + } + } + ], + "range": [ + 2774, + 2795 + ], + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 51 + } + } + } + ], + "range": [ + 2752, + 2796 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 52 + } + } + }, + "range": [ + 2752, + 2797 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " counter is added to defined element", + "range": [ + 2807, + 2845 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 46 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2859, + 2863 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2864, + 2872 + ], + "loc": { + "start": { + "line": 105, + "column": 18 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "range": [ + 2859, + 2872 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 2858, + 2872 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2888, + 2890 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 2891, + 2901 + ], + "loc": { + "start": { + "line": 106, + "column": 15 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + "range": [ + 2888, + 2901 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 2888, + 2903 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 27 + } + } + }, + "range": [ + 2888, + 2904 + ], + "loc": { + "start": { + "line": 106, + "column": 12 + }, + "end": { + "line": 106, + "column": 28 + } + } + } + ], + "range": [ + 2874, + 2914 + ], + "loc": { + "start": { + "line": 105, + "column": 28 + }, + "end": { + "line": 107, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2854, + 2914 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 107, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " counter is added to defined element", + "range": [ + 2807, + 2845 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 46 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 2927, + 2935 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2939, + 2943 + ], + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2944, + 2952 + ], + "loc": { + "start": { + "line": 108, + "column": 29 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + "range": [ + 2939, + 2952 + ], + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + "prefix": true, + "range": [ + 2938, + 2952 + ], + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 37 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 2955, + 2957 + ], + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 2958, + 2962 + ], + "loc": { + "start": { + "line": 108, + "column": 43 + }, + "end": { + "line": 108, + "column": 47 + } + } + }, + "range": [ + 2955, + 2962 + ], + "loc": { + "start": { + "line": 108, + "column": 40 + }, + "end": { + "line": 108, + "column": 47 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 2965, + 2968 + ], + "loc": { + "start": { + "line": 108, + "column": 50 + }, + "end": { + "line": 108, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2969, + 2973 + ], + "loc": { + "start": { + "line": 108, + "column": 54 + }, + "end": { + "line": 108, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 2974, + 2982 + ], + "loc": { + "start": { + "line": 108, + "column": 59 + }, + "end": { + "line": 108, + "column": 67 + } + } + }, + "range": [ + 2969, + 2982 + ], + "loc": { + "start": { + "line": 108, + "column": 54 + }, + "end": { + "line": 108, + "column": 67 + } + } + } + ], + "range": [ + 2965, + 2983 + ], + "loc": { + "start": { + "line": 108, + "column": 50 + }, + "end": { + "line": 108, + "column": 68 + } + } + }, + "range": [ + 2938, + 2983 + ], + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 68 + } + } + }, + "range": [ + 2927, + 2983 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 68 + } + } + } + ], + "kind": "let", + "range": [ + 2923, + 2984 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 69 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 2994, + 3021 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3035, + 3039 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 3040, + 3048 + ], + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + "range": [ + 3035, + 3048 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 3034, + 3048 + ], + "loc": { + "start": { + "line": 111, + "column": 12 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "countDiv", + "range": [ + 3064, + 3072 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3073, + 3084 + ], + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + "range": [ + 3064, + 3084 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "countText", + "range": [ + 3085, + 3094 + ], + "loc": { + "start": { + "line": 112, + "column": 33 + }, + "end": { + "line": 112, + "column": 42 + } + } + } + ], + "range": [ + 3064, + 3095 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 43 + } + } + }, + "range": [ + 3064, + 3096 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "countDiv", + "range": [ + 3109, + 3117 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3118, + 3129 + ], + "loc": { + "start": { + "line": 113, + "column": 21 + }, + "end": { + "line": 113, + "column": 32 + } + } + }, + "range": [ + 3109, + 3129 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "countSpan", + "range": [ + 3130, + 3139 + ], + "loc": { + "start": { + "line": 113, + "column": 33 + }, + "end": { + "line": 113, + "column": 42 + } + } + } + ], + "range": [ + 3109, + 3140 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 43 + } + } + }, + "range": [ + 3109, + 3141 + ], + "loc": { + "start": { + "line": 113, + "column": 12 + }, + "end": { + "line": 113, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 3154, + 3162 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3163, + 3174 + ], + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 32 + } + } + }, + "range": [ + 3154, + 3174 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "countDiv", + "range": [ + 3175, + 3183 + ], + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 41 + } + } + } + ], + "range": [ + 3154, + 3184 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 42 + } + } + }, + "range": [ + 3154, + 3185 + ], + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 43 + } + } + } + ], + "range": [ + 3050, + 3195 + ], + "loc": { + "start": { + "line": 111, + "column": 28 + }, + "end": { + "line": 115, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 3275, + 3283 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3284, + 3295 + ], + "loc": { + "start": { + "line": 117, + "column": 21 + }, + "end": { + "line": 117, + "column": 32 + } + } + }, + "range": [ + 3275, + 3295 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "countText", + "range": [ + 3296, + 3305 + ], + "loc": { + "start": { + "line": 117, + "column": 33 + }, + "end": { + "line": 117, + "column": 42 + } + } + } + ], + "range": [ + 3275, + 3306 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 43 + } + } + }, + "range": [ + 3275, + 3307 + ], + "loc": { + "start": { + "line": 117, + "column": 12 + }, + "end": { + "line": 117, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "custom container, no need to append statusDiv", + "range": [ + 3215, + 3262 + ], + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 59 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 3320, + 3328 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 3329, + 3340 + ], + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + "range": [ + 3320, + 3340 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "countSpan", + "range": [ + 3341, + 3350 + ], + "loc": { + "start": { + "line": 118, + "column": 33 + }, + "end": { + "line": 118, + "column": 42 + } + } + } + ], + "range": [ + 3320, + 3351 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 43 + } + } + }, + "range": [ + 3320, + 3352 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 44 + } + } + } + ], + "range": [ + 3201, + 3362 + ], + "loc": { + "start": { + "line": 115, + "column": 15 + }, + "end": { + "line": 119, + "column": 9 + } + } + }, + "range": [ + 3030, + 3362 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 119, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 2994, + 3021 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3371, + 3375 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 3376, + 3385 + ], + "loc": { + "start": { + "line": 120, + "column": 13 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + "range": [ + 3371, + 3385 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "countDiv", + "range": [ + 3388, + 3396 + ], + "loc": { + "start": { + "line": 120, + "column": 25 + }, + "end": { + "line": 120, + "column": 33 + } + } + }, + "range": [ + 3371, + 3396 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 33 + } + } + }, + "range": [ + 3371, + 3397 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 34 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3406, + 3410 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 3411, + 3416 + ], + "loc": { + "start": { + "line": 121, + "column": 13 + }, + "end": { + "line": 121, + "column": 18 + } + } + }, + "range": [ + 3406, + 3416 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "countSpan", + "range": [ + 3419, + 3428 + ], + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 30 + } + } + }, + "range": [ + 3406, + 3428 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 30 + } + } + }, + "range": [ + 3406, + 3429 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3439, + 3461 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3470, + 3474 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3475, + 3482 + ], + "loc": { + "start": { + "line": 124, + "column": 13 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "range": [ + 3470, + 3482 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3483, + 3485 + ], + "loc": { + "start": { + "line": 124, + "column": 21 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + "range": [ + 3470, + 3485 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 3487, + 3504 + ], + "loc": { + "start": { + "line": 124, + "column": 25 + }, + "end": { + "line": 124, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": "grouped-by-page", + "raw": "'grouped-by-page'", + "range": [ + 3506, + 3523 + ], + "loc": { + "start": { + "line": 124, + "column": 44 + }, + "end": { + "line": 124, + "column": 61 + } + } + } + ], + "range": [ + 3486, + 3524 + ], + "loc": { + "start": { + "line": 124, + "column": 24 + }, + "end": { + "line": 124, + "column": 62 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3544, + 3548 + ], + "loc": { + "start": { + "line": 125, + "column": 18 + }, + "end": { + "line": 125, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "refresh", + "range": [ + 3549, + 3556 + ], + "loc": { + "start": { + "line": 125, + "column": 23 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + "range": [ + 3544, + 3556 + ], + "loc": { + "start": { + "line": 125, + "column": 18 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 3557, + 3559 + ], + "loc": { + "start": { + "line": 125, + "column": 31 + }, + "end": { + "line": 125, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 3560, + 3574 + ], + "loc": { + "start": { + "line": 125, + "column": 34 + }, + "end": { + "line": 125, + "column": 48 + } + } + }, + "range": [ + 3557, + 3574 + ], + "loc": { + "start": { + "line": 125, + "column": 31 + }, + "end": { + "line": 125, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 3557, + 3576 + ], + "loc": { + "start": { + "line": 125, + "column": 31 + }, + "end": { + "line": 125, + "column": 50 + } + } + } + ], + "range": [ + 3544, + 3577 + ], + "loc": { + "start": { + "line": 125, + "column": 18 + }, + "end": { + "line": 125, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3538, + 3577 + ], + "loc": { + "start": { + "line": 125, + "column": 12 + }, + "end": { + "line": 125, + "column": 51 + } + } + } + ], + "range": [ + 3470, + 3578 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 125, + "column": 52 + } + } + }, + "range": [ + 3470, + 3579 + ], + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 125, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3439, + 3461 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3588, + 3592 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3593, + 3600 + ], + "loc": { + "start": { + "line": 126, + "column": 13 + }, + "end": { + "line": 126, + "column": 20 + } + } + }, + "range": [ + 3588, + 3600 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 3601, + 3603 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "range": [ + 3588, + 3603 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 3605, + 3619 + ], + "loc": { + "start": { + "line": 126, + "column": 25 + }, + "end": { + "line": 126, + "column": 39 + } + } + } + ], + "range": [ + 3604, + 3620 + ], + "loc": { + "start": { + "line": 126, + "column": 24 + }, + "end": { + "line": 126, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3628, + 3632 + ], + "loc": { + "start": { + "line": 126, + "column": 48 + }, + "end": { + "line": 126, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "refresh", + "range": [ + 3633, + 3640 + ], + "loc": { + "start": { + "line": 126, + "column": 53 + }, + "end": { + "line": 126, + "column": 60 + } + } + }, + "range": [ + 3628, + 3640 + ], + "loc": { + "start": { + "line": 126, + "column": 48 + }, + "end": { + "line": 126, + "column": 60 + } + } + }, + "arguments": [], + "range": [ + 3628, + 3642 + ], + "loc": { + "start": { + "line": 126, + "column": 48 + }, + "end": { + "line": 126, + "column": 62 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3622, + 3642 + ], + "loc": { + "start": { + "line": 126, + "column": 42 + }, + "end": { + "line": 126, + "column": 62 + } + } + } + ], + "range": [ + 3588, + 3643 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 63 + } + } + }, + "range": [ + 3588, + 3644 + ], + "loc": { + "start": { + "line": 126, + "column": 8 + }, + "end": { + "line": 126, + "column": 64 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3654, + 3671 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3680, + 3684 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3685, + 3696 + ], + "loc": { + "start": { + "line": 129, + "column": 13 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "range": [ + 3680, + 3696 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3699, + 3703 + ], + "loc": { + "start": { + "line": 129, + "column": 27 + }, + "end": { + "line": 129, + "column": 31 + } + } + }, + "range": [ + 3680, + 3703 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 31 + } + } + }, + "range": [ + 3680, + 3704 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3654, + 3671 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 25 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3713, + 3717 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refresh", + "range": [ + 3718, + 3725 + ], + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 20 + } + } + }, + "range": [ + 3713, + 3725 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 3713, + 3727 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 22 + } + } + }, + "range": [ + 3713, + 3728 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 23 + } + } + } + ], + "range": [ + 2419, + 3734 + ], + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2416, + 3734 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 131, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2412, + 3734 + ], + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 131, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes RowsCounter instance\n ", + "range": [ + 2356, + 2407 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n ", + "range": [ + 3740, + 3865 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 136, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "refresh", + "range": [ + 3870, + 3877 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "p", + "range": [ + 3878, + 3879 + ], + "loc": { + "start": { + "line": 137, + "column": 12 + }, + "end": { + "line": 137, + "column": 13 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3896, + 3900 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 3901, + 3912 + ], + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "range": [ + 3896, + 3912 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 3895, + 3912 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3917, + 3921 + ], + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 3922, + 3931 + ], + "loc": { + "start": { + "line": 138, + "column": 39 + }, + "end": { + "line": 138, + "column": 48 + } + } + }, + "range": [ + 3917, + 3931 + ], + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 3917, + 3933 + ], + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 50 + } + } + }, + "prefix": true, + "range": [ + 3916, + 3933 + ], + "loc": { + "start": { + "line": 138, + "column": 33 + }, + "end": { + "line": 138, + "column": 50 + } + } + }, + "range": [ + 3895, + 3933 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 3949, + 3956 + ], + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 139, + "column": 19 + } + } + } + ], + "range": [ + 3935, + 3966 + ], + "loc": { + "start": { + "line": 138, + "column": 52 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3891, + 3966 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 3980, + 3982 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3985, + 3989 + ], + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3990, + 3992 + ], + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "range": [ + 3985, + 3992 + ], + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 24 + } + } + }, + "range": [ + 3980, + 3992 + ], + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3976, + 3993 + ], + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4003, + 4007 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeRefreshCounter", + "range": [ + 4008, + 4030 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 35 + } + } + }, + "range": [ + 4003, + 4030 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4031, + 4033 + ], + "loc": { + "start": { + "line": 144, + "column": 36 + }, + "end": { + "line": 144, + "column": 38 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4035, + 4039 + ], + "loc": { + "start": { + "line": 144, + "column": 40 + }, + "end": { + "line": 144, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 4040, + 4045 + ], + "loc": { + "start": { + "line": 144, + "column": 45 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + "range": [ + 4035, + 4045 + ], + "loc": { + "start": { + "line": 144, + "column": 40 + }, + "end": { + "line": 144, + "column": 50 + } + } + } + ], + "range": [ + 4003, + 4046 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 51 + } + } + }, + "range": [ + 4003, + 4047 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "totTxt", + "range": [ + 4061, + 4067 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 18 + } + } + }, + "init": null, + "range": [ + 4061, + 4067 + ], + "loc": { + "start": { + "line": 146, + "column": 12 + }, + "end": { + "line": 146, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 4057, + 4068 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 146, + "column": 19 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4082, + 4084 + ], + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 4085, + 4091 + ], + "loc": { + "start": { + "line": 147, + "column": 16 + }, + "end": { + "line": 147, + "column": 22 + } + } + }, + "range": [ + 4082, + 4091 + ], + "loc": { + "start": { + "line": 147, + "column": 13 + }, + "end": { + "line": 147, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 4081, + 4091 + ], + "loc": { + "start": { + "line": 147, + "column": 12 + }, + "end": { + "line": 147, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "p", + "range": [ + 4111, + 4112 + ], + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 17 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "p", + "range": [ + 4116, + 4117 + ], + "loc": { + "start": { + "line": 148, + "column": 21 + }, + "end": { + "line": 148, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 4122, + 4124 + ], + "loc": { + "start": { + "line": 148, + "column": 27 + }, + "end": { + "line": 148, + "column": 29 + } + } + }, + "range": [ + 4116, + 4124 + ], + "loc": { + "start": { + "line": 148, + "column": 21 + }, + "end": { + "line": 148, + "column": 29 + } + } + }, + "range": [ + 4111, + 4124 + ], + "loc": { + "start": { + "line": 148, + "column": 16 + }, + "end": { + "line": 148, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "totTxt", + "range": [ + 4144, + 4150 + ], + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "p", + "range": [ + 4153, + 4154 + ], + "loc": { + "start": { + "line": 149, + "column": 25 + }, + "end": { + "line": 149, + "column": 26 + } + } + }, + "range": [ + 4144, + 4154 + ], + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 26 + } + } + }, + "range": [ + 4144, + 4155 + ], + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 27 + } + } + } + ], + "range": [ + 4126, + 4169 + ], + "loc": { + "start": { + "line": 148, + "column": 31 + }, + "end": { + "line": 150, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "totTxt", + "range": [ + 4193, + 4199 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4202, + 4204 + ], + "loc": { + "start": { + "line": 151, + "column": 25 + }, + "end": { + "line": 151, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterableRowsNb", + "range": [ + 4205, + 4224 + ], + "loc": { + "start": { + "line": 151, + "column": 28 + }, + "end": { + "line": 151, + "column": 47 + } + } + }, + "range": [ + 4202, + 4224 + ], + "loc": { + "start": { + "line": 151, + "column": 25 + }, + "end": { + "line": 151, + "column": 47 + } + } + }, + "arguments": [], + "range": [ + 4202, + 4226 + ], + "loc": { + "start": { + "line": 151, + "column": 25 + }, + "end": { + "line": 151, + "column": 49 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4229, + 4231 + ], + "loc": { + "start": { + "line": 151, + "column": 52 + }, + "end": { + "line": 151, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbHiddenRows", + "range": [ + 4232, + 4244 + ], + "loc": { + "start": { + "line": 151, + "column": 55 + }, + "end": { + "line": 151, + "column": 67 + } + } + }, + "range": [ + 4229, + 4244 + ], + "loc": { + "start": { + "line": 151, + "column": 52 + }, + "end": { + "line": 151, + "column": 67 + } + } + }, + "range": [ + 4202, + 4244 + ], + "loc": { + "start": { + "line": 151, + "column": 25 + }, + "end": { + "line": 151, + "column": 67 + } + } + }, + "range": [ + 4193, + 4244 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 67 + } + } + }, + "range": [ + 4193, + 4245 + ], + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 68 + } + } + } + ], + "range": [ + 4175, + 4259 + ], + "loc": { + "start": { + "line": 150, + "column": 19 + }, + "end": { + "line": 152, + "column": 13 + } + } + }, + "range": [ + 4107, + 4259 + ], + "loc": { + "start": { + "line": 148, + "column": 12 + }, + "end": { + "line": 152, + "column": 13 + } + } + } + ], + "range": [ + 4093, + 4269 + ], + "loc": { + "start": { + "line": 147, + "column": 24 + }, + "end": { + "line": 153, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "paging", + "range": [ + 4293, + 4299 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4302, + 4304 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 4305, + 4312 + ], + "loc": { + "start": { + "line": 154, + "column": 28 + }, + "end": { + "line": 154, + "column": 35 + } + } + }, + "range": [ + 4302, + 4312 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "paging", + "raw": "'paging'", + "range": [ + 4313, + 4321 + ], + "loc": { + "start": { + "line": 154, + "column": 36 + }, + "end": { + "line": 154, + "column": 44 + } + } + } + ], + "range": [ + 4302, + 4322 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 45 + } + } + }, + "range": [ + 4293, + 4322 + ], + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 4289, + 4323 + ], + "loc": { + "start": { + "line": 154, + "column": 12 + }, + "end": { + "line": 154, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "paging", + "range": [ + 4340, + 4346 + ], + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbValidRows", + "range": [ + 4370, + 4381 + ], + "loc": { + "start": { + "line": 156, + "column": 20 + }, + "end": { + "line": 156, + "column": 31 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 4384, + 4386 + ], + "loc": { + "start": { + "line": 156, + "column": 34 + }, + "end": { + "line": 156, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 4387, + 4401 + ], + "loc": { + "start": { + "line": 156, + "column": 37 + }, + "end": { + "line": 156, + "column": 51 + } + } + }, + "range": [ + 4384, + 4401 + ], + "loc": { + "start": { + "line": 156, + "column": 34 + }, + "end": { + "line": 156, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 4384, + 4403 + ], + "loc": { + "start": { + "line": 156, + "column": 34 + }, + "end": { + "line": 156, + "column": 53 + } + } + }, + "range": [ + 4370, + 4403 + ], + "loc": { + "start": { + "line": 156, + "column": 20 + }, + "end": { + "line": 156, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 4366, + 4404 + ], + "loc": { + "start": { + "line": 156, + "column": 16 + }, + "end": { + "line": 156, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "paging start row", + "range": [ + 4421, + 4439 + ], + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 34 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pagingStartRow", + "range": [ + 4460, + 4474 + ], + "loc": { + "start": { + "line": 158, + "column": 20 + }, + "end": { + "line": 158, + "column": 34 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 4477, + 4485 + ], + "loc": { + "start": { + "line": 158, + "column": 37 + }, + "end": { + "line": 158, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 4486, + 4492 + ], + "loc": { + "start": { + "line": 158, + "column": 46 + }, + "end": { + "line": 158, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "startPagingRow", + "range": [ + 4493, + 4507 + ], + "loc": { + "start": { + "line": 158, + "column": 53 + }, + "end": { + "line": 158, + "column": 67 + } + } + }, + "range": [ + 4486, + 4507 + ], + "loc": { + "start": { + "line": 158, + "column": 46 + }, + "end": { + "line": 158, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 4509, + 4511 + ], + "loc": { + "start": { + "line": 158, + "column": 69 + }, + "end": { + "line": 158, + "column": 71 + } + } + } + ], + "range": [ + 4477, + 4512 + ], + "loc": { + "start": { + "line": 158, + "column": 37 + }, + "end": { + "line": 158, + "column": 72 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "nbValidRows", + "range": [ + 4537, + 4548 + ], + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4551, + 4552 + ], + "loc": { + "start": { + "line": 159, + "column": 36 + }, + "end": { + "line": 159, + "column": 37 + } + } + }, + "range": [ + 4537, + 4552 + ], + "loc": { + "start": { + "line": 159, + "column": 22 + }, + "end": { + "line": 159, + "column": 37 + } + } + }, + "consequent": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4556, + 4557 + ], + "loc": { + "start": { + "line": 159, + "column": 41 + }, + "end": { + "line": 159, + "column": 42 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4560, + 4561 + ], + "loc": { + "start": { + "line": 159, + "column": 45 + }, + "end": { + "line": 159, + "column": 46 + } + } + }, + "range": [ + 4536, + 4561 + ], + "loc": { + "start": { + "line": 159, + "column": 21 + }, + "end": { + "line": 159, + "column": 46 + } + } + }, + "range": [ + 4477, + 4562 + ], + "loc": { + "start": { + "line": 158, + "column": 37 + }, + "end": { + "line": 159, + "column": 47 + } + } + }, + "range": [ + 4460, + 4562 + ], + "loc": { + "start": { + "line": 158, + "column": 20 + }, + "end": { + "line": 159, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 4456, + 4563 + ], + "loc": { + "start": { + "line": 158, + "column": 16 + }, + "end": { + "line": 159, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "paging start row", + "range": [ + 4421, + 4439 + ], + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 34 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pagingEndRow", + "range": [ + 4584, + 4596 + ], + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 160, + "column": 32 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "pagingStartRow", + "range": [ + 4620, + 4634 + ], + "loc": { + "start": { + "line": 161, + "column": 21 + }, + "end": { + "line": 161, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 4637, + 4643 + ], + "loc": { + "start": { + "line": 161, + "column": 38 + }, + "end": { + "line": 161, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 4644, + 4654 + ], + "loc": { + "start": { + "line": 161, + "column": 45 + }, + "end": { + "line": 161, + "column": 55 + } + } + }, + "range": [ + 4637, + 4654 + ], + "loc": { + "start": { + "line": 161, + "column": 38 + }, + "end": { + "line": 161, + "column": 55 + } + } + }, + "range": [ + 4620, + 4654 + ], + "loc": { + "start": { + "line": 161, + "column": 21 + }, + "end": { + "line": 161, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4658, + 4659 + ], + "loc": { + "start": { + "line": 161, + "column": 59 + }, + "end": { + "line": 161, + "column": 60 + } + } + }, + "range": [ + 4619, + 4659 + ], + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 161, + "column": 60 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbValidRows", + "range": [ + 4683, + 4694 + ], + "loc": { + "start": { + "line": 162, + "column": 20 + }, + "end": { + "line": 162, + "column": 31 + } + } + }, + "range": [ + 4619, + 4694 + ], + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 162, + "column": 31 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "pagingStartRow", + "range": [ + 4721, + 4735 + ], + "loc": { + "start": { + "line": 163, + "column": 24 + }, + "end": { + "line": 163, + "column": 38 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "paging", + "range": [ + 4738, + 4744 + ], + "loc": { + "start": { + "line": 163, + "column": 41 + }, + "end": { + "line": 163, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 4745, + 4755 + ], + "loc": { + "start": { + "line": 163, + "column": 48 + }, + "end": { + "line": 163, + "column": 58 + } + } + }, + "range": [ + 4738, + 4755 + ], + "loc": { + "start": { + "line": 163, + "column": 41 + }, + "end": { + "line": 163, + "column": 58 + } + } + }, + "range": [ + 4721, + 4755 + ], + "loc": { + "start": { + "line": 163, + "column": 24 + }, + "end": { + "line": 163, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4758, + 4759 + ], + "loc": { + "start": { + "line": 163, + "column": 61 + }, + "end": { + "line": 163, + "column": 62 + } + } + }, + "range": [ + 4721, + 4759 + ], + "loc": { + "start": { + "line": 163, + "column": 24 + }, + "end": { + "line": 163, + "column": 62 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "nbValidRows", + "range": [ + 4786, + 4797 + ], + "loc": { + "start": { + "line": 164, + "column": 24 + }, + "end": { + "line": 164, + "column": 35 + } + } + }, + "range": [ + 4619, + 4797 + ], + "loc": { + "start": { + "line": 161, + "column": 20 + }, + "end": { + "line": 164, + "column": 35 + } + } + }, + "range": [ + 4584, + 4797 + ], + "loc": { + "start": { + "line": 160, + "column": 20 + }, + "end": { + "line": 164, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 4580, + 4798 + ], + "loc": { + "start": { + "line": 160, + "column": 16 + }, + "end": { + "line": 164, + "column": 36 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "totTxt", + "range": [ + 4815, + 4821 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "pagingStartRow", + "range": [ + 4824, + 4838 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 165, + "column": 39 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4841, + 4845 + ], + "loc": { + "start": { + "line": 165, + "column": 42 + }, + "end": { + "line": 165, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "fromToTextSeparator", + "range": [ + 4846, + 4865 + ], + "loc": { + "start": { + "line": 165, + "column": 47 + }, + "end": { + "line": 165, + "column": 66 + } + } + }, + "range": [ + 4841, + 4865 + ], + "loc": { + "start": { + "line": 165, + "column": 42 + }, + "end": { + "line": 165, + "column": 66 + } + } + }, + "range": [ + 4824, + 4865 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 165, + "column": 66 + } + } + }, + "right": { + "type": "Identifier", + "name": "pagingEndRow", + "range": [ + 4888, + 4900 + ], + "loc": { + "start": { + "line": 166, + "column": 20 + }, + "end": { + "line": 166, + "column": 32 + } + } + }, + "range": [ + 4824, + 4900 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 166, + "column": 32 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4903, + 4907 + ], + "loc": { + "start": { + "line": 166, + "column": 35 + }, + "end": { + "line": 166, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "overText", + "range": [ + 4908, + 4916 + ], + "loc": { + "start": { + "line": 166, + "column": 40 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "range": [ + 4903, + 4916 + ], + "loc": { + "start": { + "line": 166, + "column": 35 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "range": [ + 4824, + 4916 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 166, + "column": 48 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbValidRows", + "range": [ + 4919, + 4930 + ], + "loc": { + "start": { + "line": 166, + "column": 51 + }, + "end": { + "line": 166, + "column": 62 + } + } + }, + "range": [ + 4824, + 4930 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 166, + "column": 62 + } + } + }, + "range": [ + 4815, + 4930 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 166, + "column": 62 + } + } + }, + "range": [ + 4815, + 4931 + ], + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 166, + "column": 63 + } + } + } + ], + "range": [ + 4348, + 4945 + ], + "loc": { + "start": { + "line": 155, + "column": 24 + }, + "end": { + "line": 167, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 4336, + 4945 + ], + "loc": { + "start": { + "line": 155, + "column": 12 + }, + "end": { + "line": 167, + "column": 13 + } + } + } + ], + "range": [ + 4275, + 4955 + ], + "loc": { + "start": { + "line": 153, + "column": 15 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + "range": [ + 4077, + 4955 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 168, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4965, + 4969 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 4970, + 4975 + ], + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 18 + } + } + }, + "range": [ + 4965, + 4975 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 4976, + 4985 + ], + "loc": { + "start": { + "line": 170, + "column": 19 + }, + "end": { + "line": 170, + "column": 28 + } + } + }, + "range": [ + 4965, + 4985 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "totTxt", + "range": [ + 4988, + 4994 + ], + "loc": { + "start": { + "line": 170, + "column": 31 + }, + "end": { + "line": 170, + "column": 37 + } + } + }, + "range": [ + 4965, + 4994 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 37 + } + } + }, + "range": [ + 4965, + 4995 + ], + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5004, + 5008 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterRefreshCounter", + "range": [ + 5009, + 5030 + ], + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 34 + } + } + }, + "range": [ + 5004, + 5030 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5031, + 5033 + ], + "loc": { + "start": { + "line": 171, + "column": 35 + }, + "end": { + "line": 171, + "column": 37 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5035, + 5039 + ], + "loc": { + "start": { + "line": 171, + "column": 39 + }, + "end": { + "line": 171, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 5040, + 5045 + ], + "loc": { + "start": { + "line": 171, + "column": 44 + }, + "end": { + "line": 171, + "column": 49 + } + } + }, + "range": [ + 5035, + 5045 + ], + "loc": { + "start": { + "line": 171, + "column": 39 + }, + "end": { + "line": 171, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "totTxt", + "range": [ + 5047, + 5053 + ], + "loc": { + "start": { + "line": 171, + "column": 51 + }, + "end": { + "line": 171, + "column": 57 + } + } + } + ], + "range": [ + 5004, + 5054 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 58 + } + } + }, + "range": [ + 5004, + 5055 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 171, + "column": 59 + } + } + } + ], + "range": [ + 3881, + 5061 + ], + "loc": { + "start": { + "line": 137, + "column": 15 + }, + "end": { + "line": 172, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3877, + 5061 + ], + "loc": { + "start": { + "line": 137, + "column": 11 + }, + "end": { + "line": 172, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3870, + 5061 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 172, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n ", + "range": [ + 3740, + 3865 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 136, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 5067, + 5100 + ], + "loc": { + "start": { + "line": 174, + "column": 4 + }, + "end": { + "line": 176, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 5105, + 5112 + ], + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 177, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5130, + 5134 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5135, + 5146 + ], + "loc": { + "start": { + "line": 178, + "column": 18 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + "range": [ + 5130, + 5146 + ], + "loc": { + "start": { + "line": 178, + "column": 13 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 5129, + 5146 + ], + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5162, + 5169 + ], + "loc": { + "start": { + "line": 179, + "column": 12 + }, + "end": { + "line": 179, + "column": 19 + } + } + } + ], + "range": [ + 5148, + 5179 + ], + "loc": { + "start": { + "line": 178, + "column": 31 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5125, + 5179 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 180, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5194, + 5198 + ], + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5199, + 5207 + ], + "loc": { + "start": { + "line": 182, + "column": 18 + }, + "end": { + "line": 182, + "column": 26 + } + } + }, + "range": [ + 5194, + 5207 + ], + "loc": { + "start": { + "line": 182, + "column": 13 + }, + "end": { + "line": 182, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 5193, + 5207 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5211, + 5215 + ], + "loc": { + "start": { + "line": 182, + "column": 30 + }, + "end": { + "line": 182, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 5216, + 5225 + ], + "loc": { + "start": { + "line": 182, + "column": 35 + }, + "end": { + "line": 182, + "column": 44 + } + } + }, + "range": [ + 5211, + 5225 + ], + "loc": { + "start": { + "line": 182, + "column": 30 + }, + "end": { + "line": 182, + "column": 44 + } + } + }, + "range": [ + 5193, + 5225 + ], + "loc": { + "start": { + "line": 182, + "column": 12 + }, + "end": { + "line": 182, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 5241, + 5250 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5251, + 5255 + ], + "loc": { + "start": { + "line": 183, + "column": 22 + }, + "end": { + "line": 183, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 5256, + 5265 + ], + "loc": { + "start": { + "line": 183, + "column": 27 + }, + "end": { + "line": 183, + "column": 36 + } + } + }, + "range": [ + 5251, + 5265 + ], + "loc": { + "start": { + "line": 183, + "column": 22 + }, + "end": { + "line": 183, + "column": 36 + } + } + } + ], + "range": [ + 5241, + 5266 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 37 + } + } + }, + "range": [ + 5241, + 5267 + ], + "loc": { + "start": { + "line": 183, + "column": 12 + }, + "end": { + "line": 183, + "column": 38 + } + } + } + ], + "range": [ + 5227, + 5277 + ], + "loc": { + "start": { + "line": 182, + "column": 46 + }, + "end": { + "line": 184, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 5297, + 5300 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5301, + 5305 + ], + "loc": { + "start": { + "line": 185, + "column": 16 + }, + "end": { + "line": 185, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5306, + 5314 + ], + "loc": { + "start": { + "line": 185, + "column": 21 + }, + "end": { + "line": 185, + "column": 29 + } + } + }, + "range": [ + 5301, + 5314 + ], + "loc": { + "start": { + "line": 185, + "column": 16 + }, + "end": { + "line": 185, + "column": 29 + } + } + } + ], + "range": [ + 5297, + 5315 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 5316, + 5325 + ], + "loc": { + "start": { + "line": 185, + "column": 31 + }, + "end": { + "line": 185, + "column": 40 + } + } + }, + "range": [ + 5297, + 5325 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 40 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 5328, + 5330 + ], + "loc": { + "start": { + "line": 185, + "column": 43 + }, + "end": { + "line": 185, + "column": 45 + } + } + }, + "range": [ + 5297, + 5330 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 45 + } + } + }, + "range": [ + 5297, + 5331 + ], + "loc": { + "start": { + "line": 185, + "column": 12 + }, + "end": { + "line": 185, + "column": 46 + } + } + } + ], + "range": [ + 5283, + 5341 + ], + "loc": { + "start": { + "line": 184, + "column": 15 + }, + "end": { + "line": 186, + "column": 9 + } + } + }, + "range": [ + 5189, + 5341 + ], + "loc": { + "start": { + "line": 182, + "column": 8 + }, + "end": { + "line": 186, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5350, + 5354 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "label", + "range": [ + 5355, + 5360 + ], + "loc": { + "start": { + "line": 187, + "column": 13 + }, + "end": { + "line": 187, + "column": 18 + } + } + }, + "range": [ + 5350, + 5360 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5363, + 5367 + ], + "loc": { + "start": { + "line": 187, + "column": 21 + }, + "end": { + "line": 187, + "column": 25 + } + } + }, + "range": [ + 5350, + 5367 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 25 + } + } + }, + "range": [ + 5350, + 5368 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5377, + 5381 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 5382, + 5391 + ], + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 22 + } + } + }, + "range": [ + 5377, + 5391 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5394, + 5398 + ], + "loc": { + "start": { + "line": 188, + "column": 25 + }, + "end": { + "line": 188, + "column": 29 + } + } + }, + "range": [ + 5377, + 5398 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 29 + } + } + }, + "range": [ + 5377, + 5399 + ], + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 5409, + 5433 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5442, + 5446 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5447, + 5454 + ], + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "range": [ + 5442, + 5454 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 5455, + 5458 + ], + "loc": { + "start": { + "line": 191, + "column": 21 + }, + "end": { + "line": 191, + "column": 24 + } + } + }, + "range": [ + 5442, + 5458 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 5460, + 5477 + ], + "loc": { + "start": { + "line": 191, + "column": 26 + }, + "end": { + "line": 191, + "column": 43 + } + } + }, + { + "type": "Literal", + "value": "grouped-by-page", + "raw": "'grouped-by-page'", + "range": [ + 5479, + 5496 + ], + "loc": { + "start": { + "line": 191, + "column": 45 + }, + "end": { + "line": 191, + "column": 62 + } + } + } + ], + "range": [ + 5459, + 5497 + ], + "loc": { + "start": { + "line": 191, + "column": 25 + }, + "end": { + "line": 191, + "column": 63 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5517, + 5521 + ], + "loc": { + "start": { + "line": 192, + "column": 18 + }, + "end": { + "line": 192, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "refresh", + "range": [ + 5522, + 5529 + ], + "loc": { + "start": { + "line": 192, + "column": 23 + }, + "end": { + "line": 192, + "column": 30 + } + } + }, + "range": [ + 5517, + 5529 + ], + "loc": { + "start": { + "line": 192, + "column": 18 + }, + "end": { + "line": 192, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5530, + 5532 + ], + "loc": { + "start": { + "line": 192, + "column": 31 + }, + "end": { + "line": 192, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 5533, + 5547 + ], + "loc": { + "start": { + "line": 192, + "column": 34 + }, + "end": { + "line": 192, + "column": 48 + } + } + }, + "range": [ + 5530, + 5547 + ], + "loc": { + "start": { + "line": 192, + "column": 31 + }, + "end": { + "line": 192, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 5530, + 5549 + ], + "loc": { + "start": { + "line": 192, + "column": 31 + }, + "end": { + "line": 192, + "column": 50 + } + } + } + ], + "range": [ + 5517, + 5550 + ], + "loc": { + "start": { + "line": 192, + "column": 18 + }, + "end": { + "line": 192, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5511, + 5550 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 51 + } + } + } + ], + "range": [ + 5442, + 5551 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 192, + "column": 52 + } + } + }, + "range": [ + 5442, + 5552 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 192, + "column": 53 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 5409, + 5433 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5561, + 5565 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5566, + 5573 + ], + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 193, + "column": 20 + } + } + }, + "range": [ + 5561, + 5573 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 5574, + 5577 + ], + "loc": { + "start": { + "line": 193, + "column": 21 + }, + "end": { + "line": 193, + "column": 24 + } + } + }, + "range": [ + 5561, + 5577 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rows-changed", + "raw": "'rows-changed'", + "range": [ + 5579, + 5593 + ], + "loc": { + "start": { + "line": 193, + "column": 26 + }, + "end": { + "line": 193, + "column": 40 + } + } + } + ], + "range": [ + 5578, + 5594 + ], + "loc": { + "start": { + "line": 193, + "column": 25 + }, + "end": { + "line": 193, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5602, + 5606 + ], + "loc": { + "start": { + "line": 193, + "column": 49 + }, + "end": { + "line": 193, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "refresh", + "range": [ + 5607, + 5614 + ], + "loc": { + "start": { + "line": 193, + "column": 54 + }, + "end": { + "line": 193, + "column": 61 + } + } + }, + "range": [ + 5602, + 5614 + ], + "loc": { + "start": { + "line": 193, + "column": 49 + }, + "end": { + "line": 193, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 5602, + 5616 + ], + "loc": { + "start": { + "line": 193, + "column": 49 + }, + "end": { + "line": 193, + "column": 63 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5596, + 5616 + ], + "loc": { + "start": { + "line": 193, + "column": 43 + }, + "end": { + "line": 193, + "column": 63 + } + } + } + ], + "range": [ + 5561, + 5617 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 64 + } + } + }, + "range": [ + 5561, + 5618 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5628, + 5632 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5633, + 5644 + ], + "loc": { + "start": { + "line": 195, + "column": 13 + }, + "end": { + "line": 195, + "column": 24 + } + } + }, + "range": [ + 5628, + 5644 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 5647, + 5652 + ], + "loc": { + "start": { + "line": 195, + "column": 27 + }, + "end": { + "line": 195, + "column": 32 + } + } + }, + "range": [ + 5628, + 5652 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 32 + } + } + }, + "range": [ + 5628, + 5653 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 33 + } + } + } + ], + "range": [ + 5115, + 5659 + ], + "loc": { + "start": { + "line": 177, + "column": 14 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5112, + 5659 + ], + "loc": { + "start": { + "line": 177, + "column": 11 + }, + "end": { + "line": 196, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5105, + 5659 + ], + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 196, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 5067, + 5100 + ], + "loc": { + "start": { + "line": 174, + "column": 4 + }, + "end": { + "line": 176, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 320, + 5661 + ], + "loc": { + "start": { + "line": 12, + "column": 41 + }, + "end": { + "line": 197, + "column": 1 + } + } + }, + "range": [ + 286, + 5661 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 197, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n ", + "range": [ + 187, + 278 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 279, + 5661 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 197, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n ", + "range": [ + 187, + 278 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 5661 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 197, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n ", + "range": [ + 187, + 278 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 327, + 432 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TableFilter configuration", + "range": [ + 498, + 526 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 36 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 584, + 667 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 733, + 831 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n ", + "range": [ + 872, + 1016 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text preceding the total number of rows\n * @type {String}\n ", + "range": [ + 1053, + 1145 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1206, + 1397 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n ", + "range": [ + 1473, + 1715 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1782, + 1866 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the counter is refreshed\n * @type {Function}\n ", + "range": [ + 1933, + 2034 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the counter is refreshed\n * @type {Function}\n ", + "range": [ + 2145, + 2245 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 81, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes RowsCounter instance\n ", + "range": [ + 2356, + 2407 + ], + "loc": { + "start": { + "line": 86, + "column": 4 + }, + "end": { + "line": 88, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "rows counter container", + "range": [ + 2519, + 2543 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 96, + "column": 32 + } + } + }, + { + "type": "Line", + "value": "rows counter label", + "range": [ + 2637, + 2657 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " counter is added to defined element", + "range": [ + 2807, + 2845 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 46 + } + } + }, + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 2994, + 3021 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 35 + } + } + }, + { + "type": "Line", + "value": "custom container, no need to append statusDiv", + "range": [ + 3215, + 3262 + ], + "loc": { + "start": { + "line": 116, + "column": 12 + }, + "end": { + "line": 116, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " subscribe to events", + "range": [ + 3439, + 3461 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "* @inherited ", + "range": [ + 3654, + 3671 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 128, + "column": 25 + } + } + }, + { + "type": "Block", + "value": "*\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n ", + "range": [ + 3740, + 3865 + ], + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 136, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "paging start row", + "range": [ + 4421, + 4439 + ], + "loc": { + "start": { + "line": 157, + "column": 16 + }, + "end": { + "line": 157, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove feature\n ", + "range": [ + 5067, + 5100 + ], + "loc": { + "start": { + "line": 174, + "column": 4 + }, + "end": { + "line": 176, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 5409, + 5433 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/state.js.json b/docs/ast/source/modules/state.js.json new file mode 100644 index 00000000..dde14a1d --- /dev/null +++ b/docs/ast/source/modules/state.js.json @@ -0,0 +1,31916 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Hash", + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Hash", + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./hash", + "raw": "'./hash'", + "range": [ + 55, + 63 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + "range": [ + 36, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Storage", + "range": [ + 73, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Storage", + "range": [ + 73, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + "range": [ + 73, + 80 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./storage", + "raw": "'./storage'", + "range": [ + 87, + 98 + ], + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 33 + } + } + }, + "range": [ + 65, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 108, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 108, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "range": [ + 108, + 115 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../string", + "raw": "'../string'", + "range": [ + 122, + 133 + ], + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + "range": [ + 100, + 134 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 143, + 150 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 143, + 150 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + "range": [ + 143, + 150 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isNull", + "range": [ + 152, + 158 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isNull", + "range": [ + 152, + 158 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + "range": [ + 152, + 158 + ], + "loc": { + "start": { + "line": 5, + "column": 17 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isString", + "range": [ + 160, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 25 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isString", + "range": [ + 160, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 25 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + "range": [ + 160, + 168 + ], + "loc": { + "start": { + "line": 5, + "column": 25 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 170, + 177 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 42 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 170, + 177 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 42 + } + } + }, + "range": [ + 170, + 177 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 42 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 184, + 194 + ], + "loc": { + "start": { + "line": 5, + "column": 49 + }, + "end": { + "line": 5, + "column": 59 + } + } + }, + "range": [ + 135, + 195 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 60 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 204, + 216 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 204, + 216 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + "range": [ + 204, + 216 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 218, + 228 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 32 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 218, + 228 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 32 + } + } + }, + "range": [ + 218, + 228 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 32 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 235, + 248 + ], + "loc": { + "start": { + "line": 6, + "column": 39 + }, + "end": { + "line": 6, + "column": 52 + } + } + }, + "range": [ + 196, + 249 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n ", + "range": [ + 251, + 385 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "State", + "range": [ + 399, + 404 + ], + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 413, + 420 + ], + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 532, + 543 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 544, + 546 + ], + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 558, + 563 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 564, + 566 + ], + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "state", + "raw": "'state'", + "range": [ + 568, + 575 + ], + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 25 + } + } + } + ], + "range": [ + 558, + 576 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 26 + } + } + }, + "range": [ + 558, + 577 + ], + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cfg", + "range": [ + 591, + 594 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 15 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 597, + 601 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 602, + 608 + ], + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 29 + } + } + }, + "range": [ + 597, + 608 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 609, + 614 + ], + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 24, + "column": 35 + } + } + }, + "range": [ + 597, + 614 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 35 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 618, + 620 + ], + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 41 + } + } + }, + "range": [ + 597, + 620 + ], + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 41 + } + } + }, + "range": [ + 591, + 620 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 587, + 621 + ], + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 42 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n ", + "range": [ + 631, + 736 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 745, + 749 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHash", + "range": [ + 750, + 760 + ], + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + "range": [ + 745, + 760 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "cfg", + "range": [ + 763, + 766 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 771, + 775 + ], + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + "range": [ + 763, + 775 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 38 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 792, + 799 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 800, + 803 + ], + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 804, + 809 + ], + "loc": { + "start": { + "line": 31, + "column": 25 + }, + "end": { + "line": 31, + "column": 30 + } + } + }, + "range": [ + 800, + 809 + ], + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 30 + } + } + } + ], + "range": [ + 792, + 810 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 814, + 817 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 818, + 823 + ], + "loc": { + "start": { + "line": 31, + "column": 39 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + "range": [ + 814, + 823 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 824, + 831 + ], + "loc": { + "start": { + "line": 31, + "column": 45 + }, + "end": { + "line": 31, + "column": 52 + } + } + }, + "range": [ + 814, + 831 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "hash", + "raw": "'hash'", + "range": [ + 832, + 838 + ], + "loc": { + "start": { + "line": 31, + "column": 53 + }, + "end": { + "line": 31, + "column": 59 + } + } + } + ], + "range": [ + 814, + 839 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 60 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 845, + 846 + ], + "loc": { + "start": { + "line": 31, + "column": 66 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + "prefix": true, + "range": [ + 844, + 846 + ], + "loc": { + "start": { + "line": 31, + "column": 65 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + "range": [ + 814, + 846 + ], + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + "range": [ + 792, + 846 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + "range": [ + 763, + 847 + ], + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 31, + "column": 68 + } + } + }, + "range": [ + 745, + 847 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 31, + "column": 68 + } + } + }, + "range": [ + 745, + 848 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 31, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n ", + "range": [ + 631, + 736 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 858, + 967 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 976, + 980 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 981, + 999 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + "range": [ + 976, + 999 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 31 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 1002, + 1009 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1010, + 1013 + ], + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 1014, + 1019 + ], + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 51 + } + } + }, + "range": [ + 1010, + 1019 + ], + "loc": { + "start": { + "line": 37, + "column": 42 + }, + "end": { + "line": 37, + "column": 51 + } + } + } + ], + "range": [ + 1002, + 1020 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 52 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1036, + 1039 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 1040, + 1045 + ], + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + "range": [ + 1036, + 1045 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 1046, + 1053 + ], + "loc": { + "start": { + "line": 38, + "column": 22 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + "range": [ + 1036, + 1053 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "local_storage", + "raw": "'local_storage'", + "range": [ + 1054, + 1069 + ], + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 45 + } + } + } + ], + "range": [ + 1036, + 1070 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 46 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1076, + 1077 + ], + "loc": { + "start": { + "line": 38, + "column": 52 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + "prefix": true, + "range": [ + 1075, + 1077 + ], + "loc": { + "start": { + "line": 38, + "column": 51 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + "range": [ + 1036, + 1077 + ], + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + "range": [ + 1002, + 1077 + ], + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + "range": [ + 976, + 1077 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 38, + "column": 53 + } + } + }, + "range": [ + 976, + 1078 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 38, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 858, + 967 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 1088, + 1197 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1206, + 1210 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableCookie", + "range": [ + 1211, + 1223 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + "range": [ + 1206, + 1223 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 1226, + 1233 + ], + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1234, + 1237 + ], + "loc": { + "start": { + "line": 44, + "column": 36 + }, + "end": { + "line": 44, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 1238, + 1243 + ], + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 45 + } + } + }, + "range": [ + 1234, + 1243 + ], + "loc": { + "start": { + "line": 44, + "column": 36 + }, + "end": { + "line": 44, + "column": 45 + } + } + } + ], + "range": [ + 1226, + 1244 + ], + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 44, + "column": 46 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1260, + 1263 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "types", + "range": [ + 1264, + 1269 + ], + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + "range": [ + 1260, + 1269 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 1270, + 1277 + ], + "loc": { + "start": { + "line": 45, + "column": 22 + }, + "end": { + "line": 45, + "column": 29 + } + } + }, + "range": [ + 1260, + 1277 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "cookie", + "raw": "'cookie'", + "range": [ + 1278, + 1286 + ], + "loc": { + "start": { + "line": 45, + "column": 30 + }, + "end": { + "line": 45, + "column": 38 + } + } + } + ], + "range": [ + 1260, + 1287 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 39 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 1293, + 1294 + ], + "loc": { + "start": { + "line": 45, + "column": 45 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + "prefix": true, + "range": [ + 1292, + 1294 + ], + "loc": { + "start": { + "line": 45, + "column": 44 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + "range": [ + 1260, + 1294 + ], + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + "range": [ + 1226, + 1294 + ], + "loc": { + "start": { + "line": 44, + "column": 28 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + "range": [ + 1206, + 1294 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + "range": [ + 1206, + 1295 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 45, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 1088, + 1197 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist filters values, enabled by default\n * @type {Boolean}\n ", + "range": [ + 1305, + 1401 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1410, + 1414 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFilters", + "range": [ + 1415, + 1429 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + "range": [ + 1410, + 1429 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 1432, + 1444 + ], + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 51, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1445, + 1448 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters", + "range": [ + 1449, + 1456 + ], + "loc": { + "start": { + "line": 51, + "column": 47 + }, + "end": { + "line": 51, + "column": 54 + } + } + }, + "range": [ + 1445, + 1456 + ], + "loc": { + "start": { + "line": 51, + "column": 43 + }, + "end": { + "line": 51, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 1458, + 1462 + ], + "loc": { + "start": { + "line": 51, + "column": 56 + }, + "end": { + "line": 51, + "column": 60 + } + } + } + ], + "range": [ + 1432, + 1463 + ], + "loc": { + "start": { + "line": 51, + "column": 30 + }, + "end": { + "line": 51, + "column": 61 + } + } + }, + "range": [ + 1410, + 1463 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 61 + } + } + }, + "range": [ + 1410, + 1464 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist filters values, enabled by default\n * @type {Boolean}\n ", + "range": [ + 1305, + 1401 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist current page number when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1474, + 1578 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1587, + 1591 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageNumber", + "range": [ + 1592, + 1609 + ], + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 30 + } + } + }, + "range": [ + 1587, + 1609 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 1612, + 1619 + ], + "loc": { + "start": { + "line": 57, + "column": 33 + }, + "end": { + "line": 57, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1620, + 1623 + ], + "loc": { + "start": { + "line": 57, + "column": 41 + }, + "end": { + "line": 57, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "page_number", + "range": [ + 1624, + 1635 + ], + "loc": { + "start": { + "line": 57, + "column": 45 + }, + "end": { + "line": 57, + "column": 56 + } + } + }, + "range": [ + 1620, + 1635 + ], + "loc": { + "start": { + "line": 57, + "column": 41 + }, + "end": { + "line": 57, + "column": 56 + } + } + } + ], + "range": [ + 1612, + 1636 + ], + "loc": { + "start": { + "line": 57, + "column": 33 + }, + "end": { + "line": 57, + "column": 57 + } + } + }, + "range": [ + 1587, + 1636 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 57 + } + } + }, + "range": [ + 1587, + 1637 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist current page number when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1474, + 1578 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist page length when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1647, + 1743 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1752, + 1756 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageLength", + "range": [ + 1757, + 1774 + ], + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 30 + } + } + }, + "range": [ + 1752, + 1774 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 1777, + 1784 + ], + "loc": { + "start": { + "line": 63, + "column": 33 + }, + "end": { + "line": 63, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1785, + 1788 + ], + "loc": { + "start": { + "line": 63, + "column": 41 + }, + "end": { + "line": 63, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "page_length", + "range": [ + 1789, + 1800 + ], + "loc": { + "start": { + "line": 63, + "column": 45 + }, + "end": { + "line": 63, + "column": 56 + } + } + }, + "range": [ + 1785, + 1800 + ], + "loc": { + "start": { + "line": 63, + "column": 41 + }, + "end": { + "line": 63, + "column": 56 + } + } + } + ], + "range": [ + 1777, + 1801 + ], + "loc": { + "start": { + "line": 63, + "column": 33 + }, + "end": { + "line": 63, + "column": 57 + } + } + }, + "range": [ + 1752, + 1801 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 57 + } + } + }, + "range": [ + 1752, + 1802 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist page length when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1647, + 1743 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist column sorting\n * @type {Boolean}\n ", + "range": [ + 1812, + 1888 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1897, + 1901 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistSort", + "range": [ + 1902, + 1913 + ], + "loc": { + "start": { + "line": 69, + "column": 13 + }, + "end": { + "line": 69, + "column": 24 + } + } + }, + "range": [ + 1897, + 1913 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 1916, + 1923 + ], + "loc": { + "start": { + "line": 69, + "column": 27 + }, + "end": { + "line": 69, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 1924, + 1927 + ], + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 1928, + 1932 + ], + "loc": { + "start": { + "line": 69, + "column": 39 + }, + "end": { + "line": 69, + "column": 43 + } + } + }, + "range": [ + 1924, + 1932 + ], + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 43 + } + } + } + ], + "range": [ + 1916, + 1933 + ], + "loc": { + "start": { + "line": 69, + "column": 27 + }, + "end": { + "line": 69, + "column": 44 + } + } + }, + "range": [ + 1897, + 1933 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 44 + } + } + }, + "range": [ + 1897, + 1934 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist column sorting\n * @type {Boolean}\n ", + "range": [ + 1812, + 1888 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist columns visibility\n * @type {Boolean}\n ", + "range": [ + 1944, + 2024 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2033, + 2037 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistColsVisibility", + "range": [ + 2038, + 2059 + ], + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + "range": [ + 2033, + 2059 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 34 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 2062, + 2069 + ], + "loc": { + "start": { + "line": 75, + "column": 37 + }, + "end": { + "line": 75, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2070, + 2073 + ], + "loc": { + "start": { + "line": 75, + "column": 45 + }, + "end": { + "line": 75, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "columns_visibility", + "range": [ + 2074, + 2092 + ], + "loc": { + "start": { + "line": 75, + "column": 49 + }, + "end": { + "line": 75, + "column": 67 + } + } + }, + "range": [ + 2070, + 2092 + ], + "loc": { + "start": { + "line": 75, + "column": 45 + }, + "end": { + "line": 75, + "column": 67 + } + } + } + ], + "range": [ + 2062, + 2093 + ], + "loc": { + "start": { + "line": 75, + "column": 37 + }, + "end": { + "line": 75, + "column": 68 + } + } + }, + "range": [ + 2033, + 2093 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 68 + } + } + }, + "range": [ + 2033, + 2094 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist columns visibility\n * @type {Boolean}\n ", + "range": [ + 1944, + 2024 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist filters row visibility\n * @type {Boolean}\n ", + "range": [ + 2104, + 2188 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2197, + 2201 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFiltersVisibility", + "range": [ + 2202, + 2226 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 37 + } + } + }, + "range": [ + 2197, + 2226 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 2229, + 2236 + ], + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2237, + 2240 + ], + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters_visibility", + "range": [ + 2241, + 2259 + ], + "loc": { + "start": { + "line": 81, + "column": 52 + }, + "end": { + "line": 81, + "column": 70 + } + } + }, + "range": [ + 2237, + 2259 + ], + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 70 + } + } + } + ], + "range": [ + 2229, + 2260 + ], + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 71 + } + } + }, + "range": [ + 2197, + 2260 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 71 + } + } + }, + "range": [ + 2197, + 2261 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist filters row visibility\n * @type {Boolean}\n ", + "range": [ + 2104, + 2188 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cookie duration in hours\n * @type {Boolean}\n ", + "range": [ + 2271, + 2349 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2358, + 2362 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookieDuration", + "range": [ + 2363, + 2377 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + "range": [ + 2358, + 2377 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 2380, + 2390 + ], + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 2391, + 2399 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2400, + 2403 + ], + "loc": { + "start": { + "line": 87, + "column": 50 + }, + "end": { + "line": 87, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookie_duration", + "range": [ + 2404, + 2419 + ], + "loc": { + "start": { + "line": 87, + "column": 54 + }, + "end": { + "line": 87, + "column": 69 + } + } + }, + "range": [ + 2400, + 2419 + ], + "loc": { + "start": { + "line": 87, + "column": 50 + }, + "end": { + "line": 87, + "column": 69 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 2421, + 2423 + ], + "loc": { + "start": { + "line": 87, + "column": 71 + }, + "end": { + "line": 87, + "column": 73 + } + } + } + ], + "range": [ + 2391, + 2424 + ], + "loc": { + "start": { + "line": 87, + "column": 41 + }, + "end": { + "line": 87, + "column": 74 + } + } + }, + { + "type": "Literal", + "value": 87600, + "raw": "87600", + "range": [ + 2438, + 2443 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 17 + } + } + } + ], + "range": [ + 2380, + 2444 + ], + "loc": { + "start": { + "line": 87, + "column": 30 + }, + "end": { + "line": 88, + "column": 18 + } + } + }, + "range": [ + 2358, + 2444 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 88, + "column": 18 + } + } + }, + "range": [ + 2358, + 2445 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 88, + "column": 19 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cookie duration in hours\n * @type {Boolean}\n ", + "range": [ + 2271, + 2349 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2455, + 2581 + ], + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2590, + 2594 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableStorage", + "range": [ + 2595, + 2608 + ], + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + "range": [ + 2590, + 2608 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 26 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2611, + 2615 + ], + "loc": { + "start": { + "line": 95, + "column": 29 + }, + "end": { + "line": 95, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 2616, + 2634 + ], + "loc": { + "start": { + "line": 95, + "column": 34 + }, + "end": { + "line": 95, + "column": 52 + } + } + }, + "range": [ + 2611, + 2634 + ], + "loc": { + "start": { + "line": 95, + "column": 29 + }, + "end": { + "line": 95, + "column": 52 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2638, + 2642 + ], + "loc": { + "start": { + "line": 95, + "column": 56 + }, + "end": { + "line": 95, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableCookie", + "range": [ + 2643, + 2655 + ], + "loc": { + "start": { + "line": 95, + "column": 61 + }, + "end": { + "line": 95, + "column": 73 + } + } + }, + "range": [ + 2638, + 2655 + ], + "loc": { + "start": { + "line": 95, + "column": 56 + }, + "end": { + "line": 95, + "column": 73 + } + } + }, + "range": [ + 2611, + 2655 + ], + "loc": { + "start": { + "line": 95, + "column": 29 + }, + "end": { + "line": 95, + "column": 73 + } + } + }, + "range": [ + 2590, + 2655 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 73 + } + } + }, + "range": [ + 2590, + 2656 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2455, + 2581 + ], + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n ", + "range": [ + 2666, + 2779 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 101, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2788, + 2792 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "storage", + "range": [ + 2793, + 2800 + ], + "loc": { + "start": { + "line": 102, + "column": 13 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + "range": [ + 2788, + 2800 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2803, + 2807 + ], + "loc": { + "start": { + "line": 102, + "column": 23 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + "range": [ + 2788, + 2807 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + "range": [ + 2788, + 2808 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n ", + "range": [ + 2666, + 2779 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 101, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2818, + 2929 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 108, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2938, + 2942 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 2943, + 2947 + ], + "loc": { + "start": { + "line": 109, + "column": 13 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + "range": [ + 2938, + 2947 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2950, + 2954 + ], + "loc": { + "start": { + "line": 109, + "column": 20 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + "range": [ + 2938, + 2954 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 24 + } + } + }, + "range": [ + 2938, + 2955 + ], + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 109, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2818, + 2929 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 108, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 2965, + 3057 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 115, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3066, + 3070 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNb", + "range": [ + 3071, + 3077 + ], + "loc": { + "start": { + "line": 116, + "column": 13 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + "range": [ + 3066, + 3077 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3080, + 3084 + ], + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + "range": [ + 3066, + 3084 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + "range": [ + 3066, + 3085 + ], + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 116, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 2965, + 3057 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 115, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current page length\n * @type {Number}\n * @private\n ", + "range": [ + 3095, + 3187 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 122, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3196, + 3200 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 3201, + 3211 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + "range": [ + 3196, + 3211 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3214, + 3218 + ], + "loc": { + "start": { + "line": 123, + "column": 26 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "range": [ + 3196, + 3218 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 30 + } + } + }, + "range": [ + 3196, + 3219 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current page length\n * @type {Number}\n * @private\n ", + "range": [ + 3095, + 3187 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 122, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current column sorting\n * @type {Object}\n * @private\n ", + "range": [ + 3229, + 3324 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3333, + 3337 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 3338, + 3342 + ], + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + "range": [ + 3333, + 3342 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3345, + 3349 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 24 + } + } + }, + "range": [ + 3333, + 3349 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 24 + } + } + }, + "range": [ + 3333, + 3350 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 130, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current column sorting\n * @type {Object}\n * @private\n ", + "range": [ + 3229, + 3324 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current hidden columns\n * @type {Object}\n * @private\n ", + "range": [ + 3360, + 3455 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3464, + 3468 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 3469, + 3479 + ], + "loc": { + "start": { + "line": 137, + "column": 13 + }, + "end": { + "line": 137, + "column": 23 + } + } + }, + "range": [ + 3464, + 3479 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3482, + 3486 + ], + "loc": { + "start": { + "line": 137, + "column": 26 + }, + "end": { + "line": 137, + "column": 30 + } + } + }, + "range": [ + 3464, + 3486 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 30 + } + } + }, + "range": [ + 3464, + 3487 + ], + "loc": { + "start": { + "line": 137, + "column": 8 + }, + "end": { + "line": 137, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current hidden columns\n * @type {Object}\n * @private\n ", + "range": [ + 3360, + 3455 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filters row visibility\n * @type {Boolean}\n * @private\n ", + "range": [ + 3497, + 3593 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3602, + 3606 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 3607, + 3624 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 30 + } + } + }, + "range": [ + 3602, + 3624 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3627, + 3631 + ], + "loc": { + "start": { + "line": 144, + "column": 33 + }, + "end": { + "line": 144, + "column": 37 + } + } + }, + "range": [ + 3602, + 3631 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 37 + } + } + }, + "range": [ + 3602, + 3632 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filters row visibility\n * @type {Boolean}\n * @private\n ", + "range": [ + 3497, + 3593 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * State object\n * @type {Object}\n * @private\n ", + "range": [ + 3642, + 3727 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3736, + 3740 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 3741, + 3746 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + "range": [ + 3736, + 3746 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 18 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 3749, + 3751 + ], + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 23 + } + } + }, + "range": [ + 3736, + 3751 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 23 + } + } + }, + "range": [ + 3736, + 3752 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * State object\n * @type {Object}\n * @private\n ", + "range": [ + 3642, + 3727 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for column ID\n * @type {String}\n * @private\n ", + "range": [ + 3762, + 3855 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 157, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3864, + 3868 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 3869, + 3876 + ], + "loc": { + "start": { + "line": 158, + "column": 13 + }, + "end": { + "line": 158, + "column": 20 + } + } + }, + "range": [ + 3864, + 3876 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": "col_", + "raw": "'col_'", + "range": [ + 3879, + 3885 + ], + "loc": { + "start": { + "line": 158, + "column": 23 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + "range": [ + 3864, + 3885 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + "range": [ + 3864, + 3886 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for column ID\n * @type {String}\n * @private\n ", + "range": [ + 3762, + 3855 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 157, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for page number ID\n * @type {String}\n * @private\n ", + "range": [ + 3896, + 3994 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4003, + 4007 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNbKey", + "range": [ + 4008, + 4017 + ], + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 22 + } + } + }, + "range": [ + 4003, + 4017 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "page", + "raw": "'page'", + "range": [ + 4020, + 4026 + ], + "loc": { + "start": { + "line": 165, + "column": 25 + }, + "end": { + "line": 165, + "column": 31 + } + } + }, + "range": [ + 4003, + 4026 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 31 + } + } + }, + "range": [ + 4003, + 4027 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for page number ID\n * @type {String}\n * @private\n ", + "range": [ + 3896, + 3994 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for page length ID\n * @type {String}\n * @private\n ", + "range": [ + 4037, + 4135 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 171, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4144, + 4148 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthKey", + "range": [ + 4149, + 4162 + ], + "loc": { + "start": { + "line": 172, + "column": 13 + }, + "end": { + "line": 172, + "column": 26 + } + } + }, + "range": [ + 4144, + 4162 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "page_length", + "raw": "'page_length'", + "range": [ + 4165, + 4178 + ], + "loc": { + "start": { + "line": 172, + "column": 29 + }, + "end": { + "line": 172, + "column": 42 + } + } + }, + "range": [ + 4144, + 4178 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 42 + } + } + }, + "range": [ + 4144, + 4179 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 172, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for page length ID\n * @type {String}\n * @private\n ", + "range": [ + 4037, + 4135 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 171, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n ", + "range": [ + 4189, + 4294 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 178, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4303, + 4307 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisKey", + "range": [ + 4308, + 4321 + ], + "loc": { + "start": { + "line": 179, + "column": 13 + }, + "end": { + "line": 179, + "column": 26 + } + } + }, + "range": [ + 4303, + 4321 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "filters_visibility", + "raw": "'filters_visibility'", + "range": [ + 4324, + 4344 + ], + "loc": { + "start": { + "line": 179, + "column": 29 + }, + "end": { + "line": 179, + "column": 49 + } + } + }, + "range": [ + 4303, + 4344 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 49 + } + } + }, + "range": [ + 4303, + 4345 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n ", + "range": [ + 4189, + 4294 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 178, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 548, + 4351 + ], + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 180, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 543, + 4351 + ], + "loc": { + "start": { + "line": 21, + "column": 15 + }, + "end": { + "line": 180, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 532, + 4351 + ], + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 180, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 428, + 527 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes State instance\n ", + "range": [ + 4357, + 4402 + ], + "loc": { + "start": { + "line": 182, + "column": 4 + }, + "end": { + "line": 184, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 4407, + 4411 + ], + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 185, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4428, + 4432 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4433, + 4444 + ], + "loc": { + "start": { + "line": 186, + "column": 17 + }, + "end": { + "line": 186, + "column": 28 + } + } + }, + "range": [ + 4428, + 4444 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4460, + 4467 + ], + "loc": { + "start": { + "line": 187, + "column": 12 + }, + "end": { + "line": 187, + "column": 19 + } + } + } + ], + "range": [ + 4446, + 4477 + ], + "loc": { + "start": { + "line": 186, + "column": 30 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4424, + 4477 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 188, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4487, + 4491 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4492, + 4499 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "range": [ + 4487, + 4499 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4500, + 4502 + ], + "loc": { + "start": { + "line": 190, + "column": 21 + }, + "end": { + "line": 190, + "column": 23 + } + } + }, + "range": [ + 4487, + 4502 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 4504, + 4521 + ], + "loc": { + "start": { + "line": 190, + "column": 25 + }, + "end": { + "line": 190, + "column": 42 + } + } + } + ], + "range": [ + 4503, + 4522 + ], + "loc": { + "start": { + "line": 190, + "column": 24 + }, + "end": { + "line": 190, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4530, + 4534 + ], + "loc": { + "start": { + "line": 190, + "column": 51 + }, + "end": { + "line": 190, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 4535, + 4541 + ], + "loc": { + "start": { + "line": 190, + "column": 56 + }, + "end": { + "line": 190, + "column": 62 + } + } + }, + "range": [ + 4530, + 4541 + ], + "loc": { + "start": { + "line": 190, + "column": 51 + }, + "end": { + "line": 190, + "column": 62 + } + } + }, + "arguments": [], + "range": [ + 4530, + 4543 + ], + "loc": { + "start": { + "line": 190, + "column": 51 + }, + "end": { + "line": 190, + "column": 64 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4524, + 4543 + ], + "loc": { + "start": { + "line": 190, + "column": 45 + }, + "end": { + "line": 190, + "column": 64 + } + } + } + ], + "range": [ + 4487, + 4544 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 65 + } + } + }, + "range": [ + 4487, + 4545 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 66 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4554, + 4558 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4559, + 4566 + ], + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "range": [ + 4554, + 4566 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4567, + 4569 + ], + "loc": { + "start": { + "line": 191, + "column": 21 + }, + "end": { + "line": 191, + "column": 23 + } + } + }, + "range": [ + 4554, + 4569 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 191, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-page-change", + "raw": "'after-page-change'", + "range": [ + 4571, + 4590 + ], + "loc": { + "start": { + "line": 191, + "column": 25 + }, + "end": { + "line": 191, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "after-clearing-filters", + "raw": "'after-clearing-filters'", + "range": [ + 4592, + 4616 + ], + "loc": { + "start": { + "line": 191, + "column": 46 + }, + "end": { + "line": 191, + "column": 70 + } + } + } + ], + "range": [ + 4570, + 4617 + ], + "loc": { + "start": { + "line": 191, + "column": 24 + }, + "end": { + "line": 191, + "column": 71 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4632, + 4634 + ], + "loc": { + "start": { + "line": 192, + "column": 13 + }, + "end": { + "line": 192, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageNb", + "range": [ + 4636, + 4642 + ], + "loc": { + "start": { + "line": 192, + "column": 17 + }, + "end": { + "line": 192, + "column": 23 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4647, + 4651 + ], + "loc": { + "start": { + "line": 192, + "column": 28 + }, + "end": { + "line": 192, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "updatePage", + "range": [ + 4652, + 4662 + ], + "loc": { + "start": { + "line": 192, + "column": 33 + }, + "end": { + "line": 192, + "column": 43 + } + } + }, + "range": [ + 4647, + 4662 + ], + "loc": { + "start": { + "line": 192, + "column": 28 + }, + "end": { + "line": 192, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageNb", + "range": [ + 4663, + 4669 + ], + "loc": { + "start": { + "line": 192, + "column": 44 + }, + "end": { + "line": 192, + "column": 50 + } + } + } + ], + "range": [ + 4647, + 4670 + ], + "loc": { + "start": { + "line": 192, + "column": 28 + }, + "end": { + "line": 192, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4631, + 4670 + ], + "loc": { + "start": { + "line": 192, + "column": 12 + }, + "end": { + "line": 192, + "column": 51 + } + } + } + ], + "range": [ + 4554, + 4671 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 192, + "column": 52 + } + } + }, + "range": [ + 4554, + 4672 + ], + "loc": { + "start": { + "line": 191, + "column": 8 + }, + "end": { + "line": 192, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4681, + 4685 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4686, + 4693 + ], + "loc": { + "start": { + "line": 193, + "column": 13 + }, + "end": { + "line": 193, + "column": 20 + } + } + }, + "range": [ + 4681, + 4693 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4694, + 4696 + ], + "loc": { + "start": { + "line": 193, + "column": 21 + }, + "end": { + "line": 193, + "column": 23 + } + } + }, + "range": [ + 4681, + 4696 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-page-length-change", + "raw": "'after-page-length-change'", + "range": [ + 4698, + 4724 + ], + "loc": { + "start": { + "line": 193, + "column": 25 + }, + "end": { + "line": 193, + "column": 51 + } + } + } + ], + "range": [ + 4697, + 4725 + ], + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 52 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4740, + 4742 + ], + "loc": { + "start": { + "line": 194, + "column": 13 + }, + "end": { + "line": 194, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 4744, + 4754 + ], + "loc": { + "start": { + "line": 194, + "column": 17 + }, + "end": { + "line": 194, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4759, + 4763 + ], + "loc": { + "start": { + "line": 194, + "column": 32 + }, + "end": { + "line": 194, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "updatePageLength", + "range": [ + 4764, + 4780 + ], + "loc": { + "start": { + "line": 194, + "column": 37 + }, + "end": { + "line": 194, + "column": 53 + } + } + }, + "range": [ + 4759, + 4780 + ], + "loc": { + "start": { + "line": 194, + "column": 32 + }, + "end": { + "line": 194, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 4781, + 4791 + ], + "loc": { + "start": { + "line": 194, + "column": 54 + }, + "end": { + "line": 194, + "column": 64 + } + } + } + ], + "range": [ + 4759, + 4792 + ], + "loc": { + "start": { + "line": 194, + "column": 32 + }, + "end": { + "line": 194, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4739, + 4792 + ], + "loc": { + "start": { + "line": 194, + "column": 12 + }, + "end": { + "line": 194, + "column": 65 + } + } + } + ], + "range": [ + 4681, + 4793 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 194, + "column": 66 + } + } + }, + "range": [ + 4681, + 4794 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 194, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4803, + 4807 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4808, + 4815 + ], + "loc": { + "start": { + "line": 195, + "column": 13 + }, + "end": { + "line": 195, + "column": 20 + } + } + }, + "range": [ + 4803, + 4815 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4816, + 4818 + ], + "loc": { + "start": { + "line": 195, + "column": 21 + }, + "end": { + "line": 195, + "column": 23 + } + } + }, + "range": [ + 4803, + 4818 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-sorted", + "raw": "'column-sorted'", + "range": [ + 4820, + 4835 + ], + "loc": { + "start": { + "line": 195, + "column": 25 + }, + "end": { + "line": 195, + "column": 40 + } + } + } + ], + "range": [ + 4819, + 4836 + ], + "loc": { + "start": { + "line": 195, + "column": 24 + }, + "end": { + "line": 195, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 4851, + 4853 + ], + "loc": { + "start": { + "line": 196, + "column": 13 + }, + "end": { + "line": 196, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 4855, + 4860 + ], + "loc": { + "start": { + "line": 196, + "column": 17 + }, + "end": { + "line": 196, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "descending", + "range": [ + 4862, + 4872 + ], + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 34 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4877, + 4881 + ], + "loc": { + "start": { + "line": 196, + "column": 39 + }, + "end": { + "line": 196, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateSort", + "range": [ + 4882, + 4892 + ], + "loc": { + "start": { + "line": 196, + "column": 44 + }, + "end": { + "line": 196, + "column": 54 + } + } + }, + "range": [ + 4877, + 4892 + ], + "loc": { + "start": { + "line": 196, + "column": 39 + }, + "end": { + "line": 196, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 4893, + 4898 + ], + "loc": { + "start": { + "line": 196, + "column": 55 + }, + "end": { + "line": 196, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "descending", + "range": [ + 4900, + 4910 + ], + "loc": { + "start": { + "line": 196, + "column": 62 + }, + "end": { + "line": 196, + "column": 72 + } + } + } + ], + "range": [ + 4877, + 4911 + ], + "loc": { + "start": { + "line": 196, + "column": 39 + }, + "end": { + "line": 196, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4850, + 4911 + ], + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 73 + } + } + } + ], + "range": [ + 4803, + 4912 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 196, + "column": 74 + } + } + }, + "range": [ + 4803, + 4913 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 196, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4922, + 4926 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4927, + 4934 + ], + "loc": { + "start": { + "line": 197, + "column": 13 + }, + "end": { + "line": 197, + "column": 20 + } + } + }, + "range": [ + 4922, + 4934 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 4935, + 4937 + ], + "loc": { + "start": { + "line": 197, + "column": 21 + }, + "end": { + "line": 197, + "column": 23 + } + } + }, + "range": [ + 4922, + 4937 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "sort-initialized", + "raw": "'sort-initialized'", + "range": [ + 4939, + 4957 + ], + "loc": { + "start": { + "line": 197, + "column": 25 + }, + "end": { + "line": 197, + "column": 43 + } + } + } + ], + "range": [ + 4938, + 4958 + ], + "loc": { + "start": { + "line": 197, + "column": 24 + }, + "end": { + "line": 197, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4966, + 4970 + ], + "loc": { + "start": { + "line": 197, + "column": 52 + }, + "end": { + "line": 197, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncSort", + "range": [ + 4971, + 4980 + ], + "loc": { + "start": { + "line": 197, + "column": 57 + }, + "end": { + "line": 197, + "column": 66 + } + } + }, + "range": [ + 4966, + 4980 + ], + "loc": { + "start": { + "line": 197, + "column": 52 + }, + "end": { + "line": 197, + "column": 66 + } + } + }, + "arguments": [], + "range": [ + 4966, + 4982 + ], + "loc": { + "start": { + "line": 197, + "column": 52 + }, + "end": { + "line": 197, + "column": 68 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 4960, + 4982 + ], + "loc": { + "start": { + "line": 197, + "column": 46 + }, + "end": { + "line": 197, + "column": 68 + } + } + } + ], + "range": [ + 4922, + 4983 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 69 + } + } + }, + "range": [ + 4922, + 4984 + ], + "loc": { + "start": { + "line": 197, + "column": 8 + }, + "end": { + "line": 197, + "column": 70 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4993, + 4997 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4998, + 5005 + ], + "loc": { + "start": { + "line": 198, + "column": 13 + }, + "end": { + "line": 198, + "column": 20 + } + } + }, + "range": [ + 4993, + 5005 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5006, + 5008 + ], + "loc": { + "start": { + "line": 198, + "column": 21 + }, + "end": { + "line": 198, + "column": 23 + } + } + }, + "range": [ + 4993, + 5008 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 198, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "columns-visibility-initialized", + "raw": "'columns-visibility-initialized'", + "range": [ + 5010, + 5042 + ], + "loc": { + "start": { + "line": 198, + "column": 25 + }, + "end": { + "line": 198, + "column": 57 + } + } + } + ], + "range": [ + 5009, + 5043 + ], + "loc": { + "start": { + "line": 198, + "column": 24 + }, + "end": { + "line": 198, + "column": 58 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5063, + 5067 + ], + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncColsVisibility", + "range": [ + 5068, + 5087 + ], + "loc": { + "start": { + "line": 199, + "column": 23 + }, + "end": { + "line": 199, + "column": 42 + } + } + }, + "range": [ + 5063, + 5087 + ], + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 5063, + 5089 + ], + "loc": { + "start": { + "line": 199, + "column": 18 + }, + "end": { + "line": 199, + "column": 44 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5057, + 5089 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 44 + } + } + } + ], + "range": [ + 4993, + 5090 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 199, + "column": 45 + } + } + }, + "range": [ + 4993, + 5091 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 199, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5100, + 5104 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5105, + 5112 + ], + "loc": { + "start": { + "line": 200, + "column": 13 + }, + "end": { + "line": 200, + "column": 20 + } + } + }, + "range": [ + 5100, + 5112 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5113, + 5115 + ], + "loc": { + "start": { + "line": 200, + "column": 21 + }, + "end": { + "line": 200, + "column": 23 + } + } + }, + "range": [ + 5100, + 5115 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 200, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-shown", + "raw": "'column-shown'", + "range": [ + 5117, + 5131 + ], + "loc": { + "start": { + "line": 200, + "column": 25 + }, + "end": { + "line": 200, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "column-hidden", + "raw": "'column-hidden'", + "range": [ + 5133, + 5148 + ], + "loc": { + "start": { + "line": 200, + "column": 41 + }, + "end": { + "line": 200, + "column": 56 + } + } + } + ], + "range": [ + 5116, + 5149 + ], + "loc": { + "start": { + "line": 200, + "column": 24 + }, + "end": { + "line": 200, + "column": 57 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5152, + 5154 + ], + "loc": { + "start": { + "line": 200, + "column": 60 + }, + "end": { + "line": 200, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "feature", + "range": [ + 5156, + 5163 + ], + "loc": { + "start": { + "line": 200, + "column": 64 + }, + "end": { + "line": 200, + "column": 71 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 5177, + 5185 + ], + "loc": { + "start": { + "line": 201, + "column": 12 + }, + "end": { + "line": 201, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 5187, + 5197 + ], + "loc": { + "start": { + "line": 201, + "column": 22 + }, + "end": { + "line": 201, + "column": 32 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5202, + 5206 + ], + "loc": { + "start": { + "line": 201, + "column": 37 + }, + "end": { + "line": 201, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateColsVisibility", + "range": [ + 5207, + 5227 + ], + "loc": { + "start": { + "line": 201, + "column": 42 + }, + "end": { + "line": 201, + "column": 62 + } + } + }, + "range": [ + 5202, + 5227 + ], + "loc": { + "start": { + "line": 201, + "column": 37 + }, + "end": { + "line": 201, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 5228, + 5238 + ], + "loc": { + "start": { + "line": 201, + "column": 63 + }, + "end": { + "line": 201, + "column": 73 + } + } + } + ], + "range": [ + 5202, + 5239 + ], + "loc": { + "start": { + "line": 201, + "column": 37 + }, + "end": { + "line": 201, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5151, + 5239 + ], + "loc": { + "start": { + "line": 200, + "column": 59 + }, + "end": { + "line": 201, + "column": 74 + } + } + } + ], + "range": [ + 5100, + 5240 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 201, + "column": 75 + } + } + }, + "range": [ + 5100, + 5241 + ], + "loc": { + "start": { + "line": 200, + "column": 8 + }, + "end": { + "line": 201, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5250, + 5254 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5255, + 5262 + ], + "loc": { + "start": { + "line": 202, + "column": 13 + }, + "end": { + "line": 202, + "column": 20 + } + } + }, + "range": [ + 5250, + 5262 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5263, + 5265 + ], + "loc": { + "start": { + "line": 202, + "column": 21 + }, + "end": { + "line": 202, + "column": 23 + } + } + }, + "range": [ + 5250, + 5265 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-visibility-initialized", + "raw": "'filters-visibility-initialized'", + "range": [ + 5267, + 5299 + ], + "loc": { + "start": { + "line": 202, + "column": 25 + }, + "end": { + "line": 202, + "column": 57 + } + } + } + ], + "range": [ + 5266, + 5300 + ], + "loc": { + "start": { + "line": 202, + "column": 24 + }, + "end": { + "line": 202, + "column": 58 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5320, + 5324 + ], + "loc": { + "start": { + "line": 203, + "column": 18 + }, + "end": { + "line": 203, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncFiltersVisibility", + "range": [ + 5325, + 5347 + ], + "loc": { + "start": { + "line": 203, + "column": 23 + }, + "end": { + "line": 203, + "column": 45 + } + } + }, + "range": [ + 5320, + 5347 + ], + "loc": { + "start": { + "line": 203, + "column": 18 + }, + "end": { + "line": 203, + "column": 45 + } + } + }, + "arguments": [], + "range": [ + 5320, + 5349 + ], + "loc": { + "start": { + "line": 203, + "column": 18 + }, + "end": { + "line": 203, + "column": 47 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5314, + 5349 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 47 + } + } + } + ], + "range": [ + 5250, + 5350 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 203, + "column": 48 + } + } + }, + "range": [ + 5250, + 5351 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 203, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5360, + 5364 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5365, + 5372 + ], + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 20 + } + } + }, + "range": [ + 5360, + 5372 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5373, + 5375 + ], + "loc": { + "start": { + "line": 204, + "column": 21 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + "range": [ + 5360, + 5375 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-toggled", + "raw": "'filters-toggled'", + "range": [ + 5377, + 5394 + ], + "loc": { + "start": { + "line": 204, + "column": 25 + }, + "end": { + "line": 204, + "column": 42 + } + } + } + ], + "range": [ + 5376, + 5395 + ], + "loc": { + "start": { + "line": 204, + "column": 24 + }, + "end": { + "line": 204, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 5410, + 5412 + ], + "loc": { + "start": { + "line": 205, + "column": 13 + }, + "end": { + "line": 205, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "extension", + "range": [ + 5414, + 5423 + ], + "loc": { + "start": { + "line": 205, + "column": 17 + }, + "end": { + "line": 205, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "visible", + "range": [ + 5425, + 5432 + ], + "loc": { + "start": { + "line": 205, + "column": 28 + }, + "end": { + "line": 205, + "column": 35 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5437, + 5441 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateFiltersVisibility", + "range": [ + 5442, + 5465 + ], + "loc": { + "start": { + "line": 205, + "column": 45 + }, + "end": { + "line": 205, + "column": 68 + } + } + }, + "range": [ + 5437, + 5465 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 68 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "visible", + "range": [ + 5466, + 5473 + ], + "loc": { + "start": { + "line": 205, + "column": 69 + }, + "end": { + "line": 205, + "column": 76 + } + } + } + ], + "range": [ + 5437, + 5474 + ], + "loc": { + "start": { + "line": 205, + "column": 40 + }, + "end": { + "line": 205, + "column": 77 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5409, + 5474 + ], + "loc": { + "start": { + "line": 205, + "column": 12 + }, + "end": { + "line": 205, + "column": 77 + } + } + } + ], + "range": [ + 5360, + 5475 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 205, + "column": 78 + } + } + }, + "range": [ + 5360, + 5476 + ], + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 205, + "column": 79 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5490, + 5494 + ], + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHash", + "range": [ + 5495, + 5505 + ], + "loc": { + "start": { + "line": 207, + "column": 17 + }, + "end": { + "line": 207, + "column": 27 + } + } + }, + "range": [ + 5490, + 5505 + ], + "loc": { + "start": { + "line": 207, + "column": 12 + }, + "end": { + "line": 207, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5521, + 5525 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 5526, + 5530 + ], + "loc": { + "start": { + "line": 208, + "column": 17 + }, + "end": { + "line": 208, + "column": 21 + } + } + }, + "range": [ + 5521, + 5530 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 21 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Hash", + "range": [ + 5537, + 5541 + ], + "loc": { + "start": { + "line": 208, + "column": 28 + }, + "end": { + "line": 208, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 5542, + 5546 + ], + "loc": { + "start": { + "line": 208, + "column": 33 + }, + "end": { + "line": 208, + "column": 37 + } + } + } + ], + "range": [ + 5533, + 5547 + ], + "loc": { + "start": { + "line": 208, + "column": 24 + }, + "end": { + "line": 208, + "column": 38 + } + } + }, + "range": [ + 5521, + 5547 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 38 + } + } + }, + "range": [ + 5521, + 5548 + ], + "loc": { + "start": { + "line": 208, + "column": 12 + }, + "end": { + "line": 208, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5561, + 5565 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 5566, + 5570 + ], + "loc": { + "start": { + "line": 209, + "column": 17 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "range": [ + 5561, + 5570 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 5571, + 5575 + ], + "loc": { + "start": { + "line": 209, + "column": 22 + }, + "end": { + "line": 209, + "column": 26 + } + } + }, + "range": [ + 5561, + 5575 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 5561, + 5577 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 28 + } + } + }, + "range": [ + 5561, + 5578 + ], + "loc": { + "start": { + "line": 209, + "column": 12 + }, + "end": { + "line": 209, + "column": 29 + } + } + } + ], + "range": [ + 5507, + 5588 + ], + "loc": { + "start": { + "line": 207, + "column": 29 + }, + "end": { + "line": 210, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5486, + 5588 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 210, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5601, + 5605 + ], + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableStorage", + "range": [ + 5606, + 5619 + ], + "loc": { + "start": { + "line": 211, + "column": 17 + }, + "end": { + "line": 211, + "column": 30 + } + } + }, + "range": [ + 5601, + 5619 + ], + "loc": { + "start": { + "line": 211, + "column": 12 + }, + "end": { + "line": 211, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5635, + 5639 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "storage", + "range": [ + 5640, + 5647 + ], + "loc": { + "start": { + "line": 212, + "column": 17 + }, + "end": { + "line": 212, + "column": 24 + } + } + }, + "range": [ + 5635, + 5647 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 24 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Storage", + "range": [ + 5654, + 5661 + ], + "loc": { + "start": { + "line": 212, + "column": 31 + }, + "end": { + "line": 212, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 5662, + 5666 + ], + "loc": { + "start": { + "line": 212, + "column": 39 + }, + "end": { + "line": 212, + "column": 43 + } + } + } + ], + "range": [ + 5650, + 5667 + ], + "loc": { + "start": { + "line": 212, + "column": 27 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + "range": [ + 5635, + 5667 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 44 + } + } + }, + "range": [ + 5635, + 5668 + ], + "loc": { + "start": { + "line": 212, + "column": 12 + }, + "end": { + "line": 212, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5681, + 5685 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "storage", + "range": [ + 5686, + 5693 + ], + "loc": { + "start": { + "line": 213, + "column": 17 + }, + "end": { + "line": 213, + "column": 24 + } + } + }, + "range": [ + 5681, + 5693 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 5694, + 5698 + ], + "loc": { + "start": { + "line": 213, + "column": 25 + }, + "end": { + "line": 213, + "column": 29 + } + } + }, + "range": [ + 5681, + 5698 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 5681, + 5700 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 31 + } + } + }, + "range": [ + 5681, + 5701 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 32 + } + } + } + ], + "range": [ + 5621, + 5711 + ], + "loc": { + "start": { + "line": 211, + "column": 32 + }, + "end": { + "line": 214, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5597, + 5711 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 214, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 5721, + 5758 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 218, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5767, + 5771 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 5772, + 5783 + ], + "loc": { + "start": { + "line": 219, + "column": 13 + }, + "end": { + "line": 219, + "column": 24 + } + } + }, + "range": [ + 5767, + 5783 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 5786, + 5790 + ], + "loc": { + "start": { + "line": 219, + "column": 27 + }, + "end": { + "line": 219, + "column": 31 + } + } + }, + "range": [ + 5767, + 5790 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 31 + } + } + }, + "range": [ + 5767, + 5791 + ], + "loc": { + "start": { + "line": 219, + "column": 8 + }, + "end": { + "line": 219, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 5721, + 5758 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 218, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 4414, + 5797 + ], + "loc": { + "start": { + "line": 185, + "column": 11 + }, + "end": { + "line": 220, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4411, + 5797 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 220, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4407, + 5797 + ], + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 220, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes State instance\n ", + "range": [ + 4357, + 4402 + ], + "loc": { + "start": { + "line": 182, + "column": 4 + }, + "end": { + "line": 184, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Update state object based on current features state\n ", + "range": [ + 5804, + 5874 + ], + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 225, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "update", + "range": [ + 5879, + 5885 + ], + "loc": { + "start": { + "line": 226, + "column": 4 + }, + "end": { + "line": 226, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5903, + 5907 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 5908, + 5917 + ], + "loc": { + "start": { + "line": 227, + "column": 18 + }, + "end": { + "line": 227, + "column": 27 + } + } + }, + "range": [ + 5903, + 5917 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 5903, + 5919 + ], + "loc": { + "start": { + "line": 227, + "column": 13 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 5902, + 5919 + ], + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 5935, + 5942 + ], + "loc": { + "start": { + "line": 228, + "column": 12 + }, + "end": { + "line": 228, + "column": 19 + } + } + } + ], + "range": [ + 5921, + 5952 + ], + "loc": { + "start": { + "line": 227, + "column": 31 + }, + "end": { + "line": 229, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5898, + 5952 + ], + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 229, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 5965, + 5970 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5973, + 5977 + ], + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 5978, + 5983 + ], + "loc": { + "start": { + "line": 230, + "column": 25 + }, + "end": { + "line": 230, + "column": 30 + } + } + }, + "range": [ + 5973, + 5983 + ], + "loc": { + "start": { + "line": 230, + "column": 20 + }, + "end": { + "line": 230, + "column": 30 + } + } + }, + "range": [ + 5965, + 5983 + ], + "loc": { + "start": { + "line": 230, + "column": 12 + }, + "end": { + "line": 230, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 5961, + 5984 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 5997, + 5999 + ], + "loc": { + "start": { + "line": 231, + "column": 12 + }, + "end": { + "line": 231, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6002, + 6006 + ], + "loc": { + "start": { + "line": 231, + "column": 17 + }, + "end": { + "line": 231, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 6007, + 6009 + ], + "loc": { + "start": { + "line": 231, + "column": 22 + }, + "end": { + "line": 231, + "column": 24 + } + } + }, + "range": [ + 6002, + 6009 + ], + "loc": { + "start": { + "line": 231, + "column": 17 + }, + "end": { + "line": 231, + "column": 24 + } + } + }, + "range": [ + 5997, + 6009 + ], + "loc": { + "start": { + "line": 231, + "column": 12 + }, + "end": { + "line": 231, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 5993, + 6010 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 231, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6024, + 6028 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFilters", + "range": [ + 6029, + 6043 + ], + "loc": { + "start": { + "line": 233, + "column": 17 + }, + "end": { + "line": 233, + "column": 31 + } + } + }, + "range": [ + 6024, + 6043 + ], + "loc": { + "start": { + "line": 233, + "column": 12 + }, + "end": { + "line": 233, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filterValues", + "range": [ + 6063, + 6075 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 234, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 6078, + 6080 + ], + "loc": { + "start": { + "line": 234, + "column": 31 + }, + "end": { + "line": 234, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersValue", + "range": [ + 6081, + 6096 + ], + "loc": { + "start": { + "line": 234, + "column": 34 + }, + "end": { + "line": 234, + "column": 49 + } + } + }, + "range": [ + 6078, + 6096 + ], + "loc": { + "start": { + "line": 234, + "column": 31 + }, + "end": { + "line": 234, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 6078, + 6098 + ], + "loc": { + "start": { + "line": 234, + "column": 31 + }, + "end": { + "line": 234, + "column": 51 + } + } + }, + "range": [ + 6063, + 6098 + ], + "loc": { + "start": { + "line": 234, + "column": 16 + }, + "end": { + "line": 234, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 6059, + 6099 + ], + "loc": { + "start": { + "line": 234, + "column": 12 + }, + "end": { + "line": 234, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filterValues", + "range": [ + 6113, + 6125 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 236, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 6126, + 6133 + ], + "loc": { + "start": { + "line": 236, + "column": 25 + }, + "end": { + "line": 236, + "column": 32 + } + } + }, + "range": [ + 6113, + 6133 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 236, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 6135, + 6138 + ], + "loc": { + "start": { + "line": 236, + "column": 34 + }, + "end": { + "line": 236, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 6140, + 6143 + ], + "loc": { + "start": { + "line": 236, + "column": 39 + }, + "end": { + "line": 236, + "column": 42 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 6170, + 6173 + ], + "loc": { + "start": { + "line": 237, + "column": 20 + }, + "end": { + "line": 237, + "column": 23 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 6176, + 6179 + ], + "loc": { + "start": { + "line": 237, + "column": 26 + }, + "end": { + "line": 237, + "column": 29 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 6191, + 6194 + ], + "loc": { + "start": { + "line": 237, + "column": 41 + }, + "end": { + "line": 237, + "column": 44 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 6197, + 6199 + ], + "loc": { + "start": { + "line": 237, + "column": 47 + }, + "end": { + "line": 237, + "column": 49 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6179, + 6183 + ], + "loc": { + "start": { + "line": 237, + "column": 29 + }, + "end": { + "line": 237, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 6184, + 6191 + ], + "loc": { + "start": { + "line": 237, + "column": 34 + }, + "end": { + "line": 237, + "column": 41 + } + } + }, + "range": [ + 6179, + 6191 + ], + "loc": { + "start": { + "line": 237, + "column": 29 + }, + "end": { + "line": 237, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 6194, + 6197 + ], + "loc": { + "start": { + "line": 237, + "column": 44 + }, + "end": { + "line": 237, + "column": 47 + } + } + } + ], + "range": [ + 6176, + 6199 + ], + "loc": { + "start": { + "line": 237, + "column": 26 + }, + "end": { + "line": 237, + "column": 49 + } + } + }, + "range": [ + 6170, + 6199 + ], + "loc": { + "start": { + "line": 237, + "column": 20 + }, + "end": { + "line": 237, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 6166, + 6200 + ], + "loc": { + "start": { + "line": 237, + "column": 16 + }, + "end": { + "line": 237, + "column": 50 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isString", + "range": [ + 6222, + 6230 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 6231, + 6234 + ], + "loc": { + "start": { + "line": 239, + "column": 29 + }, + "end": { + "line": 239, + "column": 32 + } + } + } + ], + "range": [ + 6222, + 6235 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 6239, + 6246 + ], + "loc": { + "start": { + "line": 239, + "column": 37 + }, + "end": { + "line": 239, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 6247, + 6250 + ], + "loc": { + "start": { + "line": 239, + "column": 45 + }, + "end": { + "line": 239, + "column": 48 + } + } + } + ], + "range": [ + 6239, + 6251 + ], + "loc": { + "start": { + "line": 239, + "column": 37 + }, + "end": { + "line": 239, + "column": 49 + } + } + }, + "range": [ + 6222, + 6251 + ], + "loc": { + "start": { + "line": 239, + "column": 20 + }, + "end": { + "line": 239, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6279, + 6284 + ], + "loc": { + "start": { + "line": 240, + "column": 24 + }, + "end": { + "line": 240, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasOwnProperty", + "range": [ + 6285, + 6299 + ], + "loc": { + "start": { + "line": 240, + "column": 30 + }, + "end": { + "line": 240, + "column": 44 + } + } + }, + "range": [ + 6279, + 6299 + ], + "loc": { + "start": { + "line": 240, + "column": 24 + }, + "end": { + "line": 240, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 6300, + 6303 + ], + "loc": { + "start": { + "line": 240, + "column": 45 + }, + "end": { + "line": 240, + "column": 48 + } + } + } + ], + "range": [ + 6279, + 6304 + ], + "loc": { + "start": { + "line": 240, + "column": 24 + }, + "end": { + "line": 240, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6332, + 6337 + ], + "loc": { + "start": { + "line": 241, + "column": 24 + }, + "end": { + "line": 241, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 6338, + 6341 + ], + "loc": { + "start": { + "line": 241, + "column": 30 + }, + "end": { + "line": 241, + "column": 33 + } + } + }, + "range": [ + 6332, + 6342 + ], + "loc": { + "start": { + "line": 241, + "column": 24 + }, + "end": { + "line": 241, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt", + "range": [ + 6343, + 6346 + ], + "loc": { + "start": { + "line": 241, + "column": 35 + }, + "end": { + "line": 241, + "column": 38 + } + } + }, + "range": [ + 6332, + 6346 + ], + "loc": { + "start": { + "line": 241, + "column": 24 + }, + "end": { + "line": 241, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 6349, + 6358 + ], + "loc": { + "start": { + "line": 241, + "column": 41 + }, + "end": { + "line": 241, + "column": 50 + } + } + }, + "range": [ + 6332, + 6358 + ], + "loc": { + "start": { + "line": 241, + "column": 24 + }, + "end": { + "line": 241, + "column": 50 + } + } + }, + "range": [ + 6332, + 6359 + ], + "loc": { + "start": { + "line": 241, + "column": 24 + }, + "end": { + "line": 241, + "column": 51 + } + } + } + ], + "range": [ + 6306, + 6381 + ], + "loc": { + "start": { + "line": 240, + "column": 51 + }, + "end": { + "line": 242, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 6275, + 6381 + ], + "loc": { + "start": { + "line": 240, + "column": 20 + }, + "end": { + "line": 242, + "column": 21 + } + } + } + ], + "range": [ + 6253, + 6399 + ], + "loc": { + "start": { + "line": 239, + "column": 51 + }, + "end": { + "line": 243, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6427, + 6432 + ], + "loc": { + "start": { + "line": 244, + "column": 20 + }, + "end": { + "line": 244, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 6433, + 6436 + ], + "loc": { + "start": { + "line": 244, + "column": 26 + }, + "end": { + "line": 244, + "column": 29 + } + } + }, + "range": [ + 6427, + 6437 + ], + "loc": { + "start": { + "line": 244, + "column": 20 + }, + "end": { + "line": 244, + "column": 30 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6440, + 6445 + ], + "loc": { + "start": { + "line": 244, + "column": 33 + }, + "end": { + "line": 244, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 6446, + 6449 + ], + "loc": { + "start": { + "line": 244, + "column": 39 + }, + "end": { + "line": 244, + "column": 42 + } + } + }, + "range": [ + 6440, + 6450 + ], + "loc": { + "start": { + "line": 244, + "column": 33 + }, + "end": { + "line": 244, + "column": 43 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 6454, + 6456 + ], + "loc": { + "start": { + "line": 244, + "column": 47 + }, + "end": { + "line": 244, + "column": 49 + } + } + }, + "range": [ + 6440, + 6456 + ], + "loc": { + "start": { + "line": 244, + "column": 33 + }, + "end": { + "line": 244, + "column": 49 + } + } + }, + "range": [ + 6427, + 6456 + ], + "loc": { + "start": { + "line": 244, + "column": 20 + }, + "end": { + "line": 244, + "column": 49 + } + } + }, + "range": [ + 6427, + 6457 + ], + "loc": { + "start": { + "line": 244, + "column": 20 + }, + "end": { + "line": 244, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6478, + 6483 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 6484, + 6487 + ], + "loc": { + "start": { + "line": 245, + "column": 26 + }, + "end": { + "line": 245, + "column": 29 + } + } + }, + "range": [ + 6478, + 6488 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt", + "range": [ + 6489, + 6492 + ], + "loc": { + "start": { + "line": 245, + "column": 31 + }, + "end": { + "line": 245, + "column": 34 + } + } + }, + "range": [ + 6478, + 6492 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 34 + } + } + }, + "right": { + "type": "Identifier", + "name": "val", + "range": [ + 6495, + 6498 + ], + "loc": { + "start": { + "line": 245, + "column": 37 + }, + "end": { + "line": 245, + "column": 40 + } + } + }, + "range": [ + 6478, + 6498 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 40 + } + } + }, + "range": [ + 6478, + 6499 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 41 + } + } + } + ], + "range": [ + 6405, + 6517 + ], + "loc": { + "start": { + "line": 243, + "column": 23 + }, + "end": { + "line": 246, + "column": 17 + } + } + }, + "range": [ + 6218, + 6517 + ], + "loc": { + "start": { + "line": 239, + "column": 16 + }, + "end": { + "line": 246, + "column": 17 + } + } + } + ], + "range": [ + 6148, + 6531 + ], + "loc": { + "start": { + "line": 236, + "column": 47 + }, + "end": { + "line": 247, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6134, + 6531 + ], + "loc": { + "start": { + "line": 236, + "column": 33 + }, + "end": { + "line": 247, + "column": 13 + } + } + } + ], + "range": [ + 6113, + 6532 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 247, + "column": 14 + } + } + }, + "range": [ + 6113, + 6533 + ], + "loc": { + "start": { + "line": 236, + "column": 12 + }, + "end": { + "line": 247, + "column": 15 + } + } + } + ], + "range": [ + 6045, + 6543 + ], + "loc": { + "start": { + "line": 233, + "column": 33 + }, + "end": { + "line": 248, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6020, + 6543 + ], + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 248, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6557, + 6561 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageNumber", + "range": [ + 6562, + 6579 + ], + "loc": { + "start": { + "line": 250, + "column": 17 + }, + "end": { + "line": 250, + "column": 34 + } + } + }, + "range": [ + 6557, + 6579 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 6599, + 6605 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6606, + 6610 + ], + "loc": { + "start": { + "line": 251, + "column": 23 + }, + "end": { + "line": 251, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNb", + "range": [ + 6611, + 6617 + ], + "loc": { + "start": { + "line": 251, + "column": 28 + }, + "end": { + "line": 251, + "column": 34 + } + } + }, + "range": [ + 6606, + 6617 + ], + "loc": { + "start": { + "line": 251, + "column": 23 + }, + "end": { + "line": 251, + "column": 34 + } + } + } + ], + "range": [ + 6599, + 6618 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6638, + 6643 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6644, + 6648 + ], + "loc": { + "start": { + "line": 252, + "column": 22 + }, + "end": { + "line": 252, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNbKey", + "range": [ + 6649, + 6658 + ], + "loc": { + "start": { + "line": 252, + "column": 27 + }, + "end": { + "line": 252, + "column": 36 + } + } + }, + "range": [ + 6644, + 6658 + ], + "loc": { + "start": { + "line": 252, + "column": 22 + }, + "end": { + "line": 252, + "column": 36 + } + } + }, + "range": [ + 6638, + 6659 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 37 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 6662, + 6671 + ], + "loc": { + "start": { + "line": 252, + "column": 40 + }, + "end": { + "line": 252, + "column": 49 + } + } + }, + "range": [ + 6638, + 6671 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 49 + } + } + }, + "range": [ + 6638, + 6672 + ], + "loc": { + "start": { + "line": 252, + "column": 16 + }, + "end": { + "line": 252, + "column": 50 + } + } + } + ], + "range": [ + 6620, + 6686 + ], + "loc": { + "start": { + "line": 251, + "column": 37 + }, + "end": { + "line": 253, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6710, + 6715 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6716, + 6720 + ], + "loc": { + "start": { + "line": 254, + "column": 22 + }, + "end": { + "line": 254, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNbKey", + "range": [ + 6721, + 6730 + ], + "loc": { + "start": { + "line": 254, + "column": 27 + }, + "end": { + "line": 254, + "column": 36 + } + } + }, + "range": [ + 6716, + 6730 + ], + "loc": { + "start": { + "line": 254, + "column": 22 + }, + "end": { + "line": 254, + "column": 36 + } + } + }, + "range": [ + 6710, + 6731 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 37 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6734, + 6738 + ], + "loc": { + "start": { + "line": 254, + "column": 40 + }, + "end": { + "line": 254, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNb", + "range": [ + 6739, + 6745 + ], + "loc": { + "start": { + "line": 254, + "column": 45 + }, + "end": { + "line": 254, + "column": 51 + } + } + }, + "range": [ + 6734, + 6745 + ], + "loc": { + "start": { + "line": 254, + "column": 40 + }, + "end": { + "line": 254, + "column": 51 + } + } + }, + "range": [ + 6710, + 6745 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 51 + } + } + }, + "range": [ + 6710, + 6746 + ], + "loc": { + "start": { + "line": 254, + "column": 16 + }, + "end": { + "line": 254, + "column": 52 + } + } + } + ], + "range": [ + 6692, + 6760 + ], + "loc": { + "start": { + "line": 253, + "column": 19 + }, + "end": { + "line": 255, + "column": 13 + } + } + }, + "range": [ + 6595, + 6760 + ], + "loc": { + "start": { + "line": 251, + "column": 12 + }, + "end": { + "line": 255, + "column": 13 + } + } + } + ], + "range": [ + 6581, + 6770 + ], + "loc": { + "start": { + "line": 250, + "column": 36 + }, + "end": { + "line": 256, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6553, + 6770 + ], + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 256, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6784, + 6788 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageLength", + "range": [ + 6789, + 6806 + ], + "loc": { + "start": { + "line": 258, + "column": 17 + }, + "end": { + "line": 258, + "column": 34 + } + } + }, + "range": [ + 6784, + 6806 + ], + "loc": { + "start": { + "line": 258, + "column": 12 + }, + "end": { + "line": 258, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 6826, + 6832 + ], + "loc": { + "start": { + "line": 259, + "column": 16 + }, + "end": { + "line": 259, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6833, + 6837 + ], + "loc": { + "start": { + "line": 259, + "column": 23 + }, + "end": { + "line": 259, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 6838, + 6848 + ], + "loc": { + "start": { + "line": 259, + "column": 28 + }, + "end": { + "line": 259, + "column": 38 + } + } + }, + "range": [ + 6833, + 6848 + ], + "loc": { + "start": { + "line": 259, + "column": 23 + }, + "end": { + "line": 259, + "column": 38 + } + } + } + ], + "range": [ + 6826, + 6849 + ], + "loc": { + "start": { + "line": 259, + "column": 16 + }, + "end": { + "line": 259, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6869, + 6874 + ], + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6875, + 6879 + ], + "loc": { + "start": { + "line": 260, + "column": 22 + }, + "end": { + "line": 260, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthKey", + "range": [ + 6880, + 6893 + ], + "loc": { + "start": { + "line": 260, + "column": 27 + }, + "end": { + "line": 260, + "column": 40 + } + } + }, + "range": [ + 6875, + 6893 + ], + "loc": { + "start": { + "line": 260, + "column": 22 + }, + "end": { + "line": 260, + "column": 40 + } + } + }, + "range": [ + 6869, + 6894 + ], + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 6897, + 6906 + ], + "loc": { + "start": { + "line": 260, + "column": 44 + }, + "end": { + "line": 260, + "column": 53 + } + } + }, + "range": [ + 6869, + 6906 + ], + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 53 + } + } + }, + "range": [ + 6869, + 6907 + ], + "loc": { + "start": { + "line": 260, + "column": 16 + }, + "end": { + "line": 260, + "column": 54 + } + } + } + ], + "range": [ + 6851, + 6921 + ], + "loc": { + "start": { + "line": 259, + "column": 41 + }, + "end": { + "line": 261, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 6945, + 6950 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6951, + 6955 + ], + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthKey", + "range": [ + 6956, + 6969 + ], + "loc": { + "start": { + "line": 262, + "column": 27 + }, + "end": { + "line": 262, + "column": 40 + } + } + }, + "range": [ + 6951, + 6969 + ], + "loc": { + "start": { + "line": 262, + "column": 22 + }, + "end": { + "line": 262, + "column": 40 + } + } + }, + "range": [ + 6945, + 6970 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6973, + 6977 + ], + "loc": { + "start": { + "line": 262, + "column": 44 + }, + "end": { + "line": 262, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 6978, + 6988 + ], + "loc": { + "start": { + "line": 262, + "column": 49 + }, + "end": { + "line": 262, + "column": 59 + } + } + }, + "range": [ + 6973, + 6988 + ], + "loc": { + "start": { + "line": 262, + "column": 44 + }, + "end": { + "line": 262, + "column": 59 + } + } + }, + "range": [ + 6945, + 6988 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 59 + } + } + }, + "range": [ + 6945, + 6989 + ], + "loc": { + "start": { + "line": 262, + "column": 16 + }, + "end": { + "line": 262, + "column": 60 + } + } + } + ], + "range": [ + 6927, + 7003 + ], + "loc": { + "start": { + "line": 261, + "column": 19 + }, + "end": { + "line": 263, + "column": 13 + } + } + }, + "range": [ + 6822, + 7003 + ], + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 263, + "column": 13 + } + } + } + ], + "range": [ + 6808, + 7013 + ], + "loc": { + "start": { + "line": 258, + "column": 36 + }, + "end": { + "line": 264, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6780, + 7013 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 264, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7027, + 7031 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistSort", + "range": [ + 7032, + 7043 + ], + "loc": { + "start": { + "line": 266, + "column": 17 + }, + "end": { + "line": 266, + "column": 28 + } + } + }, + "range": [ + 7027, + 7043 + ], + "loc": { + "start": { + "line": 266, + "column": 12 + }, + "end": { + "line": 266, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 7064, + 7070 + ], + "loc": { + "start": { + "line": 267, + "column": 17 + }, + "end": { + "line": 267, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7071, + 7075 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 7076, + 7080 + ], + "loc": { + "start": { + "line": 267, + "column": 29 + }, + "end": { + "line": 267, + "column": 33 + } + } + }, + "range": [ + 7071, + 7080 + ], + "loc": { + "start": { + "line": 267, + "column": 24 + }, + "end": { + "line": 267, + "column": 33 + } + } + } + ], + "range": [ + 7064, + 7081 + ], + "loc": { + "start": { + "line": 267, + "column": 17 + }, + "end": { + "line": 267, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 7063, + 7081 + ], + "loc": { + "start": { + "line": 267, + "column": 16 + }, + "end": { + "line": 267, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 7152, + 7158 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 7159, + 7163 + ], + "loc": { + "start": { + "line": 269, + "column": 23 + }, + "end": { + "line": 269, + "column": 27 + } + } + }, + "range": [ + 7152, + 7163 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 7164, + 7169 + ], + "loc": { + "start": { + "line": 269, + "column": 28 + }, + "end": { + "line": 269, + "column": 33 + } + } + } + ], + "range": [ + 7152, + 7170 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 7171, + 7178 + ], + "loc": { + "start": { + "line": 269, + "column": 35 + }, + "end": { + "line": 269, + "column": 42 + } + } + }, + "range": [ + 7152, + 7178 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 269, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 7180, + 7183 + ], + "loc": { + "start": { + "line": 269, + "column": 44 + }, + "end": { + "line": 269, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 7214, + 7217 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 7218, + 7225 + ], + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 270, + "column": 35 + } + } + }, + "range": [ + 7214, + 7225 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7226, + 7230 + ], + "loc": { + "start": { + "line": 270, + "column": 36 + }, + "end": { + "line": 270, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 7231, + 7238 + ], + "loc": { + "start": { + "line": 270, + "column": 41 + }, + "end": { + "line": 270, + "column": 48 + } + } + }, + "range": [ + 7226, + 7238 + ], + "loc": { + "start": { + "line": 270, + "column": 36 + }, + "end": { + "line": 270, + "column": 48 + } + } + } + ], + "range": [ + 7214, + 7239 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 49 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7245, + 7246 + ], + "loc": { + "start": { + "line": 270, + "column": 55 + }, + "end": { + "line": 270, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 7244, + 7246 + ], + "loc": { + "start": { + "line": 270, + "column": 54 + }, + "end": { + "line": 270, + "column": 56 + } + } + }, + "range": [ + 7214, + 7246 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 56 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7250, + 7255 + ], + "loc": { + "start": { + "line": 270, + "column": 60 + }, + "end": { + "line": 270, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7256, + 7259 + ], + "loc": { + "start": { + "line": 270, + "column": 66 + }, + "end": { + "line": 270, + "column": 69 + } + } + }, + "range": [ + 7250, + 7260 + ], + "loc": { + "start": { + "line": 270, + "column": 60 + }, + "end": { + "line": 270, + "column": 70 + } + } + }, + "range": [ + 7214, + 7260 + ], + "loc": { + "start": { + "line": 270, + "column": 24 + }, + "end": { + "line": 270, + "column": 70 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7288, + 7293 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7294, + 7297 + ], + "loc": { + "start": { + "line": 271, + "column": 30 + }, + "end": { + "line": 271, + "column": 33 + } + } + }, + "range": [ + 7288, + 7298 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 7299, + 7303 + ], + "loc": { + "start": { + "line": 271, + "column": 35 + }, + "end": { + "line": 271, + "column": 39 + } + } + }, + "range": [ + 7288, + 7303 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 7306, + 7315 + ], + "loc": { + "start": { + "line": 271, + "column": 42 + }, + "end": { + "line": 271, + "column": 51 + } + } + }, + "range": [ + 7288, + 7315 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 51 + } + } + }, + "range": [ + 7288, + 7316 + ], + "loc": { + "start": { + "line": 271, + "column": 24 + }, + "end": { + "line": 271, + "column": 52 + } + } + } + ], + "range": [ + 7262, + 7338 + ], + "loc": { + "start": { + "line": 270, + "column": 72 + }, + "end": { + "line": 272, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 7210, + 7338 + ], + "loc": { + "start": { + "line": 270, + "column": 20 + }, + "end": { + "line": 272, + "column": 21 + } + } + } + ], + "range": [ + 7188, + 7356 + ], + "loc": { + "start": { + "line": 269, + "column": 52 + }, + "end": { + "line": 273, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7179, + 7356 + ], + "loc": { + "start": { + "line": 269, + "column": 43 + }, + "end": { + "line": 273, + "column": 17 + } + } + } + ], + "range": [ + 7152, + 7357 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 273, + "column": 18 + } + } + }, + "range": [ + 7152, + 7358 + ], + "loc": { + "start": { + "line": 269, + "column": 16 + }, + "end": { + "line": 273, + "column": 19 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Remove previuosly sorted column", + "range": [ + 7101, + 7135 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 50 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 7380, + 7383 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 23 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 7386, + 7389 + ], + "loc": { + "start": { + "line": 275, + "column": 26 + }, + "end": { + "line": 275, + "column": 29 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 7401, + 7404 + ], + "loc": { + "start": { + "line": 275, + "column": 41 + }, + "end": { + "line": 275, + "column": 44 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 7420, + 7422 + ], + "loc": { + "start": { + "line": 275, + "column": 60 + }, + "end": { + "line": 275, + "column": 62 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7389, + 7393 + ], + "loc": { + "start": { + "line": 275, + "column": 29 + }, + "end": { + "line": 275, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 7394, + 7401 + ], + "loc": { + "start": { + "line": 275, + "column": 34 + }, + "end": { + "line": 275, + "column": 41 + } + } + }, + "range": [ + 7389, + 7401 + ], + "loc": { + "start": { + "line": 275, + "column": 29 + }, + "end": { + "line": 275, + "column": 41 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7404, + 7408 + ], + "loc": { + "start": { + "line": 275, + "column": 44 + }, + "end": { + "line": 275, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 7409, + 7413 + ], + "loc": { + "start": { + "line": 275, + "column": 49 + }, + "end": { + "line": 275, + "column": 53 + } + } + }, + "range": [ + 7404, + 7413 + ], + "loc": { + "start": { + "line": 275, + "column": 44 + }, + "end": { + "line": 275, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "column", + "range": [ + 7414, + 7420 + ], + "loc": { + "start": { + "line": 275, + "column": 54 + }, + "end": { + "line": 275, + "column": 60 + } + } + }, + "range": [ + 7404, + 7420 + ], + "loc": { + "start": { + "line": 275, + "column": 44 + }, + "end": { + "line": 275, + "column": 60 + } + } + } + ], + "range": [ + 7386, + 7422 + ], + "loc": { + "start": { + "line": 275, + "column": 26 + }, + "end": { + "line": 275, + "column": 62 + } + } + }, + "range": [ + 7380, + 7422 + ], + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 7376, + 7423 + ], + "loc": { + "start": { + "line": 275, + "column": 16 + }, + "end": { + "line": 275, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7440, + 7445 + ], + "loc": { + "start": { + "line": 276, + "column": 16 + }, + "end": { + "line": 276, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7446, + 7449 + ], + "loc": { + "start": { + "line": 276, + "column": 22 + }, + "end": { + "line": 276, + "column": 25 + } + } + }, + "range": [ + 7440, + 7450 + ], + "loc": { + "start": { + "line": 276, + "column": 16 + }, + "end": { + "line": 276, + "column": 26 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7453, + 7458 + ], + "loc": { + "start": { + "line": 276, + "column": 29 + }, + "end": { + "line": 276, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7459, + 7462 + ], + "loc": { + "start": { + "line": 276, + "column": 35 + }, + "end": { + "line": 276, + "column": 38 + } + } + }, + "range": [ + 7453, + 7463 + ], + "loc": { + "start": { + "line": 276, + "column": 29 + }, + "end": { + "line": 276, + "column": 39 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 7467, + 7469 + ], + "loc": { + "start": { + "line": 276, + "column": 43 + }, + "end": { + "line": 276, + "column": 45 + } + } + }, + "range": [ + 7453, + 7469 + ], + "loc": { + "start": { + "line": 276, + "column": 29 + }, + "end": { + "line": 276, + "column": 45 + } + } + }, + "range": [ + 7440, + 7469 + ], + "loc": { + "start": { + "line": 276, + "column": 16 + }, + "end": { + "line": 276, + "column": 45 + } + } + }, + "range": [ + 7440, + 7470 + ], + "loc": { + "start": { + "line": 276, + "column": 16 + }, + "end": { + "line": 276, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7487, + 7492 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7493, + 7496 + ], + "loc": { + "start": { + "line": 277, + "column": 22 + }, + "end": { + "line": 277, + "column": 25 + } + } + }, + "range": [ + 7487, + 7497 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 7498, + 7502 + ], + "loc": { + "start": { + "line": 277, + "column": 27 + }, + "end": { + "line": 277, + "column": 31 + } + } + }, + "range": [ + 7487, + 7502 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 31 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "descending", + "range": [ + 7507, + 7517 + ], + "loc": { + "start": { + "line": 277, + "column": 36 + }, + "end": { + "line": 277, + "column": 46 + } + } + }, + "value": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7519, + 7523 + ], + "loc": { + "start": { + "line": 277, + "column": 48 + }, + "end": { + "line": 277, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 7524, + 7528 + ], + "loc": { + "start": { + "line": 277, + "column": 53 + }, + "end": { + "line": 277, + "column": 57 + } + } + }, + "range": [ + 7519, + 7528 + ], + "loc": { + "start": { + "line": 277, + "column": 48 + }, + "end": { + "line": 277, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "descending", + "range": [ + 7529, + 7539 + ], + "loc": { + "start": { + "line": 277, + "column": 58 + }, + "end": { + "line": 277, + "column": 68 + } + } + }, + "range": [ + 7519, + 7539 + ], + "loc": { + "start": { + "line": 277, + "column": 48 + }, + "end": { + "line": 277, + "column": 68 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 7507, + 7539 + ], + "loc": { + "start": { + "line": 277, + "column": 36 + }, + "end": { + "line": 277, + "column": 68 + } + } + } + ], + "range": [ + 7505, + 7541 + ], + "loc": { + "start": { + "line": 277, + "column": 34 + }, + "end": { + "line": 277, + "column": 70 + } + } + }, + "range": [ + 7487, + 7541 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 70 + } + } + }, + "range": [ + 7487, + 7542 + ], + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 71 + } + } + } + ], + "range": [ + 7083, + 7556 + ], + "loc": { + "start": { + "line": 267, + "column": 36 + }, + "end": { + "line": 278, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7059, + 7556 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 278, + "column": 13 + } + } + } + ], + "range": [ + 7045, + 7566 + ], + "loc": { + "start": { + "line": 266, + "column": 30 + }, + "end": { + "line": 279, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7023, + 7566 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 279, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7580, + 7584 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistColsVisibility", + "range": [ + 7585, + 7606 + ], + "loc": { + "start": { + "line": 281, + "column": 17 + }, + "end": { + "line": 281, + "column": 38 + } + } + }, + "range": [ + 7580, + 7606 + ], + "loc": { + "start": { + "line": 281, + "column": 12 + }, + "end": { + "line": 281, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 7627, + 7633 + ], + "loc": { + "start": { + "line": 282, + "column": 17 + }, + "end": { + "line": 282, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7634, + 7638 + ], + "loc": { + "start": { + "line": 282, + "column": 24 + }, + "end": { + "line": 282, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 7639, + 7649 + ], + "loc": { + "start": { + "line": 282, + "column": 29 + }, + "end": { + "line": 282, + "column": 39 + } + } + }, + "range": [ + 7634, + 7649 + ], + "loc": { + "start": { + "line": 282, + "column": 24 + }, + "end": { + "line": 282, + "column": 39 + } + } + } + ], + "range": [ + 7627, + 7650 + ], + "loc": { + "start": { + "line": 282, + "column": 17 + }, + "end": { + "line": 282, + "column": 40 + } + } + }, + "prefix": true, + "range": [ + 7626, + 7650 + ], + "loc": { + "start": { + "line": 282, + "column": 16 + }, + "end": { + "line": 282, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 7721, + 7727 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 7728, + 7732 + ], + "loc": { + "start": { + "line": 284, + "column": 23 + }, + "end": { + "line": 284, + "column": 27 + } + } + }, + "range": [ + 7721, + 7732 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 7733, + 7738 + ], + "loc": { + "start": { + "line": 284, + "column": 28 + }, + "end": { + "line": 284, + "column": 33 + } + } + } + ], + "range": [ + 7721, + 7739 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 7740, + 7747 + ], + "loc": { + "start": { + "line": 284, + "column": 35 + }, + "end": { + "line": 284, + "column": 42 + } + } + }, + "range": [ + 7721, + 7747 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 7749, + 7752 + ], + "loc": { + "start": { + "line": 284, + "column": 44 + }, + "end": { + "line": 284, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 7783, + 7786 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 285, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 7787, + 7794 + ], + "loc": { + "start": { + "line": 285, + "column": 28 + }, + "end": { + "line": 285, + "column": 35 + } + } + }, + "range": [ + 7783, + 7794 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 285, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7795, + 7799 + ], + "loc": { + "start": { + "line": 285, + "column": 36 + }, + "end": { + "line": 285, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 7800, + 7807 + ], + "loc": { + "start": { + "line": 285, + "column": 41 + }, + "end": { + "line": 285, + "column": 48 + } + } + }, + "range": [ + 7795, + 7807 + ], + "loc": { + "start": { + "line": 285, + "column": 36 + }, + "end": { + "line": 285, + "column": 48 + } + } + } + ], + "range": [ + 7783, + 7808 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 285, + "column": 49 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7814, + 7815 + ], + "loc": { + "start": { + "line": 285, + "column": 55 + }, + "end": { + "line": 285, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 7813, + 7815 + ], + "loc": { + "start": { + "line": 285, + "column": 54 + }, + "end": { + "line": 285, + "column": 56 + } + } + }, + "range": [ + 7783, + 7815 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 285, + "column": 56 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7819, + 7824 + ], + "loc": { + "start": { + "line": 285, + "column": 60 + }, + "end": { + "line": 285, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7825, + 7828 + ], + "loc": { + "start": { + "line": 285, + "column": 66 + }, + "end": { + "line": 285, + "column": 69 + } + } + }, + "range": [ + 7819, + 7829 + ], + "loc": { + "start": { + "line": 285, + "column": 60 + }, + "end": { + "line": 285, + "column": 70 + } + } + }, + "range": [ + 7783, + 7829 + ], + "loc": { + "start": { + "line": 285, + "column": 24 + }, + "end": { + "line": 285, + "column": 70 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 7857, + 7862 + ], + "loc": { + "start": { + "line": 286, + "column": 24 + }, + "end": { + "line": 286, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 7863, + 7866 + ], + "loc": { + "start": { + "line": 286, + "column": 30 + }, + "end": { + "line": 286, + "column": 33 + } + } + }, + "range": [ + 7857, + 7867 + ], + "loc": { + "start": { + "line": 286, + "column": 24 + }, + "end": { + "line": 286, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "hidden", + "range": [ + 7868, + 7874 + ], + "loc": { + "start": { + "line": 286, + "column": 35 + }, + "end": { + "line": 286, + "column": 41 + } + } + }, + "range": [ + 7857, + 7874 + ], + "loc": { + "start": { + "line": 286, + "column": 24 + }, + "end": { + "line": 286, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 7877, + 7886 + ], + "loc": { + "start": { + "line": 286, + "column": 44 + }, + "end": { + "line": 286, + "column": 53 + } + } + }, + "range": [ + 7857, + 7886 + ], + "loc": { + "start": { + "line": 286, + "column": 24 + }, + "end": { + "line": 286, + "column": 53 + } + } + }, + "range": [ + 7857, + 7887 + ], + "loc": { + "start": { + "line": 286, + "column": 24 + }, + "end": { + "line": 286, + "column": 54 + } + } + } + ], + "range": [ + 7831, + 7909 + ], + "loc": { + "start": { + "line": 285, + "column": 72 + }, + "end": { + "line": 287, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 7779, + 7909 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 287, + "column": 21 + } + } + } + ], + "range": [ + 7757, + 7927 + ], + "loc": { + "start": { + "line": 284, + "column": 52 + }, + "end": { + "line": 288, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7748, + 7927 + ], + "loc": { + "start": { + "line": 284, + "column": 43 + }, + "end": { + "line": 288, + "column": 17 + } + } + } + ], + "range": [ + 7721, + 7928 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 288, + "column": 18 + } + } + }, + "range": [ + 7721, + 7929 + ], + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 288, + "column": 19 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Clear previuosly hidden columns", + "range": [ + 7670, + 7704 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 50 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7947, + 7951 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 7952, + 7962 + ], + "loc": { + "start": { + "line": 290, + "column": 21 + }, + "end": { + "line": 290, + "column": 31 + } + } + }, + "range": [ + 7947, + 7962 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 7963, + 7970 + ], + "loc": { + "start": { + "line": 290, + "column": 32 + }, + "end": { + "line": 290, + "column": 39 + } + } + }, + "range": [ + 7947, + 7970 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 290, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 7972, + 7978 + ], + "loc": { + "start": { + "line": 290, + "column": 41 + }, + "end": { + "line": 290, + "column": 47 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 8009, + 8012 + ], + "loc": { + "start": { + "line": 291, + "column": 24 + }, + "end": { + "line": 291, + "column": 27 + } + } + }, + "init": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 8015, + 8018 + ], + "loc": { + "start": { + "line": 291, + "column": 30 + }, + "end": { + "line": 291, + "column": 33 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 8030, + 8033 + ], + "loc": { + "start": { + "line": 291, + "column": 45 + }, + "end": { + "line": 291, + "column": 48 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 8039, + 8041 + ], + "loc": { + "start": { + "line": 291, + "column": 54 + }, + "end": { + "line": 291, + "column": 56 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8018, + 8022 + ], + "loc": { + "start": { + "line": 291, + "column": 33 + }, + "end": { + "line": 291, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 8023, + 8030 + ], + "loc": { + "start": { + "line": 291, + "column": 38 + }, + "end": { + "line": 291, + "column": 45 + } + } + }, + "range": [ + 8018, + 8030 + ], + "loc": { + "start": { + "line": 291, + "column": 33 + }, + "end": { + "line": 291, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 8033, + 8039 + ], + "loc": { + "start": { + "line": 291, + "column": 48 + }, + "end": { + "line": 291, + "column": 54 + } + } + } + ], + "range": [ + 8015, + 8041 + ], + "loc": { + "start": { + "line": 291, + "column": 30 + }, + "end": { + "line": 291, + "column": 56 + } + } + }, + "range": [ + 8009, + 8041 + ], + "loc": { + "start": { + "line": 291, + "column": 24 + }, + "end": { + "line": 291, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 8005, + 8042 + ], + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 291, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 8063, + 8068 + ], + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 8069, + 8072 + ], + "loc": { + "start": { + "line": 292, + "column": 26 + }, + "end": { + "line": 292, + "column": 29 + } + } + }, + "range": [ + 8063, + 8073 + ], + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 30 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 8076, + 8081 + ], + "loc": { + "start": { + "line": 292, + "column": 33 + }, + "end": { + "line": 292, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 8082, + 8085 + ], + "loc": { + "start": { + "line": 292, + "column": 39 + }, + "end": { + "line": 292, + "column": 42 + } + } + }, + "range": [ + 8076, + 8086 + ], + "loc": { + "start": { + "line": 292, + "column": 33 + }, + "end": { + "line": 292, + "column": 43 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 8090, + 8092 + ], + "loc": { + "start": { + "line": 292, + "column": 47 + }, + "end": { + "line": 292, + "column": 49 + } + } + }, + "range": [ + 8076, + 8092 + ], + "loc": { + "start": { + "line": 292, + "column": 33 + }, + "end": { + "line": 292, + "column": 49 + } + } + }, + "range": [ + 8063, + 8092 + ], + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 49 + } + } + }, + "range": [ + 8063, + 8093 + ], + "loc": { + "start": { + "line": 292, + "column": 20 + }, + "end": { + "line": 292, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 8114, + 8119 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 8120, + 8123 + ], + "loc": { + "start": { + "line": 293, + "column": 26 + }, + "end": { + "line": 293, + "column": 29 + } + } + }, + "range": [ + 8114, + 8124 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "hidden", + "range": [ + 8125, + 8131 + ], + "loc": { + "start": { + "line": 293, + "column": 31 + }, + "end": { + "line": 293, + "column": 37 + } + } + }, + "range": [ + 8114, + 8131 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8134, + 8138 + ], + "loc": { + "start": { + "line": 293, + "column": 40 + }, + "end": { + "line": 293, + "column": 44 + } + } + }, + "range": [ + 8114, + 8138 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 44 + } + } + }, + "range": [ + 8114, + 8139 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 45 + } + } + } + ], + "range": [ + 7983, + 8157 + ], + "loc": { + "start": { + "line": 290, + "column": 52 + }, + "end": { + "line": 294, + "column": 17 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7971, + 8157 + ], + "loc": { + "start": { + "line": 290, + "column": 40 + }, + "end": { + "line": 294, + "column": 17 + } + } + } + ], + "range": [ + 7947, + 8158 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 294, + "column": 18 + } + } + }, + "range": [ + 7947, + 8159 + ], + "loc": { + "start": { + "line": 290, + "column": 16 + }, + "end": { + "line": 294, + "column": 19 + } + } + } + ], + "range": [ + 7652, + 8173 + ], + "loc": { + "start": { + "line": 282, + "column": 42 + }, + "end": { + "line": 295, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7622, + 8173 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 295, + "column": 13 + } + } + } + ], + "range": [ + 7608, + 8183 + ], + "loc": { + "start": { + "line": 281, + "column": 40 + }, + "end": { + "line": 296, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7576, + 8183 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 296, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8197, + 8201 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFiltersVisibility", + "range": [ + 8202, + 8226 + ], + "loc": { + "start": { + "line": 298, + "column": 17 + }, + "end": { + "line": 298, + "column": 41 + } + } + }, + "range": [ + 8197, + 8226 + ], + "loc": { + "start": { + "line": 298, + "column": 12 + }, + "end": { + "line": 298, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 8246, + 8252 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8253, + 8257 + ], + "loc": { + "start": { + "line": 299, + "column": 23 + }, + "end": { + "line": 299, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 8258, + 8275 + ], + "loc": { + "start": { + "line": 299, + "column": 28 + }, + "end": { + "line": 299, + "column": 45 + } + } + }, + "range": [ + 8253, + 8275 + ], + "loc": { + "start": { + "line": 299, + "column": 23 + }, + "end": { + "line": 299, + "column": 45 + } + } + } + ], + "range": [ + 8246, + 8276 + ], + "loc": { + "start": { + "line": 299, + "column": 16 + }, + "end": { + "line": 299, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 8296, + 8301 + ], + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8302, + 8306 + ], + "loc": { + "start": { + "line": 300, + "column": 22 + }, + "end": { + "line": 300, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisKey", + "range": [ + 8307, + 8320 + ], + "loc": { + "start": { + "line": 300, + "column": 27 + }, + "end": { + "line": 300, + "column": 40 + } + } + }, + "range": [ + 8302, + 8320 + ], + "loc": { + "start": { + "line": 300, + "column": 22 + }, + "end": { + "line": 300, + "column": 40 + } + } + }, + "range": [ + 8296, + 8321 + ], + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 8324, + 8333 + ], + "loc": { + "start": { + "line": 300, + "column": 44 + }, + "end": { + "line": 300, + "column": 53 + } + } + }, + "range": [ + 8296, + 8333 + ], + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 53 + } + } + }, + "range": [ + 8296, + 8334 + ], + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 54 + } + } + } + ], + "range": [ + 8278, + 8348 + ], + "loc": { + "start": { + "line": 299, + "column": 48 + }, + "end": { + "line": 301, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 8372, + 8377 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 21 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8378, + 8382 + ], + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisKey", + "range": [ + 8383, + 8396 + ], + "loc": { + "start": { + "line": 302, + "column": 27 + }, + "end": { + "line": 302, + "column": 40 + } + } + }, + "range": [ + 8378, + 8396 + ], + "loc": { + "start": { + "line": 302, + "column": 22 + }, + "end": { + "line": 302, + "column": 40 + } + } + }, + "range": [ + 8372, + 8397 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8400, + 8404 + ], + "loc": { + "start": { + "line": 302, + "column": 44 + }, + "end": { + "line": 302, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 8405, + 8422 + ], + "loc": { + "start": { + "line": 302, + "column": 49 + }, + "end": { + "line": 302, + "column": 66 + } + } + }, + "range": [ + 8400, + 8422 + ], + "loc": { + "start": { + "line": 302, + "column": 44 + }, + "end": { + "line": 302, + "column": 66 + } + } + }, + "range": [ + 8372, + 8422 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 66 + } + } + }, + "range": [ + 8372, + 8423 + ], + "loc": { + "start": { + "line": 302, + "column": 16 + }, + "end": { + "line": 302, + "column": 67 + } + } + } + ], + "range": [ + 8354, + 8437 + ], + "loc": { + "start": { + "line": 301, + "column": 19 + }, + "end": { + "line": 303, + "column": 13 + } + } + }, + "range": [ + 8242, + 8437 + ], + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 303, + "column": 13 + } + } + } + ], + "range": [ + 8228, + 8447 + ], + "loc": { + "start": { + "line": 298, + "column": 43 + }, + "end": { + "line": 304, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 8193, + 8447 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 304, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8457, + 8461 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8462, + 8469 + ], + "loc": { + "start": { + "line": 306, + "column": 13 + }, + "end": { + "line": 306, + "column": 20 + } + } + }, + "range": [ + 8457, + 8469 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 8470, + 8474 + ], + "loc": { + "start": { + "line": 306, + "column": 21 + }, + "end": { + "line": 306, + "column": 25 + } + } + }, + "range": [ + 8457, + 8474 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "state-changed", + "raw": "'state-changed'", + "range": [ + 8475, + 8490 + ], + "loc": { + "start": { + "line": 306, + "column": 26 + }, + "end": { + "line": 306, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 8492, + 8494 + ], + "loc": { + "start": { + "line": 306, + "column": 43 + }, + "end": { + "line": 306, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 8496, + 8501 + ], + "loc": { + "start": { + "line": 306, + "column": 47 + }, + "end": { + "line": 306, + "column": 52 + } + } + } + ], + "range": [ + 8457, + 8502 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 53 + } + } + }, + "range": [ + 8457, + 8503 + ], + "loc": { + "start": { + "line": 306, + "column": 8 + }, + "end": { + "line": 306, + "column": 54 + } + } + } + ], + "range": [ + 5888, + 8509 + ], + "loc": { + "start": { + "line": 226, + "column": 13 + }, + "end": { + "line": 307, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 5885, + 8509 + ], + "loc": { + "start": { + "line": 226, + "column": 10 + }, + "end": { + "line": 307, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 5879, + 8509 + ], + "loc": { + "start": { + "line": 226, + "column": 4 + }, + "end": { + "line": 307, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Update state object based on current features state\n ", + "range": [ + 5804, + 5874 + ], + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 225, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n ", + "range": [ + 8515, + 8639 + ], + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "updatePage", + "range": [ + 8644, + 8654 + ], + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 314, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "pageNb", + "range": [ + 8655, + 8661 + ], + "loc": { + "start": { + "line": 314, + "column": 15 + }, + "end": { + "line": 314, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8673, + 8677 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNb", + "range": [ + 8678, + 8684 + ], + "loc": { + "start": { + "line": 315, + "column": 13 + }, + "end": { + "line": 315, + "column": 19 + } + } + }, + "range": [ + 8673, + 8684 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "pageNb", + "range": [ + 8687, + 8693 + ], + "loc": { + "start": { + "line": 315, + "column": 22 + }, + "end": { + "line": 315, + "column": 28 + } + } + }, + "range": [ + 8673, + 8693 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 28 + } + } + }, + "range": [ + 8673, + 8694 + ], + "loc": { + "start": { + "line": 315, + "column": 8 + }, + "end": { + "line": 315, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8703, + 8707 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 8708, + 8714 + ], + "loc": { + "start": { + "line": 316, + "column": 13 + }, + "end": { + "line": 316, + "column": 19 + } + } + }, + "range": [ + 8703, + 8714 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 8703, + 8716 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 21 + } + } + }, + "range": [ + 8703, + 8717 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 22 + } + } + } + ], + "range": [ + 8663, + 8723 + ], + "loc": { + "start": { + "line": 314, + "column": 23 + }, + "end": { + "line": 317, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8654, + 8723 + ], + "loc": { + "start": { + "line": 314, + "column": 14 + }, + "end": { + "line": 317, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8644, + 8723 + ], + "loc": { + "start": { + "line": 314, + "column": 4 + }, + "end": { + "line": 317, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n ", + "range": [ + 8515, + 8639 + ], + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n ", + "range": [ + 8729, + 8863 + ], + "loc": { + "start": { + "line": 319, + "column": 4 + }, + "end": { + "line": 323, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "updatePageLength", + "range": [ + 8868, + 8884 + ], + "loc": { + "start": { + "line": 324, + "column": 4 + }, + "end": { + "line": 324, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 8885, + 8895 + ], + "loc": { + "start": { + "line": 324, + "column": 21 + }, + "end": { + "line": 324, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8907, + 8911 + ], + "loc": { + "start": { + "line": 325, + "column": 8 + }, + "end": { + "line": 325, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 8912, + 8922 + ], + "loc": { + "start": { + "line": 325, + "column": 13 + }, + "end": { + "line": 325, + "column": 23 + } + } + }, + "range": [ + 8907, + 8922 + ], + "loc": { + "start": { + "line": 325, + "column": 8 + }, + "end": { + "line": 325, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 8925, + 8935 + ], + "loc": { + "start": { + "line": 325, + "column": 26 + }, + "end": { + "line": 325, + "column": 36 + } + } + }, + "range": [ + 8907, + 8935 + ], + "loc": { + "start": { + "line": 325, + "column": 8 + }, + "end": { + "line": 325, + "column": 36 + } + } + }, + "range": [ + 8907, + 8936 + ], + "loc": { + "start": { + "line": 325, + "column": 8 + }, + "end": { + "line": 325, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8945, + 8949 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 8950, + 8956 + ], + "loc": { + "start": { + "line": 326, + "column": 13 + }, + "end": { + "line": 326, + "column": 19 + } + } + }, + "range": [ + 8945, + 8956 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 8945, + 8958 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 21 + } + } + }, + "range": [ + 8945, + 8959 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 22 + } + } + } + ], + "range": [ + 8897, + 8965 + ], + "loc": { + "start": { + "line": 324, + "column": 33 + }, + "end": { + "line": 327, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 8884, + 8965 + ], + "loc": { + "start": { + "line": 324, + "column": 20 + }, + "end": { + "line": 327, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 8868, + 8965 + ], + "loc": { + "start": { + "line": 324, + "column": 4 + }, + "end": { + "line": 327, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n ", + "range": [ + 8729, + 8863 + ], + "loc": { + "start": { + "line": 319, + "column": 4 + }, + "end": { + "line": 323, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n ", + "range": [ + 8971, + 9142 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "updateSort", + "range": [ + 9147, + 9157 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 9158, + 9163 + ], + "loc": { + "start": { + "line": 335, + "column": 15 + }, + "end": { + "line": 335, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "descending", + "range": [ + 9165, + 9175 + ], + "loc": { + "start": { + "line": 335, + "column": 22 + }, + "end": { + "line": 335, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9187, + 9191 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 9192, + 9196 + ], + "loc": { + "start": { + "line": 336, + "column": 13 + }, + "end": { + "line": 336, + "column": 17 + } + } + }, + "range": [ + 9187, + 9196 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 336, + "column": 17 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "column", + "range": [ + 9213, + 9219 + ], + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 18 + } + } + }, + "value": { + "type": "Identifier", + "name": "index", + "range": [ + 9221, + 9226 + ], + "loc": { + "start": { + "line": 337, + "column": 20 + }, + "end": { + "line": 337, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9213, + 9226 + ], + "loc": { + "start": { + "line": 337, + "column": 12 + }, + "end": { + "line": 337, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "descending", + "range": [ + 9240, + 9250 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 22 + } + } + }, + "value": { + "type": "Identifier", + "name": "descending", + "range": [ + 9252, + 9262 + ], + "loc": { + "start": { + "line": 338, + "column": 24 + }, + "end": { + "line": 338, + "column": 34 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 9240, + 9262 + ], + "loc": { + "start": { + "line": 338, + "column": 12 + }, + "end": { + "line": 338, + "column": 34 + } + } + } + ], + "range": [ + 9199, + 9272 + ], + "loc": { + "start": { + "line": 336, + "column": 20 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + "range": [ + 9187, + 9272 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 339, + "column": 9 + } + } + }, + "range": [ + 9187, + 9273 + ], + "loc": { + "start": { + "line": 336, + "column": 8 + }, + "end": { + "line": 339, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9282, + 9286 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 340, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 9287, + 9293 + ], + "loc": { + "start": { + "line": 340, + "column": 13 + }, + "end": { + "line": 340, + "column": 19 + } + } + }, + "range": [ + 9282, + 9293 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 340, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 9282, + 9295 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 340, + "column": 21 + } + } + }, + "range": [ + 9282, + 9296 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 340, + "column": 22 + } + } + } + ], + "range": [ + 9177, + 9302 + ], + "loc": { + "start": { + "line": 335, + "column": 34 + }, + "end": { + "line": 341, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9157, + 9302 + ], + "loc": { + "start": { + "line": 335, + "column": 14 + }, + "end": { + "line": 341, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9147, + 9302 + ], + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 341, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n ", + "range": [ + 8971, + 9142 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n ", + "range": [ + 9308, + 9447 + ], + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 347, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "updateColsVisibility", + "range": [ + 9452, + 9472 + ], + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 348, + "column": 24 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 9473, + 9483 + ], + "loc": { + "start": { + "line": 348, + "column": 25 + }, + "end": { + "line": 348, + "column": 35 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9495, + 9499 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 9500, + 9510 + ], + "loc": { + "start": { + "line": 349, + "column": 13 + }, + "end": { + "line": 349, + "column": 23 + } + } + }, + "range": [ + 9495, + 9510 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 9513, + 9523 + ], + "loc": { + "start": { + "line": 349, + "column": 26 + }, + "end": { + "line": 349, + "column": 36 + } + } + }, + "range": [ + 9495, + 9523 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 36 + } + } + }, + "range": [ + 9495, + 9524 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9533, + 9537 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 9538, + 9544 + ], + "loc": { + "start": { + "line": 350, + "column": 13 + }, + "end": { + "line": 350, + "column": 19 + } + } + }, + "range": [ + 9533, + 9544 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 9533, + 9546 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 21 + } + } + }, + "range": [ + 9533, + 9547 + ], + "loc": { + "start": { + "line": 350, + "column": 8 + }, + "end": { + "line": 350, + "column": 22 + } + } + } + ], + "range": [ + 9485, + 9553 + ], + "loc": { + "start": { + "line": 348, + "column": 37 + }, + "end": { + "line": 351, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9472, + 9553 + ], + "loc": { + "start": { + "line": 348, + "column": 24 + }, + "end": { + "line": 351, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9452, + 9553 + ], + "loc": { + "start": { + "line": 348, + "column": 4 + }, + "end": { + "line": 351, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n ", + "range": [ + 9308, + 9447 + ], + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 347, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n ", + "range": [ + 9559, + 9688 + ], + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 357, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "updateFiltersVisibility", + "range": [ + 9693, + 9716 + ], + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 358, + "column": 27 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "visible", + "range": [ + 9717, + 9724 + ], + "loc": { + "start": { + "line": 358, + "column": 28 + }, + "end": { + "line": 358, + "column": 35 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9736, + 9740 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 9741, + 9758 + ], + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 30 + } + } + }, + "range": [ + 9736, + 9758 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "visible", + "range": [ + 9761, + 9768 + ], + "loc": { + "start": { + "line": 359, + "column": 33 + }, + "end": { + "line": 359, + "column": 40 + } + } + }, + "range": [ + 9736, + 9768 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 40 + } + } + }, + "range": [ + 9736, + 9769 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9778, + 9782 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 9783, + 9789 + ], + "loc": { + "start": { + "line": 360, + "column": 13 + }, + "end": { + "line": 360, + "column": 19 + } + } + }, + "range": [ + 9778, + 9789 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 9778, + 9791 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 21 + } + } + }, + "range": [ + 9778, + 9792 + ], + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 22 + } + } + } + ], + "range": [ + 9726, + 9798 + ], + "loc": { + "start": { + "line": 358, + "column": 37 + }, + "end": { + "line": 361, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9716, + 9798 + ], + "loc": { + "start": { + "line": 358, + "column": 27 + }, + "end": { + "line": 361, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9693, + 9798 + ], + "loc": { + "start": { + "line": 358, + "column": 4 + }, + "end": { + "line": 361, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n ", + "range": [ + 9559, + 9688 + ], + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 357, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Override state field\n *\n * @param state State object\n ", + "range": [ + 9804, + 9883 + ], + "loc": { + "start": { + "line": 363, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "override", + "range": [ + 9888, + 9896 + ], + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 368, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 9897, + 9902 + ], + "loc": { + "start": { + "line": 368, + "column": 13 + }, + "end": { + "line": 368, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9914, + 9918 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 369, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 9919, + 9924 + ], + "loc": { + "start": { + "line": 369, + "column": 13 + }, + "end": { + "line": 369, + "column": 18 + } + } + }, + "range": [ + 9914, + 9924 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 369, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "state", + "range": [ + 9927, + 9932 + ], + "loc": { + "start": { + "line": 369, + "column": 21 + }, + "end": { + "line": 369, + "column": 26 + } + } + }, + "range": [ + 9914, + 9932 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 369, + "column": 26 + } + } + }, + "range": [ + 9914, + 9933 + ], + "loc": { + "start": { + "line": 369, + "column": 8 + }, + "end": { + "line": 369, + "column": 27 + } + } + } + ], + "range": [ + 9904, + 9939 + ], + "loc": { + "start": { + "line": 368, + "column": 20 + }, + "end": { + "line": 370, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9896, + 9939 + ], + "loc": { + "start": { + "line": 368, + "column": 12 + }, + "end": { + "line": 370, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9888, + 9939 + ], + "loc": { + "start": { + "line": 368, + "column": 4 + }, + "end": { + "line": 370, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Override state field\n *\n * @param state State object\n ", + "range": [ + 9804, + 9883 + ], + "loc": { + "start": { + "line": 363, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sync stored features state\n ", + "range": [ + 9945, + 9990 + ], + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 374, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sync", + "range": [ + 9995, + 9999 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 375, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 10016, + 10021 + ], + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10024, + 10028 + ], + "loc": { + "start": { + "line": 376, + "column": 20 + }, + "end": { + "line": 376, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 10029, + 10034 + ], + "loc": { + "start": { + "line": 376, + "column": 25 + }, + "end": { + "line": 376, + "column": 30 + } + } + }, + "range": [ + 10024, + 10034 + ], + "loc": { + "start": { + "line": 376, + "column": 20 + }, + "end": { + "line": 376, + "column": 30 + } + } + }, + "range": [ + 10016, + 10034 + ], + "loc": { + "start": { + "line": 376, + "column": 12 + }, + "end": { + "line": 376, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 10012, + 10035 + ], + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 10048, + 10050 + ], + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10053, + 10057 + ], + "loc": { + "start": { + "line": 377, + "column": 17 + }, + "end": { + "line": 377, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 10058, + 10060 + ], + "loc": { + "start": { + "line": 377, + "column": 22 + }, + "end": { + "line": 377, + "column": 24 + } + } + }, + "range": [ + 10053, + 10060 + ], + "loc": { + "start": { + "line": 377, + "column": 17 + }, + "end": { + "line": 377, + "column": 24 + } + } + }, + "range": [ + 10048, + 10060 + ], + "loc": { + "start": { + "line": 377, + "column": 12 + }, + "end": { + "line": 377, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 10044, + 10061 + ], + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10071, + 10075 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncFilters", + "range": [ + 10076, + 10088 + ], + "loc": { + "start": { + "line": 379, + "column": 13 + }, + "end": { + "line": 379, + "column": 25 + } + } + }, + "range": [ + 10071, + 10088 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 10071, + 10090 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 27 + } + } + }, + "range": [ + 10071, + 10091 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 28 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10105, + 10109 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageNumber", + "range": [ + 10110, + 10127 + ], + "loc": { + "start": { + "line": 381, + "column": 17 + }, + "end": { + "line": 381, + "column": 34 + } + } + }, + "range": [ + 10105, + 10127 + ], + "loc": { + "start": { + "line": 381, + "column": 12 + }, + "end": { + "line": 381, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 10147, + 10157 + ], + "loc": { + "start": { + "line": 382, + "column": 16 + }, + "end": { + "line": 382, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 10160, + 10165 + ], + "loc": { + "start": { + "line": 382, + "column": 29 + }, + "end": { + "line": 382, + "column": 34 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10166, + 10170 + ], + "loc": { + "start": { + "line": 382, + "column": 35 + }, + "end": { + "line": 382, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageNbKey", + "range": [ + 10171, + 10180 + ], + "loc": { + "start": { + "line": 382, + "column": 40 + }, + "end": { + "line": 382, + "column": 49 + } + } + }, + "range": [ + 10166, + 10180 + ], + "loc": { + "start": { + "line": 382, + "column": 35 + }, + "end": { + "line": 382, + "column": 49 + } + } + }, + "range": [ + 10160, + 10181 + ], + "loc": { + "start": { + "line": 382, + "column": 29 + }, + "end": { + "line": 382, + "column": 50 + } + } + }, + "range": [ + 10147, + 10181 + ], + "loc": { + "start": { + "line": 382, + "column": 16 + }, + "end": { + "line": 382, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 10143, + 10182 + ], + "loc": { + "start": { + "line": 382, + "column": 12 + }, + "end": { + "line": 382, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10195, + 10199 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 10200, + 10207 + ], + "loc": { + "start": { + "line": 383, + "column": 17 + }, + "end": { + "line": 383, + "column": 24 + } + } + }, + "range": [ + 10195, + 10207 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 10208, + 10212 + ], + "loc": { + "start": { + "line": 383, + "column": 25 + }, + "end": { + "line": 383, + "column": 29 + } + } + }, + "range": [ + 10195, + 10212 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "change-page", + "raw": "'change-page'", + "range": [ + 10213, + 10226 + ], + "loc": { + "start": { + "line": 383, + "column": 30 + }, + "end": { + "line": 383, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 10228, + 10230 + ], + "loc": { + "start": { + "line": 383, + "column": 45 + }, + "end": { + "line": 383, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "pageNumber", + "range": [ + 10232, + 10242 + ], + "loc": { + "start": { + "line": 383, + "column": 49 + }, + "end": { + "line": 383, + "column": 59 + } + } + } + ], + "range": [ + 10195, + 10243 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 60 + } + } + }, + "range": [ + 10195, + 10244 + ], + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 61 + } + } + } + ], + "range": [ + 10129, + 10254 + ], + "loc": { + "start": { + "line": 381, + "column": 36 + }, + "end": { + "line": 384, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10101, + 10254 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 384, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10268, + 10272 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistPageLength", + "range": [ + 10273, + 10290 + ], + "loc": { + "start": { + "line": 386, + "column": 17 + }, + "end": { + "line": 386, + "column": 34 + } + } + }, + "range": [ + 10268, + 10290 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "pageLength", + "range": [ + 10310, + 10320 + ], + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 10323, + 10328 + ], + "loc": { + "start": { + "line": 387, + "column": 29 + }, + "end": { + "line": 387, + "column": 34 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10329, + 10333 + ], + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "pageLengthKey", + "range": [ + 10334, + 10347 + ], + "loc": { + "start": { + "line": 387, + "column": 40 + }, + "end": { + "line": 387, + "column": 53 + } + } + }, + "range": [ + 10329, + 10347 + ], + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 53 + } + } + }, + "range": [ + 10323, + 10348 + ], + "loc": { + "start": { + "line": 387, + "column": 29 + }, + "end": { + "line": 387, + "column": 54 + } + } + }, + "range": [ + 10310, + 10348 + ], + "loc": { + "start": { + "line": 387, + "column": 16 + }, + "end": { + "line": 387, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 10306, + 10349 + ], + "loc": { + "start": { + "line": 387, + "column": 12 + }, + "end": { + "line": 387, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10362, + 10366 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 10367, + 10374 + ], + "loc": { + "start": { + "line": 388, + "column": 17 + }, + "end": { + "line": 388, + "column": 24 + } + } + }, + "range": [ + 10362, + 10374 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 10375, + 10379 + ], + "loc": { + "start": { + "line": 388, + "column": 25 + }, + "end": { + "line": 388, + "column": 29 + } + } + }, + "range": [ + 10362, + 10379 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "change-page-results", + "raw": "'change-page-results'", + "range": [ + 10380, + 10401 + ], + "loc": { + "start": { + "line": 388, + "column": 30 + }, + "end": { + "line": 388, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 10403, + 10405 + ], + "loc": { + "start": { + "line": 388, + "column": 53 + }, + "end": { + "line": 388, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "pageLength", + "range": [ + 10407, + 10417 + ], + "loc": { + "start": { + "line": 388, + "column": 57 + }, + "end": { + "line": 388, + "column": 67 + } + } + } + ], + "range": [ + 10362, + 10418 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 68 + } + } + }, + "range": [ + 10362, + 10419 + ], + "loc": { + "start": { + "line": 388, + "column": 12 + }, + "end": { + "line": 388, + "column": 69 + } + } + } + ], + "range": [ + 10292, + 10429 + ], + "loc": { + "start": { + "line": 386, + "column": 36 + }, + "end": { + "line": 389, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 10264, + 10429 + ], + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 389, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10439, + 10443 + ], + "loc": { + "start": { + "line": 391, + "column": 8 + }, + "end": { + "line": 391, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncSort", + "range": [ + 10444, + 10453 + ], + "loc": { + "start": { + "line": 391, + "column": 13 + }, + "end": { + "line": 391, + "column": 22 + } + } + }, + "range": [ + 10439, + 10453 + ], + "loc": { + "start": { + "line": 391, + "column": 8 + }, + "end": { + "line": 391, + "column": 22 + } + } + }, + "arguments": [], + "range": [ + 10439, + 10455 + ], + "loc": { + "start": { + "line": 391, + "column": 8 + }, + "end": { + "line": 391, + "column": 24 + } + } + }, + "range": [ + 10439, + 10456 + ], + "loc": { + "start": { + "line": 391, + "column": 8 + }, + "end": { + "line": 391, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10465, + 10469 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncColsVisibility", + "range": [ + 10470, + 10489 + ], + "loc": { + "start": { + "line": 392, + "column": 13 + }, + "end": { + "line": 392, + "column": 32 + } + } + }, + "range": [ + 10465, + 10489 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 10465, + 10491 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 34 + } + } + }, + "range": [ + 10465, + 10492 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10501, + 10505 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 393, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncFiltersVisibility", + "range": [ + 10506, + 10528 + ], + "loc": { + "start": { + "line": 393, + "column": 13 + }, + "end": { + "line": 393, + "column": 35 + } + } + }, + "range": [ + 10501, + 10528 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 393, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 10501, + 10530 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 393, + "column": 37 + } + } + }, + "range": [ + 10501, + 10531 + ], + "loc": { + "start": { + "line": 393, + "column": 8 + }, + "end": { + "line": 393, + "column": 38 + } + } + } + ], + "range": [ + 10002, + 10537 + ], + "loc": { + "start": { + "line": 375, + "column": 11 + }, + "end": { + "line": 394, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 9999, + 10537 + ], + "loc": { + "start": { + "line": 375, + "column": 8 + }, + "end": { + "line": 394, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 9995, + 10537 + ], + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 394, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sync stored features state\n ", + "range": [ + 9945, + 9990 + ], + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 374, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n ", + "range": [ + 10543, + 10667 + ], + "loc": { + "start": { + "line": 396, + "column": 4 + }, + "end": { + "line": 400, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "overrideAndSync", + "range": [ + 10672, + 10687 + ], + "loc": { + "start": { + "line": 401, + "column": 4 + }, + "end": { + "line": 401, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 10688, + 10693 + ], + "loc": { + "start": { + "line": 401, + "column": 20 + }, + "end": { + "line": 401, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10804, + 10808 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "disable", + "range": [ + 10809, + 10816 + ], + "loc": { + "start": { + "line": 404, + "column": 13 + }, + "end": { + "line": 404, + "column": 20 + } + } + }, + "range": [ + 10804, + 10816 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 10804, + 10818 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 22 + } + } + }, + "range": [ + 10804, + 10819 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " To prevent state to react to features changes, state is temporarily", + "range": [ + 10705, + 10775 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 78 + } + } + }, + { + "type": "Line", + "value": " disabled", + "range": [ + 10784, + 10795 + ], + "loc": { + "start": { + "line": 403, + "column": 8 + }, + "end": { + "line": 403, + "column": 19 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " State is overriden with passed state object", + "range": [ + 10828, + 10874 + ], + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 54 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10883, + 10887 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 406, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "override", + "range": [ + 10888, + 10896 + ], + "loc": { + "start": { + "line": 406, + "column": 13 + }, + "end": { + "line": 406, + "column": 21 + } + } + }, + "range": [ + 10883, + 10896 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 406, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 10897, + 10902 + ], + "loc": { + "start": { + "line": 406, + "column": 22 + }, + "end": { + "line": 406, + "column": 27 + } + } + } + ], + "range": [ + 10883, + 10903 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 406, + "column": 28 + } + } + }, + "range": [ + 10883, + 10904 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 406, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " State is overriden with passed state object", + "range": [ + 10828, + 10874 + ], + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 54 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " New hash state is applied to features", + "range": [ + 10913, + 10953 + ], + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 48 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10962, + 10966 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 408, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sync", + "range": [ + 10967, + 10971 + ], + "loc": { + "start": { + "line": 408, + "column": 13 + }, + "end": { + "line": 408, + "column": 17 + } + } + }, + "range": [ + 10962, + 10971 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 408, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 10962, + 10973 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 408, + "column": 19 + } + } + }, + "range": [ + 10962, + 10974 + ], + "loc": { + "start": { + "line": 408, + "column": 8 + }, + "end": { + "line": 408, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " New hash state is applied to features", + "range": [ + 10913, + 10953 + ], + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " State is re-enabled", + "range": [ + 10983, + 11005 + ], + "loc": { + "start": { + "line": 409, + "column": 8 + }, + "end": { + "line": 409, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11014, + 11018 + ], + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 11019, + 11025 + ], + "loc": { + "start": { + "line": 410, + "column": 13 + }, + "end": { + "line": 410, + "column": 19 + } + } + }, + "range": [ + 11014, + 11025 + ], + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 11014, + 11027 + ], + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 21 + } + } + }, + "range": [ + 11014, + 11028 + ], + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " State is re-enabled", + "range": [ + 10983, + 11005 + ], + "loc": { + "start": { + "line": 409, + "column": 8 + }, + "end": { + "line": 409, + "column": 30 + } + } + } + ] + } + ], + "range": [ + 10695, + 11034 + ], + "loc": { + "start": { + "line": 401, + "column": 27 + }, + "end": { + "line": 411, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 10687, + 11034 + ], + "loc": { + "start": { + "line": 401, + "column": 19 + }, + "end": { + "line": 411, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 10672, + 11034 + ], + "loc": { + "start": { + "line": 401, + "column": 4 + }, + "end": { + "line": 411, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n ", + "range": [ + 10543, + 10667 + ], + "loc": { + "start": { + "line": 396, + "column": 4 + }, + "end": { + "line": 400, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sync filters with stored values and filter table\n *\n * @private\n ", + "range": [ + 11040, + 11130 + ], + "loc": { + "start": { + "line": 413, + "column": 4 + }, + "end": { + "line": 417, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_syncFilters", + "range": [ + 11135, + 11147 + ], + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 418, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11165, + 11169 + ], + "loc": { + "start": { + "line": 419, + "column": 13 + }, + "end": { + "line": 419, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFilters", + "range": [ + 11170, + 11184 + ], + "loc": { + "start": { + "line": 419, + "column": 18 + }, + "end": { + "line": 419, + "column": 32 + } + } + }, + "range": [ + 11165, + 11184 + ], + "loc": { + "start": { + "line": 419, + "column": 13 + }, + "end": { + "line": 419, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 11164, + 11184 + ], + "loc": { + "start": { + "line": 419, + "column": 12 + }, + "end": { + "line": 419, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 11200, + 11207 + ], + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 420, + "column": 19 + } + } + } + ], + "range": [ + 11186, + 11217 + ], + "loc": { + "start": { + "line": 419, + "column": 34 + }, + "end": { + "line": 421, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11160, + 11217 + ], + "loc": { + "start": { + "line": 419, + "column": 8 + }, + "end": { + "line": 421, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 11230, + 11235 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11238, + 11242 + ], + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 11243, + 11248 + ], + "loc": { + "start": { + "line": 422, + "column": 25 + }, + "end": { + "line": 422, + "column": 30 + } + } + }, + "range": [ + 11238, + 11248 + ], + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 30 + } + } + }, + "range": [ + 11230, + 11248 + ], + "loc": { + "start": { + "line": 422, + "column": 12 + }, + "end": { + "line": 422, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 11226, + 11249 + ], + "loc": { + "start": { + "line": 422, + "column": 8 + }, + "end": { + "line": 422, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 11262, + 11264 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11267, + 11271 + ], + "loc": { + "start": { + "line": 423, + "column": 17 + }, + "end": { + "line": 423, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11272, + 11274 + ], + "loc": { + "start": { + "line": 423, + "column": 22 + }, + "end": { + "line": 423, + "column": 24 + } + } + }, + "range": [ + 11267, + 11274 + ], + "loc": { + "start": { + "line": 423, + "column": 17 + }, + "end": { + "line": 423, + "column": 24 + } + } + }, + "range": [ + 11262, + 11274 + ], + "loc": { + "start": { + "line": 423, + "column": 12 + }, + "end": { + "line": 423, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 11258, + 11275 + ], + "loc": { + "start": { + "line": 423, + "column": 8 + }, + "end": { + "line": 423, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 11285, + 11291 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 11292, + 11296 + ], + "loc": { + "start": { + "line": 425, + "column": 15 + }, + "end": { + "line": 425, + "column": 19 + } + } + }, + "range": [ + 11285, + 11296 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 11297, + 11302 + ], + "loc": { + "start": { + "line": 425, + "column": 20 + }, + "end": { + "line": 425, + "column": 25 + } + } + } + ], + "range": [ + 11285, + 11303 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 11304, + 11311 + ], + "loc": { + "start": { + "line": 425, + "column": 27 + }, + "end": { + "line": 425, + "column": 34 + } + } + }, + "range": [ + 11285, + 11311 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 425, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 11313, + 11316 + ], + "loc": { + "start": { + "line": 425, + "column": 36 + }, + "end": { + "line": 425, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 11339, + 11342 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 11343, + 11350 + ], + "loc": { + "start": { + "line": 426, + "column": 20 + }, + "end": { + "line": 426, + "column": 27 + } + } + }, + "range": [ + 11339, + 11350 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11351, + 11355 + ], + "loc": { + "start": { + "line": 426, + "column": 28 + }, + "end": { + "line": 426, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 11356, + 11363 + ], + "loc": { + "start": { + "line": 426, + "column": 33 + }, + "end": { + "line": 426, + "column": 40 + } + } + }, + "range": [ + 11351, + 11363 + ], + "loc": { + "start": { + "line": 426, + "column": 28 + }, + "end": { + "line": 426, + "column": 40 + } + } + } + ], + "range": [ + 11339, + 11364 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 41 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11370, + 11371 + ], + "loc": { + "start": { + "line": 426, + "column": 47 + }, + "end": { + "line": 426, + "column": 48 + } + } + }, + "prefix": true, + "range": [ + 11369, + 11371 + ], + "loc": { + "start": { + "line": 426, + "column": 46 + }, + "end": { + "line": 426, + "column": 48 + } + } + }, + "range": [ + 11339, + 11371 + ], + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 11395, + 11401 + ], + "loc": { + "start": { + "line": 427, + "column": 20 + }, + "end": { + "line": 427, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11404, + 11412 + ], + "loc": { + "start": { + "line": 427, + "column": 29 + }, + "end": { + "line": 427, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 11413, + 11416 + ], + "loc": { + "start": { + "line": 427, + "column": 38 + }, + "end": { + "line": 427, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 11417, + 11424 + ], + "loc": { + "start": { + "line": 427, + "column": 42 + }, + "end": { + "line": 427, + "column": 49 + } + } + }, + "range": [ + 11413, + 11424 + ], + "loc": { + "start": { + "line": 427, + "column": 38 + }, + "end": { + "line": 427, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11425, + 11429 + ], + "loc": { + "start": { + "line": 427, + "column": 50 + }, + "end": { + "line": 427, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 11430, + 11437 + ], + "loc": { + "start": { + "line": 427, + "column": 55 + }, + "end": { + "line": 427, + "column": 62 + } + } + }, + "range": [ + 11425, + 11437 + ], + "loc": { + "start": { + "line": 427, + "column": 50 + }, + "end": { + "line": 427, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 11439, + 11441 + ], + "loc": { + "start": { + "line": 427, + "column": 64 + }, + "end": { + "line": 427, + "column": 66 + } + } + } + ], + "range": [ + 11413, + 11442 + ], + "loc": { + "start": { + "line": 427, + "column": 38 + }, + "end": { + "line": 427, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 11444, + 11446 + ], + "loc": { + "start": { + "line": 427, + "column": 69 + }, + "end": { + "line": 427, + "column": 71 + } + } + } + ], + "range": [ + 11404, + 11447 + ], + "loc": { + "start": { + "line": 427, + "column": 29 + }, + "end": { + "line": 427, + "column": 72 + } + } + }, + "range": [ + 11395, + 11447 + ], + "loc": { + "start": { + "line": 427, + "column": 20 + }, + "end": { + "line": 427, + "column": 72 + } + } + } + ], + "kind": "let", + "range": [ + 11391, + 11448 + ], + "loc": { + "start": { + "line": 427, + "column": 16 + }, + "end": { + "line": 427, + "column": 73 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "val", + "range": [ + 11469, + 11472 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 11475, + 11480 + ], + "loc": { + "start": { + "line": 428, + "column": 26 + }, + "end": { + "line": 428, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 11481, + 11484 + ], + "loc": { + "start": { + "line": 428, + "column": 32 + }, + "end": { + "line": 428, + "column": 35 + } + } + }, + "range": [ + 11475, + 11485 + ], + "loc": { + "start": { + "line": 428, + "column": 26 + }, + "end": { + "line": 428, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt", + "range": [ + 11486, + 11489 + ], + "loc": { + "start": { + "line": 428, + "column": 37 + }, + "end": { + "line": 428, + "column": 40 + } + } + }, + "range": [ + 11475, + 11489 + ], + "loc": { + "start": { + "line": 428, + "column": 26 + }, + "end": { + "line": 428, + "column": 40 + } + } + }, + "range": [ + 11469, + 11489 + ], + "loc": { + "start": { + "line": 428, + "column": 20 + }, + "end": { + "line": 428, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 11465, + 11490 + ], + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11507, + 11509 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "setFilterValue", + "range": [ + 11510, + 11524 + ], + "loc": { + "start": { + "line": 429, + "column": 19 + }, + "end": { + "line": 429, + "column": 33 + } + } + }, + "range": [ + 11507, + 11524 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 11525, + 11531 + ], + "loc": { + "start": { + "line": 429, + "column": 34 + }, + "end": { + "line": 429, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "val", + "range": [ + 11533, + 11536 + ], + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 45 + } + } + } + ], + "range": [ + 11507, + 11537 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 46 + } + } + }, + "range": [ + 11507, + 11538 + ], + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 47 + } + } + } + ], + "range": [ + 11373, + 11552 + ], + "loc": { + "start": { + "line": 426, + "column": 50 + }, + "end": { + "line": 430, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 11335, + 11552 + ], + "loc": { + "start": { + "line": 426, + "column": 12 + }, + "end": { + "line": 430, + "column": 13 + } + } + } + ], + "range": [ + 11321, + 11562 + ], + "loc": { + "start": { + "line": 425, + "column": 44 + }, + "end": { + "line": 431, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11312, + 11562 + ], + "loc": { + "start": { + "line": 425, + "column": 35 + }, + "end": { + "line": 431, + "column": 9 + } + } + } + ], + "range": [ + 11285, + 11563 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 431, + "column": 10 + } + } + }, + "range": [ + 11285, + 11564 + ], + "loc": { + "start": { + "line": 425, + "column": 8 + }, + "end": { + "line": 431, + "column": 11 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 11574, + 11576 + ], + "loc": { + "start": { + "line": 433, + "column": 8 + }, + "end": { + "line": 433, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 11577, + 11583 + ], + "loc": { + "start": { + "line": 433, + "column": 11 + }, + "end": { + "line": 433, + "column": 17 + } + } + }, + "range": [ + 11574, + 11583 + ], + "loc": { + "start": { + "line": 433, + "column": 8 + }, + "end": { + "line": 433, + "column": 17 + } + } + }, + "arguments": [], + "range": [ + 11574, + 11585 + ], + "loc": { + "start": { + "line": 433, + "column": 8 + }, + "end": { + "line": 433, + "column": 19 + } + } + }, + "range": [ + 11574, + 11586 + ], + "loc": { + "start": { + "line": 433, + "column": 8 + }, + "end": { + "line": 433, + "column": 20 + } + } + } + ], + "range": [ + 11150, + 11592 + ], + "loc": { + "start": { + "line": 418, + "column": 19 + }, + "end": { + "line": 434, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11147, + 11592 + ], + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 434, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11135, + 11592 + ], + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 434, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sync filters with stored values and filter table\n *\n * @private\n ", + "range": [ + 11040, + 11130 + ], + "loc": { + "start": { + "line": 413, + "column": 4 + }, + "end": { + "line": 417, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n ", + "range": [ + 11598, + 11705 + ], + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 440, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_syncSort", + "range": [ + 11710, + 11719 + ], + "loc": { + "start": { + "line": 441, + "column": 4 + }, + "end": { + "line": 441, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11737, + 11741 + ], + "loc": { + "start": { + "line": 442, + "column": 13 + }, + "end": { + "line": 442, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistSort", + "range": [ + 11742, + 11753 + ], + "loc": { + "start": { + "line": 442, + "column": 18 + }, + "end": { + "line": 442, + "column": 29 + } + } + }, + "range": [ + 11737, + 11753 + ], + "loc": { + "start": { + "line": 442, + "column": 13 + }, + "end": { + "line": 442, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 11736, + 11753 + ], + "loc": { + "start": { + "line": 442, + "column": 12 + }, + "end": { + "line": 442, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 11769, + 11776 + ], + "loc": { + "start": { + "line": 443, + "column": 12 + }, + "end": { + "line": 443, + "column": 19 + } + } + } + ], + "range": [ + 11755, + 11786 + ], + "loc": { + "start": { + "line": 442, + "column": 31 + }, + "end": { + "line": 444, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 11732, + 11786 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 444, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 11799, + 11804 + ], + "loc": { + "start": { + "line": 445, + "column": 12 + }, + "end": { + "line": 445, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11807, + 11811 + ], + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 445, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 11812, + 11817 + ], + "loc": { + "start": { + "line": 445, + "column": 25 + }, + "end": { + "line": 445, + "column": 30 + } + } + }, + "range": [ + 11807, + 11817 + ], + "loc": { + "start": { + "line": 445, + "column": 20 + }, + "end": { + "line": 445, + "column": 30 + } + } + }, + "range": [ + 11799, + 11817 + ], + "loc": { + "start": { + "line": 445, + "column": 12 + }, + "end": { + "line": 445, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 11795, + 11818 + ], + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 11831, + 11833 + ], + "loc": { + "start": { + "line": 446, + "column": 12 + }, + "end": { + "line": 446, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11836, + 11840 + ], + "loc": { + "start": { + "line": 446, + "column": 17 + }, + "end": { + "line": 446, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 11841, + 11843 + ], + "loc": { + "start": { + "line": 446, + "column": 22 + }, + "end": { + "line": 446, + "column": 24 + } + } + }, + "range": [ + 11836, + 11843 + ], + "loc": { + "start": { + "line": 446, + "column": 17 + }, + "end": { + "line": 446, + "column": 24 + } + } + }, + "range": [ + 11831, + 11843 + ], + "loc": { + "start": { + "line": 446, + "column": 12 + }, + "end": { + "line": 446, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 11827, + 11844 + ], + "loc": { + "start": { + "line": 446, + "column": 8 + }, + "end": { + "line": 446, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 11854, + 11860 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 11861, + 11865 + ], + "loc": { + "start": { + "line": 448, + "column": 15 + }, + "end": { + "line": 448, + "column": 19 + } + } + }, + "range": [ + 11854, + 11865 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 11866, + 11871 + ], + "loc": { + "start": { + "line": 448, + "column": 20 + }, + "end": { + "line": 448, + "column": 25 + } + } + } + ], + "range": [ + 11854, + 11872 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 11873, + 11880 + ], + "loc": { + "start": { + "line": 448, + "column": 27 + }, + "end": { + "line": 448, + "column": 34 + } + } + }, + "range": [ + 11854, + 11880 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 11882, + 11885 + ], + "loc": { + "start": { + "line": 448, + "column": 36 + }, + "end": { + "line": 448, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 11908, + 11911 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 11912, + 11919 + ], + "loc": { + "start": { + "line": 449, + "column": 20 + }, + "end": { + "line": 449, + "column": 27 + } + } + }, + "range": [ + 11908, + 11919 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11920, + 11924 + ], + "loc": { + "start": { + "line": 449, + "column": 28 + }, + "end": { + "line": 449, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 11925, + 11932 + ], + "loc": { + "start": { + "line": 449, + "column": 33 + }, + "end": { + "line": 449, + "column": 40 + } + } + }, + "range": [ + 11920, + 11932 + ], + "loc": { + "start": { + "line": 449, + "column": 28 + }, + "end": { + "line": 449, + "column": 40 + } + } + } + ], + "range": [ + 11908, + 11933 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 41 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 11939, + 11940 + ], + "loc": { + "start": { + "line": 449, + "column": 47 + }, + "end": { + "line": 449, + "column": 48 + } + } + }, + "prefix": true, + "range": [ + 11938, + 11940 + ], + "loc": { + "start": { + "line": 449, + "column": 46 + }, + "end": { + "line": 449, + "column": 48 + } + } + }, + "range": [ + 11908, + 11940 + ], + "loc": { + "start": { + "line": 449, + "column": 16 + }, + "end": { + "line": 449, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 11964, + 11970 + ], + "loc": { + "start": { + "line": 450, + "column": 20 + }, + "end": { + "line": 450, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 11973, + 11981 + ], + "loc": { + "start": { + "line": 450, + "column": 29 + }, + "end": { + "line": 450, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 11982, + 11985 + ], + "loc": { + "start": { + "line": 450, + "column": 38 + }, + "end": { + "line": 450, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 11986, + 11993 + ], + "loc": { + "start": { + "line": 450, + "column": 42 + }, + "end": { + "line": 450, + "column": 49 + } + } + }, + "range": [ + 11982, + 11993 + ], + "loc": { + "start": { + "line": 450, + "column": 38 + }, + "end": { + "line": 450, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11994, + 11998 + ], + "loc": { + "start": { + "line": 450, + "column": 50 + }, + "end": { + "line": 450, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 11999, + 12006 + ], + "loc": { + "start": { + "line": 450, + "column": 55 + }, + "end": { + "line": 450, + "column": 62 + } + } + }, + "range": [ + 11994, + 12006 + ], + "loc": { + "start": { + "line": 450, + "column": 50 + }, + "end": { + "line": 450, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12008, + 12010 + ], + "loc": { + "start": { + "line": 450, + "column": 64 + }, + "end": { + "line": 450, + "column": 66 + } + } + } + ], + "range": [ + 11982, + 12011 + ], + "loc": { + "start": { + "line": 450, + "column": 38 + }, + "end": { + "line": 450, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 12013, + 12015 + ], + "loc": { + "start": { + "line": 450, + "column": 69 + }, + "end": { + "line": 450, + "column": 71 + } + } + } + ], + "range": [ + 11973, + 12016 + ], + "loc": { + "start": { + "line": 450, + "column": 29 + }, + "end": { + "line": 450, + "column": 72 + } + } + }, + "range": [ + 11964, + 12016 + ], + "loc": { + "start": { + "line": 450, + "column": 20 + }, + "end": { + "line": 450, + "column": 72 + } + } + } + ], + "kind": "let", + "range": [ + 11960, + 12017 + ], + "loc": { + "start": { + "line": 450, + "column": 16 + }, + "end": { + "line": 450, + "column": 73 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 12039, + 12046 + ], + "loc": { + "start": { + "line": 451, + "column": 21 + }, + "end": { + "line": 451, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 12047, + 12052 + ], + "loc": { + "start": { + "line": 451, + "column": 29 + }, + "end": { + "line": 451, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 12053, + 12056 + ], + "loc": { + "start": { + "line": 451, + "column": 35 + }, + "end": { + "line": 451, + "column": 38 + } + } + }, + "range": [ + 12047, + 12057 + ], + "loc": { + "start": { + "line": 451, + "column": 29 + }, + "end": { + "line": 451, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 12058, + 12062 + ], + "loc": { + "start": { + "line": 451, + "column": 40 + }, + "end": { + "line": 451, + "column": 44 + } + } + }, + "range": [ + 12047, + 12062 + ], + "loc": { + "start": { + "line": 451, + "column": 29 + }, + "end": { + "line": 451, + "column": 44 + } + } + } + ], + "range": [ + 12039, + 12063 + ], + "loc": { + "start": { + "line": 451, + "column": 21 + }, + "end": { + "line": 451, + "column": 45 + } + } + }, + "prefix": true, + "range": [ + 12038, + 12063 + ], + "loc": { + "start": { + "line": 451, + "column": 20 + }, + "end": { + "line": 451, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sort", + "range": [ + 12091, + 12095 + ], + "loc": { + "start": { + "line": 452, + "column": 24 + }, + "end": { + "line": 452, + "column": 28 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 12098, + 12103 + ], + "loc": { + "start": { + "line": 452, + "column": 31 + }, + "end": { + "line": 452, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 12104, + 12107 + ], + "loc": { + "start": { + "line": 452, + "column": 37 + }, + "end": { + "line": 452, + "column": 40 + } + } + }, + "range": [ + 12098, + 12108 + ], + "loc": { + "start": { + "line": 452, + "column": 31 + }, + "end": { + "line": 452, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 12109, + 12113 + ], + "loc": { + "start": { + "line": 452, + "column": 42 + }, + "end": { + "line": 452, + "column": 46 + } + } + }, + "range": [ + 12098, + 12113 + ], + "loc": { + "start": { + "line": 452, + "column": 31 + }, + "end": { + "line": 452, + "column": 46 + } + } + }, + "range": [ + 12091, + 12113 + ], + "loc": { + "start": { + "line": 452, + "column": 24 + }, + "end": { + "line": 452, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 12087, + 12114 + ], + "loc": { + "start": { + "line": 452, + "column": 20 + }, + "end": { + "line": 452, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12135, + 12139 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12140, + 12147 + ], + "loc": { + "start": { + "line": 453, + "column": 25 + }, + "end": { + "line": 453, + "column": 32 + } + } + }, + "range": [ + 12135, + 12147 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 12148, + 12152 + ], + "loc": { + "start": { + "line": 453, + "column": 33 + }, + "end": { + "line": 453, + "column": 37 + } + } + }, + "range": [ + 12135, + 12152 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "sort", + "raw": "'sort'", + "range": [ + 12153, + 12159 + ], + "loc": { + "start": { + "line": 453, + "column": 38 + }, + "end": { + "line": 453, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 12161, + 12163 + ], + "loc": { + "start": { + "line": 453, + "column": 46 + }, + "end": { + "line": 453, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 12165, + 12171 + ], + "loc": { + "start": { + "line": 453, + "column": 50 + }, + "end": { + "line": 453, + "column": 56 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sort", + "range": [ + 12173, + 12177 + ], + "loc": { + "start": { + "line": 453, + "column": 58 + }, + "end": { + "line": 453, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "descending", + "range": [ + 12178, + 12188 + ], + "loc": { + "start": { + "line": 453, + "column": 63 + }, + "end": { + "line": 453, + "column": 73 + } + } + }, + "range": [ + 12173, + 12188 + ], + "loc": { + "start": { + "line": 453, + "column": 58 + }, + "end": { + "line": 453, + "column": 73 + } + } + } + ], + "range": [ + 12135, + 12189 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 74 + } + } + }, + "range": [ + 12135, + 12190 + ], + "loc": { + "start": { + "line": 453, + "column": 20 + }, + "end": { + "line": 453, + "column": 75 + } + } + } + ], + "range": [ + 12065, + 12208 + ], + "loc": { + "start": { + "line": 451, + "column": 47 + }, + "end": { + "line": 454, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 12034, + 12208 + ], + "loc": { + "start": { + "line": 451, + "column": 16 + }, + "end": { + "line": 454, + "column": 17 + } + } + } + ], + "range": [ + 11942, + 12222 + ], + "loc": { + "start": { + "line": 449, + "column": 50 + }, + "end": { + "line": 455, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 11904, + 12222 + ], + "loc": { + "start": { + "line": 449, + "column": 12 + }, + "end": { + "line": 455, + "column": 13 + } + } + } + ], + "range": [ + 11890, + 12232 + ], + "loc": { + "start": { + "line": 448, + "column": 44 + }, + "end": { + "line": 456, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11881, + 12232 + ], + "loc": { + "start": { + "line": 448, + "column": 35 + }, + "end": { + "line": 456, + "column": 9 + } + } + } + ], + "range": [ + 11854, + 12233 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 456, + "column": 10 + } + } + }, + "range": [ + 11854, + 12234 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 456, + "column": 11 + } + } + } + ], + "range": [ + 11722, + 12240 + ], + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 457, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 11719, + 12240 + ], + "loc": { + "start": { + "line": 441, + "column": 13 + }, + "end": { + "line": 457, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 11710, + 12240 + ], + "loc": { + "start": { + "line": 441, + "column": 4 + }, + "end": { + "line": 457, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n ", + "range": [ + 11598, + 11705 + ], + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 440, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sync hidden columns with stored information\n *\n * @private\n ", + "range": [ + 12246, + 12331 + ], + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 463, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_syncColsVisibility", + "range": [ + 12336, + 12355 + ], + "loc": { + "start": { + "line": 464, + "column": 4 + }, + "end": { + "line": 464, + "column": 23 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12373, + 12377 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistColsVisibility", + "range": [ + 12378, + 12399 + ], + "loc": { + "start": { + "line": 465, + "column": 18 + }, + "end": { + "line": 465, + "column": 39 + } + } + }, + "range": [ + 12373, + 12399 + ], + "loc": { + "start": { + "line": 465, + "column": 13 + }, + "end": { + "line": 465, + "column": 39 + } + } + }, + "prefix": true, + "range": [ + 12372, + 12399 + ], + "loc": { + "start": { + "line": 465, + "column": 12 + }, + "end": { + "line": 465, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 12415, + 12422 + ], + "loc": { + "start": { + "line": 466, + "column": 12 + }, + "end": { + "line": 466, + "column": 19 + } + } + } + ], + "range": [ + 12401, + 12432 + ], + "loc": { + "start": { + "line": 465, + "column": 41 + }, + "end": { + "line": 467, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 12368, + 12432 + ], + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 467, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 12445, + 12450 + ], + "loc": { + "start": { + "line": 468, + "column": 12 + }, + "end": { + "line": 468, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12453, + 12457 + ], + "loc": { + "start": { + "line": 468, + "column": 20 + }, + "end": { + "line": 468, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 12458, + 12463 + ], + "loc": { + "start": { + "line": 468, + "column": 25 + }, + "end": { + "line": 468, + "column": 30 + } + } + }, + "range": [ + 12453, + 12463 + ], + "loc": { + "start": { + "line": 468, + "column": 20 + }, + "end": { + "line": 468, + "column": 30 + } + } + }, + "range": [ + 12445, + 12463 + ], + "loc": { + "start": { + "line": 468, + "column": 12 + }, + "end": { + "line": 468, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 12441, + 12464 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 12477, + 12479 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12482, + 12486 + ], + "loc": { + "start": { + "line": 469, + "column": 17 + }, + "end": { + "line": 469, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 12487, + 12489 + ], + "loc": { + "start": { + "line": 469, + "column": 22 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "range": [ + 12482, + 12489 + ], + "loc": { + "start": { + "line": 469, + "column": 17 + }, + "end": { + "line": 469, + "column": 24 + } + } + }, + "range": [ + 12477, + 12489 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 12473, + 12490 + ], + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 12503, + 12513 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 22 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12516, + 12518 + ], + "loc": { + "start": { + "line": 470, + "column": 25 + }, + "end": { + "line": 470, + "column": 27 + } + } + }, + "range": [ + 12503, + 12518 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 12499, + 12519 + ], + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 12529, + 12535 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 12536, + 12540 + ], + "loc": { + "start": { + "line": 472, + "column": 15 + }, + "end": { + "line": 472, + "column": 19 + } + } + }, + "range": [ + 12529, + 12540 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 12541, + 12546 + ], + "loc": { + "start": { + "line": 472, + "column": 20 + }, + "end": { + "line": 472, + "column": 25 + } + } + } + ], + "range": [ + 12529, + 12547 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 12548, + 12555 + ], + "loc": { + "start": { + "line": 472, + "column": 27 + }, + "end": { + "line": 472, + "column": 34 + } + } + }, + "range": [ + 12529, + 12555 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 12557, + 12560 + ], + "loc": { + "start": { + "line": 472, + "column": 36 + }, + "end": { + "line": 472, + "column": 39 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 12583, + 12586 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 12587, + 12594 + ], + "loc": { + "start": { + "line": 473, + "column": 20 + }, + "end": { + "line": 473, + "column": 27 + } + } + }, + "range": [ + 12583, + 12594 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12595, + 12599 + ], + "loc": { + "start": { + "line": 473, + "column": 28 + }, + "end": { + "line": 473, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 12600, + 12607 + ], + "loc": { + "start": { + "line": 473, + "column": 33 + }, + "end": { + "line": 473, + "column": 40 + } + } + }, + "range": [ + 12595, + 12607 + ], + "loc": { + "start": { + "line": 473, + "column": 28 + }, + "end": { + "line": 473, + "column": 40 + } + } + } + ], + "range": [ + 12583, + 12608 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 41 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 12614, + 12615 + ], + "loc": { + "start": { + "line": 473, + "column": 47 + }, + "end": { + "line": 473, + "column": 48 + } + } + }, + "prefix": true, + "range": [ + 12613, + 12615 + ], + "loc": { + "start": { + "line": 473, + "column": 46 + }, + "end": { + "line": 473, + "column": 48 + } + } + }, + "range": [ + 12583, + 12615 + ], + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 12639, + 12645 + ], + "loc": { + "start": { + "line": 474, + "column": 20 + }, + "end": { + "line": 474, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 12648, + 12656 + ], + "loc": { + "start": { + "line": 474, + "column": 29 + }, + "end": { + "line": 474, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "key", + "range": [ + 12657, + 12660 + ], + "loc": { + "start": { + "line": 474, + "column": 38 + }, + "end": { + "line": 474, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 12661, + 12668 + ], + "loc": { + "start": { + "line": 474, + "column": 42 + }, + "end": { + "line": 474, + "column": 49 + } + } + }, + "range": [ + 12657, + 12668 + ], + "loc": { + "start": { + "line": 474, + "column": 38 + }, + "end": { + "line": 474, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12669, + 12673 + ], + "loc": { + "start": { + "line": 474, + "column": 50 + }, + "end": { + "line": 474, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxCol", + "range": [ + 12674, + 12681 + ], + "loc": { + "start": { + "line": 474, + "column": 55 + }, + "end": { + "line": 474, + "column": 62 + } + } + }, + "range": [ + 12669, + 12681 + ], + "loc": { + "start": { + "line": 474, + "column": 50 + }, + "end": { + "line": 474, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 12683, + 12685 + ], + "loc": { + "start": { + "line": 474, + "column": 64 + }, + "end": { + "line": 474, + "column": 66 + } + } + } + ], + "range": [ + 12657, + 12686 + ], + "loc": { + "start": { + "line": 474, + "column": 38 + }, + "end": { + "line": 474, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 12688, + 12690 + ], + "loc": { + "start": { + "line": 474, + "column": 69 + }, + "end": { + "line": 474, + "column": 71 + } + } + } + ], + "range": [ + 12648, + 12691 + ], + "loc": { + "start": { + "line": 474, + "column": 29 + }, + "end": { + "line": 474, + "column": 72 + } + } + }, + "range": [ + 12639, + 12691 + ], + "loc": { + "start": { + "line": 474, + "column": 20 + }, + "end": { + "line": 474, + "column": 72 + } + } + } + ], + "kind": "let", + "range": [ + 12635, + 12692 + ], + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 73 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 12714, + 12721 + ], + "loc": { + "start": { + "line": 475, + "column": 21 + }, + "end": { + "line": 475, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 12722, + 12727 + ], + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 12728, + 12731 + ], + "loc": { + "start": { + "line": 475, + "column": 35 + }, + "end": { + "line": 475, + "column": 38 + } + } + }, + "range": [ + 12722, + 12732 + ], + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "hidden", + "range": [ + 12733, + 12739 + ], + "loc": { + "start": { + "line": 475, + "column": 40 + }, + "end": { + "line": 475, + "column": 46 + } + } + }, + "range": [ + 12722, + 12739 + ], + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 46 + } + } + } + ], + "range": [ + 12714, + 12740 + ], + "loc": { + "start": { + "line": 475, + "column": 21 + }, + "end": { + "line": 475, + "column": 47 + } + } + }, + "prefix": true, + "range": [ + 12713, + 12740 + ], + "loc": { + "start": { + "line": 475, + "column": 20 + }, + "end": { + "line": 475, + "column": 47 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 12764, + 12774 + ], + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 12775, + 12779 + ], + "loc": { + "start": { + "line": 476, + "column": 31 + }, + "end": { + "line": 476, + "column": 35 + } + } + }, + "range": [ + 12764, + 12779 + ], + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 12780, + 12786 + ], + "loc": { + "start": { + "line": 476, + "column": 36 + }, + "end": { + "line": 476, + "column": 42 + } + } + } + ], + "range": [ + 12764, + 12787 + ], + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 43 + } + } + }, + "range": [ + 12764, + 12788 + ], + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 44 + } + } + } + ], + "range": [ + 12742, + 12806 + ], + "loc": { + "start": { + "line": 475, + "column": 49 + }, + "end": { + "line": 477, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 12709, + 12806 + ], + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 477, + "column": 17 + } + } + } + ], + "range": [ + 12617, + 12820 + ], + "loc": { + "start": { + "line": 473, + "column": 50 + }, + "end": { + "line": 478, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 12579, + 12820 + ], + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 478, + "column": 13 + } + } + } + ], + "range": [ + 12565, + 12830 + ], + "loc": { + "start": { + "line": 472, + "column": 44 + }, + "end": { + "line": 479, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12556, + 12830 + ], + "loc": { + "start": { + "line": 472, + "column": 35 + }, + "end": { + "line": 479, + "column": 9 + } + } + } + ], + "range": [ + 12529, + 12831 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 479, + "column": 10 + } + } + }, + "range": [ + 12529, + 12832 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 479, + "column": 11 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 12842, + 12852 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 12853, + 12860 + ], + "loc": { + "start": { + "line": 481, + "column": 19 + }, + "end": { + "line": 481, + "column": 26 + } + } + }, + "range": [ + 12842, + 12860 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 12862, + 12868 + ], + "loc": { + "start": { + "line": 481, + "column": 28 + }, + "end": { + "line": 481, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12887, + 12891 + ], + "loc": { + "start": { + "line": 482, + "column": 12 + }, + "end": { + "line": 482, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 12892, + 12899 + ], + "loc": { + "start": { + "line": 482, + "column": 17 + }, + "end": { + "line": 482, + "column": 24 + } + } + }, + "range": [ + 12887, + 12899 + ], + "loc": { + "start": { + "line": 482, + "column": 12 + }, + "end": { + "line": 482, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 12900, + 12904 + ], + "loc": { + "start": { + "line": 482, + "column": 25 + }, + "end": { + "line": 482, + "column": 29 + } + } + }, + "range": [ + 12887, + 12904 + ], + "loc": { + "start": { + "line": 482, + "column": 12 + }, + "end": { + "line": 482, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "hide-column", + "raw": "'hide-column'", + "range": [ + 12905, + 12918 + ], + "loc": { + "start": { + "line": 482, + "column": 30 + }, + "end": { + "line": 482, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 12920, + 12922 + ], + "loc": { + "start": { + "line": 482, + "column": 45 + }, + "end": { + "line": 482, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 12924, + 12930 + ], + "loc": { + "start": { + "line": 482, + "column": 49 + }, + "end": { + "line": 482, + "column": 55 + } + } + } + ], + "range": [ + 12887, + 12931 + ], + "loc": { + "start": { + "line": 482, + "column": 12 + }, + "end": { + "line": 482, + "column": 56 + } + } + }, + "range": [ + 12887, + 12932 + ], + "loc": { + "start": { + "line": 482, + "column": 12 + }, + "end": { + "line": 482, + "column": 57 + } + } + } + ], + "range": [ + 12873, + 12942 + ], + "loc": { + "start": { + "line": 481, + "column": 39 + }, + "end": { + "line": 483, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12861, + 12942 + ], + "loc": { + "start": { + "line": 481, + "column": 27 + }, + "end": { + "line": 483, + "column": 9 + } + } + } + ], + "range": [ + 12842, + 12943 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 483, + "column": 10 + } + } + }, + "range": [ + 12842, + 12944 + ], + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 483, + "column": 11 + } + } + } + ], + "range": [ + 12358, + 12950 + ], + "loc": { + "start": { + "line": 464, + "column": 26 + }, + "end": { + "line": 484, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 12355, + 12950 + ], + "loc": { + "start": { + "line": 464, + "column": 23 + }, + "end": { + "line": 484, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 12336, + 12950 + ], + "loc": { + "start": { + "line": 464, + "column": 4 + }, + "end": { + "line": 484, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sync hidden columns with stored information\n *\n * @private\n ", + "range": [ + 12246, + 12331 + ], + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 463, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Sync filters visibility with stored information\n *\n * @private\n ", + "range": [ + 12956, + 13045 + ], + "loc": { + "start": { + "line": 486, + "column": 4 + }, + "end": { + "line": 490, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_syncFiltersVisibility", + "range": [ + 13050, + 13072 + ], + "loc": { + "start": { + "line": 491, + "column": 4 + }, + "end": { + "line": 491, + "column": 26 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13090, + 13094 + ], + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "persistFiltersVisibility", + "range": [ + 13095, + 13119 + ], + "loc": { + "start": { + "line": 492, + "column": 18 + }, + "end": { + "line": 492, + "column": 42 + } + } + }, + "range": [ + 13090, + 13119 + ], + "loc": { + "start": { + "line": 492, + "column": 13 + }, + "end": { + "line": 492, + "column": 42 + } + } + }, + "prefix": true, + "range": [ + 13089, + 13119 + ], + "loc": { + "start": { + "line": 492, + "column": 12 + }, + "end": { + "line": 492, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 13135, + 13142 + ], + "loc": { + "start": { + "line": 493, + "column": 12 + }, + "end": { + "line": 493, + "column": 19 + } + } + } + ], + "range": [ + 13121, + 13152 + ], + "loc": { + "start": { + "line": 492, + "column": 44 + }, + "end": { + "line": 494, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13085, + 13152 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 494, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 13165, + 13170 + ], + "loc": { + "start": { + "line": 495, + "column": 12 + }, + "end": { + "line": 495, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13173, + 13177 + ], + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 13178, + 13183 + ], + "loc": { + "start": { + "line": 495, + "column": 25 + }, + "end": { + "line": 495, + "column": 30 + } + } + }, + "range": [ + 13173, + 13183 + ], + "loc": { + "start": { + "line": 495, + "column": 20 + }, + "end": { + "line": 495, + "column": 30 + } + } + }, + "range": [ + 13165, + 13183 + ], + "loc": { + "start": { + "line": 495, + "column": 12 + }, + "end": { + "line": 495, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 13161, + 13184 + ], + "loc": { + "start": { + "line": 495, + "column": 8 + }, + "end": { + "line": 495, + "column": 31 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 13197, + 13199 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13202, + 13206 + ], + "loc": { + "start": { + "line": 496, + "column": 17 + }, + "end": { + "line": 496, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 13207, + 13209 + ], + "loc": { + "start": { + "line": 496, + "column": 22 + }, + "end": { + "line": 496, + "column": 24 + } + } + }, + "range": [ + 13202, + 13209 + ], + "loc": { + "start": { + "line": 496, + "column": 17 + }, + "end": { + "line": 496, + "column": 24 + } + } + }, + "range": [ + 13197, + 13209 + ], + "loc": { + "start": { + "line": 496, + "column": 12 + }, + "end": { + "line": 496, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 13193, + 13210 + ], + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 496, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 13223, + 13240 + ], + "loc": { + "start": { + "line": 497, + "column": 12 + }, + "end": { + "line": 497, + "column": 29 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 13243, + 13248 + ], + "loc": { + "start": { + "line": 497, + "column": 32 + }, + "end": { + "line": 497, + "column": 37 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13249, + 13253 + ], + "loc": { + "start": { + "line": 497, + "column": 38 + }, + "end": { + "line": 497, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisKey", + "range": [ + 13254, + 13267 + ], + "loc": { + "start": { + "line": 497, + "column": 43 + }, + "end": { + "line": 497, + "column": 56 + } + } + }, + "range": [ + 13249, + 13267 + ], + "loc": { + "start": { + "line": 497, + "column": 38 + }, + "end": { + "line": 497, + "column": 56 + } + } + }, + "range": [ + 13243, + 13268 + ], + "loc": { + "start": { + "line": 497, + "column": 32 + }, + "end": { + "line": 497, + "column": 57 + } + } + }, + "range": [ + 13223, + 13268 + ], + "loc": { + "start": { + "line": 497, + "column": 12 + }, + "end": { + "line": 497, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 13219, + 13269 + ], + "loc": { + "start": { + "line": 497, + "column": 8 + }, + "end": { + "line": 497, + "column": 58 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13279, + 13283 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 13284, + 13301 + ], + "loc": { + "start": { + "line": 499, + "column": 13 + }, + "end": { + "line": 499, + "column": 30 + } + } + }, + "range": [ + 13279, + 13301 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 13304, + 13321 + ], + "loc": { + "start": { + "line": 499, + "column": 33 + }, + "end": { + "line": 499, + "column": 50 + } + } + }, + "range": [ + 13279, + 13321 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 50 + } + } + }, + "range": [ + 13279, + 13322 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13331, + 13335 + ], + "loc": { + "start": { + "line": 500, + "column": 8 + }, + "end": { + "line": 500, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13336, + 13343 + ], + "loc": { + "start": { + "line": 500, + "column": 13 + }, + "end": { + "line": 500, + "column": 20 + } + } + }, + "range": [ + 13331, + 13343 + ], + "loc": { + "start": { + "line": 500, + "column": 8 + }, + "end": { + "line": 500, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 13344, + 13348 + ], + "loc": { + "start": { + "line": 500, + "column": 21 + }, + "end": { + "line": 500, + "column": 25 + } + } + }, + "range": [ + 13331, + 13348 + ], + "loc": { + "start": { + "line": 500, + "column": 8 + }, + "end": { + "line": 500, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "show-filters", + "raw": "'show-filters'", + "range": [ + 13349, + 13363 + ], + "loc": { + "start": { + "line": 500, + "column": 26 + }, + "end": { + "line": 500, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "tf", + "range": [ + 13365, + 13367 + ], + "loc": { + "start": { + "line": 500, + "column": 42 + }, + "end": { + "line": 500, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "filtersVisibility", + "range": [ + 13369, + 13386 + ], + "loc": { + "start": { + "line": 500, + "column": 46 + }, + "end": { + "line": 500, + "column": 63 + } + } + } + ], + "range": [ + 13331, + 13387 + ], + "loc": { + "start": { + "line": 500, + "column": 8 + }, + "end": { + "line": 500, + "column": 64 + } + } + }, + "range": [ + 13331, + 13388 + ], + "loc": { + "start": { + "line": 500, + "column": 8 + }, + "end": { + "line": 500, + "column": 65 + } + } + } + ], + "range": [ + 13075, + 13394 + ], + "loc": { + "start": { + "line": 491, + "column": 29 + }, + "end": { + "line": 501, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13072, + 13394 + ], + "loc": { + "start": { + "line": 491, + "column": 26 + }, + "end": { + "line": 501, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13050, + 13394 + ], + "loc": { + "start": { + "line": 491, + "column": 4 + }, + "end": { + "line": 501, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Sync filters visibility with stored information\n *\n * @private\n ", + "range": [ + 12956, + 13045 + ], + "loc": { + "start": { + "line": 486, + "column": 4 + }, + "end": { + "line": 490, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy State instance\n ", + "range": [ + 13400, + 13441 + ], + "loc": { + "start": { + "line": 503, + "column": 4 + }, + "end": { + "line": 505, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 13446, + 13453 + ], + "loc": { + "start": { + "line": 506, + "column": 4 + }, + "end": { + "line": 506, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13471, + 13475 + ], + "loc": { + "start": { + "line": 507, + "column": 13 + }, + "end": { + "line": 507, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 13476, + 13487 + ], + "loc": { + "start": { + "line": 507, + "column": 18 + }, + "end": { + "line": 507, + "column": 29 + } + } + }, + "range": [ + 13471, + 13487 + ], + "loc": { + "start": { + "line": 507, + "column": 13 + }, + "end": { + "line": 507, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 13470, + 13487 + ], + "loc": { + "start": { + "line": 507, + "column": 12 + }, + "end": { + "line": 507, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 13503, + 13510 + ], + "loc": { + "start": { + "line": 508, + "column": 12 + }, + "end": { + "line": 508, + "column": 19 + } + } + } + ], + "range": [ + 13489, + 13520 + ], + "loc": { + "start": { + "line": 507, + "column": 31 + }, + "end": { + "line": 509, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 13466, + 13520 + ], + "loc": { + "start": { + "line": 507, + "column": 8 + }, + "end": { + "line": 509, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13530, + 13534 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 13535, + 13540 + ], + "loc": { + "start": { + "line": 511, + "column": 13 + }, + "end": { + "line": 511, + "column": 18 + } + } + }, + "range": [ + 13530, + 13540 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 18 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 13543, + 13545 + ], + "loc": { + "start": { + "line": 511, + "column": 21 + }, + "end": { + "line": 511, + "column": 23 + } + } + }, + "range": [ + 13530, + 13545 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 23 + } + } + }, + "range": [ + 13530, + 13546 + ], + "loc": { + "start": { + "line": 511, + "column": 8 + }, + "end": { + "line": 511, + "column": 24 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13556, + 13560 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13561, + 13568 + ], + "loc": { + "start": { + "line": 513, + "column": 13 + }, + "end": { + "line": 513, + "column": 20 + } + } + }, + "range": [ + 13556, + 13568 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 13569, + 13572 + ], + "loc": { + "start": { + "line": 513, + "column": 21 + }, + "end": { + "line": 513, + "column": 24 + } + } + }, + "range": [ + 13556, + 13572 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 13574, + 13591 + ], + "loc": { + "start": { + "line": 513, + "column": 26 + }, + "end": { + "line": 513, + "column": 43 + } + } + } + ], + "range": [ + 13573, + 13592 + ], + "loc": { + "start": { + "line": 513, + "column": 25 + }, + "end": { + "line": 513, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13600, + 13604 + ], + "loc": { + "start": { + "line": 513, + "column": 52 + }, + "end": { + "line": 513, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "update", + "range": [ + 13605, + 13611 + ], + "loc": { + "start": { + "line": 513, + "column": 57 + }, + "end": { + "line": 513, + "column": 63 + } + } + }, + "range": [ + 13600, + 13611 + ], + "loc": { + "start": { + "line": 513, + "column": 52 + }, + "end": { + "line": 513, + "column": 63 + } + } + }, + "arguments": [], + "range": [ + 13600, + 13613 + ], + "loc": { + "start": { + "line": 513, + "column": 52 + }, + "end": { + "line": 513, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 13594, + 13613 + ], + "loc": { + "start": { + "line": 513, + "column": 46 + }, + "end": { + "line": 513, + "column": 65 + } + } + } + ], + "range": [ + 13556, + 13614 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 66 + } + } + }, + "range": [ + 13556, + 13615 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 67 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13624, + 13628 + ], + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13629, + 13636 + ], + "loc": { + "start": { + "line": 514, + "column": 13 + }, + "end": { + "line": 514, + "column": 20 + } + } + }, + "range": [ + 13624, + 13636 + ], + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 13637, + 13640 + ], + "loc": { + "start": { + "line": 514, + "column": 21 + }, + "end": { + "line": 514, + "column": 24 + } + } + }, + "range": [ + 13624, + 13640 + ], + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-page-change", + "raw": "'after-page-change'", + "range": [ + 13642, + 13661 + ], + "loc": { + "start": { + "line": 514, + "column": 26 + }, + "end": { + "line": 514, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "after-clearing-filters", + "raw": "'after-clearing-filters'", + "range": [ + 13663, + 13687 + ], + "loc": { + "start": { + "line": 514, + "column": 47 + }, + "end": { + "line": 514, + "column": 71 + } + } + } + ], + "range": [ + 13641, + 13688 + ], + "loc": { + "start": { + "line": 514, + "column": 25 + }, + "end": { + "line": 514, + "column": 72 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 13703, + 13705 + ], + "loc": { + "start": { + "line": 515, + "column": 13 + }, + "end": { + "line": 515, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "pageNb", + "range": [ + 13707, + 13713 + ], + "loc": { + "start": { + "line": 515, + "column": 17 + }, + "end": { + "line": 515, + "column": 23 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13718, + 13722 + ], + "loc": { + "start": { + "line": 515, + "column": 28 + }, + "end": { + "line": 515, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "updatePage", + "range": [ + 13723, + 13733 + ], + "loc": { + "start": { + "line": 515, + "column": 33 + }, + "end": { + "line": 515, + "column": 43 + } + } + }, + "range": [ + 13718, + 13733 + ], + "loc": { + "start": { + "line": 515, + "column": 28 + }, + "end": { + "line": 515, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "pageNb", + "range": [ + 13734, + 13740 + ], + "loc": { + "start": { + "line": 515, + "column": 44 + }, + "end": { + "line": 515, + "column": 50 + } + } + } + ], + "range": [ + 13718, + 13741 + ], + "loc": { + "start": { + "line": 515, + "column": 28 + }, + "end": { + "line": 515, + "column": 51 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 13702, + 13741 + ], + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 51 + } + } + } + ], + "range": [ + 13624, + 13742 + ], + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 515, + "column": 52 + } + } + }, + "range": [ + 13624, + 13743 + ], + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 515, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13752, + 13756 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13757, + 13764 + ], + "loc": { + "start": { + "line": 516, + "column": 13 + }, + "end": { + "line": 516, + "column": 20 + } + } + }, + "range": [ + 13752, + 13764 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 13765, + 13768 + ], + "loc": { + "start": { + "line": 516, + "column": 21 + }, + "end": { + "line": 516, + "column": 24 + } + } + }, + "range": [ + 13752, + 13768 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-page-length-change", + "raw": "'after-page-length-change'", + "range": [ + 13770, + 13796 + ], + "loc": { + "start": { + "line": 516, + "column": 26 + }, + "end": { + "line": 516, + "column": 52 + } + } + } + ], + "range": [ + 13769, + 13797 + ], + "loc": { + "start": { + "line": 516, + "column": 25 + }, + "end": { + "line": 516, + "column": 53 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 13812, + 13814 + ], + "loc": { + "start": { + "line": 517, + "column": 13 + }, + "end": { + "line": 517, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 13816, + 13821 + ], + "loc": { + "start": { + "line": 517, + "column": 17 + }, + "end": { + "line": 517, + "column": 22 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13826, + 13830 + ], + "loc": { + "start": { + "line": 517, + "column": 27 + }, + "end": { + "line": 517, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "updatePageLength", + "range": [ + 13831, + 13847 + ], + "loc": { + "start": { + "line": 517, + "column": 32 + }, + "end": { + "line": 517, + "column": 48 + } + } + }, + "range": [ + 13826, + 13847 + ], + "loc": { + "start": { + "line": 517, + "column": 27 + }, + "end": { + "line": 517, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 13848, + 13853 + ], + "loc": { + "start": { + "line": 517, + "column": 49 + }, + "end": { + "line": 517, + "column": 54 + } + } + } + ], + "range": [ + 13826, + 13854 + ], + "loc": { + "start": { + "line": 517, + "column": 27 + }, + "end": { + "line": 517, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 13811, + 13854 + ], + "loc": { + "start": { + "line": 517, + "column": 12 + }, + "end": { + "line": 517, + "column": 55 + } + } + } + ], + "range": [ + 13752, + 13855 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 517, + "column": 56 + } + } + }, + "range": [ + 13752, + 13856 + ], + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 517, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13865, + 13869 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 518, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13870, + 13877 + ], + "loc": { + "start": { + "line": 518, + "column": 13 + }, + "end": { + "line": 518, + "column": 20 + } + } + }, + "range": [ + 13865, + 13877 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 518, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 13878, + 13881 + ], + "loc": { + "start": { + "line": 518, + "column": 21 + }, + "end": { + "line": 518, + "column": 24 + } + } + }, + "range": [ + 13865, + 13881 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 518, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-sorted", + "raw": "'column-sorted'", + "range": [ + 13883, + 13898 + ], + "loc": { + "start": { + "line": 518, + "column": 26 + }, + "end": { + "line": 518, + "column": 41 + } + } + } + ], + "range": [ + 13882, + 13899 + ], + "loc": { + "start": { + "line": 518, + "column": 25 + }, + "end": { + "line": 518, + "column": 42 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 13914, + 13916 + ], + "loc": { + "start": { + "line": 519, + "column": 13 + }, + "end": { + "line": 519, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 13918, + 13923 + ], + "loc": { + "start": { + "line": 519, + "column": 17 + }, + "end": { + "line": 519, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "descending", + "range": [ + 13925, + 13935 + ], + "loc": { + "start": { + "line": 519, + "column": 24 + }, + "end": { + "line": 519, + "column": 34 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13940, + 13944 + ], + "loc": { + "start": { + "line": 519, + "column": 39 + }, + "end": { + "line": 519, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateSort", + "range": [ + 13945, + 13955 + ], + "loc": { + "start": { + "line": 519, + "column": 44 + }, + "end": { + "line": 519, + "column": 54 + } + } + }, + "range": [ + 13940, + 13955 + ], + "loc": { + "start": { + "line": 519, + "column": 39 + }, + "end": { + "line": 519, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 13956, + 13961 + ], + "loc": { + "start": { + "line": 519, + "column": 55 + }, + "end": { + "line": 519, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "descending", + "range": [ + 13963, + 13973 + ], + "loc": { + "start": { + "line": 519, + "column": 62 + }, + "end": { + "line": 519, + "column": 72 + } + } + } + ], + "range": [ + 13940, + 13974 + ], + "loc": { + "start": { + "line": 519, + "column": 39 + }, + "end": { + "line": 519, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 13913, + 13974 + ], + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 73 + } + } + } + ], + "range": [ + 13865, + 13975 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 519, + "column": 74 + } + } + }, + "range": [ + 13865, + 13976 + ], + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 519, + "column": 75 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13985, + 13989 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 13990, + 13997 + ], + "loc": { + "start": { + "line": 520, + "column": 13 + }, + "end": { + "line": 520, + "column": 20 + } + } + }, + "range": [ + 13985, + 13997 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 13998, + 14001 + ], + "loc": { + "start": { + "line": 520, + "column": 21 + }, + "end": { + "line": 520, + "column": 24 + } + } + }, + "range": [ + 13985, + 14001 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "sort-initialized", + "raw": "'sort-initialized'", + "range": [ + 14003, + 14021 + ], + "loc": { + "start": { + "line": 520, + "column": 26 + }, + "end": { + "line": 520, + "column": 44 + } + } + } + ], + "range": [ + 14002, + 14022 + ], + "loc": { + "start": { + "line": 520, + "column": 25 + }, + "end": { + "line": 520, + "column": 45 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14030, + 14034 + ], + "loc": { + "start": { + "line": 520, + "column": 53 + }, + "end": { + "line": 520, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncSort", + "range": [ + 14035, + 14044 + ], + "loc": { + "start": { + "line": 520, + "column": 58 + }, + "end": { + "line": 520, + "column": 67 + } + } + }, + "range": [ + 14030, + 14044 + ], + "loc": { + "start": { + "line": 520, + "column": 53 + }, + "end": { + "line": 520, + "column": 67 + } + } + }, + "arguments": [], + "range": [ + 14030, + 14046 + ], + "loc": { + "start": { + "line": 520, + "column": 53 + }, + "end": { + "line": 520, + "column": 69 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14024, + 14046 + ], + "loc": { + "start": { + "line": 520, + "column": 47 + }, + "end": { + "line": 520, + "column": 69 + } + } + } + ], + "range": [ + 13985, + 14047 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 70 + } + } + }, + "range": [ + 13985, + 14048 + ], + "loc": { + "start": { + "line": 520, + "column": 8 + }, + "end": { + "line": 520, + "column": 71 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14057, + 14061 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14062, + 14069 + ], + "loc": { + "start": { + "line": 521, + "column": 13 + }, + "end": { + "line": 521, + "column": 20 + } + } + }, + "range": [ + 14057, + 14069 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 14070, + 14073 + ], + "loc": { + "start": { + "line": 521, + "column": 21 + }, + "end": { + "line": 521, + "column": 24 + } + } + }, + "range": [ + 14057, + 14073 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 521, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "columns-visibility-initialized", + "raw": "'columns-visibility-initialized'", + "range": [ + 14075, + 14107 + ], + "loc": { + "start": { + "line": 521, + "column": 26 + }, + "end": { + "line": 521, + "column": 58 + } + } + } + ], + "range": [ + 14074, + 14108 + ], + "loc": { + "start": { + "line": 521, + "column": 25 + }, + "end": { + "line": 521, + "column": 59 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14128, + 14132 + ], + "loc": { + "start": { + "line": 522, + "column": 18 + }, + "end": { + "line": 522, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncColsVisibility", + "range": [ + 14133, + 14152 + ], + "loc": { + "start": { + "line": 522, + "column": 23 + }, + "end": { + "line": 522, + "column": 42 + } + } + }, + "range": [ + 14128, + 14152 + ], + "loc": { + "start": { + "line": 522, + "column": 18 + }, + "end": { + "line": 522, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 14128, + 14154 + ], + "loc": { + "start": { + "line": 522, + "column": 18 + }, + "end": { + "line": 522, + "column": 44 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14122, + 14154 + ], + "loc": { + "start": { + "line": 522, + "column": 12 + }, + "end": { + "line": 522, + "column": 44 + } + } + } + ], + "range": [ + 14057, + 14155 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 522, + "column": 45 + } + } + }, + "range": [ + 14057, + 14156 + ], + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 522, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14165, + 14169 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14170, + 14177 + ], + "loc": { + "start": { + "line": 523, + "column": 13 + }, + "end": { + "line": 523, + "column": 20 + } + } + }, + "range": [ + 14165, + 14177 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 14178, + 14181 + ], + "loc": { + "start": { + "line": 523, + "column": 21 + }, + "end": { + "line": 523, + "column": 24 + } + } + }, + "range": [ + 14165, + 14181 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "column-shown", + "raw": "'column-shown'", + "range": [ + 14183, + 14197 + ], + "loc": { + "start": { + "line": 523, + "column": 26 + }, + "end": { + "line": 523, + "column": 40 + } + } + }, + { + "type": "Literal", + "value": "column-hidden", + "raw": "'column-hidden'", + "range": [ + 14199, + 14214 + ], + "loc": { + "start": { + "line": 523, + "column": 42 + }, + "end": { + "line": 523, + "column": 57 + } + } + } + ], + "range": [ + 14182, + 14215 + ], + "loc": { + "start": { + "line": 523, + "column": 25 + }, + "end": { + "line": 523, + "column": 58 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 14218, + 14220 + ], + "loc": { + "start": { + "line": 523, + "column": 61 + }, + "end": { + "line": 523, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "feature", + "range": [ + 14222, + 14229 + ], + "loc": { + "start": { + "line": 523, + "column": 65 + }, + "end": { + "line": 523, + "column": 72 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 14243, + 14251 + ], + "loc": { + "start": { + "line": 524, + "column": 12 + }, + "end": { + "line": 524, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 14253, + 14263 + ], + "loc": { + "start": { + "line": 524, + "column": 22 + }, + "end": { + "line": 524, + "column": 32 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14268, + 14272 + ], + "loc": { + "start": { + "line": 524, + "column": 37 + }, + "end": { + "line": 524, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateColsVisibility", + "range": [ + 14273, + 14293 + ], + "loc": { + "start": { + "line": 524, + "column": 42 + }, + "end": { + "line": 524, + "column": 62 + } + } + }, + "range": [ + 14268, + 14293 + ], + "loc": { + "start": { + "line": 524, + "column": 37 + }, + "end": { + "line": 524, + "column": 62 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "hiddenCols", + "range": [ + 14294, + 14304 + ], + "loc": { + "start": { + "line": 524, + "column": 63 + }, + "end": { + "line": 524, + "column": 73 + } + } + } + ], + "range": [ + 14268, + 14305 + ], + "loc": { + "start": { + "line": 524, + "column": 37 + }, + "end": { + "line": 524, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14217, + 14305 + ], + "loc": { + "start": { + "line": 523, + "column": 60 + }, + "end": { + "line": 524, + "column": 74 + } + } + } + ], + "range": [ + 14165, + 14306 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 524, + "column": 75 + } + } + }, + "range": [ + 14165, + 14307 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 524, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14316, + 14320 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14321, + 14328 + ], + "loc": { + "start": { + "line": 525, + "column": 13 + }, + "end": { + "line": 525, + "column": 20 + } + } + }, + "range": [ + 14316, + 14328 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 14329, + 14332 + ], + "loc": { + "start": { + "line": 525, + "column": 21 + }, + "end": { + "line": 525, + "column": 24 + } + } + }, + "range": [ + 14316, + 14332 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 525, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-visibility-initialized", + "raw": "'filters-visibility-initialized'", + "range": [ + 14334, + 14366 + ], + "loc": { + "start": { + "line": 525, + "column": 26 + }, + "end": { + "line": 525, + "column": 58 + } + } + } + ], + "range": [ + 14333, + 14367 + ], + "loc": { + "start": { + "line": 525, + "column": 25 + }, + "end": { + "line": 525, + "column": 59 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14387, + 14391 + ], + "loc": { + "start": { + "line": 526, + "column": 18 + }, + "end": { + "line": 526, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "_syncFiltersVisibility", + "range": [ + 14392, + 14414 + ], + "loc": { + "start": { + "line": 526, + "column": 23 + }, + "end": { + "line": 526, + "column": 45 + } + } + }, + "range": [ + 14387, + 14414 + ], + "loc": { + "start": { + "line": 526, + "column": 18 + }, + "end": { + "line": 526, + "column": 45 + } + } + }, + "arguments": [], + "range": [ + 14387, + 14416 + ], + "loc": { + "start": { + "line": 526, + "column": 18 + }, + "end": { + "line": 526, + "column": 47 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14381, + 14416 + ], + "loc": { + "start": { + "line": 526, + "column": 12 + }, + "end": { + "line": 526, + "column": 47 + } + } + } + ], + "range": [ + 14316, + 14417 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 526, + "column": 48 + } + } + }, + "range": [ + 14316, + 14418 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 526, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14427, + 14431 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 14432, + 14439 + ], + "loc": { + "start": { + "line": 527, + "column": 13 + }, + "end": { + "line": 527, + "column": 20 + } + } + }, + "range": [ + 14427, + 14439 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 14440, + 14443 + ], + "loc": { + "start": { + "line": 527, + "column": 21 + }, + "end": { + "line": 527, + "column": 24 + } + } + }, + "range": [ + 14427, + 14443 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 527, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filters-toggled", + "raw": "'filters-toggled'", + "range": [ + 14445, + 14462 + ], + "loc": { + "start": { + "line": 527, + "column": 26 + }, + "end": { + "line": 527, + "column": 43 + } + } + } + ], + "range": [ + 14444, + 14463 + ], + "loc": { + "start": { + "line": 527, + "column": 25 + }, + "end": { + "line": 527, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 14478, + 14480 + ], + "loc": { + "start": { + "line": 528, + "column": 13 + }, + "end": { + "line": 528, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "extension", + "range": [ + 14482, + 14491 + ], + "loc": { + "start": { + "line": 528, + "column": 17 + }, + "end": { + "line": 528, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "visible", + "range": [ + 14493, + 14500 + ], + "loc": { + "start": { + "line": 528, + "column": 28 + }, + "end": { + "line": 528, + "column": 35 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14505, + 14509 + ], + "loc": { + "start": { + "line": 528, + "column": 40 + }, + "end": { + "line": 528, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "updateFiltersVisibility", + "range": [ + 14510, + 14533 + ], + "loc": { + "start": { + "line": 528, + "column": 45 + }, + "end": { + "line": 528, + "column": 68 + } + } + }, + "range": [ + 14505, + 14533 + ], + "loc": { + "start": { + "line": 528, + "column": 40 + }, + "end": { + "line": 528, + "column": 68 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "visible", + "range": [ + 14534, + 14541 + ], + "loc": { + "start": { + "line": 528, + "column": 69 + }, + "end": { + "line": 528, + "column": 76 + } + } + } + ], + "range": [ + 14505, + 14542 + ], + "loc": { + "start": { + "line": 528, + "column": 40 + }, + "end": { + "line": 528, + "column": 77 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 14477, + 14542 + ], + "loc": { + "start": { + "line": 528, + "column": 12 + }, + "end": { + "line": 528, + "column": 77 + } + } + } + ], + "range": [ + 14427, + 14543 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 528, + "column": 78 + } + } + }, + "range": [ + 14427, + 14544 + ], + "loc": { + "start": { + "line": 527, + "column": 8 + }, + "end": { + "line": 528, + "column": 79 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14558, + 14562 + ], + "loc": { + "start": { + "line": 530, + "column": 12 + }, + "end": { + "line": 530, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableHash", + "range": [ + 14563, + 14573 + ], + "loc": { + "start": { + "line": 530, + "column": 17 + }, + "end": { + "line": 530, + "column": 27 + } + } + }, + "range": [ + 14558, + 14573 + ], + "loc": { + "start": { + "line": 530, + "column": 12 + }, + "end": { + "line": 530, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14589, + 14593 + ], + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 14594, + 14598 + ], + "loc": { + "start": { + "line": 531, + "column": 17 + }, + "end": { + "line": 531, + "column": 21 + } + } + }, + "range": [ + 14589, + 14598 + ], + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 14599, + 14606 + ], + "loc": { + "start": { + "line": 531, + "column": 22 + }, + "end": { + "line": 531, + "column": 29 + } + } + }, + "range": [ + 14589, + 14606 + ], + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 14589, + 14608 + ], + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 31 + } + } + }, + "range": [ + 14589, + 14609 + ], + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 531, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14622, + 14626 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hash", + "range": [ + 14627, + 14631 + ], + "loc": { + "start": { + "line": 532, + "column": 17 + }, + "end": { + "line": 532, + "column": 21 + } + } + }, + "range": [ + 14622, + 14631 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 14634, + 14638 + ], + "loc": { + "start": { + "line": 532, + "column": 24 + }, + "end": { + "line": 532, + "column": 28 + } + } + }, + "range": [ + 14622, + 14638 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 28 + } + } + }, + "range": [ + 14622, + 14639 + ], + "loc": { + "start": { + "line": 532, + "column": 12 + }, + "end": { + "line": 532, + "column": 29 + } + } + } + ], + "range": [ + 14575, + 14649 + ], + "loc": { + "start": { + "line": 530, + "column": 29 + }, + "end": { + "line": 533, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14554, + 14649 + ], + "loc": { + "start": { + "line": 530, + "column": 8 + }, + "end": { + "line": 533, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14663, + 14667 + ], + "loc": { + "start": { + "line": 535, + "column": 12 + }, + "end": { + "line": 535, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableStorage", + "range": [ + 14668, + 14681 + ], + "loc": { + "start": { + "line": 535, + "column": 17 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + "range": [ + 14663, + 14681 + ], + "loc": { + "start": { + "line": 535, + "column": 12 + }, + "end": { + "line": 535, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14697, + 14701 + ], + "loc": { + "start": { + "line": 536, + "column": 12 + }, + "end": { + "line": 536, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "storage", + "range": [ + 14702, + 14709 + ], + "loc": { + "start": { + "line": 536, + "column": 17 + }, + "end": { + "line": 536, + "column": 24 + } + } + }, + "range": [ + 14697, + 14709 + ], + "loc": { + "start": { + "line": 536, + "column": 12 + }, + "end": { + "line": 536, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 14710, + 14717 + ], + "loc": { + "start": { + "line": 536, + "column": 25 + }, + "end": { + "line": 536, + "column": 32 + } + } + }, + "range": [ + 14697, + 14717 + ], + "loc": { + "start": { + "line": 536, + "column": 12 + }, + "end": { + "line": 536, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 14697, + 14719 + ], + "loc": { + "start": { + "line": 536, + "column": 12 + }, + "end": { + "line": 536, + "column": 34 + } + } + }, + "range": [ + 14697, + 14720 + ], + "loc": { + "start": { + "line": 536, + "column": 12 + }, + "end": { + "line": 536, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14733, + 14737 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "storage", + "range": [ + 14738, + 14745 + ], + "loc": { + "start": { + "line": 537, + "column": 17 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "range": [ + 14733, + 14745 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 14748, + 14752 + ], + "loc": { + "start": { + "line": 537, + "column": 27 + }, + "end": { + "line": 537, + "column": 31 + } + } + }, + "range": [ + 14733, + 14752 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 31 + } + } + }, + "range": [ + 14733, + 14753 + ], + "loc": { + "start": { + "line": 537, + "column": 12 + }, + "end": { + "line": 537, + "column": 32 + } + } + } + ], + "range": [ + 14683, + 14763 + ], + "loc": { + "start": { + "line": 535, + "column": 32 + }, + "end": { + "line": 538, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 14659, + 14763 + ], + "loc": { + "start": { + "line": 535, + "column": 8 + }, + "end": { + "line": 538, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14773, + 14777 + ], + "loc": { + "start": { + "line": 540, + "column": 8 + }, + "end": { + "line": 540, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 14778, + 14789 + ], + "loc": { + "start": { + "line": 540, + "column": 13 + }, + "end": { + "line": 540, + "column": 24 + } + } + }, + "range": [ + 14773, + 14789 + ], + "loc": { + "start": { + "line": 540, + "column": 8 + }, + "end": { + "line": 540, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 14792, + 14797 + ], + "loc": { + "start": { + "line": 540, + "column": 27 + }, + "end": { + "line": 540, + "column": 32 + } + } + }, + "range": [ + 14773, + 14797 + ], + "loc": { + "start": { + "line": 540, + "column": 8 + }, + "end": { + "line": 540, + "column": 32 + } + } + }, + "range": [ + 14773, + 14798 + ], + "loc": { + "start": { + "line": 540, + "column": 8 + }, + "end": { + "line": 540, + "column": 33 + } + } + } + ], + "range": [ + 13456, + 14804 + ], + "loc": { + "start": { + "line": 506, + "column": 14 + }, + "end": { + "line": 541, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 13453, + 14804 + ], + "loc": { + "start": { + "line": 506, + "column": 11 + }, + "end": { + "line": 541, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 13446, + 14804 + ], + "loc": { + "start": { + "line": 506, + "column": 4 + }, + "end": { + "line": 541, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy State instance\n ", + "range": [ + 13400, + 13441 + ], + "loc": { + "start": { + "line": 503, + "column": 4 + }, + "end": { + "line": 505, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 421, + 14806 + ], + "loc": { + "start": { + "line": 15, + "column": 35 + }, + "end": { + "line": 542, + "column": 1 + } + } + }, + "range": [ + 393, + 14806 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 542, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n ", + "range": [ + 251, + 385 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 386, + 14806 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 542, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n ", + "range": [ + 251, + 385 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 14806 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 542, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n ", + "range": [ + 251, + 385 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 428, + 527 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n ", + "range": [ + 631, + 736 + ], + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 29, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 858, + 967 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n ", + "range": [ + 1088, + 1197 + ], + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 43, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist filters values, enabled by default\n * @type {Boolean}\n ", + "range": [ + 1305, + 1401 + ], + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist current page number when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1474, + 1578 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist page length when paging is enabled\n * @type {Boolean}\n ", + "range": [ + 1647, + 1743 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist column sorting\n * @type {Boolean}\n ", + "range": [ + 1812, + 1888 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist columns visibility\n * @type {Boolean}\n ", + "range": [ + 1944, + 2024 + ], + "loc": { + "start": { + "line": 71, + "column": 8 + }, + "end": { + "line": 74, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist filters row visibility\n * @type {Boolean}\n ", + "range": [ + 2104, + 2188 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Cookie duration in hours\n * @type {Boolean}\n ", + "range": [ + 2271, + 2349 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2455, + 2581 + ], + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 94, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n ", + "range": [ + 2666, + 2779 + ], + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 101, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n ", + "range": [ + 2818, + 2929 + ], + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 108, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current page number\n * @type {Number}\n * @private\n ", + "range": [ + 2965, + 3057 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 115, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current page length\n * @type {Number}\n * @private\n ", + "range": [ + 3095, + 3187 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 122, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current column sorting\n * @type {Object}\n * @private\n ", + "range": [ + 3229, + 3324 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 129, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current hidden columns\n * @type {Object}\n * @private\n ", + "range": [ + 3360, + 3455 + ], + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Filters row visibility\n * @type {Boolean}\n * @private\n ", + "range": [ + 3497, + 3593 + ], + "loc": { + "start": { + "line": 139, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * State object\n * @type {Object}\n * @private\n ", + "range": [ + 3642, + 3727 + ], + "loc": { + "start": { + "line": 146, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for column ID\n * @type {String}\n * @private\n ", + "range": [ + 3762, + 3855 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 157, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for page number ID\n * @type {String}\n * @private\n ", + "range": [ + 3896, + 3994 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for page length ID\n * @type {String}\n * @private\n ", + "range": [ + 4037, + 4135 + ], + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 171, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n ", + "range": [ + 4189, + 4294 + ], + "loc": { + "start": { + "line": 174, + "column": 8 + }, + "end": { + "line": 178, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes State instance\n ", + "range": [ + 4357, + 4402 + ], + "loc": { + "start": { + "line": 182, + "column": 4 + }, + "end": { + "line": 184, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 5721, + 5758 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 218, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Update state object based on current features state\n ", + "range": [ + 5804, + 5874 + ], + "loc": { + "start": { + "line": 223, + "column": 4 + }, + "end": { + "line": 225, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Remove previuosly sorted column", + "range": [ + 7101, + 7135 + ], + "loc": { + "start": { + "line": 268, + "column": 16 + }, + "end": { + "line": 268, + "column": 50 + } + } + }, + { + "type": "Line", + "value": " Clear previuosly hidden columns", + "range": [ + 7670, + 7704 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n ", + "range": [ + 8515, + 8639 + ], + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 313, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n ", + "range": [ + 8729, + 8863 + ], + "loc": { + "start": { + "line": 319, + "column": 4 + }, + "end": { + "line": 323, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n ", + "range": [ + 8971, + 9142 + ], + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 334, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n ", + "range": [ + 9308, + 9447 + ], + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 347, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n ", + "range": [ + 9559, + 9688 + ], + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 357, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Override state field\n *\n * @param state State object\n ", + "range": [ + 9804, + 9883 + ], + "loc": { + "start": { + "line": 363, + "column": 4 + }, + "end": { + "line": 367, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sync stored features state\n ", + "range": [ + 9945, + 9990 + ], + "loc": { + "start": { + "line": 372, + "column": 4 + }, + "end": { + "line": 374, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n ", + "range": [ + 10543, + 10667 + ], + "loc": { + "start": { + "line": 396, + "column": 4 + }, + "end": { + "line": 400, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " To prevent state to react to features changes, state is temporarily", + "range": [ + 10705, + 10775 + ], + "loc": { + "start": { + "line": 402, + "column": 8 + }, + "end": { + "line": 402, + "column": 78 + } + } + }, + { + "type": "Line", + "value": " disabled", + "range": [ + 10784, + 10795 + ], + "loc": { + "start": { + "line": 403, + "column": 8 + }, + "end": { + "line": 403, + "column": 19 + } + } + }, + { + "type": "Line", + "value": " State is overriden with passed state object", + "range": [ + 10828, + 10874 + ], + "loc": { + "start": { + "line": 405, + "column": 8 + }, + "end": { + "line": 405, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " New hash state is applied to features", + "range": [ + 10913, + 10953 + ], + "loc": { + "start": { + "line": 407, + "column": 8 + }, + "end": { + "line": 407, + "column": 48 + } + } + }, + { + "type": "Line", + "value": " State is re-enabled", + "range": [ + 10983, + 11005 + ], + "loc": { + "start": { + "line": 409, + "column": 8 + }, + "end": { + "line": 409, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Sync filters with stored values and filter table\n *\n * @private\n ", + "range": [ + 11040, + 11130 + ], + "loc": { + "start": { + "line": 413, + "column": 4 + }, + "end": { + "line": 417, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n ", + "range": [ + 11598, + 11705 + ], + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 440, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sync hidden columns with stored information\n *\n * @private\n ", + "range": [ + 12246, + 12331 + ], + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 463, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Sync filters visibility with stored information\n *\n * @private\n ", + "range": [ + 12956, + 13045 + ], + "loc": { + "start": { + "line": 486, + "column": 4 + }, + "end": { + "line": 490, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy State instance\n ", + "range": [ + 13400, + 13441 + ], + "loc": { + "start": { + "line": 503, + "column": 4 + }, + "end": { + "line": 505, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/statusBar.js.json b/docs/ast/source/modules/statusBar.js.json new file mode 100644 index 00000000..106a6e02 --- /dev/null +++ b/docs/ast/source/modules/statusBar.js.json @@ -0,0 +1,17318 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Feature", + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + "range": [ + 8, + 15 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../feature", + "raw": "'../feature'", + "range": [ + 22, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 0, + 35 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 35 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 44, + 48 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 55, + 64 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 36, + 65 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 74, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 74, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + "range": [ + 74, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 8 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createText", + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createText", + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + "range": [ + 85, + 95 + ], + "loc": { + "start": { + "line": 3, + "column": 19 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 97, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 97, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "range": [ + 97, + 100 + ], + "loc": { + "start": { + "line": 3, + "column": 31 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 102, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 102, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 45 + } + } + }, + "range": [ + 102, + 111 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 45 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../dom", + "raw": "'../dom'", + "range": [ + 118, + 126 + ], + "loc": { + "start": { + "line": 3, + "column": 52 + }, + "end": { + "line": 3, + "column": 60 + } + } + }, + "range": [ + 66, + 127 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 61 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 136, + 144 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 136, + 144 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + }, + "range": [ + 136, + 144 + ], + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../types", + "raw": "'../types'", + "range": [ + 151, + 161 + ], + "loc": { + "start": { + "line": 4, + "column": 23 + }, + "end": { + "line": 4, + "column": 33 + } + } + }, + "range": [ + 128, + 162 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 171, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 171, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + "range": [ + 171, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 184, + 194 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 184, + 194 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "range": [ + 184, + 194 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../settings", + "raw": "'../settings'", + "range": [ + 201, + 214 + ], + "loc": { + "start": { + "line": 5, + "column": 38 + }, + "end": { + "line": 5, + "column": 51 + } + } + }, + "range": [ + 163, + 215 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 223, + 229 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 238, + 255 + ], + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 21 + } + } + }, + { + "type": "Literal", + "value": "after-populating-filter", + "raw": "'after-populating-filter'", + "range": [ + 261, + 286 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "after-page-change", + "raw": "'after-page-change'", + "range": [ + 292, + 311 + ], + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "after-clearing-filters", + "raw": "'after-clearing-filters'", + "range": [ + 317, + 341 + ], + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": "after-page-length-change", + "raw": "'after-page-length-change'", + "range": [ + 347, + 373 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "after-reset-page", + "raw": "'after-reset-page'", + "range": [ + 379, + 397 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "after-reset-page-length", + "raw": "'after-reset-page-length'", + "range": [ + 403, + 428 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "after-loading-extensions", + "raw": "'after-loading-extensions'", + "range": [ + 434, + 460 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "after-loading-themes", + "raw": "'after-loading-themes'", + "range": [ + 466, + 488 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 26 + } + } + } + ], + "range": [ + 232, + 490 + ], + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + "range": [ + 223, + 490 + ], + "loc": { + "start": { + "line": 7, + "column": 6 + }, + "end": { + "line": 17, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 217, + 491 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n ", + "range": [ + 493, + 580 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "StatusBar", + "range": [ + 594, + 603 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + "superClass": { + "type": "Identifier", + "name": "Feature", + "range": [ + 612, + 619 + ], + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 38 + } + } + }, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 735, + 746 + ], + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 747, + 749 + ], + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Super", + "range": [ + 761, + 766 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 767, + 769 + ], + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": "Literal", + "value": "statusBar", + "raw": "'statusBar'", + "range": [ + 771, + 782 + ], + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 29 + } + } + } + ], + "range": [ + 761, + 783 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + "range": [ + 761, + 784 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 794, + 817 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 830, + 831 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 834, + 838 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 839, + 845 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "range": [ + 834, + 845 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "status_bar", + "range": [ + 846, + 856 + ], + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 38 + } + } + }, + "range": [ + 834, + 856 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 38 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 860, + 862 + ], + "loc": { + "start": { + "line": 35, + "column": 42 + }, + "end": { + "line": 35, + "column": 44 + } + } + }, + "range": [ + 834, + 862 + ], + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 44 + } + } + }, + "range": [ + 830, + 862 + ], + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 826, + 863 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Configuration object", + "range": [ + 794, + 817 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 873, + 956 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 965, + 969 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 970, + 978 + ], + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + "range": [ + 965, + 978 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 981, + 992 + ], + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 993, + 994 + ], + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "target_id", + "range": [ + 995, + 1004 + ], + "loc": { + "start": { + "line": 41, + "column": 38 + }, + "end": { + "line": 41, + "column": 47 + } + } + }, + "range": [ + 993, + 1004 + ], + "loc": { + "start": { + "line": 41, + "column": 36 + }, + "end": { + "line": 41, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1006, + 1010 + ], + "loc": { + "start": { + "line": 41, + "column": 49 + }, + "end": { + "line": 41, + "column": 53 + } + } + } + ], + "range": [ + 981, + 1011 + ], + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 54 + } + } + }, + "range": [ + 965, + 1011 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 54 + } + } + }, + "range": [ + 965, + 1012 + ], + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 873, + 956 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1022, + 1120 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1129, + 1133 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 1134, + 1143 + ], + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + "range": [ + 1129, + 1143 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1146, + 1150 + ], + "loc": { + "start": { + "line": 48, + "column": 25 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + "range": [ + 1129, + 1150 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 29 + } + } + }, + "range": [ + 1129, + 1151 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1022, + 1120 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1161, + 1267 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1276, + 1280 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgContainer", + "range": [ + 1281, + 1293 + ], + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 25 + } + } + }, + "range": [ + 1276, + 1293 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1296, + 1300 + ], + "loc": { + "start": { + "line": 55, + "column": 28 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + "range": [ + 1276, + 1300 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 32 + } + } + }, + "range": [ + 1276, + 1301 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1161, + 1267 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Label container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1311, + 1415 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1424, + 1428 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "labelContainer", + "range": [ + 1429, + 1443 + ], + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + "range": [ + 1424, + 1443 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1446, + 1450 + ], + "loc": { + "start": { + "line": 62, + "column": 30 + }, + "end": { + "line": 62, + "column": 34 + } + } + }, + "range": [ + 1424, + 1450 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 34 + } + } + }, + "range": [ + 1424, + 1451 + ], + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Label container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1311, + 1415 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding status message\n * @type {String}\n ", + "range": [ + 1461, + 1543 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1552, + 1556 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1557, + 1561 + ], + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + "range": [ + 1552, + 1561 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1564, + 1575 + ], + "loc": { + "start": { + "line": 68, + "column": 20 + }, + "end": { + "line": 68, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1576, + 1577 + ], + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 1578, + 1582 + ], + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 38 + } + } + }, + "range": [ + 1576, + 1582 + ], + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 38 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 1584, + 1586 + ], + "loc": { + "start": { + "line": 68, + "column": 40 + }, + "end": { + "line": 68, + "column": 42 + } + } + } + ], + "range": [ + 1564, + 1587 + ], + "loc": { + "start": { + "line": 68, + "column": 20 + }, + "end": { + "line": 68, + "column": 43 + } + } + }, + "range": [ + 1552, + 1587 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 43 + } + } + }, + "range": [ + 1552, + 1588 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 68, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text preceding status message\n * @type {String}\n ", + "range": [ + 1461, + 1543 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1598, + 1682 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1691, + 1695 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 1696, + 1704 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + "range": [ + 1691, + 1704 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 1707, + 1718 + ], + "loc": { + "start": { + "line": 74, + "column": 24 + }, + "end": { + "line": 74, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 1719, + 1720 + ], + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "css_class", + "range": [ + 1721, + 1730 + ], + "loc": { + "start": { + "line": 74, + "column": 38 + }, + "end": { + "line": 74, + "column": 47 + } + } + }, + "range": [ + 1719, + 1730 + ], + "loc": { + "start": { + "line": 74, + "column": 36 + }, + "end": { + "line": 74, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "status", + "raw": "'status'", + "range": [ + 1732, + 1740 + ], + "loc": { + "start": { + "line": 74, + "column": 49 + }, + "end": { + "line": 74, + "column": 57 + } + } + } + ], + "range": [ + 1707, + 1741 + ], + "loc": { + "start": { + "line": 74, + "column": 24 + }, + "end": { + "line": 74, + "column": 58 + } + } + }, + "range": [ + 1691, + 1741 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 58 + } + } + }, + "range": [ + 1691, + 1742 + ], + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1598, + 1682 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n ", + "range": [ + 1752, + 1868 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1877, + 1881 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "delay", + "range": [ + 1882, + 1887 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 18 + } + } + }, + "range": [ + 1877, + 1887 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": 250, + "raw": "250", + "range": [ + 1890, + 1893 + ], + "loc": { + "start": { + "line": 81, + "column": 21 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + "range": [ + 1877, + 1893 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + "range": [ + 1877, + 1894 + ], + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n ", + "range": [ + 1752, + 1868 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1904, + 2005 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2014, + 2018 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeShowMsg", + "range": [ + 2019, + 2034 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "range": [ + 2014, + 2034 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2037, + 2047 + ], + "loc": { + "start": { + "line": 87, + "column": 31 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2048, + 2049 + ], + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_show_msg", + "range": [ + 2050, + 2068 + ], + "loc": { + "start": { + "line": 87, + "column": 44 + }, + "end": { + "line": 87, + "column": 62 + } + } + }, + "range": [ + 2048, + 2068 + ], + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2070, + 2078 + ], + "loc": { + "start": { + "line": 87, + "column": 64 + }, + "end": { + "line": 87, + "column": 72 + } + } + } + ], + "range": [ + 2037, + 2079 + ], + "loc": { + "start": { + "line": 87, + "column": 31 + }, + "end": { + "line": 87, + "column": 73 + } + } + }, + "range": [ + 2014, + 2079 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 73 + } + } + }, + "range": [ + 2014, + 2080 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1904, + 2005 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 2090, + 2190 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2199, + 2203 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterShowMsg", + "range": [ + 2204, + 2218 + ], + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + "range": [ + 2199, + 2218 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 2221, + 2231 + ], + "loc": { + "start": { + "line": 93, + "column": 30 + }, + "end": { + "line": 93, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2232, + 2233 + ], + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_show_msg", + "range": [ + 2234, + 2251 + ], + "loc": { + "start": { + "line": 93, + "column": 43 + }, + "end": { + "line": 93, + "column": 60 + } + } + }, + "range": [ + 2232, + 2251 + ], + "loc": { + "start": { + "line": 93, + "column": 41 + }, + "end": { + "line": 93, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 2253, + 2261 + ], + "loc": { + "start": { + "line": 93, + "column": 62 + }, + "end": { + "line": 93, + "column": 70 + } + } + } + ], + "range": [ + 2221, + 2262 + ], + "loc": { + "start": { + "line": 93, + "column": 30 + }, + "end": { + "line": 93, + "column": 71 + } + } + }, + "range": [ + 2199, + 2262 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 71 + } + } + }, + "range": [ + 2199, + 2263 + ], + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 2090, + 2190 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing upon filtering\n * @type {String}\n ", + "range": [ + 2273, + 2358 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2367, + 2371 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgFilter", + "range": [ + 2372, + 2381 + ], + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + "range": [ + 2367, + 2381 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2384, + 2395 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2396, + 2397 + ], + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_filter", + "range": [ + 2398, + 2408 + ], + "loc": { + "start": { + "line": 99, + "column": 39 + }, + "end": { + "line": 99, + "column": 49 + } + } + }, + "range": [ + 2396, + 2408 + ], + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "Filtering data...", + "raw": "'Filtering data...'", + "range": [ + 2410, + 2429 + ], + "loc": { + "start": { + "line": 99, + "column": 51 + }, + "end": { + "line": 99, + "column": 70 + } + } + } + ], + "range": [ + 2384, + 2430 + ], + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 71 + } + } + }, + "range": [ + 2367, + 2430 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 71 + } + } + }, + "range": [ + 2367, + 2431 + ], + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing upon filtering\n * @type {String}\n ", + "range": [ + 2273, + 2358 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a drop-down filter is populated\n * @type {String}\n ", + "range": [ + 2441, + 2548 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2557, + 2561 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgPopulate", + "range": [ + 2562, + 2573 + ], + "loc": { + "start": { + "line": 105, + "column": 13 + }, + "end": { + "line": 105, + "column": 24 + } + } + }, + "range": [ + 2557, + 2573 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2576, + 2587 + ], + "loc": { + "start": { + "line": 105, + "column": 27 + }, + "end": { + "line": 105, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2588, + 2589 + ], + "loc": { + "start": { + "line": 105, + "column": 39 + }, + "end": { + "line": 105, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_populate", + "range": [ + 2590, + 2602 + ], + "loc": { + "start": { + "line": 105, + "column": 41 + }, + "end": { + "line": 105, + "column": 53 + } + } + }, + "range": [ + 2588, + 2602 + ], + "loc": { + "start": { + "line": 105, + "column": 39 + }, + "end": { + "line": 105, + "column": 53 + } + } + }, + { + "type": "Literal", + "value": "Populating filter...", + "raw": "'Populating filter...'", + "range": [ + 2604, + 2626 + ], + "loc": { + "start": { + "line": 105, + "column": 55 + }, + "end": { + "line": 105, + "column": 77 + } + } + } + ], + "range": [ + 2576, + 2627 + ], + "loc": { + "start": { + "line": 105, + "column": 27 + }, + "end": { + "line": 105, + "column": 78 + } + } + }, + "range": [ + 2557, + 2627 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 78 + } + } + }, + "range": [ + 2557, + 2628 + ], + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a drop-down filter is populated\n * @type {String}\n ", + "range": [ + 2441, + 2548 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a checklist filter is populated\n * @type {String}\n ", + "range": [ + 2638, + 2745 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 110, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2754, + 2758 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgPopulateCheckList", + "range": [ + 2759, + 2779 + ], + "loc": { + "start": { + "line": 111, + "column": 13 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + "range": [ + 2754, + 2779 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2782, + 2793 + ], + "loc": { + "start": { + "line": 111, + "column": 36 + }, + "end": { + "line": 111, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 2794, + 2795 + ], + "loc": { + "start": { + "line": 111, + "column": 48 + }, + "end": { + "line": 111, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_populate_checklist", + "range": [ + 2796, + 2818 + ], + "loc": { + "start": { + "line": 111, + "column": 50 + }, + "end": { + "line": 111, + "column": 72 + } + } + }, + "range": [ + 2794, + 2818 + ], + "loc": { + "start": { + "line": 111, + "column": 48 + }, + "end": { + "line": 111, + "column": 72 + } + } + }, + { + "type": "Literal", + "value": "Populating list...", + "raw": "'Populating list...'", + "range": [ + 2832, + 2852 + ], + "loc": { + "start": { + "line": 112, + "column": 12 + }, + "end": { + "line": 112, + "column": 32 + } + } + } + ], + "range": [ + 2782, + 2853 + ], + "loc": { + "start": { + "line": 111, + "column": 36 + }, + "end": { + "line": 112, + "column": 33 + } + } + }, + "range": [ + 2754, + 2853 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 112, + "column": 33 + } + } + }, + "range": [ + 2754, + 2854 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 112, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a checklist filter is populated\n * @type {String}\n ", + "range": [ + 2638, + 2745 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 110, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a pagination page is changed\n * @type {String}\n ", + "range": [ + 2864, + 2968 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 117, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2977, + 2981 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangePage", + "range": [ + 2982, + 2995 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 26 + } + } + }, + "range": [ + 2977, + 2995 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 2998, + 3009 + ], + "loc": { + "start": { + "line": 118, + "column": 29 + }, + "end": { + "line": 118, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3010, + 3011 + ], + "loc": { + "start": { + "line": 118, + "column": 41 + }, + "end": { + "line": 118, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_change_page", + "range": [ + 3012, + 3027 + ], + "loc": { + "start": { + "line": 118, + "column": 43 + }, + "end": { + "line": 118, + "column": 58 + } + } + }, + "range": [ + 3010, + 3027 + ], + "loc": { + "start": { + "line": 118, + "column": 41 + }, + "end": { + "line": 118, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "Collecting paging data...", + "raw": "'Collecting paging data...'", + "range": [ + 3041, + 3068 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 39 + } + } + } + ], + "range": [ + 2998, + 3069 + ], + "loc": { + "start": { + "line": 118, + "column": 29 + }, + "end": { + "line": 119, + "column": 40 + } + } + }, + "range": [ + 2977, + 3069 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 119, + "column": 40 + } + } + }, + "range": [ + 2977, + 3070 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 119, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when a pagination page is changed\n * @type {String}\n ", + "range": [ + 2864, + 2968 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 117, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when filters are cleared\n * @type {String}\n ", + "range": [ + 3080, + 3175 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3184, + 3188 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgClear", + "range": [ + 3189, + 3197 + ], + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 125, + "column": 21 + } + } + }, + "range": [ + 3184, + 3197 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3200, + 3211 + ], + "loc": { + "start": { + "line": 125, + "column": 24 + }, + "end": { + "line": 125, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3212, + 3213 + ], + "loc": { + "start": { + "line": 125, + "column": 36 + }, + "end": { + "line": 125, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_clear", + "range": [ + 3214, + 3223 + ], + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 47 + } + } + }, + "range": [ + 3212, + 3223 + ], + "loc": { + "start": { + "line": 125, + "column": 36 + }, + "end": { + "line": 125, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "Clearing filters...", + "raw": "'Clearing filters...'", + "range": [ + 3225, + 3246 + ], + "loc": { + "start": { + "line": 125, + "column": 49 + }, + "end": { + "line": 125, + "column": 70 + } + } + } + ], + "range": [ + 3200, + 3247 + ], + "loc": { + "start": { + "line": 125, + "column": 24 + }, + "end": { + "line": 125, + "column": 71 + } + } + }, + "range": [ + 3184, + 3247 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 71 + } + } + }, + "range": [ + 3184, + 3248 + ], + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when filters are cleared\n * @type {String}\n ", + "range": [ + 3080, + 3175 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page length is changed\n * @type {String}\n ", + "range": [ + 3258, + 3360 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3369, + 3373 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangeResults", + "range": [ + 3374, + 3390 + ], + "loc": { + "start": { + "line": 131, + "column": 13 + }, + "end": { + "line": 131, + "column": 29 + } + } + }, + "range": [ + 3369, + 3390 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3393, + 3404 + ], + "loc": { + "start": { + "line": 131, + "column": 32 + }, + "end": { + "line": 131, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3405, + 3406 + ], + "loc": { + "start": { + "line": 131, + "column": 44 + }, + "end": { + "line": 131, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_change_results", + "range": [ + 3407, + 3425 + ], + "loc": { + "start": { + "line": 131, + "column": 46 + }, + "end": { + "line": 131, + "column": 64 + } + } + }, + "range": [ + 3405, + 3425 + ], + "loc": { + "start": { + "line": 131, + "column": 44 + }, + "end": { + "line": 131, + "column": 64 + } + } + }, + { + "type": "Literal", + "value": "Changing results per page...", + "raw": "'Changing results per page...'", + "range": [ + 3439, + 3469 + ], + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 42 + } + } + } + ], + "range": [ + 3393, + 3470 + ], + "loc": { + "start": { + "line": 131, + "column": 32 + }, + "end": { + "line": 132, + "column": 43 + } + } + }, + "range": [ + 3369, + 3470 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 132, + "column": 43 + } + } + }, + "range": [ + 3369, + 3471 + ], + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 132, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page length is changed\n * @type {String}\n ", + "range": [ + 3258, + 3360 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page is re-set\n * @type {String}\n ", + "range": [ + 3481, + 3575 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3584, + 3588 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPage", + "range": [ + 3589, + 3601 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 25 + } + } + }, + "range": [ + 3584, + 3601 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3604, + 3615 + ], + "loc": { + "start": { + "line": 138, + "column": 28 + }, + "end": { + "line": 138, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3616, + 3617 + ], + "loc": { + "start": { + "line": 138, + "column": 40 + }, + "end": { + "line": 138, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_reset_page", + "range": [ + 3618, + 3632 + ], + "loc": { + "start": { + "line": 138, + "column": 42 + }, + "end": { + "line": 138, + "column": 56 + } + } + }, + "range": [ + 3616, + 3632 + ], + "loc": { + "start": { + "line": 138, + "column": 40 + }, + "end": { + "line": 138, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "Re-setting page...", + "raw": "'Re-setting page...'", + "range": [ + 3634, + 3654 + ], + "loc": { + "start": { + "line": 138, + "column": 58 + }, + "end": { + "line": 138, + "column": 78 + } + } + } + ], + "range": [ + 3604, + 3655 + ], + "loc": { + "start": { + "line": 138, + "column": 28 + }, + "end": { + "line": 138, + "column": 79 + } + } + }, + "range": [ + 3584, + 3655 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 79 + } + } + }, + "range": [ + 3584, + 3656 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 138, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page is re-set\n * @type {String}\n ", + "range": [ + 3481, + 3575 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page length is re-set\n * @type {String}\n ", + "range": [ + 3666, + 3767 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3776, + 3780 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPageLength", + "range": [ + 3781, + 3799 + ], + "loc": { + "start": { + "line": 144, + "column": 13 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + "range": [ + 3776, + 3799 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 144, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 3802, + 3813 + ], + "loc": { + "start": { + "line": 144, + "column": 34 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 3814, + 3815 + ], + "loc": { + "start": { + "line": 144, + "column": 46 + }, + "end": { + "line": 144, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_reset_page_length", + "range": [ + 3816, + 3837 + ], + "loc": { + "start": { + "line": 144, + "column": 48 + }, + "end": { + "line": 144, + "column": 69 + } + } + }, + "range": [ + 3814, + 3837 + ], + "loc": { + "start": { + "line": 144, + "column": 46 + }, + "end": { + "line": 144, + "column": 69 + } + } + }, + { + "type": "Literal", + "value": "Re-setting page length...", + "raw": "'Re-setting page length...'", + "range": [ + 3851, + 3878 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 39 + } + } + } + ], + "range": [ + 3802, + 3879 + ], + "loc": { + "start": { + "line": 144, + "column": 34 + }, + "end": { + "line": 145, + "column": 40 + } + } + }, + "range": [ + 3776, + 3879 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 145, + "column": 40 + } + } + }, + "range": [ + 3776, + 3880 + ], + "loc": { + "start": { + "line": 144, + "column": 8 + }, + "end": { + "line": 145, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when the page length is re-set\n * @type {String}\n ", + "range": [ + 3666, + 3767 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing upon column sorting\n * @type {String}\n ", + "range": [ + 3890, + 3980 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3989, + 3993 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgSort", + "range": [ + 3994, + 4001 + ], + "loc": { + "start": { + "line": 151, + "column": 13 + }, + "end": { + "line": 151, + "column": 20 + } + } + }, + "range": [ + 3989, + 4001 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4004, + 4015 + ], + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4016, + 4017 + ], + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_sort", + "range": [ + 4018, + 4026 + ], + "loc": { + "start": { + "line": 151, + "column": 37 + }, + "end": { + "line": 151, + "column": 45 + } + } + }, + "range": [ + 4016, + 4026 + ], + "loc": { + "start": { + "line": 151, + "column": 35 + }, + "end": { + "line": 151, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "Sorting data...", + "raw": "'Sorting data...'", + "range": [ + 4028, + 4045 + ], + "loc": { + "start": { + "line": 151, + "column": 47 + }, + "end": { + "line": 151, + "column": 64 + } + } + } + ], + "range": [ + 4004, + 4046 + ], + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 65 + } + } + }, + "range": [ + 3989, + 4046 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 65 + } + } + }, + "range": [ + 3989, + 4047 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 151, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing upon column sorting\n * @type {String}\n ", + "range": [ + 3890, + 3980 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when extensions are loading\n * @type {String}\n ", + "range": [ + 4057, + 4155 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 156, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4164, + 4168 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadExtensions", + "range": [ + 4169, + 4186 + ], + "loc": { + "start": { + "line": 157, + "column": 13 + }, + "end": { + "line": 157, + "column": 30 + } + } + }, + "range": [ + 4164, + 4186 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4189, + 4200 + ], + "loc": { + "start": { + "line": 157, + "column": 33 + }, + "end": { + "line": 157, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4201, + 4202 + ], + "loc": { + "start": { + "line": 157, + "column": 45 + }, + "end": { + "line": 157, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_load_extensions", + "range": [ + 4203, + 4222 + ], + "loc": { + "start": { + "line": 157, + "column": 47 + }, + "end": { + "line": 157, + "column": 66 + } + } + }, + "range": [ + 4201, + 4222 + ], + "loc": { + "start": { + "line": 157, + "column": 45 + }, + "end": { + "line": 157, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": "Loading extensions...", + "raw": "'Loading extensions...'", + "range": [ + 4236, + 4259 + ], + "loc": { + "start": { + "line": 158, + "column": 12 + }, + "end": { + "line": 158, + "column": 35 + } + } + } + ], + "range": [ + 4189, + 4260 + ], + "loc": { + "start": { + "line": 157, + "column": 33 + }, + "end": { + "line": 158, + "column": 36 + } + } + }, + "range": [ + 4164, + 4260 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 158, + "column": 36 + } + } + }, + "range": [ + 4164, + 4261 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 158, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when extensions are loading\n * @type {String}\n ", + "range": [ + 4057, + 4155 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 156, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when themes are loading\n * @type {String}\n ", + "range": [ + 4271, + 4365 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 163, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4374, + 4378 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadThemes", + "range": [ + 4379, + 4392 + ], + "loc": { + "start": { + "line": 164, + "column": 13 + }, + "end": { + "line": 164, + "column": 26 + } + } + }, + "range": [ + 4374, + 4392 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 164, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4395, + 4406 + ], + "loc": { + "start": { + "line": 164, + "column": 29 + }, + "end": { + "line": 164, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4407, + 4408 + ], + "loc": { + "start": { + "line": 164, + "column": 41 + }, + "end": { + "line": 164, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "msg_load_themes", + "range": [ + 4409, + 4424 + ], + "loc": { + "start": { + "line": 164, + "column": 43 + }, + "end": { + "line": 164, + "column": 58 + } + } + }, + "range": [ + 4407, + 4424 + ], + "loc": { + "start": { + "line": 164, + "column": 41 + }, + "end": { + "line": 164, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "Loading theme(s)...", + "raw": "'Loading theme(s)...'", + "range": [ + 4438, + 4459 + ], + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 33 + } + } + } + ], + "range": [ + 4395, + 4460 + ], + "loc": { + "start": { + "line": 164, + "column": 29 + }, + "end": { + "line": 165, + "column": 34 + } + } + }, + "range": [ + 4374, + 4460 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 165, + "column": 34 + } + } + }, + "range": [ + 4374, + 4461 + ], + "loc": { + "start": { + "line": 164, + "column": 8 + }, + "end": { + "line": 165, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Message appearing when themes are loading\n * @type {String}\n ", + "range": [ + 4271, + 4365 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 163, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 751, + 4467 + ], + "loc": { + "start": { + "line": 31, + "column": 20 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 746, + 4467 + ], + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 166, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 735, + 4467 + ], + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 166, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 627, + 730 + ], + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes StatusBar instance\n ", + "range": [ + 4473, + 4522 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 170, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 4527, + 4531 + ], + "loc": { + "start": { + "line": 171, + "column": 4 + }, + "end": { + "line": 171, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4548, + 4552 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 4553, + 4564 + ], + "loc": { + "start": { + "line": 172, + "column": 17 + }, + "end": { + "line": 172, + "column": 28 + } + } + }, + "range": [ + 4548, + 4564 + ], + "loc": { + "start": { + "line": 172, + "column": 12 + }, + "end": { + "line": 172, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 4580, + 4587 + ], + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 19 + } + } + } + ], + "range": [ + 4566, + 4597 + ], + "loc": { + "start": { + "line": 172, + "column": 30 + }, + "end": { + "line": 174, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 4544, + 4597 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 174, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tf", + "range": [ + 4611, + 4613 + ], + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4616, + 4620 + ], + "loc": { + "start": { + "line": 176, + "column": 17 + }, + "end": { + "line": 176, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 4621, + 4623 + ], + "loc": { + "start": { + "line": 176, + "column": 22 + }, + "end": { + "line": 176, + "column": 24 + } + } + }, + "range": [ + 4616, + 4623 + ], + "loc": { + "start": { + "line": 176, + "column": 17 + }, + "end": { + "line": 176, + "column": 24 + } + } + }, + "range": [ + 4611, + 4623 + ], + "loc": { + "start": { + "line": 176, + "column": 12 + }, + "end": { + "line": 176, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 4607, + 4624 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4637, + 4644 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4647, + 4651 + ], + "loc": { + "start": { + "line": 177, + "column": 22 + }, + "end": { + "line": 177, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 4652, + 4659 + ], + "loc": { + "start": { + "line": 177, + "column": 27 + }, + "end": { + "line": 177, + "column": 34 + } + } + }, + "range": [ + 4647, + 4659 + ], + "loc": { + "start": { + "line": 177, + "column": 22 + }, + "end": { + "line": 177, + "column": 34 + } + } + }, + "range": [ + 4637, + 4659 + ], + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 4633, + 4660 + ], + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 35 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "status bar container", + "range": [ + 4670, + 4692 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 30 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 4705, + 4714 + ], + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4717, + 4726 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 4727, + 4732 + ], + "loc": { + "start": { + "line": 180, + "column": 34 + }, + "end": { + "line": 180, + "column": 39 + } + } + } + ], + "range": [ + 4717, + 4733 + ], + "loc": { + "start": { + "line": 180, + "column": 24 + }, + "end": { + "line": 180, + "column": 40 + } + } + }, + "range": [ + 4705, + 4733 + ], + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 4701, + 4734 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 180, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "status bar container", + "range": [ + 4670, + 4692 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 4743, + 4752 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 4753, + 4762 + ], + "loc": { + "start": { + "line": 181, + "column": 18 + }, + "end": { + "line": 181, + "column": 27 + } + } + }, + "range": [ + 4743, + 4762 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4765, + 4769 + ], + "loc": { + "start": { + "line": 181, + "column": 30 + }, + "end": { + "line": 181, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 4770, + 4778 + ], + "loc": { + "start": { + "line": 181, + "column": 35 + }, + "end": { + "line": 181, + "column": 43 + } + } + }, + "range": [ + 4765, + 4778 + ], + "loc": { + "start": { + "line": 181, + "column": 30 + }, + "end": { + "line": 181, + "column": 43 + } + } + }, + "range": [ + 4743, + 4778 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 43 + } + } + }, + "range": [ + 4743, + 4779 + ], + "loc": { + "start": { + "line": 181, + "column": 8 + }, + "end": { + "line": 181, + "column": 44 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "status bar label", + "range": [ + 4789, + 4807 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 26 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "statusSpan", + "range": [ + 4820, + 4830 + ], + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4833, + 4842 + ], + "loc": { + "start": { + "line": 184, + "column": 25 + }, + "end": { + "line": 184, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 4843, + 4849 + ], + "loc": { + "start": { + "line": 184, + "column": 35 + }, + "end": { + "line": 184, + "column": 41 + } + } + } + ], + "range": [ + 4833, + 4850 + ], + "loc": { + "start": { + "line": 184, + "column": 25 + }, + "end": { + "line": 184, + "column": 42 + } + } + }, + "range": [ + 4820, + 4850 + ], + "loc": { + "start": { + "line": 184, + "column": 12 + }, + "end": { + "line": 184, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 4816, + 4851 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "status bar label", + "range": [ + 4789, + 4807 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 26 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "preceding text", + "range": [ + 4860, + 4876 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 24 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "statusSpanText", + "range": [ + 4889, + 4903 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 4906, + 4915 + ], + "loc": { + "start": { + "line": 186, + "column": 29 + }, + "end": { + "line": 186, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "span", + "raw": "'span'", + "range": [ + 4916, + 4922 + ], + "loc": { + "start": { + "line": 186, + "column": 39 + }, + "end": { + "line": 186, + "column": 45 + } + } + } + ], + "range": [ + 4906, + 4923 + ], + "loc": { + "start": { + "line": 186, + "column": 29 + }, + "end": { + "line": 186, + "column": 46 + } + } + }, + "range": [ + 4889, + 4923 + ], + "loc": { + "start": { + "line": 186, + "column": 12 + }, + "end": { + "line": 186, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 4885, + 4924 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "preceding text", + "range": [ + 4860, + 4876 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 24 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "statusSpanText", + "range": [ + 4933, + 4947 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 4948, + 4959 + ], + "loc": { + "start": { + "line": 187, + "column": 23 + }, + "end": { + "line": 187, + "column": 34 + } + } + }, + "range": [ + 4933, + 4959 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createText", + "range": [ + 4960, + 4970 + ], + "loc": { + "start": { + "line": 187, + "column": 35 + }, + "end": { + "line": 187, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4971, + 4975 + ], + "loc": { + "start": { + "line": 187, + "column": 46 + }, + "end": { + "line": 187, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "text", + "range": [ + 4976, + 4980 + ], + "loc": { + "start": { + "line": 187, + "column": 51 + }, + "end": { + "line": 187, + "column": 55 + } + } + }, + "range": [ + 4971, + 4980 + ], + "loc": { + "start": { + "line": 187, + "column": 46 + }, + "end": { + "line": 187, + "column": 55 + } + } + } + ], + "range": [ + 4960, + 4981 + ], + "loc": { + "start": { + "line": 187, + "column": 35 + }, + "end": { + "line": 187, + "column": 56 + } + } + } + ], + "range": [ + 4933, + 4982 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 57 + } + } + }, + "range": [ + 4933, + 4983 + ], + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 58 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " target element container", + "range": [ + 4993, + 5020 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5034, + 5038 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5039, + 5047 + ], + "loc": { + "start": { + "line": 190, + "column": 18 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + "range": [ + 5034, + 5047 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 5033, + 5047 + ], + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5063, + 5065 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 5066, + 5076 + ], + "loc": { + "start": { + "line": 191, + "column": 15 + }, + "end": { + "line": 191, + "column": 25 + } + } + }, + "range": [ + 5063, + 5076 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 5063, + 5078 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 27 + } + } + }, + "range": [ + 5063, + 5079 + ], + "loc": { + "start": { + "line": 191, + "column": 12 + }, + "end": { + "line": 191, + "column": 28 + } + } + } + ], + "range": [ + 5049, + 5089 + ], + "loc": { + "start": { + "line": 190, + "column": 28 + }, + "end": { + "line": 192, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 5029, + 5089 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 192, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " target element container", + "range": [ + 4993, + 5020 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 35 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 5102, + 5110 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 20 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5115, + 5119 + ], + "loc": { + "start": { + "line": 193, + "column": 25 + }, + "end": { + "line": 193, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5120, + 5128 + ], + "loc": { + "start": { + "line": 193, + "column": 30 + }, + "end": { + "line": 193, + "column": 38 + } + } + }, + "range": [ + 5115, + 5128 + ], + "loc": { + "start": { + "line": 193, + "column": 25 + }, + "end": { + "line": 193, + "column": 38 + } + } + }, + "prefix": true, + "range": [ + 5114, + 5128 + ], + "loc": { + "start": { + "line": 193, + "column": 24 + }, + "end": { + "line": 193, + "column": 38 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tf", + "range": [ + 5132, + 5134 + ], + "loc": { + "start": { + "line": 193, + "column": 42 + }, + "end": { + "line": 193, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 5135, + 5139 + ], + "loc": { + "start": { + "line": 193, + "column": 45 + }, + "end": { + "line": 193, + "column": 49 + } + } + }, + "range": [ + 5132, + 5139 + ], + "loc": { + "start": { + "line": 193, + "column": 42 + }, + "end": { + "line": 193, + "column": 49 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 5142, + 5145 + ], + "loc": { + "start": { + "line": 193, + "column": 52 + }, + "end": { + "line": 193, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5146, + 5150 + ], + "loc": { + "start": { + "line": 193, + "column": 56 + }, + "end": { + "line": 193, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5151, + 5159 + ], + "loc": { + "start": { + "line": 193, + "column": 61 + }, + "end": { + "line": 193, + "column": 69 + } + } + }, + "range": [ + 5146, + 5159 + ], + "loc": { + "start": { + "line": 193, + "column": 56 + }, + "end": { + "line": 193, + "column": 69 + } + } + } + ], + "range": [ + 5142, + 5160 + ], + "loc": { + "start": { + "line": 193, + "column": 52 + }, + "end": { + "line": 193, + "column": 70 + } + } + }, + "range": [ + 5113, + 5160 + ], + "loc": { + "start": { + "line": 193, + "column": 23 + }, + "end": { + "line": 193, + "column": 70 + } + } + }, + "range": [ + 5102, + 5160 + ], + "loc": { + "start": { + "line": 193, + "column": 12 + }, + "end": { + "line": 193, + "column": 70 + } + } + } + ], + "kind": "let", + "range": [ + 5098, + 5161 + ], + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 71 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 5171, + 5198 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5212, + 5216 + ], + "loc": { + "start": { + "line": 196, + "column": 13 + }, + "end": { + "line": 196, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 5217, + 5225 + ], + "loc": { + "start": { + "line": 196, + "column": 18 + }, + "end": { + "line": 196, + "column": 26 + } + } + }, + "range": [ + 5212, + 5225 + ], + "loc": { + "start": { + "line": 196, + "column": 13 + }, + "end": { + "line": 196, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 5211, + 5225 + ], + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 5241, + 5250 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5251, + 5262 + ], + "loc": { + "start": { + "line": 197, + "column": 22 + }, + "end": { + "line": 197, + "column": 33 + } + } + }, + "range": [ + 5241, + 5262 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "statusSpanText", + "range": [ + 5263, + 5277 + ], + "loc": { + "start": { + "line": 197, + "column": 34 + }, + "end": { + "line": 197, + "column": 48 + } + } + } + ], + "range": [ + 5241, + 5278 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 49 + } + } + }, + "range": [ + 5241, + 5279 + ], + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 5292, + 5301 + ], + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5302, + 5313 + ], + "loc": { + "start": { + "line": 198, + "column": 22 + }, + "end": { + "line": 198, + "column": 33 + } + } + }, + "range": [ + 5292, + 5313 + ], + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "statusSpan", + "range": [ + 5314, + 5324 + ], + "loc": { + "start": { + "line": 198, + "column": 34 + }, + "end": { + "line": 198, + "column": 44 + } + } + } + ], + "range": [ + 5292, + 5325 + ], + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 45 + } + } + }, + "range": [ + 5292, + 5326 + ], + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 46 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 5339, + 5347 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5348, + 5359 + ], + "loc": { + "start": { + "line": 199, + "column": 21 + }, + "end": { + "line": 199, + "column": 32 + } + } + }, + "range": [ + 5339, + 5359 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 5360, + 5369 + ], + "loc": { + "start": { + "line": 199, + "column": 33 + }, + "end": { + "line": 199, + "column": 42 + } + } + } + ], + "range": [ + 5339, + 5370 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 43 + } + } + }, + "range": [ + 5339, + 5371 + ], + "loc": { + "start": { + "line": 199, + "column": 12 + }, + "end": { + "line": 199, + "column": 44 + } + } + } + ], + "range": [ + 5227, + 5381 + ], + "loc": { + "start": { + "line": 196, + "column": 28 + }, + "end": { + "line": 200, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 5462, + 5470 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5471, + 5482 + ], + "loc": { + "start": { + "line": 202, + "column": 21 + }, + "end": { + "line": 202, + "column": 32 + } + } + }, + "range": [ + 5462, + 5482 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "statusSpanText", + "range": [ + 5483, + 5497 + ], + "loc": { + "start": { + "line": 202, + "column": 33 + }, + "end": { + "line": 202, + "column": 47 + } + } + } + ], + "range": [ + 5462, + 5498 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 48 + } + } + }, + "range": [ + 5462, + 5499 + ], + "loc": { + "start": { + "line": 202, + "column": 12 + }, + "end": { + "line": 202, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " custom container, no need to append statusDiv", + "range": [ + 5401, + 5449 + ], + "loc": { + "start": { + "line": 201, + "column": 12 + }, + "end": { + "line": 201, + "column": 60 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "targetEl", + "range": [ + 5512, + 5520 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 5521, + 5532 + ], + "loc": { + "start": { + "line": 203, + "column": 21 + }, + "end": { + "line": 203, + "column": 32 + } + } + }, + "range": [ + 5512, + 5532 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "statusSpan", + "range": [ + 5533, + 5543 + ], + "loc": { + "start": { + "line": 203, + "column": 33 + }, + "end": { + "line": 203, + "column": 43 + } + } + } + ], + "range": [ + 5512, + 5544 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 44 + } + } + }, + "range": [ + 5512, + 5545 + ], + "loc": { + "start": { + "line": 203, + "column": 12 + }, + "end": { + "line": 203, + "column": 45 + } + } + } + ], + "range": [ + 5387, + 5555 + ], + "loc": { + "start": { + "line": 200, + "column": 15 + }, + "end": { + "line": 204, + "column": 9 + } + } + }, + "range": [ + 5207, + 5555 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 204, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 5171, + 5198 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5565, + 5569 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 5570, + 5579 + ], + "loc": { + "start": { + "line": 206, + "column": 13 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + "range": [ + 5565, + 5579 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "statusDiv", + "range": [ + 5582, + 5591 + ], + "loc": { + "start": { + "line": 206, + "column": 25 + }, + "end": { + "line": 206, + "column": 34 + } + } + }, + "range": [ + 5565, + 5591 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 34 + } + } + }, + "range": [ + 5565, + 5592 + ], + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5601, + 5605 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgContainer", + "range": [ + 5606, + 5618 + ], + "loc": { + "start": { + "line": 207, + "column": 13 + }, + "end": { + "line": 207, + "column": 25 + } + } + }, + "range": [ + 5601, + 5618 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "statusSpan", + "range": [ + 5621, + 5631 + ], + "loc": { + "start": { + "line": 207, + "column": 28 + }, + "end": { + "line": 207, + "column": 38 + } + } + }, + "range": [ + 5601, + 5631 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 38 + } + } + }, + "range": [ + 5601, + 5632 + ], + "loc": { + "start": { + "line": 207, + "column": 8 + }, + "end": { + "line": 207, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5641, + 5645 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "labelContainer", + "range": [ + 5646, + 5660 + ], + "loc": { + "start": { + "line": 208, + "column": 13 + }, + "end": { + "line": 208, + "column": 27 + } + } + }, + "range": [ + 5641, + 5660 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "statusSpanText", + "range": [ + 5663, + 5677 + ], + "loc": { + "start": { + "line": 208, + "column": 30 + }, + "end": { + "line": 208, + "column": 44 + } + } + }, + "range": [ + 5641, + 5677 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 44 + } + } + }, + "range": [ + 5641, + 5678 + ], + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 45 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 5688, + 5710 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5719, + 5726 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5727, + 5729 + ], + "loc": { + "start": { + "line": 211, + "column": 16 + }, + "end": { + "line": 211, + "column": 18 + } + } + }, + "range": [ + 5719, + 5729 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 5731, + 5749 + ], + "loc": { + "start": { + "line": 211, + "column": 20 + }, + "end": { + "line": 211, + "column": 38 + } + } + } + ], + "range": [ + 5730, + 5750 + ], + "loc": { + "start": { + "line": 211, + "column": 19 + }, + "end": { + "line": 211, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5758, + 5762 + ], + "loc": { + "start": { + "line": 211, + "column": 47 + }, + "end": { + "line": 211, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 5763, + 5770 + ], + "loc": { + "start": { + "line": 211, + "column": 52 + }, + "end": { + "line": 211, + "column": 59 + } + } + }, + "range": [ + 5758, + 5770 + ], + "loc": { + "start": { + "line": 211, + "column": 47 + }, + "end": { + "line": 211, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5771, + 5775 + ], + "loc": { + "start": { + "line": 211, + "column": 60 + }, + "end": { + "line": 211, + "column": 64 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgFilter", + "range": [ + 5776, + 5785 + ], + "loc": { + "start": { + "line": 211, + "column": 65 + }, + "end": { + "line": 211, + "column": 74 + } + } + }, + "range": [ + 5771, + 5785 + ], + "loc": { + "start": { + "line": 211, + "column": 60 + }, + "end": { + "line": 211, + "column": 74 + } + } + } + ], + "range": [ + 5758, + 5786 + ], + "loc": { + "start": { + "line": 211, + "column": 47 + }, + "end": { + "line": 211, + "column": 75 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5752, + 5786 + ], + "loc": { + "start": { + "line": 211, + "column": 41 + }, + "end": { + "line": 211, + "column": 75 + } + } + } + ], + "range": [ + 5719, + 5787 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 76 + } + } + }, + "range": [ + 5719, + 5788 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 77 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 5688, + 5710 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5797, + 5804 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5805, + 5807 + ], + "loc": { + "start": { + "line": 212, + "column": 16 + }, + "end": { + "line": 212, + "column": 18 + } + } + }, + "range": [ + 5797, + 5807 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 212, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-populating-filter", + "raw": "'before-populating-filter'", + "range": [ + 5809, + 5835 + ], + "loc": { + "start": { + "line": 212, + "column": 20 + }, + "end": { + "line": 212, + "column": 46 + } + } + } + ], + "range": [ + 5808, + 5836 + ], + "loc": { + "start": { + "line": 212, + "column": 19 + }, + "end": { + "line": 212, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5856, + 5860 + ], + "loc": { + "start": { + "line": 213, + "column": 18 + }, + "end": { + "line": 213, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 5861, + 5868 + ], + "loc": { + "start": { + "line": 213, + "column": 23 + }, + "end": { + "line": 213, + "column": 30 + } + } + }, + "range": [ + 5856, + 5868 + ], + "loc": { + "start": { + "line": 213, + "column": 18 + }, + "end": { + "line": 213, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5869, + 5873 + ], + "loc": { + "start": { + "line": 213, + "column": 31 + }, + "end": { + "line": 213, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgPopulate", + "range": [ + 5874, + 5885 + ], + "loc": { + "start": { + "line": 213, + "column": 36 + }, + "end": { + "line": 213, + "column": 47 + } + } + }, + "range": [ + 5869, + 5885 + ], + "loc": { + "start": { + "line": 213, + "column": 31 + }, + "end": { + "line": 213, + "column": 47 + } + } + } + ], + "range": [ + 5856, + 5886 + ], + "loc": { + "start": { + "line": 213, + "column": 18 + }, + "end": { + "line": 213, + "column": 48 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5850, + 5886 + ], + "loc": { + "start": { + "line": 213, + "column": 12 + }, + "end": { + "line": 213, + "column": 48 + } + } + } + ], + "range": [ + 5797, + 5887 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 213, + "column": 49 + } + } + }, + "range": [ + 5797, + 5888 + ], + "loc": { + "start": { + "line": 212, + "column": 8 + }, + "end": { + "line": 213, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5897, + 5904 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 5905, + 5907 + ], + "loc": { + "start": { + "line": 214, + "column": 16 + }, + "end": { + "line": 214, + "column": 18 + } + } + }, + "range": [ + 5897, + 5907 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 214, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-page-change", + "raw": "'before-page-change'", + "range": [ + 5909, + 5929 + ], + "loc": { + "start": { + "line": 214, + "column": 20 + }, + "end": { + "line": 214, + "column": 40 + } + } + } + ], + "range": [ + 5908, + 5930 + ], + "loc": { + "start": { + "line": 214, + "column": 19 + }, + "end": { + "line": 214, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5950, + 5954 + ], + "loc": { + "start": { + "line": 215, + "column": 18 + }, + "end": { + "line": 215, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 5955, + 5962 + ], + "loc": { + "start": { + "line": 215, + "column": 23 + }, + "end": { + "line": 215, + "column": 30 + } + } + }, + "range": [ + 5950, + 5962 + ], + "loc": { + "start": { + "line": 215, + "column": 18 + }, + "end": { + "line": 215, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5963, + 5967 + ], + "loc": { + "start": { + "line": 215, + "column": 31 + }, + "end": { + "line": 215, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangePage", + "range": [ + 5968, + 5981 + ], + "loc": { + "start": { + "line": 215, + "column": 36 + }, + "end": { + "line": 215, + "column": 49 + } + } + }, + "range": [ + 5963, + 5981 + ], + "loc": { + "start": { + "line": 215, + "column": 31 + }, + "end": { + "line": 215, + "column": 49 + } + } + } + ], + "range": [ + 5950, + 5982 + ], + "loc": { + "start": { + "line": 215, + "column": 18 + }, + "end": { + "line": 215, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 5944, + 5982 + ], + "loc": { + "start": { + "line": 215, + "column": 12 + }, + "end": { + "line": 215, + "column": 50 + } + } + } + ], + "range": [ + 5897, + 5983 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 215, + "column": 51 + } + } + }, + "range": [ + 5897, + 5984 + ], + "loc": { + "start": { + "line": 214, + "column": 8 + }, + "end": { + "line": 215, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 5993, + 6000 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6001, + 6003 + ], + "loc": { + "start": { + "line": 216, + "column": 16 + }, + "end": { + "line": 216, + "column": 18 + } + } + }, + "range": [ + 5993, + 6003 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-clearing-filters", + "raw": "'before-clearing-filters'", + "range": [ + 6005, + 6030 + ], + "loc": { + "start": { + "line": 216, + "column": 20 + }, + "end": { + "line": 216, + "column": 45 + } + } + } + ], + "range": [ + 6004, + 6031 + ], + "loc": { + "start": { + "line": 216, + "column": 19 + }, + "end": { + "line": 216, + "column": 46 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6051, + 6055 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6056, + 6063 + ], + "loc": { + "start": { + "line": 217, + "column": 17 + }, + "end": { + "line": 217, + "column": 24 + } + } + }, + "range": [ + 6051, + 6063 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6064, + 6068 + ], + "loc": { + "start": { + "line": 217, + "column": 25 + }, + "end": { + "line": 217, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgClear", + "range": [ + 6069, + 6077 + ], + "loc": { + "start": { + "line": 217, + "column": 30 + }, + "end": { + "line": 217, + "column": 38 + } + } + }, + "range": [ + 6064, + 6077 + ], + "loc": { + "start": { + "line": 217, + "column": 25 + }, + "end": { + "line": 217, + "column": 38 + } + } + } + ], + "range": [ + 6051, + 6078 + ], + "loc": { + "start": { + "line": 217, + "column": 12 + }, + "end": { + "line": 217, + "column": 39 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6033, + 6078 + ], + "loc": { + "start": { + "line": 216, + "column": 48 + }, + "end": { + "line": 217, + "column": 39 + } + } + } + ], + "range": [ + 5993, + 6079 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 217, + "column": 40 + } + } + }, + "range": [ + 5993, + 6080 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 217, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6089, + 6096 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6097, + 6099 + ], + "loc": { + "start": { + "line": 218, + "column": 16 + }, + "end": { + "line": 218, + "column": 18 + } + } + }, + "range": [ + 6089, + 6099 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 218, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-page-length-change", + "raw": "'before-page-length-change'", + "range": [ + 6101, + 6128 + ], + "loc": { + "start": { + "line": 218, + "column": 20 + }, + "end": { + "line": 218, + "column": 47 + } + } + } + ], + "range": [ + 6100, + 6129 + ], + "loc": { + "start": { + "line": 218, + "column": 19 + }, + "end": { + "line": 218, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6149, + 6153 + ], + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6154, + 6161 + ], + "loc": { + "start": { + "line": 219, + "column": 23 + }, + "end": { + "line": 219, + "column": 30 + } + } + }, + "range": [ + 6149, + 6161 + ], + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6162, + 6166 + ], + "loc": { + "start": { + "line": 219, + "column": 31 + }, + "end": { + "line": 219, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangeResults", + "range": [ + 6167, + 6183 + ], + "loc": { + "start": { + "line": 219, + "column": 36 + }, + "end": { + "line": 219, + "column": 52 + } + } + }, + "range": [ + 6162, + 6183 + ], + "loc": { + "start": { + "line": 219, + "column": 31 + }, + "end": { + "line": 219, + "column": 52 + } + } + } + ], + "range": [ + 6149, + 6184 + ], + "loc": { + "start": { + "line": 219, + "column": 18 + }, + "end": { + "line": 219, + "column": 53 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6143, + 6184 + ], + "loc": { + "start": { + "line": 219, + "column": 12 + }, + "end": { + "line": 219, + "column": 53 + } + } + } + ], + "range": [ + 6089, + 6185 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 219, + "column": 54 + } + } + }, + "range": [ + 6089, + 6186 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 219, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6195, + 6202 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6203, + 6205 + ], + "loc": { + "start": { + "line": 220, + "column": 16 + }, + "end": { + "line": 220, + "column": 18 + } + } + }, + "range": [ + 6195, + 6205 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-reset-page", + "raw": "'before-reset-page'", + "range": [ + 6207, + 6226 + ], + "loc": { + "start": { + "line": 220, + "column": 20 + }, + "end": { + "line": 220, + "column": 39 + } + } + } + ], + "range": [ + 6206, + 6227 + ], + "loc": { + "start": { + "line": 220, + "column": 19 + }, + "end": { + "line": 220, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6247, + 6251 + ], + "loc": { + "start": { + "line": 221, + "column": 18 + }, + "end": { + "line": 221, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6252, + 6259 + ], + "loc": { + "start": { + "line": 221, + "column": 23 + }, + "end": { + "line": 221, + "column": 30 + } + } + }, + "range": [ + 6247, + 6259 + ], + "loc": { + "start": { + "line": 221, + "column": 18 + }, + "end": { + "line": 221, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6260, + 6264 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPage", + "range": [ + 6265, + 6277 + ], + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 48 + } + } + }, + "range": [ + 6260, + 6277 + ], + "loc": { + "start": { + "line": 221, + "column": 31 + }, + "end": { + "line": 221, + "column": 48 + } + } + } + ], + "range": [ + 6247, + 6278 + ], + "loc": { + "start": { + "line": 221, + "column": 18 + }, + "end": { + "line": 221, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6241, + 6278 + ], + "loc": { + "start": { + "line": 221, + "column": 12 + }, + "end": { + "line": 221, + "column": 49 + } + } + } + ], + "range": [ + 6195, + 6279 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 221, + "column": 50 + } + } + }, + "range": [ + 6195, + 6280 + ], + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 221, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6289, + 6296 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6297, + 6299 + ], + "loc": { + "start": { + "line": 222, + "column": 16 + }, + "end": { + "line": 222, + "column": 18 + } + } + }, + "range": [ + 6289, + 6299 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 222, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-reset-page-length", + "raw": "'before-reset-page-length'", + "range": [ + 6301, + 6327 + ], + "loc": { + "start": { + "line": 222, + "column": 20 + }, + "end": { + "line": 222, + "column": 46 + } + } + } + ], + "range": [ + 6300, + 6328 + ], + "loc": { + "start": { + "line": 222, + "column": 19 + }, + "end": { + "line": 222, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6348, + 6352 + ], + "loc": { + "start": { + "line": 223, + "column": 18 + }, + "end": { + "line": 223, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6353, + 6360 + ], + "loc": { + "start": { + "line": 223, + "column": 23 + }, + "end": { + "line": 223, + "column": 30 + } + } + }, + "range": [ + 6348, + 6360 + ], + "loc": { + "start": { + "line": 223, + "column": 18 + }, + "end": { + "line": 223, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6361, + 6365 + ], + "loc": { + "start": { + "line": 223, + "column": 31 + }, + "end": { + "line": 223, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPageLength", + "range": [ + 6366, + 6384 + ], + "loc": { + "start": { + "line": 223, + "column": 36 + }, + "end": { + "line": 223, + "column": 54 + } + } + }, + "range": [ + 6361, + 6384 + ], + "loc": { + "start": { + "line": 223, + "column": 31 + }, + "end": { + "line": 223, + "column": 54 + } + } + } + ], + "range": [ + 6348, + 6385 + ], + "loc": { + "start": { + "line": 223, + "column": 18 + }, + "end": { + "line": 223, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6342, + 6385 + ], + "loc": { + "start": { + "line": 223, + "column": 12 + }, + "end": { + "line": 223, + "column": 55 + } + } + } + ], + "range": [ + 6289, + 6386 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 223, + "column": 56 + } + } + }, + "range": [ + 6289, + 6387 + ], + "loc": { + "start": { + "line": 222, + "column": 8 + }, + "end": { + "line": 223, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6396, + 6403 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6404, + 6406 + ], + "loc": { + "start": { + "line": 224, + "column": 16 + }, + "end": { + "line": 224, + "column": 18 + } + } + }, + "range": [ + 6396, + 6406 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-loading-extensions", + "raw": "'before-loading-extensions'", + "range": [ + 6408, + 6435 + ], + "loc": { + "start": { + "line": 224, + "column": 20 + }, + "end": { + "line": 224, + "column": 47 + } + } + } + ], + "range": [ + 6407, + 6436 + ], + "loc": { + "start": { + "line": 224, + "column": 19 + }, + "end": { + "line": 224, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6456, + 6460 + ], + "loc": { + "start": { + "line": 225, + "column": 18 + }, + "end": { + "line": 225, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6461, + 6468 + ], + "loc": { + "start": { + "line": 225, + "column": 23 + }, + "end": { + "line": 225, + "column": 30 + } + } + }, + "range": [ + 6456, + 6468 + ], + "loc": { + "start": { + "line": 225, + "column": 18 + }, + "end": { + "line": 225, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6469, + 6473 + ], + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 225, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadExtensions", + "range": [ + 6474, + 6491 + ], + "loc": { + "start": { + "line": 225, + "column": 36 + }, + "end": { + "line": 225, + "column": 53 + } + } + }, + "range": [ + 6469, + 6491 + ], + "loc": { + "start": { + "line": 225, + "column": 31 + }, + "end": { + "line": 225, + "column": 53 + } + } + } + ], + "range": [ + 6456, + 6492 + ], + "loc": { + "start": { + "line": 225, + "column": 18 + }, + "end": { + "line": 225, + "column": 54 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6450, + 6492 + ], + "loc": { + "start": { + "line": 225, + "column": 12 + }, + "end": { + "line": 225, + "column": 54 + } + } + } + ], + "range": [ + 6396, + 6493 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 225, + "column": 55 + } + } + }, + "range": [ + 6396, + 6494 + ], + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 225, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6503, + 6510 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6511, + 6513 + ], + "loc": { + "start": { + "line": 226, + "column": 16 + }, + "end": { + "line": 226, + "column": 18 + } + } + }, + "range": [ + 6503, + 6513 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-loading-themes", + "raw": "'before-loading-themes'", + "range": [ + 6515, + 6538 + ], + "loc": { + "start": { + "line": 226, + "column": 20 + }, + "end": { + "line": 226, + "column": 43 + } + } + } + ], + "range": [ + 6514, + 6539 + ], + "loc": { + "start": { + "line": 226, + "column": 19 + }, + "end": { + "line": 226, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6559, + 6563 + ], + "loc": { + "start": { + "line": 227, + "column": 18 + }, + "end": { + "line": 227, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6564, + 6571 + ], + "loc": { + "start": { + "line": 227, + "column": 23 + }, + "end": { + "line": 227, + "column": 30 + } + } + }, + "range": [ + 6559, + 6571 + ], + "loc": { + "start": { + "line": 227, + "column": 18 + }, + "end": { + "line": 227, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6572, + 6576 + ], + "loc": { + "start": { + "line": 227, + "column": 31 + }, + "end": { + "line": 227, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadThemes", + "range": [ + 6577, + 6590 + ], + "loc": { + "start": { + "line": 227, + "column": 36 + }, + "end": { + "line": 227, + "column": 49 + } + } + }, + "range": [ + 6572, + 6590 + ], + "loc": { + "start": { + "line": 227, + "column": 31 + }, + "end": { + "line": 227, + "column": 49 + } + } + } + ], + "range": [ + 6559, + 6591 + ], + "loc": { + "start": { + "line": 227, + "column": 18 + }, + "end": { + "line": 227, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6553, + 6591 + ], + "loc": { + "start": { + "line": 227, + "column": 12 + }, + "end": { + "line": 227, + "column": 50 + } + } + } + ], + "range": [ + 6503, + 6592 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 227, + "column": 51 + } + } + }, + "range": [ + 6503, + 6593 + ], + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 227, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 6603, + 6610 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 6611, + 6613 + ], + "loc": { + "start": { + "line": 229, + "column": 16 + }, + "end": { + "line": 229, + "column": 18 + } + } + }, + "range": [ + 6603, + 6613 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 6614, + 6620 + ], + "loc": { + "start": { + "line": 229, + "column": 19 + }, + "end": { + "line": 229, + "column": 25 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6628, + 6632 + ], + "loc": { + "start": { + "line": 229, + "column": 33 + }, + "end": { + "line": 229, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 6633, + 6640 + ], + "loc": { + "start": { + "line": 229, + "column": 38 + }, + "end": { + "line": 229, + "column": 45 + } + } + }, + "range": [ + 6628, + 6640 + ], + "loc": { + "start": { + "line": 229, + "column": 33 + }, + "end": { + "line": 229, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 6641, + 6643 + ], + "loc": { + "start": { + "line": 229, + "column": 46 + }, + "end": { + "line": 229, + "column": 48 + } + } + } + ], + "range": [ + 6628, + 6644 + ], + "loc": { + "start": { + "line": 229, + "column": 33 + }, + "end": { + "line": 229, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 6622, + 6644 + ], + "loc": { + "start": { + "line": 229, + "column": 27 + }, + "end": { + "line": 229, + "column": 49 + } + } + } + ], + "range": [ + 6603, + 6645 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 50 + } + } + }, + "range": [ + 6603, + 6646 + ], + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 51 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 6656, + 6693 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 233, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6702, + 6706 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 6707, + 6718 + ], + "loc": { + "start": { + "line": 234, + "column": 13 + }, + "end": { + "line": 234, + "column": 24 + } + } + }, + "range": [ + 6702, + 6718 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 6721, + 6725 + ], + "loc": { + "start": { + "line": 234, + "column": 27 + }, + "end": { + "line": 234, + "column": 31 + } + } + }, + "range": [ + 6702, + 6725 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 31 + } + } + }, + "range": [ + 6702, + 6726 + ], + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 6656, + 6693 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 233, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 4534, + 6732 + ], + "loc": { + "start": { + "line": 171, + "column": 11 + }, + "end": { + "line": 235, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4531, + 6732 + ], + "loc": { + "start": { + "line": 171, + "column": 8 + }, + "end": { + "line": 235, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 4527, + 6732 + ], + "loc": { + "start": { + "line": 171, + "column": 4 + }, + "end": { + "line": 235, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes StatusBar instance\n ", + "range": [ + 4473, + 4522 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 170, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Display status message\n * @param {String} [t=''] Message to be displayed\n ", + "range": [ + 6738, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 240, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "message", + "range": [ + 6838, + 6845 + ], + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 241, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 6846, + 6847 + ], + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 6850, + 6852 + ], + "loc": { + "start": { + "line": 241, + "column": 16 + }, + "end": { + "line": 241, + "column": 18 + } + } + }, + "range": [ + 6846, + 6852 + ], + "loc": { + "start": { + "line": 241, + "column": 12 + }, + "end": { + "line": 241, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6869, + 6873 + ], + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isEnabled", + "range": [ + 6874, + 6883 + ], + "loc": { + "start": { + "line": 242, + "column": 18 + }, + "end": { + "line": 242, + "column": 27 + } + } + }, + "range": [ + 6869, + 6883 + ], + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 6869, + 6885 + ], + "loc": { + "start": { + "line": 242, + "column": 13 + }, + "end": { + "line": 242, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 6868, + 6885 + ], + "loc": { + "start": { + "line": 242, + "column": 12 + }, + "end": { + "line": 242, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 6901, + 6908 + ], + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 19 + } + } + } + ], + "range": [ + 6887, + 6918 + ], + "loc": { + "start": { + "line": 242, + "column": 31 + }, + "end": { + "line": 244, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 6864, + 6918 + ], + "loc": { + "start": { + "line": 242, + "column": 8 + }, + "end": { + "line": 244, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6928, + 6932 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeShowMsg", + "range": [ + 6933, + 6948 + ], + "loc": { + "start": { + "line": 246, + "column": 13 + }, + "end": { + "line": 246, + "column": 28 + } + } + }, + "range": [ + 6928, + 6948 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6949, + 6953 + ], + "loc": { + "start": { + "line": 246, + "column": 29 + }, + "end": { + "line": 246, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 6954, + 6956 + ], + "loc": { + "start": { + "line": 246, + "column": 34 + }, + "end": { + "line": 246, + "column": 36 + } + } + }, + "range": [ + 6949, + 6956 + ], + "loc": { + "start": { + "line": 246, + "column": 29 + }, + "end": { + "line": 246, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 6958, + 6959 + ], + "loc": { + "start": { + "line": 246, + "column": 38 + }, + "end": { + "line": 246, + "column": 39 + } + } + } + ], + "range": [ + 6928, + 6960 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 40 + } + } + }, + "range": [ + 6928, + 6961 + ], + "loc": { + "start": { + "line": 246, + "column": 8 + }, + "end": { + "line": 246, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "d", + "range": [ + 6975, + 6976 + ], + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 13 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "t", + "range": [ + 6979, + 6980 + ], + "loc": { + "start": { + "line": 248, + "column": 16 + }, + "end": { + "line": 248, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 6985, + 6987 + ], + "loc": { + "start": { + "line": 248, + "column": 22 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + "range": [ + 6979, + 6987 + ], + "loc": { + "start": { + "line": 248, + "column": 16 + }, + "end": { + "line": 248, + "column": 24 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6990, + 6994 + ], + "loc": { + "start": { + "line": 248, + "column": 27 + }, + "end": { + "line": 248, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "delay", + "range": [ + 6995, + 7000 + ], + "loc": { + "start": { + "line": 248, + "column": 32 + }, + "end": { + "line": 248, + "column": 37 + } + } + }, + "range": [ + 6990, + 7000 + ], + "loc": { + "start": { + "line": 248, + "column": 27 + }, + "end": { + "line": 248, + "column": 37 + } + } + }, + "alternate": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 7003, + 7004 + ], + "loc": { + "start": { + "line": 248, + "column": 40 + }, + "end": { + "line": 248, + "column": 41 + } + } + }, + "range": [ + 6979, + 7004 + ], + "loc": { + "start": { + "line": 248, + "column": 16 + }, + "end": { + "line": 248, + "column": 41 + } + } + }, + "range": [ + 6975, + 7004 + ], + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 6971, + 7005 + ], + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 7014, + 7018 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setTimeout", + "range": [ + 7019, + 7029 + ], + "loc": { + "start": { + "line": 249, + "column": 13 + }, + "end": { + "line": 249, + "column": 23 + } + } + }, + "range": [ + 7014, + 7029 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7055, + 7059 + ], + "loc": { + "start": { + "line": 250, + "column": 17 + }, + "end": { + "line": 250, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 7060, + 7071 + ], + "loc": { + "start": { + "line": 250, + "column": 22 + }, + "end": { + "line": 250, + "column": 33 + } + } + }, + "range": [ + 7055, + 7071 + ], + "loc": { + "start": { + "line": 250, + "column": 17 + }, + "end": { + "line": 250, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 7054, + 7071 + ], + "loc": { + "start": { + "line": 250, + "column": 16 + }, + "end": { + "line": 250, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 7091, + 7098 + ], + "loc": { + "start": { + "line": 251, + "column": 16 + }, + "end": { + "line": 251, + "column": 23 + } + } + } + ], + "range": [ + 7073, + 7112 + ], + "loc": { + "start": { + "line": 250, + "column": 35 + }, + "end": { + "line": 252, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 7050, + 7112 + ], + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 252, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7125, + 7129 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgContainer", + "range": [ + 7130, + 7142 + ], + "loc": { + "start": { + "line": 253, + "column": 17 + }, + "end": { + "line": 253, + "column": 29 + } + } + }, + "range": [ + 7125, + 7142 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 7143, + 7152 + ], + "loc": { + "start": { + "line": 253, + "column": 30 + }, + "end": { + "line": 253, + "column": 39 + } + } + }, + "range": [ + 7125, + 7152 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "t", + "range": [ + 7155, + 7156 + ], + "loc": { + "start": { + "line": 253, + "column": 42 + }, + "end": { + "line": 253, + "column": 43 + } + } + }, + "range": [ + 7125, + 7156 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 43 + } + } + }, + "range": [ + 7125, + 7157 + ], + "loc": { + "start": { + "line": 253, + "column": 12 + }, + "end": { + "line": 253, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7171, + 7175 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterShowMsg", + "range": [ + 7176, + 7190 + ], + "loc": { + "start": { + "line": 255, + "column": 17 + }, + "end": { + "line": 255, + "column": 31 + } + } + }, + "range": [ + 7171, + 7190 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7191, + 7195 + ], + "loc": { + "start": { + "line": 255, + "column": 32 + }, + "end": { + "line": 255, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 7196, + 7198 + ], + "loc": { + "start": { + "line": 255, + "column": 37 + }, + "end": { + "line": 255, + "column": 39 + } + } + }, + "range": [ + 7191, + 7198 + ], + "loc": { + "start": { + "line": 255, + "column": 32 + }, + "end": { + "line": 255, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "t", + "range": [ + 7200, + 7201 + ], + "loc": { + "start": { + "line": 255, + "column": 41 + }, + "end": { + "line": 255, + "column": 42 + } + } + } + ], + "range": [ + 7171, + 7202 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 43 + } + } + }, + "range": [ + 7171, + 7203 + ], + "loc": { + "start": { + "line": 255, + "column": 12 + }, + "end": { + "line": 255, + "column": 44 + } + } + } + ], + "range": [ + 7036, + 7213 + ], + "loc": { + "start": { + "line": 249, + "column": 30 + }, + "end": { + "line": 256, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7030, + 7213 + ], + "loc": { + "start": { + "line": 249, + "column": 24 + }, + "end": { + "line": 256, + "column": 9 + } + } + }, + { + "type": "Identifier", + "name": "d", + "range": [ + 7215, + 7216 + ], + "loc": { + "start": { + "line": 256, + "column": 11 + }, + "end": { + "line": 256, + "column": 12 + } + } + } + ], + "range": [ + 7014, + 7217 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 256, + "column": 13 + } + } + }, + "range": [ + 7014, + 7218 + ], + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 256, + "column": 14 + } + } + } + ], + "range": [ + 6854, + 7224 + ], + "loc": { + "start": { + "line": 241, + "column": 20 + }, + "end": { + "line": 257, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 6845, + 7224 + ], + "loc": { + "start": { + "line": 241, + "column": 11 + }, + "end": { + "line": 257, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 6838, + 7224 + ], + "loc": { + "start": { + "line": 241, + "column": 4 + }, + "end": { + "line": 257, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Display status message\n * @param {String} [t=''] Message to be displayed\n ", + "range": [ + 6738, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 240, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy StatusBar instance\n ", + "range": [ + 7230, + 7275 + ], + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 261, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 7280, + 7287 + ], + "loc": { + "start": { + "line": 262, + "column": 4 + }, + "end": { + "line": 262, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7305, + 7309 + ], + "loc": { + "start": { + "line": 263, + "column": 13 + }, + "end": { + "line": 263, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 7310, + 7321 + ], + "loc": { + "start": { + "line": 263, + "column": 18 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "range": [ + 7305, + 7321 + ], + "loc": { + "start": { + "line": 263, + "column": 13 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 7304, + 7321 + ], + "loc": { + "start": { + "line": 263, + "column": 12 + }, + "end": { + "line": 263, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 7337, + 7344 + ], + "loc": { + "start": { + "line": 264, + "column": 12 + }, + "end": { + "line": 264, + "column": 19 + } + } + } + ], + "range": [ + 7323, + 7354 + ], + "loc": { + "start": { + "line": 263, + "column": 31 + }, + "end": { + "line": 265, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7300, + 7354 + ], + "loc": { + "start": { + "line": 263, + "column": 8 + }, + "end": { + "line": 265, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7368, + 7375 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7378, + 7382 + ], + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7383, + 7390 + ], + "loc": { + "start": { + "line": 267, + "column": 27 + }, + "end": { + "line": 267, + "column": 34 + } + } + }, + "range": [ + 7378, + 7390 + ], + "loc": { + "start": { + "line": 267, + "column": 22 + }, + "end": { + "line": 267, + "column": 34 + } + } + }, + "range": [ + 7368, + 7390 + ], + "loc": { + "start": { + "line": 267, + "column": 12 + }, + "end": { + "line": 267, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 7364, + 7391 + ], + "loc": { + "start": { + "line": 267, + "column": 8 + }, + "end": { + "line": 267, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7401, + 7405 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 7406, + 7415 + ], + "loc": { + "start": { + "line": 269, + "column": 13 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + "range": [ + 7401, + 7415 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 7416, + 7425 + ], + "loc": { + "start": { + "line": 269, + "column": 23 + }, + "end": { + "line": 269, + "column": 32 + } + } + }, + "range": [ + 7401, + 7425 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 7428, + 7430 + ], + "loc": { + "start": { + "line": 269, + "column": 35 + }, + "end": { + "line": 269, + "column": 37 + } + } + }, + "range": [ + 7401, + 7430 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 37 + } + } + }, + "range": [ + 7401, + 7431 + ], + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7445, + 7449 + ], + "loc": { + "start": { + "line": 270, + "column": 13 + }, + "end": { + "line": 270, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "targetId", + "range": [ + 7450, + 7458 + ], + "loc": { + "start": { + "line": 270, + "column": 18 + }, + "end": { + "line": 270, + "column": 26 + } + } + }, + "range": [ + 7445, + 7458 + ], + "loc": { + "start": { + "line": 270, + "column": 13 + }, + "end": { + "line": 270, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 7444, + 7458 + ], + "loc": { + "start": { + "line": 270, + "column": 12 + }, + "end": { + "line": 270, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 7474, + 7483 + ], + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 21 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7484, + 7488 + ], + "loc": { + "start": { + "line": 271, + "column": 22 + }, + "end": { + "line": 271, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 7489, + 7498 + ], + "loc": { + "start": { + "line": 271, + "column": 27 + }, + "end": { + "line": 271, + "column": 36 + } + } + }, + "range": [ + 7484, + 7498 + ], + "loc": { + "start": { + "line": 271, + "column": 22 + }, + "end": { + "line": 271, + "column": 36 + } + } + } + ], + "range": [ + 7474, + 7499 + ], + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 37 + } + } + }, + "range": [ + 7474, + 7500 + ], + "loc": { + "start": { + "line": 271, + "column": 12 + }, + "end": { + "line": 271, + "column": 38 + } + } + } + ], + "range": [ + 7460, + 7510 + ], + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 272, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 7440, + 7510 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 272, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7519, + 7523 + ], + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "labelContainer", + "range": [ + 7524, + 7538 + ], + "loc": { + "start": { + "line": 273, + "column": 13 + }, + "end": { + "line": 273, + "column": 27 + } + } + }, + "range": [ + 7519, + 7538 + ], + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7541, + 7545 + ], + "loc": { + "start": { + "line": 273, + "column": 30 + }, + "end": { + "line": 273, + "column": 34 + } + } + }, + "range": [ + 7519, + 7545 + ], + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 34 + } + } + }, + "range": [ + 7519, + 7546 + ], + "loc": { + "start": { + "line": 273, + "column": 8 + }, + "end": { + "line": 273, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7555, + 7559 + ], + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgContainer", + "range": [ + 7560, + 7572 + ], + "loc": { + "start": { + "line": 274, + "column": 13 + }, + "end": { + "line": 274, + "column": 25 + } + } + }, + "range": [ + 7555, + 7572 + ], + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7575, + 7579 + ], + "loc": { + "start": { + "line": 274, + "column": 28 + }, + "end": { + "line": 274, + "column": 32 + } + } + }, + "range": [ + 7555, + 7579 + ], + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 32 + } + } + }, + "range": [ + 7555, + 7580 + ], + "loc": { + "start": { + "line": 274, + "column": 8 + }, + "end": { + "line": 274, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7589, + 7593 + ], + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "container", + "range": [ + 7594, + 7603 + ], + "loc": { + "start": { + "line": 275, + "column": 13 + }, + "end": { + "line": 275, + "column": 22 + } + } + }, + "range": [ + 7589, + 7603 + ], + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 7606, + 7610 + ], + "loc": { + "start": { + "line": 275, + "column": 25 + }, + "end": { + "line": 275, + "column": 29 + } + } + }, + "range": [ + 7589, + 7610 + ], + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 29 + } + } + }, + "range": [ + 7589, + 7611 + ], + "loc": { + "start": { + "line": 275, + "column": 8 + }, + "end": { + "line": 275, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 7621, + 7645 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7654, + 7661 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 7662, + 7665 + ], + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 19 + } + } + }, + "range": [ + 7654, + 7665 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 7667, + 7685 + ], + "loc": { + "start": { + "line": 278, + "column": 21 + }, + "end": { + "line": 278, + "column": 39 + } + } + } + ], + "range": [ + 7666, + 7686 + ], + "loc": { + "start": { + "line": 278, + "column": 20 + }, + "end": { + "line": 278, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7694, + 7698 + ], + "loc": { + "start": { + "line": 278, + "column": 48 + }, + "end": { + "line": 278, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 7699, + 7706 + ], + "loc": { + "start": { + "line": 278, + "column": 53 + }, + "end": { + "line": 278, + "column": 60 + } + } + }, + "range": [ + 7694, + 7706 + ], + "loc": { + "start": { + "line": 278, + "column": 48 + }, + "end": { + "line": 278, + "column": 60 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7707, + 7711 + ], + "loc": { + "start": { + "line": 278, + "column": 61 + }, + "end": { + "line": 278, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgFilter", + "range": [ + 7712, + 7721 + ], + "loc": { + "start": { + "line": 278, + "column": 66 + }, + "end": { + "line": 278, + "column": 75 + } + } + }, + "range": [ + 7707, + 7721 + ], + "loc": { + "start": { + "line": 278, + "column": 61 + }, + "end": { + "line": 278, + "column": 75 + } + } + } + ], + "range": [ + 7694, + 7722 + ], + "loc": { + "start": { + "line": 278, + "column": 48 + }, + "end": { + "line": 278, + "column": 76 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 7688, + 7722 + ], + "loc": { + "start": { + "line": 278, + "column": 42 + }, + "end": { + "line": 278, + "column": 76 + } + } + } + ], + "range": [ + 7654, + 7723 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 77 + } + } + }, + "range": [ + 7654, + 7724 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 78 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 7621, + 7645 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7733, + 7740 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 7741, + 7744 + ], + "loc": { + "start": { + "line": 279, + "column": 16 + }, + "end": { + "line": 279, + "column": 19 + } + } + }, + "range": [ + 7733, + 7744 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 279, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-populating-filter", + "raw": "'before-populating-filter'", + "range": [ + 7746, + 7772 + ], + "loc": { + "start": { + "line": 279, + "column": 21 + }, + "end": { + "line": 279, + "column": 47 + } + } + } + ], + "range": [ + 7745, + 7773 + ], + "loc": { + "start": { + "line": 279, + "column": 20 + }, + "end": { + "line": 279, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7793, + 7797 + ], + "loc": { + "start": { + "line": 280, + "column": 18 + }, + "end": { + "line": 280, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 7798, + 7805 + ], + "loc": { + "start": { + "line": 280, + "column": 23 + }, + "end": { + "line": 280, + "column": 30 + } + } + }, + "range": [ + 7793, + 7805 + ], + "loc": { + "start": { + "line": 280, + "column": 18 + }, + "end": { + "line": 280, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7806, + 7810 + ], + "loc": { + "start": { + "line": 280, + "column": 31 + }, + "end": { + "line": 280, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgPopulate", + "range": [ + 7811, + 7822 + ], + "loc": { + "start": { + "line": 280, + "column": 36 + }, + "end": { + "line": 280, + "column": 47 + } + } + }, + "range": [ + 7806, + 7822 + ], + "loc": { + "start": { + "line": 280, + "column": 31 + }, + "end": { + "line": 280, + "column": 47 + } + } + } + ], + "range": [ + 7793, + 7823 + ], + "loc": { + "start": { + "line": 280, + "column": 18 + }, + "end": { + "line": 280, + "column": 48 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 7787, + 7823 + ], + "loc": { + "start": { + "line": 280, + "column": 12 + }, + "end": { + "line": 280, + "column": 48 + } + } + } + ], + "range": [ + 7733, + 7824 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 280, + "column": 49 + } + } + }, + "range": [ + 7733, + 7825 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 280, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7834, + 7841 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 281, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 7842, + 7845 + ], + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 19 + } + } + }, + "range": [ + 7834, + 7845 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 281, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-page-change", + "raw": "'before-page-change'", + "range": [ + 7847, + 7867 + ], + "loc": { + "start": { + "line": 281, + "column": 21 + }, + "end": { + "line": 281, + "column": 41 + } + } + } + ], + "range": [ + 7846, + 7868 + ], + "loc": { + "start": { + "line": 281, + "column": 20 + }, + "end": { + "line": 281, + "column": 42 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7888, + 7892 + ], + "loc": { + "start": { + "line": 282, + "column": 18 + }, + "end": { + "line": 282, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 7893, + 7900 + ], + "loc": { + "start": { + "line": 282, + "column": 23 + }, + "end": { + "line": 282, + "column": 30 + } + } + }, + "range": [ + 7888, + 7900 + ], + "loc": { + "start": { + "line": 282, + "column": 18 + }, + "end": { + "line": 282, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7901, + 7905 + ], + "loc": { + "start": { + "line": 282, + "column": 31 + }, + "end": { + "line": 282, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangePage", + "range": [ + 7906, + 7919 + ], + "loc": { + "start": { + "line": 282, + "column": 36 + }, + "end": { + "line": 282, + "column": 49 + } + } + }, + "range": [ + 7901, + 7919 + ], + "loc": { + "start": { + "line": 282, + "column": 31 + }, + "end": { + "line": 282, + "column": 49 + } + } + } + ], + "range": [ + 7888, + 7920 + ], + "loc": { + "start": { + "line": 282, + "column": 18 + }, + "end": { + "line": 282, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 7882, + 7920 + ], + "loc": { + "start": { + "line": 282, + "column": 12 + }, + "end": { + "line": 282, + "column": 50 + } + } + } + ], + "range": [ + 7834, + 7921 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 282, + "column": 51 + } + } + }, + "range": [ + 7834, + 7922 + ], + "loc": { + "start": { + "line": 281, + "column": 8 + }, + "end": { + "line": 282, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 7931, + 7938 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 7939, + 7942 + ], + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 19 + } + } + }, + "range": [ + 7931, + 7942 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-clearing-filters", + "raw": "'before-clearing-filters'", + "range": [ + 7944, + 7969 + ], + "loc": { + "start": { + "line": 283, + "column": 21 + }, + "end": { + "line": 283, + "column": 46 + } + } + } + ], + "range": [ + 7943, + 7970 + ], + "loc": { + "start": { + "line": 283, + "column": 20 + }, + "end": { + "line": 283, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7990, + 7994 + ], + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 7995, + 8002 + ], + "loc": { + "start": { + "line": 284, + "column": 23 + }, + "end": { + "line": 284, + "column": 30 + } + } + }, + "range": [ + 7990, + 8002 + ], + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8003, + 8007 + ], + "loc": { + "start": { + "line": 284, + "column": 31 + }, + "end": { + "line": 284, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgClear", + "range": [ + 8008, + 8016 + ], + "loc": { + "start": { + "line": 284, + "column": 36 + }, + "end": { + "line": 284, + "column": 44 + } + } + }, + "range": [ + 8003, + 8016 + ], + "loc": { + "start": { + "line": 284, + "column": 31 + }, + "end": { + "line": 284, + "column": 44 + } + } + } + ], + "range": [ + 7990, + 8017 + ], + "loc": { + "start": { + "line": 284, + "column": 18 + }, + "end": { + "line": 284, + "column": 45 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 7984, + 8017 + ], + "loc": { + "start": { + "line": 284, + "column": 12 + }, + "end": { + "line": 284, + "column": 45 + } + } + } + ], + "range": [ + 7931, + 8018 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 284, + "column": 46 + } + } + }, + "range": [ + 7931, + 8019 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 284, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8028, + 8035 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8036, + 8039 + ], + "loc": { + "start": { + "line": 285, + "column": 16 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + "range": [ + 8028, + 8039 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 285, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-page-length-change", + "raw": "'before-page-length-change'", + "range": [ + 8041, + 8068 + ], + "loc": { + "start": { + "line": 285, + "column": 21 + }, + "end": { + "line": 285, + "column": 48 + } + } + } + ], + "range": [ + 8040, + 8069 + ], + "loc": { + "start": { + "line": 285, + "column": 20 + }, + "end": { + "line": 285, + "column": 49 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8089, + 8093 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8094, + 8101 + ], + "loc": { + "start": { + "line": 286, + "column": 23 + }, + "end": { + "line": 286, + "column": 30 + } + } + }, + "range": [ + 8089, + 8101 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8102, + 8106 + ], + "loc": { + "start": { + "line": 286, + "column": 31 + }, + "end": { + "line": 286, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgChangeResults", + "range": [ + 8107, + 8123 + ], + "loc": { + "start": { + "line": 286, + "column": 36 + }, + "end": { + "line": 286, + "column": 52 + } + } + }, + "range": [ + 8102, + 8123 + ], + "loc": { + "start": { + "line": 286, + "column": 31 + }, + "end": { + "line": 286, + "column": 52 + } + } + } + ], + "range": [ + 8089, + 8124 + ], + "loc": { + "start": { + "line": 286, + "column": 18 + }, + "end": { + "line": 286, + "column": 53 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8083, + 8124 + ], + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 53 + } + } + } + ], + "range": [ + 8028, + 8125 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 286, + "column": 54 + } + } + }, + "range": [ + 8028, + 8126 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 286, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8135, + 8142 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8143, + 8146 + ], + "loc": { + "start": { + "line": 287, + "column": 16 + }, + "end": { + "line": 287, + "column": 19 + } + } + }, + "range": [ + 8135, + 8146 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-reset-page", + "raw": "'before-reset-page'", + "range": [ + 8148, + 8167 + ], + "loc": { + "start": { + "line": 287, + "column": 21 + }, + "end": { + "line": 287, + "column": 40 + } + } + } + ], + "range": [ + 8147, + 8168 + ], + "loc": { + "start": { + "line": 287, + "column": 20 + }, + "end": { + "line": 287, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8188, + 8192 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8193, + 8200 + ], + "loc": { + "start": { + "line": 288, + "column": 17 + }, + "end": { + "line": 288, + "column": 24 + } + } + }, + "range": [ + 8188, + 8200 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8201, + 8205 + ], + "loc": { + "start": { + "line": 288, + "column": 25 + }, + "end": { + "line": 288, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPage", + "range": [ + 8206, + 8218 + ], + "loc": { + "start": { + "line": 288, + "column": 30 + }, + "end": { + "line": 288, + "column": 42 + } + } + }, + "range": [ + 8201, + 8218 + ], + "loc": { + "start": { + "line": 288, + "column": 25 + }, + "end": { + "line": 288, + "column": 42 + } + } + } + ], + "range": [ + 8188, + 8219 + ], + "loc": { + "start": { + "line": 288, + "column": 12 + }, + "end": { + "line": 288, + "column": 43 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8170, + 8219 + ], + "loc": { + "start": { + "line": 287, + "column": 43 + }, + "end": { + "line": 288, + "column": 43 + } + } + } + ], + "range": [ + 8135, + 8220 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 288, + "column": 44 + } + } + }, + "range": [ + 8135, + 8221 + ], + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 288, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8230, + 8237 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8238, + 8241 + ], + "loc": { + "start": { + "line": 289, + "column": 16 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + "range": [ + 8230, + 8241 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-reset-page-length", + "raw": "'before-reset-page-length'", + "range": [ + 8243, + 8269 + ], + "loc": { + "start": { + "line": 289, + "column": 21 + }, + "end": { + "line": 289, + "column": 47 + } + } + } + ], + "range": [ + 8242, + 8270 + ], + "loc": { + "start": { + "line": 289, + "column": 20 + }, + "end": { + "line": 289, + "column": 48 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8290, + 8294 + ], + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8295, + 8302 + ], + "loc": { + "start": { + "line": 290, + "column": 23 + }, + "end": { + "line": 290, + "column": 30 + } + } + }, + "range": [ + 8290, + 8302 + ], + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8303, + 8307 + ], + "loc": { + "start": { + "line": 290, + "column": 31 + }, + "end": { + "line": 290, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgResetPageLength", + "range": [ + 8308, + 8326 + ], + "loc": { + "start": { + "line": 290, + "column": 36 + }, + "end": { + "line": 290, + "column": 54 + } + } + }, + "range": [ + 8303, + 8326 + ], + "loc": { + "start": { + "line": 290, + "column": 31 + }, + "end": { + "line": 290, + "column": 54 + } + } + } + ], + "range": [ + 8290, + 8327 + ], + "loc": { + "start": { + "line": 290, + "column": 18 + }, + "end": { + "line": 290, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8284, + 8327 + ], + "loc": { + "start": { + "line": 290, + "column": 12 + }, + "end": { + "line": 290, + "column": 55 + } + } + } + ], + "range": [ + 8230, + 8328 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 290, + "column": 56 + } + } + }, + "range": [ + 8230, + 8329 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 290, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8338, + 8345 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8346, + 8349 + ], + "loc": { + "start": { + "line": 291, + "column": 16 + }, + "end": { + "line": 291, + "column": 19 + } + } + }, + "range": [ + 8338, + 8349 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 291, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-loading-extensions", + "raw": "'before-loading-extensions'", + "range": [ + 8351, + 8378 + ], + "loc": { + "start": { + "line": 291, + "column": 21 + }, + "end": { + "line": 291, + "column": 48 + } + } + } + ], + "range": [ + 8350, + 8379 + ], + "loc": { + "start": { + "line": 291, + "column": 20 + }, + "end": { + "line": 291, + "column": 49 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8399, + 8403 + ], + "loc": { + "start": { + "line": 292, + "column": 18 + }, + "end": { + "line": 292, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8404, + 8411 + ], + "loc": { + "start": { + "line": 292, + "column": 23 + }, + "end": { + "line": 292, + "column": 30 + } + } + }, + "range": [ + 8399, + 8411 + ], + "loc": { + "start": { + "line": 292, + "column": 18 + }, + "end": { + "line": 292, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8412, + 8416 + ], + "loc": { + "start": { + "line": 292, + "column": 31 + }, + "end": { + "line": 292, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadExtensions", + "range": [ + 8417, + 8434 + ], + "loc": { + "start": { + "line": 292, + "column": 36 + }, + "end": { + "line": 292, + "column": 53 + } + } + }, + "range": [ + 8412, + 8434 + ], + "loc": { + "start": { + "line": 292, + "column": 31 + }, + "end": { + "line": 292, + "column": 53 + } + } + } + ], + "range": [ + 8399, + 8435 + ], + "loc": { + "start": { + "line": 292, + "column": 18 + }, + "end": { + "line": 292, + "column": 54 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8393, + 8435 + ], + "loc": { + "start": { + "line": 292, + "column": 12 + }, + "end": { + "line": 292, + "column": 54 + } + } + } + ], + "range": [ + 8338, + 8436 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 292, + "column": 55 + } + } + }, + "range": [ + 8338, + 8437 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 292, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8446, + 8453 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8454, + 8457 + ], + "loc": { + "start": { + "line": 293, + "column": 16 + }, + "end": { + "line": 293, + "column": 19 + } + } + }, + "range": [ + 8446, + 8457 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 293, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "before-loading-themes", + "raw": "'before-loading-themes'", + "range": [ + 8459, + 8482 + ], + "loc": { + "start": { + "line": 293, + "column": 21 + }, + "end": { + "line": 293, + "column": 44 + } + } + } + ], + "range": [ + 8458, + 8483 + ], + "loc": { + "start": { + "line": 293, + "column": 20 + }, + "end": { + "line": 293, + "column": 45 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8503, + 8507 + ], + "loc": { + "start": { + "line": 294, + "column": 18 + }, + "end": { + "line": 294, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8508, + 8515 + ], + "loc": { + "start": { + "line": 294, + "column": 23 + }, + "end": { + "line": 294, + "column": 30 + } + } + }, + "range": [ + 8503, + 8515 + ], + "loc": { + "start": { + "line": 294, + "column": 18 + }, + "end": { + "line": 294, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8516, + 8520 + ], + "loc": { + "start": { + "line": 294, + "column": 31 + }, + "end": { + "line": 294, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "msgLoadThemes", + "range": [ + 8521, + 8534 + ], + "loc": { + "start": { + "line": 294, + "column": 36 + }, + "end": { + "line": 294, + "column": 49 + } + } + }, + "range": [ + 8516, + 8534 + ], + "loc": { + "start": { + "line": 294, + "column": 31 + }, + "end": { + "line": 294, + "column": 49 + } + } + } + ], + "range": [ + 8503, + 8535 + ], + "loc": { + "start": { + "line": 294, + "column": 18 + }, + "end": { + "line": 294, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8497, + 8535 + ], + "loc": { + "start": { + "line": 294, + "column": 12 + }, + "end": { + "line": 294, + "column": 50 + } + } + } + ], + "range": [ + 8446, + 8536 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 294, + "column": 51 + } + } + }, + "range": [ + 8446, + 8537 + ], + "loc": { + "start": { + "line": 293, + "column": 8 + }, + "end": { + "line": 294, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 8547, + 8554 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 8555, + 8558 + ], + "loc": { + "start": { + "line": 296, + "column": 16 + }, + "end": { + "line": 296, + "column": 19 + } + } + }, + "range": [ + 8547, + 8558 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "EVENTS", + "range": [ + 8559, + 8565 + ], + "loc": { + "start": { + "line": 296, + "column": 20 + }, + "end": { + "line": 296, + "column": 26 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8573, + 8577 + ], + "loc": { + "start": { + "line": 296, + "column": 34 + }, + "end": { + "line": 296, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "message", + "range": [ + 8578, + 8585 + ], + "loc": { + "start": { + "line": 296, + "column": 39 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + "range": [ + 8573, + 8585 + ], + "loc": { + "start": { + "line": 296, + "column": 34 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 8586, + 8588 + ], + "loc": { + "start": { + "line": 296, + "column": 47 + }, + "end": { + "line": 296, + "column": 49 + } + } + } + ], + "range": [ + 8573, + 8589 + ], + "loc": { + "start": { + "line": 296, + "column": 34 + }, + "end": { + "line": 296, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 8567, + 8589 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 50 + } + } + } + ], + "range": [ + 8547, + 8590 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 51 + } + } + }, + "range": [ + 8547, + 8591 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 52 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8601, + 8605 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 8606, + 8617 + ], + "loc": { + "start": { + "line": 298, + "column": 13 + }, + "end": { + "line": 298, + "column": 24 + } + } + }, + "range": [ + 8601, + 8617 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 8620, + 8625 + ], + "loc": { + "start": { + "line": 298, + "column": 27 + }, + "end": { + "line": 298, + "column": 32 + } + } + }, + "range": [ + 8601, + 8625 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 32 + } + } + }, + "range": [ + 8601, + 8626 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 298, + "column": 33 + } + } + } + ], + "range": [ + 7290, + 8632 + ], + "loc": { + "start": { + "line": 262, + "column": 14 + }, + "end": { + "line": 299, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 7287, + 8632 + ], + "loc": { + "start": { + "line": 262, + "column": 11 + }, + "end": { + "line": 299, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 7280, + 8632 + ], + "loc": { + "start": { + "line": 262, + "column": 4 + }, + "end": { + "line": 299, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy StatusBar instance\n ", + "range": [ + 7230, + 7275 + ], + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 261, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 620, + 8634 + ], + "loc": { + "start": { + "line": 25, + "column": 39 + }, + "end": { + "line": 300, + "column": 1 + } + } + }, + "range": [ + 588, + 8634 + ], + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 300, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n ", + "range": [ + 493, + 580 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 581, + 8634 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 300, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n ", + "range": [ + 493, + 580 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 8634 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 300, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n ", + "range": [ + 493, + 580 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n ", + "range": [ + 627, + 730 + ], + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Configuration object", + "range": [ + 794, + 817 + ], + "loc": { + "start": { + "line": 34, + "column": 8 + }, + "end": { + "line": 34, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of custom container element\n * @type {String}\n ", + "range": [ + 873, + 956 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 40, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1022, + 1120 + ], + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 47, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1161, + 1267 + ], + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 54, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Label container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1311, + 1415 + ], + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 61, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text preceding status message\n * @type {String}\n ", + "range": [ + 1461, + 1543 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for container element\n * @type {String}\n ", + "range": [ + 1598, + 1682 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 73, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n ", + "range": [ + 1752, + 1868 + ], + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 80, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before the message is displayed\n * @type {Function}\n ", + "range": [ + 1904, + 2005 + ], + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after the message is displayed\n * @type {Function}\n ", + "range": [ + 2090, + 2190 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 92, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing upon filtering\n * @type {String}\n ", + "range": [ + 2273, + 2358 + ], + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 98, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when a drop-down filter is populated\n * @type {String}\n ", + "range": [ + 2441, + 2548 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 104, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when a checklist filter is populated\n * @type {String}\n ", + "range": [ + 2638, + 2745 + ], + "loc": { + "start": { + "line": 107, + "column": 8 + }, + "end": { + "line": 110, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when a pagination page is changed\n * @type {String}\n ", + "range": [ + 2864, + 2968 + ], + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 117, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when filters are cleared\n * @type {String}\n ", + "range": [ + 3080, + 3175 + ], + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 124, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when the page length is changed\n * @type {String}\n ", + "range": [ + 3258, + 3360 + ], + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 130, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when the page is re-set\n * @type {String}\n ", + "range": [ + 3481, + 3575 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 137, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when the page length is re-set\n * @type {String}\n ", + "range": [ + 3666, + 3767 + ], + "loc": { + "start": { + "line": 140, + "column": 8 + }, + "end": { + "line": 143, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing upon column sorting\n * @type {String}\n ", + "range": [ + 3890, + 3980 + ], + "loc": { + "start": { + "line": 147, + "column": 8 + }, + "end": { + "line": 150, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when extensions are loading\n * @type {String}\n ", + "range": [ + 4057, + 4155 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 156, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Message appearing when themes are loading\n * @type {String}\n ", + "range": [ + 4271, + 4365 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 163, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes StatusBar instance\n ", + "range": [ + 4473, + 4522 + ], + "loc": { + "start": { + "line": 168, + "column": 4 + }, + "end": { + "line": 170, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "status bar container", + "range": [ + 4670, + 4692 + ], + "loc": { + "start": { + "line": 179, + "column": 8 + }, + "end": { + "line": 179, + "column": 30 + } + } + }, + { + "type": "Line", + "value": "status bar label", + "range": [ + 4789, + 4807 + ], + "loc": { + "start": { + "line": 183, + "column": 8 + }, + "end": { + "line": 183, + "column": 26 + } + } + }, + { + "type": "Line", + "value": "preceding text", + "range": [ + 4860, + 4876 + ], + "loc": { + "start": { + "line": 185, + "column": 8 + }, + "end": { + "line": 185, + "column": 24 + } + } + }, + { + "type": "Line", + "value": " target element container", + "range": [ + 4993, + 5020 + ], + "loc": { + "start": { + "line": 189, + "column": 8 + }, + "end": { + "line": 189, + "column": 35 + } + } + }, + { + "type": "Line", + "value": "default container: 'lDiv'", + "range": [ + 5171, + 5198 + ], + "loc": { + "start": { + "line": 195, + "column": 8 + }, + "end": { + "line": 195, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " custom container, no need to append statusDiv", + "range": [ + 5401, + 5449 + ], + "loc": { + "start": { + "line": 201, + "column": 12 + }, + "end": { + "line": 201, + "column": 60 + } + } + }, + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 5688, + 5710 + ], + "loc": { + "start": { + "line": 210, + "column": 8 + }, + "end": { + "line": 210, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * @inherited\n ", + "range": [ + 6656, + 6693 + ], + "loc": { + "start": { + "line": 231, + "column": 8 + }, + "end": { + "line": 233, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Display status message\n * @param {String} [t=''] Message to be displayed\n ", + "range": [ + 6738, + 6833 + ], + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 240, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy StatusBar instance\n ", + "range": [ + 7230, + 7275 + ], + "loc": { + "start": { + "line": 259, + "column": 4 + }, + "end": { + "line": 261, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Unsubscribe to events", + "range": [ + 7621, + 7645 + ], + "loc": { + "start": { + "line": 277, + "column": 8 + }, + "end": { + "line": 277, + "column": 32 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/modules/storage.js.json b/docs/ast/source/modules/storage.js.json new file mode 100644 index 00000000..7f980318 --- /dev/null +++ b/docs/ast/source/modules/storage.js.json @@ -0,0 +1,7536 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "local": { + "type": "Identifier", + "name": "Cookie", + "range": [ + 7, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 7, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 13 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../cookie", + "raw": "'../cookie'", + "range": [ + 19, + 30 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 30 + } + } + }, + "range": [ + 0, + 31 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 40, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 40, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 40, + 44 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "../root", + "raw": "'../root'", + "range": [ + 51, + 60 + ], + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + "range": [ + 32, + 61 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "JSON", + "range": [ + 69, + 73 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 76, + 80 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "JSON", + "range": [ + 81, + 85 + ], + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 76, + 85 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + "range": [ + 69, + 85 + ], + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 22 + } + } + } + ], + "kind": "const", + "range": [ + 63, + 86 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 23 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "localStorage", + "range": [ + 93, + 105 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 108, + 112 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "localStorage", + "range": [ + 113, + 125 + ], + "loc": { + "start": { + "line": 5, + "column": 26 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + "range": [ + 108, + 125 + ], + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + "range": [ + 93, + 125 + ], + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 38 + } + } + } + ], + "kind": "const", + "range": [ + 87, + 126 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "location", + "range": [ + 133, + 141 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 144, + 148 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "location", + "range": [ + 149, + 157 + ], + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + "range": [ + 144, + 157 + ], + "loc": { + "start": { + "line": 6, + "column": 17 + }, + "end": { + "line": 6, + "column": 30 + } + } + }, + "range": [ + 133, + 157 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 30 + } + } + } + ], + "kind": "const", + "range": [ + 127, + 158 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has Storage feature\n ", + "range": [ + 160, + 208 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasStorage", + "range": [ + 222, + 232 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "in", + "left": { + "type": "Literal", + "value": "Storage", + "raw": "'Storage'", + "range": [ + 254, + 263 + ], + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "root", + "range": [ + 267, + 271 + ], + "loc": { + "start": { + "line": 12, + "column": 24 + }, + "end": { + "line": 12, + "column": 28 + } + } + }, + "range": [ + 254, + 271 + ], + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 28 + } + } + }, + "range": [ + 247, + 272 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 29 + } + } + } + ], + "range": [ + 241, + 274 + ], + "loc": { + "start": { + "line": 11, + "column": 32 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 235, + 274 + ], + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 13, + "column": 1 + } + } + }, + "range": [ + 222, + 274 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 13, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 216, + 275 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 13, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has Storage feature\n ", + "range": [ + 160, + 208 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n ", + "range": [ + 277, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 209, + 275 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has Storage feature\n ", + "range": [ + 160, + 208 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n ", + "range": [ + 277, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "Storage", + "range": [ + 396, + 403 + ], + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 518, + 529 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 530, + 535 + ], + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 641, + 645 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 646, + 651 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "range": [ + 641, + 651 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + "right": { + "type": "Identifier", + "name": "state", + "range": [ + 654, + 659 + ], + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 641, + 659 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + "range": [ + 641, + 660 + ], + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * State object\n * @type {State}\n * @private\n ", + "range": [ + 548, + 632 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter object\n * @type {TableFilter}\n * @private\n ", + "range": [ + 670, + 766 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 775, + 779 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 780, + 782 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + "range": [ + 775, + 782 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 785, + 790 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 791, + 793 + ], + "loc": { + "start": { + "line": 42, + "column": 24 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + "range": [ + 785, + 793 + ], + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + "range": [ + 775, + 793 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 26 + } + } + }, + "range": [ + 775, + 794 + ], + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * TableFilter object\n * @type {TableFilter}\n * @private\n ", + "range": [ + 670, + 766 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist with local storage\n * @type {Boolean}\n * @private\n ", + "range": [ + 804, + 904 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 913, + 917 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 918, + 936 + ], + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + "range": [ + 913, + 936 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 31 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 939, + 944 + ], + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 945, + 963 + ], + "loc": { + "start": { + "line": 49, + "column": 40 + }, + "end": { + "line": 49, + "column": 58 + } + } + }, + "range": [ + 939, + 963 + ], + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 58 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "hasStorage", + "range": [ + 967, + 977 + ], + "loc": { + "start": { + "line": 49, + "column": 62 + }, + "end": { + "line": 49, + "column": 72 + } + } + }, + "arguments": [], + "range": [ + 967, + 979 + ], + "loc": { + "start": { + "line": 49, + "column": 62 + }, + "end": { + "line": 49, + "column": 74 + } + } + }, + "range": [ + 939, + 979 + ], + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 49, + "column": 74 + } + } + }, + "range": [ + 913, + 979 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 74 + } + } + }, + "range": [ + 913, + 980 + ], + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist with local storage\n * @type {Boolean}\n * @private\n ", + "range": [ + 804, + 904 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persist with cookie\n * @type {Boolean}\n * @private\n ", + "range": [ + 990, + 1083 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1092, + 1096 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableCookie", + "range": [ + 1097, + 1109 + ], + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + "range": [ + 1092, + 1109 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 1112, + 1117 + ], + "loc": { + "start": { + "line": 56, + "column": 28 + }, + "end": { + "line": 56, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableCookie", + "range": [ + 1118, + 1130 + ], + "loc": { + "start": { + "line": 56, + "column": 34 + }, + "end": { + "line": 56, + "column": 46 + } + } + }, + "range": [ + 1112, + 1130 + ], + "loc": { + "start": { + "line": 56, + "column": 28 + }, + "end": { + "line": 56, + "column": 46 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1135, + 1139 + ], + "loc": { + "start": { + "line": 56, + "column": 51 + }, + "end": { + "line": 56, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 1140, + 1158 + ], + "loc": { + "start": { + "line": 56, + "column": 56 + }, + "end": { + "line": 56, + "column": 74 + } + } + }, + "range": [ + 1135, + 1158 + ], + "loc": { + "start": { + "line": 56, + "column": 51 + }, + "end": { + "line": 56, + "column": 74 + } + } + }, + "prefix": true, + "range": [ + 1134, + 1158 + ], + "loc": { + "start": { + "line": 56, + "column": 50 + }, + "end": { + "line": 56, + "column": 74 + } + } + }, + "range": [ + 1112, + 1158 + ], + "loc": { + "start": { + "line": 56, + "column": 28 + }, + "end": { + "line": 56, + "column": 74 + } + } + }, + "range": [ + 1092, + 1158 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 74 + } + } + }, + "range": [ + 1092, + 1159 + ], + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persist with cookie\n * @type {Boolean}\n * @private\n ", + "range": [ + 990, + 1083 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Emitter object\n * @type {Emitter}\n * @private\n ", + "range": [ + 1169, + 1257 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1266, + 1270 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1271, + 1278 + ], + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 20 + } + } + }, + "range": [ + 1266, + 1278 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 1281, + 1286 + ], + "loc": { + "start": { + "line": 63, + "column": 23 + }, + "end": { + "line": 63, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1287, + 1294 + ], + "loc": { + "start": { + "line": 63, + "column": 29 + }, + "end": { + "line": 63, + "column": 36 + } + } + }, + "range": [ + 1281, + 1294 + ], + "loc": { + "start": { + "line": 63, + "column": 23 + }, + "end": { + "line": 63, + "column": 36 + } + } + }, + "range": [ + 1266, + 1294 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 36 + } + } + }, + "range": [ + 1266, + 1295 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Emitter object\n * @type {Emitter}\n * @private\n ", + "range": [ + 1169, + 1257 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n ", + "range": [ + 1305, + 1420 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 69, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1429, + 1433 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "duration", + "range": [ + 1434, + 1442 + ], + "loc": { + "start": { + "line": 70, + "column": 13 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + "range": [ + 1429, + 1442 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "state", + "range": [ + 1445, + 1450 + ], + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "cookieDuration", + "range": [ + 1451, + 1465 + ], + "loc": { + "start": { + "line": 70, + "column": 30 + }, + "end": { + "line": 70, + "column": 44 + } + } + }, + "range": [ + 1445, + 1465 + ], + "loc": { + "start": { + "line": 70, + "column": 24 + }, + "end": { + "line": 70, + "column": 44 + } + } + }, + "range": [ + 1429, + 1465 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 44 + } + } + }, + "range": [ + 1429, + 1466 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n ", + "range": [ + 1305, + 1420 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 69, + "column": 11 + } + } + } + ] + } + ], + "range": [ + 537, + 1472 + ], + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 529, + 1472 + ], + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 71, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 518, + 1472 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 71, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n ", + "range": [ + 411, + 513 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 27, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initializes the Storage object\n ", + "range": [ + 1479, + 1528 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 76, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 1533, + 1537 + ], + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1550, + 1554 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1555, + 1562 + ], + "loc": { + "start": { + "line": 78, + "column": 13 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + "range": [ + 1550, + 1562 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1563, + 1565 + ], + "loc": { + "start": { + "line": 78, + "column": 21 + }, + "end": { + "line": 78, + "column": 23 + } + } + }, + "range": [ + 1550, + 1565 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "state-changed", + "raw": "'state-changed'", + "range": [ + 1567, + 1582 + ], + "loc": { + "start": { + "line": 78, + "column": 25 + }, + "end": { + "line": 78, + "column": 40 + } + } + } + ], + "range": [ + 1566, + 1583 + ], + "loc": { + "start": { + "line": 78, + "column": 24 + }, + "end": { + "line": 78, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 1586, + 1588 + ], + "loc": { + "start": { + "line": 78, + "column": 44 + }, + "end": { + "line": 78, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 1590, + 1595 + ], + "loc": { + "start": { + "line": 78, + "column": 48 + }, + "end": { + "line": 78, + "column": 53 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1600, + 1604 + ], + "loc": { + "start": { + "line": 78, + "column": 58 + }, + "end": { + "line": 78, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "save", + "range": [ + 1605, + 1609 + ], + "loc": { + "start": { + "line": 78, + "column": 63 + }, + "end": { + "line": 78, + "column": 67 + } + } + }, + "range": [ + 1600, + 1609 + ], + "loc": { + "start": { + "line": 78, + "column": 58 + }, + "end": { + "line": 78, + "column": 67 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1610, + 1615 + ], + "loc": { + "start": { + "line": 78, + "column": 68 + }, + "end": { + "line": 78, + "column": 73 + } + } + } + ], + "range": [ + 1600, + 1616 + ], + "loc": { + "start": { + "line": 78, + "column": 58 + }, + "end": { + "line": 78, + "column": 74 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1585, + 1616 + ], + "loc": { + "start": { + "line": 78, + "column": 43 + }, + "end": { + "line": 78, + "column": 74 + } + } + } + ], + "range": [ + 1550, + 1617 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 75 + } + } + }, + "range": [ + 1550, + 1618 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 76 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1627, + 1631 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 1632, + 1639 + ], + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + "range": [ + 1627, + 1639 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 1640, + 1642 + ], + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + "range": [ + 1627, + 1642 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "initialized", + "raw": "'initialized'", + "range": [ + 1644, + 1657 + ], + "loc": { + "start": { + "line": 79, + "column": 25 + }, + "end": { + "line": 79, + "column": 38 + } + } + } + ], + "range": [ + 1643, + 1658 + ], + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 39 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1666, + 1670 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "sync", + "range": [ + 1671, + 1675 + ], + "loc": { + "start": { + "line": 79, + "column": 52 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + "range": [ + 1666, + 1675 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 56 + } + } + }, + "arguments": [], + "range": [ + 1666, + 1677 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1660, + 1677 + ], + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 79, + "column": 58 + } + } + } + ], + "range": [ + 1627, + 1678 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 59 + } + } + }, + "range": [ + 1627, + 1679 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 60 + } + } + } + ], + "range": [ + 1540, + 1685 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1537, + 1685 + ], + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1533, + 1685 + ], + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 80, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initializes the Storage object\n ", + "range": [ + 1479, + 1528 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 76, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1691, + 1807 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "save", + "range": [ + 1812, + 1816 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 87, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1817, + 1822 + ], + "loc": { + "start": { + "line": 87, + "column": 9 + }, + "end": { + "line": 87, + "column": 14 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1838, + 1842 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 1843, + 1861 + ], + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + "range": [ + 1838, + 1861 + ], + "loc": { + "start": { + "line": 88, + "column": 12 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "localStorage", + "range": [ + 1877, + 1889 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + "property": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1890, + 1894 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 1895, + 1901 + ], + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 36 + } + } + }, + "range": [ + 1890, + 1901 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 36 + } + } + }, + "arguments": [], + "range": [ + 1890, + 1903 + ], + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 38 + } + } + }, + "range": [ + 1877, + 1904 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 1907, + 1911 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "stringify", + "range": [ + 1912, + 1921 + ], + "loc": { + "start": { + "line": 89, + "column": 47 + }, + "end": { + "line": 89, + "column": 56 + } + } + }, + "range": [ + 1907, + 1921 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 56 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 1922, + 1927 + ], + "loc": { + "start": { + "line": 89, + "column": 57 + }, + "end": { + "line": 89, + "column": 62 + } + } + } + ], + "range": [ + 1907, + 1928 + ], + "loc": { + "start": { + "line": 89, + "column": 42 + }, + "end": { + "line": 89, + "column": 63 + } + } + }, + "range": [ + 1877, + 1928 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 63 + } + } + }, + "range": [ + 1877, + 1929 + ], + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 64 + } + } + } + ], + "range": [ + 1863, + 1939 + ], + "loc": { + "start": { + "line": 88, + "column": 37 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Cookie", + "range": [ + 1959, + 1965 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "write", + "range": [ + 1966, + 1971 + ], + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + "range": [ + 1959, + 1971 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1972, + 1976 + ], + "loc": { + "start": { + "line": 91, + "column": 25 + }, + "end": { + "line": 91, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 1977, + 1983 + ], + "loc": { + "start": { + "line": 91, + "column": 30 + }, + "end": { + "line": 91, + "column": 36 + } + } + }, + "range": [ + 1972, + 1983 + ], + "loc": { + "start": { + "line": 91, + "column": 25 + }, + "end": { + "line": 91, + "column": 36 + } + } + }, + "arguments": [], + "range": [ + 1972, + 1985 + ], + "loc": { + "start": { + "line": 91, + "column": 25 + }, + "end": { + "line": 91, + "column": 38 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 1987, + 1991 + ], + "loc": { + "start": { + "line": 91, + "column": 40 + }, + "end": { + "line": 91, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "stringify", + "range": [ + 1992, + 2001 + ], + "loc": { + "start": { + "line": 91, + "column": 45 + }, + "end": { + "line": 91, + "column": 54 + } + } + }, + "range": [ + 1987, + 2001 + ], + "loc": { + "start": { + "line": 91, + "column": 40 + }, + "end": { + "line": 91, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 2002, + 2007 + ], + "loc": { + "start": { + "line": 91, + "column": 55 + }, + "end": { + "line": 91, + "column": 60 + } + } + } + ], + "range": [ + 1987, + 2008 + ], + "loc": { + "start": { + "line": 91, + "column": 40 + }, + "end": { + "line": 91, + "column": 61 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2010, + 2014 + ], + "loc": { + "start": { + "line": 91, + "column": 63 + }, + "end": { + "line": 91, + "column": 67 + } + } + }, + "property": { + "type": "Identifier", + "name": "duration", + "range": [ + 2015, + 2023 + ], + "loc": { + "start": { + "line": 91, + "column": 68 + }, + "end": { + "line": 91, + "column": 76 + } + } + }, + "range": [ + 2010, + 2023 + ], + "loc": { + "start": { + "line": 91, + "column": 63 + }, + "end": { + "line": 91, + "column": 76 + } + } + } + ], + "range": [ + 1959, + 2024 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 77 + } + } + }, + "range": [ + 1959, + 2025 + ], + "loc": { + "start": { + "line": 91, + "column": 12 + }, + "end": { + "line": 91, + "column": 78 + } + } + } + ], + "range": [ + 1945, + 2035 + ], + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 92, + "column": 9 + } + } + }, + "range": [ + 1834, + 2035 + ], + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 92, + "column": 9 + } + } + } + ], + "range": [ + 1824, + 2041 + ], + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 93, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1816, + 2041 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 93, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 1812, + 2041 + ], + "loc": { + "start": { + "line": 87, + "column": 4 + }, + "end": { + "line": 93, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1691, + 1807 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n ", + "range": [ + 2047, + 2155 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 99, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "retrieve", + "range": [ + 2160, + 2168 + ], + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 12 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 2185, + 2190 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 17 + } + } + }, + "init": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2193, + 2197 + ], + "loc": { + "start": { + "line": 101, + "column": 20 + }, + "end": { + "line": 101, + "column": 24 + } + } + }, + "range": [ + 2185, + 2197 + ], + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 2181, + 2198 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2211, + 2215 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 2216, + 2234 + ], + "loc": { + "start": { + "line": 102, + "column": 17 + }, + "end": { + "line": 102, + "column": 35 + } + } + }, + "range": [ + 2211, + 2234 + ], + "loc": { + "start": { + "line": 102, + "column": 12 + }, + "end": { + "line": 102, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "state", + "range": [ + 2250, + 2255 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "localStorage", + "range": [ + 2258, + 2270 + ], + "loc": { + "start": { + "line": 103, + "column": 20 + }, + "end": { + "line": 103, + "column": 32 + } + } + }, + "property": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2271, + 2275 + ], + "loc": { + "start": { + "line": 103, + "column": 33 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 2276, + 2282 + ], + "loc": { + "start": { + "line": 103, + "column": 38 + }, + "end": { + "line": 103, + "column": 44 + } + } + }, + "range": [ + 2271, + 2282 + ], + "loc": { + "start": { + "line": 103, + "column": 33 + }, + "end": { + "line": 103, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 2271, + 2284 + ], + "loc": { + "start": { + "line": 103, + "column": 33 + }, + "end": { + "line": 103, + "column": 46 + } + } + }, + "range": [ + 2258, + 2285 + ], + "loc": { + "start": { + "line": 103, + "column": 20 + }, + "end": { + "line": 103, + "column": 47 + } + } + }, + "range": [ + 2250, + 2285 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 47 + } + } + }, + "range": [ + 2250, + 2286 + ], + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 48 + } + } + } + ], + "range": [ + 2236, + 2296 + ], + "loc": { + "start": { + "line": 102, + "column": 37 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "state", + "range": [ + 2316, + 2321 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Cookie", + "range": [ + 2324, + 2330 + ], + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "read", + "range": [ + 2331, + 2335 + ], + "loc": { + "start": { + "line": 105, + "column": 27 + }, + "end": { + "line": 105, + "column": 31 + } + } + }, + "range": [ + 2324, + 2335 + ], + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2336, + 2340 + ], + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 2341, + 2347 + ], + "loc": { + "start": { + "line": 105, + "column": 37 + }, + "end": { + "line": 105, + "column": 43 + } + } + }, + "range": [ + 2336, + 2347 + ], + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 2336, + 2349 + ], + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 45 + } + } + } + ], + "range": [ + 2324, + 2350 + ], + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 46 + } + } + }, + "range": [ + 2316, + 2350 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 46 + } + } + }, + "range": [ + 2316, + 2351 + ], + "loc": { + "start": { + "line": 105, + "column": 12 + }, + "end": { + "line": 105, + "column": 47 + } + } + } + ], + "range": [ + 2302, + 2361 + ], + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + "range": [ + 2207, + 2361 + ], + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 106, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "state", + "range": [ + 2376, + 2381 + ], + "loc": { + "start": { + "line": 108, + "column": 13 + }, + "end": { + "line": 108, + "column": 18 + } + } + }, + "prefix": true, + "range": [ + 2375, + 2381 + ], + "loc": { + "start": { + "line": 108, + "column": 12 + }, + "end": { + "line": 108, + "column": 18 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2404, + 2408 + ], + "loc": { + "start": { + "line": 109, + "column": 19 + }, + "end": { + "line": 109, + "column": 23 + } + } + }, + "range": [ + 2397, + 2409 + ], + "loc": { + "start": { + "line": 109, + "column": 12 + }, + "end": { + "line": 109, + "column": 24 + } + } + } + ], + "range": [ + 2383, + 2419 + ], + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 110, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2371, + 2419 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 110, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 2435, + 2439 + ], + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 2440, + 2445 + ], + "loc": { + "start": { + "line": 111, + "column": 20 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + "range": [ + 2435, + 2445 + ], + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 2446, + 2451 + ], + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 31 + } + } + } + ], + "range": [ + 2435, + 2452 + ], + "loc": { + "start": { + "line": 111, + "column": 15 + }, + "end": { + "line": 111, + "column": 32 + } + } + }, + "range": [ + 2428, + 2453 + ], + "loc": { + "start": { + "line": 111, + "column": 8 + }, + "end": { + "line": 111, + "column": 33 + } + } + } + ], + "range": [ + 2171, + 2459 + ], + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2168, + 2459 + ], + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 112, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2160, + 2459 + ], + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 112, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n ", + "range": [ + 2047, + 2155 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 99, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Removes persisted state from storage\n ", + "range": [ + 2465, + 2520 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "remove", + "range": [ + 2525, + 2531 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2548, + 2552 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableLocalStorage", + "range": [ + 2553, + 2571 + ], + "loc": { + "start": { + "line": 118, + "column": 17 + }, + "end": { + "line": 118, + "column": 35 + } + } + }, + "range": [ + 2548, + 2571 + ], + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "localStorage", + "range": [ + 2587, + 2599 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeItem", + "range": [ + 2600, + 2610 + ], + "loc": { + "start": { + "line": 119, + "column": 25 + }, + "end": { + "line": 119, + "column": 35 + } + } + }, + "range": [ + 2587, + 2610 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2611, + 2615 + ], + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 2616, + 2622 + ], + "loc": { + "start": { + "line": 119, + "column": 41 + }, + "end": { + "line": 119, + "column": 47 + } + } + }, + "range": [ + 2611, + 2622 + ], + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 47 + } + } + }, + "arguments": [], + "range": [ + 2611, + 2624 + ], + "loc": { + "start": { + "line": 119, + "column": 36 + }, + "end": { + "line": 119, + "column": 49 + } + } + } + ], + "range": [ + 2587, + 2625 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 50 + } + } + }, + "range": [ + 2587, + 2626 + ], + "loc": { + "start": { + "line": 119, + "column": 12 + }, + "end": { + "line": 119, + "column": 51 + } + } + } + ], + "range": [ + 2573, + 2636 + ], + "loc": { + "start": { + "line": 118, + "column": 37 + }, + "end": { + "line": 120, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Cookie", + "range": [ + 2656, + 2662 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "remove", + "range": [ + 2663, + 2669 + ], + "loc": { + "start": { + "line": 121, + "column": 19 + }, + "end": { + "line": 121, + "column": 25 + } + } + }, + "range": [ + 2656, + 2669 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2670, + 2674 + ], + "loc": { + "start": { + "line": 121, + "column": 26 + }, + "end": { + "line": 121, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getKey", + "range": [ + 2675, + 2681 + ], + "loc": { + "start": { + "line": 121, + "column": 31 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + "range": [ + 2670, + 2681 + ], + "loc": { + "start": { + "line": 121, + "column": 26 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + "arguments": [], + "range": [ + 2670, + 2683 + ], + "loc": { + "start": { + "line": 121, + "column": 26 + }, + "end": { + "line": 121, + "column": 39 + } + } + } + ], + "range": [ + 2656, + 2684 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 40 + } + } + }, + "range": [ + 2656, + 2685 + ], + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 41 + } + } + } + ], + "range": [ + 2642, + 2695 + ], + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + "range": [ + 2544, + 2695 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + } + } + } + ], + "range": [ + 2534, + 2701 + ], + "loc": { + "start": { + "line": 117, + "column": 13 + }, + "end": { + "line": 123, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2531, + 2701 + ], + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 123, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2525, + 2701 + ], + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Removes persisted state from storage\n ", + "range": [ + 2465, + 2520 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Applies persisted state to features\n ", + "range": [ + 2707, + 2761 + ], + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 127, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "sync", + "range": [ + 2766, + 2770 + ], + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "state", + "range": [ + 2787, + 2792 + ], + "loc": { + "start": { + "line": 129, + "column": 12 + }, + "end": { + "line": 129, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2795, + 2799 + ], + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "retrieve", + "range": [ + 2800, + 2808 + ], + "loc": { + "start": { + "line": 129, + "column": 25 + }, + "end": { + "line": 129, + "column": 33 + } + } + }, + "range": [ + 2795, + 2808 + ], + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 129, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 2795, + 2810 + ], + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 129, + "column": 35 + } + } + }, + "range": [ + 2787, + 2810 + ], + "loc": { + "start": { + "line": 129, + "column": 12 + }, + "end": { + "line": 129, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 2783, + 2811 + ], + "loc": { + "start": { + "line": 129, + "column": 8 + }, + "end": { + "line": 129, + "column": 36 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "state", + "range": [ + 2825, + 2830 + ], + "loc": { + "start": { + "line": 130, + "column": 13 + }, + "end": { + "line": 130, + "column": 18 + } + } + }, + "prefix": true, + "range": [ + 2824, + 2830 + ], + "loc": { + "start": { + "line": 130, + "column": 12 + }, + "end": { + "line": 130, + "column": 18 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 2846, + 2853 + ], + "loc": { + "start": { + "line": 131, + "column": 12 + }, + "end": { + "line": 131, + "column": 19 + } + } + } + ], + "range": [ + 2832, + 2863 + ], + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 132, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 2820, + 2863 + ], + "loc": { + "start": { + "line": 130, + "column": 8 + }, + "end": { + "line": 132, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2872, + 2934 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 70 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2943, + 2947 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 2948, + 2953 + ], + "loc": { + "start": { + "line": 134, + "column": 13 + }, + "end": { + "line": 134, + "column": 18 + } + } + }, + "range": [ + 2943, + 2953 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "overrideAndSync", + "range": [ + 2954, + 2969 + ], + "loc": { + "start": { + "line": 134, + "column": 19 + }, + "end": { + "line": 134, + "column": 34 + } + } + }, + "range": [ + 2943, + 2969 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 2970, + 2975 + ], + "loc": { + "start": { + "line": 134, + "column": 35 + }, + "end": { + "line": 134, + "column": 40 + } + } + } + ], + "range": [ + 2943, + 2976 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 41 + } + } + }, + "range": [ + 2943, + 2977 + ], + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2872, + 2934 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 70 + } + } + } + ] + } + ], + "range": [ + 2773, + 2983 + ], + "loc": { + "start": { + "line": 128, + "column": 11 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2770, + 2983 + ], + "loc": { + "start": { + "line": 128, + "column": 8 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 2766, + 2983 + ], + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 135, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Applies persisted state to features\n ", + "range": [ + 2707, + 2761 + ], + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 127, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns the storage key\n *\n * @returns {String} Key\n ", + "range": [ + 2989, + 3067 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getKey", + "range": [ + 3072, + 3078 + ], + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "JSON", + "range": [ + 3098, + 3102 + ], + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 143, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "stringify", + "range": [ + 3103, + 3112 + ], + "loc": { + "start": { + "line": 143, + "column": 20 + }, + "end": { + "line": 143, + "column": 29 + } + } + }, + "range": [ + 3098, + 3112 + ], + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 143, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "key", + "range": [ + 3127, + 3130 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 15 + } + } + }, + "value": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 3132, + 3135 + ], + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 20 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 3149, + 3153 + ], + "loc": { + "start": { + "line": 144, + "column": 34 + }, + "end": { + "line": 144, + "column": 38 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 3163, + 3165 + ], + "loc": { + "start": { + "line": 144, + "column": 48 + }, + "end": { + "line": 144, + "column": 50 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3135, + 3139 + ], + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3140, + 3142 + ], + "loc": { + "start": { + "line": 144, + "column": 25 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "range": [ + 3135, + 3142 + ], + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 3143, + 3149 + ], + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 144, + "column": 34 + } + } + }, + "range": [ + 3135, + 3149 + ], + "loc": { + "start": { + "line": 144, + "column": 20 + }, + "end": { + "line": 144, + "column": 34 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3153, + 3157 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "tf", + "range": [ + 3158, + 3160 + ], + "loc": { + "start": { + "line": 144, + "column": 43 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + "range": [ + 3153, + 3160 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 3161, + 3163 + ], + "loc": { + "start": { + "line": 144, + "column": 46 + }, + "end": { + "line": 144, + "column": 48 + } + } + }, + "range": [ + 3153, + 3163 + ], + "loc": { + "start": { + "line": 144, + "column": 38 + }, + "end": { + "line": 144, + "column": 48 + } + } + } + ], + "range": [ + 3132, + 3165 + ], + "loc": { + "start": { + "line": 144, + "column": 17 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3127, + 3165 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 50 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "path", + "range": [ + 3179, + 3183 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 16 + } + } + }, + "value": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "location", + "range": [ + 3185, + 3193 + ], + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "pathname", + "range": [ + 3194, + 3202 + ], + "loc": { + "start": { + "line": 145, + "column": 27 + }, + "end": { + "line": 145, + "column": 35 + } + } + }, + "range": [ + 3185, + 3202 + ], + "loc": { + "start": { + "line": 145, + "column": 18 + }, + "end": { + "line": 145, + "column": 35 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 3179, + 3202 + ], + "loc": { + "start": { + "line": 145, + "column": 12 + }, + "end": { + "line": 145, + "column": 35 + } + } + } + ], + "range": [ + 3113, + 3212 + ], + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 146, + "column": 9 + } + } + } + ], + "range": [ + 3098, + 3213 + ], + "loc": { + "start": { + "line": 143, + "column": 15 + }, + "end": { + "line": 146, + "column": 10 + } + } + }, + "range": [ + 3091, + 3214 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 146, + "column": 11 + } + } + } + ], + "range": [ + 3081, + 3220 + ], + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 147, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3078, + 3220 + ], + "loc": { + "start": { + "line": 142, + "column": 10 + }, + "end": { + "line": 147, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3072, + 3220 + ], + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 147, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns the storage key\n *\n * @returns {String} Key\n ", + "range": [ + 2989, + 3067 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Release Storage event subscriptions and clear fields\n ", + "range": [ + 3226, + 3297 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 3302, + 3309 + ], + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 152, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3322, + 3326 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3327, + 3334 + ], + "loc": { + "start": { + "line": 153, + "column": 13 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + "range": [ + 3322, + 3334 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3335, + 3338 + ], + "loc": { + "start": { + "line": 153, + "column": 21 + }, + "end": { + "line": 153, + "column": 24 + } + } + }, + "range": [ + 3322, + 3338 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "state-changed", + "raw": "'state-changed'", + "range": [ + 3340, + 3355 + ], + "loc": { + "start": { + "line": 153, + "column": 26 + }, + "end": { + "line": 153, + "column": 41 + } + } + } + ], + "range": [ + 3339, + 3356 + ], + "loc": { + "start": { + "line": 153, + "column": 25 + }, + "end": { + "line": 153, + "column": 42 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 3359, + 3361 + ], + "loc": { + "start": { + "line": 153, + "column": 45 + }, + "end": { + "line": 153, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 3363, + 3368 + ], + "loc": { + "start": { + "line": 153, + "column": 49 + }, + "end": { + "line": 153, + "column": 54 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3373, + 3377 + ], + "loc": { + "start": { + "line": 153, + "column": 59 + }, + "end": { + "line": 153, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "save", + "range": [ + 3378, + 3382 + ], + "loc": { + "start": { + "line": 153, + "column": 64 + }, + "end": { + "line": 153, + "column": 68 + } + } + }, + "range": [ + 3373, + 3382 + ], + "loc": { + "start": { + "line": 153, + "column": 59 + }, + "end": { + "line": 153, + "column": 68 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "state", + "range": [ + 3383, + 3388 + ], + "loc": { + "start": { + "line": 153, + "column": 69 + }, + "end": { + "line": 153, + "column": 74 + } + } + } + ], + "range": [ + 3373, + 3389 + ], + "loc": { + "start": { + "line": 153, + "column": 59 + }, + "end": { + "line": 153, + "column": 75 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3358, + 3389 + ], + "loc": { + "start": { + "line": 153, + "column": 44 + }, + "end": { + "line": 153, + "column": 75 + } + } + } + ], + "range": [ + 3322, + 3390 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 76 + } + } + }, + "range": [ + 3322, + 3391 + ], + "loc": { + "start": { + "line": 153, + "column": 8 + }, + "end": { + "line": 153, + "column": 77 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3400, + 3404 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3405, + 3412 + ], + "loc": { + "start": { + "line": 154, + "column": 13 + }, + "end": { + "line": 154, + "column": 20 + } + } + }, + "range": [ + 3400, + 3412 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 3413, + 3416 + ], + "loc": { + "start": { + "line": 154, + "column": 21 + }, + "end": { + "line": 154, + "column": 24 + } + } + }, + "range": [ + 3400, + 3416 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "initialized", + "raw": "'initialized'", + "range": [ + 3418, + 3431 + ], + "loc": { + "start": { + "line": 154, + "column": 26 + }, + "end": { + "line": 154, + "column": 39 + } + } + } + ], + "range": [ + 3417, + 3432 + ], + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 40 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3440, + 3444 + ], + "loc": { + "start": { + "line": 154, + "column": 48 + }, + "end": { + "line": 154, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "sync", + "range": [ + 3445, + 3449 + ], + "loc": { + "start": { + "line": 154, + "column": 53 + }, + "end": { + "line": 154, + "column": 57 + } + } + }, + "range": [ + 3440, + 3449 + ], + "loc": { + "start": { + "line": 154, + "column": 48 + }, + "end": { + "line": 154, + "column": 57 + } + } + }, + "arguments": [], + "range": [ + 3440, + 3451 + ], + "loc": { + "start": { + "line": 154, + "column": 48 + }, + "end": { + "line": 154, + "column": 59 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 3434, + 3451 + ], + "loc": { + "start": { + "line": 154, + "column": 42 + }, + "end": { + "line": 154, + "column": 59 + } + } + } + ], + "range": [ + 3400, + 3452 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 60 + } + } + }, + "range": [ + 3400, + 3453 + ], + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3463, + 3467 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "remove", + "range": [ + 3468, + 3474 + ], + "loc": { + "start": { + "line": 156, + "column": 13 + }, + "end": { + "line": 156, + "column": 19 + } + } + }, + "range": [ + 3463, + 3474 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 3463, + 3476 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 21 + } + } + }, + "range": [ + 3463, + 3477 + ], + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3487, + 3491 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 3492, + 3497 + ], + "loc": { + "start": { + "line": 158, + "column": 13 + }, + "end": { + "line": 158, + "column": 18 + } + } + }, + "range": [ + 3487, + 3497 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3500, + 3504 + ], + "loc": { + "start": { + "line": 158, + "column": 21 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "range": [ + 3487, + 3504 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 25 + } + } + }, + "range": [ + 3487, + 3505 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 26 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3514, + 3518 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3519, + 3526 + ], + "loc": { + "start": { + "line": 159, + "column": 13 + }, + "end": { + "line": 159, + "column": 20 + } + } + }, + "range": [ + 3514, + 3526 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 3529, + 3533 + ], + "loc": { + "start": { + "line": 159, + "column": 23 + }, + "end": { + "line": 159, + "column": 27 + } + } + }, + "range": [ + 3514, + 3533 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 27 + } + } + }, + "range": [ + 3514, + 3534 + ], + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 28 + } + } + } + ], + "range": [ + 3312, + 3540 + ], + "loc": { + "start": { + "line": 152, + "column": 14 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 3309, + 3540 + ], + "loc": { + "start": { + "line": 152, + "column": 11 + }, + "end": { + "line": 160, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 3302, + 3540 + ], + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 160, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Release Storage event subscriptions and clear fields\n ", + "range": [ + 3226, + 3297 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 404, + 3542 + ], + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 161, + "column": 1 + } + } + }, + "range": [ + 390, + 3542 + ], + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 161, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n ", + "range": [ + 277, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 383, + 3542 + ], + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 161, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n ", + "range": [ + 277, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 3542 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 161, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Checks if browser has Storage feature\n ", + "range": [ + 160, + 208 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n ", + "range": [ + 277, + 382 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n ", + "range": [ + 411, + 513 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * State object\n * @type {State}\n * @private\n ", + "range": [ + 548, + 632 + ], + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 34, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * TableFilter object\n * @type {TableFilter}\n * @private\n ", + "range": [ + 670, + 766 + ], + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 41, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist with local storage\n * @type {Boolean}\n * @private\n ", + "range": [ + 804, + 904 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 48, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Persist with cookie\n * @type {Boolean}\n * @private\n ", + "range": [ + 990, + 1083 + ], + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 55, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Emitter object\n * @type {Emitter}\n * @private\n ", + "range": [ + 1169, + 1257 + ], + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 62, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n ", + "range": [ + 1305, + 1420 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 69, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Initializes the Storage object\n ", + "range": [ + 1479, + 1528 + ], + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 76, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n ", + "range": [ + 1691, + 1807 + ], + "loc": { + "start": { + "line": 82, + "column": 4 + }, + "end": { + "line": 86, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n ", + "range": [ + 2047, + 2155 + ], + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 99, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes persisted state from storage\n ", + "range": [ + 2465, + 2520 + ], + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 116, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Applies persisted state to features\n ", + "range": [ + 2707, + 2761 + ], + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 127, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " override current state with persisted one and sync features", + "range": [ + 2872, + 2934 + ], + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 70 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns the storage key\n *\n * @returns {String} Key\n ", + "range": [ + 2989, + 3067 + ], + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 141, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Release Storage event subscriptions and clear fields\n ", + "range": [ + 3226, + 3297 + ], + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 151, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/number.js.json b/docs/ast/source/number.js.json new file mode 100644 index 00000000..da45be51 --- /dev/null +++ b/docs/ast/source/number.js.json @@ -0,0 +1,1663 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + "range": [ + 8, + 16 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./types", + "raw": "'./types'", + "range": [ + 23, + 32 + ], + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + "range": [ + 0, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 33 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n ", + "range": [ + 35, + 323 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "parse", + "range": [ + 337, + 342 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 346, + 351 + ], + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "decimal", + "range": [ + 353, + 360 + ], + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 363, + 366 + ], + "loc": { + "start": { + "line": 11, + "column": 39 + }, + "end": { + "line": 11, + "column": 42 + } + } + }, + "range": [ + 353, + 366 + ], + "loc": { + "start": { + "line": 11, + "column": 29 + }, + "end": { + "line": 11, + "column": 42 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 436, + 444 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 445, + 450 + ], + "loc": { + "start": { + "line": 13, + "column": 17 + }, + "end": { + "line": 13, + "column": 22 + } + } + } + ], + "range": [ + 436, + 451 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "value", + "range": [ + 470, + 475 + ], + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + "range": [ + 463, + 476 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 21 + } + } + } + ], + "range": [ + 453, + 482 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 432, + 482 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Return the value as-is if it's already a number", + "range": [ + 377, + 427 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 54 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Build regex to strip out everything except digits, decimal point and", + "range": [ + 488, + 559 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " minus sign", + "range": [ + 564, + 577 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 17 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "regex", + "range": [ + 586, + 591 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 13 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 598, + 604 + ], + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "[^0-9-", + "raw": "'[^0-9-'", + "range": [ + 605, + 613 + ], + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "decimal", + "range": [ + 616, + 623 + ], + "loc": { + "start": { + "line": 19, + "column": 38 + }, + "end": { + "line": 19, + "column": 45 + } + } + }, + "range": [ + 605, + 623 + ], + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": "]", + "raw": "']'", + "range": [ + 626, + 629 + ], + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 51 + } + } + }, + "range": [ + 605, + 629 + ], + "loc": { + "start": { + "line": 19, + "column": 27 + }, + "end": { + "line": 19, + "column": 51 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "g", + "raw": "'g'", + "range": [ + 632, + 635 + ], + "loc": { + "start": { + "line": 19, + "column": 54 + }, + "end": { + "line": 19, + "column": 57 + } + } + } + ], + "range": [ + 631, + 636 + ], + "loc": { + "start": { + "line": 19, + "column": 53 + }, + "end": { + "line": 19, + "column": 58 + } + } + } + ], + "range": [ + 594, + 637 + ], + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 59 + } + } + }, + "range": [ + 586, + 637 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 582, + 638 + ], + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Build regex to strip out everything except digits, decimal point and", + "range": [ + 488, + 559 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " minus sign", + "range": [ + 564, + 577 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 17 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "unformatted", + "range": [ + 647, + 658 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseFloat", + "range": [ + 661, + 671 + ], + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 682, + 684 + ], + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 11 + } + } + }, + "right": { + "type": "Identifier", + "name": "value", + "range": [ + 687, + 692 + ], + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + "range": [ + 682, + 692 + ], + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 762, + 769 + ], + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " replace bracketed values with negatives", + "range": [ + 706, + 748 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 54 + } + } + } + ] + }, + "range": [ + 681, + 769 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 23, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": {}, + "raw": "/\\((.*)\\)/", + "regex": { + "pattern": "\\((.*)\\)", + "flags": "" + }, + "range": [ + 770, + 780 + ], + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": "Literal", + "value": "-$1", + "raw": "'-$1'", + "range": [ + 782, + 787 + ], + "loc": { + "start": { + "line": 23, + "column": 33 + }, + "end": { + "line": 23, + "column": 38 + } + } + } + ], + "range": [ + 681, + 788 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 23, + "column": 39 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " strip out any cruft", + "range": [ + 801, + 823 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 34 + } + } + } + ] + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 837, + 844 + ], + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " strip out any cruft", + "range": [ + 801, + 823 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 34 + } + } + } + ] + }, + "range": [ + 681, + 844 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 25, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "regex", + "range": [ + 845, + 850 + ], + "loc": { + "start": { + "line": 25, + "column": 21 + }, + "end": { + "line": 25, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 852, + 854 + ], + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 30 + } + } + } + ], + "range": [ + 681, + 855 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 25, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " make sure decimal point is standard", + "range": [ + 868, + 906 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 50 + } + } + } + ] + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 920, + 927 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 20 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " make sure decimal point is standard", + "range": [ + 868, + 906 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 50 + } + } + } + ] + }, + "range": [ + 681, + 927 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "decimal", + "range": [ + 928, + 935 + ], + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 28 + } + } + }, + { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 937, + 940 + ], + "loc": { + "start": { + "line": 27, + "column": 30 + }, + "end": { + "line": 27, + "column": 33 + } + } + } + ], + "range": [ + 681, + 941 + ], + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 27, + "column": 34 + } + } + } + ], + "range": [ + 661, + 947 + ], + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 28, + "column": 5 + } + } + }, + "range": [ + 647, + 947 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 28, + "column": 5 + } + } + } + ], + "kind": "let", + "range": [ + 643, + 948 + ], + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 28, + "column": 6 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " This will fail silently", + "range": [ + 954, + 980 + ], + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 30 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 993, + 998 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "unformatted", + "range": [ + 999, + 1010 + ], + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 29 + } + } + } + ], + "range": [ + 993, + 1011 + ], + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 992, + 1011 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 30 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "unformatted", + "range": [ + 1014, + 1025 + ], + "loc": { + "start": { + "line": 31, + "column": 33 + }, + "end": { + "line": 31, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1028, + 1029 + ], + "loc": { + "start": { + "line": 31, + "column": 47 + }, + "end": { + "line": 31, + "column": 48 + } + } + }, + "range": [ + 992, + 1029 + ], + "loc": { + "start": { + "line": 31, + "column": 11 + }, + "end": { + "line": 31, + "column": 48 + } + } + }, + "range": [ + 985, + 1030 + ], + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " This will fail silently", + "range": [ + 954, + 980 + ], + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 30 + } + } + } + ] + } + ], + "range": [ + 371, + 1032 + ], + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 32, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 345, + 1032 + ], + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 32, + "column": 1 + } + } + }, + "range": [ + 337, + 1032 + ], + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 32, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 331, + 1033 + ], + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 32, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n ", + "range": [ + 35, + 323 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 324, + 1033 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 32, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n ", + "range": [ + 35, + 323 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 1033 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 32, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n ", + "range": [ + 35, + 323 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " Return the value as-is if it's already a number", + "range": [ + 377, + 427 + ], + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " Build regex to strip out everything except digits, decimal point and", + "range": [ + 488, + 559 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " minus sign", + "range": [ + 564, + 577 + ], + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": "Line", + "value": " replace bracketed values with negatives", + "range": [ + 706, + 748 + ], + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 54 + } + } + }, + { + "type": "Line", + "value": " strip out any cruft", + "range": [ + 801, + 823 + ], + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 34 + } + } + }, + { + "type": "Line", + "value": " make sure decimal point is standard", + "range": [ + 868, + 906 + ], + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 50 + } + } + }, + { + "type": "Line", + "value": " This will fail silently", + "range": [ + 954, + 980 + ], + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 30 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/root.js.json b/docs/ast/source/root.js.json new file mode 100644 index 00000000..6590ca58 --- /dev/null +++ b/docs/ast/source/root.js.json @@ -0,0 +1,644 @@ +{ + "type": "Program", + "body": [ + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "root", + "range": [ + 84, + 88 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "self", + "range": [ + 99, + 103 + ], + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 92, + 103 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": "object", + "raw": "'object'", + "range": [ + 108, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 37 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "range": [ + 92, + 116 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "self", + "range": [ + 120, + 124 + ], + "loc": { + "start": { + "line": 4, + "column": 49 + }, + "end": { + "line": 4, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "self", + "range": [ + 125, + 129 + ], + "loc": { + "start": { + "line": 4, + "column": 54 + }, + "end": { + "line": 4, + "column": 58 + } + } + }, + "range": [ + 120, + 129 + ], + "loc": { + "start": { + "line": 4, + "column": 49 + }, + "end": { + "line": 4, + "column": 58 + } + } + }, + "right": { + "type": "Identifier", + "name": "self", + "range": [ + 134, + 138 + ], + "loc": { + "start": { + "line": 4, + "column": 63 + }, + "end": { + "line": 4, + "column": 67 + } + } + }, + "range": [ + 120, + 138 + ], + "loc": { + "start": { + "line": 4, + "column": 49 + }, + "end": { + "line": 4, + "column": 67 + } + } + }, + "range": [ + 92, + 138 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 67 + } + } + }, + "right": { + "type": "Identifier", + "name": "self", + "range": [ + 142, + 146 + ], + "loc": { + "start": { + "line": 4, + "column": 71 + }, + "end": { + "line": 4, + "column": 75 + } + } + }, + "range": [ + 92, + 146 + ], + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 75 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "global", + "range": [ + 163, + 169 + ], + "loc": { + "start": { + "line": 5, + "column": 12 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + "prefix": true, + "range": [ + 156, + 169 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + "right": { + "type": "Literal", + "value": "object", + "raw": "'object'", + "range": [ + 174, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "range": [ + 156, + 182 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "global", + "range": [ + 186, + 192 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "global", + "range": [ + 193, + 199 + ], + "loc": { + "start": { + "line": 5, + "column": 42 + }, + "end": { + "line": 5, + "column": 48 + } + } + }, + "range": [ + 186, + 199 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 48 + } + } + }, + "right": { + "type": "Identifier", + "name": "global", + "range": [ + 204, + 210 + ], + "loc": { + "start": { + "line": 5, + "column": 53 + }, + "end": { + "line": 5, + "column": 59 + } + } + }, + "range": [ + 186, + 210 + ], + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 59 + } + } + }, + "range": [ + 156, + 210 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 59 + } + } + }, + "right": { + "type": "Identifier", + "name": "global", + "range": [ + 214, + 220 + ], + "loc": { + "start": { + "line": 5, + "column": 63 + }, + "end": { + "line": 5, + "column": 69 + } + } + }, + "range": [ + 156, + 220 + ], + "loc": { + "start": { + "line": 5, + "column": 5 + }, + "end": { + "line": 5, + "column": 69 + } + } + }, + "range": [ + 91, + 221 + ], + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 5, + "column": 70 + } + } + }, + "right": { + "type": "ThisExpression", + "range": [ + 229, + 233 + ], + "loc": { + "start": { + "line": 6, + "column": 4 + }, + "end": { + "line": 6, + "column": 8 + } + } + }, + "range": [ + 91, + 233 + ], + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 6, + "column": 8 + } + } + }, + "range": [ + 84, + 233 + ], + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 6, + "column": 8 + } + } + } + ], + "kind": "const", + "range": [ + 78, + 234 + ], + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 6, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Export window or global object depending on the environment\n ", + "range": [ + 0, + 70 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 71, + 234 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Export window or global object depending on the environment\n ", + "range": [ + 0, + 70 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 71, + 234 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 9 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Export window or global object depending on the environment\n ", + "range": [ + 0, + 70 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/settings.js.json b/docs/ast/source/settings.js.json new file mode 100644 index 00000000..a7960ce3 --- /dev/null +++ b/docs/ast/source/settings.js.json @@ -0,0 +1,2015 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isBoolean", + "range": [ + 8, + 17 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isBoolean", + "range": [ + 8, + 17 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + "range": [ + 8, + 17 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isString", + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isString", + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + "range": [ + 19, + 27 + ], + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isFn", + "range": [ + 29, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isFn", + "range": [ + 29, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + "range": [ + 29, + 33 + ], + "loc": { + "start": { + "line": 1, + "column": 29 + }, + "end": { + "line": 1, + "column": 33 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 35, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 35, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + "range": [ + 35, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 35 + }, + "end": { + "line": 1, + "column": 42 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./types", + "raw": "'./types'", + "range": [ + 49, + 58 + ], + "loc": { + "start": { + "line": 1, + "column": 49 + }, + "end": { + "line": 1, + "column": 58 + } + } + }, + "range": [ + 0, + 59 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 59 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* Configuration settings helpers ", + "range": [ + 61, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of boolean type return the default value\n * otherwise return the value itself\n * @param {Boolean|Any} value\n * @param {Boolean} default value\n * @return {Boolean|Any}\n ", + "range": [ + 101, + 304 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 318, + 330 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 338, + 341 + ], + "loc": { + "start": { + "line": 13, + "column": 5 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 343, + 353 + ], + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 20 + } + } + } + ], + "body": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isBoolean", + "range": [ + 358, + 367 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 368, + 371 + ], + "loc": { + "start": { + "line": 13, + "column": 35 + }, + "end": { + "line": 13, + "column": 38 + } + } + } + ], + "range": [ + 358, + 372 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 39 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "val", + "range": [ + 375, + 378 + ], + "loc": { + "start": { + "line": 13, + "column": 42 + }, + "end": { + "line": 13, + "column": 45 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 381, + 391 + ], + "loc": { + "start": { + "line": 13, + "column": 48 + }, + "end": { + "line": 13, + "column": 58 + } + } + }, + "range": [ + 358, + 391 + ], + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 337, + 391 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 58 + } + } + }, + "range": [ + 318, + 391 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 13, + "column": 58 + } + } + } + ], + "kind": "const", + "range": [ + 312, + 392 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 13, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Configuration settings helpers ", + "range": [ + 61, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of boolean type return the default value\n * otherwise return the value itself\n * @param {Boolean|Any} value\n * @param {Boolean} default value\n * @return {Boolean|Any}\n ", + "range": [ + 101, + 304 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n ", + "range": [ + 394, + 593 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 305, + 392 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 13, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Configuration settings helpers ", + "range": [ + 61, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of boolean type return the default value\n * otherwise return the value itself\n * @param {Boolean|Any} value\n * @param {Boolean} default value\n * @return {Boolean|Any}\n ", + "range": [ + 101, + 304 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n ", + "range": [ + 394, + 593 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 607, + 618 + ], + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 626, + 629 + ], + "loc": { + "start": { + "line": 23, + "column": 5 + }, + "end": { + "line": 23, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 631, + 641 + ], + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 20 + } + } + } + ], + "body": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isString", + "range": [ + 646, + 654 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 655, + 658 + ], + "loc": { + "start": { + "line": 23, + "column": 34 + }, + "end": { + "line": 23, + "column": 37 + } + } + } + ], + "range": [ + 646, + 659 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "val", + "range": [ + 662, + 665 + ], + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 668, + 678 + ], + "loc": { + "start": { + "line": 23, + "column": 47 + }, + "end": { + "line": 23, + "column": 57 + } + } + }, + "range": [ + 646, + 678 + ], + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 57 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 625, + 678 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 57 + } + } + }, + "range": [ + 607, + 678 + ], + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 23, + "column": 57 + } + } + } + ], + "kind": "const", + "range": [ + 601, + 679 + ], + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 23, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n ", + "range": [ + 394, + 593 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n ", + "range": [ + 681, + 880 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 594, + 679 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 23, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n ", + "range": [ + 394, + 593 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n ", + "range": [ + 681, + 880 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 894, + 904 + ], + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 912, + 915 + ], + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 917, + 927 + ], + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 20 + } + } + } + ], + "body": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNaN", + "range": [ + 932, + 937 + ], + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 938, + 941 + ], + "loc": { + "start": { + "line": 33, + "column": 31 + }, + "end": { + "line": 33, + "column": 34 + } + } + } + ], + "range": [ + 932, + 942 + ], + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 35 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 945, + 955 + ], + "loc": { + "start": { + "line": 33, + "column": 38 + }, + "end": { + "line": 33, + "column": 48 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "val", + "range": [ + 958, + 961 + ], + "loc": { + "start": { + "line": 33, + "column": 51 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + "range": [ + 932, + 961 + ], + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 911, + 961 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + "range": [ + 894, + 961 + ], + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 33, + "column": 54 + } + } + } + ], + "kind": "const", + "range": [ + 888, + 962 + ], + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 33, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n ", + "range": [ + 681, + 880 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n ", + "range": [ + 964, + 1159 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 881, + 962 + ], + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 33, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n ", + "range": [ + 681, + 880 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n ", + "range": [ + 964, + 1159 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 1173, + 1184 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 1192, + 1195 + ], + "loc": { + "start": { + "line": 43, + "column": 5 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 1197, + 1207 + ], + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 20 + } + } + } + ], + "body": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 1212, + 1219 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 1220, + 1223 + ], + "loc": { + "start": { + "line": 43, + "column": 33 + }, + "end": { + "line": 43, + "column": 36 + } + } + } + ], + "range": [ + 1212, + 1224 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "val", + "range": [ + 1227, + 1230 + ], + "loc": { + "start": { + "line": 43, + "column": 40 + }, + "end": { + "line": 43, + "column": 43 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 1233, + 1243 + ], + "loc": { + "start": { + "line": 43, + "column": 46 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + "range": [ + 1212, + 1243 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1191, + 1243 + ], + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 56 + } + } + }, + "range": [ + 1173, + 1243 + ], + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 43, + "column": 56 + } + } + } + ], + "kind": "const", + "range": [ + 1167, + 1244 + ], + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 43, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n ", + "range": [ + 964, + 1159 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n ", + "range": [ + 1246, + 1453 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1160, + 1244 + ], + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 43, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n ", + "range": [ + 964, + 1159 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n ", + "range": [ + 1246, + 1453 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 1467, + 1477 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 1485, + 1488 + ], + "loc": { + "start": { + "line": 53, + "column": 5 + }, + "end": { + "line": 53, + "column": 8 + } + } + }, + { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 1490, + 1500 + ], + "loc": { + "start": { + "line": 53, + "column": 10 + }, + "end": { + "line": 53, + "column": 20 + } + } + } + ], + "body": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isFn", + "range": [ + 1505, + 1509 + ], + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "val", + "range": [ + 1510, + 1513 + ], + "loc": { + "start": { + "line": 53, + "column": 30 + }, + "end": { + "line": 53, + "column": 33 + } + } + } + ], + "range": [ + 1505, + 1514 + ], + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 34 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "val", + "range": [ + 1517, + 1520 + ], + "loc": { + "start": { + "line": 53, + "column": 37 + }, + "end": { + "line": 53, + "column": 40 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "defaultVal", + "range": [ + 1523, + 1533 + ], + "loc": { + "start": { + "line": 53, + "column": 43 + }, + "end": { + "line": 53, + "column": 53 + } + } + }, + "range": [ + 1505, + 1533 + ], + "loc": { + "start": { + "line": 53, + "column": 25 + }, + "end": { + "line": 53, + "column": 53 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1484, + 1533 + ], + "loc": { + "start": { + "line": 53, + "column": 4 + }, + "end": { + "line": 53, + "column": 53 + } + } + }, + "range": [ + 1467, + 1533 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 53, + "column": 53 + } + } + } + ], + "kind": "const", + "range": [ + 1461, + 1534 + ], + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 53, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n ", + "range": [ + 1246, + 1453 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1454, + 1534 + ], + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 53, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n ", + "range": [ + 1246, + 1453 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 1534 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 53, + "column": 54 + } + }, + "comments": [ + { + "type": "Block", + "value": "* Configuration settings helpers ", + "range": [ + 61, + 99 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 38 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of boolean type return the default value\n * otherwise return the value itself\n * @param {Boolean|Any} value\n * @param {Boolean} default value\n * @return {Boolean|Any}\n ", + "range": [ + 101, + 304 + ], + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n ", + "range": [ + 394, + 593 + ], + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n ", + "range": [ + 681, + 880 + ], + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n ", + "range": [ + 964, + 1159 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 41, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n ", + "range": [ + 1246, + 1453 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/sort.js.json b/docs/ast/source/sort.js.json new file mode 100644 index 00000000..5a8ca131 --- /dev/null +++ b/docs/ast/source/sort.js.json @@ -0,0 +1,3869 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 17, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 17 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "parse", + "range": [ + 8, + 13 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + "range": [ + 8, + 24 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./number", + "raw": "'./number'", + "range": [ + 31, + 41 + ], + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + "range": [ + 0, + 42 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "SugarDate", + "range": [ + 59, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Date", + "range": [ + 51, + 55 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + "range": [ + 51, + 68 + ], + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 25 + } + } + } + ], + "source": { + "type": "Literal", + "value": "sugar-date", + "raw": "'sugar-date'", + "range": [ + 75, + 87 + ], + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 44 + } + } + }, + "range": [ + 43, + 88 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 45 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "* Sorting utilities ", + "range": [ + 90, + 114 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 116, + 432 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ignoreCase", + "range": [ + 446, + 456 + ], + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 460, + 461 + ], + "loc": { + "start": { + "line": 14, + "column": 27 + }, + "end": { + "line": 14, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 463, + 464 + ], + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "x", + "range": [ + 479, + 480 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 9 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "a", + "range": [ + 483, + 484 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 485, + 496 + ], + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + "range": [ + 483, + 496 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 483, + 498 + ], + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + "range": [ + 479, + 498 + ], + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 475, + 499 + ], + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "y", + "range": [ + 508, + 509 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 9 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "b", + "range": [ + 512, + 513 + ], + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 514, + 525 + ], + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + "range": [ + 512, + 525 + ], + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 512, + 527 + ], + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + "range": [ + 508, + 527 + ], + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 504, + 528 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 540, + 541 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 544, + 545 + ], + "loc": { + "start": { + "line": 17, + "column": 15 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + "range": [ + 540, + 545 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + "consequent": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 549, + 550 + ], + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 548, + 550 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + "alternate": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "x", + "range": [ + 554, + 555 + ], + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + "right": { + "type": "Identifier", + "name": "y", + "range": [ + 558, + 559 + ], + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + "range": [ + 554, + 559 + ], + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + "consequent": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 562, + 563 + ], + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 566, + 567 + ], + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 38 + } + } + }, + "range": [ + 554, + 567 + ], + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 38 + } + } + }, + "range": [ + 540, + 568 + ], + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + "range": [ + 533, + 569 + ], + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 40 + } + } + } + ], + "range": [ + 469, + 571 + ], + "loc": { + "start": { + "line": 14, + "column": 36 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 459, + 571 + ], + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + "range": [ + 446, + 571 + ], + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 18, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 440, + 572 + ], + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 18, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Sorting utilities ", + "range": [ + 90, + 114 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 116, + 432 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 574, + 767 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 433, + 572 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* Sorting utilities ", + "range": [ + 90, + 114 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 116, + 432 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 574, + 767 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "numSortAsc", + "range": [ + 781, + 791 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 795, + 796 + ], + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 798, + 799 + ], + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 31 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "a", + "range": [ + 805, + 806 + ], + "loc": { + "start": { + "line": 26, + "column": 37 + }, + "end": { + "line": 26, + "column": 38 + } + } + }, + "right": { + "type": "Identifier", + "name": "b", + "range": [ + 809, + 810 + ], + "loc": { + "start": { + "line": 26, + "column": 41 + }, + "end": { + "line": 26, + "column": 42 + } + } + }, + "range": [ + 805, + 810 + ], + "loc": { + "start": { + "line": 26, + "column": 37 + }, + "end": { + "line": 26, + "column": 42 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 794, + 811 + ], + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 26, + "column": 43 + } + } + }, + "range": [ + 781, + 811 + ], + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 43 + } + } + } + ], + "kind": "const", + "range": [ + 775, + 812 + ], + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 574, + 767 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 814, + 1008 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 768, + 812 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 574, + 767 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 814, + 1008 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "numSortDesc", + "range": [ + 1022, + 1033 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 1037, + 1038 + ], + "loc": { + "start": { + "line": 34, + "column": 28 + }, + "end": { + "line": 34, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "b", + "range": [ + 1040, + 1041 + ], + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 34, + "column": 32 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "b", + "range": [ + 1047, + 1048 + ], + "loc": { + "start": { + "line": 34, + "column": 38 + }, + "end": { + "line": 34, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "a", + "range": [ + 1051, + 1052 + ], + "loc": { + "start": { + "line": 34, + "column": 42 + }, + "end": { + "line": 34, + "column": 43 + } + } + }, + "range": [ + 1047, + 1052 + ], + "loc": { + "start": { + "line": 34, + "column": 38 + }, + "end": { + "line": 34, + "column": 43 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1036, + 1053 + ], + "loc": { + "start": { + "line": 34, + "column": 27 + }, + "end": { + "line": 34, + "column": 44 + } + } + }, + "range": [ + 1022, + 1053 + ], + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 44 + } + } + } + ], + "kind": "const", + "range": [ + 1016, + 1054 + ], + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 814, + 1008 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1056, + 1327 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1009, + 1054 + ], + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 814, + 1008 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1056, + 1327 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dateSortAsc", + "range": [ + 1341, + 1352 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "date1", + "range": [ + 1356, + 1361 + ], + "loc": { + "start": { + "line": 43, + "column": 28 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + { + "type": "Identifier", + "name": "date2", + "range": [ + 1363, + 1368 + ], + "loc": { + "start": { + "line": 43, + "column": 35 + }, + "end": { + "line": 43, + "column": 40 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "date1", + "range": [ + 1373, + 1378 + ], + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 1379, + 1386 + ], + "loc": { + "start": { + "line": 43, + "column": 51 + }, + "end": { + "line": 43, + "column": 58 + } + } + }, + "range": [ + 1373, + 1386 + ], + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 1373, + 1388 + ], + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 60 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "date2", + "range": [ + 1391, + 1396 + ], + "loc": { + "start": { + "line": 43, + "column": 63 + }, + "end": { + "line": 43, + "column": 68 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 1397, + 1404 + ], + "loc": { + "start": { + "line": 43, + "column": 69 + }, + "end": { + "line": 43, + "column": 76 + } + } + }, + "range": [ + 1391, + 1404 + ], + "loc": { + "start": { + "line": 43, + "column": 63 + }, + "end": { + "line": 43, + "column": 76 + } + } + }, + "arguments": [], + "range": [ + 1391, + 1406 + ], + "loc": { + "start": { + "line": 43, + "column": 63 + }, + "end": { + "line": 43, + "column": 78 + } + } + }, + "range": [ + 1373, + 1406 + ], + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 78 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1355, + 1406 + ], + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 78 + } + } + }, + "range": [ + 1341, + 1406 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 78 + } + } + } + ], + "kind": "const", + "range": [ + 1335, + 1407 + ], + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 43, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1056, + 1327 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1409, + 1681 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1328, + 1407 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1056, + 1327 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1409, + 1681 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dateSortDesc", + "range": [ + 1695, + 1707 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 25 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "date1", + "range": [ + 1711, + 1716 + ], + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "date2", + "range": [ + 1718, + 1723 + ], + "loc": { + "start": { + "line": 52, + "column": 36 + }, + "end": { + "line": 52, + "column": 41 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "date2", + "range": [ + 1728, + 1733 + ], + "loc": { + "start": { + "line": 52, + "column": 46 + }, + "end": { + "line": 52, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 1734, + 1741 + ], + "loc": { + "start": { + "line": 52, + "column": 52 + }, + "end": { + "line": 52, + "column": 59 + } + } + }, + "range": [ + 1728, + 1741 + ], + "loc": { + "start": { + "line": 52, + "column": 46 + }, + "end": { + "line": 52, + "column": 59 + } + } + }, + "arguments": [], + "range": [ + 1728, + 1743 + ], + "loc": { + "start": { + "line": 52, + "column": 46 + }, + "end": { + "line": 52, + "column": 61 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "date1", + "range": [ + 1746, + 1751 + ], + "loc": { + "start": { + "line": 52, + "column": 64 + }, + "end": { + "line": 52, + "column": 69 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 1752, + 1759 + ], + "loc": { + "start": { + "line": 52, + "column": 70 + }, + "end": { + "line": 52, + "column": 77 + } + } + }, + "range": [ + 1746, + 1759 + ], + "loc": { + "start": { + "line": 52, + "column": 64 + }, + "end": { + "line": 52, + "column": 77 + } + } + }, + "arguments": [], + "range": [ + 1746, + 1761 + ], + "loc": { + "start": { + "line": 52, + "column": 64 + }, + "end": { + "line": 52, + "column": 79 + } + } + }, + "range": [ + 1728, + 1761 + ], + "loc": { + "start": { + "line": 52, + "column": 46 + }, + "end": { + "line": 52, + "column": 79 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1710, + 1761 + ], + "loc": { + "start": { + "line": 52, + "column": 28 + }, + "end": { + "line": 52, + "column": 79 + } + } + }, + "range": [ + 1695, + 1761 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 79 + } + } + } + ], + "kind": "const", + "range": [ + 1689, + 1762 + ], + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 52, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1409, + 1681 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n ", + "range": [ + 1764, + 2082 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1682, + 1762 + ], + "loc": { + "start": { + "line": 52, + "column": 0 + }, + "end": { + "line": 52, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1409, + 1681 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n ", + "range": [ + 1764, + 2082 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortNumberStr", + "range": [ + 2096, + 2109 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 26 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2113, + 2122 + ], + "loc": { + "start": { + "line": 61, + "column": 30 + }, + "end": { + "line": 61, + "column": 39 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "decimal", + "range": [ + 2124, + 2131 + ], + "loc": { + "start": { + "line": 61, + "column": 41 + }, + "end": { + "line": 61, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": ",", + "raw": "','", + "range": [ + 2134, + 2137 + ], + "loc": { + "start": { + "line": 61, + "column": 51 + }, + "end": { + "line": 61, + "column": 54 + } + } + }, + "range": [ + 2124, + 2137 + ], + "loc": { + "start": { + "line": 61, + "column": 41 + }, + "end": { + "line": 61, + "column": 54 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "numStr1", + "range": [ + 2156, + 2163 + ], + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "numStr2", + "range": [ + 2165, + 2172 + ], + "loc": { + "start": { + "line": 62, + "column": 21 + }, + "end": { + "line": 62, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "num1", + "range": [ + 2191, + 2195 + ], + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 2198, + 2205 + ], + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "numStr1", + "range": [ + 2206, + 2213 + ], + "loc": { + "start": { + "line": 63, + "column": 27 + }, + "end": { + "line": 63, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 2215, + 2222 + ], + "loc": { + "start": { + "line": 63, + "column": 36 + }, + "end": { + "line": 63, + "column": 43 + } + } + } + ], + "range": [ + 2198, + 2223 + ], + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 44 + } + } + }, + "range": [ + 2191, + 2223 + ], + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 2187, + 2224 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "num2", + "range": [ + 2237, + 2241 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 2244, + 2251 + ], + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "numStr2", + "range": [ + 2252, + 2259 + ], + "loc": { + "start": { + "line": 64, + "column": 27 + }, + "end": { + "line": 64, + "column": 34 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 2261, + 2268 + ], + "loc": { + "start": { + "line": 64, + "column": 36 + }, + "end": { + "line": 64, + "column": 43 + } + } + } + ], + "range": [ + 2244, + 2269 + ], + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 44 + } + } + }, + "range": [ + 2237, + 2269 + ], + "loc": { + "start": { + "line": 64, + "column": 12 + }, + "end": { + "line": 64, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 2233, + 2270 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 45 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2286, + 2295 + ], + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "num1", + "range": [ + 2296, + 2300 + ], + "loc": { + "start": { + "line": 65, + "column": 25 + }, + "end": { + "line": 65, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "num2", + "range": [ + 2302, + 2306 + ], + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 35 + } + } + } + ], + "range": [ + 2286, + 2307 + ], + "loc": { + "start": { + "line": 65, + "column": 15 + }, + "end": { + "line": 65, + "column": 36 + } + } + }, + "range": [ + 2279, + 2308 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 37 + } + } + } + ], + "range": [ + 2177, + 2314 + ], + "loc": { + "start": { + "line": 62, + "column": 33 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2155, + 2314 + ], + "loc": { + "start": { + "line": 62, + "column": 11 + }, + "end": { + "line": 66, + "column": 5 + } + } + }, + "range": [ + 2148, + 2315 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 66, + "column": 6 + } + } + } + ], + "range": [ + 2142, + 2317 + ], + "loc": { + "start": { + "line": 61, + "column": 59 + }, + "end": { + "line": 67, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2112, + 2317 + ], + "loc": { + "start": { + "line": 61, + "column": 29 + }, + "end": { + "line": 67, + "column": 1 + } + } + }, + "range": [ + 2096, + 2317 + ], + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 67, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2090, + 2318 + ], + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 67, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n ", + "range": [ + 1764, + 2082 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n ", + "range": [ + 2320, + 2619 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 2083, + 2318 + ], + "loc": { + "start": { + "line": 61, + "column": 0 + }, + "end": { + "line": 67, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n ", + "range": [ + 1764, + 2082 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n ", + "range": [ + 2320, + 2619 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sortDateStr", + "range": [ + 2633, + 2644 + ], + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2648, + 2657 + ], + "loc": { + "start": { + "line": 76, + "column": 28 + }, + "end": { + "line": 76, + "column": 37 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "locale", + "range": [ + 2659, + 2665 + ], + "loc": { + "start": { + "line": 76, + "column": 39 + }, + "end": { + "line": 76, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": "en-us", + "raw": "'en-us'", + "range": [ + 2668, + 2675 + ], + "loc": { + "start": { + "line": 76, + "column": 48 + }, + "end": { + "line": 76, + "column": 55 + } + } + }, + "range": [ + 2659, + 2675 + ], + "loc": { + "start": { + "line": 76, + "column": 39 + }, + "end": { + "line": 76, + "column": 55 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "dateStr1", + "range": [ + 2694, + 2702 + ], + "loc": { + "start": { + "line": 77, + "column": 12 + }, + "end": { + "line": 77, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "dateStr2", + "range": [ + 2704, + 2712 + ], + "loc": { + "start": { + "line": 77, + "column": 22 + }, + "end": { + "line": 77, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "date1", + "range": [ + 2731, + 2736 + ], + "loc": { + "start": { + "line": 78, + "column": 12 + }, + "end": { + "line": 78, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SugarDate", + "range": [ + 2739, + 2748 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "create", + "range": [ + 2749, + 2755 + ], + "loc": { + "start": { + "line": 78, + "column": 30 + }, + "end": { + "line": 78, + "column": 36 + } + } + }, + "range": [ + 2739, + 2755 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateStr1", + "range": [ + 2756, + 2764 + ], + "loc": { + "start": { + "line": 78, + "column": 37 + }, + "end": { + "line": 78, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 2766, + 2772 + ], + "loc": { + "start": { + "line": 78, + "column": 47 + }, + "end": { + "line": 78, + "column": 53 + } + } + } + ], + "range": [ + 2739, + 2773 + ], + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 78, + "column": 54 + } + } + }, + "range": [ + 2731, + 2773 + ], + "loc": { + "start": { + "line": 78, + "column": 12 + }, + "end": { + "line": 78, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 2727, + 2774 + ], + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 55 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "date2", + "range": [ + 2787, + 2792 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "SugarDate", + "range": [ + 2795, + 2804 + ], + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "create", + "range": [ + 2805, + 2811 + ], + "loc": { + "start": { + "line": 79, + "column": 30 + }, + "end": { + "line": 79, + "column": 36 + } + } + }, + "range": [ + 2795, + 2811 + ], + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateStr2", + "range": [ + 2812, + 2820 + ], + "loc": { + "start": { + "line": 79, + "column": 37 + }, + "end": { + "line": 79, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 2822, + 2828 + ], + "loc": { + "start": { + "line": 79, + "column": 47 + }, + "end": { + "line": 79, + "column": 53 + } + } + } + ], + "range": [ + 2795, + 2829 + ], + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 54 + } + } + }, + "range": [ + 2787, + 2829 + ], + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 2783, + 2830 + ], + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 55 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "compareFn", + "range": [ + 2846, + 2855 + ], + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "date1", + "range": [ + 2856, + 2861 + ], + "loc": { + "start": { + "line": 80, + "column": 25 + }, + "end": { + "line": 80, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "date2", + "range": [ + 2863, + 2868 + ], + "loc": { + "start": { + "line": 80, + "column": 32 + }, + "end": { + "line": 80, + "column": 37 + } + } + } + ], + "range": [ + 2846, + 2869 + ], + "loc": { + "start": { + "line": 80, + "column": 15 + }, + "end": { + "line": 80, + "column": 38 + } + } + }, + "range": [ + 2839, + 2870 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 39 + } + } + } + ], + "range": [ + 2717, + 2876 + ], + "loc": { + "start": { + "line": 77, + "column": 35 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2693, + 2876 + ], + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 81, + "column": 5 + } + } + }, + "range": [ + 2686, + 2877 + ], + "loc": { + "start": { + "line": 77, + "column": 4 + }, + "end": { + "line": 81, + "column": 6 + } + } + } + ], + "range": [ + 2680, + 2879 + ], + "loc": { + "start": { + "line": 76, + "column": 60 + }, + "end": { + "line": 82, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2647, + 2879 + ], + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 82, + "column": 1 + } + } + }, + "range": [ + 2633, + 2879 + ], + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 82, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 2627, + 2880 + ], + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 82, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n ", + "range": [ + 2320, + 2619 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 2620, + 2880 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 82, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n ", + "range": [ + 2320, + 2619 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 2880 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 82, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "* Sorting utilities ", + "range": [ + 90, + 114 + ], + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 116, + 432 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 574, + 767 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 25, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 814, + 1008 + ], + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1056, + 1327 + ], + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n ", + "range": [ + 1409, + 1681 + ], + "loc": { + "start": { + "line": 45, + "column": 0 + }, + "end": { + "line": 51, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n ", + "range": [ + 1764, + 2082 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n ", + "range": [ + 2320, + 2619 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/string.js.json b/docs/ast/source/string.js.json new file mode 100644 index 00000000..bce451a7 --- /dev/null +++ b/docs/ast/source/string.js.json @@ -0,0 +1,3563 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeDiacritics", + "range": [ + 18, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "remove", + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "range": [ + 8, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 34 + } + } + } + ], + "source": { + "type": "Literal", + "value": "diacritics", + "raw": "'diacritics'", + "range": [ + 41, + 53 + ], + "loc": { + "start": { + "line": 1, + "column": 41 + }, + "end": { + "line": 1, + "column": 53 + } + } + }, + "range": [ + 0, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 54 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * String utilities\n ", + "range": [ + 56, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n ", + "range": [ + 85, + 192 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "trim", + "range": [ + 206, + 210 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 214, + 218 + ], + "loc": { + "start": { + "line": 12, + "column": 21 + }, + "end": { + "line": 12, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "text", + "range": [ + 233, + 237 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "trim", + "range": [ + 238, + 242 + ], + "loc": { + "start": { + "line": 13, + "column": 13 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + "range": [ + 233, + 242 + ], + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 17 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "text", + "range": [ + 261, + 265 + ], + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "trim", + "range": [ + 266, + 270 + ], + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "range": [ + 261, + 270 + ], + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + "arguments": [], + "range": [ + 261, + 272 + ], + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + "range": [ + 254, + 273 + ], + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 27 + } + } + } + ], + "range": [ + 244, + 279 + ], + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 229, + 279 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "text", + "range": [ + 291, + 295 + ], + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 296, + 303 + ], + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + "range": [ + 291, + 303 + ], + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": {}, + "raw": "/^\\s*|\\s*$/g", + "regex": { + "pattern": "^\\s*|\\s*$", + "flags": "g" + }, + "range": [ + 304, + 316 + ], + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 318, + 320 + ], + "loc": { + "start": { + "line": 16, + "column": 38 + }, + "end": { + "line": 16, + "column": 40 + } + } + } + ], + "range": [ + 291, + 321 + ], + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + "range": [ + 284, + 322 + ], + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 42 + } + } + } + ], + "range": [ + 223, + 324 + ], + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 213, + 324 + ], + "loc": { + "start": { + "line": 12, + "column": 20 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + "range": [ + 206, + 324 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 17, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 200, + 325 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * String utilities\n ", + "range": [ + 56, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n ", + "range": [ + 85, + 192 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n ", + "range": [ + 327, + 415 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 193, + 325 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * String utilities\n ", + "range": [ + 56, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n ", + "range": [ + 85, + 192 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n ", + "range": [ + 327, + 415 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 429, + 436 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 440, + 444 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 28 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 449, + 453 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 454, + 458 + ], + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 42 + } + } + } + ], + "range": [ + 449, + 459 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 464, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 48 + }, + "end": { + "line": 24, + "column": 50 + } + } + }, + "range": [ + 449, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 439, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 50 + } + } + }, + "range": [ + 429, + 466 + ], + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 50 + } + } + } + ], + "kind": "const", + "range": [ + 423, + 467 + ], + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n ", + "range": [ + 327, + 415 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n ", + "range": [ + 469, + 612 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 416, + 467 + ], + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n ", + "range": [ + 327, + 415 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n ", + "range": [ + 469, + 612 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 626, + 632 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 19 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 636, + 640 + ], + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "chars", + "range": [ + 655, + 660 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + "init": { + "type": "Literal", + "value": {}, + "raw": "/[-\\/\\\\^$*+?.()|[\\]{}]/g", + "regex": { + "pattern": "[-\\/\\\\^$*+?.()|[\\]{}]", + "flags": "g" + }, + "range": [ + 663, + 687 + ], + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 40 + } + } + }, + "range": [ + 655, + 687 + ], + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 651, + 688 + ], + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 41 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "escMatch", + "range": [ + 697, + 705 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 16 + } + } + }, + "init": { + "type": "Literal", + "value": "\\$&", + "raw": "'\\\\$&'", + "range": [ + 708, + 714 + ], + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 25 + } + } + }, + "range": [ + 697, + 714 + ], + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 693, + 715 + ], + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 26 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "String", + "range": [ + 727, + 733 + ], + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 734, + 738 + ], + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 22 + } + } + } + ], + "range": [ + 727, + 739 + ], + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 740, + 747 + ], + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 31 + } + } + }, + "range": [ + 727, + 747 + ], + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "chars", + "range": [ + 748, + 753 + ], + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "escMatch", + "range": [ + 755, + 763 + ], + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 34, + "column": 47 + } + } + } + ], + "range": [ + 727, + 764 + ], + "loc": { + "start": { + "line": 34, + "column": 11 + }, + "end": { + "line": 34, + "column": 48 + } + } + }, + "range": [ + 720, + 765 + ], + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 49 + } + } + } + ], + "range": [ + 645, + 767 + ], + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 635, + 767 + ], + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 35, + "column": 1 + } + } + }, + "range": [ + 626, + 767 + ], + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 35, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 620, + 768 + ], + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 35, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n ", + "range": [ + 469, + 612 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 770, + 959 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 613, + 768 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 35, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n ", + "range": [ + 469, + 612 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 770, + 959 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 973, + 982 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "text", + "range": [ + 986, + 990 + ], + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 30 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 992, + 1005 + ], + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 45 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1008, + 1013 + ], + "loc": { + "start": { + "line": 43, + "column": 48 + }, + "end": { + "line": 43, + "column": 53 + } + } + }, + "range": [ + 992, + 1013 + ], + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 53 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 1029, + 1042 + ], + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 22 + } + } + }, + "prefix": true, + "range": [ + 1028, + 1042 + ], + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 22 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "text", + "range": [ + 1061, + 1065 + ], + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 1066, + 1077 + ], + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + "range": [ + 1061, + 1077 + ], + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 1061, + 1079 + ], + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 33 + } + } + }, + "range": [ + 1054, + 1080 + ], + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 34 + } + } + } + ], + "range": [ + 1044, + 1086 + ], + "loc": { + "start": { + "line": 44, + "column": 24 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1024, + 1086 + ], + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "text", + "range": [ + 1098, + 1102 + ], + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + "range": [ + 1091, + 1103 + ], + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 16 + } + } + } + ], + "range": [ + 1018, + 1105 + ], + "loc": { + "start": { + "line": 43, + "column": 58 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 985, + 1105 + ], + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 48, + "column": 1 + } + } + }, + "range": [ + 973, + 1105 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 48, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 967, + 1106 + ], + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 48, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 770, + 959 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n ", + "range": [ + 1108, + 1459 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 960, + 1106 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 48, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 770, + 959 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n ", + "range": [ + 1108, + 1459 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "contains", + "range": [ + 1473, + 1481 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 21 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 1485, + 1489 + ], + "loc": { + "start": { + "line": 59, + "column": 25 + }, + "end": { + "line": 59, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "data", + "range": [ + 1491, + 1495 + ], + "loc": { + "start": { + "line": 59, + "column": 31 + }, + "end": { + "line": 59, + "column": 35 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exactMatch", + "range": [ + 1497, + 1507 + ], + "loc": { + "start": { + "line": 59, + "column": 37 + }, + "end": { + "line": 59, + "column": 47 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1510, + 1515 + ], + "loc": { + "start": { + "line": 59, + "column": 50 + }, + "end": { + "line": 59, + "column": 55 + } + } + }, + "range": [ + 1497, + 1515 + ], + "loc": { + "start": { + "line": 59, + "column": 37 + }, + "end": { + "line": 59, + "column": 55 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 1517, + 1530 + ], + "loc": { + "start": { + "line": 59, + "column": 57 + }, + "end": { + "line": 59, + "column": 70 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1533, + 1538 + ], + "loc": { + "start": { + "line": 59, + "column": 73 + }, + "end": { + "line": 59, + "column": 78 + } + } + }, + "range": [ + 1517, + 1538 + ], + "loc": { + "start": { + "line": 59, + "column": 57 + }, + "end": { + "line": 59, + "column": 78 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "ignoreDiacritics", + "range": [ + 1544, + 1560 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 1563, + 1568 + ], + "loc": { + "start": { + "line": 60, + "column": 23 + }, + "end": { + "line": 60, + "column": 28 + } + } + }, + "range": [ + 1544, + 1568 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "regexp", + "range": [ + 1703, + 1709 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 14 + } + } + }, + "init": null, + "range": [ + 1703, + 1709 + ], + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 14 + } + } + } + ], + "kind": "let", + "range": [ + 1699, + 1710 + ], + "loc": { + "start": { + "line": 63, + "column": 4 + }, + "end": { + "line": 63, + "column": 15 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Improved by Cedric Wartel (cwl) automatic exact match for selects and", + "range": [ + 1579, + 1651 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " special characters are now filtered", + "range": [ + 1656, + 1694 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 42 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "modifier", + "range": [ + 1719, + 1727 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 1730, + 1743 + ], + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 32 + } + } + }, + "consequent": { + "type": "Literal", + "value": "g", + "raw": "'g'", + "range": [ + 1746, + 1749 + ], + "loc": { + "start": { + "line": 64, + "column": 35 + }, + "end": { + "line": 64, + "column": 38 + } + } + }, + "alternate": { + "type": "Literal", + "value": "gi", + "raw": "'gi'", + "range": [ + 1752, + 1756 + ], + "loc": { + "start": { + "line": 64, + "column": 41 + }, + "end": { + "line": 64, + "column": 45 + } + } + }, + "range": [ + 1730, + 1756 + ], + "loc": { + "start": { + "line": 64, + "column": 19 + }, + "end": { + "line": 64, + "column": 45 + } + } + }, + "range": [ + 1719, + 1756 + ], + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 1715, + 1757 + ], + "loc": { + "start": { + "line": 64, + "column": 4 + }, + "end": { + "line": 64, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "ignoreDiacritics", + "range": [ + 1766, + 1782 + ], + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 1794, + 1798 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeDiacritics", + "range": [ + 1801, + 1817 + ], + "loc": { + "start": { + "line": 66, + "column": 15 + }, + "end": { + "line": 66, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 1818, + 1822 + ], + "loc": { + "start": { + "line": 66, + "column": 32 + }, + "end": { + "line": 66, + "column": 36 + } + } + } + ], + "range": [ + 1801, + 1823 + ], + "loc": { + "start": { + "line": 66, + "column": 15 + }, + "end": { + "line": 66, + "column": 37 + } + } + }, + "range": [ + 1794, + 1823 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 37 + } + } + }, + "range": [ + 1794, + 1824 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "data", + "range": [ + 1833, + 1837 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeDiacritics", + "range": [ + 1840, + 1856 + ], + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "data", + "range": [ + 1857, + 1861 + ], + "loc": { + "start": { + "line": 67, + "column": 32 + }, + "end": { + "line": 67, + "column": 36 + } + } + } + ], + "range": [ + 1840, + 1862 + ], + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 37 + } + } + }, + "range": [ + 1833, + 1862 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 37 + } + } + }, + "range": [ + 1833, + 1863 + ], + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 38 + } + } + } + ], + "range": [ + 1784, + 1869 + ], + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 68, + "column": 5 + } + } + }, + "alternate": null, + "range": [ + 1762, + 1869 + ], + "loc": { + "start": { + "line": 65, + "column": 4 + }, + "end": { + "line": 68, + "column": 5 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "exactMatch", + "range": [ + 1878, + 1888 + ], + "loc": { + "start": { + "line": 69, + "column": 8 + }, + "end": { + "line": 69, + "column": 18 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "regexp", + "range": [ + 1900, + 1906 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 70, + "column": 14 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 1913, + 1919 + ], + "loc": { + "start": { + "line": 70, + "column": 21 + }, + "end": { + "line": 70, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "(^\\s*)", + "raw": "'(^\\\\s*)'", + "range": [ + 1920, + 1929 + ], + "loc": { + "start": { + "line": 70, + "column": 28 + }, + "end": { + "line": 70, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 1932, + 1938 + ], + "loc": { + "start": { + "line": 70, + "column": 40 + }, + "end": { + "line": 70, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 1939, + 1943 + ], + "loc": { + "start": { + "line": 70, + "column": 47 + }, + "end": { + "line": 70, + "column": 51 + } + } + } + ], + "range": [ + 1932, + 1944 + ], + "loc": { + "start": { + "line": 70, + "column": 40 + }, + "end": { + "line": 70, + "column": 52 + } + } + }, + "range": [ + 1920, + 1944 + ], + "loc": { + "start": { + "line": 70, + "column": 28 + }, + "end": { + "line": 70, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": "(\\s*$)", + "raw": "'(\\\\s*$)'", + "range": [ + 1947, + 1956 + ], + "loc": { + "start": { + "line": 70, + "column": 55 + }, + "end": { + "line": 70, + "column": 64 + } + } + }, + "range": [ + 1920, + 1956 + ], + "loc": { + "start": { + "line": 70, + "column": 28 + }, + "end": { + "line": 70, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "modifier", + "range": [ + 1970, + 1978 + ], + "loc": { + "start": { + "line": 71, + "column": 12 + }, + "end": { + "line": 71, + "column": 20 + } + } + } + ], + "range": [ + 1909, + 1979 + ], + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + "range": [ + 1900, + 1979 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + "range": [ + 1900, + 1980 + ], + "loc": { + "start": { + "line": 70, + "column": 8 + }, + "end": { + "line": 71, + "column": 22 + } + } + } + ], + "range": [ + 1890, + 1986 + ], + "loc": { + "start": { + "line": 69, + "column": 20 + }, + "end": { + "line": 72, + "column": 5 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "regexp", + "range": [ + 2002, + 2008 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 14 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 2015, + 2021 + ], + "loc": { + "start": { + "line": 73, + "column": 21 + }, + "end": { + "line": 73, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 2022, + 2028 + ], + "loc": { + "start": { + "line": 73, + "column": 28 + }, + "end": { + "line": 73, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 2029, + 2033 + ], + "loc": { + "start": { + "line": 73, + "column": 35 + }, + "end": { + "line": 73, + "column": 39 + } + } + } + ], + "range": [ + 2022, + 2034 + ], + "loc": { + "start": { + "line": 73, + "column": 28 + }, + "end": { + "line": 73, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "modifier", + "range": [ + 2036, + 2044 + ], + "loc": { + "start": { + "line": 73, + "column": 42 + }, + "end": { + "line": 73, + "column": 50 + } + } + } + ], + "range": [ + 2011, + 2045 + ], + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 51 + } + } + }, + "range": [ + 2002, + 2045 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 51 + } + } + }, + "range": [ + 2002, + 2046 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 52 + } + } + } + ], + "range": [ + 1992, + 2052 + ], + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + "range": [ + 1874, + 2052 + ], + "loc": { + "start": { + "line": 69, + "column": 4 + }, + "end": { + "line": 74, + "column": 5 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "regexp", + "range": [ + 2064, + 2070 + ], + "loc": { + "start": { + "line": 75, + "column": 11 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 2071, + 2075 + ], + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + "range": [ + 2064, + 2075 + ], + "loc": { + "start": { + "line": 75, + "column": 11 + }, + "end": { + "line": 75, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "data", + "range": [ + 2076, + 2080 + ], + "loc": { + "start": { + "line": 75, + "column": 23 + }, + "end": { + "line": 75, + "column": 27 + } + } + } + ], + "range": [ + 2064, + 2081 + ], + "loc": { + "start": { + "line": 75, + "column": 11 + }, + "end": { + "line": 75, + "column": 28 + } + } + }, + "range": [ + 2057, + 2082 + ], + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 29 + } + } + } + ], + "range": [ + 1573, + 2084 + ], + "loc": { + "start": { + "line": 60, + "column": 33 + }, + "end": { + "line": 76, + "column": 1 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1484, + 2084 + ], + "loc": { + "start": { + "line": 59, + "column": 24 + }, + "end": { + "line": 76, + "column": 1 + } + } + }, + "range": [ + 1473, + 2084 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 76, + "column": 1 + } + } + } + ], + "kind": "const", + "range": [ + 1467, + 2085 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 76, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n ", + "range": [ + 1108, + 1459 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1460, + 2085 + ], + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 76, + "column": 2 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n ", + "range": [ + 1108, + 1459 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 2085 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 76, + "column": 2 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * String utilities\n ", + "range": [ + 56, + 83 + ], + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n ", + "range": [ + 85, + 192 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n ", + "range": [ + 327, + 415 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n ", + "range": [ + 469, + 612 + ], + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 770, + 959 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n ", + "range": [ + 1108, + 1459 + ], + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "Line", + "value": " Improved by Cedric Wartel (cwl) automatic exact match for selects and", + "range": [ + 1579, + 1651 + ], + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 76 + } + } + }, + { + "type": "Line", + "value": " special characters are now filtered", + "range": [ + 1656, + 1694 + ], + "loc": { + "start": { + "line": 62, + "column": 4 + }, + "end": { + "line": 62, + "column": 42 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/tablefilter.js.json b/docs/ast/source/tablefilter.js.json new file mode 100644 index 00000000..109de4cf --- /dev/null +++ b/docs/ast/source/tablefilter.js.json @@ -0,0 +1,174409 @@ +{ + "type": "Program", + "body": [ + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + "range": [ + 8, + 14 + ], + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "imported": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + "range": [ + 16, + 25 + ], + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 27, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 27, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + "range": [ + 27, + 34 + ], + "loc": { + "start": { + "line": 1, + "column": 27 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + "range": [ + 36, + 45 + ], + "loc": { + "start": { + "line": 1, + "column": 36 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 54 + } + } + }, + "imported": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 54 + } + } + }, + "range": [ + 47, + 54 + ], + "loc": { + "start": { + "line": 1, + "column": 47 + }, + "end": { + "line": 1, + "column": 54 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./event", + "raw": "'./event'", + "range": [ + 61, + 70 + ], + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 70 + } + } + }, + "range": [ + 0, + 71 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 71 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "addClass", + "range": [ + 85, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "addClass", + "range": [ + 85, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + "range": [ + 85, + 93 + ], + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createElm", + "range": [ + 95, + 104 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createElm", + "range": [ + 95, + 104 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + "range": [ + 95, + 104 + ], + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 106, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "imported": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 106, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + "range": [ + 106, + 115 + ], + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "elm", + "range": [ + 117, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + "imported": { + "type": "Identifier", + "name": "elm", + "range": [ + 117, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + "range": [ + 117, + 120 + ], + "loc": { + "start": { + "line": 3, + "column": 36 + }, + "end": { + "line": 3, + "column": 39 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getText", + "range": [ + 122, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 48 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getText", + "range": [ + 122, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 48 + } + } + }, + "range": [ + 122, + 129 + ], + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 48 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "getFirstTextNode", + "range": [ + 131, + 147 + ], + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + "imported": { + "type": "Identifier", + "name": "getFirstTextNode", + "range": [ + 131, + 147 + ], + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + "range": [ + 131, + 147 + ], + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 66 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 153, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 153, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + "range": [ + 153, + 164 + ], + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 15 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 166, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "imported": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 166, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + "range": [ + 166, + 175 + ], + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 26 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "tag", + "range": [ + 177, + 180 + ], + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "tag", + "range": [ + 177, + 180 + ], + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + "range": [ + 177, + 180 + ], + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 31 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./dom", + "raw": "'./dom'", + "range": [ + 188, + 195 + ], + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + "range": [ + 72, + 196 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "contains", + "range": [ + 205, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "contains", + "range": [ + 205, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + "range": [ + 205, + 213 + ], + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 215, + 224 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 215, + 224 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + "range": [ + 215, + 224 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 226, + 232 + ], + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + "imported": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 226, + 232 + ], + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + "range": [ + 226, + 232 + ], + "loc": { + "start": { + "line": 6, + "column": 29 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "trim", + "range": [ + 234, + 238 + ], + "loc": { + "start": { + "line": 6, + "column": 37 + }, + "end": { + "line": 6, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "trim", + "range": [ + 234, + 238 + ], + "loc": { + "start": { + "line": 6, + "column": 37 + }, + "end": { + "line": 6, + "column": 41 + } + } + }, + "range": [ + 234, + 238 + ], + "loc": { + "start": { + "line": 6, + "column": 37 + }, + "end": { + "line": 6, + "column": 41 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./string", + "raw": "'./string'", + "range": [ + 245, + 255 + ], + "loc": { + "start": { + "line": 6, + "column": 48 + }, + "end": { + "line": 6, + "column": 58 + } + } + }, + "range": [ + 197, + 256 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 59 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmptyString", + "range": [ + 276, + 289 + ], + "loc": { + "start": { + "line": 7, + "column": 19 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 265, + 272 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + "range": [ + 265, + 289 + ], + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 32 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./string", + "raw": "'./string'", + "range": [ + 296, + 306 + ], + "loc": { + "start": { + "line": 7, + "column": 39 + }, + "end": { + "line": 7, + "column": 49 + } + } + }, + "range": [ + 257, + 307 + ], + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 50 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isArray", + "range": [ + 321, + 328 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 11 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isArray", + "range": [ + 321, + 328 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 11 + } + } + }, + "range": [ + 321, + 328 + ], + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 11 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 330, + 337 + ], + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 330, + 337 + ], + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + "range": [ + 330, + 337 + ], + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isFn", + "range": [ + 339, + 343 + ], + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isFn", + "range": [ + 339, + 343 + ], + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + "range": [ + 339, + 343 + ], + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 345, + 353 + ], + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 36 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 345, + 353 + ], + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 36 + } + } + }, + "range": [ + 345, + 353 + ], + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 36 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isObj", + "range": [ + 355, + 360 + ], + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 43 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isObj", + "range": [ + 355, + 360 + ], + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 43 + } + } + }, + "range": [ + 355, + 360 + ], + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 43 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isString", + "range": [ + 362, + 370 + ], + "loc": { + "start": { + "line": 9, + "column": 45 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isString", + "range": [ + 362, + 370 + ], + "loc": { + "start": { + "line": 9, + "column": 45 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + "range": [ + 362, + 370 + ], + "loc": { + "start": { + "line": 9, + "column": 45 + }, + "end": { + "line": 9, + "column": 53 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 372, + 379 + ], + "loc": { + "start": { + "line": 9, + "column": 55 + }, + "end": { + "line": 9, + "column": 62 + } + } + }, + "imported": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 372, + 379 + ], + "loc": { + "start": { + "line": 9, + "column": 55 + }, + "end": { + "line": 9, + "column": 62 + } + } + }, + "range": [ + 372, + 379 + ], + "loc": { + "start": { + "line": 9, + "column": 55 + }, + "end": { + "line": 9, + "column": 62 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 381, + 389 + ], + "loc": { + "start": { + "line": 9, + "column": 64 + }, + "end": { + "line": 9, + "column": 72 + } + } + }, + "imported": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 381, + 389 + ], + "loc": { + "start": { + "line": 9, + "column": 64 + }, + "end": { + "line": 9, + "column": 72 + } + } + }, + "range": [ + 381, + 389 + ], + "loc": { + "start": { + "line": 9, + "column": 64 + }, + "end": { + "line": 9, + "column": 72 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./types", + "raw": "'./types'", + "range": [ + 397, + 406 + ], + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + "range": [ + 308, + 407 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 425, + 432 + ], + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + "imported": { + "type": "Identifier", + "name": "parse", + "range": [ + 416, + 421 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + "range": [ + 416, + 432 + ], + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 24 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./number", + "raw": "'./number'", + "range": [ + 439, + 449 + ], + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + "range": [ + 408, + 450 + ], + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 42 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 464, + 476 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 464, + 476 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + "range": [ + 464, + 476 + ], + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 16 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 478, + 489 + ], + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 478, + 489 + ], + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + "range": [ + 478, + 489 + ], + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 491, + 501 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 491, + 501 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + "range": [ + 491, + 501 + ], + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 507, + 517 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 507, + 517 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + "range": [ + 507, + 517 + ], + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 519, + 530 + ], + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 519, + 530 + ], + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + "range": [ + 519, + 530 + ], + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 27 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./settings", + "raw": "'./settings'", + "range": [ + 538, + 550 + ], + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + "range": [ + 451, + 551 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "root", + "range": [ + 561, + 565 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "root", + "range": [ + 561, + 565 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "range": [ + 561, + 565 + ], + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./root", + "raw": "'./root'", + "range": [ + 572, + 580 + ], + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + "range": [ + 553, + 581 + ], + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Emitter", + "range": [ + 590, + 597 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Emitter", + "range": [ + 590, + 597 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 15 + } + } + }, + "range": [ + 590, + 597 + ], + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 15 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./emitter", + "raw": "'./emitter'", + "range": [ + 604, + 615 + ], + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + "range": [ + 582, + 616 + ], + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "Dropdown", + "range": [ + 625, + 633 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + "imported": { + "type": "Identifier", + "name": "Dropdown", + "range": [ + 625, + 633 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + "range": [ + 625, + 633 + ], + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 16 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/dropdown", + "raw": "'./modules/dropdown'", + "range": [ + 640, + 660 + ], + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 43 + } + } + }, + "range": [ + 617, + 661 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 44 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CheckList", + "range": [ + 670, + 679 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CheckList", + "range": [ + 670, + 679 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + "range": [ + 670, + 679 + ], + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 17 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./modules/checkList", + "raw": "'./modules/checkList'", + "range": [ + 686, + 707 + ], + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 45 + } + } + }, + "range": [ + 662, + 708 + ], + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 46 + } + } + }, + { + "type": "ImportDeclaration", + "specifiers": [ + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 723, + 728 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + "imported": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 723, + 728 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + "range": [ + 723, + 728 + ], + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 730, + 736 + ], + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "imported": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 730, + 736 + ], + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + "range": [ + 730, + 736 + ], + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 738, + 746 + ], + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "imported": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 738, + 746 + ], + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + "range": [ + 738, + 746 + ], + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 27 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 748, + 757 + ], + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 748, + 757 + ], + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + "range": [ + 748, + 757 + ], + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NONE", + "range": [ + 759, + 763 + ], + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NONE", + "range": [ + 759, + 763 + ], + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + "range": [ + 759, + 763 + ], + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 44 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 769, + 778 + ], + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + "imported": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 769, + 778 + ], + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + "range": [ + 769, + 778 + ], + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "TAB_KEY", + "range": [ + 780, + 787 + ], + "loc": { + "start": { + "line": 24, + "column": 15 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + "imported": { + "type": "Identifier", + "name": "TAB_KEY", + "range": [ + 780, + 787 + ], + "loc": { + "start": { + "line": 24, + "column": 15 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + "range": [ + 780, + 787 + ], + "loc": { + "start": { + "line": 24, + "column": 15 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "ESC_KEY", + "range": [ + 789, + 796 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "ESC_KEY", + "range": [ + 789, + 796 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + "range": [ + 789, + 796 + ], + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "UP_ARROW_KEY", + "range": [ + 798, + 810 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "UP_ARROW_KEY", + "range": [ + 798, + 810 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 45 + } + } + }, + "range": [ + 798, + 810 + ], + "loc": { + "start": { + "line": 24, + "column": 33 + }, + "end": { + "line": 24, + "column": 45 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DOWN_ARROW_KEY", + "range": [ + 812, + 826 + ], + "loc": { + "start": { + "line": 24, + "column": 47 + }, + "end": { + "line": 24, + "column": 61 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DOWN_ARROW_KEY", + "range": [ + 812, + 826 + ], + "loc": { + "start": { + "line": 24, + "column": 47 + }, + "end": { + "line": 24, + "column": 61 + } + } + }, + "range": [ + 812, + 826 + ], + "loc": { + "start": { + "line": 24, + "column": 47 + }, + "end": { + "line": 24, + "column": 61 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 832, + 840 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 832, + 840 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + "range": [ + 832, + 840 + ], + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "AUTO_FILTER_DELAY", + "range": [ + 842, + 859 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + "imported": { + "type": "Identifier", + "name": "AUTO_FILTER_DELAY", + "range": [ + 842, + 859 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + "range": [ + 842, + 859 + ], + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 861, + 867 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + "imported": { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 861, + 867 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + "range": [ + 861, + 867 + ], + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "DATE", + "range": [ + 869, + 873 + ], + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "imported": { + "type": "Identifier", + "name": "DATE", + "range": [ + 869, + 873 + ], + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + "range": [ + 869, + 873 + ], + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 45 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 875, + 891 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 63 + } + } + }, + "imported": { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 875, + 891 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 63 + } + } + }, + "range": [ + 875, + 891 + ], + "loc": { + "start": { + "line": 25, + "column": 47 + }, + "end": { + "line": 25, + "column": 63 + } + } + }, + { + "type": "ImportSpecifier", + "local": { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 897, + 905 + ], + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + "imported": { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 897, + 905 + ], + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + "range": [ + 897, + 905 + ], + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 12 + } + } + } + ], + "source": { + "type": "Literal", + "value": "./const", + "raw": "'./const'", + "range": [ + 913, + 922 + ], + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + "range": [ + 710, + 923 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "doc", + "range": [ + 929, + 932 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 935, + 939 + ], + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "document", + "range": [ + 940, + 948 + ], + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + "range": [ + 935, + 948 + ], + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + "range": [ + 929, + 948 + ], + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 925, + 949 + ], + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 24 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n ", + "range": [ + 951, + 1044 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "ClassDeclaration", + "id": { + "type": "Identifier", + "name": "TableFilter", + "range": [ + 1058, + 1069 + ], + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + "superClass": null, + "body": { + "type": "ClassBody", + "body": [ + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "constructor", + "range": [ + 1405, + 1416 + ], + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "RestElement", + "argument": { + "type": "Identifier", + "name": "args", + "range": [ + 1420, + 1424 + ], + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 23 + } + } + }, + "range": [ + 1417, + 1424 + ], + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1540, + 1544 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 1545, + 1547 + ], + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + "range": [ + 1540, + 1547 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 15 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1550, + 1554 + ], + "loc": { + "start": { + "line": 53, + "column": 18 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + "range": [ + 1540, + 1554 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 22 + } + } + }, + "range": [ + 1540, + 1555 + ], + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 23 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * ID of current instance\n * @type {String}\n * @private\n ", + "range": [ + 1436, + 1531 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current version\n * @type {String}\n ", + "range": [ + 1565, + 1633 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1642, + 1646 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "version", + "range": [ + 1647, + 1654 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + "range": [ + 1642, + 1654 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": "{VERSION}", + "raw": "'{VERSION}'", + "range": [ + 1657, + 1668 + ], + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 34 + } + } + }, + "range": [ + 1642, + 1668 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 34 + } + } + }, + "range": [ + 1642, + 1669 + ], + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current version\n * @type {String}\n ", + "range": [ + 1565, + 1633 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Current year\n * @type {Number}\n * @private\n ", + "range": [ + 1679, + 1764 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1773, + 1777 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "year", + "range": [ + 1778, + 1782 + ], + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + "range": [ + 1773, + 1782 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Date", + "range": [ + 1789, + 1793 + ], + "loc": { + "start": { + "line": 66, + "column": 24 + }, + "end": { + "line": 66, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 1785, + 1795 + ], + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFullYear", + "range": [ + 1796, + 1807 + ], + "loc": { + "start": { + "line": 66, + "column": 31 + }, + "end": { + "line": 66, + "column": 42 + } + } + }, + "range": [ + 1785, + 1807 + ], + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 1785, + 1809 + ], + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 44 + } + } + }, + "range": [ + 1773, + 1809 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 44 + } + } + }, + "range": [ + 1773, + 1810 + ], + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Current year\n * @type {Number}\n * @private\n ", + "range": [ + 1679, + 1764 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * HTML Table DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1820, + 1919 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 1928, + 1932 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 1933, + 1936 + ], + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 16 + } + } + }, + "range": [ + 1928, + 1936 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 16 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1939, + 1943 + ], + "loc": { + "start": { + "line": 73, + "column": 19 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "range": [ + 1928, + 1943 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + "range": [ + 1928, + 1944 + ], + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * HTML Table DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1820, + 1919 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n ", + "range": [ + 1954, + 2095 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2104, + 2108 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 2109, + 2115 + ], + "loc": { + "start": { + "line": 80, + "column": 13 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + "range": [ + 2104, + 2115 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2118, + 2122 + ], + "loc": { + "start": { + "line": 80, + "column": 22 + }, + "end": { + "line": 80, + "column": 26 + } + } + }, + "range": [ + 2104, + 2122 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 26 + } + } + }, + "range": [ + 2104, + 2123 + ], + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n ", + "range": [ + 1954, + 2095 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Index of the headers row\n * @type {Number}\n * @private\n ", + "range": [ + 2133, + 2230 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2239, + 2243 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 2244, + 2254 + ], + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + "range": [ + 2239, + 2254 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2257, + 2261 + ], + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + "range": [ + 2239, + 2261 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + "range": [ + 2239, + 2262 + ], + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Index of the headers row\n * @type {Number}\n * @private\n ", + "range": [ + 2133, + 2230 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2272, + 2365 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 93, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2374, + 2378 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 2379, + 2382 + ], + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 16 + } + } + }, + "range": [ + 2374, + 2382 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 16 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 2385, + 2387 + ], + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 21 + } + } + }, + "range": [ + 2374, + 2387 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 21 + } + } + }, + "range": [ + 2374, + 2388 + ], + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2272, + 2365 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 93, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n ", + "range": [ + 2398, + 2506 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2515, + 2519 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 2520, + 2536 + ], + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 29 + } + } + }, + "range": [ + 2515, + 2536 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 2539, + 2540 + ], + "loc": { + "start": { + "line": 101, + "column": 32 + }, + "end": { + "line": 101, + "column": 33 + } + } + }, + "range": [ + 2515, + 2540 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 33 + } + } + }, + "range": [ + 2515, + 2541 + ], + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n ", + "range": [ + 2398, + 2506 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number of cells in the reference row\n * @type {Number}\n * @private\n ", + "range": [ + 2551, + 2660 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 107, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2669, + 2673 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 2674, + 2681 + ], + "loc": { + "start": { + "line": 108, + "column": 13 + }, + "end": { + "line": 108, + "column": 20 + } + } + }, + "range": [ + 2669, + 2681 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 2684, + 2688 + ], + "loc": { + "start": { + "line": 108, + "column": 23 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + "range": [ + 2669, + 2688 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 27 + } + } + }, + "range": [ + 2669, + 2689 + ], + "loc": { + "start": { + "line": 108, + "column": 8 + }, + "end": { + "line": 108, + "column": 28 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number of cells in the reference row\n * @type {Number}\n * @private\n ", + "range": [ + 2551, + 2660 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 107, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Has a configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2699, + 2798 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 114, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2807, + 2811 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasConfig", + "range": [ + 2812, + 2821 + ], + "loc": { + "start": { + "line": 115, + "column": 13 + }, + "end": { + "line": 115, + "column": 22 + } + } + }, + "range": [ + 2807, + 2821 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 2824, + 2829 + ], + "loc": { + "start": { + "line": 115, + "column": 25 + }, + "end": { + "line": 115, + "column": 30 + } + } + }, + "range": [ + 2807, + 2829 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 30 + } + } + }, + "range": [ + 2807, + 2830 + ], + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 31 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Has a configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2699, + 2798 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 114, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "* @private ", + "range": [ + 2840, + 2855 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 23 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 2864, + 2868 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 2869, + 2880 + ], + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "range": [ + 2864, + 2880 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 2883, + 2888 + ], + "loc": { + "start": { + "line": 118, + "column": 27 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + "range": [ + 2864, + 2888 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 32 + } + } + }, + "range": [ + 2864, + 2889 + ], + "loc": { + "start": { + "line": 118, + "column": 8 + }, + "end": { + "line": 118, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "* @private ", + "range": [ + 2840, + 2855 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 23 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "startRow", + "range": [ + 2903, + 2911 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + "init": null, + "range": [ + 2903, + 2911 + ], + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 2899, + 2912 + ], + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " TODO: use for-of", + "range": [ + 2922, + 2941 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 27 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "args", + "range": [ + 2950, + 2954 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 2955, + 2962 + ], + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 123, + "column": 20 + } + } + }, + "range": [ + 2950, + 2962 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 123, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 2964, + 2967 + ], + "loc": { + "start": { + "line": 123, + "column": 22 + }, + "end": { + "line": 123, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "arg", + "range": [ + 2997, + 3000 + ], + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 2990, + 3000 + ], + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "object", + "raw": "'object'", + "range": [ + 3005, + 3013 + ], + "loc": { + "start": { + "line": 124, + "column": 31 + }, + "end": { + "line": 124, + "column": 39 + } + } + }, + "range": [ + 2990, + 3013 + ], + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 39 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "arg", + "range": [ + 3017, + 3020 + ], + "loc": { + "start": { + "line": 124, + "column": 43 + }, + "end": { + "line": 124, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 3021, + 3029 + ], + "loc": { + "start": { + "line": 124, + "column": 47 + }, + "end": { + "line": 124, + "column": 55 + } + } + }, + "range": [ + 3017, + 3029 + ], + "loc": { + "start": { + "line": 124, + "column": 43 + }, + "end": { + "line": 124, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": "TABLE", + "raw": "'TABLE'", + "range": [ + 3034, + 3041 + ], + "loc": { + "start": { + "line": 124, + "column": 60 + }, + "end": { + "line": 124, + "column": 67 + } + } + }, + "range": [ + 3017, + 3041 + ], + "loc": { + "start": { + "line": 124, + "column": 43 + }, + "end": { + "line": 124, + "column": 67 + } + } + }, + "range": [ + 2990, + 3041 + ], + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 67 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3061, + 3065 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 3066, + 3069 + ], + "loc": { + "start": { + "line": 125, + "column": 21 + }, + "end": { + "line": 125, + "column": 24 + } + } + }, + "range": [ + 3061, + 3069 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "arg", + "range": [ + 3072, + 3075 + ], + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + "range": [ + 3061, + 3075 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + "range": [ + 3061, + 3076 + ], + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3093, + 3097 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 3098, + 3100 + ], + "loc": { + "start": { + "line": 126, + "column": 21 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "range": [ + 3093, + 3100 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "arg", + "range": [ + 3103, + 3106 + ], + "loc": { + "start": { + "line": 126, + "column": 26 + }, + "end": { + "line": 126, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 3107, + 3109 + ], + "loc": { + "start": { + "line": 126, + "column": 30 + }, + "end": { + "line": 126, + "column": 32 + } + } + }, + "range": [ + 3103, + 3109 + ], + "loc": { + "start": { + "line": 126, + "column": 26 + }, + "end": { + "line": 126, + "column": 32 + } + } + }, + "right": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "tf_", + "cooked": "tf_" + }, + "tail": false, + "range": [ + 3113, + 3119 + ], + "loc": { + "start": { + "line": 126, + "column": 36 + }, + "end": { + "line": 126, + "column": 42 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": true, + "range": [ + 3139, + 3142 + ], + "loc": { + "start": { + "line": 126, + "column": 62 + }, + "end": { + "line": 126, + "column": 65 + } + } + } + ], + "expressions": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Date", + "range": [ + 3123, + 3127 + ], + "loc": { + "start": { + "line": 126, + "column": 46 + }, + "end": { + "line": 126, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 3119, + 3129 + ], + "loc": { + "start": { + "line": 126, + "column": 42 + }, + "end": { + "line": 126, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTime", + "range": [ + 3130, + 3137 + ], + "loc": { + "start": { + "line": 126, + "column": 53 + }, + "end": { + "line": 126, + "column": 60 + } + } + }, + "range": [ + 3119, + 3137 + ], + "loc": { + "start": { + "line": 126, + "column": 42 + }, + "end": { + "line": 126, + "column": 60 + } + } + }, + "arguments": [], + "range": [ + 3119, + 3139 + ], + "loc": { + "start": { + "line": 126, + "column": 42 + }, + "end": { + "line": 126, + "column": 62 + } + } + } + ], + "range": [ + 3113, + 3142 + ], + "loc": { + "start": { + "line": 126, + "column": 36 + }, + "end": { + "line": 126, + "column": 65 + } + } + }, + "range": [ + 3103, + 3142 + ], + "loc": { + "start": { + "line": 126, + "column": 26 + }, + "end": { + "line": 126, + "column": 65 + } + } + }, + "range": [ + 3093, + 3142 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 65 + } + } + }, + "range": [ + 3093, + 3143 + ], + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 66 + } + } + } + ], + "range": [ + 3043, + 3157 + ], + "loc": { + "start": { + "line": 124, + "column": 69 + }, + "end": { + "line": 127, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isString", + "range": [ + 3167, + 3175 + ], + "loc": { + "start": { + "line": 127, + "column": 23 + }, + "end": { + "line": 127, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 3176, + 3179 + ], + "loc": { + "start": { + "line": 127, + "column": 32 + }, + "end": { + "line": 127, + "column": 35 + } + } + } + ], + "range": [ + 3167, + 3180 + ], + "loc": { + "start": { + "line": 127, + "column": 23 + }, + "end": { + "line": 127, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3200, + 3204 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 3205, + 3207 + ], + "loc": { + "start": { + "line": 128, + "column": 21 + }, + "end": { + "line": 128, + "column": 23 + } + } + }, + "range": [ + 3200, + 3207 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "arg", + "range": [ + 3210, + 3213 + ], + "loc": { + "start": { + "line": 128, + "column": 26 + }, + "end": { + "line": 128, + "column": 29 + } + } + }, + "range": [ + 3200, + 3213 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 29 + } + } + }, + "range": [ + 3200, + 3214 + ], + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3231, + 3235 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 3236, + 3239 + ], + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "range": [ + 3231, + 3239 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 3242, + 3245 + ], + "loc": { + "start": { + "line": 129, + "column": 27 + }, + "end": { + "line": 129, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 3246, + 3249 + ], + "loc": { + "start": { + "line": 129, + "column": 31 + }, + "end": { + "line": 129, + "column": 34 + } + } + } + ], + "range": [ + 3242, + 3250 + ], + "loc": { + "start": { + "line": 129, + "column": 27 + }, + "end": { + "line": 129, + "column": 35 + } + } + }, + "range": [ + 3231, + 3250 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 35 + } + } + }, + "range": [ + 3231, + 3251 + ], + "loc": { + "start": { + "line": 129, + "column": 16 + }, + "end": { + "line": 129, + "column": 36 + } + } + } + ], + "range": [ + 3182, + 3265 + ], + "loc": { + "start": { + "line": 127, + "column": 38 + }, + "end": { + "line": 130, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 3275, + 3283 + ], + "loc": { + "start": { + "line": 130, + "column": 23 + }, + "end": { + "line": 130, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 3284, + 3287 + ], + "loc": { + "start": { + "line": 130, + "column": 32 + }, + "end": { + "line": 130, + "column": 35 + } + } + } + ], + "range": [ + 3275, + 3288 + ], + "loc": { + "start": { + "line": 130, + "column": 23 + }, + "end": { + "line": 130, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "startRow", + "range": [ + 3308, + 3316 + ], + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "arg", + "range": [ + 3319, + 3322 + ], + "loc": { + "start": { + "line": 131, + "column": 27 + }, + "end": { + "line": 131, + "column": 30 + } + } + }, + "range": [ + 3308, + 3322 + ], + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 30 + } + } + }, + "range": [ + 3308, + 3323 + ], + "loc": { + "start": { + "line": 131, + "column": 16 + }, + "end": { + "line": 131, + "column": 31 + } + } + } + ], + "range": [ + 3290, + 3337 + ], + "loc": { + "start": { + "line": 130, + "column": 38 + }, + "end": { + "line": 132, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 3347, + 3352 + ], + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "arg", + "range": [ + 3353, + 3356 + ], + "loc": { + "start": { + "line": 132, + "column": 29 + }, + "end": { + "line": 132, + "column": 32 + } + } + } + ], + "range": [ + 3347, + 3357 + ], + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3377, + 3381 + ], + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3382, + 3385 + ], + "loc": { + "start": { + "line": 133, + "column": 21 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + "range": [ + 3377, + 3385 + ], + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + "right": { + "type": "Identifier", + "name": "arg", + "range": [ + 3388, + 3391 + ], + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + "range": [ + 3377, + 3391 + ], + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 30 + } + } + }, + "range": [ + 3377, + 3392 + ], + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3409, + 3413 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasConfig", + "range": [ + 3414, + 3423 + ], + "loc": { + "start": { + "line": 134, + "column": 21 + }, + "end": { + "line": 134, + "column": 30 + } + } + }, + "range": [ + 3409, + 3423 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 3426, + 3430 + ], + "loc": { + "start": { + "line": 134, + "column": 33 + }, + "end": { + "line": 134, + "column": 37 + } + } + }, + "range": [ + 3409, + 3430 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 37 + } + } + }, + "range": [ + 3409, + 3431 + ], + "loc": { + "start": { + "line": 134, + "column": 16 + }, + "end": { + "line": 134, + "column": 38 + } + } + } + ], + "range": [ + 3359, + 3445 + ], + "loc": { + "start": { + "line": 132, + "column": 35 + }, + "end": { + "line": 135, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 3343, + 3445 + ], + "loc": { + "start": { + "line": 132, + "column": 19 + }, + "end": { + "line": 135, + "column": 13 + } + } + }, + "range": [ + 3271, + 3445 + ], + "loc": { + "start": { + "line": 130, + "column": 19 + }, + "end": { + "line": 135, + "column": 13 + } + } + }, + "range": [ + 3163, + 3445 + ], + "loc": { + "start": { + "line": 127, + "column": 19 + }, + "end": { + "line": 135, + "column": 13 + } + } + }, + "range": [ + 2986, + 3445 + ], + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 135, + "column": 13 + } + } + } + ], + "range": [ + 2972, + 3455 + ], + "loc": { + "start": { + "line": 123, + "column": 30 + }, + "end": { + "line": 136, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 2963, + 3455 + ], + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 136, + "column": 9 + } + } + } + ], + "range": [ + 2950, + 3456 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 136, + "column": 10 + } + } + }, + "range": [ + 2950, + 3457 + ], + "loc": { + "start": { + "line": 123, + "column": 8 + }, + "end": { + "line": 136, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: use for-of", + "range": [ + 2922, + 2941 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 27 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3472, + 3476 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 3477, + 3480 + ], + "loc": { + "start": { + "line": 138, + "column": 18 + }, + "end": { + "line": 138, + "column": 21 + } + } + }, + "range": [ + 3472, + 3480 + ], + "loc": { + "start": { + "line": 138, + "column": 13 + }, + "end": { + "line": 138, + "column": 21 + } + } + }, + "prefix": true, + "range": [ + 3471, + 3480 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 21 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3484, + 3488 + ], + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 3489, + 3492 + ], + "loc": { + "start": { + "line": 138, + "column": 30 + }, + "end": { + "line": 138, + "column": 33 + } + } + }, + "range": [ + 3484, + 3492 + ], + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "nodeName", + "range": [ + 3493, + 3501 + ], + "loc": { + "start": { + "line": 138, + "column": 34 + }, + "end": { + "line": 138, + "column": 42 + } + } + }, + "range": [ + 3484, + 3501 + ], + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 42 + } + } + }, + "right": { + "type": "Literal", + "value": "TABLE", + "raw": "'TABLE'", + "range": [ + 3506, + 3513 + ], + "loc": { + "start": { + "line": 138, + "column": 47 + }, + "end": { + "line": 138, + "column": 54 + } + } + }, + "range": [ + 3484, + 3513 + ], + "loc": { + "start": { + "line": 138, + "column": 25 + }, + "end": { + "line": 138, + "column": 54 + } + } + }, + "range": [ + 3471, + 3513 + ], + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 3539, + 3544 + ], + "loc": { + "start": { + "line": 139, + "column": 22 + }, + "end": { + "line": 139, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "Could not instantiate TableFilter: HTML table\n DOM element not found.", + "cooked": "Could not instantiate TableFilter: HTML table\n DOM element not found." + }, + "tail": true, + "range": [ + 3545, + 3631 + ], + "loc": { + "start": { + "line": 139, + "column": 28 + }, + "end": { + "line": 140, + "column": 39 + } + } + } + ], + "expressions": [], + "range": [ + 3545, + 3631 + ], + "loc": { + "start": { + "line": 139, + "column": 28 + }, + "end": { + "line": 140, + "column": 39 + } + } + } + ], + "range": [ + 3535, + 3632 + ], + "loc": { + "start": { + "line": 139, + "column": 18 + }, + "end": { + "line": 140, + "column": 40 + } + } + }, + "range": [ + 3529, + 3633 + ], + "loc": { + "start": { + "line": 139, + "column": 12 + }, + "end": { + "line": 140, + "column": 41 + } + } + } + ], + "range": [ + 3515, + 3643 + ], + "loc": { + "start": { + "line": 138, + "column": 56 + }, + "end": { + "line": 141, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3467, + 3643 + ], + "loc": { + "start": { + "line": 138, + "column": 8 + }, + "end": { + "line": 141, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3657, + 3661 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 3662, + 3671 + ], + "loc": { + "start": { + "line": 143, + "column": 17 + }, + "end": { + "line": 143, + "column": 26 + } + } + }, + "range": [ + 3657, + 3671 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 3657, + 3673 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 3678, + 3679 + ], + "loc": { + "start": { + "line": 143, + "column": 33 + }, + "end": { + "line": 143, + "column": 34 + } + } + }, + "range": [ + 3657, + 3679 + ], + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 3705, + 3710 + ], + "loc": { + "start": { + "line": 144, + "column": 22 + }, + "end": { + "line": 144, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "Could not instantiate TableFilter: HTML table\n requires at least 1 row.", + "cooked": "Could not instantiate TableFilter: HTML table\n requires at least 1 row." + }, + "tail": true, + "range": [ + 3711, + 3799 + ], + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 145, + "column": 41 + } + } + } + ], + "expressions": [], + "range": [ + 3711, + 3799 + ], + "loc": { + "start": { + "line": 144, + "column": 28 + }, + "end": { + "line": 145, + "column": 41 + } + } + } + ], + "range": [ + 3701, + 3800 + ], + "loc": { + "start": { + "line": 144, + "column": 18 + }, + "end": { + "line": 145, + "column": 42 + } + } + }, + "range": [ + 3695, + 3801 + ], + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 145, + "column": 43 + } + } + } + ], + "range": [ + 3681, + 3811 + ], + "loc": { + "start": { + "line": 143, + "column": 36 + }, + "end": { + "line": 146, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 3653, + 3811 + ], + "loc": { + "start": { + "line": 143, + "column": 8 + }, + "end": { + "line": 146, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " configuration object", + "range": [ + 3821, + 3844 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "f", + "range": [ + 3857, + 3858 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 13 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3861, + 3865 + ], + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 3866, + 3869 + ], + "loc": { + "start": { + "line": 149, + "column": 21 + }, + "end": { + "line": 149, + "column": 24 + } + } + }, + "range": [ + 3861, + 3869 + ], + "loc": { + "start": { + "line": 149, + "column": 16 + }, + "end": { + "line": 149, + "column": 24 + } + } + }, + "range": [ + 3857, + 3869 + ], + "loc": { + "start": { + "line": 149, + "column": 12 + }, + "end": { + "line": 149, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 3853, + 3870 + ], + "loc": { + "start": { + "line": 149, + "column": 8 + }, + "end": { + "line": 149, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " configuration object", + "range": [ + 3821, + 3844 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 31 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Event emitter instance\n * @type {Emitter}\n ", + "range": [ + 3880, + 3956 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 154, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 3965, + 3969 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 3970, + 3977 + ], + "loc": { + "start": { + "line": 155, + "column": 13 + }, + "end": { + "line": 155, + "column": 20 + } + } + }, + "range": [ + 3965, + 3977 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 20 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Emitter", + "range": [ + 3984, + 3991 + ], + "loc": { + "start": { + "line": 155, + "column": 27 + }, + "end": { + "line": 155, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 3980, + 3993 + ], + "loc": { + "start": { + "line": 155, + "column": 23 + }, + "end": { + "line": 155, + "column": 36 + } + } + }, + "range": [ + 3965, + 3993 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 36 + } + } + }, + "range": [ + 3965, + 3994 + ], + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Event emitter instance\n * @type {Emitter}\n ", + "range": [ + 3880, + 3956 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 154, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "Start row", + "range": [ + 4004, + 4015 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 19 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4024, + 4028 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 4029, + 4035 + ], + "loc": { + "start": { + "line": 158, + "column": 13 + }, + "end": { + "line": 158, + "column": 19 + } + } + }, + "range": [ + 4024, + 4035 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 19 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 4038, + 4045 + ], + "loc": { + "start": { + "line": 158, + "column": 22 + }, + "end": { + "line": 158, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "startRow", + "range": [ + 4046, + 4054 + ], + "loc": { + "start": { + "line": 158, + "column": 30 + }, + "end": { + "line": 158, + "column": 38 + } + } + } + ], + "range": [ + 4038, + 4055 + ], + "loc": { + "start": { + "line": 158, + "column": 22 + }, + "end": { + "line": 158, + "column": 39 + } + } + }, + "consequent": { + "type": "Literal", + "value": 2, + "raw": "2", + "range": [ + 4058, + 4059 + ], + "loc": { + "start": { + "line": 158, + "column": 42 + }, + "end": { + "line": 158, + "column": 43 + } + } + }, + "alternate": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Identifier", + "name": "startRow", + "range": [ + 4063, + 4071 + ], + "loc": { + "start": { + "line": 158, + "column": 47 + }, + "end": { + "line": 158, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 4074, + 4075 + ], + "loc": { + "start": { + "line": 158, + "column": 58 + }, + "end": { + "line": 158, + "column": 59 + } + } + }, + "range": [ + 4063, + 4075 + ], + "loc": { + "start": { + "line": 158, + "column": 47 + }, + "end": { + "line": 158, + "column": 59 + } + } + }, + "range": [ + 4038, + 4076 + ], + "loc": { + "start": { + "line": 158, + "column": 22 + }, + "end": { + "line": 158, + "column": 60 + } + } + }, + "range": [ + 4024, + 4076 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 60 + } + } + }, + "range": [ + 4024, + 4077 + ], + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Start row", + "range": [ + 4004, + 4015 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 19 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filter type by column\n * @type {Array}\n * @private\n ", + "range": [ + 4087, + 4194 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4203, + 4207 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filterTypes", + "range": [ + 4208, + 4219 + ], + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 24 + } + } + }, + "range": [ + 4203, + 4219 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 165, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 4222, + 4224 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 165, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "map", + "range": [ + 4225, + 4228 + ], + "loc": { + "start": { + "line": 165, + "column": 30 + }, + "end": { + "line": 165, + "column": 33 + } + } + }, + "range": [ + 4222, + 4228 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 165, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 4229, + 4233 + ], + "loc": { + "start": { + "line": 165, + "column": 34 + }, + "end": { + "line": 165, + "column": 38 + } + } + }, + "range": [ + 4222, + 4233 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 165, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4248, + 4252 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4253, + 4256 + ], + "loc": { + "start": { + "line": 166, + "column": 18 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + "range": [ + 4248, + 4256 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 4248, + 4258 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 4259, + 4263 + ], + "loc": { + "start": { + "line": 166, + "column": 24 + }, + "end": { + "line": 166, + "column": 28 + } + } + }, + "range": [ + 4248, + 4263 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 28 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4264, + 4268 + ], + "loc": { + "start": { + "line": 166, + "column": 29 + }, + "end": { + "line": 166, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 4269, + 4275 + ], + "loc": { + "start": { + "line": 166, + "column": 34 + }, + "end": { + "line": 166, + "column": 40 + } + } + }, + "range": [ + 4264, + 4275 + ], + "loc": { + "start": { + "line": 166, + "column": 29 + }, + "end": { + "line": 166, + "column": 40 + } + } + }, + "range": [ + 4248, + 4276 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 41 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4280, + 4284 + ], + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 4285, + 4288 + ], + "loc": { + "start": { + "line": 166, + "column": 50 + }, + "end": { + "line": 166, + "column": 53 + } + } + }, + "range": [ + 4280, + 4288 + ], + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 53 + } + } + }, + "arguments": [], + "range": [ + 4280, + 4290 + ], + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 4291, + 4295 + ], + "loc": { + "start": { + "line": 166, + "column": 56 + }, + "end": { + "line": 166, + "column": 60 + } + } + }, + "range": [ + 4280, + 4295 + ], + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 60 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 4296, + 4297 + ], + "loc": { + "start": { + "line": 166, + "column": 61 + }, + "end": { + "line": 166, + "column": 62 + } + } + }, + "range": [ + 4280, + 4298 + ], + "loc": { + "start": { + "line": 166, + "column": 45 + }, + "end": { + "line": 166, + "column": 63 + } + } + }, + "range": [ + 4248, + 4298 + ], + "loc": { + "start": { + "line": 166, + "column": 13 + }, + "end": { + "line": 166, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 4300, + 4305 + ], + "loc": { + "start": { + "line": 166, + "column": 65 + }, + "end": { + "line": 166, + "column": 70 + } + } + }, + "range": [ + 4247, + 4305 + ], + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 70 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 4320, + 4324 + ], + "loc": { + "start": { + "line": 167, + "column": 13 + }, + "end": { + "line": 167, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 4326, + 4329 + ], + "loc": { + "start": { + "line": 167, + "column": 19 + }, + "end": { + "line": 167, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 4356, + 4363 + ], + "loc": { + "start": { + "line": 168, + "column": 20 + }, + "end": { + "line": 168, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4366, + 4370 + ], + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 4371, + 4374 + ], + "loc": { + "start": { + "line": 168, + "column": 35 + }, + "end": { + "line": 168, + "column": 38 + } + } + }, + "range": [ + 4366, + 4374 + ], + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 38 + } + } + }, + "property": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "col_", + "cooked": "col_" + }, + "tail": false, + "range": [ + 4375, + 4382 + ], + "loc": { + "start": { + "line": 168, + "column": 39 + }, + "end": { + "line": 168, + "column": 46 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 4385, + 4387 + ], + "loc": { + "start": { + "line": 168, + "column": 49 + }, + "end": { + "line": 168, + "column": 51 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 4382, + 4385 + ], + "loc": { + "start": { + "line": 168, + "column": 46 + }, + "end": { + "line": 168, + "column": 49 + } + } + } + ], + "range": [ + 4375, + 4387 + ], + "loc": { + "start": { + "line": 168, + "column": 39 + }, + "end": { + "line": 168, + "column": 51 + } + } + }, + "range": [ + 4366, + 4388 + ], + "loc": { + "start": { + "line": 168, + "column": 30 + }, + "end": { + "line": 168, + "column": 52 + } + } + }, + "range": [ + 4356, + 4388 + ], + "loc": { + "start": { + "line": 168, + "column": 20 + }, + "end": { + "line": 168, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 4352, + 4389 + ], + "loc": { + "start": { + "line": 168, + "column": 16 + }, + "end": { + "line": 168, + "column": 53 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "colType", + "range": [ + 4414, + 4421 + ], + "loc": { + "start": { + "line": 169, + "column": 24 + }, + "end": { + "line": 169, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 4413, + 4421 + ], + "loc": { + "start": { + "line": 169, + "column": 23 + }, + "end": { + "line": 169, + "column": 31 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 4424, + 4429 + ], + "loc": { + "start": { + "line": 169, + "column": 34 + }, + "end": { + "line": 169, + "column": 39 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 4432, + 4439 + ], + "loc": { + "start": { + "line": 169, + "column": 42 + }, + "end": { + "line": 169, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 4440, + 4451 + ], + "loc": { + "start": { + "line": 169, + "column": 50 + }, + "end": { + "line": 169, + "column": 61 + } + } + }, + "range": [ + 4432, + 4451 + ], + "loc": { + "start": { + "line": 169, + "column": 42 + }, + "end": { + "line": 169, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 4432, + 4453 + ], + "loc": { + "start": { + "line": 169, + "column": 42 + }, + "end": { + "line": 169, + "column": 63 + } + } + }, + "range": [ + 4413, + 4453 + ], + "loc": { + "start": { + "line": 169, + "column": 23 + }, + "end": { + "line": 169, + "column": 63 + } + } + }, + "range": [ + 4406, + 4454 + ], + "loc": { + "start": { + "line": 169, + "column": 16 + }, + "end": { + "line": 169, + "column": 64 + } + } + } + ], + "range": [ + 4334, + 4468 + ], + "loc": { + "start": { + "line": 167, + "column": 27 + }, + "end": { + "line": 170, + "column": 13 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 4319, + 4468 + ], + "loc": { + "start": { + "line": 167, + "column": 12 + }, + "end": { + "line": 170, + "column": 13 + } + } + } + ], + "range": [ + 4222, + 4469 + ], + "loc": { + "start": { + "line": 165, + "column": 27 + }, + "end": { + "line": 170, + "column": 14 + } + } + }, + "range": [ + 4203, + 4469 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 170, + "column": 14 + } + } + }, + "range": [ + 4203, + 4470 + ], + "loc": { + "start": { + "line": 165, + "column": 8 + }, + "end": { + "line": 170, + "column": 15 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Collection of filter type by column\n * @type {Array}\n * @private\n ", + "range": [ + 4087, + 4194 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Base path for static assets\n * @type {String}\n ", + "range": [ + 4480, + 4560 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 175, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4569, + 4573 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "basePath", + "range": [ + 4574, + 4582 + ], + "loc": { + "start": { + "line": 176, + "column": 13 + }, + "end": { + "line": 176, + "column": 21 + } + } + }, + "range": [ + 4569, + 4582 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 4585, + 4596 + ], + "loc": { + "start": { + "line": 176, + "column": 24 + }, + "end": { + "line": 176, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4597, + 4598 + ], + "loc": { + "start": { + "line": 176, + "column": 36 + }, + "end": { + "line": 176, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "base_path", + "range": [ + 4599, + 4608 + ], + "loc": { + "start": { + "line": 176, + "column": 38 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + "range": [ + 4597, + 4608 + ], + "loc": { + "start": { + "line": 176, + "column": 36 + }, + "end": { + "line": 176, + "column": 47 + } + } + }, + { + "type": "Literal", + "value": "tablefilter/", + "raw": "'tablefilter/'", + "range": [ + 4610, + 4624 + ], + "loc": { + "start": { + "line": 176, + "column": 49 + }, + "end": { + "line": 176, + "column": 63 + } + } + } + ], + "range": [ + 4585, + 4625 + ], + "loc": { + "start": { + "line": 176, + "column": 24 + }, + "end": { + "line": 176, + "column": 64 + } + } + }, + "range": [ + 4569, + 4625 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 64 + } + } + }, + "range": [ + 4569, + 4626 + ], + "loc": { + "start": { + "line": 176, + "column": 8 + }, + "end": { + "line": 176, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Base path for static assets\n * @type {String}\n ", + "range": [ + 4480, + 4560 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 175, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** filters' grid properties **", + "range": [ + 4636, + 4670 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable filters\n * @type {Boolean}\n ", + "range": [ + 4680, + 4756 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 183, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4765, + 4769 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 4770, + 4777 + ], + "loc": { + "start": { + "line": 184, + "column": 13 + }, + "end": { + "line": 184, + "column": 20 + } + } + }, + "range": [ + 4765, + 4777 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 4780, + 4792 + ], + "loc": { + "start": { + "line": 184, + "column": 23 + }, + "end": { + "line": 184, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4793, + 4794 + ], + "loc": { + "start": { + "line": 184, + "column": 36 + }, + "end": { + "line": 184, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "grid", + "range": [ + 4795, + 4799 + ], + "loc": { + "start": { + "line": 184, + "column": 38 + }, + "end": { + "line": 184, + "column": 42 + } + } + }, + "range": [ + 4793, + 4799 + ], + "loc": { + "start": { + "line": 184, + "column": 36 + }, + "end": { + "line": 184, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 4801, + 4805 + ], + "loc": { + "start": { + "line": 184, + "column": 44 + }, + "end": { + "line": 184, + "column": 48 + } + } + } + ], + "range": [ + 4780, + 4806 + ], + "loc": { + "start": { + "line": 184, + "column": 23 + }, + "end": { + "line": 184, + "column": 49 + } + } + }, + "range": [ + 4765, + 4806 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 49 + } + } + }, + "range": [ + 4765, + 4807 + ], + "loc": { + "start": { + "line": 184, + "column": 8 + }, + "end": { + "line": 184, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** filters' grid properties **", + "range": [ + 4636, + 4670 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable filters\n * @type {Boolean}\n ", + "range": [ + 4680, + 4756 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 183, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable grid layout (fixed headers)\n * @type {Object|Boolean}\n ", + "range": [ + 4817, + 4920 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 189, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 4929, + 4933 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 4934, + 4944 + ], + "loc": { + "start": { + "line": 190, + "column": 13 + }, + "end": { + "line": 190, + "column": 23 + } + } + }, + "range": [ + 4929, + 4944 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 23 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 4947, + 4952 + ], + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4953, + 4954 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "grid_layout", + "range": [ + 4955, + 4966 + ], + "loc": { + "start": { + "line": 190, + "column": 34 + }, + "end": { + "line": 190, + "column": 45 + } + } + }, + "range": [ + 4953, + 4966 + ], + "loc": { + "start": { + "line": 190, + "column": 32 + }, + "end": { + "line": 190, + "column": 45 + } + } + } + ], + "range": [ + 4947, + 4967 + ], + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 46 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 4971, + 4978 + ], + "loc": { + "start": { + "line": 190, + "column": 50 + }, + "end": { + "line": 190, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 4979, + 4980 + ], + "loc": { + "start": { + "line": 190, + "column": 58 + }, + "end": { + "line": 190, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "grid_layout", + "range": [ + 4981, + 4992 + ], + "loc": { + "start": { + "line": 190, + "column": 60 + }, + "end": { + "line": 190, + "column": 71 + } + } + }, + "range": [ + 4979, + 4992 + ], + "loc": { + "start": { + "line": 190, + "column": 58 + }, + "end": { + "line": 190, + "column": 71 + } + } + } + ], + "range": [ + 4971, + 4993 + ], + "loc": { + "start": { + "line": 190, + "column": 50 + }, + "end": { + "line": 190, + "column": 72 + } + } + }, + "range": [ + 4947, + 4993 + ], + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 72 + } + } + }, + "range": [ + 4929, + 4993 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 72 + } + } + }, + "range": [ + 4929, + 4994 + ], + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable grid layout (fixed headers)\n * @type {Object|Boolean}\n ", + "range": [ + 4817, + 4920 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 189, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filters row index\n * @type {Number}\n ", + "range": [ + 5004, + 5074 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 195, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5083, + 5087 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 5088, + 5103 + ], + "loc": { + "start": { + "line": 196, + "column": 13 + }, + "end": { + "line": 196, + "column": 28 + } + } + }, + "range": [ + 5083, + 5103 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 5106, + 5116 + ], + "loc": { + "start": { + "line": 196, + "column": 31 + }, + "end": { + "line": 196, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5117, + 5118 + ], + "loc": { + "start": { + "line": 196, + "column": 42 + }, + "end": { + "line": 196, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters_row_index", + "range": [ + 5119, + 5136 + ], + "loc": { + "start": { + "line": 196, + "column": 44 + }, + "end": { + "line": 196, + "column": 61 + } + } + }, + "range": [ + 5117, + 5136 + ], + "loc": { + "start": { + "line": 196, + "column": 42 + }, + "end": { + "line": 196, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5138, + 5139 + ], + "loc": { + "start": { + "line": 196, + "column": 63 + }, + "end": { + "line": 196, + "column": 64 + } + } + } + ], + "range": [ + 5106, + 5140 + ], + "loc": { + "start": { + "line": 196, + "column": 31 + }, + "end": { + "line": 196, + "column": 65 + } + } + }, + "range": [ + 5083, + 5140 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 65 + } + } + }, + "range": [ + 5083, + 5141 + ], + "loc": { + "start": { + "line": 196, + "column": 8 + }, + "end": { + "line": 196, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filters row index\n * @type {Number}\n ", + "range": [ + 5004, + 5074 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 195, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Headers row index\n * @type {Number}\n ", + "range": [ + 5151, + 5221 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 201, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5230, + 5234 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 5235, + 5245 + ], + "loc": { + "start": { + "line": 202, + "column": 13 + }, + "end": { + "line": 202, + "column": 23 + } + } + }, + "range": [ + 5230, + 5245 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 202, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 5248, + 5258 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 202, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5259, + 5260 + ], + "loc": { + "start": { + "line": 202, + "column": 37 + }, + "end": { + "line": 202, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "headers_row_index", + "range": [ + 5261, + 5278 + ], + "loc": { + "start": { + "line": 202, + "column": 39 + }, + "end": { + "line": 202, + "column": 56 + } + } + }, + "range": [ + 5259, + 5278 + ], + "loc": { + "start": { + "line": 202, + "column": 37 + }, + "end": { + "line": 202, + "column": 56 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5293, + 5297 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 5298, + 5313 + ], + "loc": { + "start": { + "line": 203, + "column": 18 + }, + "end": { + "line": 203, + "column": 33 + } + } + }, + "range": [ + 5293, + 5313 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5318, + 5319 + ], + "loc": { + "start": { + "line": 203, + "column": 38 + }, + "end": { + "line": 203, + "column": 39 + } + } + }, + "range": [ + 5293, + 5319 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 39 + } + } + }, + "consequent": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 5322, + 5323 + ], + "loc": { + "start": { + "line": 203, + "column": 42 + }, + "end": { + "line": 203, + "column": 43 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 5326, + 5327 + ], + "loc": { + "start": { + "line": 203, + "column": 46 + }, + "end": { + "line": 203, + "column": 47 + } + } + }, + "range": [ + 5293, + 5327 + ], + "loc": { + "start": { + "line": 203, + "column": 13 + }, + "end": { + "line": 203, + "column": 47 + } + } + } + ], + "range": [ + 5248, + 5329 + ], + "loc": { + "start": { + "line": 202, + "column": 26 + }, + "end": { + "line": 203, + "column": 49 + } + } + }, + "range": [ + 5230, + 5329 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 203, + "column": 49 + } + } + }, + "range": [ + 5230, + 5330 + ], + "loc": { + "start": { + "line": 202, + "column": 8 + }, + "end": { + "line": 203, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Headers row index\n * @type {Number}\n ", + "range": [ + 5151, + 5221 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 201, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n ", + "range": [ + 5340, + 5444 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5453, + 5457 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCellTag", + "range": [ + 5458, + 5468 + ], + "loc": { + "start": { + "line": 209, + "column": 13 + }, + "end": { + "line": 209, + "column": 23 + } + } + }, + "range": [ + 5453, + 5468 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 5471, + 5482 + ], + "loc": { + "start": { + "line": 209, + "column": 26 + }, + "end": { + "line": 209, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 5483, + 5484 + ], + "loc": { + "start": { + "line": 209, + "column": 38 + }, + "end": { + "line": 209, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "filters_cell_tag", + "range": [ + 5485, + 5501 + ], + "loc": { + "start": { + "line": 209, + "column": 40 + }, + "end": { + "line": 209, + "column": 56 + } + } + }, + "range": [ + 5483, + 5501 + ], + "loc": { + "start": { + "line": 209, + "column": 38 + }, + "end": { + "line": 209, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "CELL_TAG", + "range": [ + 5503, + 5511 + ], + "loc": { + "start": { + "line": 209, + "column": 58 + }, + "end": { + "line": 209, + "column": 66 + } + } + } + ], + "range": [ + 5471, + 5512 + ], + "loc": { + "start": { + "line": 209, + "column": 26 + }, + "end": { + "line": 209, + "column": 67 + } + } + }, + "range": [ + 5453, + 5512 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 67 + } + } + }, + "range": [ + 5453, + 5513 + ], + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n ", + "range": [ + 5340, + 5444 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of filters IDs\n * @type {Array}\n * @private\n ", + "range": [ + 5523, + 5614 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 215, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5623, + 5627 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 5628, + 5634 + ], + "loc": { + "start": { + "line": 216, + "column": 13 + }, + "end": { + "line": 216, + "column": 19 + } + } + }, + "range": [ + 5623, + 5634 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 19 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5637, + 5639 + ], + "loc": { + "start": { + "line": 216, + "column": 22 + }, + "end": { + "line": 216, + "column": 24 + } + } + }, + "range": [ + 5623, + 5639 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 24 + } + } + }, + "range": [ + 5623, + 5640 + ], + "loc": { + "start": { + "line": 216, + "column": 8 + }, + "end": { + "line": 216, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of filters IDs\n * @type {Array}\n * @private\n ", + "range": [ + 5523, + 5614 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 215, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n ", + "range": [ + 5650, + 5778 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5787, + 5791 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 5792, + 5806 + ], + "loc": { + "start": { + "line": 223, + "column": 13 + }, + "end": { + "line": 223, + "column": 27 + } + } + }, + "range": [ + 5787, + 5806 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 5809, + 5811 + ], + "loc": { + "start": { + "line": 223, + "column": 30 + }, + "end": { + "line": 223, + "column": 32 + } + } + }, + "range": [ + 5787, + 5811 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 32 + } + } + }, + "range": [ + 5787, + 5812 + ], + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n ", + "range": [ + 5650, + 5778 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5822, + 5930 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 5939, + 5943 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 5944, + 5950 + ], + "loc": { + "start": { + "line": 230, + "column": 13 + }, + "end": { + "line": 230, + "column": 19 + } + } + }, + "range": [ + 5939, + 5950 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 5953, + 5957 + ], + "loc": { + "start": { + "line": 230, + "column": 22 + }, + "end": { + "line": 230, + "column": 26 + } + } + }, + "range": [ + 5939, + 5957 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 26 + } + } + }, + "range": [ + 5939, + 5958 + ], + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5822, + 5930 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5968, + 6108 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 236, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6117, + 6121 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 6122, + 6126 + ], + "loc": { + "start": { + "line": 237, + "column": 13 + }, + "end": { + "line": 237, + "column": 17 + } + } + }, + "range": [ + 6117, + 6126 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6129, + 6133 + ], + "loc": { + "start": { + "line": 237, + "column": 20 + }, + "end": { + "line": 237, + "column": 24 + } + } + }, + "range": [ + 6117, + 6133 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 24 + } + } + }, + "range": [ + 6117, + 6134 + ], + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5968, + 6108 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 236, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6144, + 6318 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6327, + 6331 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 6332, + 6336 + ], + "loc": { + "start": { + "line": 245, + "column": 13 + }, + "end": { + "line": 245, + "column": 17 + } + } + }, + "range": [ + 6327, + 6336 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6339, + 6343 + ], + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 24 + } + } + }, + "range": [ + 6327, + 6343 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 24 + } + } + }, + "range": [ + 6327, + 6344 + ], + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6144, + 6318 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6354, + 6494 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 251, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6503, + 6507 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 252, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 6508, + 6512 + ], + "loc": { + "start": { + "line": 252, + "column": 13 + }, + "end": { + "line": 252, + "column": 17 + } + } + }, + "range": [ + 6503, + 6512 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 252, + "column": 17 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 6515, + 6519 + ], + "loc": { + "start": { + "line": 252, + "column": 20 + }, + "end": { + "line": 252, + "column": 24 + } + } + }, + "range": [ + 6503, + 6519 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 252, + "column": 24 + } + } + }, + "range": [ + 6503, + 6520 + ], + "loc": { + "start": { + "line": 252, + "column": 8 + }, + "end": { + "line": 252, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6354, + 6494 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 251, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for toolbar's container DOM element\n * @type {String}\n ", + "range": [ + 6530, + 6628 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 257, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6637, + 6641 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 258, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDivCssClass", + "range": [ + 6642, + 6656 + ], + "loc": { + "start": { + "line": 258, + "column": 13 + }, + "end": { + "line": 258, + "column": 27 + } + } + }, + "range": [ + 6637, + 6656 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 258, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 6659, + 6670 + ], + "loc": { + "start": { + "line": 258, + "column": 30 + }, + "end": { + "line": 258, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6671, + 6672 + ], + "loc": { + "start": { + "line": 258, + "column": 42 + }, + "end": { + "line": 258, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "inf_div_css_class", + "range": [ + 6673, + 6690 + ], + "loc": { + "start": { + "line": 258, + "column": 44 + }, + "end": { + "line": 258, + "column": 61 + } + } + }, + "range": [ + 6671, + 6690 + ], + "loc": { + "start": { + "line": 258, + "column": 42 + }, + "end": { + "line": 258, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": "inf", + "raw": "'inf'", + "range": [ + 6692, + 6697 + ], + "loc": { + "start": { + "line": 258, + "column": 63 + }, + "end": { + "line": 258, + "column": 68 + } + } + } + ], + "range": [ + 6659, + 6698 + ], + "loc": { + "start": { + "line": 258, + "column": 30 + }, + "end": { + "line": 258, + "column": 69 + } + } + }, + "range": [ + 6637, + 6698 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 258, + "column": 69 + } + } + }, + "range": [ + 6637, + 6699 + ], + "loc": { + "start": { + "line": 258, + "column": 8 + }, + "end": { + "line": 258, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for toolbar's container DOM element\n * @type {String}\n ", + "range": [ + 6530, + 6628 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 257, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for left-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6709, + 6813 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 263, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 6822, + 6826 + ], + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDivCssClass", + "range": [ + 6827, + 6839 + ], + "loc": { + "start": { + "line": 264, + "column": 13 + }, + "end": { + "line": 264, + "column": 25 + } + } + }, + "range": [ + 6822, + 6839 + ], + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 6842, + 6853 + ], + "loc": { + "start": { + "line": 264, + "column": 28 + }, + "end": { + "line": 264, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 6854, + 6855 + ], + "loc": { + "start": { + "line": 264, + "column": 40 + }, + "end": { + "line": 264, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "left_div_css_class", + "range": [ + 6856, + 6874 + ], + "loc": { + "start": { + "line": 264, + "column": 42 + }, + "end": { + "line": 264, + "column": 60 + } + } + }, + "range": [ + 6854, + 6874 + ], + "loc": { + "start": { + "line": 264, + "column": 40 + }, + "end": { + "line": 264, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "ldiv", + "raw": "'ldiv'", + "range": [ + 6876, + 6882 + ], + "loc": { + "start": { + "line": 264, + "column": 62 + }, + "end": { + "line": 264, + "column": 68 + } + } + } + ], + "range": [ + 6842, + 6883 + ], + "loc": { + "start": { + "line": 264, + "column": 28 + }, + "end": { + "line": 264, + "column": 69 + } + } + }, + "range": [ + 6822, + 6883 + ], + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 69 + } + } + }, + "range": [ + 6822, + 6884 + ], + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for left-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6709, + 6813 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 263, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for right-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6894, + 6999 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 269, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7008, + 7012 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDivCssClass", + "range": [ + 7013, + 7025 + ], + "loc": { + "start": { + "line": 270, + "column": 13 + }, + "end": { + "line": 270, + "column": 25 + } + } + }, + "range": [ + 7008, + 7025 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 7028, + 7039 + ], + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 270, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7040, + 7041 + ], + "loc": { + "start": { + "line": 270, + "column": 40 + }, + "end": { + "line": 270, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "right_div_css_class", + "range": [ + 7042, + 7061 + ], + "loc": { + "start": { + "line": 270, + "column": 42 + }, + "end": { + "line": 270, + "column": 61 + } + } + }, + "range": [ + 7040, + 7061 + ], + "loc": { + "start": { + "line": 270, + "column": 40 + }, + "end": { + "line": 270, + "column": 61 + } + } + }, + { + "type": "Literal", + "value": "rdiv", + "raw": "'rdiv'", + "range": [ + 7063, + 7069 + ], + "loc": { + "start": { + "line": 270, + "column": 63 + }, + "end": { + "line": 270, + "column": 69 + } + } + } + ], + "range": [ + 7028, + 7070 + ], + "loc": { + "start": { + "line": 270, + "column": 28 + }, + "end": { + "line": 270, + "column": 70 + } + } + }, + "range": [ + 7008, + 7070 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 70 + } + } + }, + "range": [ + 7008, + 7071 + ], + "loc": { + "start": { + "line": 270, + "column": 8 + }, + "end": { + "line": 270, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for right-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6894, + 6999 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 269, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for middle inner container DOM element\n * @type {String}\n ", + "range": [ + 7081, + 7182 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7191, + 7195 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDivCssClass", + "range": [ + 7196, + 7208 + ], + "loc": { + "start": { + "line": 276, + "column": 13 + }, + "end": { + "line": 276, + "column": 25 + } + } + }, + "range": [ + 7191, + 7208 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 7211, + 7222 + ], + "loc": { + "start": { + "line": 276, + "column": 28 + }, + "end": { + "line": 276, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7223, + 7224 + ], + "loc": { + "start": { + "line": 276, + "column": 40 + }, + "end": { + "line": 276, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "middle_div_css_class", + "range": [ + 7225, + 7245 + ], + "loc": { + "start": { + "line": 276, + "column": 42 + }, + "end": { + "line": 276, + "column": 62 + } + } + }, + "range": [ + 7223, + 7245 + ], + "loc": { + "start": { + "line": 276, + "column": 40 + }, + "end": { + "line": 276, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "mdiv", + "raw": "'mdiv'", + "range": [ + 7247, + 7253 + ], + "loc": { + "start": { + "line": 276, + "column": 64 + }, + "end": { + "line": 276, + "column": 70 + } + } + } + ], + "range": [ + 7211, + 7254 + ], + "loc": { + "start": { + "line": 276, + "column": 28 + }, + "end": { + "line": 276, + "column": 71 + } + } + }, + "range": [ + 7191, + 7254 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 71 + } + } + }, + "range": [ + 7191, + 7255 + ], + "loc": { + "start": { + "line": 276, + "column": 8 + }, + "end": { + "line": 276, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for middle inner container DOM element\n * @type {String}\n ", + "range": [ + 7081, + 7182 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** filters' grid appearance **", + "range": [ + 7265, + 7299 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Path for stylesheets\n * @type {String}\n ", + "range": [ + 7308, + 7381 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 282, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7390, + 7394 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylePath", + "range": [ + 7395, + 7404 + ], + "loc": { + "start": { + "line": 283, + "column": 13 + }, + "end": { + "line": 283, + "column": 22 + } + } + }, + "range": [ + 7390, + 7404 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7407, + 7411 + ], + "loc": { + "start": { + "line": 283, + "column": 25 + }, + "end": { + "line": 283, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylePath", + "range": [ + 7412, + 7424 + ], + "loc": { + "start": { + "line": 283, + "column": 30 + }, + "end": { + "line": 283, + "column": 42 + } + } + }, + "range": [ + 7407, + 7424 + ], + "loc": { + "start": { + "line": 283, + "column": 25 + }, + "end": { + "line": 283, + "column": 42 + } + } + }, + "arguments": [], + "range": [ + 7407, + 7426 + ], + "loc": { + "start": { + "line": 283, + "column": 25 + }, + "end": { + "line": 283, + "column": 44 + } + } + }, + "range": [ + 7390, + 7426 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 44 + } + } + }, + "range": [ + 7390, + 7427 + ], + "loc": { + "start": { + "line": 283, + "column": 8 + }, + "end": { + "line": 283, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** filters' grid appearance **", + "range": [ + 7265, + 7299 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Path for stylesheets\n * @type {String}\n ", + "range": [ + 7308, + 7381 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 282, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Main stylesheet path\n * @type {String}\n ", + "range": [ + 7437, + 7510 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 288, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7519, + 7523 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 7524, + 7534 + ], + "loc": { + "start": { + "line": 289, + "column": 13 + }, + "end": { + "line": 289, + "column": 23 + } + } + }, + "range": [ + 7519, + 7534 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7537, + 7541 + ], + "loc": { + "start": { + "line": 289, + "column": 26 + }, + "end": { + "line": 289, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylesheetPath", + "range": [ + 7542, + 7559 + ], + "loc": { + "start": { + "line": 289, + "column": 31 + }, + "end": { + "line": 289, + "column": 48 + } + } + }, + "range": [ + 7537, + 7559 + ], + "loc": { + "start": { + "line": 289, + "column": 26 + }, + "end": { + "line": 289, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 7537, + 7561 + ], + "loc": { + "start": { + "line": 289, + "column": 26 + }, + "end": { + "line": 289, + "column": 50 + } + } + }, + "range": [ + 7519, + 7561 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 50 + } + } + }, + "range": [ + 7519, + 7562 + ], + "loc": { + "start": { + "line": 289, + "column": 8 + }, + "end": { + "line": 289, + "column": 51 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Main stylesheet path\n * @type {String}\n ", + "range": [ + 7437, + 7510 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 288, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Main stylesheet ID\n * @type {String}\n * @private\n ", + "range": [ + 7572, + 7663 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 295, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7672, + 7676 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheetId", + "range": [ + 7677, + 7689 + ], + "loc": { + "start": { + "line": 296, + "column": 13 + }, + "end": { + "line": 296, + "column": 25 + } + } + }, + "range": [ + 7672, + 7689 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7692, + 7696 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 7697, + 7699 + ], + "loc": { + "start": { + "line": 296, + "column": 33 + }, + "end": { + "line": 296, + "column": 35 + } + } + }, + "range": [ + 7692, + 7699 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": "_style", + "raw": "'_style'", + "range": [ + 7702, + 7710 + ], + "loc": { + "start": { + "line": 296, + "column": 38 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + "range": [ + 7692, + 7710 + ], + "loc": { + "start": { + "line": 296, + "column": 28 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + "range": [ + 7672, + 7710 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 46 + } + } + }, + "range": [ + 7672, + 7711 + ], + "loc": { + "start": { + "line": 296, + "column": 8 + }, + "end": { + "line": 296, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Main stylesheet ID\n * @type {String}\n * @private\n ", + "range": [ + 7572, + 7663 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 295, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the filters row\n * @type {String}\n ", + "range": [ + 7721, + 7803 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 301, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7812, + 7816 + ], + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltsRowCssClass", + "range": [ + 7817, + 7832 + ], + "loc": { + "start": { + "line": 302, + "column": 13 + }, + "end": { + "line": 302, + "column": 28 + } + } + }, + "range": [ + 7812, + 7832 + ], + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 7835, + 7846 + ], + "loc": { + "start": { + "line": 302, + "column": 31 + }, + "end": { + "line": 302, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 7847, + 7848 + ], + "loc": { + "start": { + "line": 302, + "column": 43 + }, + "end": { + "line": 302, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "flts_row_css_class", + "range": [ + 7849, + 7867 + ], + "loc": { + "start": { + "line": 302, + "column": 45 + }, + "end": { + "line": 302, + "column": 63 + } + } + }, + "range": [ + 7847, + 7867 + ], + "loc": { + "start": { + "line": 302, + "column": 43 + }, + "end": { + "line": 302, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": "fltrow", + "raw": "'fltrow'", + "range": [ + 7869, + 7877 + ], + "loc": { + "start": { + "line": 302, + "column": 65 + }, + "end": { + "line": 302, + "column": 73 + } + } + } + ], + "range": [ + 7835, + 7878 + ], + "loc": { + "start": { + "line": 302, + "column": 31 + }, + "end": { + "line": 302, + "column": 74 + } + } + }, + "range": [ + 7812, + 7878 + ], + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 74 + } + } + }, + "range": [ + 7812, + 7879 + ], + "loc": { + "start": { + "line": 302, + "column": 8 + }, + "end": { + "line": 302, + "column": 75 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for the filters row\n * @type {String}\n ", + "range": [ + 7721, + 7803 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 301, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n ", + "range": [ + 7889, + 7986 + ], + "loc": { + "start": { + "line": 304, + "column": 8 + }, + "end": { + "line": 307, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 7995, + 7999 + ], + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 8000, + 8011 + ], + "loc": { + "start": { + "line": 308, + "column": 13 + }, + "end": { + "line": 308, + "column": 24 + } + } + }, + "range": [ + 7995, + 8011 + ], + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 8014, + 8026 + ], + "loc": { + "start": { + "line": 308, + "column": 27 + }, + "end": { + "line": 308, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8027, + 8028 + ], + "loc": { + "start": { + "line": 308, + "column": 40 + }, + "end": { + "line": 308, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_icons", + "range": [ + 8029, + 8041 + ], + "loc": { + "start": { + "line": 308, + "column": 42 + }, + "end": { + "line": 308, + "column": 54 + } + } + }, + "range": [ + 8027, + 8041 + ], + "loc": { + "start": { + "line": 308, + "column": 40 + }, + "end": { + "line": 308, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 8043, + 8047 + ], + "loc": { + "start": { + "line": 308, + "column": 56 + }, + "end": { + "line": 308, + "column": 60 + } + } + } + ], + "range": [ + 8014, + 8048 + ], + "loc": { + "start": { + "line": 308, + "column": 27 + }, + "end": { + "line": 308, + "column": 61 + } + } + }, + "range": [ + 7995, + 8048 + ], + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 61 + } + } + }, + "range": [ + 7995, + 8049 + ], + "loc": { + "start": { + "line": 308, + "column": 8 + }, + "end": { + "line": 308, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n ", + "range": [ + 7889, + 7986 + ], + "loc": { + "start": { + "line": 304, + "column": 8 + }, + "end": { + "line": 307, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable alternating rows\n * @type {Boolean}\n ", + "range": [ + 8059, + 8144 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 313, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8153, + 8157 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 8158, + 8171 + ], + "loc": { + "start": { + "line": 314, + "column": 13 + }, + "end": { + "line": 314, + "column": 26 + } + } + }, + "range": [ + 8153, + 8171 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 8174, + 8181 + ], + "loc": { + "start": { + "line": 314, + "column": 29 + }, + "end": { + "line": 314, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8182, + 8183 + ], + "loc": { + "start": { + "line": 314, + "column": 37 + }, + "end": { + "line": 314, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "alternate_rows", + "range": [ + 8184, + 8198 + ], + "loc": { + "start": { + "line": 314, + "column": 39 + }, + "end": { + "line": 314, + "column": 53 + } + } + }, + "range": [ + 8182, + 8198 + ], + "loc": { + "start": { + "line": 314, + "column": 37 + }, + "end": { + "line": 314, + "column": 53 + } + } + } + ], + "range": [ + 8174, + 8199 + ], + "loc": { + "start": { + "line": 314, + "column": 29 + }, + "end": { + "line": 314, + "column": 54 + } + } + }, + "range": [ + 8153, + 8199 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 54 + } + } + }, + "range": [ + 8153, + 8200 + ], + "loc": { + "start": { + "line": 314, + "column": 8 + }, + "end": { + "line": 314, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable alternating rows\n * @type {Boolean}\n ", + "range": [ + 8059, + 8144 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 313, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Columns widths array\n * @type {Array}\n ", + "range": [ + 8210, + 8282 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 319, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8291, + 8295 + ], + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 8296, + 8305 + ], + "loc": { + "start": { + "line": 320, + "column": 13 + }, + "end": { + "line": 320, + "column": 22 + } + } + }, + "range": [ + 8291, + 8305 + ], + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 8308, + 8319 + ], + "loc": { + "start": { + "line": 320, + "column": 25 + }, + "end": { + "line": 320, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8320, + 8321 + ], + "loc": { + "start": { + "line": 320, + "column": 37 + }, + "end": { + "line": 320, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "col_widths", + "range": [ + 8322, + 8332 + ], + "loc": { + "start": { + "line": 320, + "column": 39 + }, + "end": { + "line": 320, + "column": 49 + } + } + }, + "range": [ + 8320, + 8332 + ], + "loc": { + "start": { + "line": 320, + "column": 37 + }, + "end": { + "line": 320, + "column": 49 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 8334, + 8336 + ], + "loc": { + "start": { + "line": 320, + "column": 51 + }, + "end": { + "line": 320, + "column": 53 + } + } + } + ], + "range": [ + 8308, + 8337 + ], + "loc": { + "start": { + "line": 320, + "column": 25 + }, + "end": { + "line": 320, + "column": 54 + } + } + }, + "range": [ + 8291, + 8337 + ], + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 54 + } + } + }, + "range": [ + 8291, + 8338 + ], + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Columns widths array\n * @type {Array}\n ", + "range": [ + 8210, + 8282 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 319, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a filter element\n * @type {String}\n ", + "range": [ + 8348, + 8431 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 325, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8440, + 8444 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCssClass", + "range": [ + 8445, + 8456 + ], + "loc": { + "start": { + "line": 326, + "column": 13 + }, + "end": { + "line": 326, + "column": 24 + } + } + }, + "range": [ + 8440, + 8456 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 8459, + 8470 + ], + "loc": { + "start": { + "line": 326, + "column": 27 + }, + "end": { + "line": 326, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8471, + 8472 + ], + "loc": { + "start": { + "line": 326, + "column": 39 + }, + "end": { + "line": 326, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt_css_class", + "range": [ + 8473, + 8486 + ], + "loc": { + "start": { + "line": 326, + "column": 41 + }, + "end": { + "line": 326, + "column": 54 + } + } + }, + "range": [ + 8471, + 8486 + ], + "loc": { + "start": { + "line": 326, + "column": 39 + }, + "end": { + "line": 326, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "flt", + "raw": "'flt'", + "range": [ + 8488, + 8493 + ], + "loc": { + "start": { + "line": 326, + "column": 56 + }, + "end": { + "line": 326, + "column": 61 + } + } + } + ], + "range": [ + 8459, + 8494 + ], + "loc": { + "start": { + "line": 326, + "column": 27 + }, + "end": { + "line": 326, + "column": 62 + } + } + }, + "range": [ + 8440, + 8494 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 62 + } + } + }, + "range": [ + 8440, + 8495 + ], + "loc": { + "start": { + "line": 326, + "column": 8 + }, + "end": { + "line": 326, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for a filter element\n * @type {String}\n ", + "range": [ + 8348, + 8431 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 325, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for multiple select filters\n * @type {String}\n ", + "range": [ + 8505, + 8595 + ], + "loc": { + "start": { + "line": 328, + "column": 8 + }, + "end": { + "line": 331, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8604, + 8608 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltMultiCssClass", + "range": [ + 8609, + 8625 + ], + "loc": { + "start": { + "line": 332, + "column": 13 + }, + "end": { + "line": 332, + "column": 29 + } + } + }, + "range": [ + 8604, + 8625 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 8628, + 8639 + ], + "loc": { + "start": { + "line": 332, + "column": 32 + }, + "end": { + "line": 332, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8640, + 8641 + ], + "loc": { + "start": { + "line": 332, + "column": 44 + }, + "end": { + "line": 332, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt_multi_css_class", + "range": [ + 8642, + 8661 + ], + "loc": { + "start": { + "line": 332, + "column": 46 + }, + "end": { + "line": 332, + "column": 65 + } + } + }, + "range": [ + 8640, + 8661 + ], + "loc": { + "start": { + "line": 332, + "column": 44 + }, + "end": { + "line": 332, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": "flt_multi", + "raw": "'flt_multi'", + "range": [ + 8663, + 8674 + ], + "loc": { + "start": { + "line": 332, + "column": 67 + }, + "end": { + "line": 332, + "column": 78 + } + } + } + ], + "range": [ + 8628, + 8675 + ], + "loc": { + "start": { + "line": 332, + "column": 32 + }, + "end": { + "line": 332, + "column": 79 + } + } + }, + "range": [ + 8604, + 8675 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 79 + } + } + }, + "range": [ + 8604, + 8676 + ], + "loc": { + "start": { + "line": 332, + "column": 8 + }, + "end": { + "line": 332, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for multiple select filters\n * @type {String}\n ", + "range": [ + 8505, + 8595 + ], + "loc": { + "start": { + "line": 328, + "column": 8 + }, + "end": { + "line": 331, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for small filter (when submit button is active)\n * @type {String}\n ", + "range": [ + 8686, + 8796 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 337, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8805, + 8809 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSmallCssClass", + "range": [ + 8810, + 8826 + ], + "loc": { + "start": { + "line": 338, + "column": 13 + }, + "end": { + "line": 338, + "column": 29 + } + } + }, + "range": [ + 8805, + 8826 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 8829, + 8840 + ], + "loc": { + "start": { + "line": 338, + "column": 32 + }, + "end": { + "line": 338, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 8841, + 8842 + ], + "loc": { + "start": { + "line": 338, + "column": 44 + }, + "end": { + "line": 338, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "flt_small_css_class", + "range": [ + 8843, + 8862 + ], + "loc": { + "start": { + "line": 338, + "column": 46 + }, + "end": { + "line": 338, + "column": 65 + } + } + }, + "range": [ + 8841, + 8862 + ], + "loc": { + "start": { + "line": 338, + "column": 44 + }, + "end": { + "line": 338, + "column": 65 + } + } + }, + { + "type": "Literal", + "value": "flt_s", + "raw": "'flt_s'", + "range": [ + 8864, + 8871 + ], + "loc": { + "start": { + "line": 338, + "column": 67 + }, + "end": { + "line": 338, + "column": 74 + } + } + } + ], + "range": [ + 8829, + 8872 + ], + "loc": { + "start": { + "line": 338, + "column": 32 + }, + "end": { + "line": 338, + "column": 75 + } + } + }, + "range": [ + 8805, + 8872 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 75 + } + } + }, + "range": [ + 8805, + 8873 + ], + "loc": { + "start": { + "line": 338, + "column": 8 + }, + "end": { + "line": 338, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for small filter (when submit button is active)\n * @type {String}\n ", + "range": [ + 8686, + 8796 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 337, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for single filter type\n * @type {String}\n ", + "range": [ + 8883, + 8968 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 343, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 8977, + 8981 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleFltCssClass", + "range": [ + 8982, + 8999 + ], + "loc": { + "start": { + "line": 344, + "column": 13 + }, + "end": { + "line": 344, + "column": 30 + } + } + }, + "range": [ + 8977, + 8999 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 344, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 9002, + 9013 + ], + "loc": { + "start": { + "line": 344, + "column": 33 + }, + "end": { + "line": 344, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 9014, + 9015 + ], + "loc": { + "start": { + "line": 344, + "column": 45 + }, + "end": { + "line": 344, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "single_flt_css_class", + "range": [ + 9016, + 9036 + ], + "loc": { + "start": { + "line": 344, + "column": 47 + }, + "end": { + "line": 344, + "column": 67 + } + } + }, + "range": [ + 9014, + 9036 + ], + "loc": { + "start": { + "line": 344, + "column": 45 + }, + "end": { + "line": 344, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": "single_flt", + "raw": "'single_flt'", + "range": [ + 9050, + 9062 + ], + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 24 + } + } + } + ], + "range": [ + 9002, + 9063 + ], + "loc": { + "start": { + "line": 344, + "column": 33 + }, + "end": { + "line": 345, + "column": 25 + } + } + }, + "range": [ + 8977, + 9063 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 345, + "column": 25 + } + } + }, + "range": [ + 8977, + 9064 + ], + "loc": { + "start": { + "line": 344, + "column": 8 + }, + "end": { + "line": 345, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for single filter type\n * @type {String}\n ", + "range": [ + 8883, + 8968 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 343, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** filters' grid behaviours **", + "range": [ + 9074, + 9108 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n ", + "range": [ + 9118, + 9219 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 352, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9228, + 9232 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enterKey", + "range": [ + 9233, + 9241 + ], + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 21 + } + } + }, + "range": [ + 9228, + 9241 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 9244, + 9256 + ], + "loc": { + "start": { + "line": 353, + "column": 24 + }, + "end": { + "line": 353, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 9257, + 9258 + ], + "loc": { + "start": { + "line": 353, + "column": 37 + }, + "end": { + "line": 353, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "enter_key", + "range": [ + 9259, + 9268 + ], + "loc": { + "start": { + "line": 353, + "column": 39 + }, + "end": { + "line": 353, + "column": 48 + } + } + }, + "range": [ + 9257, + 9268 + ], + "loc": { + "start": { + "line": 353, + "column": 37 + }, + "end": { + "line": 353, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 9270, + 9274 + ], + "loc": { + "start": { + "line": 353, + "column": 50 + }, + "end": { + "line": 353, + "column": 54 + } + } + } + ], + "range": [ + 9244, + 9275 + ], + "loc": { + "start": { + "line": 353, + "column": 24 + }, + "end": { + "line": 353, + "column": 55 + } + } + }, + "range": [ + 9228, + 9275 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 55 + } + } + }, + "range": [ + 9228, + 9276 + ], + "loc": { + "start": { + "line": 353, + "column": 8 + }, + "end": { + "line": 353, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** filters' grid behaviours **", + "range": [ + 9074, + 9108 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n ", + "range": [ + 9118, + 9219 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 352, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before filtering process starts\n * @type {Function}\n ", + "range": [ + 9286, + 9387 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 358, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9396, + 9400 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeFilter", + "range": [ + 9401, + 9415 + ], + "loc": { + "start": { + "line": 359, + "column": 13 + }, + "end": { + "line": 359, + "column": 27 + } + } + }, + "range": [ + 9396, + 9415 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 9418, + 9428 + ], + "loc": { + "start": { + "line": 359, + "column": 30 + }, + "end": { + "line": 359, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 9429, + 9430 + ], + "loc": { + "start": { + "line": 359, + "column": 41 + }, + "end": { + "line": 359, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_filter", + "range": [ + 9431, + 9447 + ], + "loc": { + "start": { + "line": 359, + "column": 43 + }, + "end": { + "line": 359, + "column": 59 + } + } + }, + "range": [ + 9429, + 9447 + ], + "loc": { + "start": { + "line": 359, + "column": 41 + }, + "end": { + "line": 359, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 9449, + 9457 + ], + "loc": { + "start": { + "line": 359, + "column": 61 + }, + "end": { + "line": 359, + "column": 69 + } + } + } + ], + "range": [ + 9418, + 9458 + ], + "loc": { + "start": { + "line": 359, + "column": 30 + }, + "end": { + "line": 359, + "column": 70 + } + } + }, + "range": [ + 9396, + 9458 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 70 + } + } + }, + "range": [ + 9396, + 9459 + ], + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before filtering process starts\n * @type {Function}\n ", + "range": [ + 9286, + 9387 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 358, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filtering process is completed\n * @type {Function}\n ", + "range": [ + 9469, + 9575 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 364, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9584, + 9588 + ], + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterFilter", + "range": [ + 9589, + 9602 + ], + "loc": { + "start": { + "line": 365, + "column": 13 + }, + "end": { + "line": 365, + "column": 26 + } + } + }, + "range": [ + 9584, + 9602 + ], + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 9605, + 9615 + ], + "loc": { + "start": { + "line": 365, + "column": 29 + }, + "end": { + "line": 365, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 9616, + 9617 + ], + "loc": { + "start": { + "line": 365, + "column": 40 + }, + "end": { + "line": 365, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_filter", + "range": [ + 9618, + 9633 + ], + "loc": { + "start": { + "line": 365, + "column": 42 + }, + "end": { + "line": 365, + "column": 57 + } + } + }, + "range": [ + 9616, + 9633 + ], + "loc": { + "start": { + "line": 365, + "column": 40 + }, + "end": { + "line": 365, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 9635, + 9643 + ], + "loc": { + "start": { + "line": 365, + "column": 59 + }, + "end": { + "line": 365, + "column": 67 + } + } + } + ], + "range": [ + 9605, + 9644 + ], + "loc": { + "start": { + "line": 365, + "column": 29 + }, + "end": { + "line": 365, + "column": 68 + } + } + }, + "range": [ + 9584, + 9644 + ], + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 68 + } + } + }, + "range": [ + 9584, + 9645 + ], + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filtering process is completed\n * @type {Function}\n ", + "range": [ + 9469, + 9575 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 364, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n ", + "range": [ + 9655, + 9750 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 370, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9759, + 9763 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 9764, + 9777 + ], + "loc": { + "start": { + "line": 371, + "column": 13 + }, + "end": { + "line": 371, + "column": 26 + } + } + }, + "range": [ + 9759, + 9777 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 9780, + 9787 + ], + "loc": { + "start": { + "line": 371, + "column": 29 + }, + "end": { + "line": 371, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 9788, + 9789 + ], + "loc": { + "start": { + "line": 371, + "column": 37 + }, + "end": { + "line": 371, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "case_sensitive", + "range": [ + 9790, + 9804 + ], + "loc": { + "start": { + "line": 371, + "column": 39 + }, + "end": { + "line": 371, + "column": 53 + } + } + }, + "range": [ + 9788, + 9804 + ], + "loc": { + "start": { + "line": 371, + "column": 37 + }, + "end": { + "line": 371, + "column": 53 + } + } + } + ], + "range": [ + 9780, + 9805 + ], + "loc": { + "start": { + "line": 371, + "column": 29 + }, + "end": { + "line": 371, + "column": 54 + } + } + }, + "range": [ + 9759, + 9805 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 54 + } + } + }, + "range": [ + 9759, + 9806 + ], + "loc": { + "start": { + "line": 371, + "column": 8 + }, + "end": { + "line": 371, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n ", + "range": [ + 9655, + 9750 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 370, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 9816, + 9972 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 378, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 9981, + 9985 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExactMatchByCol", + "range": [ + 9986, + 10004 + ], + "loc": { + "start": { + "line": 379, + "column": 13 + }, + "end": { + "line": 379, + "column": 31 + } + } + }, + "range": [ + 9981, + 10004 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 10007, + 10014 + ], + "loc": { + "start": { + "line": 379, + "column": 34 + }, + "end": { + "line": 379, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10015, + 10016 + ], + "loc": { + "start": { + "line": 379, + "column": 42 + }, + "end": { + "line": 379, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "columns_exact_match", + "range": [ + 10017, + 10036 + ], + "loc": { + "start": { + "line": 379, + "column": 44 + }, + "end": { + "line": 379, + "column": 63 + } + } + }, + "range": [ + 10015, + 10036 + ], + "loc": { + "start": { + "line": 379, + "column": 42 + }, + "end": { + "line": 379, + "column": 63 + } + } + } + ], + "range": [ + 10007, + 10037 + ], + "loc": { + "start": { + "line": 379, + "column": 34 + }, + "end": { + "line": 379, + "column": 64 + } + } + }, + "range": [ + 9981, + 10037 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 64 + } + } + }, + "range": [ + 9981, + 10038 + ], + "loc": { + "start": { + "line": 379, + "column": 8 + }, + "end": { + "line": 379, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 9816, + 9972 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 378, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Exact match filtering per column array\n * @type {Array}\n ", + "range": [ + 10048, + 10138 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 384, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10147, + 10151 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "exactMatchByCol", + "range": [ + 10152, + 10167 + ], + "loc": { + "start": { + "line": 385, + "column": 13 + }, + "end": { + "line": 385, + "column": 28 + } + } + }, + "range": [ + 10147, + 10167 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 385, + "column": 28 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10170, + 10174 + ], + "loc": { + "start": { + "line": 385, + "column": 31 + }, + "end": { + "line": 385, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExactMatchByCol", + "range": [ + 10175, + 10193 + ], + "loc": { + "start": { + "line": 385, + "column": 36 + }, + "end": { + "line": 385, + "column": 54 + } + } + }, + "range": [ + 10170, + 10193 + ], + "loc": { + "start": { + "line": 385, + "column": 31 + }, + "end": { + "line": 385, + "column": 54 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10208, + 10209 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "columns_exact_match", + "range": [ + 10210, + 10229 + ], + "loc": { + "start": { + "line": 386, + "column": 14 + }, + "end": { + "line": 386, + "column": 33 + } + } + }, + "range": [ + 10208, + 10229 + ], + "loc": { + "start": { + "line": 386, + "column": 12 + }, + "end": { + "line": 386, + "column": 33 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 10232, + 10234 + ], + "loc": { + "start": { + "line": 386, + "column": 36 + }, + "end": { + "line": 386, + "column": 38 + } + } + }, + "range": [ + 10170, + 10234 + ], + "loc": { + "start": { + "line": 385, + "column": 31 + }, + "end": { + "line": 386, + "column": 38 + } + } + }, + "range": [ + 10147, + 10234 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 386, + "column": 38 + } + } + }, + "range": [ + 10147, + 10235 + ], + "loc": { + "start": { + "line": 385, + "column": 8 + }, + "end": { + "line": 386, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Exact match filtering per column array\n * @type {Array}\n ", + "range": [ + 10048, + 10138 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 384, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n ", + "range": [ + 10245, + 10344 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 391, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10353, + 10357 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "exactMatch", + "range": [ + 10358, + 10368 + ], + "loc": { + "start": { + "line": 392, + "column": 13 + }, + "end": { + "line": 392, + "column": 23 + } + } + }, + "range": [ + 10353, + 10368 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 10371, + 10378 + ], + "loc": { + "start": { + "line": 392, + "column": 26 + }, + "end": { + "line": 392, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10379, + 10380 + ], + "loc": { + "start": { + "line": 392, + "column": 34 + }, + "end": { + "line": 392, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "exact_match", + "range": [ + 10381, + 10392 + ], + "loc": { + "start": { + "line": 392, + "column": 36 + }, + "end": { + "line": 392, + "column": 47 + } + } + }, + "range": [ + 10379, + 10392 + ], + "loc": { + "start": { + "line": 392, + "column": 34 + }, + "end": { + "line": 392, + "column": 47 + } + } + } + ], + "range": [ + 10371, + 10393 + ], + "loc": { + "start": { + "line": 392, + "column": 26 + }, + "end": { + "line": 392, + "column": 48 + } + } + }, + "range": [ + 10353, + 10393 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 48 + } + } + }, + "range": [ + 10353, + 10394 + ], + "loc": { + "start": { + "line": 392, + "column": 8 + }, + "end": { + "line": 392, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n ", + "range": [ + 10245, + 10344 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 391, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 10404, + 10511 + ], + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 397, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10520, + 10524 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 398, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ignoreDiacritics", + "range": [ + 10525, + 10541 + ], + "loc": { + "start": { + "line": 398, + "column": 13 + }, + "end": { + "line": 398, + "column": 29 + } + } + }, + "range": [ + 10520, + 10541 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 398, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10544, + 10545 + ], + "loc": { + "start": { + "line": 398, + "column": 32 + }, + "end": { + "line": 398, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "ignore_diacritics", + "range": [ + 10546, + 10563 + ], + "loc": { + "start": { + "line": 398, + "column": 34 + }, + "end": { + "line": 398, + "column": 51 + } + } + }, + "range": [ + 10544, + 10563 + ], + "loc": { + "start": { + "line": 398, + "column": 32 + }, + "end": { + "line": 398, + "column": 51 + } + } + }, + "range": [ + 10520, + 10563 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 398, + "column": 51 + } + } + }, + "range": [ + 10520, + 10564 + ], + "loc": { + "start": { + "line": 398, + "column": 8 + }, + "end": { + "line": 398, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 10404, + 10511 + ], + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 397, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n ", + "range": [ + 10574, + 10672 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 403, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10681, + 10685 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 10686, + 10699 + ], + "loc": { + "start": { + "line": 404, + "column": 13 + }, + "end": { + "line": 404, + "column": 26 + } + } + }, + "range": [ + 10681, + 10699 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 10702, + 10709 + ], + "loc": { + "start": { + "line": 404, + "column": 29 + }, + "end": { + "line": 404, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10710, + 10711 + ], + "loc": { + "start": { + "line": 404, + "column": 37 + }, + "end": { + "line": 404, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "linked_filters", + "range": [ + 10712, + 10726 + ], + "loc": { + "start": { + "line": 404, + "column": 39 + }, + "end": { + "line": 404, + "column": 53 + } + } + }, + "range": [ + 10710, + 10726 + ], + "loc": { + "start": { + "line": 404, + "column": 37 + }, + "end": { + "line": 404, + "column": 53 + } + } + } + ], + "range": [ + 10702, + 10727 + ], + "loc": { + "start": { + "line": 404, + "column": 29 + }, + "end": { + "line": 404, + "column": 54 + } + } + }, + "range": [ + 10681, + 10727 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 54 + } + } + }, + "range": [ + 10681, + 10728 + ], + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n ", + "range": [ + 10574, + 10672 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 403, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n ", + "range": [ + 10738, + 10894 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 410, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 10903, + 10907 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "disableExcludedOptions", + "range": [ + 10908, + 10930 + ], + "loc": { + "start": { + "line": 411, + "column": 13 + }, + "end": { + "line": 411, + "column": 35 + } + } + }, + "range": [ + 10903, + 10930 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 10933, + 10940 + ], + "loc": { + "start": { + "line": 411, + "column": 38 + }, + "end": { + "line": 411, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 10941, + 10942 + ], + "loc": { + "start": { + "line": 411, + "column": 46 + }, + "end": { + "line": 411, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "disable_excluded_options", + "range": [ + 10943, + 10967 + ], + "loc": { + "start": { + "line": 411, + "column": 48 + }, + "end": { + "line": 411, + "column": 72 + } + } + }, + "range": [ + 10941, + 10967 + ], + "loc": { + "start": { + "line": 411, + "column": 46 + }, + "end": { + "line": 411, + "column": 72 + } + } + } + ], + "range": [ + 10933, + 10968 + ], + "loc": { + "start": { + "line": 411, + "column": 38 + }, + "end": { + "line": 411, + "column": 73 + } + } + }, + "range": [ + 10903, + 10968 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 73 + } + } + }, + "range": [ + 10903, + 10969 + ], + "loc": { + "start": { + "line": 411, + "column": 8 + }, + "end": { + "line": 411, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n ", + "range": [ + 10738, + 10894 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 410, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Active filter ID\n * @type {String}\n * @private\n ", + "range": [ + 10979, + 11068 + ], + "loc": { + "start": { + "line": 413, + "column": 8 + }, + "end": { + "line": 417, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11077, + 11081 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 11082, + 11096 + ], + "loc": { + "start": { + "line": 418, + "column": 13 + }, + "end": { + "line": 418, + "column": 27 + } + } + }, + "range": [ + 11077, + 11096 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 11099, + 11103 + ], + "loc": { + "start": { + "line": 418, + "column": 30 + }, + "end": { + "line": 418, + "column": 34 + } + } + }, + "range": [ + 11077, + 11103 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 34 + } + } + }, + "range": [ + 11077, + 11104 + ], + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 418, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Active filter ID\n * @type {String}\n * @private\n ", + "range": [ + 10979, + 11068 + ], + "loc": { + "start": { + "line": 413, + "column": 8 + }, + "end": { + "line": 417, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n ", + "range": [ + 11114, + 11227 + ], + "loc": { + "start": { + "line": 420, + "column": 8 + }, + "end": { + "line": 423, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11236, + 11240 + ], + "loc": { + "start": { + "line": 424, + "column": 8 + }, + "end": { + "line": 424, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 11241, + 11255 + ], + "loc": { + "start": { + "line": 424, + "column": 13 + }, + "end": { + "line": 424, + "column": 27 + } + } + }, + "range": [ + 11236, + 11255 + ], + "loc": { + "start": { + "line": 424, + "column": 8 + }, + "end": { + "line": 424, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 11258, + 11265 + ], + "loc": { + "start": { + "line": 424, + "column": 30 + }, + "end": { + "line": 424, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 11266, + 11267 + ], + "loc": { + "start": { + "line": 424, + "column": 38 + }, + "end": { + "line": 424, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows_always_visible", + "range": [ + 11268, + 11287 + ], + "loc": { + "start": { + "line": 424, + "column": 40 + }, + "end": { + "line": 424, + "column": 59 + } + } + }, + "range": [ + 11266, + 11287 + ], + "loc": { + "start": { + "line": 424, + "column": 38 + }, + "end": { + "line": 424, + "column": 59 + } + } + } + ], + "range": [ + 11258, + 11288 + ], + "loc": { + "start": { + "line": 424, + "column": 30 + }, + "end": { + "line": 424, + "column": 60 + } + } + }, + "range": [ + 11236, + 11288 + ], + "loc": { + "start": { + "line": 424, + "column": 8 + }, + "end": { + "line": 424, + "column": 60 + } + } + }, + "range": [ + 11236, + 11289 + ], + "loc": { + "start": { + "line": 424, + "column": 8 + }, + "end": { + "line": 424, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n ", + "range": [ + 11114, + 11227 + ], + "loc": { + "start": { + "line": 420, + "column": 8 + }, + "end": { + "line": 423, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes to be excluded from filtering\n * @type {Array}\n ", + "range": [ + 11299, + 11400 + ], + "loc": { + "start": { + "line": 426, + "column": 8 + }, + "end": { + "line": 429, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11409, + 11413 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 11414, + 11425 + ], + "loc": { + "start": { + "line": 430, + "column": 13 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "range": [ + 11409, + 11425 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 24 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11428, + 11432 + ], + "loc": { + "start": { + "line": 430, + "column": 27 + }, + "end": { + "line": 430, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 11433, + 11447 + ], + "loc": { + "start": { + "line": 430, + "column": 32 + }, + "end": { + "line": 430, + "column": 46 + } + } + }, + "range": [ + 11428, + 11447 + ], + "loc": { + "start": { + "line": 430, + "column": 27 + }, + "end": { + "line": 430, + "column": 46 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 11450, + 11451 + ], + "loc": { + "start": { + "line": 430, + "column": 49 + }, + "end": { + "line": 430, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows_always_visible", + "range": [ + 11452, + 11471 + ], + "loc": { + "start": { + "line": 430, + "column": 51 + }, + "end": { + "line": 430, + "column": 70 + } + } + }, + "range": [ + 11450, + 11471 + ], + "loc": { + "start": { + "line": 430, + "column": 49 + }, + "end": { + "line": 430, + "column": 70 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11474, + 11476 + ], + "loc": { + "start": { + "line": 430, + "column": 73 + }, + "end": { + "line": 430, + "column": 75 + } + } + }, + "range": [ + 11428, + 11476 + ], + "loc": { + "start": { + "line": 430, + "column": 27 + }, + "end": { + "line": 430, + "column": 75 + } + } + }, + "range": [ + 11409, + 11476 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 75 + } + } + }, + "range": [ + 11409, + 11477 + ], + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of row indexes to be excluded from filtering\n * @type {Array}\n ", + "range": [ + 11299, + 11400 + ], + "loc": { + "start": { + "line": 426, + "column": 8 + }, + "end": { + "line": 429, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of containers IDs where external filters will be generated\n * @type {Array}\n ", + "range": [ + 11487, + 11602 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 435, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11611, + 11615 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 11616, + 11633 + ], + "loc": { + "start": { + "line": 436, + "column": 13 + }, + "end": { + "line": 436, + "column": 30 + } + } + }, + "range": [ + 11611, + 11633 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 11636, + 11647 + ], + "loc": { + "start": { + "line": 436, + "column": 33 + }, + "end": { + "line": 436, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 11648, + 11649 + ], + "loc": { + "start": { + "line": 436, + "column": 45 + }, + "end": { + "line": 436, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "external_flt_grid_ids", + "range": [ + 11650, + 11671 + ], + "loc": { + "start": { + "line": 436, + "column": 47 + }, + "end": { + "line": 436, + "column": 68 + } + } + }, + "range": [ + 11648, + 11671 + ], + "loc": { + "start": { + "line": 436, + "column": 45 + }, + "end": { + "line": 436, + "column": 68 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 11673, + 11675 + ], + "loc": { + "start": { + "line": 436, + "column": 70 + }, + "end": { + "line": 436, + "column": 72 + } + } + } + ], + "range": [ + 11636, + 11676 + ], + "loc": { + "start": { + "line": 436, + "column": 33 + }, + "end": { + "line": 436, + "column": 73 + } + } + }, + "range": [ + 11611, + 11676 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 73 + } + } + }, + "range": [ + 11611, + 11677 + ], + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of containers IDs where external filters will be generated\n * @type {Array}\n ", + "range": [ + 11487, + 11602 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 435, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filters are generated\n * @type {Function}\n ", + "range": [ + 11687, + 11784 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 441, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11793, + 11797 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onFiltersLoaded", + "range": [ + 11798, + 11813 + ], + "loc": { + "start": { + "line": 442, + "column": 13 + }, + "end": { + "line": 442, + "column": 28 + } + } + }, + "range": [ + 11793, + 11813 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 11816, + 11826 + ], + "loc": { + "start": { + "line": 442, + "column": 31 + }, + "end": { + "line": 442, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 11827, + 11828 + ], + "loc": { + "start": { + "line": 442, + "column": 42 + }, + "end": { + "line": 442, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_filters_loaded", + "range": [ + 11829, + 11846 + ], + "loc": { + "start": { + "line": 442, + "column": 44 + }, + "end": { + "line": 442, + "column": 61 + } + } + }, + "range": [ + 11827, + 11846 + ], + "loc": { + "start": { + "line": 442, + "column": 42 + }, + "end": { + "line": 442, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 11848, + 11856 + ], + "loc": { + "start": { + "line": 442, + "column": 63 + }, + "end": { + "line": 442, + "column": 71 + } + } + } + ], + "range": [ + 11816, + 11857 + ], + "loc": { + "start": { + "line": 442, + "column": 31 + }, + "end": { + "line": 442, + "column": 72 + } + } + }, + "range": [ + 11793, + 11857 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 72 + } + } + }, + "range": [ + 11793, + 11858 + ], + "loc": { + "start": { + "line": 442, + "column": 8 + }, + "end": { + "line": 442, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filters are generated\n * @type {Function}\n ", + "range": [ + 11687, + 11784 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 441, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n ", + "range": [ + 11868, + 11972 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 447, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 11981, + 11985 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 11986, + 12001 + ], + "loc": { + "start": { + "line": 448, + "column": 13 + }, + "end": { + "line": 448, + "column": 28 + } + } + }, + "range": [ + 11981, + 12001 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 12004, + 12011 + ], + "loc": { + "start": { + "line": 448, + "column": 31 + }, + "end": { + "line": 448, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12012, + 12013 + ], + "loc": { + "start": { + "line": 448, + "column": 39 + }, + "end": { + "line": 448, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "single_filter", + "range": [ + 12014, + 12027 + ], + "loc": { + "start": { + "line": 448, + "column": 41 + }, + "end": { + "line": 448, + "column": 54 + } + } + }, + "range": [ + 12012, + 12027 + ], + "loc": { + "start": { + "line": 448, + "column": 39 + }, + "end": { + "line": 448, + "column": 54 + } + } + } + ], + "range": [ + 12004, + 12028 + ], + "loc": { + "start": { + "line": 448, + "column": 31 + }, + "end": { + "line": 448, + "column": 55 + } + } + }, + "range": [ + 11981, + 12028 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 55 + } + } + }, + "range": [ + 11981, + 12029 + ], + "loc": { + "start": { + "line": 448, + "column": 8 + }, + "end": { + "line": 448, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n ", + "range": [ + 11868, + 11972 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 447, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a row is validated during filtering\n * @type {Function}\n ", + "range": [ + 12039, + 12150 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 453, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12159, + 12163 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onRowValidated", + "range": [ + 12164, + 12178 + ], + "loc": { + "start": { + "line": 454, + "column": 13 + }, + "end": { + "line": 454, + "column": 27 + } + } + }, + "range": [ + 12159, + 12178 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 12181, + 12191 + ], + "loc": { + "start": { + "line": 454, + "column": 30 + }, + "end": { + "line": 454, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12192, + 12193 + ], + "loc": { + "start": { + "line": 454, + "column": 41 + }, + "end": { + "line": 454, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_row_validated", + "range": [ + 12194, + 12210 + ], + "loc": { + "start": { + "line": 454, + "column": 43 + }, + "end": { + "line": 454, + "column": 59 + } + } + }, + "range": [ + 12192, + 12210 + ], + "loc": { + "start": { + "line": 454, + "column": 41 + }, + "end": { + "line": 454, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 12212, + 12220 + ], + "loc": { + "start": { + "line": 454, + "column": 61 + }, + "end": { + "line": 454, + "column": 69 + } + } + } + ], + "range": [ + 12181, + 12221 + ], + "loc": { + "start": { + "line": 454, + "column": 30 + }, + "end": { + "line": 454, + "column": 70 + } + } + }, + "range": [ + 12159, + 12221 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 70 + } + } + }, + "range": [ + 12159, + 12222 + ], + "loc": { + "start": { + "line": 454, + "column": 8 + }, + "end": { + "line": 454, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after a row is validated during filtering\n * @type {Function}\n ", + "range": [ + 12039, + 12150 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 453, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Specify which column implements a custom cell parser to retrieve the\n * cell value:\n * cell_parser: {\n * cols: [0, 2],\n * parse: function(tf, cell, colIndex) {\n * // custom cell parser logic here\n * return cellValue;\n * }\n * }\n * @type {Object}\n ", + "range": [ + 12232, + 12603 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 467, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12612, + 12616 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellParser", + "range": [ + 12617, + 12627 + ], + "loc": { + "start": { + "line": 468, + "column": 13 + }, + "end": { + "line": 468, + "column": 23 + } + } + }, + "range": [ + 12612, + 12627 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 468, + "column": 23 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 12630, + 12635 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 468, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12636, + 12637 + ], + "loc": { + "start": { + "line": 468, + "column": 32 + }, + "end": { + "line": 468, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "cell_parser", + "range": [ + 12638, + 12649 + ], + "loc": { + "start": { + "line": 468, + "column": 34 + }, + "end": { + "line": 468, + "column": 45 + } + } + }, + "range": [ + 12636, + 12649 + ], + "loc": { + "start": { + "line": 468, + "column": 32 + }, + "end": { + "line": 468, + "column": 45 + } + } + } + ], + "range": [ + 12630, + 12650 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 468, + "column": 46 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isFn", + "range": [ + 12654, + 12658 + ], + "loc": { + "start": { + "line": 468, + "column": 50 + }, + "end": { + "line": 468, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12659, + 12660 + ], + "loc": { + "start": { + "line": 468, + "column": 55 + }, + "end": { + "line": 468, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "cell_parser", + "range": [ + 12661, + 12672 + ], + "loc": { + "start": { + "line": 468, + "column": 57 + }, + "end": { + "line": 468, + "column": 68 + } + } + }, + "range": [ + 12659, + 12672 + ], + "loc": { + "start": { + "line": 468, + "column": 55 + }, + "end": { + "line": 468, + "column": 68 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 12673, + 12678 + ], + "loc": { + "start": { + "line": 468, + "column": 69 + }, + "end": { + "line": 468, + "column": 74 + } + } + }, + "range": [ + 12659, + 12678 + ], + "loc": { + "start": { + "line": 468, + "column": 55 + }, + "end": { + "line": 468, + "column": 74 + } + } + } + ], + "range": [ + 12654, + 12679 + ], + "loc": { + "start": { + "line": 468, + "column": 50 + }, + "end": { + "line": 468, + "column": 75 + } + } + }, + "range": [ + 12630, + 12679 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 468, + "column": 75 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 12695, + 12702 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12703, + 12704 + ], + "loc": { + "start": { + "line": 469, + "column": 20 + }, + "end": { + "line": 469, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "cell_parser", + "range": [ + 12705, + 12716 + ], + "loc": { + "start": { + "line": 469, + "column": 22 + }, + "end": { + "line": 469, + "column": 33 + } + } + }, + "range": [ + 12703, + 12716 + ], + "loc": { + "start": { + "line": 469, + "column": 20 + }, + "end": { + "line": 469, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "cols", + "range": [ + 12717, + 12721 + ], + "loc": { + "start": { + "line": 469, + "column": 34 + }, + "end": { + "line": 469, + "column": 38 + } + } + }, + "range": [ + 12703, + 12721 + ], + "loc": { + "start": { + "line": 469, + "column": 20 + }, + "end": { + "line": 469, + "column": 38 + } + } + } + ], + "range": [ + 12695, + 12722 + ], + "loc": { + "start": { + "line": 469, + "column": 12 + }, + "end": { + "line": 469, + "column": 39 + } + } + }, + "range": [ + 12630, + 12722 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 469, + "column": 39 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12737, + 12738 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "name": "cell_parser", + "range": [ + 12739, + 12750 + ], + "loc": { + "start": { + "line": 470, + "column": 14 + }, + "end": { + "line": 470, + "column": 25 + } + } + }, + "range": [ + 12737, + 12750 + ], + "loc": { + "start": { + "line": 470, + "column": 12 + }, + "end": { + "line": 470, + "column": 25 + } + } + }, + "alternate": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "cols", + "range": [ + 12755, + 12759 + ], + "loc": { + "start": { + "line": 470, + "column": 30 + }, + "end": { + "line": 470, + "column": 34 + } + } + }, + "value": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 12761, + 12763 + ], + "loc": { + "start": { + "line": 470, + "column": 36 + }, + "end": { + "line": 470, + "column": 38 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 12755, + 12763 + ], + "loc": { + "start": { + "line": 470, + "column": 30 + }, + "end": { + "line": 470, + "column": 38 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "parse", + "range": [ + 12765, + 12770 + ], + "loc": { + "start": { + "line": 470, + "column": 40 + }, + "end": { + "line": 470, + "column": 45 + } + } + }, + "value": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 12772, + 12780 + ], + "loc": { + "start": { + "line": 470, + "column": 47 + }, + "end": { + "line": 470, + "column": 55 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 12765, + 12780 + ], + "loc": { + "start": { + "line": 470, + "column": 40 + }, + "end": { + "line": 470, + "column": 55 + } + } + } + ], + "range": [ + 12753, + 12782 + ], + "loc": { + "start": { + "line": 470, + "column": 28 + }, + "end": { + "line": 470, + "column": 57 + } + } + }, + "range": [ + 12630, + 12782 + ], + "loc": { + "start": { + "line": 468, + "column": 26 + }, + "end": { + "line": 470, + "column": 57 + } + } + }, + "range": [ + 12612, + 12782 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 470, + "column": 57 + } + } + }, + "range": [ + 12612, + 12783 + ], + "loc": { + "start": { + "line": 468, + "column": 8 + }, + "end": { + "line": 470, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Specify which column implements a custom cell parser to retrieve the\n * cell value:\n * cell_parser: {\n * cols: [0, 2],\n * parse: function(tf, cell, colIndex) {\n * // custom cell parser logic here\n * return cellValue;\n * }\n * }\n * @type {Object}\n ", + "range": [ + 12232, + 12603 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 467, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n ", + "range": [ + 12793, + 12959 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 476, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 12968, + 12972 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 12973, + 12982 + ], + "loc": { + "start": { + "line": 477, + "column": 13 + }, + "end": { + "line": 477, + "column": 22 + } + } + }, + "range": [ + 12968, + 12982 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 22 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 12985, + 12986 + ], + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 12987, + 12996 + ], + "loc": { + "start": { + "line": 477, + "column": 27 + }, + "end": { + "line": 477, + "column": 36 + } + } + }, + "range": [ + 12985, + 12996 + ], + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 13000, + 13002 + ], + "loc": { + "start": { + "line": 477, + "column": 40 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 12985, + 13002 + ], + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 12968, + 13002 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 42 + } + } + }, + "range": [ + 12968, + 13003 + ], + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n ", + "range": [ + 12793, + 12959 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 476, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 13013, + 13138 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 483, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13147, + 13151 + ], + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isWatermarkArray", + "range": [ + 13152, + 13168 + ], + "loc": { + "start": { + "line": 484, + "column": 13 + }, + "end": { + "line": 484, + "column": 29 + } + } + }, + "range": [ + 13147, + 13168 + ], + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 13171, + 13178 + ], + "loc": { + "start": { + "line": 484, + "column": 32 + }, + "end": { + "line": 484, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13179, + 13183 + ], + "loc": { + "start": { + "line": 484, + "column": 40 + }, + "end": { + "line": 484, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 13184, + 13193 + ], + "loc": { + "start": { + "line": 484, + "column": 45 + }, + "end": { + "line": 484, + "column": 54 + } + } + }, + "range": [ + 13179, + 13193 + ], + "loc": { + "start": { + "line": 484, + "column": 40 + }, + "end": { + "line": 484, + "column": 54 + } + } + } + ], + "range": [ + 13171, + 13194 + ], + "loc": { + "start": { + "line": 484, + "column": 32 + }, + "end": { + "line": 484, + "column": 55 + } + } + }, + "range": [ + 13147, + 13194 + ], + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 55 + } + } + }, + "range": [ + 13147, + 13195 + ], + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 13013, + 13138 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 483, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar's custom container ID\n * @type {String}\n ", + "range": [ + 13205, + 13287 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 489, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13296, + 13300 + ], + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "toolBarTgtId", + "range": [ + 13301, + 13313 + ], + "loc": { + "start": { + "line": 490, + "column": 13 + }, + "end": { + "line": 490, + "column": 25 + } + } + }, + "range": [ + 13296, + 13313 + ], + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 13316, + 13327 + ], + "loc": { + "start": { + "line": 490, + "column": 28 + }, + "end": { + "line": 490, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13328, + 13329 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "toolbar_target_id", + "range": [ + 13330, + 13347 + ], + "loc": { + "start": { + "line": 490, + "column": 42 + }, + "end": { + "line": 490, + "column": 59 + } + } + }, + "range": [ + 13328, + 13347 + ], + "loc": { + "start": { + "line": 490, + "column": 40 + }, + "end": { + "line": 490, + "column": 59 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 13349, + 13353 + ], + "loc": { + "start": { + "line": 490, + "column": 61 + }, + "end": { + "line": 490, + "column": 65 + } + } + } + ], + "range": [ + 13316, + 13354 + ], + "loc": { + "start": { + "line": 490, + "column": 28 + }, + "end": { + "line": 490, + "column": 66 + } + } + }, + "range": [ + 13296, + 13354 + ], + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 66 + } + } + }, + "range": [ + 13296, + 13355 + ], + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar's custom container ID\n * @type {String}\n ", + "range": [ + 13205, + 13287 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 489, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n ", + "range": [ + 13365, + 13465 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 495, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13474, + 13478 + ], + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 496, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "help", + "range": [ + 13479, + 13483 + ], + "loc": { + "start": { + "line": 496, + "column": 13 + }, + "end": { + "line": 496, + "column": 17 + } + } + }, + "range": [ + 13474, + 13483 + ], + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 496, + "column": 17 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 13486, + 13493 + ], + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13494, + 13495 + ], + "loc": { + "start": { + "line": 496, + "column": 28 + }, + "end": { + "line": 496, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "help_instructions", + "range": [ + 13496, + 13513 + ], + "loc": { + "start": { + "line": 496, + "column": 30 + }, + "end": { + "line": 496, + "column": 47 + } + } + }, + "range": [ + 13494, + 13513 + ], + "loc": { + "start": { + "line": 496, + "column": 28 + }, + "end": { + "line": 496, + "column": 47 + } + } + } + ], + "range": [ + 13486, + 13514 + ], + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 496, + "column": 48 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "undefined", + "range": [ + 13517, + 13526 + ], + "loc": { + "start": { + "line": 496, + "column": 51 + }, + "end": { + "line": 496, + "column": 60 + } + } + }, + "alternate": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 13542, + 13547 + ], + "loc": { + "start": { + "line": 497, + "column": 13 + }, + "end": { + "line": 497, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13548, + 13549 + ], + "loc": { + "start": { + "line": 497, + "column": 19 + }, + "end": { + "line": 497, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "help_instructions", + "range": [ + 13550, + 13567 + ], + "loc": { + "start": { + "line": 497, + "column": 21 + }, + "end": { + "line": 497, + "column": 38 + } + } + }, + "range": [ + 13548, + 13567 + ], + "loc": { + "start": { + "line": 497, + "column": 19 + }, + "end": { + "line": 497, + "column": 38 + } + } + } + ], + "range": [ + 13542, + 13568 + ], + "loc": { + "start": { + "line": 497, + "column": 13 + }, + "end": { + "line": 497, + "column": 39 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 13572, + 13579 + ], + "loc": { + "start": { + "line": 497, + "column": 43 + }, + "end": { + "line": 497, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13580, + 13581 + ], + "loc": { + "start": { + "line": 497, + "column": 51 + }, + "end": { + "line": 497, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "help_instructions", + "range": [ + 13582, + 13599 + ], + "loc": { + "start": { + "line": 497, + "column": 53 + }, + "end": { + "line": 497, + "column": 70 + } + } + }, + "range": [ + 13580, + 13599 + ], + "loc": { + "start": { + "line": 497, + "column": 51 + }, + "end": { + "line": 497, + "column": 70 + } + } + } + ], + "range": [ + 13572, + 13600 + ], + "loc": { + "start": { + "line": 497, + "column": 43 + }, + "end": { + "line": 497, + "column": 71 + } + } + }, + "range": [ + 13542, + 13600 + ], + "loc": { + "start": { + "line": 497, + "column": 13 + }, + "end": { + "line": 497, + "column": 71 + } + } + }, + "range": [ + 13486, + 13601 + ], + "loc": { + "start": { + "line": 496, + "column": 20 + }, + "end": { + "line": 497, + "column": 72 + } + } + }, + "range": [ + 13474, + 13601 + ], + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 497, + "column": 72 + } + } + }, + "range": [ + 13474, + 13602 + ], + "loc": { + "start": { + "line": 496, + "column": 8 + }, + "end": { + "line": 497, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n ", + "range": [ + 13365, + 13465 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 495, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n ", + "range": [ + 13612, + 13711 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 502, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13720, + 13724 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "popupFilters", + "range": [ + 13725, + 13737 + ], + "loc": { + "start": { + "line": 503, + "column": 13 + }, + "end": { + "line": 503, + "column": 25 + } + } + }, + "range": [ + 13720, + 13737 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 13740, + 13745 + ], + "loc": { + "start": { + "line": 503, + "column": 28 + }, + "end": { + "line": 503, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13746, + 13747 + ], + "loc": { + "start": { + "line": 503, + "column": 34 + }, + "end": { + "line": 503, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "popup_filters", + "range": [ + 13748, + 13761 + ], + "loc": { + "start": { + "line": 503, + "column": 36 + }, + "end": { + "line": 503, + "column": 49 + } + } + }, + "range": [ + 13746, + 13761 + ], + "loc": { + "start": { + "line": 503, + "column": 34 + }, + "end": { + "line": 503, + "column": 49 + } + } + } + ], + "range": [ + 13740, + 13762 + ], + "loc": { + "start": { + "line": 503, + "column": 28 + }, + "end": { + "line": 503, + "column": 50 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 13766, + 13773 + ], + "loc": { + "start": { + "line": 503, + "column": 54 + }, + "end": { + "line": 503, + "column": 61 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13774, + 13775 + ], + "loc": { + "start": { + "line": 503, + "column": 62 + }, + "end": { + "line": 503, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "name": "popup_filters", + "range": [ + 13776, + 13789 + ], + "loc": { + "start": { + "line": 503, + "column": 64 + }, + "end": { + "line": 503, + "column": 77 + } + } + }, + "range": [ + 13774, + 13789 + ], + "loc": { + "start": { + "line": 503, + "column": 62 + }, + "end": { + "line": 503, + "column": 77 + } + } + } + ], + "range": [ + 13766, + 13790 + ], + "loc": { + "start": { + "line": 503, + "column": 54 + }, + "end": { + "line": 503, + "column": 78 + } + } + }, + "range": [ + 13740, + 13790 + ], + "loc": { + "start": { + "line": 503, + "column": 28 + }, + "end": { + "line": 503, + "column": 78 + } + } + }, + "range": [ + 13720, + 13790 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 78 + } + } + }, + "range": [ + 13720, + 13791 + ], + "loc": { + "start": { + "line": 503, + "column": 8 + }, + "end": { + "line": 503, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n ", + "range": [ + 13612, + 13711 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 502, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n ", + "range": [ + 13801, + 13918 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 508, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 13927, + 13931 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "markActiveColumns", + "range": [ + 13932, + 13949 + ], + "loc": { + "start": { + "line": 509, + "column": 13 + }, + "end": { + "line": 509, + "column": 30 + } + } + }, + "range": [ + 13927, + 13949 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 509, + "column": 30 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 13952, + 13957 + ], + "loc": { + "start": { + "line": 509, + "column": 33 + }, + "end": { + "line": 509, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 13958, + 13959 + ], + "loc": { + "start": { + "line": 509, + "column": 39 + }, + "end": { + "line": 509, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "mark_active_columns", + "range": [ + 13960, + 13979 + ], + "loc": { + "start": { + "line": 509, + "column": 41 + }, + "end": { + "line": 509, + "column": 60 + } + } + }, + "range": [ + 13958, + 13979 + ], + "loc": { + "start": { + "line": 509, + "column": 39 + }, + "end": { + "line": 509, + "column": 60 + } + } + } + ], + "range": [ + 13952, + 13980 + ], + "loc": { + "start": { + "line": 509, + "column": 33 + }, + "end": { + "line": 509, + "column": 61 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 13996, + 14003 + ], + "loc": { + "start": { + "line": 510, + "column": 12 + }, + "end": { + "line": 510, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 14004, + 14005 + ], + "loc": { + "start": { + "line": 510, + "column": 20 + }, + "end": { + "line": 510, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "mark_active_columns", + "range": [ + 14006, + 14025 + ], + "loc": { + "start": { + "line": 510, + "column": 22 + }, + "end": { + "line": 510, + "column": 41 + } + } + }, + "range": [ + 14004, + 14025 + ], + "loc": { + "start": { + "line": 510, + "column": 20 + }, + "end": { + "line": 510, + "column": 41 + } + } + } + ], + "range": [ + 13996, + 14026 + ], + "loc": { + "start": { + "line": 510, + "column": 12 + }, + "end": { + "line": 510, + "column": 42 + } + } + }, + "range": [ + 13952, + 14026 + ], + "loc": { + "start": { + "line": 509, + "column": 33 + }, + "end": { + "line": 510, + "column": 42 + } + } + }, + "range": [ + 13927, + 14026 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 510, + "column": 42 + } + } + }, + "range": [ + 13927, + 14027 + ], + "loc": { + "start": { + "line": 509, + "column": 8 + }, + "end": { + "line": 510, + "column": 43 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n ", + "range": [ + 13801, + 13918 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 508, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** select filter's customisation and behaviours **", + "range": [ + 14037, + 14091 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 62 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for clear option in drop-down filter types (1st option)\n * @type {String|Array}\n ", + "range": [ + 14100, + 14219 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 516, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14228, + 14232 + ], + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearFilterText", + "range": [ + 14233, + 14248 + ], + "loc": { + "start": { + "line": 517, + "column": 13 + }, + "end": { + "line": 517, + "column": 28 + } + } + }, + "range": [ + 14228, + 14248 + ], + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 14251, + 14262 + ], + "loc": { + "start": { + "line": 517, + "column": 31 + }, + "end": { + "line": 517, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 14263, + 14264 + ], + "loc": { + "start": { + "line": 517, + "column": 43 + }, + "end": { + "line": 517, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "clear_filter_text", + "range": [ + 14265, + 14282 + ], + "loc": { + "start": { + "line": 517, + "column": 45 + }, + "end": { + "line": 517, + "column": 62 + } + } + }, + "range": [ + 14263, + 14282 + ], + "loc": { + "start": { + "line": 517, + "column": 43 + }, + "end": { + "line": 517, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": "Clear", + "raw": "'Clear'", + "range": [ + 14284, + 14291 + ], + "loc": { + "start": { + "line": 517, + "column": 64 + }, + "end": { + "line": 517, + "column": 71 + } + } + } + ], + "range": [ + 14251, + 14292 + ], + "loc": { + "start": { + "line": 517, + "column": 31 + }, + "end": { + "line": 517, + "column": 72 + } + } + }, + "range": [ + 14228, + 14292 + ], + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 72 + } + } + }, + "range": [ + 14228, + 14293 + ], + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** select filter's customisation and behaviours **", + "range": [ + 14037, + 14091 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 62 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for clear option in drop-down filter types (1st option)\n * @type {String|Array}\n ", + "range": [ + 14100, + 14219 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 516, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n ", + "range": [ + 14303, + 14423 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 522, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14432, + 14436 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableEmptyOption", + "range": [ + 14437, + 14454 + ], + "loc": { + "start": { + "line": 523, + "column": 13 + }, + "end": { + "line": 523, + "column": 30 + } + } + }, + "range": [ + 14432, + 14454 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 14457, + 14464 + ], + "loc": { + "start": { + "line": 523, + "column": 33 + }, + "end": { + "line": 523, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 14465, + 14466 + ], + "loc": { + "start": { + "line": 523, + "column": 41 + }, + "end": { + "line": 523, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_empty_option", + "range": [ + 14467, + 14486 + ], + "loc": { + "start": { + "line": 523, + "column": 43 + }, + "end": { + "line": 523, + "column": 62 + } + } + }, + "range": [ + 14465, + 14486 + ], + "loc": { + "start": { + "line": 523, + "column": 41 + }, + "end": { + "line": 523, + "column": 62 + } + } + } + ], + "range": [ + 14457, + 14487 + ], + "loc": { + "start": { + "line": 523, + "column": 33 + }, + "end": { + "line": 523, + "column": 63 + } + } + }, + "range": [ + 14432, + 14487 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 63 + } + } + }, + "range": [ + 14432, + 14488 + ], + "loc": { + "start": { + "line": 523, + "column": 8 + }, + "end": { + "line": 523, + "column": 64 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n ", + "range": [ + 14303, + 14423 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 522, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text for empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14498, + 14598 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 528, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14607, + 14611 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emptyText", + "range": [ + 14612, + 14621 + ], + "loc": { + "start": { + "line": 529, + "column": 13 + }, + "end": { + "line": 529, + "column": 22 + } + } + }, + "range": [ + 14607, + 14621 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 14624, + 14635 + ], + "loc": { + "start": { + "line": 529, + "column": 25 + }, + "end": { + "line": 529, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 14636, + 14637 + ], + "loc": { + "start": { + "line": 529, + "column": 37 + }, + "end": { + "line": 529, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "empty_text", + "range": [ + 14638, + 14648 + ], + "loc": { + "start": { + "line": 529, + "column": 39 + }, + "end": { + "line": 529, + "column": 49 + } + } + }, + "range": [ + 14636, + 14648 + ], + "loc": { + "start": { + "line": 529, + "column": 37 + }, + "end": { + "line": 529, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "(Empty)", + "raw": "'(Empty)'", + "range": [ + 14650, + 14659 + ], + "loc": { + "start": { + "line": 529, + "column": 51 + }, + "end": { + "line": 529, + "column": 60 + } + } + } + ], + "range": [ + 14624, + 14660 + ], + "loc": { + "start": { + "line": 529, + "column": 25 + }, + "end": { + "line": 529, + "column": 61 + } + } + }, + "range": [ + 14607, + 14660 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 61 + } + } + }, + "range": [ + 14607, + 14661 + ], + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 529, + "column": 62 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text for empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14498, + 14598 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 528, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n ", + "range": [ + 14671, + 14806 + ], + "loc": { + "start": { + "line": 531, + "column": 8 + }, + "end": { + "line": 535, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 14815, + 14819 + ], + "loc": { + "start": { + "line": 536, + "column": 8 + }, + "end": { + "line": 536, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableNonEmptyOption", + "range": [ + 14820, + 14840 + ], + "loc": { + "start": { + "line": 536, + "column": 13 + }, + "end": { + "line": 536, + "column": 33 + } + } + }, + "range": [ + 14815, + 14840 + ], + "loc": { + "start": { + "line": 536, + "column": 8 + }, + "end": { + "line": 536, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 14843, + 14850 + ], + "loc": { + "start": { + "line": 536, + "column": 36 + }, + "end": { + "line": 536, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 14851, + 14852 + ], + "loc": { + "start": { + "line": 536, + "column": 44 + }, + "end": { + "line": 536, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_non_empty_option", + "range": [ + 14853, + 14876 + ], + "loc": { + "start": { + "line": 536, + "column": 46 + }, + "end": { + "line": 536, + "column": 69 + } + } + }, + "range": [ + 14851, + 14876 + ], + "loc": { + "start": { + "line": 536, + "column": 44 + }, + "end": { + "line": 536, + "column": 69 + } + } + } + ], + "range": [ + 14843, + 14877 + ], + "loc": { + "start": { + "line": 536, + "column": 36 + }, + "end": { + "line": 536, + "column": 70 + } + } + }, + "range": [ + 14815, + 14877 + ], + "loc": { + "start": { + "line": 536, + "column": 8 + }, + "end": { + "line": 536, + "column": 70 + } + } + }, + "range": [ + 14815, + 14878 + ], + "loc": { + "start": { + "line": 536, + "column": 8 + }, + "end": { + "line": 536, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n ", + "range": [ + 14671, + 14806 + ], + "loc": { + "start": { + "line": 531, + "column": 8 + }, + "end": { + "line": 535, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Text for non-empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14888, + 14992 + ], + "loc": { + "start": { + "line": 538, + "column": 8 + }, + "end": { + "line": 541, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15001, + 15005 + ], + "loc": { + "start": { + "line": 542, + "column": 8 + }, + "end": { + "line": 542, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonEmptyText", + "range": [ + 15006, + 15018 + ], + "loc": { + "start": { + "line": 542, + "column": 13 + }, + "end": { + "line": 542, + "column": 25 + } + } + }, + "range": [ + 15001, + 15018 + ], + "loc": { + "start": { + "line": 542, + "column": 8 + }, + "end": { + "line": 542, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 15021, + 15032 + ], + "loc": { + "start": { + "line": 542, + "column": 28 + }, + "end": { + "line": 542, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15033, + 15034 + ], + "loc": { + "start": { + "line": 542, + "column": 40 + }, + "end": { + "line": 542, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "non_empty_text", + "range": [ + 15035, + 15049 + ], + "loc": { + "start": { + "line": 542, + "column": 42 + }, + "end": { + "line": 542, + "column": 56 + } + } + }, + "range": [ + 15033, + 15049 + ], + "loc": { + "start": { + "line": 542, + "column": 40 + }, + "end": { + "line": 542, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "(Non empty)", + "raw": "'(Non empty)'", + "range": [ + 15051, + 15064 + ], + "loc": { + "start": { + "line": 542, + "column": 58 + }, + "end": { + "line": 542, + "column": 71 + } + } + } + ], + "range": [ + 15021, + 15065 + ], + "loc": { + "start": { + "line": 542, + "column": 28 + }, + "end": { + "line": 542, + "column": 72 + } + } + }, + "range": [ + 15001, + 15065 + ], + "loc": { + "start": { + "line": 542, + "column": 8 + }, + "end": { + "line": 542, + "column": 72 + } + } + }, + "range": [ + 15001, + 15066 + ], + "loc": { + "start": { + "line": 542, + "column": 8 + }, + "end": { + "line": 542, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Text for non-empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14888, + 14992 + ], + "loc": { + "start": { + "line": 538, + "column": 8 + }, + "end": { + "line": 541, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n ", + "range": [ + 15076, + 15224 + ], + "loc": { + "start": { + "line": 544, + "column": 8 + }, + "end": { + "line": 548, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15233, + 15237 + ], + "loc": { + "start": { + "line": 549, + "column": 8 + }, + "end": { + "line": 549, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onSlcChange", + "range": [ + 15238, + 15249 + ], + "loc": { + "start": { + "line": 549, + "column": 13 + }, + "end": { + "line": 549, + "column": 24 + } + } + }, + "range": [ + 15233, + 15249 + ], + "loc": { + "start": { + "line": 549, + "column": 8 + }, + "end": { + "line": 549, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsBool", + "range": [ + 15252, + 15264 + ], + "loc": { + "start": { + "line": 549, + "column": 27 + }, + "end": { + "line": 549, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15265, + 15266 + ], + "loc": { + "start": { + "line": 549, + "column": 40 + }, + "end": { + "line": 549, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_change", + "range": [ + 15267, + 15276 + ], + "loc": { + "start": { + "line": 549, + "column": 42 + }, + "end": { + "line": 549, + "column": 51 + } + } + }, + "range": [ + 15265, + 15276 + ], + "loc": { + "start": { + "line": 549, + "column": 40 + }, + "end": { + "line": 549, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15278, + 15282 + ], + "loc": { + "start": { + "line": 549, + "column": 53 + }, + "end": { + "line": 549, + "column": 57 + } + } + } + ], + "range": [ + 15252, + 15283 + ], + "loc": { + "start": { + "line": 549, + "column": 27 + }, + "end": { + "line": 549, + "column": 58 + } + } + }, + "range": [ + 15233, + 15283 + ], + "loc": { + "start": { + "line": 549, + "column": 8 + }, + "end": { + "line": 549, + "column": 58 + } + } + }, + "range": [ + 15233, + 15284 + ], + "loc": { + "start": { + "line": 549, + "column": 8 + }, + "end": { + "line": 549, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n ", + "range": [ + 15076, + 15224 + ], + "loc": { + "start": { + "line": 544, + "column": 8 + }, + "end": { + "line": 548, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Make drop-down filter types options sorted in alpha-numeric manner\n * by default globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 15294, + 15472 + ], + "loc": { + "start": { + "line": 551, + "column": 8 + }, + "end": { + "line": 555, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15481, + 15485 + ], + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 556, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortSlc", + "range": [ + 15486, + 15493 + ], + "loc": { + "start": { + "line": 556, + "column": 13 + }, + "end": { + "line": 556, + "column": 20 + } + } + }, + "range": [ + 15481, + 15493 + ], + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 556, + "column": 20 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 15496, + 15503 + ], + "loc": { + "start": { + "line": 556, + "column": 23 + }, + "end": { + "line": 556, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15504, + 15505 + ], + "loc": { + "start": { + "line": 556, + "column": 31 + }, + "end": { + "line": 556, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_select", + "range": [ + 15506, + 15517 + ], + "loc": { + "start": { + "line": 556, + "column": 33 + }, + "end": { + "line": 556, + "column": 44 + } + } + }, + "range": [ + 15504, + 15517 + ], + "loc": { + "start": { + "line": 556, + "column": 31 + }, + "end": { + "line": 556, + "column": 44 + } + } + } + ], + "range": [ + 15496, + 15518 + ], + "loc": { + "start": { + "line": 556, + "column": 23 + }, + "end": { + "line": 556, + "column": 45 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 15521, + 15525 + ], + "loc": { + "start": { + "line": 556, + "column": 48 + }, + "end": { + "line": 556, + "column": 52 + } + } + }, + "alternate": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 15540, + 15547 + ], + "loc": { + "start": { + "line": 557, + "column": 12 + }, + "end": { + "line": 557, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15548, + 15549 + ], + "loc": { + "start": { + "line": 557, + "column": 20 + }, + "end": { + "line": 557, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_select", + "range": [ + 15550, + 15561 + ], + "loc": { + "start": { + "line": 557, + "column": 22 + }, + "end": { + "line": 557, + "column": 33 + } + } + }, + "range": [ + 15548, + 15561 + ], + "loc": { + "start": { + "line": 557, + "column": 20 + }, + "end": { + "line": 557, + "column": 33 + } + } + } + ], + "range": [ + 15540, + 15562 + ], + "loc": { + "start": { + "line": 557, + "column": 12 + }, + "end": { + "line": 557, + "column": 34 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15565, + 15566 + ], + "loc": { + "start": { + "line": 557, + "column": 37 + }, + "end": { + "line": 557, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_select", + "range": [ + 15567, + 15578 + ], + "loc": { + "start": { + "line": 557, + "column": 39 + }, + "end": { + "line": 557, + "column": 50 + } + } + }, + "range": [ + 15565, + 15578 + ], + "loc": { + "start": { + "line": 557, + "column": 37 + }, + "end": { + "line": 557, + "column": 50 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 15581, + 15588 + ], + "loc": { + "start": { + "line": 557, + "column": 53 + }, + "end": { + "line": 557, + "column": 60 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15589, + 15590 + ], + "loc": { + "start": { + "line": 557, + "column": 61 + }, + "end": { + "line": 557, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_select", + "range": [ + 15591, + 15602 + ], + "loc": { + "start": { + "line": 557, + "column": 63 + }, + "end": { + "line": 557, + "column": 74 + } + } + }, + "range": [ + 15589, + 15602 + ], + "loc": { + "start": { + "line": 557, + "column": 61 + }, + "end": { + "line": 557, + "column": 74 + } + } + } + ], + "range": [ + 15581, + 15603 + ], + "loc": { + "start": { + "line": 557, + "column": 53 + }, + "end": { + "line": 557, + "column": 75 + } + } + }, + "range": [ + 15540, + 15603 + ], + "loc": { + "start": { + "line": 557, + "column": 12 + }, + "end": { + "line": 557, + "column": 75 + } + } + }, + "range": [ + 15496, + 15603 + ], + "loc": { + "start": { + "line": 556, + "column": 23 + }, + "end": { + "line": 557, + "column": 75 + } + } + }, + "range": [ + 15481, + 15603 + ], + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 557, + "column": 75 + } + } + }, + "range": [ + 15481, + 15604 + ], + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 557, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Make drop-down filter types options sorted in alpha-numeric manner\n * by default globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 15294, + 15472 + ], + "loc": { + "start": { + "line": 551, + "column": 8 + }, + "end": { + "line": 555, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 15614, + 15790 + ], + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 564, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15799, + 15803 + ], + "loc": { + "start": { + "line": 565, + "column": 8 + }, + "end": { + "line": 565, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isSortNumAsc", + "range": [ + 15804, + 15816 + ], + "loc": { + "start": { + "line": 565, + "column": 13 + }, + "end": { + "line": 565, + "column": 25 + } + } + }, + "range": [ + 15799, + 15816 + ], + "loc": { + "start": { + "line": 565, + "column": 8 + }, + "end": { + "line": 565, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 15819, + 15826 + ], + "loc": { + "start": { + "line": 565, + "column": 28 + }, + "end": { + "line": 565, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 15827, + 15828 + ], + "loc": { + "start": { + "line": 565, + "column": 36 + }, + "end": { + "line": 565, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_num_asc", + "range": [ + 15829, + 15841 + ], + "loc": { + "start": { + "line": 565, + "column": 38 + }, + "end": { + "line": 565, + "column": 50 + } + } + }, + "range": [ + 15827, + 15841 + ], + "loc": { + "start": { + "line": 565, + "column": 36 + }, + "end": { + "line": 565, + "column": 50 + } + } + } + ], + "range": [ + 15819, + 15842 + ], + "loc": { + "start": { + "line": 565, + "column": 28 + }, + "end": { + "line": 565, + "column": 51 + } + } + }, + "range": [ + 15799, + 15842 + ], + "loc": { + "start": { + "line": 565, + "column": 8 + }, + "end": { + "line": 565, + "column": 51 + } + } + }, + "range": [ + 15799, + 15843 + ], + "loc": { + "start": { + "line": 565, + "column": 8 + }, + "end": { + "line": 565, + "column": 52 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 15614, + 15790 + ], + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 564, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 15853, + 15990 + ], + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 571, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 15999, + 16003 + ], + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortNumAsc", + "range": [ + 16004, + 16014 + ], + "loc": { + "start": { + "line": 572, + "column": 13 + }, + "end": { + "line": 572, + "column": 23 + } + } + }, + "range": [ + 15999, + 16014 + ], + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 23 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16017, + 16021 + ], + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "isSortNumAsc", + "range": [ + 16022, + 16034 + ], + "loc": { + "start": { + "line": 572, + "column": 31 + }, + "end": { + "line": 572, + "column": 43 + } + } + }, + "range": [ + 16017, + 16034 + ], + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 43 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 16037, + 16038 + ], + "loc": { + "start": { + "line": 572, + "column": 46 + }, + "end": { + "line": 572, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_num_asc", + "range": [ + 16039, + 16051 + ], + "loc": { + "start": { + "line": 572, + "column": 48 + }, + "end": { + "line": 572, + "column": 60 + } + } + }, + "range": [ + 16037, + 16051 + ], + "loc": { + "start": { + "line": 572, + "column": 46 + }, + "end": { + "line": 572, + "column": 60 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 16054, + 16056 + ], + "loc": { + "start": { + "line": 572, + "column": 63 + }, + "end": { + "line": 572, + "column": 65 + } + } + }, + "range": [ + 16017, + 16056 + ], + "loc": { + "start": { + "line": 572, + "column": 26 + }, + "end": { + "line": 572, + "column": 65 + } + } + }, + "range": [ + 15999, + 16056 + ], + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 65 + } + } + }, + "range": [ + 15999, + 16057 + ], + "loc": { + "start": { + "line": 572, + "column": 8 + }, + "end": { + "line": 572, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 15853, + 15990 + ], + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 571, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 16067, + 16244 + ], + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 579, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16253, + 16257 + ], + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isSortNumDesc", + "range": [ + 16258, + 16271 + ], + "loc": { + "start": { + "line": 580, + "column": 13 + }, + "end": { + "line": 580, + "column": 26 + } + } + }, + "range": [ + 16253, + 16271 + ], + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 16274, + 16281 + ], + "loc": { + "start": { + "line": 580, + "column": 29 + }, + "end": { + "line": 580, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 16282, + 16283 + ], + "loc": { + "start": { + "line": 580, + "column": 37 + }, + "end": { + "line": 580, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_num_desc", + "range": [ + 16284, + 16297 + ], + "loc": { + "start": { + "line": 580, + "column": 39 + }, + "end": { + "line": 580, + "column": 52 + } + } + }, + "range": [ + 16282, + 16297 + ], + "loc": { + "start": { + "line": 580, + "column": 37 + }, + "end": { + "line": 580, + "column": 52 + } + } + } + ], + "range": [ + 16274, + 16298 + ], + "loc": { + "start": { + "line": 580, + "column": 29 + }, + "end": { + "line": 580, + "column": 53 + } + } + }, + "range": [ + 16253, + 16298 + ], + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 53 + } + } + }, + "range": [ + 16253, + 16299 + ], + "loc": { + "start": { + "line": 580, + "column": 8 + }, + "end": { + "line": 580, + "column": 54 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 16067, + 16244 + ], + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 579, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 16309, + 16447 + ], + "loc": { + "start": { + "line": 582, + "column": 8 + }, + "end": { + "line": 586, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16456, + 16460 + ], + "loc": { + "start": { + "line": 587, + "column": 8 + }, + "end": { + "line": 587, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "sortNumDesc", + "range": [ + 16461, + 16472 + ], + "loc": { + "start": { + "line": 587, + "column": 13 + }, + "end": { + "line": 587, + "column": 24 + } + } + }, + "range": [ + 16456, + 16472 + ], + "loc": { + "start": { + "line": 587, + "column": 8 + }, + "end": { + "line": 587, + "column": 24 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16475, + 16479 + ], + "loc": { + "start": { + "line": 587, + "column": 27 + }, + "end": { + "line": 587, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "isSortNumDesc", + "range": [ + 16480, + 16493 + ], + "loc": { + "start": { + "line": 587, + "column": 32 + }, + "end": { + "line": 587, + "column": 45 + } + } + }, + "range": [ + 16475, + 16493 + ], + "loc": { + "start": { + "line": 587, + "column": 27 + }, + "end": { + "line": 587, + "column": 45 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 16496, + 16497 + ], + "loc": { + "start": { + "line": 587, + "column": 48 + }, + "end": { + "line": 587, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort_num_desc", + "range": [ + 16498, + 16511 + ], + "loc": { + "start": { + "line": 587, + "column": 50 + }, + "end": { + "line": 587, + "column": 63 + } + } + }, + "range": [ + 16496, + 16511 + ], + "loc": { + "start": { + "line": 587, + "column": 48 + }, + "end": { + "line": 587, + "column": 63 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 16514, + 16516 + ], + "loc": { + "start": { + "line": 587, + "column": 66 + }, + "end": { + "line": 587, + "column": 68 + } + } + }, + "range": [ + 16475, + 16516 + ], + "loc": { + "start": { + "line": 587, + "column": 27 + }, + "end": { + "line": 587, + "column": 68 + } + } + }, + "range": [ + 16456, + 16516 + ], + "loc": { + "start": { + "line": 587, + "column": 8 + }, + "end": { + "line": 587, + "column": 68 + } + } + }, + "range": [ + 16456, + 16517 + ], + "loc": { + "start": { + "line": 587, + "column": 8 + }, + "end": { + "line": 587, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 16309, + 16447 + ], + "loc": { + "start": { + "line": 582, + "column": 8 + }, + "end": { + "line": 586, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n ", + "range": [ + 16527, + 16670 + ], + "loc": { + "start": { + "line": 589, + "column": 8 + }, + "end": { + "line": 593, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16679, + 16683 + ], + "loc": { + "start": { + "line": 594, + "column": 8 + }, + "end": { + "line": 594, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 16684, + 16699 + ], + "loc": { + "start": { + "line": 594, + "column": 13 + }, + "end": { + "line": 594, + "column": 28 + } + } + }, + "range": [ + 16679, + 16699 + ], + "loc": { + "start": { + "line": 594, + "column": 8 + }, + "end": { + "line": 594, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 16702, + 16709 + ], + "loc": { + "start": { + "line": 594, + "column": 31 + }, + "end": { + "line": 594, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 16710, + 16711 + ], + "loc": { + "start": { + "line": 594, + "column": 39 + }, + "end": { + "line": 594, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "load_filters_on_demand", + "range": [ + 16712, + 16734 + ], + "loc": { + "start": { + "line": 594, + "column": 41 + }, + "end": { + "line": 594, + "column": 63 + } + } + }, + "range": [ + 16710, + 16734 + ], + "loc": { + "start": { + "line": 594, + "column": 39 + }, + "end": { + "line": 594, + "column": 63 + } + } + } + ], + "range": [ + 16702, + 16735 + ], + "loc": { + "start": { + "line": 594, + "column": 31 + }, + "end": { + "line": 594, + "column": 64 + } + } + }, + "range": [ + 16679, + 16735 + ], + "loc": { + "start": { + "line": 594, + "column": 8 + }, + "end": { + "line": 594, + "column": 64 + } + } + }, + "range": [ + 16679, + 16736 + ], + "loc": { + "start": { + "line": 594, + "column": 8 + }, + "end": { + "line": 594, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n ", + "range": [ + 16527, + 16670 + ], + "loc": { + "start": { + "line": 589, + "column": 8 + }, + "end": { + "line": 593, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n ", + "range": [ + 16746, + 16864 + ], + "loc": { + "start": { + "line": 596, + "column": 8 + }, + "end": { + "line": 599, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 16873, + 16877 + ], + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 600, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasCustomOptions", + "range": [ + 16878, + 16894 + ], + "loc": { + "start": { + "line": 600, + "column": 13 + }, + "end": { + "line": 600, + "column": 29 + } + } + }, + "range": [ + 16873, + 16894 + ], + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 600, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 16897, + 16902 + ], + "loc": { + "start": { + "line": 600, + "column": 32 + }, + "end": { + "line": 600, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 16903, + 16904 + ], + "loc": { + "start": { + "line": 600, + "column": 38 + }, + "end": { + "line": 600, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "custom_options", + "range": [ + 16905, + 16919 + ], + "loc": { + "start": { + "line": 600, + "column": 40 + }, + "end": { + "line": 600, + "column": 54 + } + } + }, + "range": [ + 16903, + 16919 + ], + "loc": { + "start": { + "line": 600, + "column": 38 + }, + "end": { + "line": 600, + "column": 54 + } + } + } + ], + "range": [ + 16897, + 16920 + ], + "loc": { + "start": { + "line": 600, + "column": 32 + }, + "end": { + "line": 600, + "column": 55 + } + } + }, + "range": [ + 16873, + 16920 + ], + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 600, + "column": 55 + } + } + }, + "range": [ + 16873, + 16921 + ], + "loc": { + "start": { + "line": 600, + "column": 8 + }, + "end": { + "line": 600, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n ", + "range": [ + 16746, + 16864 + ], + "loc": { + "start": { + "line": 596, + "column": 8 + }, + "end": { + "line": 599, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n ", + "range": [ + 16931, + 17403 + ], + "loc": { + "start": { + "line": 602, + "column": 8 + }, + "end": { + "line": 618, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17412, + 17416 + ], + "loc": { + "start": { + "line": 619, + "column": 8 + }, + "end": { + "line": 619, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 17417, + 17430 + ], + "loc": { + "start": { + "line": 619, + "column": 13 + }, + "end": { + "line": 619, + "column": 26 + } + } + }, + "range": [ + 17412, + 17430 + ], + "loc": { + "start": { + "line": 619, + "column": 8 + }, + "end": { + "line": 619, + "column": 26 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 17433, + 17434 + ], + "loc": { + "start": { + "line": 619, + "column": 29 + }, + "end": { + "line": 619, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "custom_options", + "range": [ + 17435, + 17449 + ], + "loc": { + "start": { + "line": 619, + "column": 31 + }, + "end": { + "line": 619, + "column": 45 + } + } + }, + "range": [ + 17433, + 17449 + ], + "loc": { + "start": { + "line": 619, + "column": 29 + }, + "end": { + "line": 619, + "column": 45 + } + } + }, + "range": [ + 17412, + 17449 + ], + "loc": { + "start": { + "line": 619, + "column": 8 + }, + "end": { + "line": 619, + "column": 45 + } + } + }, + "range": [ + 17412, + 17450 + ], + "loc": { + "start": { + "line": 619, + "column": 8 + }, + "end": { + "line": 619, + "column": 46 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n ", + "range": [ + 16931, + 17403 + ], + "loc": { + "start": { + "line": 602, + "column": 8 + }, + "end": { + "line": 618, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** Filter operators **", + "range": [ + 17460, + 17486 + ], + "loc": { + "start": { + "line": 621, + "column": 8 + }, + "end": { + "line": 621, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n ", + "range": [ + 17495, + 17612 + ], + "loc": { + "start": { + "line": 622, + "column": 8 + }, + "end": { + "line": 625, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17621, + 17625 + ], + "loc": { + "start": { + "line": 626, + "column": 8 + }, + "end": { + "line": 626, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "rgxOperator", + "range": [ + 17626, + 17637 + ], + "loc": { + "start": { + "line": 626, + "column": 13 + }, + "end": { + "line": 626, + "column": 24 + } + } + }, + "range": [ + 17621, + 17637 + ], + "loc": { + "start": { + "line": 626, + "column": 8 + }, + "end": { + "line": 626, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 17640, + 17651 + ], + "loc": { + "start": { + "line": 626, + "column": 27 + }, + "end": { + "line": 626, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 17652, + 17653 + ], + "loc": { + "start": { + "line": 626, + "column": 39 + }, + "end": { + "line": 626, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "regexp_operator", + "range": [ + 17654, + 17669 + ], + "loc": { + "start": { + "line": 626, + "column": 41 + }, + "end": { + "line": 626, + "column": 56 + } + } + }, + "range": [ + 17652, + 17669 + ], + "loc": { + "start": { + "line": 626, + "column": 39 + }, + "end": { + "line": 626, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": "rgx:", + "raw": "'rgx:'", + "range": [ + 17671, + 17677 + ], + "loc": { + "start": { + "line": 626, + "column": 58 + }, + "end": { + "line": 626, + "column": 64 + } + } + } + ], + "range": [ + 17640, + 17678 + ], + "loc": { + "start": { + "line": 626, + "column": 27 + }, + "end": { + "line": 626, + "column": 65 + } + } + }, + "range": [ + 17621, + 17678 + ], + "loc": { + "start": { + "line": 626, + "column": 8 + }, + "end": { + "line": 626, + "column": 65 + } + } + }, + "range": [ + 17621, + 17679 + ], + "loc": { + "start": { + "line": 626, + "column": 8 + }, + "end": { + "line": 626, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** Filter operators **", + "range": [ + 17460, + 17486 + ], + "loc": { + "start": { + "line": 621, + "column": 8 + }, + "end": { + "line": 621, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n ", + "range": [ + 17495, + 17612 + ], + "loc": { + "start": { + "line": 622, + "column": 8 + }, + "end": { + "line": 625, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n ", + "range": [ + 17689, + 17802 + ], + "loc": { + "start": { + "line": 628, + "column": 8 + }, + "end": { + "line": 631, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 17811, + 17815 + ], + "loc": { + "start": { + "line": 632, + "column": 8 + }, + "end": { + "line": 632, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emOperator", + "range": [ + 17816, + 17826 + ], + "loc": { + "start": { + "line": 632, + "column": 13 + }, + "end": { + "line": 632, + "column": 23 + } + } + }, + "range": [ + 17811, + 17826 + ], + "loc": { + "start": { + "line": 632, + "column": 8 + }, + "end": { + "line": 632, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 17829, + 17840 + ], + "loc": { + "start": { + "line": 632, + "column": 26 + }, + "end": { + "line": 632, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 17841, + 17842 + ], + "loc": { + "start": { + "line": 632, + "column": 38 + }, + "end": { + "line": 632, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "empty_operator", + "range": [ + 17843, + 17857 + ], + "loc": { + "start": { + "line": 632, + "column": 40 + }, + "end": { + "line": 632, + "column": 54 + } + } + }, + "range": [ + 17841, + 17857 + ], + "loc": { + "start": { + "line": 632, + "column": 38 + }, + "end": { + "line": 632, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "[empty]", + "raw": "'[empty]'", + "range": [ + 17859, + 17868 + ], + "loc": { + "start": { + "line": 632, + "column": 56 + }, + "end": { + "line": 632, + "column": 65 + } + } + } + ], + "range": [ + 17829, + 17869 + ], + "loc": { + "start": { + "line": 632, + "column": 26 + }, + "end": { + "line": 632, + "column": 66 + } + } + }, + "range": [ + 17811, + 17869 + ], + "loc": { + "start": { + "line": 632, + "column": 8 + }, + "end": { + "line": 632, + "column": 66 + } + } + }, + "range": [ + 17811, + 17870 + ], + "loc": { + "start": { + "line": 632, + "column": 8 + }, + "end": { + "line": 632, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n ", + "range": [ + 17689, + 17802 + ], + "loc": { + "start": { + "line": 628, + "column": 8 + }, + "end": { + "line": 631, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n ", + "range": [ + 17880, + 18000 + ], + "loc": { + "start": { + "line": 634, + "column": 8 + }, + "end": { + "line": 637, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18009, + 18013 + ], + "loc": { + "start": { + "line": 638, + "column": 8 + }, + "end": { + "line": 638, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nmOperator", + "range": [ + 18014, + 18024 + ], + "loc": { + "start": { + "line": 638, + "column": 13 + }, + "end": { + "line": 638, + "column": 23 + } + } + }, + "range": [ + 18009, + 18024 + ], + "loc": { + "start": { + "line": 638, + "column": 8 + }, + "end": { + "line": 638, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18027, + 18038 + ], + "loc": { + "start": { + "line": 638, + "column": 26 + }, + "end": { + "line": 638, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18039, + 18040 + ], + "loc": { + "start": { + "line": 638, + "column": 38 + }, + "end": { + "line": 638, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "nonempty_operator", + "range": [ + 18041, + 18058 + ], + "loc": { + "start": { + "line": 638, + "column": 40 + }, + "end": { + "line": 638, + "column": 57 + } + } + }, + "range": [ + 18039, + 18058 + ], + "loc": { + "start": { + "line": 638, + "column": 38 + }, + "end": { + "line": 638, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": "[nonempty]", + "raw": "'[nonempty]'", + "range": [ + 18060, + 18072 + ], + "loc": { + "start": { + "line": 638, + "column": 59 + }, + "end": { + "line": 638, + "column": 71 + } + } + } + ], + "range": [ + 18027, + 18073 + ], + "loc": { + "start": { + "line": 638, + "column": 26 + }, + "end": { + "line": 638, + "column": 72 + } + } + }, + "range": [ + 18009, + 18073 + ], + "loc": { + "start": { + "line": 638, + "column": 8 + }, + "end": { + "line": 638, + "column": 72 + } + } + }, + "range": [ + 18009, + 18074 + ], + "loc": { + "start": { + "line": 638, + "column": 8 + }, + "end": { + "line": 638, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n ", + "range": [ + 17880, + 18000 + ], + "loc": { + "start": { + "line": 634, + "column": 8 + }, + "end": { + "line": 637, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n ", + "range": [ + 18084, + 18191 + ], + "loc": { + "start": { + "line": 640, + "column": 8 + }, + "end": { + "line": 643, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18200, + 18204 + ], + "loc": { + "start": { + "line": 644, + "column": 8 + }, + "end": { + "line": 644, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 18205, + 18215 + ], + "loc": { + "start": { + "line": 644, + "column": 13 + }, + "end": { + "line": 644, + "column": 23 + } + } + }, + "range": [ + 18200, + 18215 + ], + "loc": { + "start": { + "line": 644, + "column": 8 + }, + "end": { + "line": 644, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18218, + 18229 + ], + "loc": { + "start": { + "line": 644, + "column": 26 + }, + "end": { + "line": 644, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18230, + 18231 + ], + "loc": { + "start": { + "line": 644, + "column": 38 + }, + "end": { + "line": 644, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "or_operator", + "range": [ + 18232, + 18243 + ], + "loc": { + "start": { + "line": 644, + "column": 40 + }, + "end": { + "line": 644, + "column": 51 + } + } + }, + "range": [ + 18230, + 18243 + ], + "loc": { + "start": { + "line": 644, + "column": 38 + }, + "end": { + "line": 644, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": "||", + "raw": "'||'", + "range": [ + 18245, + 18249 + ], + "loc": { + "start": { + "line": 644, + "column": 53 + }, + "end": { + "line": 644, + "column": 57 + } + } + } + ], + "range": [ + 18218, + 18250 + ], + "loc": { + "start": { + "line": 644, + "column": 26 + }, + "end": { + "line": 644, + "column": 58 + } + } + }, + "range": [ + 18200, + 18250 + ], + "loc": { + "start": { + "line": 644, + "column": 8 + }, + "end": { + "line": 644, + "column": 58 + } + } + }, + "range": [ + 18200, + 18251 + ], + "loc": { + "start": { + "line": 644, + "column": 8 + }, + "end": { + "line": 644, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n ", + "range": [ + 18084, + 18191 + ], + "loc": { + "start": { + "line": 640, + "column": 8 + }, + "end": { + "line": 643, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n ", + "range": [ + 18261, + 18369 + ], + "loc": { + "start": { + "line": 646, + "column": 8 + }, + "end": { + "line": 649, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18378, + 18382 + ], + "loc": { + "start": { + "line": 650, + "column": 8 + }, + "end": { + "line": 650, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "anOperator", + "range": [ + 18383, + 18393 + ], + "loc": { + "start": { + "line": 650, + "column": 13 + }, + "end": { + "line": 650, + "column": 23 + } + } + }, + "range": [ + 18378, + 18393 + ], + "loc": { + "start": { + "line": 650, + "column": 8 + }, + "end": { + "line": 650, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18396, + 18407 + ], + "loc": { + "start": { + "line": 650, + "column": 26 + }, + "end": { + "line": 650, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18408, + 18409 + ], + "loc": { + "start": { + "line": 650, + "column": 38 + }, + "end": { + "line": 650, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "and_operator", + "range": [ + 18410, + 18422 + ], + "loc": { + "start": { + "line": 650, + "column": 40 + }, + "end": { + "line": 650, + "column": 52 + } + } + }, + "range": [ + 18408, + 18422 + ], + "loc": { + "start": { + "line": 650, + "column": 38 + }, + "end": { + "line": 650, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": "&&", + "raw": "'&&'", + "range": [ + 18424, + 18428 + ], + "loc": { + "start": { + "line": 650, + "column": 54 + }, + "end": { + "line": 650, + "column": 58 + } + } + } + ], + "range": [ + 18396, + 18429 + ], + "loc": { + "start": { + "line": 650, + "column": 26 + }, + "end": { + "line": 650, + "column": 59 + } + } + }, + "range": [ + 18378, + 18429 + ], + "loc": { + "start": { + "line": 650, + "column": 8 + }, + "end": { + "line": 650, + "column": 59 + } + } + }, + "range": [ + 18378, + 18430 + ], + "loc": { + "start": { + "line": 650, + "column": 8 + }, + "end": { + "line": 650, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n ", + "range": [ + 18261, + 18369 + ], + "loc": { + "start": { + "line": 646, + "column": 8 + }, + "end": { + "line": 649, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n ", + "range": [ + 18440, + 18548 + ], + "loc": { + "start": { + "line": 652, + "column": 8 + }, + "end": { + "line": 655, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18557, + 18561 + ], + "loc": { + "start": { + "line": 656, + "column": 8 + }, + "end": { + "line": 656, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "grOperator", + "range": [ + 18562, + 18572 + ], + "loc": { + "start": { + "line": 656, + "column": 13 + }, + "end": { + "line": 656, + "column": 23 + } + } + }, + "range": [ + 18557, + 18572 + ], + "loc": { + "start": { + "line": 656, + "column": 8 + }, + "end": { + "line": 656, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18575, + 18586 + ], + "loc": { + "start": { + "line": 656, + "column": 26 + }, + "end": { + "line": 656, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18587, + 18588 + ], + "loc": { + "start": { + "line": 656, + "column": 38 + }, + "end": { + "line": 656, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "greater_operator", + "range": [ + 18589, + 18605 + ], + "loc": { + "start": { + "line": 656, + "column": 40 + }, + "end": { + "line": 656, + "column": 56 + } + } + }, + "range": [ + 18587, + 18605 + ], + "loc": { + "start": { + "line": 656, + "column": 38 + }, + "end": { + "line": 656, + "column": 56 + } + } + }, + { + "type": "Literal", + "value": ">", + "raw": "'>'", + "range": [ + 18607, + 18610 + ], + "loc": { + "start": { + "line": 656, + "column": 58 + }, + "end": { + "line": 656, + "column": 61 + } + } + } + ], + "range": [ + 18575, + 18611 + ], + "loc": { + "start": { + "line": 656, + "column": 26 + }, + "end": { + "line": 656, + "column": 62 + } + } + }, + "range": [ + 18557, + 18611 + ], + "loc": { + "start": { + "line": 656, + "column": 8 + }, + "end": { + "line": 656, + "column": 62 + } + } + }, + "range": [ + 18557, + 18612 + ], + "loc": { + "start": { + "line": 656, + "column": 8 + }, + "end": { + "line": 656, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n ", + "range": [ + 18440, + 18548 + ], + "loc": { + "start": { + "line": 652, + "column": 8 + }, + "end": { + "line": 655, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n ", + "range": [ + 18622, + 18728 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 661, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18737, + 18741 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lwOperator", + "range": [ + 18742, + 18752 + ], + "loc": { + "start": { + "line": 662, + "column": 13 + }, + "end": { + "line": 662, + "column": 23 + } + } + }, + "range": [ + 18737, + 18752 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18755, + 18766 + ], + "loc": { + "start": { + "line": 662, + "column": 26 + }, + "end": { + "line": 662, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18767, + 18768 + ], + "loc": { + "start": { + "line": 662, + "column": 38 + }, + "end": { + "line": 662, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "lower_operator", + "range": [ + 18769, + 18783 + ], + "loc": { + "start": { + "line": 662, + "column": 40 + }, + "end": { + "line": 662, + "column": 54 + } + } + }, + "range": [ + 18767, + 18783 + ], + "loc": { + "start": { + "line": 662, + "column": 38 + }, + "end": { + "line": 662, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "<", + "raw": "'<'", + "range": [ + 18785, + 18788 + ], + "loc": { + "start": { + "line": 662, + "column": 56 + }, + "end": { + "line": 662, + "column": 59 + } + } + } + ], + "range": [ + 18755, + 18789 + ], + "loc": { + "start": { + "line": 662, + "column": 26 + }, + "end": { + "line": 662, + "column": 60 + } + } + }, + "range": [ + 18737, + 18789 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 60 + } + } + }, + "range": [ + 18737, + 18790 + ], + "loc": { + "start": { + "line": 662, + "column": 8 + }, + "end": { + "line": 662, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n ", + "range": [ + 18622, + 18728 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 661, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n ", + "range": [ + 18800, + 18916 + ], + "loc": { + "start": { + "line": 664, + "column": 8 + }, + "end": { + "line": 667, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 18925, + 18929 + ], + "loc": { + "start": { + "line": 668, + "column": 8 + }, + "end": { + "line": 668, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "leOperator", + "range": [ + 18930, + 18940 + ], + "loc": { + "start": { + "line": 668, + "column": 13 + }, + "end": { + "line": 668, + "column": 23 + } + } + }, + "range": [ + 18925, + 18940 + ], + "loc": { + "start": { + "line": 668, + "column": 8 + }, + "end": { + "line": 668, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 18943, + 18954 + ], + "loc": { + "start": { + "line": 668, + "column": 26 + }, + "end": { + "line": 668, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 18955, + 18956 + ], + "loc": { + "start": { + "line": 668, + "column": 38 + }, + "end": { + "line": 668, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "lower_equal_operator", + "range": [ + 18957, + 18977 + ], + "loc": { + "start": { + "line": 668, + "column": 40 + }, + "end": { + "line": 668, + "column": 60 + } + } + }, + "range": [ + 18955, + 18977 + ], + "loc": { + "start": { + "line": 668, + "column": 38 + }, + "end": { + "line": 668, + "column": 60 + } + } + }, + { + "type": "Literal", + "value": "<=", + "raw": "'<='", + "range": [ + 18979, + 18983 + ], + "loc": { + "start": { + "line": 668, + "column": 62 + }, + "end": { + "line": 668, + "column": 66 + } + } + } + ], + "range": [ + 18943, + 18984 + ], + "loc": { + "start": { + "line": 668, + "column": 26 + }, + "end": { + "line": 668, + "column": 67 + } + } + }, + "range": [ + 18925, + 18984 + ], + "loc": { + "start": { + "line": 668, + "column": 8 + }, + "end": { + "line": 668, + "column": 67 + } + } + }, + "range": [ + 18925, + 18985 + ], + "loc": { + "start": { + "line": 668, + "column": 8 + }, + "end": { + "line": 668, + "column": 68 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n ", + "range": [ + 18800, + 18916 + ], + "loc": { + "start": { + "line": 664, + "column": 8 + }, + "end": { + "line": 667, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n ", + "range": [ + 18995, + 19113 + ], + "loc": { + "start": { + "line": 670, + "column": 8 + }, + "end": { + "line": 673, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19122, + 19126 + ], + "loc": { + "start": { + "line": 674, + "column": 8 + }, + "end": { + "line": 674, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "geOperator", + "range": [ + 19127, + 19137 + ], + "loc": { + "start": { + "line": 674, + "column": 13 + }, + "end": { + "line": 674, + "column": 23 + } + } + }, + "range": [ + 19122, + 19137 + ], + "loc": { + "start": { + "line": 674, + "column": 8 + }, + "end": { + "line": 674, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 19140, + 19151 + ], + "loc": { + "start": { + "line": 674, + "column": 26 + }, + "end": { + "line": 674, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 19152, + 19153 + ], + "loc": { + "start": { + "line": 674, + "column": 38 + }, + "end": { + "line": 674, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "greater_equal_operator", + "range": [ + 19154, + 19176 + ], + "loc": { + "start": { + "line": 674, + "column": 40 + }, + "end": { + "line": 674, + "column": 62 + } + } + }, + "range": [ + 19152, + 19176 + ], + "loc": { + "start": { + "line": 674, + "column": 38 + }, + "end": { + "line": 674, + "column": 62 + } + } + }, + { + "type": "Literal", + "value": ">=", + "raw": "'>='", + "range": [ + 19178, + 19182 + ], + "loc": { + "start": { + "line": 674, + "column": 64 + }, + "end": { + "line": 674, + "column": 68 + } + } + } + ], + "range": [ + 19140, + 19183 + ], + "loc": { + "start": { + "line": 674, + "column": 26 + }, + "end": { + "line": 674, + "column": 69 + } + } + }, + "range": [ + 19122, + 19183 + ], + "loc": { + "start": { + "line": 674, + "column": 8 + }, + "end": { + "line": 674, + "column": 69 + } + } + }, + "range": [ + 19122, + 19184 + ], + "loc": { + "start": { + "line": 674, + "column": 8 + }, + "end": { + "line": 674, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n ", + "range": [ + 18995, + 19113 + ], + "loc": { + "start": { + "line": 670, + "column": 8 + }, + "end": { + "line": 673, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n ", + "range": [ + 19194, + 19300 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 679, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19309, + 19313 + ], + "loc": { + "start": { + "line": 680, + "column": 8 + }, + "end": { + "line": 680, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "dfOperator", + "range": [ + 19314, + 19324 + ], + "loc": { + "start": { + "line": 680, + "column": 13 + }, + "end": { + "line": 680, + "column": 23 + } + } + }, + "range": [ + 19309, + 19324 + ], + "loc": { + "start": { + "line": 680, + "column": 8 + }, + "end": { + "line": 680, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 19327, + 19338 + ], + "loc": { + "start": { + "line": 680, + "column": 26 + }, + "end": { + "line": 680, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 19339, + 19340 + ], + "loc": { + "start": { + "line": 680, + "column": 38 + }, + "end": { + "line": 680, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "different_operator", + "range": [ + 19341, + 19359 + ], + "loc": { + "start": { + "line": 680, + "column": 40 + }, + "end": { + "line": 680, + "column": 58 + } + } + }, + "range": [ + 19339, + 19359 + ], + "loc": { + "start": { + "line": 680, + "column": 38 + }, + "end": { + "line": 680, + "column": 58 + } + } + }, + { + "type": "Literal", + "value": "!", + "raw": "'!'", + "range": [ + 19361, + 19364 + ], + "loc": { + "start": { + "line": 680, + "column": 60 + }, + "end": { + "line": 680, + "column": 63 + } + } + } + ], + "range": [ + 19327, + 19365 + ], + "loc": { + "start": { + "line": 680, + "column": 26 + }, + "end": { + "line": 680, + "column": 64 + } + } + }, + "range": [ + 19309, + 19365 + ], + "loc": { + "start": { + "line": 680, + "column": 8 + }, + "end": { + "line": 680, + "column": 64 + } + } + }, + "range": [ + 19309, + 19366 + ], + "loc": { + "start": { + "line": 680, + "column": 8 + }, + "end": { + "line": 680, + "column": 65 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n ", + "range": [ + 19194, + 19300 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 679, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Like operator for input filter. Defaults to '*'\n * @type {String}\n ", + "range": [ + 19376, + 19476 + ], + "loc": { + "start": { + "line": 682, + "column": 8 + }, + "end": { + "line": 685, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19485, + 19489 + ], + "loc": { + "start": { + "line": 686, + "column": 8 + }, + "end": { + "line": 686, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lkOperator", + "range": [ + 19490, + 19500 + ], + "loc": { + "start": { + "line": 686, + "column": 13 + }, + "end": { + "line": 686, + "column": 23 + } + } + }, + "range": [ + 19485, + 19500 + ], + "loc": { + "start": { + "line": 686, + "column": 8 + }, + "end": { + "line": 686, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 19503, + 19514 + ], + "loc": { + "start": { + "line": 686, + "column": 26 + }, + "end": { + "line": 686, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 19515, + 19516 + ], + "loc": { + "start": { + "line": 686, + "column": 38 + }, + "end": { + "line": 686, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "like_operator", + "range": [ + 19517, + 19530 + ], + "loc": { + "start": { + "line": 686, + "column": 40 + }, + "end": { + "line": 686, + "column": 53 + } + } + }, + "range": [ + 19515, + 19530 + ], + "loc": { + "start": { + "line": 686, + "column": 38 + }, + "end": { + "line": 686, + "column": 53 + } + } + }, + { + "type": "Literal", + "value": "*", + "raw": "'*'", + "range": [ + 19532, + 19535 + ], + "loc": { + "start": { + "line": 686, + "column": 55 + }, + "end": { + "line": 686, + "column": 58 + } + } + } + ], + "range": [ + 19503, + 19536 + ], + "loc": { + "start": { + "line": 686, + "column": 26 + }, + "end": { + "line": 686, + "column": 59 + } + } + }, + "range": [ + 19485, + 19536 + ], + "loc": { + "start": { + "line": 686, + "column": 8 + }, + "end": { + "line": 686, + "column": 59 + } + } + }, + "range": [ + 19485, + 19537 + ], + "loc": { + "start": { + "line": 686, + "column": 8 + }, + "end": { + "line": 686, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Like operator for input filter. Defaults to '*'\n * @type {String}\n ", + "range": [ + 19376, + 19476 + ], + "loc": { + "start": { + "line": 682, + "column": 8 + }, + "end": { + "line": 685, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19547, + 19658 + ], + "loc": { + "start": { + "line": 688, + "column": 8 + }, + "end": { + "line": 691, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19667, + 19671 + ], + "loc": { + "start": { + "line": 692, + "column": 8 + }, + "end": { + "line": 692, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "eqOperator", + "range": [ + 19672, + 19682 + ], + "loc": { + "start": { + "line": 692, + "column": 13 + }, + "end": { + "line": 692, + "column": 23 + } + } + }, + "range": [ + 19667, + 19682 + ], + "loc": { + "start": { + "line": 692, + "column": 8 + }, + "end": { + "line": 692, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 19685, + 19696 + ], + "loc": { + "start": { + "line": 692, + "column": 26 + }, + "end": { + "line": 692, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 19697, + 19698 + ], + "loc": { + "start": { + "line": 692, + "column": 38 + }, + "end": { + "line": 692, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "equal_operator", + "range": [ + 19699, + 19713 + ], + "loc": { + "start": { + "line": 692, + "column": 40 + }, + "end": { + "line": 692, + "column": 54 + } + } + }, + "range": [ + 19697, + 19713 + ], + "loc": { + "start": { + "line": 692, + "column": 38 + }, + "end": { + "line": 692, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "=", + "raw": "'='", + "range": [ + 19715, + 19718 + ], + "loc": { + "start": { + "line": 692, + "column": 56 + }, + "end": { + "line": 692, + "column": 59 + } + } + } + ], + "range": [ + 19685, + 19719 + ], + "loc": { + "start": { + "line": 692, + "column": 26 + }, + "end": { + "line": 692, + "column": 60 + } + } + }, + "range": [ + 19667, + 19719 + ], + "loc": { + "start": { + "line": 692, + "column": 8 + }, + "end": { + "line": 692, + "column": 60 + } + } + }, + "range": [ + 19667, + 19720 + ], + "loc": { + "start": { + "line": 692, + "column": 8 + }, + "end": { + "line": 692, + "column": 61 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19547, + 19658 + ], + "loc": { + "start": { + "line": 688, + "column": 8 + }, + "end": { + "line": 691, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19730, + 19837 + ], + "loc": { + "start": { + "line": 694, + "column": 8 + }, + "end": { + "line": 697, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 19846, + 19850 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "stOperator", + "range": [ + 19851, + 19861 + ], + "loc": { + "start": { + "line": 698, + "column": 13 + }, + "end": { + "line": 698, + "column": 23 + } + } + }, + "range": [ + 19846, + 19861 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 19864, + 19875 + ], + "loc": { + "start": { + "line": 698, + "column": 26 + }, + "end": { + "line": 698, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 19876, + 19877 + ], + "loc": { + "start": { + "line": 698, + "column": 38 + }, + "end": { + "line": 698, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "start_with_operator", + "range": [ + 19878, + 19897 + ], + "loc": { + "start": { + "line": 698, + "column": 40 + }, + "end": { + "line": 698, + "column": 59 + } + } + }, + "range": [ + 19876, + 19897 + ], + "loc": { + "start": { + "line": 698, + "column": 38 + }, + "end": { + "line": 698, + "column": 59 + } + } + }, + { + "type": "Literal", + "value": "{", + "raw": "'{'", + "range": [ + 19899, + 19902 + ], + "loc": { + "start": { + "line": 698, + "column": 61 + }, + "end": { + "line": 698, + "column": 64 + } + } + } + ], + "range": [ + 19864, + 19903 + ], + "loc": { + "start": { + "line": 698, + "column": 26 + }, + "end": { + "line": 698, + "column": 65 + } + } + }, + "range": [ + 19846, + 19903 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 65 + } + } + }, + "range": [ + 19846, + 19904 + ], + "loc": { + "start": { + "line": 698, + "column": 8 + }, + "end": { + "line": 698, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19730, + 19837 + ], + "loc": { + "start": { + "line": 694, + "column": 8 + }, + "end": { + "line": 697, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19914, + 20019 + ], + "loc": { + "start": { + "line": 700, + "column": 8 + }, + "end": { + "line": 703, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20028, + 20032 + ], + "loc": { + "start": { + "line": 704, + "column": 8 + }, + "end": { + "line": 704, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enOperator", + "range": [ + 20033, + 20043 + ], + "loc": { + "start": { + "line": 704, + "column": 13 + }, + "end": { + "line": 704, + "column": 23 + } + } + }, + "range": [ + 20028, + 20043 + ], + "loc": { + "start": { + "line": 704, + "column": 8 + }, + "end": { + "line": 704, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 20046, + 20057 + ], + "loc": { + "start": { + "line": 704, + "column": 26 + }, + "end": { + "line": 704, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20058, + 20059 + ], + "loc": { + "start": { + "line": 704, + "column": 38 + }, + "end": { + "line": 704, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "end_with_operator", + "range": [ + 20060, + 20077 + ], + "loc": { + "start": { + "line": 704, + "column": 40 + }, + "end": { + "line": 704, + "column": 57 + } + } + }, + "range": [ + 20058, + 20077 + ], + "loc": { + "start": { + "line": 704, + "column": 38 + }, + "end": { + "line": 704, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": "}", + "raw": "'}'", + "range": [ + 20079, + 20082 + ], + "loc": { + "start": { + "line": 704, + "column": 59 + }, + "end": { + "line": 704, + "column": 62 + } + } + } + ], + "range": [ + 20046, + 20083 + ], + "loc": { + "start": { + "line": 704, + "column": 26 + }, + "end": { + "line": 704, + "column": 63 + } + } + }, + "range": [ + 20028, + 20083 + ], + "loc": { + "start": { + "line": 704, + "column": 8 + }, + "end": { + "line": 704, + "column": 63 + } + } + }, + "range": [ + 20028, + 20084 + ], + "loc": { + "start": { + "line": 704, + "column": 8 + }, + "end": { + "line": 704, + "column": 64 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19914, + 20019 + ], + "loc": { + "start": { + "line": 700, + "column": 8 + }, + "end": { + "line": 703, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " this.curExp = f.cur_exp || '^[¥£€$]';", + "range": [ + 20094, + 20134 + ], + "loc": { + "start": { + "line": 706, + "column": 8 + }, + "end": { + "line": 706, + "column": 48 + } + } + }, + { + "type": "Block", + "value": "*\n * Stored values separator\n * @type {String}\n ", + "range": [ + 20144, + 20220 + ], + "loc": { + "start": { + "line": 708, + "column": 8 + }, + "end": { + "line": 711, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20229, + 20233 + ], + "loc": { + "start": { + "line": 712, + "column": 8 + }, + "end": { + "line": 712, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 20234, + 20243 + ], + "loc": { + "start": { + "line": 712, + "column": 13 + }, + "end": { + "line": 712, + "column": 22 + } + } + }, + "range": [ + 20229, + 20243 + ], + "loc": { + "start": { + "line": 712, + "column": 8 + }, + "end": { + "line": 712, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 20246, + 20257 + ], + "loc": { + "start": { + "line": 712, + "column": 25 + }, + "end": { + "line": 712, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20258, + 20259 + ], + "loc": { + "start": { + "line": 712, + "column": 37 + }, + "end": { + "line": 712, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "separator", + "range": [ + 20260, + 20269 + ], + "loc": { + "start": { + "line": 712, + "column": 39 + }, + "end": { + "line": 712, + "column": 48 + } + } + }, + "range": [ + 20258, + 20269 + ], + "loc": { + "start": { + "line": 712, + "column": 37 + }, + "end": { + "line": 712, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": ",", + "raw": "','", + "range": [ + 20271, + 20274 + ], + "loc": { + "start": { + "line": 712, + "column": 50 + }, + "end": { + "line": 712, + "column": 53 + } + } + } + ], + "range": [ + 20246, + 20275 + ], + "loc": { + "start": { + "line": 712, + "column": 25 + }, + "end": { + "line": 712, + "column": 54 + } + } + }, + "range": [ + 20229, + 20275 + ], + "loc": { + "start": { + "line": 712, + "column": 8 + }, + "end": { + "line": 712, + "column": 54 + } + } + }, + "range": [ + 20229, + 20276 + ], + "loc": { + "start": { + "line": 712, + "column": 8 + }, + "end": { + "line": 712, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " this.curExp = f.cur_exp || '^[¥£€$]';", + "range": [ + 20094, + 20134 + ], + "loc": { + "start": { + "line": 706, + "column": 8 + }, + "end": { + "line": 706, + "column": 48 + } + } + }, + { + "type": "Block", + "value": "*\n * Stored values separator\n * @type {String}\n ", + "range": [ + 20144, + 20220 + ], + "loc": { + "start": { + "line": 708, + "column": 8 + }, + "end": { + "line": 711, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable rows counter UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20286, + 20379 + ], + "loc": { + "start": { + "line": 714, + "column": 8 + }, + "end": { + "line": 717, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20388, + 20392 + ], + "loc": { + "start": { + "line": 718, + "column": 8 + }, + "end": { + "line": 718, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowsCounter", + "range": [ + 20393, + 20404 + ], + "loc": { + "start": { + "line": 718, + "column": 13 + }, + "end": { + "line": 718, + "column": 24 + } + } + }, + "range": [ + 20388, + 20404 + ], + "loc": { + "start": { + "line": 718, + "column": 8 + }, + "end": { + "line": 718, + "column": 24 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 20407, + 20412 + ], + "loc": { + "start": { + "line": 718, + "column": 27 + }, + "end": { + "line": 718, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20413, + 20414 + ], + "loc": { + "start": { + "line": 718, + "column": 33 + }, + "end": { + "line": 718, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows_counter", + "range": [ + 20415, + 20427 + ], + "loc": { + "start": { + "line": 718, + "column": 35 + }, + "end": { + "line": 718, + "column": 47 + } + } + }, + "range": [ + 20413, + 20427 + ], + "loc": { + "start": { + "line": 718, + "column": 33 + }, + "end": { + "line": 718, + "column": 47 + } + } + } + ], + "range": [ + 20407, + 20428 + ], + "loc": { + "start": { + "line": 718, + "column": 27 + }, + "end": { + "line": 718, + "column": 48 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 20432, + 20439 + ], + "loc": { + "start": { + "line": 718, + "column": 52 + }, + "end": { + "line": 718, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20440, + 20441 + ], + "loc": { + "start": { + "line": 718, + "column": 60 + }, + "end": { + "line": 718, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows_counter", + "range": [ + 20442, + 20454 + ], + "loc": { + "start": { + "line": 718, + "column": 62 + }, + "end": { + "line": 718, + "column": 74 + } + } + }, + "range": [ + 20440, + 20454 + ], + "loc": { + "start": { + "line": 718, + "column": 60 + }, + "end": { + "line": 718, + "column": 74 + } + } + } + ], + "range": [ + 20432, + 20455 + ], + "loc": { + "start": { + "line": 718, + "column": 52 + }, + "end": { + "line": 718, + "column": 75 + } + } + }, + "range": [ + 20407, + 20455 + ], + "loc": { + "start": { + "line": 718, + "column": 27 + }, + "end": { + "line": 718, + "column": 75 + } + } + }, + "range": [ + 20388, + 20455 + ], + "loc": { + "start": { + "line": 718, + "column": 8 + }, + "end": { + "line": 718, + "column": 75 + } + } + }, + "range": [ + 20388, + 20456 + ], + "loc": { + "start": { + "line": 718, + "column": 8 + }, + "end": { + "line": 718, + "column": 76 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable rows counter UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20286, + 20379 + ], + "loc": { + "start": { + "line": 714, + "column": 8 + }, + "end": { + "line": 717, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable status bar UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20466, + 20557 + ], + "loc": { + "start": { + "line": 720, + "column": 8 + }, + "end": { + "line": 723, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20566, + 20570 + ], + "loc": { + "start": { + "line": 724, + "column": 8 + }, + "end": { + "line": 724, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "statusBar", + "range": [ + 20571, + 20580 + ], + "loc": { + "start": { + "line": 724, + "column": 13 + }, + "end": { + "line": 724, + "column": 22 + } + } + }, + "range": [ + 20566, + 20580 + ], + "loc": { + "start": { + "line": 724, + "column": 8 + }, + "end": { + "line": 724, + "column": 22 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 20583, + 20588 + ], + "loc": { + "start": { + "line": 724, + "column": 25 + }, + "end": { + "line": 724, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20589, + 20590 + ], + "loc": { + "start": { + "line": 724, + "column": 31 + }, + "end": { + "line": 724, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "status_bar", + "range": [ + 20591, + 20601 + ], + "loc": { + "start": { + "line": 724, + "column": 33 + }, + "end": { + "line": 724, + "column": 43 + } + } + }, + "range": [ + 20589, + 20601 + ], + "loc": { + "start": { + "line": 724, + "column": 31 + }, + "end": { + "line": 724, + "column": 43 + } + } + } + ], + "range": [ + 20583, + 20602 + ], + "loc": { + "start": { + "line": 724, + "column": 25 + }, + "end": { + "line": 724, + "column": 44 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 20606, + 20613 + ], + "loc": { + "start": { + "line": 724, + "column": 48 + }, + "end": { + "line": 724, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20614, + 20615 + ], + "loc": { + "start": { + "line": 724, + "column": 56 + }, + "end": { + "line": 724, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "status_bar", + "range": [ + 20616, + 20626 + ], + "loc": { + "start": { + "line": 724, + "column": 58 + }, + "end": { + "line": 724, + "column": 68 + } + } + }, + "range": [ + 20614, + 20626 + ], + "loc": { + "start": { + "line": 724, + "column": 56 + }, + "end": { + "line": 724, + "column": 68 + } + } + } + ], + "range": [ + 20606, + 20627 + ], + "loc": { + "start": { + "line": 724, + "column": 48 + }, + "end": { + "line": 724, + "column": 69 + } + } + }, + "range": [ + 20583, + 20627 + ], + "loc": { + "start": { + "line": 724, + "column": 25 + }, + "end": { + "line": 724, + "column": 69 + } + } + }, + "range": [ + 20566, + 20627 + ], + "loc": { + "start": { + "line": 724, + "column": 8 + }, + "end": { + "line": 724, + "column": 69 + } + } + }, + "range": [ + 20566, + 20628 + ], + "loc": { + "start": { + "line": 724, + "column": 8 + }, + "end": { + "line": 724, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable status bar UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20466, + 20557 + ], + "loc": { + "start": { + "line": 720, + "column": 8 + }, + "end": { + "line": 723, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable activity/spinner indicator UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20638, + 20745 + ], + "loc": { + "start": { + "line": 726, + "column": 8 + }, + "end": { + "line": 729, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20754, + 20758 + ], + "loc": { + "start": { + "line": 730, + "column": 8 + }, + "end": { + "line": 730, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "loader", + "range": [ + 20759, + 20765 + ], + "loc": { + "start": { + "line": 730, + "column": 13 + }, + "end": { + "line": 730, + "column": 19 + } + } + }, + "range": [ + 20754, + 20765 + ], + "loc": { + "start": { + "line": 730, + "column": 8 + }, + "end": { + "line": 730, + "column": 19 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 20768, + 20773 + ], + "loc": { + "start": { + "line": 730, + "column": 22 + }, + "end": { + "line": 730, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20774, + 20775 + ], + "loc": { + "start": { + "line": 730, + "column": 28 + }, + "end": { + "line": 730, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "loader", + "range": [ + 20776, + 20782 + ], + "loc": { + "start": { + "line": 730, + "column": 30 + }, + "end": { + "line": 730, + "column": 36 + } + } + }, + "range": [ + 20774, + 20782 + ], + "loc": { + "start": { + "line": 730, + "column": 28 + }, + "end": { + "line": 730, + "column": 36 + } + } + } + ], + "range": [ + 20768, + 20783 + ], + "loc": { + "start": { + "line": 730, + "column": 22 + }, + "end": { + "line": 730, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 20787, + 20794 + ], + "loc": { + "start": { + "line": 730, + "column": 41 + }, + "end": { + "line": 730, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20795, + 20796 + ], + "loc": { + "start": { + "line": 730, + "column": 49 + }, + "end": { + "line": 730, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "loader", + "range": [ + 20797, + 20803 + ], + "loc": { + "start": { + "line": 730, + "column": 51 + }, + "end": { + "line": 730, + "column": 57 + } + } + }, + "range": [ + 20795, + 20803 + ], + "loc": { + "start": { + "line": 730, + "column": 49 + }, + "end": { + "line": 730, + "column": 57 + } + } + } + ], + "range": [ + 20787, + 20804 + ], + "loc": { + "start": { + "line": 730, + "column": 41 + }, + "end": { + "line": 730, + "column": 58 + } + } + }, + "range": [ + 20768, + 20804 + ], + "loc": { + "start": { + "line": 730, + "column": 22 + }, + "end": { + "line": 730, + "column": 58 + } + } + }, + "range": [ + 20754, + 20804 + ], + "loc": { + "start": { + "line": 730, + "column": 8 + }, + "end": { + "line": 730, + "column": 58 + } + } + }, + "range": [ + 20754, + 20805 + ], + "loc": { + "start": { + "line": 730, + "column": 8 + }, + "end": { + "line": 730, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable activity/spinner indicator UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20638, + 20745 + ], + "loc": { + "start": { + "line": 726, + "column": 8 + }, + "end": { + "line": 729, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** validation - reset buttons/links **", + "range": [ + 20815, + 20857 + ], + "loc": { + "start": { + "line": 732, + "column": 8 + }, + "end": { + "line": 732, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable filters submission button\n * @type {Boolean}\n ", + "range": [ + 20866, + 20952 + ], + "loc": { + "start": { + "line": 733, + "column": 8 + }, + "end": { + "line": 736, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 20961, + 20965 + ], + "loc": { + "start": { + "line": 737, + "column": 8 + }, + "end": { + "line": 737, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "displayBtn", + "range": [ + 20966, + 20976 + ], + "loc": { + "start": { + "line": 737, + "column": 13 + }, + "end": { + "line": 737, + "column": 23 + } + } + }, + "range": [ + 20961, + 20976 + ], + "loc": { + "start": { + "line": 737, + "column": 8 + }, + "end": { + "line": 737, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 20979, + 20986 + ], + "loc": { + "start": { + "line": 737, + "column": 26 + }, + "end": { + "line": 737, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 20987, + 20988 + ], + "loc": { + "start": { + "line": 737, + "column": 34 + }, + "end": { + "line": 737, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn", + "range": [ + 20989, + 20992 + ], + "loc": { + "start": { + "line": 737, + "column": 36 + }, + "end": { + "line": 737, + "column": 39 + } + } + }, + "range": [ + 20987, + 20992 + ], + "loc": { + "start": { + "line": 737, + "column": 34 + }, + "end": { + "line": 737, + "column": 39 + } + } + } + ], + "range": [ + 20979, + 20993 + ], + "loc": { + "start": { + "line": 737, + "column": 26 + }, + "end": { + "line": 737, + "column": 40 + } + } + }, + "range": [ + 20961, + 20993 + ], + "loc": { + "start": { + "line": 737, + "column": 8 + }, + "end": { + "line": 737, + "column": 40 + } + } + }, + "range": [ + 20961, + 20994 + ], + "loc": { + "start": { + "line": 737, + "column": 8 + }, + "end": { + "line": 737, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** validation - reset buttons/links **", + "range": [ + 20815, + 20857 + ], + "loc": { + "start": { + "line": 732, + "column": 8 + }, + "end": { + "line": 732, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable filters submission button\n * @type {Boolean}\n ", + "range": [ + 20866, + 20952 + ], + "loc": { + "start": { + "line": 733, + "column": 8 + }, + "end": { + "line": 736, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define filters submission button text\n * @type {String}\n ", + "range": [ + 21004, + 21094 + ], + "loc": { + "start": { + "line": 739, + "column": 8 + }, + "end": { + "line": 742, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21103, + 21107 + ], + "loc": { + "start": { + "line": 743, + "column": 8 + }, + "end": { + "line": 743, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 21108, + 21115 + ], + "loc": { + "start": { + "line": 743, + "column": 13 + }, + "end": { + "line": 743, + "column": 20 + } + } + }, + "range": [ + 21103, + 21115 + ], + "loc": { + "start": { + "line": 743, + "column": 8 + }, + "end": { + "line": 743, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 21118, + 21129 + ], + "loc": { + "start": { + "line": 743, + "column": 23 + }, + "end": { + "line": 743, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21130, + 21131 + ], + "loc": { + "start": { + "line": 743, + "column": 35 + }, + "end": { + "line": 743, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_text", + "range": [ + 21132, + 21140 + ], + "loc": { + "start": { + "line": 743, + "column": 37 + }, + "end": { + "line": 743, + "column": 45 + } + } + }, + "range": [ + 21130, + 21140 + ], + "loc": { + "start": { + "line": 743, + "column": 35 + }, + "end": { + "line": 743, + "column": 45 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21144, + 21148 + ], + "loc": { + "start": { + "line": 743, + "column": 49 + }, + "end": { + "line": 743, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 21149, + 21160 + ], + "loc": { + "start": { + "line": 743, + "column": 54 + }, + "end": { + "line": 743, + "column": 65 + } + } + }, + "range": [ + 21144, + 21160 + ], + "loc": { + "start": { + "line": 743, + "column": 49 + }, + "end": { + "line": 743, + "column": 65 + } + } + }, + "prefix": true, + "range": [ + 21143, + 21160 + ], + "loc": { + "start": { + "line": 743, + "column": 48 + }, + "end": { + "line": 743, + "column": 65 + } + } + }, + "consequent": { + "type": "Literal", + "value": "Go", + "raw": "'Go'", + "range": [ + 21163, + 21167 + ], + "loc": { + "start": { + "line": 743, + "column": 68 + }, + "end": { + "line": 743, + "column": 72 + } + } + }, + "alternate": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 21170, + 21172 + ], + "loc": { + "start": { + "line": 743, + "column": 75 + }, + "end": { + "line": 743, + "column": 77 + } + } + }, + "range": [ + 21143, + 21172 + ], + "loc": { + "start": { + "line": 743, + "column": 48 + }, + "end": { + "line": 743, + "column": 77 + } + } + } + ], + "range": [ + 21118, + 21174 + ], + "loc": { + "start": { + "line": 743, + "column": 23 + }, + "end": { + "line": 743, + "column": 79 + } + } + }, + "range": [ + 21103, + 21174 + ], + "loc": { + "start": { + "line": 743, + "column": 8 + }, + "end": { + "line": 743, + "column": 79 + } + } + }, + "range": [ + 21103, + 21175 + ], + "loc": { + "start": { + "line": 743, + "column": 8 + }, + "end": { + "line": 743, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define filters submission button text\n * @type {String}\n ", + "range": [ + 21004, + 21094 + ], + "loc": { + "start": { + "line": 739, + "column": 8 + }, + "end": { + "line": 742, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Css class for filters submission button\n * @type {String}\n ", + "range": [ + 21185, + 21277 + ], + "loc": { + "start": { + "line": 745, + "column": 8 + }, + "end": { + "line": 748, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21286, + 21290 + ], + "loc": { + "start": { + "line": 749, + "column": 8 + }, + "end": { + "line": 749, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 21291, + 21302 + ], + "loc": { + "start": { + "line": 749, + "column": 13 + }, + "end": { + "line": 749, + "column": 24 + } + } + }, + "range": [ + 21286, + 21302 + ], + "loc": { + "start": { + "line": 749, + "column": 8 + }, + "end": { + "line": 749, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 21305, + 21316 + ], + "loc": { + "start": { + "line": 749, + "column": 27 + }, + "end": { + "line": 749, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21317, + 21318 + ], + "loc": { + "start": { + "line": 749, + "column": 39 + }, + "end": { + "line": 749, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_css_class", + "range": [ + 21319, + 21332 + ], + "loc": { + "start": { + "line": 749, + "column": 41 + }, + "end": { + "line": 749, + "column": 54 + } + } + }, + "range": [ + 21317, + 21332 + ], + "loc": { + "start": { + "line": 749, + "column": 39 + }, + "end": { + "line": 749, + "column": 54 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21348, + 21352 + ], + "loc": { + "start": { + "line": 750, + "column": 14 + }, + "end": { + "line": 750, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableIcons", + "range": [ + 21353, + 21364 + ], + "loc": { + "start": { + "line": 750, + "column": 19 + }, + "end": { + "line": 750, + "column": 30 + } + } + }, + "range": [ + 21348, + 21364 + ], + "loc": { + "start": { + "line": 750, + "column": 14 + }, + "end": { + "line": 750, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 21347, + 21364 + ], + "loc": { + "start": { + "line": 750, + "column": 13 + }, + "end": { + "line": 750, + "column": 30 + } + } + }, + "consequent": { + "type": "Literal", + "value": "btnflt", + "raw": "'btnflt'", + "range": [ + 21367, + 21375 + ], + "loc": { + "start": { + "line": 750, + "column": 33 + }, + "end": { + "line": 750, + "column": 41 + } + } + }, + "alternate": { + "type": "Literal", + "value": "btnflt_icon", + "raw": "'btnflt_icon'", + "range": [ + 21378, + 21391 + ], + "loc": { + "start": { + "line": 750, + "column": 44 + }, + "end": { + "line": 750, + "column": 57 + } + } + }, + "range": [ + 21347, + 21391 + ], + "loc": { + "start": { + "line": 750, + "column": 13 + }, + "end": { + "line": 750, + "column": 57 + } + } + } + ], + "range": [ + 21305, + 21393 + ], + "loc": { + "start": { + "line": 749, + "column": 27 + }, + "end": { + "line": 750, + "column": 59 + } + } + }, + "range": [ + 21286, + 21393 + ], + "loc": { + "start": { + "line": 749, + "column": 8 + }, + "end": { + "line": 750, + "column": 59 + } + } + }, + "range": [ + 21286, + 21394 + ], + "loc": { + "start": { + "line": 749, + "column": 8 + }, + "end": { + "line": 750, + "column": 60 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Css class for filters submission button\n * @type {String}\n ", + "range": [ + 21185, + 21277 + ], + "loc": { + "start": { + "line": 745, + "column": 8 + }, + "end": { + "line": 748, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable clear button\n * @type {Boolean}\n ", + "range": [ + 21404, + 21477 + ], + "loc": { + "start": { + "line": 752, + "column": 8 + }, + "end": { + "line": 755, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21486, + 21490 + ], + "loc": { + "start": { + "line": 756, + "column": 8 + }, + "end": { + "line": 756, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnReset", + "range": [ + 21491, + 21499 + ], + "loc": { + "start": { + "line": 756, + "column": 13 + }, + "end": { + "line": 756, + "column": 21 + } + } + }, + "range": [ + 21486, + 21499 + ], + "loc": { + "start": { + "line": 756, + "column": 8 + }, + "end": { + "line": 756, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 21502, + 21509 + ], + "loc": { + "start": { + "line": 756, + "column": 24 + }, + "end": { + "line": 756, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21510, + 21511 + ], + "loc": { + "start": { + "line": 756, + "column": 32 + }, + "end": { + "line": 756, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "btn_reset", + "range": [ + 21512, + 21521 + ], + "loc": { + "start": { + "line": 756, + "column": 34 + }, + "end": { + "line": 756, + "column": 43 + } + } + }, + "range": [ + 21510, + 21521 + ], + "loc": { + "start": { + "line": 756, + "column": 32 + }, + "end": { + "line": 756, + "column": 43 + } + } + } + ], + "range": [ + 21502, + 21522 + ], + "loc": { + "start": { + "line": 756, + "column": 24 + }, + "end": { + "line": 756, + "column": 44 + } + } + }, + "range": [ + 21486, + 21522 + ], + "loc": { + "start": { + "line": 756, + "column": 8 + }, + "end": { + "line": 756, + "column": 44 + } + } + }, + "range": [ + 21486, + 21523 + ], + "loc": { + "start": { + "line": 756, + "column": 8 + }, + "end": { + "line": 756, + "column": 45 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable clear button\n * @type {Boolean}\n ", + "range": [ + 21404, + 21477 + ], + "loc": { + "start": { + "line": 752, + "column": 8 + }, + "end": { + "line": 755, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before filters are cleared\n * @type {Function}\n ", + "range": [ + 21533, + 21629 + ], + "loc": { + "start": { + "line": 758, + "column": 8 + }, + "end": { + "line": 761, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21638, + 21642 + ], + "loc": { + "start": { + "line": 762, + "column": 8 + }, + "end": { + "line": 762, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeReset", + "range": [ + 21643, + 21656 + ], + "loc": { + "start": { + "line": 762, + "column": 13 + }, + "end": { + "line": 762, + "column": 26 + } + } + }, + "range": [ + 21638, + 21656 + ], + "loc": { + "start": { + "line": 762, + "column": 8 + }, + "end": { + "line": 762, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 21659, + 21669 + ], + "loc": { + "start": { + "line": 762, + "column": 29 + }, + "end": { + "line": 762, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21670, + 21671 + ], + "loc": { + "start": { + "line": 762, + "column": 40 + }, + "end": { + "line": 762, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_before_reset", + "range": [ + 21672, + 21687 + ], + "loc": { + "start": { + "line": 762, + "column": 42 + }, + "end": { + "line": 762, + "column": 57 + } + } + }, + "range": [ + 21670, + 21687 + ], + "loc": { + "start": { + "line": 762, + "column": 40 + }, + "end": { + "line": 762, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 21689, + 21697 + ], + "loc": { + "start": { + "line": 762, + "column": 59 + }, + "end": { + "line": 762, + "column": 67 + } + } + } + ], + "range": [ + 21659, + 21698 + ], + "loc": { + "start": { + "line": 762, + "column": 29 + }, + "end": { + "line": 762, + "column": 68 + } + } + }, + "range": [ + 21638, + 21698 + ], + "loc": { + "start": { + "line": 762, + "column": 8 + }, + "end": { + "line": 762, + "column": 68 + } + } + }, + "range": [ + 21638, + 21699 + ], + "loc": { + "start": { + "line": 762, + "column": 8 + }, + "end": { + "line": 762, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired before filters are cleared\n * @type {Function}\n ", + "range": [ + 21533, + 21629 + ], + "loc": { + "start": { + "line": 758, + "column": 8 + }, + "end": { + "line": 761, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filters are cleared\n * @type {Function}\n ", + "range": [ + 21709, + 21804 + ], + "loc": { + "start": { + "line": 764, + "column": 8 + }, + "end": { + "line": 767, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21813, + 21817 + ], + "loc": { + "start": { + "line": 768, + "column": 8 + }, + "end": { + "line": 768, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterReset", + "range": [ + 21818, + 21830 + ], + "loc": { + "start": { + "line": 768, + "column": 13 + }, + "end": { + "line": 768, + "column": 25 + } + } + }, + "range": [ + 21813, + 21830 + ], + "loc": { + "start": { + "line": 768, + "column": 8 + }, + "end": { + "line": 768, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsFn", + "range": [ + 21833, + 21843 + ], + "loc": { + "start": { + "line": 768, + "column": 28 + }, + "end": { + "line": 768, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21844, + 21845 + ], + "loc": { + "start": { + "line": 768, + "column": 39 + }, + "end": { + "line": 768, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "on_after_reset", + "range": [ + 21846, + 21860 + ], + "loc": { + "start": { + "line": 768, + "column": 41 + }, + "end": { + "line": 768, + "column": 55 + } + } + }, + "range": [ + 21844, + 21860 + ], + "loc": { + "start": { + "line": 768, + "column": 39 + }, + "end": { + "line": 768, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 21862, + 21870 + ], + "loc": { + "start": { + "line": 768, + "column": 57 + }, + "end": { + "line": 768, + "column": 65 + } + } + } + ], + "range": [ + 21833, + 21871 + ], + "loc": { + "start": { + "line": 768, + "column": 28 + }, + "end": { + "line": 768, + "column": 66 + } + } + }, + "range": [ + 21813, + 21871 + ], + "loc": { + "start": { + "line": 768, + "column": 8 + }, + "end": { + "line": 768, + "column": 66 + } + } + }, + "range": [ + 21813, + 21872 + ], + "loc": { + "start": { + "line": 768, + "column": 8 + }, + "end": { + "line": 768, + "column": 67 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Callback fired after filters are cleared\n * @type {Function}\n ", + "range": [ + 21709, + 21804 + ], + "loc": { + "start": { + "line": 764, + "column": 8 + }, + "end": { + "line": 767, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable paging component\n * @type {Object|Boolean}\n ", + "range": [ + 21882, + 21966 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 773, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 21975, + 21979 + ], + "loc": { + "start": { + "line": 774, + "column": 8 + }, + "end": { + "line": 774, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 21980, + 21986 + ], + "loc": { + "start": { + "line": 774, + "column": 13 + }, + "end": { + "line": 774, + "column": 19 + } + } + }, + "range": [ + 21975, + 21986 + ], + "loc": { + "start": { + "line": 774, + "column": 8 + }, + "end": { + "line": 774, + "column": 19 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 21989, + 21994 + ], + "loc": { + "start": { + "line": 774, + "column": 22 + }, + "end": { + "line": 774, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 21995, + 21996 + ], + "loc": { + "start": { + "line": 774, + "column": 28 + }, + "end": { + "line": 774, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 21997, + 22003 + ], + "loc": { + "start": { + "line": 774, + "column": 30 + }, + "end": { + "line": 774, + "column": 36 + } + } + }, + "range": [ + 21995, + 22003 + ], + "loc": { + "start": { + "line": 774, + "column": 28 + }, + "end": { + "line": 774, + "column": 36 + } + } + } + ], + "range": [ + 21989, + 22004 + ], + "loc": { + "start": { + "line": 774, + "column": 22 + }, + "end": { + "line": 774, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 22008, + 22015 + ], + "loc": { + "start": { + "line": 774, + "column": 41 + }, + "end": { + "line": 774, + "column": 48 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 22016, + 22017 + ], + "loc": { + "start": { + "line": 774, + "column": 49 + }, + "end": { + "line": 774, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 22018, + 22024 + ], + "loc": { + "start": { + "line": 774, + "column": 51 + }, + "end": { + "line": 774, + "column": 57 + } + } + }, + "range": [ + 22016, + 22024 + ], + "loc": { + "start": { + "line": 774, + "column": 49 + }, + "end": { + "line": 774, + "column": 57 + } + } + } + ], + "range": [ + 22008, + 22025 + ], + "loc": { + "start": { + "line": 774, + "column": 41 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "range": [ + 21989, + 22025 + ], + "loc": { + "start": { + "line": 774, + "column": 22 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "range": [ + 21975, + 22025 + ], + "loc": { + "start": { + "line": 774, + "column": 8 + }, + "end": { + "line": 774, + "column": 58 + } + } + }, + "range": [ + 21975, + 22026 + ], + "loc": { + "start": { + "line": 774, + "column": 8 + }, + "end": { + "line": 774, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable paging component\n * @type {Object|Boolean}\n ", + "range": [ + 21882, + 21966 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 773, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Number of hidden rows\n * @type {Number}\n * @private\n ", + "range": [ + 22036, + 22130 + ], + "loc": { + "start": { + "line": 776, + "column": 8 + }, + "end": { + "line": 780, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22139, + 22143 + ], + "loc": { + "start": { + "line": 781, + "column": 8 + }, + "end": { + "line": 781, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbHiddenRows", + "range": [ + 22144, + 22156 + ], + "loc": { + "start": { + "line": 781, + "column": 13 + }, + "end": { + "line": 781, + "column": 25 + } + } + }, + "range": [ + 22139, + 22156 + ], + "loc": { + "start": { + "line": 781, + "column": 8 + }, + "end": { + "line": 781, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 22159, + 22160 + ], + "loc": { + "start": { + "line": 781, + "column": 28 + }, + "end": { + "line": 781, + "column": 29 + } + } + }, + "range": [ + 22139, + 22160 + ], + "loc": { + "start": { + "line": 781, + "column": 8 + }, + "end": { + "line": 781, + "column": 29 + } + } + }, + "range": [ + 22139, + 22161 + ], + "loc": { + "start": { + "line": 781, + "column": 8 + }, + "end": { + "line": 781, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Number of hidden rows\n * @type {Number}\n * @private\n ", + "range": [ + 22036, + 22130 + ], + "loc": { + "start": { + "line": 776, + "column": 8 + }, + "end": { + "line": 780, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n ", + "range": [ + 22171, + 22308 + ], + "loc": { + "start": { + "line": 783, + "column": 8 + }, + "end": { + "line": 787, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22317, + 22321 + ], + "loc": { + "start": { + "line": 788, + "column": 8 + }, + "end": { + "line": 788, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilter", + "range": [ + 22322, + 22332 + ], + "loc": { + "start": { + "line": 788, + "column": 13 + }, + "end": { + "line": 788, + "column": 23 + } + } + }, + "range": [ + 22317, + 22332 + ], + "loc": { + "start": { + "line": 788, + "column": 8 + }, + "end": { + "line": 788, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 22335, + 22342 + ], + "loc": { + "start": { + "line": 788, + "column": 26 + }, + "end": { + "line": 788, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 22343, + 22344 + ], + "loc": { + "start": { + "line": 788, + "column": 34 + }, + "end": { + "line": 788, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "auto_filter", + "range": [ + 22345, + 22356 + ], + "loc": { + "start": { + "line": 788, + "column": 36 + }, + "end": { + "line": 788, + "column": 47 + } + } + }, + "range": [ + 22343, + 22356 + ], + "loc": { + "start": { + "line": 788, + "column": 34 + }, + "end": { + "line": 788, + "column": 47 + } + } + } + ], + "range": [ + 22335, + 22357 + ], + "loc": { + "start": { + "line": 788, + "column": 26 + }, + "end": { + "line": 788, + "column": 48 + } + } + }, + "range": [ + 22317, + 22357 + ], + "loc": { + "start": { + "line": 788, + "column": 8 + }, + "end": { + "line": 788, + "column": 48 + } + } + }, + "range": [ + 22317, + 22358 + ], + "loc": { + "start": { + "line": 788, + "column": 8 + }, + "end": { + "line": 788, + "column": 49 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n ", + "range": [ + 22171, + 22308 + ], + "loc": { + "start": { + "line": 783, + "column": 8 + }, + "end": { + "line": 787, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Auto-filter delay in msecs\n * @type {Number}\n ", + "range": [ + 22368, + 22447 + ], + "loc": { + "start": { + "line": 790, + "column": 8 + }, + "end": { + "line": 793, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22456, + 22460 + ], + "loc": { + "start": { + "line": 794, + "column": 8 + }, + "end": { + "line": 794, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterDelay", + "range": [ + 22461, + 22476 + ], + "loc": { + "start": { + "line": 794, + "column": 13 + }, + "end": { + "line": 794, + "column": 28 + } + } + }, + "range": [ + 22456, + 22476 + ], + "loc": { + "start": { + "line": 794, + "column": 8 + }, + "end": { + "line": 794, + "column": 28 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsNb", + "range": [ + 22491, + 22501 + ], + "loc": { + "start": { + "line": 795, + "column": 12 + }, + "end": { + "line": 795, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 22502, + 22503 + ], + "loc": { + "start": { + "line": 795, + "column": 23 + }, + "end": { + "line": 795, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "auto_filter_delay", + "range": [ + 22504, + 22521 + ], + "loc": { + "start": { + "line": 795, + "column": 25 + }, + "end": { + "line": 795, + "column": 42 + } + } + }, + "range": [ + 22502, + 22521 + ], + "loc": { + "start": { + "line": 795, + "column": 23 + }, + "end": { + "line": 795, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "AUTO_FILTER_DELAY", + "range": [ + 22523, + 22540 + ], + "loc": { + "start": { + "line": 795, + "column": 44 + }, + "end": { + "line": 795, + "column": 61 + } + } + } + ], + "range": [ + 22491, + 22541 + ], + "loc": { + "start": { + "line": 795, + "column": 12 + }, + "end": { + "line": 795, + "column": 62 + } + } + }, + "range": [ + 22456, + 22541 + ], + "loc": { + "start": { + "line": 794, + "column": 8 + }, + "end": { + "line": 795, + "column": 62 + } + } + }, + "range": [ + 22456, + 22542 + ], + "loc": { + "start": { + "line": 794, + "column": 8 + }, + "end": { + "line": 795, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Auto-filter delay in msecs\n * @type {Number}\n ", + "range": [ + 22368, + 22447 + ], + "loc": { + "start": { + "line": 790, + "column": 8 + }, + "end": { + "line": 793, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n ", + "range": [ + 22552, + 22657 + ], + "loc": { + "start": { + "line": 797, + "column": 8 + }, + "end": { + "line": 801, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22666, + 22670 + ], + "loc": { + "start": { + "line": 802, + "column": 8 + }, + "end": { + "line": 802, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 22671, + 22683 + ], + "loc": { + "start": { + "line": 802, + "column": 13 + }, + "end": { + "line": 802, + "column": 25 + } + } + }, + "range": [ + 22666, + 22683 + ], + "loc": { + "start": { + "line": 802, + "column": 8 + }, + "end": { + "line": 802, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 22686, + 22690 + ], + "loc": { + "start": { + "line": 802, + "column": 28 + }, + "end": { + "line": 802, + "column": 32 + } + } + }, + "range": [ + 22666, + 22690 + ], + "loc": { + "start": { + "line": 802, + "column": 8 + }, + "end": { + "line": 802, + "column": 32 + } + } + }, + "range": [ + 22666, + 22691 + ], + "loc": { + "start": { + "line": 802, + "column": 8 + }, + "end": { + "line": 802, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n ", + "range": [ + 22552, + 22657 + ], + "loc": { + "start": { + "line": 797, + "column": 8 + }, + "end": { + "line": 801, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Auto-filter interval ID\n * @type {String}\n * @private\n ", + "range": [ + 22701, + 22797 + ], + "loc": { + "start": { + "line": 804, + "column": 8 + }, + "end": { + "line": 808, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22806, + 22810 + ], + "loc": { + "start": { + "line": 809, + "column": 8 + }, + "end": { + "line": 809, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 22811, + 22826 + ], + "loc": { + "start": { + "line": 809, + "column": 13 + }, + "end": { + "line": 809, + "column": 28 + } + } + }, + "range": [ + 22806, + 22826 + ], + "loc": { + "start": { + "line": 809, + "column": 8 + }, + "end": { + "line": 809, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 22829, + 22833 + ], + "loc": { + "start": { + "line": 809, + "column": 31 + }, + "end": { + "line": 809, + "column": 35 + } + } + }, + "range": [ + 22806, + 22833 + ], + "loc": { + "start": { + "line": 809, + "column": 8 + }, + "end": { + "line": 809, + "column": 35 + } + } + }, + "range": [ + 22806, + 22834 + ], + "loc": { + "start": { + "line": 809, + "column": 8 + }, + "end": { + "line": 809, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Auto-filter interval ID\n * @type {String}\n * @private\n ", + "range": [ + 22701, + 22797 + ], + "loc": { + "start": { + "line": 804, + "column": 8 + }, + "end": { + "line": 808, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n ", + "range": [ + 22844, + 22935 + ], + "loc": { + "start": { + "line": 811, + "column": 8 + }, + "end": { + "line": 814, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 22944, + 22948 + ], + "loc": { + "start": { + "line": 815, + "column": 8 + }, + "end": { + "line": 815, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlightKeywords", + "range": [ + 22949, + 22966 + ], + "loc": { + "start": { + "line": 815, + "column": 13 + }, + "end": { + "line": 815, + "column": 30 + } + } + }, + "range": [ + 22944, + 22966 + ], + "loc": { + "start": { + "line": 815, + "column": 8 + }, + "end": { + "line": 815, + "column": 30 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 22969, + 22976 + ], + "loc": { + "start": { + "line": 815, + "column": 33 + }, + "end": { + "line": 815, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 22977, + 22978 + ], + "loc": { + "start": { + "line": 815, + "column": 41 + }, + "end": { + "line": 815, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "highlight_keywords", + "range": [ + 22979, + 22997 + ], + "loc": { + "start": { + "line": 815, + "column": 43 + }, + "end": { + "line": 815, + "column": 61 + } + } + }, + "range": [ + 22977, + 22997 + ], + "loc": { + "start": { + "line": 815, + "column": 41 + }, + "end": { + "line": 815, + "column": 61 + } + } + } + ], + "range": [ + 22969, + 22998 + ], + "loc": { + "start": { + "line": 815, + "column": 33 + }, + "end": { + "line": 815, + "column": 62 + } + } + }, + "range": [ + 22944, + 22998 + ], + "loc": { + "start": { + "line": 815, + "column": 8 + }, + "end": { + "line": 815, + "column": 62 + } + } + }, + "range": [ + 22944, + 22999 + ], + "loc": { + "start": { + "line": 815, + "column": 8 + }, + "end": { + "line": 815, + "column": 63 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n ", + "range": [ + 22844, + 22935 + ], + "loc": { + "start": { + "line": 811, + "column": 8 + }, + "end": { + "line": 814, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable no results message UI component\n * @type {Object|Boolean}\n ", + "range": [ + 23009, + 23108 + ], + "loc": { + "start": { + "line": 817, + "column": 8 + }, + "end": { + "line": 820, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23117, + 23121 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "noResults", + "range": [ + 23122, + 23131 + ], + "loc": { + "start": { + "line": 821, + "column": 13 + }, + "end": { + "line": 821, + "column": 22 + } + } + }, + "range": [ + 23117, + 23131 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 821, + "column": 22 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 23134, + 23139 + ], + "loc": { + "start": { + "line": 821, + "column": 25 + }, + "end": { + "line": 821, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23140, + 23141 + ], + "loc": { + "start": { + "line": 821, + "column": 31 + }, + "end": { + "line": 821, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "no_results_message", + "range": [ + 23142, + 23160 + ], + "loc": { + "start": { + "line": 821, + "column": 33 + }, + "end": { + "line": 821, + "column": 51 + } + } + }, + "range": [ + 23140, + 23160 + ], + "loc": { + "start": { + "line": 821, + "column": 31 + }, + "end": { + "line": 821, + "column": 51 + } + } + } + ], + "range": [ + 23134, + 23161 + ], + "loc": { + "start": { + "line": 821, + "column": 25 + }, + "end": { + "line": 821, + "column": 52 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 23177, + 23184 + ], + "loc": { + "start": { + "line": 822, + "column": 12 + }, + "end": { + "line": 822, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23185, + 23186 + ], + "loc": { + "start": { + "line": 822, + "column": 20 + }, + "end": { + "line": 822, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "no_results_message", + "range": [ + 23187, + 23205 + ], + "loc": { + "start": { + "line": 822, + "column": 22 + }, + "end": { + "line": 822, + "column": 40 + } + } + }, + "range": [ + 23185, + 23205 + ], + "loc": { + "start": { + "line": 822, + "column": 20 + }, + "end": { + "line": 822, + "column": 40 + } + } + } + ], + "range": [ + 23177, + 23206 + ], + "loc": { + "start": { + "line": 822, + "column": 12 + }, + "end": { + "line": 822, + "column": 41 + } + } + }, + "range": [ + 23134, + 23206 + ], + "loc": { + "start": { + "line": 821, + "column": 25 + }, + "end": { + "line": 822, + "column": 41 + } + } + }, + "range": [ + 23117, + 23206 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 822, + "column": 41 + } + } + }, + "range": [ + 23117, + 23207 + ], + "loc": { + "start": { + "line": 821, + "column": 8 + }, + "end": { + "line": 822, + "column": 42 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable no results message UI component\n * @type {Object|Boolean}\n ", + "range": [ + 23009, + 23108 + ], + "loc": { + "start": { + "line": 817, + "column": 8 + }, + "end": { + "line": 820, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable state persistence\n * @type {Object|Boolean}\n ", + "range": [ + 23217, + 23302 + ], + "loc": { + "start": { + "line": 824, + "column": 8 + }, + "end": { + "line": 827, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23311, + 23315 + ], + "loc": { + "start": { + "line": 828, + "column": 8 + }, + "end": { + "line": 828, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 23316, + 23321 + ], + "loc": { + "start": { + "line": 828, + "column": 13 + }, + "end": { + "line": 828, + "column": 18 + } + } + }, + "range": [ + 23311, + 23321 + ], + "loc": { + "start": { + "line": 828, + "column": 8 + }, + "end": { + "line": 828, + "column": 18 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 23324, + 23329 + ], + "loc": { + "start": { + "line": 828, + "column": 21 + }, + "end": { + "line": 828, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23330, + 23331 + ], + "loc": { + "start": { + "line": 828, + "column": 27 + }, + "end": { + "line": 828, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 23332, + 23337 + ], + "loc": { + "start": { + "line": 828, + "column": 29 + }, + "end": { + "line": 828, + "column": 34 + } + } + }, + "range": [ + 23330, + 23337 + ], + "loc": { + "start": { + "line": 828, + "column": 27 + }, + "end": { + "line": 828, + "column": 34 + } + } + } + ], + "range": [ + 23324, + 23338 + ], + "loc": { + "start": { + "line": 828, + "column": 21 + }, + "end": { + "line": 828, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 23342, + 23349 + ], + "loc": { + "start": { + "line": 828, + "column": 39 + }, + "end": { + "line": 828, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23350, + 23351 + ], + "loc": { + "start": { + "line": 828, + "column": 47 + }, + "end": { + "line": 828, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "state", + "range": [ + 23352, + 23357 + ], + "loc": { + "start": { + "line": 828, + "column": 49 + }, + "end": { + "line": 828, + "column": 54 + } + } + }, + "range": [ + 23350, + 23357 + ], + "loc": { + "start": { + "line": 828, + "column": 47 + }, + "end": { + "line": 828, + "column": 54 + } + } + } + ], + "range": [ + 23342, + 23358 + ], + "loc": { + "start": { + "line": 828, + "column": 39 + }, + "end": { + "line": 828, + "column": 55 + } + } + }, + "range": [ + 23324, + 23358 + ], + "loc": { + "start": { + "line": 828, + "column": 21 + }, + "end": { + "line": 828, + "column": 55 + } + } + }, + "range": [ + 23311, + 23358 + ], + "loc": { + "start": { + "line": 828, + "column": 8 + }, + "end": { + "line": 828, + "column": 55 + } + } + }, + "range": [ + 23311, + 23359 + ], + "loc": { + "start": { + "line": 828, + "column": 8 + }, + "end": { + "line": 828, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable state persistence\n * @type {Object|Boolean}\n ", + "range": [ + 23217, + 23302 + ], + "loc": { + "start": { + "line": 824, + "column": 8 + }, + "end": { + "line": 827, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** data types **", + "range": [ + 23369, + 23389 + ], + "loc": { + "start": { + "line": 830, + "column": 8 + }, + "end": { + "line": 830, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable date type module\n * @type {Boolean}\n * @private\n ", + "range": [ + 23399, + 23496 + ], + "loc": { + "start": { + "line": 832, + "column": 8 + }, + "end": { + "line": 836, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23505, + 23509 + ], + "loc": { + "start": { + "line": 837, + "column": 8 + }, + "end": { + "line": 837, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "dateType", + "range": [ + 23510, + 23518 + ], + "loc": { + "start": { + "line": 837, + "column": 13 + }, + "end": { + "line": 837, + "column": 21 + } + } + }, + "range": [ + 23505, + 23518 + ], + "loc": { + "start": { + "line": 837, + "column": 8 + }, + "end": { + "line": 837, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 23521, + 23525 + ], + "loc": { + "start": { + "line": 837, + "column": 24 + }, + "end": { + "line": 837, + "column": 28 + } + } + }, + "range": [ + 23505, + 23525 + ], + "loc": { + "start": { + "line": 837, + "column": 8 + }, + "end": { + "line": 837, + "column": 28 + } + } + }, + "range": [ + 23505, + 23526 + ], + "loc": { + "start": { + "line": 837, + "column": 8 + }, + "end": { + "line": 837, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** data types **", + "range": [ + 23369, + 23389 + ], + "loc": { + "start": { + "line": 830, + "column": 8 + }, + "end": { + "line": 830, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable date type module\n * @type {Boolean}\n * @private\n ", + "range": [ + 23399, + 23496 + ], + "loc": { + "start": { + "line": 832, + "column": 8 + }, + "end": { + "line": 836, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n ", + "range": [ + 23536, + 23703 + ], + "loc": { + "start": { + "line": 839, + "column": 8 + }, + "end": { + "line": 843, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23712, + 23716 + ], + "loc": { + "start": { + "line": 844, + "column": 8 + }, + "end": { + "line": 844, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 23717, + 23723 + ], + "loc": { + "start": { + "line": 844, + "column": 13 + }, + "end": { + "line": 844, + "column": 19 + } + } + }, + "range": [ + 23712, + 23723 + ], + "loc": { + "start": { + "line": 844, + "column": 8 + }, + "end": { + "line": 844, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 23726, + 23737 + ], + "loc": { + "start": { + "line": 844, + "column": 22 + }, + "end": { + "line": 844, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23738, + 23739 + ], + "loc": { + "start": { + "line": 844, + "column": 34 + }, + "end": { + "line": 844, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "locale", + "range": [ + 23740, + 23746 + ], + "loc": { + "start": { + "line": 844, + "column": 36 + }, + "end": { + "line": 844, + "column": 42 + } + } + }, + "range": [ + 23738, + 23746 + ], + "loc": { + "start": { + "line": 844, + "column": 34 + }, + "end": { + "line": 844, + "column": 42 + } + } + }, + { + "type": "Literal", + "value": "en", + "raw": "'en'", + "range": [ + 23748, + 23752 + ], + "loc": { + "start": { + "line": 844, + "column": 44 + }, + "end": { + "line": 844, + "column": 48 + } + } + } + ], + "range": [ + 23726, + 23753 + ], + "loc": { + "start": { + "line": 844, + "column": 22 + }, + "end": { + "line": 844, + "column": 49 + } + } + }, + "range": [ + 23712, + 23753 + ], + "loc": { + "start": { + "line": 844, + "column": 8 + }, + "end": { + "line": 844, + "column": 49 + } + } + }, + "range": [ + 23712, + 23754 + ], + "loc": { + "start": { + "line": 844, + "column": 8 + }, + "end": { + "line": 844, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n ", + "range": [ + 23536, + 23703 + ], + "loc": { + "start": { + "line": 839, + "column": 8 + }, + "end": { + "line": 843, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n ", + "range": [ + 23764, + 23871 + ], + "loc": { + "start": { + "line": 846, + "column": 8 + }, + "end": { + "line": 849, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 23880, + 23884 + ], + "loc": { + "start": { + "line": 850, + "column": 8 + }, + "end": { + "line": 850, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "thousandsSeparator", + "range": [ + 23885, + 23903 + ], + "loc": { + "start": { + "line": 850, + "column": 13 + }, + "end": { + "line": 850, + "column": 31 + } + } + }, + "range": [ + 23880, + 23903 + ], + "loc": { + "start": { + "line": 850, + "column": 8 + }, + "end": { + "line": 850, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 23906, + 23917 + ], + "loc": { + "start": { + "line": 850, + "column": 34 + }, + "end": { + "line": 850, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 23918, + 23919 + ], + "loc": { + "start": { + "line": 850, + "column": 46 + }, + "end": { + "line": 850, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "thousands_separator", + "range": [ + 23920, + 23939 + ], + "loc": { + "start": { + "line": 850, + "column": 48 + }, + "end": { + "line": 850, + "column": 67 + } + } + }, + "range": [ + 23918, + 23939 + ], + "loc": { + "start": { + "line": 850, + "column": 46 + }, + "end": { + "line": 850, + "column": 67 + } + } + }, + { + "type": "Literal", + "value": ",", + "raw": "','", + "range": [ + 23941, + 23944 + ], + "loc": { + "start": { + "line": 850, + "column": 69 + }, + "end": { + "line": 850, + "column": 72 + } + } + } + ], + "range": [ + 23906, + 23945 + ], + "loc": { + "start": { + "line": 850, + "column": 34 + }, + "end": { + "line": 850, + "column": 73 + } + } + }, + "range": [ + 23880, + 23945 + ], + "loc": { + "start": { + "line": 850, + "column": 8 + }, + "end": { + "line": 850, + "column": 73 + } + } + }, + "range": [ + 23880, + 23946 + ], + "loc": { + "start": { + "line": 850, + "column": 8 + }, + "end": { + "line": 850, + "column": 74 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n ", + "range": [ + 23764, + 23871 + ], + "loc": { + "start": { + "line": 846, + "column": 8 + }, + "end": { + "line": 849, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n ", + "range": [ + 23956, + 24061 + ], + "loc": { + "start": { + "line": 852, + "column": 8 + }, + "end": { + "line": 855, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24070, + 24074 + ], + "loc": { + "start": { + "line": 856, + "column": 8 + }, + "end": { + "line": 856, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimalSeparator", + "range": [ + 24075, + 24091 + ], + "loc": { + "start": { + "line": 856, + "column": 13 + }, + "end": { + "line": 856, + "column": 29 + } + } + }, + "range": [ + 24070, + 24091 + ], + "loc": { + "start": { + "line": 856, + "column": 8 + }, + "end": { + "line": 856, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 24094, + 24105 + ], + "loc": { + "start": { + "line": 856, + "column": 32 + }, + "end": { + "line": 856, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 24106, + 24107 + ], + "loc": { + "start": { + "line": 856, + "column": 44 + }, + "end": { + "line": 856, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal_separator", + "range": [ + 24108, + 24125 + ], + "loc": { + "start": { + "line": 856, + "column": 46 + }, + "end": { + "line": 856, + "column": 63 + } + } + }, + "range": [ + 24106, + 24125 + ], + "loc": { + "start": { + "line": 856, + "column": 44 + }, + "end": { + "line": 856, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": ".", + "raw": "'.'", + "range": [ + 24127, + 24130 + ], + "loc": { + "start": { + "line": 856, + "column": 65 + }, + "end": { + "line": 856, + "column": 68 + } + } + } + ], + "range": [ + 24094, + 24131 + ], + "loc": { + "start": { + "line": 856, + "column": 32 + }, + "end": { + "line": 856, + "column": 69 + } + } + }, + "range": [ + 24070, + 24131 + ], + "loc": { + "start": { + "line": 856, + "column": 8 + }, + "end": { + "line": 856, + "column": 69 + } + } + }, + "range": [ + 24070, + 24132 + ], + "loc": { + "start": { + "line": 856, + "column": 8 + }, + "end": { + "line": 856, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n ", + "range": [ + 23956, + 24061 + ], + "loc": { + "start": { + "line": 852, + "column": 8 + }, + "end": { + "line": 855, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n ", + "range": [ + 24142, + 24740 + ], + "loc": { + "start": { + "line": 858, + "column": 8 + }, + "end": { + "line": 871, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24749, + 24753 + ], + "loc": { + "start": { + "line": 872, + "column": 8 + }, + "end": { + "line": 872, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 24754, + 24762 + ], + "loc": { + "start": { + "line": 872, + "column": 13 + }, + "end": { + "line": 872, + "column": 21 + } + } + }, + "range": [ + 24749, + 24762 + ], + "loc": { + "start": { + "line": 872, + "column": 8 + }, + "end": { + "line": 872, + "column": 21 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 24765, + 24772 + ], + "loc": { + "start": { + "line": 872, + "column": 24 + }, + "end": { + "line": 872, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 24773, + 24774 + ], + "loc": { + "start": { + "line": 872, + "column": 32 + }, + "end": { + "line": 872, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "col_types", + "range": [ + 24775, + 24784 + ], + "loc": { + "start": { + "line": 872, + "column": 34 + }, + "end": { + "line": 872, + "column": 43 + } + } + }, + "range": [ + 24773, + 24784 + ], + "loc": { + "start": { + "line": 872, + "column": 32 + }, + "end": { + "line": 872, + "column": 43 + } + } + } + ], + "range": [ + 24765, + 24785 + ], + "loc": { + "start": { + "line": 872, + "column": 24 + }, + "end": { + "line": 872, + "column": 44 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 24788, + 24789 + ], + "loc": { + "start": { + "line": 872, + "column": 47 + }, + "end": { + "line": 872, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "col_types", + "range": [ + 24790, + 24799 + ], + "loc": { + "start": { + "line": 872, + "column": 49 + }, + "end": { + "line": 872, + "column": 58 + } + } + }, + "range": [ + 24788, + 24799 + ], + "loc": { + "start": { + "line": 872, + "column": 47 + }, + "end": { + "line": 872, + "column": 58 + } + } + }, + "alternate": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 24802, + 24804 + ], + "loc": { + "start": { + "line": 872, + "column": 61 + }, + "end": { + "line": 872, + "column": 63 + } + } + }, + "range": [ + 24765, + 24804 + ], + "loc": { + "start": { + "line": 872, + "column": 24 + }, + "end": { + "line": 872, + "column": 63 + } + } + }, + "range": [ + 24749, + 24804 + ], + "loc": { + "start": { + "line": 872, + "column": 8 + }, + "end": { + "line": 872, + "column": 63 + } + } + }, + "range": [ + 24749, + 24805 + ], + "loc": { + "start": { + "line": 872, + "column": 8 + }, + "end": { + "line": 872, + "column": 64 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n ", + "range": [ + 24142, + 24740 + ], + "loc": { + "start": { + "line": 858, + "column": 8 + }, + "end": { + "line": 871, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** ids prefixes **", + "range": [ + 24815, + 24837 + ], + "loc": { + "start": { + "line": 874, + "column": 8 + }, + "end": { + "line": 874, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Main prefix\n * @private\n ", + "range": [ + 24846, + 24904 + ], + "loc": { + "start": { + "line": 875, + "column": 8 + }, + "end": { + "line": 878, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 24913, + 24917 + ], + "loc": { + "start": { + "line": 879, + "column": 8 + }, + "end": { + "line": 879, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 24918, + 24924 + ], + "loc": { + "start": { + "line": 879, + "column": 13 + }, + "end": { + "line": 879, + "column": 19 + } + } + }, + "range": [ + 24913, + 24924 + ], + "loc": { + "start": { + "line": 879, + "column": 8 + }, + "end": { + "line": 879, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "TF", + "raw": "'TF'", + "range": [ + 24927, + 24931 + ], + "loc": { + "start": { + "line": 879, + "column": 22 + }, + "end": { + "line": 879, + "column": 26 + } + } + }, + "range": [ + 24913, + 24931 + ], + "loc": { + "start": { + "line": 879, + "column": 8 + }, + "end": { + "line": 879, + "column": 26 + } + } + }, + "range": [ + 24913, + 24932 + ], + "loc": { + "start": { + "line": 879, + "column": 8 + }, + "end": { + "line": 879, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** ids prefixes **", + "range": [ + 24815, + 24837 + ], + "loc": { + "start": { + "line": 874, + "column": 8 + }, + "end": { + "line": 874, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Main prefix\n * @private\n ", + "range": [ + 24846, + 24904 + ], + "loc": { + "start": { + "line": 875, + "column": 8 + }, + "end": { + "line": 878, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter's ID prefix (inputs - selects)\n * @private\n ", + "range": [ + 24942, + 25026 + ], + "loc": { + "start": { + "line": 881, + "column": 8 + }, + "end": { + "line": 884, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25035, + 25039 + ], + "loc": { + "start": { + "line": 885, + "column": 8 + }, + "end": { + "line": 885, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxFlt", + "range": [ + 25040, + 25047 + ], + "loc": { + "start": { + "line": 885, + "column": 13 + }, + "end": { + "line": 885, + "column": 20 + } + } + }, + "range": [ + 25035, + 25047 + ], + "loc": { + "start": { + "line": 885, + "column": 8 + }, + "end": { + "line": 885, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": "flt", + "raw": "'flt'", + "range": [ + 25050, + 25055 + ], + "loc": { + "start": { + "line": 885, + "column": 23 + }, + "end": { + "line": 885, + "column": 28 + } + } + }, + "range": [ + 25035, + 25055 + ], + "loc": { + "start": { + "line": 885, + "column": 8 + }, + "end": { + "line": 885, + "column": 28 + } + } + }, + "range": [ + 25035, + 25056 + ], + "loc": { + "start": { + "line": 885, + "column": 8 + }, + "end": { + "line": 885, + "column": 29 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter's ID prefix (inputs - selects)\n * @private\n ", + "range": [ + 24942, + 25026 + ], + "loc": { + "start": { + "line": 881, + "column": 8 + }, + "end": { + "line": 884, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Button's ID prefix\n * @private\n ", + "range": [ + 25066, + 25131 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 890, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25140, + 25144 + ], + "loc": { + "start": { + "line": 891, + "column": 8 + }, + "end": { + "line": 891, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxValButton", + "range": [ + 25145, + 25158 + ], + "loc": { + "start": { + "line": 891, + "column": 13 + }, + "end": { + "line": 891, + "column": 26 + } + } + }, + "range": [ + 25140, + 25158 + ], + "loc": { + "start": { + "line": 891, + "column": 8 + }, + "end": { + "line": 891, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": "btn", + "raw": "'btn'", + "range": [ + 25161, + 25166 + ], + "loc": { + "start": { + "line": 891, + "column": 29 + }, + "end": { + "line": 891, + "column": 34 + } + } + }, + "range": [ + 25140, + 25166 + ], + "loc": { + "start": { + "line": 891, + "column": 8 + }, + "end": { + "line": 891, + "column": 34 + } + } + }, + "range": [ + 25140, + 25167 + ], + "loc": { + "start": { + "line": 891, + "column": 8 + }, + "end": { + "line": 891, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Button's ID prefix\n * @private\n ", + "range": [ + 25066, + 25131 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 890, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar container ID prefix\n * @private\n ", + "range": [ + 25177, + 25251 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 896, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25260, + 25264 + ], + "loc": { + "start": { + "line": 897, + "column": 8 + }, + "end": { + "line": 897, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxInfDiv", + "range": [ + 25265, + 25275 + ], + "loc": { + "start": { + "line": 897, + "column": 13 + }, + "end": { + "line": 897, + "column": 23 + } + } + }, + "range": [ + 25260, + 25275 + ], + "loc": { + "start": { + "line": 897, + "column": 8 + }, + "end": { + "line": 897, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "inf_", + "raw": "'inf_'", + "range": [ + 25278, + 25284 + ], + "loc": { + "start": { + "line": 897, + "column": 26 + }, + "end": { + "line": 897, + "column": 32 + } + } + }, + "range": [ + 25260, + 25284 + ], + "loc": { + "start": { + "line": 897, + "column": 8 + }, + "end": { + "line": 897, + "column": 32 + } + } + }, + "range": [ + 25260, + 25285 + ], + "loc": { + "start": { + "line": 897, + "column": 8 + }, + "end": { + "line": 897, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar container ID prefix\n * @private\n ", + "range": [ + 25177, + 25251 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 896, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar left element ID prefix\n * @private\n ", + "range": [ + 25295, + 25372 + ], + "loc": { + "start": { + "line": 899, + "column": 8 + }, + "end": { + "line": 902, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25381, + 25385 + ], + "loc": { + "start": { + "line": 903, + "column": 8 + }, + "end": { + "line": 903, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxLDiv", + "range": [ + 25386, + 25394 + ], + "loc": { + "start": { + "line": 903, + "column": 13 + }, + "end": { + "line": 903, + "column": 21 + } + } + }, + "range": [ + 25381, + 25394 + ], + "loc": { + "start": { + "line": 903, + "column": 8 + }, + "end": { + "line": 903, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "ldiv_", + "raw": "'ldiv_'", + "range": [ + 25397, + 25404 + ], + "loc": { + "start": { + "line": 903, + "column": 24 + }, + "end": { + "line": 903, + "column": 31 + } + } + }, + "range": [ + 25381, + 25404 + ], + "loc": { + "start": { + "line": 903, + "column": 8 + }, + "end": { + "line": 903, + "column": 31 + } + } + }, + "range": [ + 25381, + 25405 + ], + "loc": { + "start": { + "line": 903, + "column": 8 + }, + "end": { + "line": 903, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar left element ID prefix\n * @private\n ", + "range": [ + 25295, + 25372 + ], + "loc": { + "start": { + "line": 899, + "column": 8 + }, + "end": { + "line": 902, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar right element ID prefix\n * @private\n ", + "range": [ + 25415, + 25493 + ], + "loc": { + "start": { + "line": 905, + "column": 8 + }, + "end": { + "line": 908, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25502, + 25506 + ], + "loc": { + "start": { + "line": 909, + "column": 8 + }, + "end": { + "line": 909, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxRDiv", + "range": [ + 25507, + 25515 + ], + "loc": { + "start": { + "line": 909, + "column": 13 + }, + "end": { + "line": 909, + "column": 21 + } + } + }, + "range": [ + 25502, + 25515 + ], + "loc": { + "start": { + "line": 909, + "column": 8 + }, + "end": { + "line": 909, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "rdiv_", + "raw": "'rdiv_'", + "range": [ + 25518, + 25525 + ], + "loc": { + "start": { + "line": 909, + "column": 24 + }, + "end": { + "line": 909, + "column": 31 + } + } + }, + "range": [ + 25502, + 25525 + ], + "loc": { + "start": { + "line": 909, + "column": 8 + }, + "end": { + "line": 909, + "column": 31 + } + } + }, + "range": [ + 25502, + 25526 + ], + "loc": { + "start": { + "line": 909, + "column": 8 + }, + "end": { + "line": 909, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar right element ID prefix\n * @private\n ", + "range": [ + 25415, + 25493 + ], + "loc": { + "start": { + "line": 905, + "column": 8 + }, + "end": { + "line": 908, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar middle element ID prefix\n * @private\n ", + "range": [ + 25536, + 25615 + ], + "loc": { + "start": { + "line": 911, + "column": 8 + }, + "end": { + "line": 914, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25624, + 25628 + ], + "loc": { + "start": { + "line": 915, + "column": 8 + }, + "end": { + "line": 915, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxMDiv", + "range": [ + 25629, + 25637 + ], + "loc": { + "start": { + "line": 915, + "column": 13 + }, + "end": { + "line": 915, + "column": 21 + } + } + }, + "range": [ + 25624, + 25637 + ], + "loc": { + "start": { + "line": 915, + "column": 8 + }, + "end": { + "line": 915, + "column": 21 + } + } + }, + "right": { + "type": "Literal", + "value": "mdiv_", + "raw": "'mdiv_'", + "range": [ + 25640, + 25647 + ], + "loc": { + "start": { + "line": 915, + "column": 24 + }, + "end": { + "line": 915, + "column": 31 + } + } + }, + "range": [ + 25624, + 25647 + ], + "loc": { + "start": { + "line": 915, + "column": 8 + }, + "end": { + "line": 915, + "column": 31 + } + } + }, + "range": [ + 25624, + 25648 + ], + "loc": { + "start": { + "line": 915, + "column": 8 + }, + "end": { + "line": 915, + "column": 32 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Toolbar middle element ID prefix\n * @private\n ", + "range": [ + 25536, + 25615 + ], + "loc": { + "start": { + "line": 911, + "column": 8 + }, + "end": { + "line": 914, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Responsive Css class\n * @private\n ", + "range": [ + 25658, + 25725 + ], + "loc": { + "start": { + "line": 917, + "column": 8 + }, + "end": { + "line": 920, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25734, + 25738 + ], + "loc": { + "start": { + "line": 921, + "column": 8 + }, + "end": { + "line": 921, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxResponsive", + "range": [ + 25739, + 25753 + ], + "loc": { + "start": { + "line": 921, + "column": 13 + }, + "end": { + "line": 921, + "column": 27 + } + } + }, + "range": [ + 25734, + 25753 + ], + "loc": { + "start": { + "line": 921, + "column": 8 + }, + "end": { + "line": 921, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": "resp", + "raw": "'resp'", + "range": [ + 25756, + 25762 + ], + "loc": { + "start": { + "line": 921, + "column": 30 + }, + "end": { + "line": 921, + "column": 36 + } + } + }, + "range": [ + 25734, + 25762 + ], + "loc": { + "start": { + "line": 921, + "column": 8 + }, + "end": { + "line": 921, + "column": 36 + } + } + }, + "range": [ + 25734, + 25763 + ], + "loc": { + "start": { + "line": 921, + "column": 8 + }, + "end": { + "line": 921, + "column": 37 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Responsive Css class\n * @private\n ", + "range": [ + 25658, + 25725 + ], + "loc": { + "start": { + "line": 917, + "column": 8 + }, + "end": { + "line": 920, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** extensions **", + "range": [ + 25773, + 25793 + ], + "loc": { + "start": { + "line": 923, + "column": 8 + }, + "end": { + "line": 923, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * List of loaded extensions\n * @type {Array}\n ", + "range": [ + 25802, + 25879 + ], + "loc": { + "start": { + "line": 924, + "column": 8 + }, + "end": { + "line": 927, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 25888, + 25892 + ], + "loc": { + "start": { + "line": 928, + "column": 8 + }, + "end": { + "line": 928, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "extensions", + "range": [ + 25893, + 25903 + ], + "loc": { + "start": { + "line": 928, + "column": 13 + }, + "end": { + "line": 928, + "column": 23 + } + } + }, + "range": [ + 25888, + 25903 + ], + "loc": { + "start": { + "line": 928, + "column": 8 + }, + "end": { + "line": 928, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 25906, + 25917 + ], + "loc": { + "start": { + "line": 928, + "column": 26 + }, + "end": { + "line": 928, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 25918, + 25919 + ], + "loc": { + "start": { + "line": 928, + "column": 38 + }, + "end": { + "line": 928, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "extensions", + "range": [ + 25920, + 25930 + ], + "loc": { + "start": { + "line": 928, + "column": 40 + }, + "end": { + "line": 928, + "column": 50 + } + } + }, + "range": [ + 25918, + 25930 + ], + "loc": { + "start": { + "line": 928, + "column": 38 + }, + "end": { + "line": 928, + "column": 50 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 25932, + 25934 + ], + "loc": { + "start": { + "line": 928, + "column": 52 + }, + "end": { + "line": 928, + "column": 54 + } + } + } + ], + "range": [ + 25906, + 25935 + ], + "loc": { + "start": { + "line": 928, + "column": 26 + }, + "end": { + "line": 928, + "column": 55 + } + } + }, + "range": [ + 25888, + 25935 + ], + "loc": { + "start": { + "line": 928, + "column": 8 + }, + "end": { + "line": 928, + "column": 55 + } + } + }, + "range": [ + 25888, + 25936 + ], + "loc": { + "start": { + "line": 928, + "column": 8 + }, + "end": { + "line": 928, + "column": 56 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** extensions **", + "range": [ + 25773, + 25793 + ], + "loc": { + "start": { + "line": 923, + "column": 8 + }, + "end": { + "line": 923, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * List of loaded extensions\n * @type {Array}\n ", + "range": [ + 25802, + 25879 + ], + "loc": { + "start": { + "line": 924, + "column": 8 + }, + "end": { + "line": 927, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "** themes **", + "range": [ + 25946, + 25962 + ], + "loc": { + "start": { + "line": 930, + "column": 8 + }, + "end": { + "line": 930, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable default theme\n * @type {Boolean}\n ", + "range": [ + 25971, + 26045 + ], + "loc": { + "start": { + "line": 931, + "column": 8 + }, + "end": { + "line": 934, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26054, + 26058 + ], + "loc": { + "start": { + "line": 935, + "column": 8 + }, + "end": { + "line": 935, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableDefaultTheme", + "range": [ + 26059, + 26077 + ], + "loc": { + "start": { + "line": 935, + "column": 13 + }, + "end": { + "line": 935, + "column": 31 + } + } + }, + "range": [ + 26054, + 26077 + ], + "loc": { + "start": { + "line": 935, + "column": 8 + }, + "end": { + "line": 935, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 26080, + 26087 + ], + "loc": { + "start": { + "line": 935, + "column": 34 + }, + "end": { + "line": 935, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 26088, + 26089 + ], + "loc": { + "start": { + "line": 935, + "column": 42 + }, + "end": { + "line": 935, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable_default_theme", + "range": [ + 26090, + 26110 + ], + "loc": { + "start": { + "line": 935, + "column": 44 + }, + "end": { + "line": 935, + "column": 64 + } + } + }, + "range": [ + 26088, + 26110 + ], + "loc": { + "start": { + "line": 935, + "column": 42 + }, + "end": { + "line": 935, + "column": 64 + } + } + } + ], + "range": [ + 26080, + 26111 + ], + "loc": { + "start": { + "line": 935, + "column": 34 + }, + "end": { + "line": 935, + "column": 65 + } + } + }, + "range": [ + 26054, + 26111 + ], + "loc": { + "start": { + "line": 935, + "column": 8 + }, + "end": { + "line": 935, + "column": 65 + } + } + }, + "range": [ + 26054, + 26112 + ], + "loc": { + "start": { + "line": 935, + "column": 8 + }, + "end": { + "line": 935, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** themes **", + "range": [ + 25946, + 25962 + ], + "loc": { + "start": { + "line": 930, + "column": 8 + }, + "end": { + "line": 930, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable default theme\n * @type {Boolean}\n ", + "range": [ + 25971, + 26045 + ], + "loc": { + "start": { + "line": 931, + "column": 8 + }, + "end": { + "line": 934, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n ", + "range": [ + 26122, + 26232 + ], + "loc": { + "start": { + "line": 937, + "column": 8 + }, + "end": { + "line": 941, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26241, + 26245 + ], + "loc": { + "start": { + "line": 942, + "column": 8 + }, + "end": { + "line": 942, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasThemes", + "range": [ + 26246, + 26255 + ], + "loc": { + "start": { + "line": 942, + "column": 13 + }, + "end": { + "line": 942, + "column": 22 + } + } + }, + "range": [ + 26241, + 26255 + ], + "loc": { + "start": { + "line": 942, + "column": 8 + }, + "end": { + "line": 942, + "column": 22 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26259, + 26263 + ], + "loc": { + "start": { + "line": 942, + "column": 26 + }, + "end": { + "line": 942, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableDefaultTheme", + "range": [ + 26264, + 26282 + ], + "loc": { + "start": { + "line": 942, + "column": 31 + }, + "end": { + "line": 942, + "column": 49 + } + } + }, + "range": [ + 26259, + 26282 + ], + "loc": { + "start": { + "line": 942, + "column": 26 + }, + "end": { + "line": 942, + "column": 49 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 26286, + 26293 + ], + "loc": { + "start": { + "line": 942, + "column": 53 + }, + "end": { + "line": 942, + "column": 60 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 26294, + 26295 + ], + "loc": { + "start": { + "line": 942, + "column": 61 + }, + "end": { + "line": 942, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes", + "range": [ + 26296, + 26302 + ], + "loc": { + "start": { + "line": 942, + "column": 63 + }, + "end": { + "line": 942, + "column": 69 + } + } + }, + "range": [ + 26294, + 26302 + ], + "loc": { + "start": { + "line": 942, + "column": 61 + }, + "end": { + "line": 942, + "column": 69 + } + } + } + ], + "range": [ + 26286, + 26303 + ], + "loc": { + "start": { + "line": 942, + "column": 53 + }, + "end": { + "line": 942, + "column": 70 + } + } + }, + "range": [ + 26259, + 26303 + ], + "loc": { + "start": { + "line": 942, + "column": 26 + }, + "end": { + "line": 942, + "column": 70 + } + } + }, + "range": [ + 26241, + 26304 + ], + "loc": { + "start": { + "line": 942, + "column": 8 + }, + "end": { + "line": 942, + "column": 71 + } + } + }, + "range": [ + 26241, + 26305 + ], + "loc": { + "start": { + "line": 942, + "column": 8 + }, + "end": { + "line": 942, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n ", + "range": [ + 26122, + 26232 + ], + "loc": { + "start": { + "line": 937, + "column": 8 + }, + "end": { + "line": 941, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26315, + 26427 + ], + "loc": { + "start": { + "line": 944, + "column": 8 + }, + "end": { + "line": 948, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26436, + 26440 + ], + "loc": { + "start": { + "line": 949, + "column": 8 + }, + "end": { + "line": 949, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes", + "range": [ + 26441, + 26447 + ], + "loc": { + "start": { + "line": 949, + "column": 13 + }, + "end": { + "line": 949, + "column": 19 + } + } + }, + "range": [ + 26436, + 26447 + ], + "loc": { + "start": { + "line": 949, + "column": 8 + }, + "end": { + "line": 949, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsArr", + "range": [ + 26450, + 26461 + ], + "loc": { + "start": { + "line": 949, + "column": 22 + }, + "end": { + "line": 949, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 26462, + 26463 + ], + "loc": { + "start": { + "line": 949, + "column": 34 + }, + "end": { + "line": 949, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes", + "range": [ + 26464, + 26470 + ], + "loc": { + "start": { + "line": 949, + "column": 36 + }, + "end": { + "line": 949, + "column": 42 + } + } + }, + "range": [ + 26462, + 26470 + ], + "loc": { + "start": { + "line": 949, + "column": 34 + }, + "end": { + "line": 949, + "column": 42 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 26472, + 26474 + ], + "loc": { + "start": { + "line": 949, + "column": 44 + }, + "end": { + "line": 949, + "column": 46 + } + } + } + ], + "range": [ + 26450, + 26475 + ], + "loc": { + "start": { + "line": 949, + "column": 22 + }, + "end": { + "line": 949, + "column": 47 + } + } + }, + "range": [ + 26436, + 26475 + ], + "loc": { + "start": { + "line": 949, + "column": 8 + }, + "end": { + "line": 949, + "column": 47 + } + } + }, + "range": [ + 26436, + 26476 + ], + "loc": { + "start": { + "line": 949, + "column": 8 + }, + "end": { + "line": 949, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26315, + 26427 + ], + "loc": { + "start": { + "line": 944, + "column": 8 + }, + "end": { + "line": 948, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26486, + 26667 + ], + "loc": { + "start": { + "line": 951, + "column": 8 + }, + "end": { + "line": 956, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26676, + 26680 + ], + "loc": { + "start": { + "line": 957, + "column": 8 + }, + "end": { + "line": 957, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "themesPath", + "range": [ + 26681, + 26691 + ], + "loc": { + "start": { + "line": 957, + "column": 13 + }, + "end": { + "line": 957, + "column": 23 + } + } + }, + "range": [ + 26676, + 26691 + ], + "loc": { + "start": { + "line": 957, + "column": 8 + }, + "end": { + "line": 957, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26694, + 26698 + ], + "loc": { + "start": { + "line": 957, + "column": 26 + }, + "end": { + "line": 957, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getThemesPath", + "range": [ + 26699, + 26712 + ], + "loc": { + "start": { + "line": 957, + "column": 31 + }, + "end": { + "line": 957, + "column": 44 + } + } + }, + "range": [ + 26694, + 26712 + ], + "loc": { + "start": { + "line": 957, + "column": 26 + }, + "end": { + "line": 957, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 26694, + 26714 + ], + "loc": { + "start": { + "line": 957, + "column": 26 + }, + "end": { + "line": 957, + "column": 46 + } + } + }, + "range": [ + 26676, + 26714 + ], + "loc": { + "start": { + "line": 957, + "column": 8 + }, + "end": { + "line": 957, + "column": 46 + } + } + }, + "range": [ + 26676, + 26715 + ], + "loc": { + "start": { + "line": 957, + "column": 8 + }, + "end": { + "line": 957, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26486, + 26667 + ], + "loc": { + "start": { + "line": 951, + "column": 8 + }, + "end": { + "line": 956, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Enable responsive layout\n * @type {Boolean}\n ", + "range": [ + 26725, + 26803 + ], + "loc": { + "start": { + "line": 959, + "column": 8 + }, + "end": { + "line": 962, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26812, + 26816 + ], + "loc": { + "start": { + "line": 963, + "column": 8 + }, + "end": { + "line": 963, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "responsive", + "range": [ + 26817, + 26827 + ], + "loc": { + "start": { + "line": 963, + "column": 13 + }, + "end": { + "line": 963, + "column": 23 + } + } + }, + "range": [ + 26812, + 26827 + ], + "loc": { + "start": { + "line": 963, + "column": 8 + }, + "end": { + "line": 963, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 26830, + 26837 + ], + "loc": { + "start": { + "line": 963, + "column": 26 + }, + "end": { + "line": 963, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "f", + "range": [ + 26838, + 26839 + ], + "loc": { + "start": { + "line": 963, + "column": 34 + }, + "end": { + "line": 963, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "responsive", + "range": [ + 26840, + 26850 + ], + "loc": { + "start": { + "line": 963, + "column": 36 + }, + "end": { + "line": 963, + "column": 46 + } + } + }, + "range": [ + 26838, + 26850 + ], + "loc": { + "start": { + "line": 963, + "column": 34 + }, + "end": { + "line": 963, + "column": 46 + } + } + } + ], + "range": [ + 26830, + 26851 + ], + "loc": { + "start": { + "line": 963, + "column": 26 + }, + "end": { + "line": 963, + "column": 47 + } + } + }, + "range": [ + 26812, + 26851 + ], + "loc": { + "start": { + "line": 963, + "column": 8 + }, + "end": { + "line": 963, + "column": 47 + } + } + }, + "range": [ + 26812, + 26852 + ], + "loc": { + "start": { + "line": 963, + "column": 8 + }, + "end": { + "line": 963, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Enable responsive layout\n * @type {Boolean}\n ", + "range": [ + 26725, + 26803 + ], + "loc": { + "start": { + "line": 959, + "column": 8 + }, + "end": { + "line": 962, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Features registry\n * @private\n ", + "range": [ + 26862, + 26926 + ], + "loc": { + "start": { + "line": 965, + "column": 8 + }, + "end": { + "line": 968, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 26935, + 26939 + ], + "loc": { + "start": { + "line": 969, + "column": 8 + }, + "end": { + "line": 969, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 26940, + 26943 + ], + "loc": { + "start": { + "line": 969, + "column": 13 + }, + "end": { + "line": 969, + "column": 16 + } + } + }, + "range": [ + 26935, + 26943 + ], + "loc": { + "start": { + "line": 969, + "column": 8 + }, + "end": { + "line": 969, + "column": 16 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 26946, + 26948 + ], + "loc": { + "start": { + "line": 969, + "column": 19 + }, + "end": { + "line": 969, + "column": 21 + } + } + }, + "range": [ + 26935, + 26948 + ], + "loc": { + "start": { + "line": 969, + "column": 8 + }, + "end": { + "line": 969, + "column": 21 + } + } + }, + "range": [ + 26935, + 26949 + ], + "loc": { + "start": { + "line": 969, + "column": 8 + }, + "end": { + "line": 969, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Features registry\n * @private\n ", + "range": [ + 26862, + 26926 + ], + "loc": { + "start": { + "line": 965, + "column": 8 + }, + "end": { + "line": 968, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Extensions registry\n * @private\n ", + "range": [ + 26959, + 27025 + ], + "loc": { + "start": { + "line": 971, + "column": 8 + }, + "end": { + "line": 974, + "column": 11 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27034, + 27038 + ], + "loc": { + "start": { + "line": 975, + "column": 8 + }, + "end": { + "line": 975, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 27039, + 27050 + ], + "loc": { + "start": { + "line": 975, + "column": 13 + }, + "end": { + "line": 975, + "column": 24 + } + } + }, + "range": [ + 27034, + 27050 + ], + "loc": { + "start": { + "line": 975, + "column": 8 + }, + "end": { + "line": 975, + "column": 24 + } + } + }, + "right": { + "type": "ObjectExpression", + "properties": [], + "range": [ + 27053, + 27055 + ], + "loc": { + "start": { + "line": 975, + "column": 27 + }, + "end": { + "line": 975, + "column": 29 + } + } + }, + "range": [ + 27034, + 27055 + ], + "loc": { + "start": { + "line": 975, + "column": 8 + }, + "end": { + "line": 975, + "column": 29 + } + } + }, + "range": [ + 27034, + 27056 + ], + "loc": { + "start": { + "line": 975, + "column": 8 + }, + "end": { + "line": 975, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Extensions registry\n * @private\n ", + "range": [ + 26959, + 27025 + ], + "loc": { + "start": { + "line": 971, + "column": 8 + }, + "end": { + "line": 974, + "column": 11 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "conditionally instantiate required features", + "range": [ + 27066, + 27111 + ], + "loc": { + "start": { + "line": 977, + "column": 8 + }, + "end": { + "line": 977, + "column": 53 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27120, + 27124 + ], + "loc": { + "start": { + "line": 978, + "column": 8 + }, + "end": { + "line": 978, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "instantiateFeatures", + "range": [ + 27125, + 27144 + ], + "loc": { + "start": { + "line": 978, + "column": 13 + }, + "end": { + "line": 978, + "column": 32 + } + } + }, + "range": [ + 27120, + 27144 + ], + "loc": { + "start": { + "line": 978, + "column": 8 + }, + "end": { + "line": 978, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 27158, + 27164 + ], + "loc": { + "start": { + "line": 979, + "column": 12 + }, + "end": { + "line": 979, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 27165, + 27169 + ], + "loc": { + "start": { + "line": 979, + "column": 19 + }, + "end": { + "line": 979, + "column": 23 + } + } + }, + "range": [ + 27158, + 27169 + ], + "loc": { + "start": { + "line": 979, + "column": 12 + }, + "end": { + "line": 979, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 27170, + 27178 + ], + "loc": { + "start": { + "line": 979, + "column": 24 + }, + "end": { + "line": 979, + "column": 32 + } + } + } + ], + "range": [ + 27158, + 27179 + ], + "loc": { + "start": { + "line": 979, + "column": 12 + }, + "end": { + "line": 979, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "map", + "range": [ + 27180, + 27183 + ], + "loc": { + "start": { + "line": 979, + "column": 34 + }, + "end": { + "line": 979, + "column": 37 + } + } + }, + "range": [ + 27158, + 27183 + ], + "loc": { + "start": { + "line": 979, + "column": 12 + }, + "end": { + "line": 979, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "item", + "range": [ + 27185, + 27189 + ], + "loc": { + "start": { + "line": 979, + "column": 39 + }, + "end": { + "line": 979, + "column": 43 + } + } + } + ], + "body": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 27194, + 27202 + ], + "loc": { + "start": { + "line": 979, + "column": 48 + }, + "end": { + "line": 979, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "item", + "range": [ + 27203, + 27207 + ], + "loc": { + "start": { + "line": 979, + "column": 57 + }, + "end": { + "line": 979, + "column": 61 + } + } + }, + "range": [ + 27194, + 27208 + ], + "loc": { + "start": { + "line": 979, + "column": 48 + }, + "end": { + "line": 979, + "column": 62 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 27184, + 27208 + ], + "loc": { + "start": { + "line": 979, + "column": 38 + }, + "end": { + "line": 979, + "column": 62 + } + } + } + ], + "range": [ + 27158, + 27209 + ], + "loc": { + "start": { + "line": 979, + "column": 12 + }, + "end": { + "line": 979, + "column": 63 + } + } + } + ], + "range": [ + 27120, + 27219 + ], + "loc": { + "start": { + "line": 978, + "column": 8 + }, + "end": { + "line": 980, + "column": 9 + } + } + }, + "range": [ + 27120, + 27220 + ], + "loc": { + "start": { + "line": 978, + "column": 8 + }, + "end": { + "line": 980, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "conditionally instantiate required features", + "range": [ + 27066, + 27111 + ], + "loc": { + "start": { + "line": 977, + "column": 8 + }, + "end": { + "line": 977, + "column": 53 + } + } + } + ] + } + ], + "range": [ + 1426, + 27226 + ], + "loc": { + "start": { + "line": 47, + "column": 25 + }, + "end": { + "line": 981, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 1416, + 27226 + ], + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 981, + "column": 5 + } + } + }, + "kind": "constructor", + "computed": false, + "range": [ + 1405, + 27226 + ], + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 981, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {HTMLTableElement} 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 ", + "range": [ + 1077, + 1400 + ], + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 46, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialise features and layout\n ", + "range": [ + 27232, + 27281 + ], + "loc": { + "start": { + "line": 983, + "column": 4 + }, + "end": { + "line": 985, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "init", + "range": [ + 27286, + 27290 + ], + "loc": { + "start": { + "line": 986, + "column": 4 + }, + "end": { + "line": 986, + "column": 8 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27307, + 27311 + ], + "loc": { + "start": { + "line": 987, + "column": 12 + }, + "end": { + "line": 987, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 27312, + 27323 + ], + "loc": { + "start": { + "line": 987, + "column": 17 + }, + "end": { + "line": 987, + "column": 28 + } + } + }, + "range": [ + 27307, + 27323 + ], + "loc": { + "start": { + "line": 987, + "column": 12 + }, + "end": { + "line": 987, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 27339, + 27346 + ], + "loc": { + "start": { + "line": 988, + "column": 12 + }, + "end": { + "line": 988, + "column": 19 + } + } + } + ], + "range": [ + 27325, + 27356 + ], + "loc": { + "start": { + "line": 987, + "column": 30 + }, + "end": { + "line": 989, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 27303, + 27356 + ], + "loc": { + "start": { + "line": 987, + "column": 8 + }, + "end": { + "line": 989, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " import main stylesheet", + "range": [ + 27366, + 27391 + ], + "loc": { + "start": { + "line": 991, + "column": 8 + }, + "end": { + "line": 991, + "column": 33 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27400, + 27404 + ], + "loc": { + "start": { + "line": 992, + "column": 8 + }, + "end": { + "line": 992, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "import", + "range": [ + 27405, + 27411 + ], + "loc": { + "start": { + "line": 992, + "column": 13 + }, + "end": { + "line": 992, + "column": 19 + } + } + }, + "range": [ + 27400, + 27411 + ], + "loc": { + "start": { + "line": 992, + "column": 8 + }, + "end": { + "line": 992, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27412, + 27416 + ], + "loc": { + "start": { + "line": 992, + "column": 20 + }, + "end": { + "line": 992, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheetId", + "range": [ + 27417, + 27429 + ], + "loc": { + "start": { + "line": 992, + "column": 25 + }, + "end": { + "line": 992, + "column": 37 + } + } + }, + "range": [ + 27412, + 27429 + ], + "loc": { + "start": { + "line": 992, + "column": 20 + }, + "end": { + "line": 992, + "column": 37 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27431, + 27435 + ], + "loc": { + "start": { + "line": 992, + "column": 39 + }, + "end": { + "line": 992, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylesheetPath", + "range": [ + 27436, + 27453 + ], + "loc": { + "start": { + "line": 992, + "column": 44 + }, + "end": { + "line": 992, + "column": 61 + } + } + }, + "range": [ + 27431, + 27453 + ], + "loc": { + "start": { + "line": 992, + "column": 39 + }, + "end": { + "line": 992, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 27431, + 27455 + ], + "loc": { + "start": { + "line": 992, + "column": 39 + }, + "end": { + "line": 992, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 27457, + 27461 + ], + "loc": { + "start": { + "line": 992, + "column": 65 + }, + "end": { + "line": 992, + "column": 69 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 27463, + 27469 + ], + "loc": { + "start": { + "line": 992, + "column": 71 + }, + "end": { + "line": 992, + "column": 77 + } + } + } + ], + "range": [ + 27400, + 27470 + ], + "loc": { + "start": { + "line": 992, + "column": 8 + }, + "end": { + "line": 992, + "column": 78 + } + } + }, + "range": [ + 27400, + 27471 + ], + "loc": { + "start": { + "line": 992, + "column": 8 + }, + "end": { + "line": 992, + "column": 79 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " import main stylesheet", + "range": [ + 27366, + 27391 + ], + "loc": { + "start": { + "line": 991, + "column": 8 + }, + "end": { + "line": 991, + "column": 33 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27481, + 27485 + ], + "loc": { + "start": { + "line": 994, + "column": 8 + }, + "end": { + "line": 994, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 27486, + 27493 + ], + "loc": { + "start": { + "line": 994, + "column": 13 + }, + "end": { + "line": 994, + "column": 20 + } + } + }, + "range": [ + 27481, + 27493 + ], + "loc": { + "start": { + "line": 994, + "column": 8 + }, + "end": { + "line": 994, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27496, + 27500 + ], + "loc": { + "start": { + "line": 994, + "column": 23 + }, + "end": { + "line": 994, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 27501, + 27511 + ], + "loc": { + "start": { + "line": 994, + "column": 28 + }, + "end": { + "line": 994, + "column": 38 + } + } + }, + "range": [ + 27496, + 27511 + ], + "loc": { + "start": { + "line": 994, + "column": 23 + }, + "end": { + "line": 994, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27512, + 27516 + ], + "loc": { + "start": { + "line": 994, + "column": 39 + }, + "end": { + "line": 994, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 27517, + 27523 + ], + "loc": { + "start": { + "line": 994, + "column": 44 + }, + "end": { + "line": 994, + "column": 50 + } + } + }, + "range": [ + 27512, + 27523 + ], + "loc": { + "start": { + "line": 994, + "column": 39 + }, + "end": { + "line": 994, + "column": 50 + } + } + } + ], + "range": [ + 27496, + 27524 + ], + "loc": { + "start": { + "line": 994, + "column": 23 + }, + "end": { + "line": 994, + "column": 51 + } + } + }, + "range": [ + 27481, + 27524 + ], + "loc": { + "start": { + "line": 994, + "column": 8 + }, + "end": { + "line": 994, + "column": 51 + } + } + }, + "range": [ + 27481, + 27525 + ], + "loc": { + "start": { + "line": 994, + "column": 8 + }, + "end": { + "line": 994, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "Mod", + "range": [ + 27538, + 27541 + ], + "loc": { + "start": { + "line": 995, + "column": 12 + }, + "end": { + "line": 995, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27544, + 27548 + ], + "loc": { + "start": { + "line": 995, + "column": 18 + }, + "end": { + "line": 995, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 27549, + 27552 + ], + "loc": { + "start": { + "line": 995, + "column": 23 + }, + "end": { + "line": 995, + "column": 26 + } + } + }, + "range": [ + 27544, + 27552 + ], + "loc": { + "start": { + "line": 995, + "column": 18 + }, + "end": { + "line": 995, + "column": 26 + } + } + }, + "range": [ + 27538, + 27552 + ], + "loc": { + "start": { + "line": 995, + "column": 12 + }, + "end": { + "line": 995, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 27534, + 27553 + ], + "loc": { + "start": { + "line": 995, + "column": 8 + }, + "end": { + "line": 995, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "n", + "range": [ + 27566, + 27567 + ], + "loc": { + "start": { + "line": 996, + "column": 12 + }, + "end": { + "line": 996, + "column": 13 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27570, + 27574 + ], + "loc": { + "start": { + "line": 996, + "column": 16 + }, + "end": { + "line": 996, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 27575, + 27590 + ], + "loc": { + "start": { + "line": 996, + "column": 21 + }, + "end": { + "line": 996, + "column": 36 + } + } + }, + "range": [ + 27570, + 27590 + ], + "loc": { + "start": { + "line": 996, + "column": 16 + }, + "end": { + "line": 996, + "column": 36 + } + } + }, + "consequent": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 27593, + 27594 + ], + "loc": { + "start": { + "line": 996, + "column": 39 + }, + "end": { + "line": 996, + "column": 40 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27597, + 27601 + ], + "loc": { + "start": { + "line": 996, + "column": 43 + }, + "end": { + "line": 996, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 27602, + 27609 + ], + "loc": { + "start": { + "line": 996, + "column": 48 + }, + "end": { + "line": 996, + "column": 55 + } + } + }, + "range": [ + 27597, + 27609 + ], + "loc": { + "start": { + "line": 996, + "column": 43 + }, + "end": { + "line": 996, + "column": 55 + } + } + }, + "range": [ + 27570, + 27609 + ], + "loc": { + "start": { + "line": 996, + "column": 16 + }, + "end": { + "line": 996, + "column": 55 + } + } + }, + "range": [ + 27566, + 27609 + ], + "loc": { + "start": { + "line": 996, + "column": 12 + }, + "end": { + "line": 996, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 27562, + 27610 + ], + "loc": { + "start": { + "line": 996, + "column": 8 + }, + "end": { + "line": 996, + "column": 56 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "inpclass", + "range": [ + 27623, + 27631 + ], + "loc": { + "start": { + "line": 997, + "column": 12 + }, + "end": { + "line": 997, + "column": 20 + } + } + }, + "init": null, + "range": [ + 27623, + 27631 + ], + "loc": { + "start": { + "line": 997, + "column": 12 + }, + "end": { + "line": 997, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 27619, + 27632 + ], + "loc": { + "start": { + "line": 997, + "column": 8 + }, + "end": { + "line": 997, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "loads theme", + "range": [ + 27642, + 27655 + ], + "loc": { + "start": { + "line": 999, + "column": 8 + }, + "end": { + "line": 999, + "column": 21 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27664, + 27668 + ], + "loc": { + "start": { + "line": 1000, + "column": 8 + }, + "end": { + "line": 1000, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadThemes", + "range": [ + 27669, + 27679 + ], + "loc": { + "start": { + "line": 1000, + "column": 13 + }, + "end": { + "line": 1000, + "column": 23 + } + } + }, + "range": [ + 27664, + 27679 + ], + "loc": { + "start": { + "line": 1000, + "column": 8 + }, + "end": { + "line": 1000, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 27664, + 27681 + ], + "loc": { + "start": { + "line": 1000, + "column": 8 + }, + "end": { + "line": 1000, + "column": 25 + } + } + }, + "range": [ + 27664, + 27682 + ], + "loc": { + "start": { + "line": 1000, + "column": 8 + }, + "end": { + "line": 1000, + "column": 26 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "loads theme", + "range": [ + 27642, + 27655 + ], + "loc": { + "start": { + "line": 999, + "column": 8 + }, + "end": { + "line": 999, + "column": 21 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "dateType", + "range": [ + 27700, + 27708 + ], + "loc": { + "start": { + "line": 1002, + "column": 16 + }, + "end": { + "line": 1002, + "column": 24 + } + } + }, + "value": { + "type": "Identifier", + "name": "dateType", + "range": [ + 27700, + 27708 + ], + "loc": { + "start": { + "line": 1002, + "column": 16 + }, + "end": { + "line": 1002, + "column": 24 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27700, + 27708 + ], + "loc": { + "start": { + "line": 1002, + "column": 16 + }, + "end": { + "line": 1002, + "column": 24 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "help", + "range": [ + 27710, + 27714 + ], + "loc": { + "start": { + "line": 1002, + "column": 26 + }, + "end": { + "line": 1002, + "column": 30 + } + } + }, + "value": { + "type": "Identifier", + "name": "help", + "range": [ + 27710, + 27714 + ], + "loc": { + "start": { + "line": 1002, + "column": 26 + }, + "end": { + "line": 1002, + "column": 30 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27710, + 27714 + ], + "loc": { + "start": { + "line": 1002, + "column": 26 + }, + "end": { + "line": 1002, + "column": 30 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "state", + "range": [ + 27716, + 27721 + ], + "loc": { + "start": { + "line": 1002, + "column": 32 + }, + "end": { + "line": 1002, + "column": 37 + } + } + }, + "value": { + "type": "Identifier", + "name": "state", + "range": [ + 27716, + 27721 + ], + "loc": { + "start": { + "line": 1002, + "column": 32 + }, + "end": { + "line": 1002, + "column": 37 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27716, + 27721 + ], + "loc": { + "start": { + "line": 1002, + "column": 32 + }, + "end": { + "line": 1002, + "column": 37 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "markActiveColumns", + "range": [ + 27723, + 27740 + ], + "loc": { + "start": { + "line": 1002, + "column": 39 + }, + "end": { + "line": 1002, + "column": 56 + } + } + }, + "value": { + "type": "Identifier", + "name": "markActiveColumns", + "range": [ + 27723, + 27740 + ], + "loc": { + "start": { + "line": 1002, + "column": 39 + }, + "end": { + "line": 1002, + "column": 56 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27723, + 27740 + ], + "loc": { + "start": { + "line": 1002, + "column": 39 + }, + "end": { + "line": 1002, + "column": 56 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 27742, + 27752 + ], + "loc": { + "start": { + "line": 1002, + "column": 58 + }, + "end": { + "line": 1002, + "column": 68 + } + } + }, + "value": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 27742, + 27752 + ], + "loc": { + "start": { + "line": 1002, + "column": 58 + }, + "end": { + "line": 1002, + "column": 68 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27742, + 27752 + ], + "loc": { + "start": { + "line": 1002, + "column": 58 + }, + "end": { + "line": 1002, + "column": 68 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "loader", + "range": [ + 27754, + 27760 + ], + "loc": { + "start": { + "line": 1002, + "column": 70 + }, + "end": { + "line": 1002, + "column": 76 + } + } + }, + "value": { + "type": "Identifier", + "name": "loader", + "range": [ + 27754, + 27760 + ], + "loc": { + "start": { + "line": 1002, + "column": 70 + }, + "end": { + "line": 1002, + "column": 76 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27754, + 27760 + ], + "loc": { + "start": { + "line": 1002, + "column": 70 + }, + "end": { + "line": 1002, + "column": 76 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "highlightKeyword", + "range": [ + 27774, + 27790 + ], + "loc": { + "start": { + "line": 1003, + "column": 12 + }, + "end": { + "line": 1003, + "column": 28 + } + } + }, + "value": { + "type": "Identifier", + "name": "highlightKeyword", + "range": [ + 27774, + 27790 + ], + "loc": { + "start": { + "line": 1003, + "column": 12 + }, + "end": { + "line": 1003, + "column": 28 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27774, + 27790 + ], + "loc": { + "start": { + "line": 1003, + "column": 12 + }, + "end": { + "line": 1003, + "column": 28 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "popupFilter", + "range": [ + 27792, + 27803 + ], + "loc": { + "start": { + "line": 1003, + "column": 30 + }, + "end": { + "line": 1003, + "column": 41 + } + } + }, + "value": { + "type": "Identifier", + "name": "popupFilter", + "range": [ + 27792, + 27803 + ], + "loc": { + "start": { + "line": 1003, + "column": 30 + }, + "end": { + "line": 1003, + "column": 41 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27792, + 27803 + ], + "loc": { + "start": { + "line": 1003, + "column": 30 + }, + "end": { + "line": 1003, + "column": 41 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "rowsCounter", + "range": [ + 27805, + 27816 + ], + "loc": { + "start": { + "line": 1003, + "column": 43 + }, + "end": { + "line": 1003, + "column": 54 + } + } + }, + "value": { + "type": "Identifier", + "name": "rowsCounter", + "range": [ + 27805, + 27816 + ], + "loc": { + "start": { + "line": 1003, + "column": 43 + }, + "end": { + "line": 1003, + "column": 54 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27805, + 27816 + ], + "loc": { + "start": { + "line": 1003, + "column": 43 + }, + "end": { + "line": 1003, + "column": 54 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "statusBar", + "range": [ + 27818, + 27827 + ], + "loc": { + "start": { + "line": 1003, + "column": 56 + }, + "end": { + "line": 1003, + "column": 65 + } + } + }, + "value": { + "type": "Identifier", + "name": "statusBar", + "range": [ + 27818, + 27827 + ], + "loc": { + "start": { + "line": 1003, + "column": 56 + }, + "end": { + "line": 1003, + "column": 65 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27818, + 27827 + ], + "loc": { + "start": { + "line": 1003, + "column": 56 + }, + "end": { + "line": 1003, + "column": 65 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "clearButton", + "range": [ + 27829, + 27840 + ], + "loc": { + "start": { + "line": 1003, + "column": 67 + }, + "end": { + "line": 1003, + "column": 78 + } + } + }, + "value": { + "type": "Identifier", + "name": "clearButton", + "range": [ + 27829, + 27840 + ], + "loc": { + "start": { + "line": 1003, + "column": 67 + }, + "end": { + "line": 1003, + "column": 78 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27829, + 27840 + ], + "loc": { + "start": { + "line": 1003, + "column": 67 + }, + "end": { + "line": 1003, + "column": 78 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 27854, + 27867 + ], + "loc": { + "start": { + "line": 1004, + "column": 12 + }, + "end": { + "line": 1004, + "column": 25 + } + } + }, + "value": { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 27854, + 27867 + ], + "loc": { + "start": { + "line": 1004, + "column": 12 + }, + "end": { + "line": 1004, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27854, + 27867 + ], + "loc": { + "start": { + "line": 1004, + "column": 12 + }, + "end": { + "line": 1004, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "noResults", + "range": [ + 27869, + 27878 + ], + "loc": { + "start": { + "line": 1004, + "column": 27 + }, + "end": { + "line": 1004, + "column": 36 + } + } + }, + "value": { + "type": "Identifier", + "name": "noResults", + "range": [ + 27869, + 27878 + ], + "loc": { + "start": { + "line": 1004, + "column": 27 + }, + "end": { + "line": 1004, + "column": 36 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27869, + 27878 + ], + "loc": { + "start": { + "line": 1004, + "column": 27 + }, + "end": { + "line": 1004, + "column": 36 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "paging", + "range": [ + 27880, + 27886 + ], + "loc": { + "start": { + "line": 1004, + "column": 38 + }, + "end": { + "line": 1004, + "column": 44 + } + } + }, + "value": { + "type": "Identifier", + "name": "paging", + "range": [ + 27880, + 27886 + ], + "loc": { + "start": { + "line": 1004, + "column": 38 + }, + "end": { + "line": 1004, + "column": 44 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 27880, + 27886 + ], + "loc": { + "start": { + "line": 1004, + "column": 38 + }, + "end": { + "line": 1004, + "column": 44 + } + } + } + ], + "range": [ + 27698, + 27888 + ], + "loc": { + "start": { + "line": 1002, + "column": 14 + }, + "end": { + "line": 1004, + "column": 46 + } + } + }, + "init": { + "type": "Identifier", + "name": "FEATURES", + "range": [ + 27891, + 27899 + ], + "loc": { + "start": { + "line": 1004, + "column": 49 + }, + "end": { + "line": 1004, + "column": 57 + } + } + }, + "range": [ + 27698, + 27899 + ], + "loc": { + "start": { + "line": 1002, + "column": 14 + }, + "end": { + "line": 1004, + "column": 57 + } + } + } + ], + "kind": "const", + "range": [ + 27692, + 27900 + ], + "loc": { + "start": { + "line": 1002, + "column": 8 + }, + "end": { + "line": 1004, + "column": 58 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "explicitly initialise features in given order", + "range": [ + 27910, + 27957 + ], + "loc": { + "start": { + "line": 1006, + "column": 8 + }, + "end": { + "line": 1006, + "column": 55 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 27966, + 27970 + ], + "loc": { + "start": { + "line": 1007, + "column": 8 + }, + "end": { + "line": 1007, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initFeatures", + "range": [ + 27971, + 27983 + ], + "loc": { + "start": { + "line": 1007, + "column": 13 + }, + "end": { + "line": 1007, + "column": 25 + } + } + }, + "range": [ + 27966, + 27983 + ], + "loc": { + "start": { + "line": 1007, + "column": 8 + }, + "end": { + "line": 1007, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "dateType", + "range": [ + 27998, + 28006 + ], + "loc": { + "start": { + "line": 1008, + "column": 12 + }, + "end": { + "line": 1008, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "help", + "range": [ + 28020, + 28024 + ], + "loc": { + "start": { + "line": 1009, + "column": 12 + }, + "end": { + "line": 1009, + "column": 16 + } + } + }, + { + "type": "Identifier", + "name": "state", + "range": [ + 28038, + 28043 + ], + "loc": { + "start": { + "line": 1010, + "column": 12 + }, + "end": { + "line": 1010, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "markActiveColumns", + "range": [ + 28057, + 28074 + ], + "loc": { + "start": { + "line": 1011, + "column": 12 + }, + "end": { + "line": 1011, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 28088, + 28098 + ], + "loc": { + "start": { + "line": 1012, + "column": 12 + }, + "end": { + "line": 1012, + "column": 22 + } + } + }, + { + "type": "Identifier", + "name": "loader", + "range": [ + 28112, + 28118 + ], + "loc": { + "start": { + "line": 1013, + "column": 12 + }, + "end": { + "line": 1013, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "highlightKeyword", + "range": [ + 28132, + 28148 + ], + "loc": { + "start": { + "line": 1014, + "column": 12 + }, + "end": { + "line": 1014, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "popupFilter", + "range": [ + 28162, + 28173 + ], + "loc": { + "start": { + "line": 1015, + "column": 12 + }, + "end": { + "line": 1015, + "column": 23 + } + } + } + ], + "range": [ + 27984, + 28183 + ], + "loc": { + "start": { + "line": 1007, + "column": 26 + }, + "end": { + "line": 1016, + "column": 9 + } + } + } + ], + "range": [ + 27966, + 28184 + ], + "loc": { + "start": { + "line": 1007, + "column": 8 + }, + "end": { + "line": 1016, + "column": 10 + } + } + }, + "range": [ + 27966, + 28185 + ], + "loc": { + "start": { + "line": 1007, + "column": 8 + }, + "end": { + "line": 1016, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "explicitly initialise features in given order", + "range": [ + 27910, + 27957 + ], + "loc": { + "start": { + "line": 1006, + "column": 8 + }, + "end": { + "line": 1006, + "column": 55 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "filters grid is not generated", + "range": [ + 28195, + 28226 + ], + "loc": { + "start": { + "line": 1018, + "column": 8 + }, + "end": { + "line": 1018, + "column": 39 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28240, + 28244 + ], + "loc": { + "start": { + "line": 1019, + "column": 13 + }, + "end": { + "line": 1019, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 28245, + 28252 + ], + "loc": { + "start": { + "line": 1019, + "column": 18 + }, + "end": { + "line": 1019, + "column": 25 + } + } + }, + "range": [ + 28240, + 28252 + ], + "loc": { + "start": { + "line": 1019, + "column": 13 + }, + "end": { + "line": 1019, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 28239, + 28252 + ], + "loc": { + "start": { + "line": 1019, + "column": 12 + }, + "end": { + "line": 1019, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28268, + 28272 + ], + "loc": { + "start": { + "line": 1020, + "column": 12 + }, + "end": { + "line": 1020, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "_initNoFilters", + "range": [ + 28273, + 28287 + ], + "loc": { + "start": { + "line": 1020, + "column": 17 + }, + "end": { + "line": 1020, + "column": 31 + } + } + }, + "range": [ + 28268, + 28287 + ], + "loc": { + "start": { + "line": 1020, + "column": 12 + }, + "end": { + "line": 1020, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 28268, + 28289 + ], + "loc": { + "start": { + "line": 1020, + "column": 12 + }, + "end": { + "line": 1020, + "column": 33 + } + } + }, + "range": [ + 28268, + 28290 + ], + "loc": { + "start": { + "line": 1020, + "column": 12 + }, + "end": { + "line": 1020, + "column": 34 + } + } + } + ], + "range": [ + 28254, + 28300 + ], + "loc": { + "start": { + "line": 1019, + "column": 27 + }, + "end": { + "line": 1021, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 28324, + 28330 + ], + "loc": { + "start": { + "line": 1022, + "column": 16 + }, + "end": { + "line": 1022, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28333, + 28337 + ], + "loc": { + "start": { + "line": 1022, + "column": 25 + }, + "end": { + "line": 1022, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "_insertFiltersRow", + "range": [ + 28338, + 28355 + ], + "loc": { + "start": { + "line": 1022, + "column": 30 + }, + "end": { + "line": 1022, + "column": 47 + } + } + }, + "range": [ + 28333, + 28355 + ], + "loc": { + "start": { + "line": 1022, + "column": 25 + }, + "end": { + "line": 1022, + "column": 47 + } + } + }, + "arguments": [], + "range": [ + 28333, + 28357 + ], + "loc": { + "start": { + "line": 1022, + "column": 25 + }, + "end": { + "line": 1022, + "column": 49 + } + } + }, + "range": [ + 28324, + 28357 + ], + "loc": { + "start": { + "line": 1022, + "column": 16 + }, + "end": { + "line": 1022, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 28320, + 28358 + ], + "loc": { + "start": { + "line": 1022, + "column": 12 + }, + "end": { + "line": 1022, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28372, + 28376 + ], + "loc": { + "start": { + "line": 1024, + "column": 12 + }, + "end": { + "line": 1024, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 28377, + 28393 + ], + "loc": { + "start": { + "line": 1024, + "column": 17 + }, + "end": { + "line": 1024, + "column": 33 + } + } + }, + "range": [ + 28372, + 28393 + ], + "loc": { + "start": { + "line": 1024, + "column": 12 + }, + "end": { + "line": 1024, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28396, + 28400 + ], + "loc": { + "start": { + "line": 1024, + "column": 36 + }, + "end": { + "line": 1024, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 28401, + 28410 + ], + "loc": { + "start": { + "line": 1024, + "column": 41 + }, + "end": { + "line": 1024, + "column": 50 + } + } + }, + "range": [ + 28396, + 28410 + ], + "loc": { + "start": { + "line": 1024, + "column": 36 + }, + "end": { + "line": 1024, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 28396, + 28412 + ], + "loc": { + "start": { + "line": 1024, + "column": 36 + }, + "end": { + "line": 1024, + "column": 52 + } + } + }, + "range": [ + 28372, + 28412 + ], + "loc": { + "start": { + "line": 1024, + "column": 12 + }, + "end": { + "line": 1024, + "column": 52 + } + } + }, + "range": [ + 28372, + 28413 + ], + "loc": { + "start": { + "line": 1024, + "column": 12 + }, + "end": { + "line": 1024, + "column": 53 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Generate filters", + "range": [ + 28427, + 28446 + ], + "loc": { + "start": { + "line": 1026, + "column": 12 + }, + "end": { + "line": 1026, + "column": 31 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 28468, + 28469 + ], + "loc": { + "start": { + "line": 1027, + "column": 21 + }, + "end": { + "line": 1027, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 28472, + 28473 + ], + "loc": { + "start": { + "line": 1027, + "column": 25 + }, + "end": { + "line": 1027, + "column": 26 + } + } + }, + "range": [ + 28468, + 28473 + ], + "loc": { + "start": { + "line": 1027, + "column": 21 + }, + "end": { + "line": 1027, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 28464, + 28473 + ], + "loc": { + "start": { + "line": 1027, + "column": 17 + }, + "end": { + "line": 1027, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 28475, + 28476 + ], + "loc": { + "start": { + "line": 1027, + "column": 28 + }, + "end": { + "line": 1027, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "n", + "range": [ + 28479, + 28480 + ], + "loc": { + "start": { + "line": 1027, + "column": 32 + }, + "end": { + "line": 1027, + "column": 33 + } + } + }, + "range": [ + 28475, + 28480 + ], + "loc": { + "start": { + "line": 1027, + "column": 28 + }, + "end": { + "line": 1027, + "column": 33 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 28482, + 28483 + ], + "loc": { + "start": { + "line": 1027, + "column": 35 + }, + "end": { + "line": 1027, + "column": 36 + } + } + }, + "prefix": false, + "range": [ + 28482, + 28485 + ], + "loc": { + "start": { + "line": 1027, + "column": 35 + }, + "end": { + "line": 1027, + "column": 38 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28505, + 28509 + ], + "loc": { + "start": { + "line": 1028, + "column": 16 + }, + "end": { + "line": 1028, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 28510, + 28517 + ], + "loc": { + "start": { + "line": 1028, + "column": 21 + }, + "end": { + "line": 1028, + "column": 28 + } + } + }, + "range": [ + 28505, + 28517 + ], + "loc": { + "start": { + "line": 1028, + "column": 16 + }, + "end": { + "line": 1028, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 28518, + 28522 + ], + "loc": { + "start": { + "line": 1028, + "column": 29 + }, + "end": { + "line": 1028, + "column": 33 + } + } + }, + "range": [ + 28505, + 28522 + ], + "loc": { + "start": { + "line": 1028, + "column": 16 + }, + "end": { + "line": 1028, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-filter-init", + "raw": "'before-filter-init'", + "range": [ + 28523, + 28543 + ], + "loc": { + "start": { + "line": 1028, + "column": 34 + }, + "end": { + "line": 1028, + "column": 54 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 28545, + 28549 + ], + "loc": { + "start": { + "line": 1028, + "column": 56 + }, + "end": { + "line": 1028, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 28551, + 28552 + ], + "loc": { + "start": { + "line": 1028, + "column": 62 + }, + "end": { + "line": 1028, + "column": 63 + } + } + } + ], + "range": [ + 28505, + 28553 + ], + "loc": { + "start": { + "line": 1028, + "column": 16 + }, + "end": { + "line": 1028, + "column": 64 + } + } + }, + "range": [ + 28505, + 28554 + ], + "loc": { + "start": { + "line": 1028, + "column": 16 + }, + "end": { + "line": 1028, + "column": 65 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltcell", + "range": [ + 28576, + 28583 + ], + "loc": { + "start": { + "line": 1030, + "column": 20 + }, + "end": { + "line": 1030, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 28586, + 28595 + ], + "loc": { + "start": { + "line": 1030, + "column": 30 + }, + "end": { + "line": 1030, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28596, + 28600 + ], + "loc": { + "start": { + "line": 1030, + "column": 40 + }, + "end": { + "line": 1030, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCellTag", + "range": [ + 28601, + 28611 + ], + "loc": { + "start": { + "line": 1030, + "column": 45 + }, + "end": { + "line": 1030, + "column": 55 + } + } + }, + "range": [ + 28596, + 28611 + ], + "loc": { + "start": { + "line": 1030, + "column": 40 + }, + "end": { + "line": 1030, + "column": 55 + } + } + } + ], + "range": [ + 28586, + 28612 + ], + "loc": { + "start": { + "line": 1030, + "column": 30 + }, + "end": { + "line": 1030, + "column": 56 + } + } + }, + "range": [ + 28576, + 28612 + ], + "loc": { + "start": { + "line": 1030, + "column": 20 + }, + "end": { + "line": 1030, + "column": 56 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 28634, + 28637 + ], + "loc": { + "start": { + "line": 1031, + "column": 20 + }, + "end": { + "line": 1031, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28640, + 28644 + ], + "loc": { + "start": { + "line": 1031, + "column": 26 + }, + "end": { + "line": 1031, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 28645, + 28658 + ], + "loc": { + "start": { + "line": 1031, + "column": 31 + }, + "end": { + "line": 1031, + "column": 44 + } + } + }, + "range": [ + 28640, + 28658 + ], + "loc": { + "start": { + "line": 1031, + "column": 26 + }, + "end": { + "line": 1031, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 28659, + 28660 + ], + "loc": { + "start": { + "line": 1031, + "column": 45 + }, + "end": { + "line": 1031, + "column": 46 + } + } + } + ], + "range": [ + 28640, + 28661 + ], + "loc": { + "start": { + "line": 1031, + "column": 26 + }, + "end": { + "line": 1031, + "column": 47 + } + } + }, + "range": [ + 28634, + 28661 + ], + "loc": { + "start": { + "line": 1031, + "column": 20 + }, + "end": { + "line": 1031, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 28572, + 28662 + ], + "loc": { + "start": { + "line": 1030, + "column": 16 + }, + "end": { + "line": 1031, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28684, + 28688 + ], + "loc": { + "start": { + "line": 1033, + "column": 20 + }, + "end": { + "line": 1033, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 28689, + 28704 + ], + "loc": { + "start": { + "line": 1033, + "column": 25 + }, + "end": { + "line": 1033, + "column": 40 + } + } + }, + "range": [ + 28684, + 28704 + ], + "loc": { + "start": { + "line": 1033, + "column": 20 + }, + "end": { + "line": 1033, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltcell", + "range": [ + 28728, + 28735 + ], + "loc": { + "start": { + "line": 1034, + "column": 20 + }, + "end": { + "line": 1034, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "colSpan", + "range": [ + 28736, + 28743 + ], + "loc": { + "start": { + "line": 1034, + "column": 28 + }, + "end": { + "line": 1034, + "column": 35 + } + } + }, + "range": [ + 28728, + 28743 + ], + "loc": { + "start": { + "line": 1034, + "column": 20 + }, + "end": { + "line": 1034, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28746, + 28750 + ], + "loc": { + "start": { + "line": 1034, + "column": 38 + }, + "end": { + "line": 1034, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 28751, + 28758 + ], + "loc": { + "start": { + "line": 1034, + "column": 43 + }, + "end": { + "line": 1034, + "column": 50 + } + } + }, + "range": [ + 28746, + 28758 + ], + "loc": { + "start": { + "line": 1034, + "column": 38 + }, + "end": { + "line": 1034, + "column": 50 + } + } + }, + "range": [ + 28728, + 28758 + ], + "loc": { + "start": { + "line": 1034, + "column": 20 + }, + "end": { + "line": 1034, + "column": 50 + } + } + }, + "range": [ + 28728, + 28759 + ], + "loc": { + "start": { + "line": 1034, + "column": 20 + }, + "end": { + "line": 1034, + "column": 51 + } + } + } + ], + "range": [ + 28706, + 28777 + ], + "loc": { + "start": { + "line": 1033, + "column": 42 + }, + "end": { + "line": 1035, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 28680, + 28777 + ], + "loc": { + "start": { + "line": 1033, + "column": 16 + }, + "end": { + "line": 1035, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28799, + 28803 + ], + "loc": { + "start": { + "line": 1036, + "column": 21 + }, + "end": { + "line": 1036, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 28804, + 28814 + ], + "loc": { + "start": { + "line": 1036, + "column": 26 + }, + "end": { + "line": 1036, + "column": 36 + } + } + }, + "range": [ + 28799, + 28814 + ], + "loc": { + "start": { + "line": 1036, + "column": 21 + }, + "end": { + "line": 1036, + "column": 36 + } + } + }, + "prefix": true, + "range": [ + 28798, + 28814 + ], + "loc": { + "start": { + "line": 1036, + "column": 20 + }, + "end": { + "line": 1036, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 28838, + 28844 + ], + "loc": { + "start": { + "line": 1037, + "column": 20 + }, + "end": { + "line": 1037, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 28845, + 28856 + ], + "loc": { + "start": { + "line": 1037, + "column": 27 + }, + "end": { + "line": 1037, + "column": 38 + } + } + }, + "range": [ + 28838, + 28856 + ], + "loc": { + "start": { + "line": 1037, + "column": 20 + }, + "end": { + "line": 1037, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltcell", + "range": [ + 28857, + 28864 + ], + "loc": { + "start": { + "line": 1037, + "column": 39 + }, + "end": { + "line": 1037, + "column": 46 + } + } + } + ], + "range": [ + 28838, + 28865 + ], + "loc": { + "start": { + "line": 1037, + "column": 20 + }, + "end": { + "line": 1037, + "column": 47 + } + } + }, + "range": [ + 28838, + 28866 + ], + "loc": { + "start": { + "line": 1037, + "column": 20 + }, + "end": { + "line": 1037, + "column": 48 + } + } + } + ], + "range": [ + 28816, + 28884 + ], + "loc": { + "start": { + "line": 1036, + "column": 38 + }, + "end": { + "line": 1038, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 28794, + 28884 + ], + "loc": { + "start": { + "line": 1036, + "column": 16 + }, + "end": { + "line": 1038, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "inpclass", + "range": [ + 28901, + 28909 + ], + "loc": { + "start": { + "line": 1039, + "column": 16 + }, + "end": { + "line": 1039, + "column": 24 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 28913, + 28914 + ], + "loc": { + "start": { + "line": 1039, + "column": 28 + }, + "end": { + "line": 1039, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 28919, + 28920 + ], + "loc": { + "start": { + "line": 1039, + "column": 34 + }, + "end": { + "line": 1039, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 28923, + 28924 + ], + "loc": { + "start": { + "line": 1039, + "column": 38 + }, + "end": { + "line": 1039, + "column": 39 + } + } + }, + "range": [ + 28919, + 28924 + ], + "loc": { + "start": { + "line": 1039, + "column": 34 + }, + "end": { + "line": 1039, + "column": 39 + } + } + }, + "range": [ + 28913, + 28924 + ], + "loc": { + "start": { + "line": 1039, + "column": 28 + }, + "end": { + "line": 1039, + "column": 39 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28928, + 28932 + ], + "loc": { + "start": { + "line": 1039, + "column": 43 + }, + "end": { + "line": 1039, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "displayBtn", + "range": [ + 28933, + 28943 + ], + "loc": { + "start": { + "line": 1039, + "column": 48 + }, + "end": { + "line": 1039, + "column": 58 + } + } + }, + "range": [ + 28928, + 28943 + ], + "loc": { + "start": { + "line": 1039, + "column": 43 + }, + "end": { + "line": 1039, + "column": 58 + } + } + }, + "range": [ + 28913, + 28943 + ], + "loc": { + "start": { + "line": 1039, + "column": 28 + }, + "end": { + "line": 1039, + "column": 58 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28967, + 28971 + ], + "loc": { + "start": { + "line": 1040, + "column": 20 + }, + "end": { + "line": 1040, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltSmallCssClass", + "range": [ + 28972, + 28988 + ], + "loc": { + "start": { + "line": 1040, + "column": 25 + }, + "end": { + "line": 1040, + "column": 41 + } + } + }, + "range": [ + 28967, + 28988 + ], + "loc": { + "start": { + "line": 1040, + "column": 20 + }, + "end": { + "line": 1040, + "column": 41 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 28991, + 28995 + ], + "loc": { + "start": { + "line": 1040, + "column": 44 + }, + "end": { + "line": 1040, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCssClass", + "range": [ + 28996, + 29007 + ], + "loc": { + "start": { + "line": 1040, + "column": 49 + }, + "end": { + "line": 1040, + "column": 60 + } + } + }, + "range": [ + 28991, + 29007 + ], + "loc": { + "start": { + "line": 1040, + "column": 44 + }, + "end": { + "line": 1040, + "column": 60 + } + } + }, + "range": [ + 28912, + 29007 + ], + "loc": { + "start": { + "line": 1039, + "column": 27 + }, + "end": { + "line": 1040, + "column": 60 + } + } + }, + "range": [ + 28901, + 29007 + ], + "loc": { + "start": { + "line": 1039, + "column": 16 + }, + "end": { + "line": 1040, + "column": 60 + } + } + }, + "range": [ + 28901, + 29008 + ], + "loc": { + "start": { + "line": 1039, + "column": 16 + }, + "end": { + "line": 1040, + "column": 61 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "only 1 input for single search", + "range": [ + 29026, + 29058 + ], + "loc": { + "start": { + "line": 1042, + "column": 16 + }, + "end": { + "line": 1042, + "column": 48 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29079, + 29083 + ], + "loc": { + "start": { + "line": 1043, + "column": 20 + }, + "end": { + "line": 1043, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 29084, + 29099 + ], + "loc": { + "start": { + "line": 1043, + "column": 25 + }, + "end": { + "line": 1043, + "column": 40 + } + } + }, + "range": [ + 29079, + 29099 + ], + "loc": { + "start": { + "line": 1043, + "column": 20 + }, + "end": { + "line": 1043, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 29123, + 29126 + ], + "loc": { + "start": { + "line": 1044, + "column": 20 + }, + "end": { + "line": 1044, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 29129, + 29134 + ], + "loc": { + "start": { + "line": 1044, + "column": 26 + }, + "end": { + "line": 1044, + "column": 31 + } + } + }, + "range": [ + 29123, + 29134 + ], + "loc": { + "start": { + "line": 1044, + "column": 20 + }, + "end": { + "line": 1044, + "column": 31 + } + } + }, + "range": [ + 29123, + 29135 + ], + "loc": { + "start": { + "line": 1044, + "column": 20 + }, + "end": { + "line": 1044, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "inpclass", + "range": [ + 29156, + 29164 + ], + "loc": { + "start": { + "line": 1045, + "column": 20 + }, + "end": { + "line": 1045, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29167, + 29171 + ], + "loc": { + "start": { + "line": 1045, + "column": 31 + }, + "end": { + "line": 1045, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleFltCssClass", + "range": [ + 29172, + 29189 + ], + "loc": { + "start": { + "line": 1045, + "column": 36 + }, + "end": { + "line": 1045, + "column": 53 + } + } + }, + "range": [ + 29167, + 29189 + ], + "loc": { + "start": { + "line": 1045, + "column": 31 + }, + "end": { + "line": 1045, + "column": 53 + } + } + }, + "range": [ + 29156, + 29189 + ], + "loc": { + "start": { + "line": 1045, + "column": 20 + }, + "end": { + "line": 1045, + "column": 53 + } + } + }, + "range": [ + 29156, + 29190 + ], + "loc": { + "start": { + "line": 1045, + "column": 20 + }, + "end": { + "line": 1045, + "column": 54 + } + } + } + ], + "range": [ + 29101, + 29208 + ], + "loc": { + "start": { + "line": 1043, + "column": 42 + }, + "end": { + "line": 1046, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 29075, + 29208 + ], + "loc": { + "start": { + "line": 1043, + "column": 16 + }, + "end": { + "line": 1046, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "only 1 input for single search", + "range": [ + 29026, + 29058 + ], + "loc": { + "start": { + "line": 1042, + "column": 16 + }, + "end": { + "line": 1042, + "column": 48 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "drop-down filters", + "range": [ + 29226, + 29245 + ], + "loc": { + "start": { + "line": 1048, + "column": 16 + }, + "end": { + "line": 1048, + "column": 35 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 29266, + 29269 + ], + "loc": { + "start": { + "line": 1049, + "column": 20 + }, + "end": { + "line": 1049, + "column": 23 + } + } + }, + "right": { + "type": "Identifier", + "name": "SELECT", + "range": [ + 29274, + 29280 + ], + "loc": { + "start": { + "line": 1049, + "column": 28 + }, + "end": { + "line": 1049, + "column": 34 + } + } + }, + "range": [ + 29266, + 29280 + ], + "loc": { + "start": { + "line": 1049, + "column": 20 + }, + "end": { + "line": 1049, + "column": 34 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 29284, + 29287 + ], + "loc": { + "start": { + "line": 1049, + "column": 38 + }, + "end": { + "line": 1049, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 29292, + 29300 + ], + "loc": { + "start": { + "line": 1049, + "column": 46 + }, + "end": { + "line": 1049, + "column": 54 + } + } + }, + "range": [ + 29284, + 29300 + ], + "loc": { + "start": { + "line": 1049, + "column": 38 + }, + "end": { + "line": 1049, + "column": 54 + } + } + }, + "range": [ + 29266, + 29300 + ], + "loc": { + "start": { + "line": 1049, + "column": 20 + }, + "end": { + "line": 1049, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29324, + 29327 + ], + "loc": { + "start": { + "line": 1050, + "column": 20 + }, + "end": { + "line": 1050, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dropdown", + "range": [ + 29328, + 29336 + ], + "loc": { + "start": { + "line": 1050, + "column": 24 + }, + "end": { + "line": 1050, + "column": 32 + } + } + }, + "range": [ + 29324, + 29336 + ], + "loc": { + "start": { + "line": 1050, + "column": 20 + }, + "end": { + "line": 1050, + "column": 32 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29339, + 29342 + ], + "loc": { + "start": { + "line": 1050, + "column": 35 + }, + "end": { + "line": 1050, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "dropdown", + "range": [ + 29343, + 29351 + ], + "loc": { + "start": { + "line": 1050, + "column": 39 + }, + "end": { + "line": 1050, + "column": 47 + } + } + }, + "range": [ + 29339, + 29351 + ], + "loc": { + "start": { + "line": 1050, + "column": 35 + }, + "end": { + "line": 1050, + "column": 47 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Dropdown", + "range": [ + 29359, + 29367 + ], + "loc": { + "start": { + "line": 1050, + "column": 55 + }, + "end": { + "line": 1050, + "column": 63 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 29368, + 29372 + ], + "loc": { + "start": { + "line": 1050, + "column": 64 + }, + "end": { + "line": 1050, + "column": 68 + } + } + } + ], + "range": [ + 29355, + 29373 + ], + "loc": { + "start": { + "line": 1050, + "column": 51 + }, + "end": { + "line": 1050, + "column": 69 + } + } + }, + "range": [ + 29339, + 29373 + ], + "loc": { + "start": { + "line": 1050, + "column": 35 + }, + "end": { + "line": 1050, + "column": 69 + } + } + }, + "range": [ + 29324, + 29373 + ], + "loc": { + "start": { + "line": 1050, + "column": 20 + }, + "end": { + "line": 1050, + "column": 69 + } + } + }, + "range": [ + 29324, + 29374 + ], + "loc": { + "start": { + "line": 1050, + "column": 20 + }, + "end": { + "line": 1050, + "column": 70 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29395, + 29398 + ], + "loc": { + "start": { + "line": 1051, + "column": 20 + }, + "end": { + "line": 1051, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dropdown", + "range": [ + 29399, + 29407 + ], + "loc": { + "start": { + "line": 1051, + "column": 24 + }, + "end": { + "line": 1051, + "column": 32 + } + } + }, + "range": [ + 29395, + 29407 + ], + "loc": { + "start": { + "line": 1051, + "column": 20 + }, + "end": { + "line": 1051, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 29408, + 29412 + ], + "loc": { + "start": { + "line": 1051, + "column": 33 + }, + "end": { + "line": 1051, + "column": 37 + } + } + }, + "range": [ + 29395, + 29412 + ], + "loc": { + "start": { + "line": 1051, + "column": 20 + }, + "end": { + "line": 1051, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 29413, + 29414 + ], + "loc": { + "start": { + "line": 1051, + "column": 38 + }, + "end": { + "line": 1051, + "column": 39 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29416, + 29420 + ], + "loc": { + "start": { + "line": 1051, + "column": 41 + }, + "end": { + "line": 1051, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 29421, + 29434 + ], + "loc": { + "start": { + "line": 1051, + "column": 46 + }, + "end": { + "line": 1051, + "column": 59 + } + } + }, + "range": [ + 29416, + 29434 + ], + "loc": { + "start": { + "line": 1051, + "column": 41 + }, + "end": { + "line": 1051, + "column": 59 + } + } + }, + "arguments": [], + "range": [ + 29416, + 29436 + ], + "loc": { + "start": { + "line": 1051, + "column": 41 + }, + "end": { + "line": 1051, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "fltcell", + "range": [ + 29438, + 29445 + ], + "loc": { + "start": { + "line": 1051, + "column": 63 + }, + "end": { + "line": 1051, + "column": 70 + } + } + } + ], + "range": [ + 29395, + 29446 + ], + "loc": { + "start": { + "line": 1051, + "column": 20 + }, + "end": { + "line": 1051, + "column": 71 + } + } + }, + "range": [ + 29395, + 29447 + ], + "loc": { + "start": { + "line": 1051, + "column": 20 + }, + "end": { + "line": 1051, + "column": 72 + } + } + } + ], + "range": [ + 29302, + 29465 + ], + "loc": { + "start": { + "line": 1049, + "column": 56 + }, + "end": { + "line": 1052, + "column": 17 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checklist", + "range": [ + 29482, + 29494 + ], + "loc": { + "start": { + "line": 1053, + "column": 16 + }, + "end": { + "line": 1053, + "column": 28 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 29520, + 29523 + ], + "loc": { + "start": { + "line": 1054, + "column": 25 + }, + "end": { + "line": 1054, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 29528, + 29537 + ], + "loc": { + "start": { + "line": 1054, + "column": 33 + }, + "end": { + "line": 1054, + "column": 42 + } + } + }, + "range": [ + 29520, + 29537 + ], + "loc": { + "start": { + "line": 1054, + "column": 25 + }, + "end": { + "line": 1054, + "column": 42 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29561, + 29564 + ], + "loc": { + "start": { + "line": 1055, + "column": 20 + }, + "end": { + "line": 1055, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "checkList", + "range": [ + 29565, + 29574 + ], + "loc": { + "start": { + "line": 1055, + "column": 24 + }, + "end": { + "line": 1055, + "column": 33 + } + } + }, + "range": [ + 29561, + 29574 + ], + "loc": { + "start": { + "line": 1055, + "column": 20 + }, + "end": { + "line": 1055, + "column": 33 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29577, + 29580 + ], + "loc": { + "start": { + "line": 1055, + "column": 36 + }, + "end": { + "line": 1055, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "checkList", + "range": [ + 29581, + 29590 + ], + "loc": { + "start": { + "line": 1055, + "column": 40 + }, + "end": { + "line": 1055, + "column": 49 + } + } + }, + "range": [ + 29577, + 29590 + ], + "loc": { + "start": { + "line": 1055, + "column": 36 + }, + "end": { + "line": 1055, + "column": 49 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "CheckList", + "range": [ + 29598, + 29607 + ], + "loc": { + "start": { + "line": 1055, + "column": 57 + }, + "end": { + "line": 1055, + "column": 66 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 29608, + 29612 + ], + "loc": { + "start": { + "line": 1055, + "column": 67 + }, + "end": { + "line": 1055, + "column": 71 + } + } + } + ], + "range": [ + 29594, + 29613 + ], + "loc": { + "start": { + "line": 1055, + "column": 53 + }, + "end": { + "line": 1055, + "column": 72 + } + } + }, + "range": [ + 29577, + 29613 + ], + "loc": { + "start": { + "line": 1055, + "column": 36 + }, + "end": { + "line": 1055, + "column": 72 + } + } + }, + "range": [ + 29561, + 29613 + ], + "loc": { + "start": { + "line": 1055, + "column": 20 + }, + "end": { + "line": 1055, + "column": 72 + } + } + }, + "range": [ + 29561, + 29614 + ], + "loc": { + "start": { + "line": 1055, + "column": 20 + }, + "end": { + "line": 1055, + "column": 73 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Mod", + "range": [ + 29635, + 29638 + ], + "loc": { + "start": { + "line": 1056, + "column": 20 + }, + "end": { + "line": 1056, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "checkList", + "range": [ + 29639, + 29648 + ], + "loc": { + "start": { + "line": 1056, + "column": 24 + }, + "end": { + "line": 1056, + "column": 33 + } + } + }, + "range": [ + 29635, + 29648 + ], + "loc": { + "start": { + "line": 1056, + "column": 20 + }, + "end": { + "line": 1056, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 29649, + 29653 + ], + "loc": { + "start": { + "line": 1056, + "column": 34 + }, + "end": { + "line": 1056, + "column": 38 + } + } + }, + "range": [ + 29635, + 29653 + ], + "loc": { + "start": { + "line": 1056, + "column": 20 + }, + "end": { + "line": 1056, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 29654, + 29655 + ], + "loc": { + "start": { + "line": 1056, + "column": 39 + }, + "end": { + "line": 1056, + "column": 40 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29657, + 29661 + ], + "loc": { + "start": { + "line": 1056, + "column": 42 + }, + "end": { + "line": 1056, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 29662, + 29675 + ], + "loc": { + "start": { + "line": 1056, + "column": 47 + }, + "end": { + "line": 1056, + "column": 60 + } + } + }, + "range": [ + 29657, + 29675 + ], + "loc": { + "start": { + "line": 1056, + "column": 42 + }, + "end": { + "line": 1056, + "column": 60 + } + } + }, + "arguments": [], + "range": [ + 29657, + 29677 + ], + "loc": { + "start": { + "line": 1056, + "column": 42 + }, + "end": { + "line": 1056, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "fltcell", + "range": [ + 29679, + 29686 + ], + "loc": { + "start": { + "line": 1056, + "column": 64 + }, + "end": { + "line": 1056, + "column": 71 + } + } + } + ], + "range": [ + 29635, + 29687 + ], + "loc": { + "start": { + "line": 1056, + "column": 20 + }, + "end": { + "line": 1056, + "column": 72 + } + } + }, + "range": [ + 29635, + 29688 + ], + "loc": { + "start": { + "line": 1056, + "column": 20 + }, + "end": { + "line": 1056, + "column": 73 + } + } + } + ], + "range": [ + 29539, + 29706 + ], + "loc": { + "start": { + "line": 1054, + "column": 44 + }, + "end": { + "line": 1057, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29734, + 29738 + ], + "loc": { + "start": { + "line": 1058, + "column": 20 + }, + "end": { + "line": 1058, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "_buildInputFilter", + "range": [ + 29739, + 29756 + ], + "loc": { + "start": { + "line": 1058, + "column": 25 + }, + "end": { + "line": 1058, + "column": 42 + } + } + }, + "range": [ + 29734, + 29756 + ], + "loc": { + "start": { + "line": 1058, + "column": 20 + }, + "end": { + "line": 1058, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 29757, + 29758 + ], + "loc": { + "start": { + "line": 1058, + "column": 43 + }, + "end": { + "line": 1058, + "column": 44 + } + } + }, + { + "type": "Identifier", + "name": "inpclass", + "range": [ + 29760, + 29768 + ], + "loc": { + "start": { + "line": 1058, + "column": 46 + }, + "end": { + "line": 1058, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "fltcell", + "range": [ + 29770, + 29777 + ], + "loc": { + "start": { + "line": 1058, + "column": 56 + }, + "end": { + "line": 1058, + "column": 63 + } + } + } + ], + "range": [ + 29734, + 29778 + ], + "loc": { + "start": { + "line": 1058, + "column": 20 + }, + "end": { + "line": 1058, + "column": 64 + } + } + }, + "range": [ + 29734, + 29779 + ], + "loc": { + "start": { + "line": 1058, + "column": 20 + }, + "end": { + "line": 1058, + "column": 65 + } + } + } + ], + "range": [ + 29712, + 29797 + ], + "loc": { + "start": { + "line": 1057, + "column": 23 + }, + "end": { + "line": 1059, + "column": 17 + } + } + }, + "range": [ + 29516, + 29797 + ], + "loc": { + "start": { + "line": 1054, + "column": 21 + }, + "end": { + "line": 1059, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checklist", + "range": [ + 29482, + 29494 + ], + "loc": { + "start": { + "line": 1053, + "column": 16 + }, + "end": { + "line": 1053, + "column": 28 + } + } + } + ] + }, + "range": [ + 29262, + 29797 + ], + "loc": { + "start": { + "line": 1049, + "column": 16 + }, + "end": { + "line": 1059, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "drop-down filters", + "range": [ + 29226, + 29245 + ], + "loc": { + "start": { + "line": 1048, + "column": 16 + }, + "end": { + "line": 1048, + "column": 35 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " this adds submit button", + "range": [ + 29815, + 29841 + ], + "loc": { + "start": { + "line": 1061, + "column": 16 + }, + "end": { + "line": 1061, + "column": 42 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 29862, + 29863 + ], + "loc": { + "start": { + "line": 1062, + "column": 20 + }, + "end": { + "line": 1062, + "column": 21 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "n", + "range": [ + 29868, + 29869 + ], + "loc": { + "start": { + "line": 1062, + "column": 26 + }, + "end": { + "line": 1062, + "column": 27 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 29872, + 29873 + ], + "loc": { + "start": { + "line": 1062, + "column": 30 + }, + "end": { + "line": 1062, + "column": 31 + } + } + }, + "range": [ + 29868, + 29873 + ], + "loc": { + "start": { + "line": 1062, + "column": 26 + }, + "end": { + "line": 1062, + "column": 31 + } + } + }, + "range": [ + 29862, + 29873 + ], + "loc": { + "start": { + "line": 1062, + "column": 20 + }, + "end": { + "line": 1062, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29877, + 29881 + ], + "loc": { + "start": { + "line": 1062, + "column": 35 + }, + "end": { + "line": 1062, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "displayBtn", + "range": [ + 29882, + 29892 + ], + "loc": { + "start": { + "line": 1062, + "column": 40 + }, + "end": { + "line": 1062, + "column": 50 + } + } + }, + "range": [ + 29877, + 29892 + ], + "loc": { + "start": { + "line": 1062, + "column": 35 + }, + "end": { + "line": 1062, + "column": 50 + } + } + }, + "range": [ + 29862, + 29892 + ], + "loc": { + "start": { + "line": 1062, + "column": 20 + }, + "end": { + "line": 1062, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29916, + 29920 + ], + "loc": { + "start": { + "line": 1063, + "column": 20 + }, + "end": { + "line": 1063, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "_buildSubmitButton", + "range": [ + 29921, + 29939 + ], + "loc": { + "start": { + "line": 1063, + "column": 25 + }, + "end": { + "line": 1063, + "column": 43 + } + } + }, + "range": [ + 29916, + 29939 + ], + "loc": { + "start": { + "line": 1063, + "column": 20 + }, + "end": { + "line": 1063, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 29940, + 29941 + ], + "loc": { + "start": { + "line": 1063, + "column": 44 + }, + "end": { + "line": 1063, + "column": 45 + } + } + }, + { + "type": "Identifier", + "name": "fltcell", + "range": [ + 29943, + 29950 + ], + "loc": { + "start": { + "line": 1063, + "column": 47 + }, + "end": { + "line": 1063, + "column": 54 + } + } + } + ], + "range": [ + 29916, + 29951 + ], + "loc": { + "start": { + "line": 1063, + "column": 20 + }, + "end": { + "line": 1063, + "column": 55 + } + } + }, + "range": [ + 29916, + 29952 + ], + "loc": { + "start": { + "line": 1063, + "column": 20 + }, + "end": { + "line": 1063, + "column": 56 + } + } + } + ], + "range": [ + 29894, + 29970 + ], + "loc": { + "start": { + "line": 1062, + "column": 52 + }, + "end": { + "line": 1064, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 29858, + 29970 + ], + "loc": { + "start": { + "line": 1062, + "column": 16 + }, + "end": { + "line": 1064, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " this adds submit button", + "range": [ + 29815, + 29841 + ], + "loc": { + "start": { + "line": 1061, + "column": 16 + }, + "end": { + "line": 1061, + "column": 42 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 29988, + 29992 + ], + "loc": { + "start": { + "line": 1066, + "column": 16 + }, + "end": { + "line": 1066, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 29993, + 30000 + ], + "loc": { + "start": { + "line": 1066, + "column": 21 + }, + "end": { + "line": 1066, + "column": 28 + } + } + }, + "range": [ + 29988, + 30000 + ], + "loc": { + "start": { + "line": 1066, + "column": 16 + }, + "end": { + "line": 1066, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 30001, + 30005 + ], + "loc": { + "start": { + "line": 1066, + "column": 29 + }, + "end": { + "line": 1066, + "column": 33 + } + } + }, + "range": [ + 29988, + 30005 + ], + "loc": { + "start": { + "line": 1066, + "column": 16 + }, + "end": { + "line": 1066, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-filter-init", + "raw": "'after-filter-init'", + "range": [ + 30006, + 30025 + ], + "loc": { + "start": { + "line": 1066, + "column": 34 + }, + "end": { + "line": 1066, + "column": 53 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 30027, + 30031 + ], + "loc": { + "start": { + "line": 1066, + "column": 55 + }, + "end": { + "line": 1066, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 30033, + 30034 + ], + "loc": { + "start": { + "line": 1066, + "column": 61 + }, + "end": { + "line": 1066, + "column": 62 + } + } + } + ], + "range": [ + 29988, + 30035 + ], + "loc": { + "start": { + "line": 1066, + "column": 16 + }, + "end": { + "line": 1066, + "column": 63 + } + } + }, + "range": [ + 29988, + 30036 + ], + "loc": { + "start": { + "line": 1066, + "column": 16 + }, + "end": { + "line": 1066, + "column": 64 + } + } + } + ], + "range": [ + 28487, + 30050 + ], + "loc": { + "start": { + "line": 1027, + "column": 40 + }, + "end": { + "line": 1067, + "column": 13 + } + } + }, + "range": [ + 28459, + 30050 + ], + "loc": { + "start": { + "line": 1027, + "column": 12 + }, + "end": { + "line": 1067, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Generate filters", + "range": [ + 28427, + 28446 + ], + "loc": { + "start": { + "line": 1026, + "column": 12 + }, + "end": { + "line": 1026, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30064, + 30068 + ], + "loc": { + "start": { + "line": 1069, + "column": 12 + }, + "end": { + "line": 1069, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 30069, + 30076 + ], + "loc": { + "start": { + "line": 1069, + "column": 17 + }, + "end": { + "line": 1069, + "column": 24 + } + } + }, + "range": [ + 30064, + 30076 + ], + "loc": { + "start": { + "line": 1069, + "column": 12 + }, + "end": { + "line": 1069, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 30077, + 30079 + ], + "loc": { + "start": { + "line": 1069, + "column": 25 + }, + "end": { + "line": 1069, + "column": 27 + } + } + }, + "range": [ + 30064, + 30079 + ], + "loc": { + "start": { + "line": 1069, + "column": 12 + }, + "end": { + "line": 1069, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 30081, + 30095 + ], + "loc": { + "start": { + "line": 1069, + "column": 29 + }, + "end": { + "line": 1069, + "column": 43 + } + } + } + ], + "range": [ + 30080, + 30096 + ], + "loc": { + "start": { + "line": 1069, + "column": 28 + }, + "end": { + "line": 1069, + "column": 44 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 30115, + 30117 + ], + "loc": { + "start": { + "line": 1070, + "column": 17 + }, + "end": { + "line": 1070, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "filter", + "range": [ + 30119, + 30125 + ], + "loc": { + "start": { + "line": 1070, + "column": 21 + }, + "end": { + "line": 1070, + "column": 27 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30130, + 30134 + ], + "loc": { + "start": { + "line": 1070, + "column": 32 + }, + "end": { + "line": 1070, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "setActiveFilterId", + "range": [ + 30135, + 30152 + ], + "loc": { + "start": { + "line": 1070, + "column": 37 + }, + "end": { + "line": 1070, + "column": 54 + } + } + }, + "range": [ + 30130, + 30152 + ], + "loc": { + "start": { + "line": 1070, + "column": 32 + }, + "end": { + "line": 1070, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filter", + "range": [ + 30153, + 30159 + ], + "loc": { + "start": { + "line": 1070, + "column": 55 + }, + "end": { + "line": 1070, + "column": 61 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 30160, + 30162 + ], + "loc": { + "start": { + "line": 1070, + "column": 62 + }, + "end": { + "line": 1070, + "column": 64 + } + } + }, + "range": [ + 30153, + 30162 + ], + "loc": { + "start": { + "line": 1070, + "column": 55 + }, + "end": { + "line": 1070, + "column": 64 + } + } + } + ], + "range": [ + 30130, + 30163 + ], + "loc": { + "start": { + "line": 1070, + "column": 32 + }, + "end": { + "line": 1070, + "column": 65 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 30114, + 30163 + ], + "loc": { + "start": { + "line": 1070, + "column": 16 + }, + "end": { + "line": 1070, + "column": 65 + } + } + } + ], + "range": [ + 30064, + 30164 + ], + "loc": { + "start": { + "line": 1069, + "column": 12 + }, + "end": { + "line": 1070, + "column": 66 + } + } + }, + "range": [ + 30064, + 30165 + ], + "loc": { + "start": { + "line": 1069, + "column": 12 + }, + "end": { + "line": 1070, + "column": 67 + } + } + } + ], + "range": [ + 28306, + 30176 + ], + "loc": { + "start": { + "line": 1021, + "column": 15 + }, + "end": { + "line": 1072, + "column": 9 + } + } + }, + "range": [ + 28235, + 30176 + ], + "loc": { + "start": { + "line": 1019, + "column": 8 + }, + "end": { + "line": 1072, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filters grid is not generated", + "range": [ + 28195, + 28226 + ], + "loc": { + "start": { + "line": 1018, + "column": 8 + }, + "end": { + "line": 1018, + "column": 39 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "if this.fltGrid", + "range": [ + 30176, + 30193 + ], + "loc": { + "start": { + "line": 1072, + "column": 9 + }, + "end": { + "line": 1072, + "column": 26 + } + } + }, + { + "type": "Block", + "value": " Features ", + "range": [ + 30203, + 30217 + ], + "loc": { + "start": { + "line": 1074, + "column": 8 + }, + "end": { + "line": 1074, + "column": 22 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30230, + 30234 + ], + "loc": { + "start": { + "line": 1075, + "column": 12 + }, + "end": { + "line": 1075, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 30235, + 30249 + ], + "loc": { + "start": { + "line": 1075, + "column": 17 + }, + "end": { + "line": 1075, + "column": 31 + } + } + }, + "range": [ + 30230, + 30249 + ], + "loc": { + "start": { + "line": 1075, + "column": 12 + }, + "end": { + "line": 1075, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30265, + 30269 + ], + "loc": { + "start": { + "line": 1076, + "column": 12 + }, + "end": { + "line": 1076, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 30270, + 30277 + ], + "loc": { + "start": { + "line": 1076, + "column": 17 + }, + "end": { + "line": 1076, + "column": 24 + } + } + }, + "range": [ + 30265, + 30277 + ], + "loc": { + "start": { + "line": 1076, + "column": 12 + }, + "end": { + "line": 1076, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 30278, + 30280 + ], + "loc": { + "start": { + "line": 1076, + "column": 25 + }, + "end": { + "line": 1076, + "column": 27 + } + } + }, + "range": [ + 30265, + 30280 + ], + "loc": { + "start": { + "line": 1076, + "column": 12 + }, + "end": { + "line": 1076, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 30282, + 30299 + ], + "loc": { + "start": { + "line": 1076, + "column": 29 + }, + "end": { + "line": 1076, + "column": 46 + } + } + } + ], + "range": [ + 30281, + 30300 + ], + "loc": { + "start": { + "line": 1076, + "column": 28 + }, + "end": { + "line": 1076, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30324, + 30328 + ], + "loc": { + "start": { + "line": 1077, + "column": 22 + }, + "end": { + "line": 1077, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "enforceVisibility", + "range": [ + 30329, + 30346 + ], + "loc": { + "start": { + "line": 1077, + "column": 27 + }, + "end": { + "line": 1077, + "column": 44 + } + } + }, + "range": [ + 30324, + 30346 + ], + "loc": { + "start": { + "line": 1077, + "column": 22 + }, + "end": { + "line": 1077, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 30324, + 30348 + ], + "loc": { + "start": { + "line": 1077, + "column": 22 + }, + "end": { + "line": 1077, + "column": 46 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 30318, + 30348 + ], + "loc": { + "start": { + "line": 1077, + "column": 16 + }, + "end": { + "line": 1077, + "column": 46 + } + } + } + ], + "range": [ + 30265, + 30349 + ], + "loc": { + "start": { + "line": 1076, + "column": 12 + }, + "end": { + "line": 1077, + "column": 47 + } + } + }, + "range": [ + 30265, + 30350 + ], + "loc": { + "start": { + "line": 1076, + "column": 12 + }, + "end": { + "line": 1077, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30363, + 30367 + ], + "loc": { + "start": { + "line": 1078, + "column": 12 + }, + "end": { + "line": 1078, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enforceVisibility", + "range": [ + 30368, + 30385 + ], + "loc": { + "start": { + "line": 1078, + "column": 17 + }, + "end": { + "line": 1078, + "column": 34 + } + } + }, + "range": [ + 30363, + 30385 + ], + "loc": { + "start": { + "line": 1078, + "column": 12 + }, + "end": { + "line": 1078, + "column": 34 + } + } + }, + "arguments": [], + "range": [ + 30363, + 30387 + ], + "loc": { + "start": { + "line": 1078, + "column": 12 + }, + "end": { + "line": 1078, + "column": 36 + } + } + }, + "range": [ + 30363, + 30388 + ], + "loc": { + "start": { + "line": 1078, + "column": 12 + }, + "end": { + "line": 1078, + "column": 37 + } + } + } + ], + "range": [ + 30251, + 30398 + ], + "loc": { + "start": { + "line": 1075, + "column": 33 + }, + "end": { + "line": 1079, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 30226, + 30398 + ], + "loc": { + "start": { + "line": 1075, + "column": 8 + }, + "end": { + "line": 1079, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "if this.fltGrid", + "range": [ + 30176, + 30193 + ], + "loc": { + "start": { + "line": 1072, + "column": 9 + }, + "end": { + "line": 1072, + "column": 26 + } + } + }, + { + "type": "Block", + "value": " Features ", + "range": [ + 30203, + 30217 + ], + "loc": { + "start": { + "line": 1074, + "column": 8 + }, + "end": { + "line": 1074, + "column": 22 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30408, + 30412 + ], + "loc": { + "start": { + "line": 1081, + "column": 8 + }, + "end": { + "line": 1081, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initFeatures", + "range": [ + 30413, + 30425 + ], + "loc": { + "start": { + "line": 1081, + "column": 13 + }, + "end": { + "line": 1081, + "column": 25 + } + } + }, + "range": [ + 30408, + 30425 + ], + "loc": { + "start": { + "line": 1081, + "column": 8 + }, + "end": { + "line": 1081, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "rowsCounter", + "range": [ + 30440, + 30451 + ], + "loc": { + "start": { + "line": 1082, + "column": 12 + }, + "end": { + "line": 1082, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "statusBar", + "range": [ + 30465, + 30474 + ], + "loc": { + "start": { + "line": 1083, + "column": 12 + }, + "end": { + "line": 1083, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "clearButton", + "range": [ + 30488, + 30499 + ], + "loc": { + "start": { + "line": 1084, + "column": 12 + }, + "end": { + "line": 1084, + "column": 23 + } + } + }, + { + "type": "Identifier", + "name": "alternateRows", + "range": [ + 30513, + 30526 + ], + "loc": { + "start": { + "line": 1085, + "column": 12 + }, + "end": { + "line": 1085, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "noResults", + "range": [ + 30540, + 30549 + ], + "loc": { + "start": { + "line": 1086, + "column": 12 + }, + "end": { + "line": 1086, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "paging", + "range": [ + 30563, + 30569 + ], + "loc": { + "start": { + "line": 1087, + "column": 12 + }, + "end": { + "line": 1087, + "column": 18 + } + } + } + ], + "range": [ + 30426, + 30579 + ], + "loc": { + "start": { + "line": 1081, + "column": 26 + }, + "end": { + "line": 1088, + "column": 9 + } + } + } + ], + "range": [ + 30408, + 30580 + ], + "loc": { + "start": { + "line": 1081, + "column": 8 + }, + "end": { + "line": 1088, + "column": 10 + } + } + }, + "range": [ + 30408, + 30581 + ], + "loc": { + "start": { + "line": 1081, + "column": 8 + }, + "end": { + "line": 1088, + "column": 11 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30591, + 30595 + ], + "loc": { + "start": { + "line": 1090, + "column": 8 + }, + "end": { + "line": 1090, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setColWidths", + "range": [ + 30596, + 30608 + ], + "loc": { + "start": { + "line": 1090, + "column": 13 + }, + "end": { + "line": 1090, + "column": 25 + } + } + }, + "range": [ + 30591, + 30608 + ], + "loc": { + "start": { + "line": 1090, + "column": 8 + }, + "end": { + "line": 1090, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 30591, + 30610 + ], + "loc": { + "start": { + "line": 1090, + "column": 8 + }, + "end": { + "line": 1090, + "column": 27 + } + } + }, + "range": [ + 30591, + 30611 + ], + "loc": { + "start": { + "line": 1090, + "column": 8 + }, + "end": { + "line": 1090, + "column": 28 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "TF css class is added to table", + "range": [ + 30621, + 30653 + ], + "loc": { + "start": { + "line": 1092, + "column": 8 + }, + "end": { + "line": 1092, + "column": 40 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30667, + 30671 + ], + "loc": { + "start": { + "line": 1093, + "column": 13 + }, + "end": { + "line": 1093, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 30672, + 30682 + ], + "loc": { + "start": { + "line": 1093, + "column": 18 + }, + "end": { + "line": 1093, + "column": 28 + } + } + }, + "range": [ + 30667, + 30682 + ], + "loc": { + "start": { + "line": 1093, + "column": 13 + }, + "end": { + "line": 1093, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 30666, + 30682 + ], + "loc": { + "start": { + "line": 1093, + "column": 12 + }, + "end": { + "line": 1093, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 30698, + 30706 + ], + "loc": { + "start": { + "line": 1094, + "column": 12 + }, + "end": { + "line": 1094, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30707, + 30711 + ], + "loc": { + "start": { + "line": 1094, + "column": 21 + }, + "end": { + "line": 1094, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 30712, + 30715 + ], + "loc": { + "start": { + "line": 1094, + "column": 26 + }, + "end": { + "line": 1094, + "column": 29 + } + } + }, + "range": [ + 30707, + 30715 + ], + "loc": { + "start": { + "line": 1094, + "column": 21 + }, + "end": { + "line": 1094, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 30707, + 30717 + ], + "loc": { + "start": { + "line": 1094, + "column": 21 + }, + "end": { + "line": 1094, + "column": 31 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30719, + 30723 + ], + "loc": { + "start": { + "line": 1094, + "column": 33 + }, + "end": { + "line": 1094, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 30724, + 30730 + ], + "loc": { + "start": { + "line": 1094, + "column": 38 + }, + "end": { + "line": 1094, + "column": 44 + } + } + }, + "range": [ + 30719, + 30730 + ], + "loc": { + "start": { + "line": 1094, + "column": 33 + }, + "end": { + "line": 1094, + "column": 44 + } + } + } + ], + "range": [ + 30698, + 30731 + ], + "loc": { + "start": { + "line": 1094, + "column": 12 + }, + "end": { + "line": 1094, + "column": 45 + } + } + }, + "range": [ + 30698, + 30732 + ], + "loc": { + "start": { + "line": 1094, + "column": 12 + }, + "end": { + "line": 1094, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30749, + 30753 + ], + "loc": { + "start": { + "line": 1095, + "column": 16 + }, + "end": { + "line": 1095, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "responsive", + "range": [ + 30754, + 30764 + ], + "loc": { + "start": { + "line": 1095, + "column": 21 + }, + "end": { + "line": 1095, + "column": 31 + } + } + }, + "range": [ + 30749, + 30764 + ], + "loc": { + "start": { + "line": 1095, + "column": 16 + }, + "end": { + "line": 1095, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addClass", + "range": [ + 30784, + 30792 + ], + "loc": { + "start": { + "line": 1096, + "column": 16 + }, + "end": { + "line": 1096, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30793, + 30797 + ], + "loc": { + "start": { + "line": 1096, + "column": 25 + }, + "end": { + "line": 1096, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 30798, + 30801 + ], + "loc": { + "start": { + "line": 1096, + "column": 30 + }, + "end": { + "line": 1096, + "column": 33 + } + } + }, + "range": [ + 30793, + 30801 + ], + "loc": { + "start": { + "line": 1096, + "column": 25 + }, + "end": { + "line": 1096, + "column": 33 + } + } + }, + "arguments": [], + "range": [ + 30793, + 30803 + ], + "loc": { + "start": { + "line": 1096, + "column": 25 + }, + "end": { + "line": 1096, + "column": 35 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30805, + 30809 + ], + "loc": { + "start": { + "line": 1096, + "column": 37 + }, + "end": { + "line": 1096, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxResponsive", + "range": [ + 30810, + 30824 + ], + "loc": { + "start": { + "line": 1096, + "column": 42 + }, + "end": { + "line": 1096, + "column": 56 + } + } + }, + "range": [ + 30805, + 30824 + ], + "loc": { + "start": { + "line": 1096, + "column": 37 + }, + "end": { + "line": 1096, + "column": 56 + } + } + } + ], + "range": [ + 30784, + 30825 + ], + "loc": { + "start": { + "line": 1096, + "column": 16 + }, + "end": { + "line": 1096, + "column": 57 + } + } + }, + "range": [ + 30784, + 30826 + ], + "loc": { + "start": { + "line": 1096, + "column": 16 + }, + "end": { + "line": 1096, + "column": 58 + } + } + } + ], + "range": [ + 30766, + 30840 + ], + "loc": { + "start": { + "line": 1095, + "column": 33 + }, + "end": { + "line": 1097, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 30745, + 30840 + ], + "loc": { + "start": { + "line": 1095, + "column": 12 + }, + "end": { + "line": 1097, + "column": 13 + } + } + } + ], + "range": [ + 30684, + 30850 + ], + "loc": { + "start": { + "line": 1093, + "column": 30 + }, + "end": { + "line": 1098, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 30662, + 30850 + ], + "loc": { + "start": { + "line": 1093, + "column": 8 + }, + "end": { + "line": 1098, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "TF css class is added to table", + "range": [ + 30621, + 30653 + ], + "loc": { + "start": { + "line": 1092, + "column": 8 + }, + "end": { + "line": 1092, + "column": 40 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " Load extensions ", + "range": [ + 30860, + 30881 + ], + "loc": { + "start": { + "line": 1100, + "column": 8 + }, + "end": { + "line": 1100, + "column": 29 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30890, + 30894 + ], + "loc": { + "start": { + "line": 1101, + "column": 8 + }, + "end": { + "line": 1101, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initExtensions", + "range": [ + 30895, + 30909 + ], + "loc": { + "start": { + "line": 1101, + "column": 13 + }, + "end": { + "line": 1101, + "column": 27 + } + } + }, + "range": [ + 30890, + 30909 + ], + "loc": { + "start": { + "line": 1101, + "column": 8 + }, + "end": { + "line": 1101, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 30890, + 30911 + ], + "loc": { + "start": { + "line": 1101, + "column": 8 + }, + "end": { + "line": 1101, + "column": 29 + } + } + }, + "range": [ + 30890, + 30912 + ], + "loc": { + "start": { + "line": 1101, + "column": 8 + }, + "end": { + "line": 1101, + "column": 30 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " Load extensions ", + "range": [ + 30860, + 30881 + ], + "loc": { + "start": { + "line": 1100, + "column": 8 + }, + "end": { + "line": 1100, + "column": 29 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 30922, + 30944 + ], + "loc": { + "start": { + "line": 1103, + "column": 8 + }, + "end": { + "line": 1103, + "column": 30 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30957, + 30961 + ], + "loc": { + "start": { + "line": 1104, + "column": 12 + }, + "end": { + "line": 1104, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 30962, + 30975 + ], + "loc": { + "start": { + "line": 1104, + "column": 17 + }, + "end": { + "line": 1104, + "column": 30 + } + } + }, + "range": [ + 30957, + 30975 + ], + "loc": { + "start": { + "line": 1104, + "column": 12 + }, + "end": { + "line": 1104, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 30991, + 30995 + ], + "loc": { + "start": { + "line": 1105, + "column": 12 + }, + "end": { + "line": 1105, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 30996, + 31003 + ], + "loc": { + "start": { + "line": 1105, + "column": 17 + }, + "end": { + "line": 1105, + "column": 24 + } + } + }, + "range": [ + 30991, + 31003 + ], + "loc": { + "start": { + "line": 1105, + "column": 12 + }, + "end": { + "line": 1105, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "on", + "range": [ + 31004, + 31006 + ], + "loc": { + "start": { + "line": 1105, + "column": 25 + }, + "end": { + "line": 1105, + "column": 27 + } + } + }, + "range": [ + 30991, + 31006 + ], + "loc": { + "start": { + "line": 1105, + "column": 12 + }, + "end": { + "line": 1105, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 31008, + 31025 + ], + "loc": { + "start": { + "line": 1105, + "column": 29 + }, + "end": { + "line": 1105, + "column": 46 + } + } + } + ], + "range": [ + 31007, + 31026 + ], + "loc": { + "start": { + "line": 1105, + "column": 28 + }, + "end": { + "line": 1105, + "column": 47 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31034, + 31038 + ], + "loc": { + "start": { + "line": 1105, + "column": 55 + }, + "end": { + "line": 1105, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkFilters", + "range": [ + 31039, + 31050 + ], + "loc": { + "start": { + "line": 1105, + "column": 60 + }, + "end": { + "line": 1105, + "column": 71 + } + } + }, + "range": [ + 31034, + 31050 + ], + "loc": { + "start": { + "line": 1105, + "column": 55 + }, + "end": { + "line": 1105, + "column": 71 + } + } + }, + "arguments": [], + "range": [ + 31034, + 31052 + ], + "loc": { + "start": { + "line": 1105, + "column": 55 + }, + "end": { + "line": 1105, + "column": 73 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 31028, + 31052 + ], + "loc": { + "start": { + "line": 1105, + "column": 49 + }, + "end": { + "line": 1105, + "column": 73 + } + } + } + ], + "range": [ + 30991, + 31053 + ], + "loc": { + "start": { + "line": 1105, + "column": 12 + }, + "end": { + "line": 1105, + "column": 74 + } + } + }, + "range": [ + 30991, + 31054 + ], + "loc": { + "start": { + "line": 1105, + "column": 12 + }, + "end": { + "line": 1105, + "column": 75 + } + } + } + ], + "range": [ + 30977, + 31064 + ], + "loc": { + "start": { + "line": 1104, + "column": 32 + }, + "end": { + "line": 1106, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 30953, + 31064 + ], + "loc": { + "start": { + "line": 1104, + "column": 8 + }, + "end": { + "line": 1106, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 30922, + 30944 + ], + "loc": { + "start": { + "line": 1103, + "column": 8 + }, + "end": { + "line": 1103, + "column": 30 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31074, + 31078 + ], + "loc": { + "start": { + "line": 1108, + "column": 8 + }, + "end": { + "line": 1108, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 31079, + 31090 + ], + "loc": { + "start": { + "line": 1108, + "column": 13 + }, + "end": { + "line": 1108, + "column": 24 + } + } + }, + "range": [ + 31074, + 31090 + ], + "loc": { + "start": { + "line": 1108, + "column": 8 + }, + "end": { + "line": 1108, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 31093, + 31097 + ], + "loc": { + "start": { + "line": 1108, + "column": 27 + }, + "end": { + "line": 1108, + "column": 31 + } + } + }, + "range": [ + 31074, + 31097 + ], + "loc": { + "start": { + "line": 1108, + "column": 8 + }, + "end": { + "line": 1108, + "column": 31 + } + } + }, + "range": [ + 31074, + 31098 + ], + "loc": { + "start": { + "line": 1108, + "column": 8 + }, + "end": { + "line": 1108, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31108, + 31112 + ], + "loc": { + "start": { + "line": 1110, + "column": 8 + }, + "end": { + "line": 1110, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onFiltersLoaded", + "range": [ + 31113, + 31128 + ], + "loc": { + "start": { + "line": 1110, + "column": 13 + }, + "end": { + "line": 1110, + "column": 28 + } + } + }, + "range": [ + 31108, + 31128 + ], + "loc": { + "start": { + "line": 1110, + "column": 8 + }, + "end": { + "line": 1110, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 31129, + 31133 + ], + "loc": { + "start": { + "line": 1110, + "column": 29 + }, + "end": { + "line": 1110, + "column": 33 + } + } + } + ], + "range": [ + 31108, + 31134 + ], + "loc": { + "start": { + "line": 1110, + "column": 8 + }, + "end": { + "line": 1110, + "column": 34 + } + } + }, + "range": [ + 31108, + 31135 + ], + "loc": { + "start": { + "line": 1110, + "column": 8 + }, + "end": { + "line": 1110, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31145, + 31149 + ], + "loc": { + "start": { + "line": 1112, + "column": 8 + }, + "end": { + "line": 1112, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 31150, + 31157 + ], + "loc": { + "start": { + "line": 1112, + "column": 13 + }, + "end": { + "line": 1112, + "column": 20 + } + } + }, + "range": [ + 31145, + 31157 + ], + "loc": { + "start": { + "line": 1112, + "column": 8 + }, + "end": { + "line": 1112, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 31158, + 31162 + ], + "loc": { + "start": { + "line": 1112, + "column": 21 + }, + "end": { + "line": 1112, + "column": 25 + } + } + }, + "range": [ + 31145, + 31162 + ], + "loc": { + "start": { + "line": 1112, + "column": 8 + }, + "end": { + "line": 1112, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "initialized", + "raw": "'initialized'", + "range": [ + 31163, + 31176 + ], + "loc": { + "start": { + "line": 1112, + "column": 26 + }, + "end": { + "line": 1112, + "column": 39 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 31178, + 31182 + ], + "loc": { + "start": { + "line": 1112, + "column": 41 + }, + "end": { + "line": 1112, + "column": 45 + } + } + } + ], + "range": [ + 31145, + 31183 + ], + "loc": { + "start": { + "line": 1112, + "column": 8 + }, + "end": { + "line": 1112, + "column": 46 + } + } + }, + "range": [ + 31145, + 31184 + ], + "loc": { + "start": { + "line": 1112, + "column": 8 + }, + "end": { + "line": 1112, + "column": 47 + } + } + } + ], + "range": [ + 27293, + 31190 + ], + "loc": { + "start": { + "line": 986, + "column": 11 + }, + "end": { + "line": 1113, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 27290, + 31190 + ], + "loc": { + "start": { + "line": 986, + "column": 8 + }, + "end": { + "line": 1113, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 27286, + 31190 + ], + "loc": { + "start": { + "line": 986, + "column": 4 + }, + "end": { + "line": 1113, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialise features and layout\n ", + "range": [ + 27232, + 27281 + ], + "loc": { + "start": { + "line": 983, + "column": 4 + }, + "end": { + "line": 985, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Detect key\n * @param {Event} evt\n ", + "range": [ + 31196, + 31259 + ], + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1118, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "detectKey", + "range": [ + 31264, + 31273 + ], + "loc": { + "start": { + "line": 1119, + "column": 4 + }, + "end": { + "line": 1119, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31274, + 31277 + ], + "loc": { + "start": { + "line": 1119, + "column": 14 + }, + "end": { + "line": 1119, + "column": 17 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31294, + 31298 + ], + "loc": { + "start": { + "line": 1120, + "column": 13 + }, + "end": { + "line": 1120, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "enterKey", + "range": [ + 31299, + 31307 + ], + "loc": { + "start": { + "line": 1120, + "column": 18 + }, + "end": { + "line": 1120, + "column": 26 + } + } + }, + "range": [ + 31294, + 31307 + ], + "loc": { + "start": { + "line": 1120, + "column": 13 + }, + "end": { + "line": 1120, + "column": 26 + } + } + }, + "prefix": true, + "range": [ + 31293, + 31307 + ], + "loc": { + "start": { + "line": 1120, + "column": 12 + }, + "end": { + "line": 1120, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 31323, + 31330 + ], + "loc": { + "start": { + "line": 1121, + "column": 12 + }, + "end": { + "line": 1121, + "column": 19 + } + } + } + ], + "range": [ + 31309, + 31340 + ], + "loc": { + "start": { + "line": 1120, + "column": 28 + }, + "end": { + "line": 1122, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 31289, + 31340 + ], + "loc": { + "start": { + "line": 1120, + "column": 8 + }, + "end": { + "line": 1122, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "evt", + "range": [ + 31353, + 31356 + ], + "loc": { + "start": { + "line": 1123, + "column": 12 + }, + "end": { + "line": 1123, + "column": 15 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 31376, + 31379 + ], + "loc": { + "start": { + "line": 1124, + "column": 16 + }, + "end": { + "line": 1124, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 31382, + 31389 + ], + "loc": { + "start": { + "line": 1124, + "column": 22 + }, + "end": { + "line": 1124, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31390, + 31393 + ], + "loc": { + "start": { + "line": 1124, + "column": 30 + }, + "end": { + "line": 1124, + "column": 33 + } + } + } + ], + "range": [ + 31382, + 31394 + ], + "loc": { + "start": { + "line": 1124, + "column": 22 + }, + "end": { + "line": 1124, + "column": 34 + } + } + }, + "range": [ + 31376, + 31394 + ], + "loc": { + "start": { + "line": 1124, + "column": 16 + }, + "end": { + "line": 1124, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 31372, + 31395 + ], + "loc": { + "start": { + "line": 1124, + "column": 12 + }, + "end": { + "line": 1124, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 31412, + 31415 + ], + "loc": { + "start": { + "line": 1125, + "column": 16 + }, + "end": { + "line": 1125, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 31420, + 31429 + ], + "loc": { + "start": { + "line": 1125, + "column": 24 + }, + "end": { + "line": 1125, + "column": 33 + } + } + }, + "range": [ + 31412, + 31429 + ], + "loc": { + "start": { + "line": 1125, + "column": 16 + }, + "end": { + "line": 1125, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31449, + 31453 + ], + "loc": { + "start": { + "line": 1126, + "column": 16 + }, + "end": { + "line": 1126, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 31454, + 31460 + ], + "loc": { + "start": { + "line": 1126, + "column": 21 + }, + "end": { + "line": 1126, + "column": 27 + } + } + }, + "range": [ + 31449, + 31460 + ], + "loc": { + "start": { + "line": 1126, + "column": 16 + }, + "end": { + "line": 1126, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 31449, + 31462 + ], + "loc": { + "start": { + "line": 1126, + "column": 16 + }, + "end": { + "line": 1126, + "column": 29 + } + } + }, + "range": [ + 31449, + 31463 + ], + "loc": { + "start": { + "line": 1126, + "column": 16 + }, + "end": { + "line": 1126, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "cancelEvt", + "range": [ + 31480, + 31489 + ], + "loc": { + "start": { + "line": 1127, + "column": 16 + }, + "end": { + "line": 1127, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31490, + 31493 + ], + "loc": { + "start": { + "line": 1127, + "column": 26 + }, + "end": { + "line": 1127, + "column": 29 + } + } + } + ], + "range": [ + 31480, + 31494 + ], + "loc": { + "start": { + "line": 1127, + "column": 16 + }, + "end": { + "line": 1127, + "column": 30 + } + } + }, + "range": [ + 31480, + 31495 + ], + "loc": { + "start": { + "line": 1127, + "column": 16 + }, + "end": { + "line": 1127, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "stopEvt", + "range": [ + 31512, + 31519 + ], + "loc": { + "start": { + "line": 1128, + "column": 16 + }, + "end": { + "line": 1128, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31520, + 31523 + ], + "loc": { + "start": { + "line": 1128, + "column": 24 + }, + "end": { + "line": 1128, + "column": 27 + } + } + } + ], + "range": [ + 31512, + 31524 + ], + "loc": { + "start": { + "line": 1128, + "column": 16 + }, + "end": { + "line": 1128, + "column": 28 + } + } + }, + "range": [ + 31512, + 31525 + ], + "loc": { + "start": { + "line": 1128, + "column": 16 + }, + "end": { + "line": 1128, + "column": 29 + } + } + } + ], + "range": [ + 31431, + 31539 + ], + "loc": { + "start": { + "line": 1125, + "column": 35 + }, + "end": { + "line": 1129, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31563, + 31567 + ], + "loc": { + "start": { + "line": 1130, + "column": 16 + }, + "end": { + "line": 1130, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 31568, + 31580 + ], + "loc": { + "start": { + "line": 1130, + "column": 21 + }, + "end": { + "line": 1130, + "column": 33 + } + } + }, + "range": [ + 31563, + 31580 + ], + "loc": { + "start": { + "line": 1130, + "column": 16 + }, + "end": { + "line": 1130, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 31583, + 31587 + ], + "loc": { + "start": { + "line": 1130, + "column": 36 + }, + "end": { + "line": 1130, + "column": 40 + } + } + }, + "range": [ + 31563, + 31587 + ], + "loc": { + "start": { + "line": 1130, + "column": 16 + }, + "end": { + "line": 1130, + "column": 40 + } + } + }, + "range": [ + 31563, + 31588 + ], + "loc": { + "start": { + "line": 1130, + "column": 16 + }, + "end": { + "line": 1130, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 31605, + 31609 + ], + "loc": { + "start": { + "line": 1131, + "column": 16 + }, + "end": { + "line": 1131, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearInterval", + "range": [ + 31610, + 31623 + ], + "loc": { + "start": { + "line": 1131, + "column": 21 + }, + "end": { + "line": 1131, + "column": 34 + } + } + }, + "range": [ + 31605, + 31623 + ], + "loc": { + "start": { + "line": 1131, + "column": 16 + }, + "end": { + "line": 1131, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31624, + 31628 + ], + "loc": { + "start": { + "line": 1131, + "column": 35 + }, + "end": { + "line": 1131, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 31629, + 31644 + ], + "loc": { + "start": { + "line": 1131, + "column": 40 + }, + "end": { + "line": 1131, + "column": 55 + } + } + }, + "range": [ + 31624, + 31644 + ], + "loc": { + "start": { + "line": 1131, + "column": 35 + }, + "end": { + "line": 1131, + "column": 55 + } + } + } + ], + "range": [ + 31605, + 31645 + ], + "loc": { + "start": { + "line": 1131, + "column": 16 + }, + "end": { + "line": 1131, + "column": 56 + } + } + }, + "range": [ + 31605, + 31646 + ], + "loc": { + "start": { + "line": 1131, + "column": 16 + }, + "end": { + "line": 1131, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31663, + 31667 + ], + "loc": { + "start": { + "line": 1132, + "column": 16 + }, + "end": { + "line": 1132, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 31668, + 31683 + ], + "loc": { + "start": { + "line": 1132, + "column": 21 + }, + "end": { + "line": 1132, + "column": 36 + } + } + }, + "range": [ + 31663, + 31683 + ], + "loc": { + "start": { + "line": 1132, + "column": 16 + }, + "end": { + "line": 1132, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 31686, + 31690 + ], + "loc": { + "start": { + "line": 1132, + "column": 39 + }, + "end": { + "line": 1132, + "column": 43 + } + } + }, + "range": [ + 31663, + 31690 + ], + "loc": { + "start": { + "line": 1132, + "column": 16 + }, + "end": { + "line": 1132, + "column": 43 + } + } + }, + "range": [ + 31663, + 31691 + ], + "loc": { + "start": { + "line": 1132, + "column": 16 + }, + "end": { + "line": 1132, + "column": 44 + } + } + } + ], + "range": [ + 31545, + 31705 + ], + "loc": { + "start": { + "line": 1129, + "column": 19 + }, + "end": { + "line": 1133, + "column": 13 + } + } + }, + "range": [ + 31408, + 31705 + ], + "loc": { + "start": { + "line": 1125, + "column": 12 + }, + "end": { + "line": 1133, + "column": 13 + } + } + } + ], + "range": [ + 31358, + 31715 + ], + "loc": { + "start": { + "line": 1123, + "column": 17 + }, + "end": { + "line": 1134, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 31349, + 31715 + ], + "loc": { + "start": { + "line": 1123, + "column": 8 + }, + "end": { + "line": 1134, + "column": 9 + } + } + } + ], + "range": [ + 31279, + 31721 + ], + "loc": { + "start": { + "line": 1119, + "column": 19 + }, + "end": { + "line": 1135, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 31273, + 31721 + ], + "loc": { + "start": { + "line": 1119, + "column": 13 + }, + "end": { + "line": 1135, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 31264, + 31721 + ], + "loc": { + "start": { + "line": 1119, + "column": 4 + }, + "end": { + "line": 1135, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Detect key\n * @param {Event} evt\n ", + "range": [ + 31196, + 31259 + ], + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1118, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n ", + "range": [ + 31727, + 31860 + ], + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1141, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onKeyUp", + "range": [ + 31865, + 31872 + ], + "loc": { + "start": { + "line": 1142, + "column": 4 + }, + "end": { + "line": 1142, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31873, + 31876 + ], + "loc": { + "start": { + "line": 1142, + "column": 12 + }, + "end": { + "line": 1142, + "column": 15 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31893, + 31897 + ], + "loc": { + "start": { + "line": 1143, + "column": 13 + }, + "end": { + "line": 1143, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilter", + "range": [ + 31898, + 31908 + ], + "loc": { + "start": { + "line": 1143, + "column": 18 + }, + "end": { + "line": 1143, + "column": 28 + } + } + }, + "range": [ + 31893, + 31908 + ], + "loc": { + "start": { + "line": 1143, + "column": 13 + }, + "end": { + "line": 1143, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 31892, + 31908 + ], + "loc": { + "start": { + "line": 1143, + "column": 12 + }, + "end": { + "line": 1143, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 31924, + 31931 + ], + "loc": { + "start": { + "line": 1144, + "column": 12 + }, + "end": { + "line": 1144, + "column": 19 + } + } + } + ], + "range": [ + 31910, + 31941 + ], + "loc": { + "start": { + "line": 1143, + "column": 30 + }, + "end": { + "line": 1145, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 31888, + 31941 + ], + "loc": { + "start": { + "line": 1143, + "column": 8 + }, + "end": { + "line": 1145, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "key", + "range": [ + 31954, + 31957 + ], + "loc": { + "start": { + "line": 1146, + "column": 12 + }, + "end": { + "line": 1146, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "keyCode", + "range": [ + 31960, + 31967 + ], + "loc": { + "start": { + "line": 1146, + "column": 18 + }, + "end": { + "line": 1146, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 31968, + 31971 + ], + "loc": { + "start": { + "line": 1146, + "column": 26 + }, + "end": { + "line": 1146, + "column": 29 + } + } + } + ], + "range": [ + 31960, + 31972 + ], + "loc": { + "start": { + "line": 1146, + "column": 18 + }, + "end": { + "line": 1146, + "column": 30 + } + } + }, + "range": [ + 31954, + 31972 + ], + "loc": { + "start": { + "line": 1146, + "column": 12 + }, + "end": { + "line": 1146, + "column": 30 + } + } + } + ], + "kind": "let", + "range": [ + 31950, + 31973 + ], + "loc": { + "start": { + "line": 1146, + "column": 8 + }, + "end": { + "line": 1146, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 31982, + 31986 + ], + "loc": { + "start": { + "line": 1147, + "column": 8 + }, + "end": { + "line": 1147, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 31987, + 31999 + ], + "loc": { + "start": { + "line": 1147, + "column": 13 + }, + "end": { + "line": 1147, + "column": 25 + } + } + }, + "range": [ + 31982, + 31999 + ], + "loc": { + "start": { + "line": 1147, + "column": 8 + }, + "end": { + "line": 1147, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 32002, + 32007 + ], + "loc": { + "start": { + "line": 1147, + "column": 28 + }, + "end": { + "line": 1147, + "column": 33 + } + } + }, + "range": [ + 31982, + 32007 + ], + "loc": { + "start": { + "line": 1147, + "column": 8 + }, + "end": { + "line": 1147, + "column": 33 + } + } + }, + "range": [ + 31982, + 32008 + ], + "loc": { + "start": { + "line": 1147, + "column": 8 + }, + "end": { + "line": 1147, + "column": 34 + } + } + }, + { + "type": "FunctionDeclaration", + "id": { + "type": "Identifier", + "name": "filter", + "range": [ + 32027, + 32033 + ], + "loc": { + "start": { + "line": 1149, + "column": 17 + }, + "end": { + "line": 1149, + "column": 23 + } + } + }, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 32050, + 32054 + ], + "loc": { + "start": { + "line": 1150, + "column": 12 + }, + "end": { + "line": 1150, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearInterval", + "range": [ + 32055, + 32068 + ], + "loc": { + "start": { + "line": 1150, + "column": 17 + }, + "end": { + "line": 1150, + "column": 30 + } + } + }, + "range": [ + 32050, + 32068 + ], + "loc": { + "start": { + "line": 1150, + "column": 12 + }, + "end": { + "line": 1150, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32069, + 32073 + ], + "loc": { + "start": { + "line": 1150, + "column": 31 + }, + "end": { + "line": 1150, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32074, + 32089 + ], + "loc": { + "start": { + "line": 1150, + "column": 36 + }, + "end": { + "line": 1150, + "column": 51 + } + } + }, + "range": [ + 32069, + 32089 + ], + "loc": { + "start": { + "line": 1150, + "column": 31 + }, + "end": { + "line": 1150, + "column": 51 + } + } + } + ], + "range": [ + 32050, + 32090 + ], + "loc": { + "start": { + "line": 1150, + "column": 12 + }, + "end": { + "line": 1150, + "column": 52 + } + } + }, + "range": [ + 32050, + 32091 + ], + "loc": { + "start": { + "line": 1150, + "column": 12 + }, + "end": { + "line": 1150, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32104, + 32108 + ], + "loc": { + "start": { + "line": 1151, + "column": 12 + }, + "end": { + "line": 1151, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32109, + 32124 + ], + "loc": { + "start": { + "line": 1151, + "column": 17 + }, + "end": { + "line": 1151, + "column": 32 + } + } + }, + "range": [ + 32104, + 32124 + ], + "loc": { + "start": { + "line": 1151, + "column": 12 + }, + "end": { + "line": 1151, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 32127, + 32131 + ], + "loc": { + "start": { + "line": 1151, + "column": 35 + }, + "end": { + "line": 1151, + "column": 39 + } + } + }, + "range": [ + 32104, + 32131 + ], + "loc": { + "start": { + "line": 1151, + "column": 12 + }, + "end": { + "line": 1151, + "column": 39 + } + } + }, + "range": [ + 32104, + 32132 + ], + "loc": { + "start": { + "line": 1151, + "column": 12 + }, + "end": { + "line": 1151, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32150, + 32154 + ], + "loc": { + "start": { + "line": 1152, + "column": 17 + }, + "end": { + "line": 1152, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 32155, + 32167 + ], + "loc": { + "start": { + "line": 1152, + "column": 22 + }, + "end": { + "line": 1152, + "column": 34 + } + } + }, + "range": [ + 32150, + 32167 + ], + "loc": { + "start": { + "line": 1152, + "column": 17 + }, + "end": { + "line": 1152, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 32149, + 32167 + ], + "loc": { + "start": { + "line": 1152, + "column": 16 + }, + "end": { + "line": 1152, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32187, + 32191 + ], + "loc": { + "start": { + "line": 1153, + "column": 16 + }, + "end": { + "line": 1153, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 32192, + 32198 + ], + "loc": { + "start": { + "line": 1153, + "column": 21 + }, + "end": { + "line": 1153, + "column": 27 + } + } + }, + "range": [ + 32187, + 32198 + ], + "loc": { + "start": { + "line": 1153, + "column": 16 + }, + "end": { + "line": 1153, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 32187, + 32200 + ], + "loc": { + "start": { + "line": 1153, + "column": 16 + }, + "end": { + "line": 1153, + "column": 29 + } + } + }, + "range": [ + 32187, + 32201 + ], + "loc": { + "start": { + "line": 1153, + "column": 16 + }, + "end": { + "line": 1153, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32218, + 32222 + ], + "loc": { + "start": { + "line": 1154, + "column": 16 + }, + "end": { + "line": 1154, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 32223, + 32235 + ], + "loc": { + "start": { + "line": 1154, + "column": 21 + }, + "end": { + "line": 1154, + "column": 33 + } + } + }, + "range": [ + 32218, + 32235 + ], + "loc": { + "start": { + "line": 1154, + "column": 16 + }, + "end": { + "line": 1154, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 32238, + 32242 + ], + "loc": { + "start": { + "line": 1154, + "column": 36 + }, + "end": { + "line": 1154, + "column": 40 + } + } + }, + "range": [ + 32218, + 32242 + ], + "loc": { + "start": { + "line": 1154, + "column": 16 + }, + "end": { + "line": 1154, + "column": 40 + } + } + }, + "range": [ + 32218, + 32243 + ], + "loc": { + "start": { + "line": 1154, + "column": 16 + }, + "end": { + "line": 1154, + "column": 41 + } + } + } + ], + "range": [ + 32169, + 32257 + ], + "loc": { + "start": { + "line": 1152, + "column": 36 + }, + "end": { + "line": 1155, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 32145, + 32257 + ], + "loc": { + "start": { + "line": 1152, + "column": 12 + }, + "end": { + "line": 1155, + "column": 13 + } + } + } + ], + "range": [ + 32036, + 32267 + ], + "loc": { + "start": { + "line": 1149, + "column": 26 + }, + "end": { + "line": 1156, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 32018, + 32267 + ], + "loc": { + "start": { + "line": 1149, + "column": 8 + }, + "end": { + "line": 1156, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 32281, + 32284 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1158, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "ENTER_KEY", + "range": [ + 32289, + 32298 + ], + "loc": { + "start": { + "line": 1158, + "column": 20 + }, + "end": { + "line": 1158, + "column": 29 + } + } + }, + "range": [ + 32281, + 32298 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1158, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 32302, + 32305 + ], + "loc": { + "start": { + "line": 1158, + "column": 33 + }, + "end": { + "line": 1158, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "TAB_KEY", + "range": [ + 32310, + 32317 + ], + "loc": { + "start": { + "line": 1158, + "column": 41 + }, + "end": { + "line": 1158, + "column": 48 + } + } + }, + "range": [ + 32302, + 32317 + ], + "loc": { + "start": { + "line": 1158, + "column": 33 + }, + "end": { + "line": 1158, + "column": 48 + } + } + }, + "range": [ + 32281, + 32317 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1158, + "column": 48 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 32321, + 32324 + ], + "loc": { + "start": { + "line": 1158, + "column": 52 + }, + "end": { + "line": 1158, + "column": 55 + } + } + }, + "right": { + "type": "Identifier", + "name": "ESC_KEY", + "range": [ + 32329, + 32336 + ], + "loc": { + "start": { + "line": 1158, + "column": 60 + }, + "end": { + "line": 1158, + "column": 67 + } + } + }, + "range": [ + 32321, + 32336 + ], + "loc": { + "start": { + "line": 1158, + "column": 52 + }, + "end": { + "line": 1158, + "column": 67 + } + } + }, + "range": [ + 32281, + 32336 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1158, + "column": 67 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 32352, + 32355 + ], + "loc": { + "start": { + "line": 1159, + "column": 12 + }, + "end": { + "line": 1159, + "column": 15 + } + } + }, + "right": { + "type": "Identifier", + "name": "UP_ARROW_KEY", + "range": [ + 32360, + 32372 + ], + "loc": { + "start": { + "line": 1159, + "column": 20 + }, + "end": { + "line": 1159, + "column": 32 + } + } + }, + "range": [ + 32352, + 32372 + ], + "loc": { + "start": { + "line": 1159, + "column": 12 + }, + "end": { + "line": 1159, + "column": 32 + } + } + }, + "range": [ + 32281, + 32372 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1159, + "column": 32 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "key", + "range": [ + 32376, + 32379 + ], + "loc": { + "start": { + "line": 1159, + "column": 36 + }, + "end": { + "line": 1159, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "DOWN_ARROW_KEY", + "range": [ + 32384, + 32398 + ], + "loc": { + "start": { + "line": 1159, + "column": 44 + }, + "end": { + "line": 1159, + "column": 58 + } + } + }, + "range": [ + 32376, + 32398 + ], + "loc": { + "start": { + "line": 1159, + "column": 36 + }, + "end": { + "line": 1159, + "column": 58 + } + } + }, + "range": [ + 32281, + 32398 + ], + "loc": { + "start": { + "line": 1158, + "column": 12 + }, + "end": { + "line": 1159, + "column": 58 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32418, + 32422 + ], + "loc": { + "start": { + "line": 1160, + "column": 16 + }, + "end": { + "line": 1160, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32423, + 32438 + ], + "loc": { + "start": { + "line": 1160, + "column": 21 + }, + "end": { + "line": 1160, + "column": 36 + } + } + }, + "range": [ + 32418, + 32438 + ], + "loc": { + "start": { + "line": 1160, + "column": 16 + }, + "end": { + "line": 1160, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 32443, + 32447 + ], + "loc": { + "start": { + "line": 1160, + "column": 41 + }, + "end": { + "line": 1160, + "column": 45 + } + } + }, + "range": [ + 32418, + 32447 + ], + "loc": { + "start": { + "line": 1160, + "column": 16 + }, + "end": { + "line": 1160, + "column": 45 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32467, + 32471 + ], + "loc": { + "start": { + "line": 1161, + "column": 16 + }, + "end": { + "line": 1161, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32472, + 32487 + ], + "loc": { + "start": { + "line": 1161, + "column": 21 + }, + "end": { + "line": 1161, + "column": 36 + } + } + }, + "range": [ + 32467, + 32487 + ], + "loc": { + "start": { + "line": 1161, + "column": 16 + }, + "end": { + "line": 1161, + "column": 36 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 32490, + 32494 + ], + "loc": { + "start": { + "line": 1161, + "column": 39 + }, + "end": { + "line": 1161, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "setInterval", + "range": [ + 32495, + 32506 + ], + "loc": { + "start": { + "line": 1161, + "column": 44 + }, + "end": { + "line": 1161, + "column": 55 + } + } + }, + "range": [ + 32490, + 32506 + ], + "loc": { + "start": { + "line": 1161, + "column": 39 + }, + "end": { + "line": 1161, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filter", + "range": [ + 32507, + 32513 + ], + "loc": { + "start": { + "line": 1161, + "column": 56 + }, + "end": { + "line": 1161, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 32514, + 32518 + ], + "loc": { + "start": { + "line": 1161, + "column": 63 + }, + "end": { + "line": 1161, + "column": 67 + } + } + }, + "range": [ + 32507, + 32518 + ], + "loc": { + "start": { + "line": 1161, + "column": 56 + }, + "end": { + "line": 1161, + "column": 67 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 32519, + 32523 + ], + "loc": { + "start": { + "line": 1161, + "column": 68 + }, + "end": { + "line": 1161, + "column": 72 + } + } + } + ], + "range": [ + 32507, + 32524 + ], + "loc": { + "start": { + "line": 1161, + "column": 56 + }, + "end": { + "line": 1161, + "column": 73 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32546, + 32550 + ], + "loc": { + "start": { + "line": 1162, + "column": 20 + }, + "end": { + "line": 1162, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterDelay", + "range": [ + 32551, + 32566 + ], + "loc": { + "start": { + "line": 1162, + "column": 25 + }, + "end": { + "line": 1162, + "column": 40 + } + } + }, + "range": [ + 32546, + 32566 + ], + "loc": { + "start": { + "line": 1162, + "column": 20 + }, + "end": { + "line": 1162, + "column": 40 + } + } + } + ], + "range": [ + 32490, + 32567 + ], + "loc": { + "start": { + "line": 1161, + "column": 39 + }, + "end": { + "line": 1162, + "column": 41 + } + } + }, + "range": [ + 32467, + 32567 + ], + "loc": { + "start": { + "line": 1161, + "column": 16 + }, + "end": { + "line": 1162, + "column": 41 + } + } + }, + "range": [ + 32467, + 32568 + ], + "loc": { + "start": { + "line": 1161, + "column": 16 + }, + "end": { + "line": 1162, + "column": 42 + } + } + } + ], + "range": [ + 32449, + 32582 + ], + "loc": { + "start": { + "line": 1160, + "column": 47 + }, + "end": { + "line": 1163, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 32414, + 32582 + ], + "loc": { + "start": { + "line": 1160, + "column": 12 + }, + "end": { + "line": 1163, + "column": 13 + } + } + } + ], + "range": [ + 32400, + 32592 + ], + "loc": { + "start": { + "line": 1159, + "column": 60 + }, + "end": { + "line": 1164, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 32612, + 32616 + ], + "loc": { + "start": { + "line": 1165, + "column": 12 + }, + "end": { + "line": 1165, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearInterval", + "range": [ + 32617, + 32630 + ], + "loc": { + "start": { + "line": 1165, + "column": 17 + }, + "end": { + "line": 1165, + "column": 30 + } + } + }, + "range": [ + 32612, + 32630 + ], + "loc": { + "start": { + "line": 1165, + "column": 12 + }, + "end": { + "line": 1165, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32631, + 32635 + ], + "loc": { + "start": { + "line": 1165, + "column": 31 + }, + "end": { + "line": 1165, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32636, + 32651 + ], + "loc": { + "start": { + "line": 1165, + "column": 36 + }, + "end": { + "line": 1165, + "column": 51 + } + } + }, + "range": [ + 32631, + 32651 + ], + "loc": { + "start": { + "line": 1165, + "column": 31 + }, + "end": { + "line": 1165, + "column": 51 + } + } + } + ], + "range": [ + 32612, + 32652 + ], + "loc": { + "start": { + "line": 1165, + "column": 12 + }, + "end": { + "line": 1165, + "column": 52 + } + } + }, + "range": [ + 32612, + 32653 + ], + "loc": { + "start": { + "line": 1165, + "column": 12 + }, + "end": { + "line": 1165, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32666, + 32670 + ], + "loc": { + "start": { + "line": 1166, + "column": 12 + }, + "end": { + "line": 1166, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 32671, + 32686 + ], + "loc": { + "start": { + "line": 1166, + "column": 17 + }, + "end": { + "line": 1166, + "column": 32 + } + } + }, + "range": [ + 32666, + 32686 + ], + "loc": { + "start": { + "line": 1166, + "column": 12 + }, + "end": { + "line": 1166, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 32689, + 32693 + ], + "loc": { + "start": { + "line": 1166, + "column": 35 + }, + "end": { + "line": 1166, + "column": 39 + } + } + }, + "range": [ + 32666, + 32693 + ], + "loc": { + "start": { + "line": 1166, + "column": 12 + }, + "end": { + "line": 1166, + "column": 39 + } + } + }, + "range": [ + 32666, + 32694 + ], + "loc": { + "start": { + "line": 1166, + "column": 12 + }, + "end": { + "line": 1166, + "column": 40 + } + } + } + ], + "range": [ + 32598, + 32704 + ], + "loc": { + "start": { + "line": 1164, + "column": 15 + }, + "end": { + "line": 1167, + "column": 9 + } + } + }, + "range": [ + 32277, + 32704 + ], + "loc": { + "start": { + "line": 1158, + "column": 8 + }, + "end": { + "line": 1167, + "column": 9 + } + } + } + ], + "range": [ + 31878, + 32710 + ], + "loc": { + "start": { + "line": 1142, + "column": 17 + }, + "end": { + "line": 1168, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 31872, + 32710 + ], + "loc": { + "start": { + "line": 1142, + "column": 11 + }, + "end": { + "line": 1168, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 31865, + 32710 + ], + "loc": { + "start": { + "line": 1142, + "column": 4 + }, + "end": { + "line": 1168, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n ", + "range": [ + 31727, + 31860 + ], + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1141, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter's keydown event: if auto-filter on, detect user is typing\n ", + "range": [ + 32716, + 32799 + ], + "loc": { + "start": { + "line": 1170, + "column": 4 + }, + "end": { + "line": 1172, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onKeyDown", + "range": [ + 32804, + 32813 + ], + "loc": { + "start": { + "line": 1173, + "column": 4 + }, + "end": { + "line": 1173, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32830, + 32834 + ], + "loc": { + "start": { + "line": 1174, + "column": 12 + }, + "end": { + "line": 1174, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilter", + "range": [ + 32835, + 32845 + ], + "loc": { + "start": { + "line": 1174, + "column": 17 + }, + "end": { + "line": 1174, + "column": 27 + } + } + }, + "range": [ + 32830, + 32845 + ], + "loc": { + "start": { + "line": 1174, + "column": 12 + }, + "end": { + "line": 1174, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 32861, + 32865 + ], + "loc": { + "start": { + "line": 1175, + "column": 12 + }, + "end": { + "line": 1175, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 32866, + 32878 + ], + "loc": { + "start": { + "line": 1175, + "column": 17 + }, + "end": { + "line": 1175, + "column": 29 + } + } + }, + "range": [ + 32861, + 32878 + ], + "loc": { + "start": { + "line": 1175, + "column": 12 + }, + "end": { + "line": 1175, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 32881, + 32885 + ], + "loc": { + "start": { + "line": 1175, + "column": 32 + }, + "end": { + "line": 1175, + "column": 36 + } + } + }, + "range": [ + 32861, + 32885 + ], + "loc": { + "start": { + "line": 1175, + "column": 12 + }, + "end": { + "line": 1175, + "column": 36 + } + } + }, + "range": [ + 32861, + 32886 + ], + "loc": { + "start": { + "line": 1175, + "column": 12 + }, + "end": { + "line": 1175, + "column": 37 + } + } + } + ], + "range": [ + 32847, + 32896 + ], + "loc": { + "start": { + "line": 1174, + "column": 29 + }, + "end": { + "line": 1176, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 32826, + 32896 + ], + "loc": { + "start": { + "line": 1174, + "column": 8 + }, + "end": { + "line": 1176, + "column": 9 + } + } + } + ], + "range": [ + 32816, + 32902 + ], + "loc": { + "start": { + "line": 1173, + "column": 16 + }, + "end": { + "line": 1177, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 32813, + 32902 + ], + "loc": { + "start": { + "line": 1173, + "column": 13 + }, + "end": { + "line": 1177, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 32804, + 32902 + ], + "loc": { + "start": { + "line": 1173, + "column": 4 + }, + "end": { + "line": 1177, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter's keydown event: if auto-filter on, detect user is typing\n ", + "range": [ + 32716, + 32799 + ], + "loc": { + "start": { + "line": 1170, + "column": 4 + }, + "end": { + "line": 1172, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter's focus event\n * @param {Event} evt\n ", + "range": [ + 32908, + 32973 + ], + "loc": { + "start": { + "line": 1179, + "column": 4 + }, + "end": { + "line": 1182, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onInpFocus", + "range": [ + 32978, + 32988 + ], + "loc": { + "start": { + "line": 1183, + "column": 4 + }, + "end": { + "line": 1183, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 32989, + 32992 + ], + "loc": { + "start": { + "line": 1183, + "column": 15 + }, + "end": { + "line": 1183, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "elm", + "range": [ + 33008, + 33011 + ], + "loc": { + "start": { + "line": 1184, + "column": 12 + }, + "end": { + "line": 1184, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "targetEvt", + "range": [ + 33014, + 33023 + ], + "loc": { + "start": { + "line": 1184, + "column": 18 + }, + "end": { + "line": 1184, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 33024, + 33027 + ], + "loc": { + "start": { + "line": 1184, + "column": 28 + }, + "end": { + "line": 1184, + "column": 31 + } + } + } + ], + "range": [ + 33014, + 33028 + ], + "loc": { + "start": { + "line": 1184, + "column": 18 + }, + "end": { + "line": 1184, + "column": 32 + } + } + }, + "range": [ + 33008, + 33028 + ], + "loc": { + "start": { + "line": 1184, + "column": 12 + }, + "end": { + "line": 1184, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 33004, + 33029 + ], + "loc": { + "start": { + "line": 1184, + "column": 8 + }, + "end": { + "line": 1184, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33038, + 33042 + ], + "loc": { + "start": { + "line": 1185, + "column": 8 + }, + "end": { + "line": 1185, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 33043, + 33050 + ], + "loc": { + "start": { + "line": 1185, + "column": 13 + }, + "end": { + "line": 1185, + "column": 20 + } + } + }, + "range": [ + 33038, + 33050 + ], + "loc": { + "start": { + "line": 1185, + "column": 8 + }, + "end": { + "line": 1185, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 33051, + 33055 + ], + "loc": { + "start": { + "line": 1185, + "column": 21 + }, + "end": { + "line": 1185, + "column": 25 + } + } + }, + "range": [ + 33038, + 33055 + ], + "loc": { + "start": { + "line": 1185, + "column": 8 + }, + "end": { + "line": 1185, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 33056, + 33070 + ], + "loc": { + "start": { + "line": 1185, + "column": 26 + }, + "end": { + "line": 1185, + "column": 40 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 33072, + 33076 + ], + "loc": { + "start": { + "line": 1185, + "column": 42 + }, + "end": { + "line": 1185, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "elm", + "range": [ + 33078, + 33081 + ], + "loc": { + "start": { + "line": 1185, + "column": 48 + }, + "end": { + "line": 1185, + "column": 51 + } + } + } + ], + "range": [ + 33038, + 33082 + ], + "loc": { + "start": { + "line": 1185, + "column": 8 + }, + "end": { + "line": 1185, + "column": 52 + } + } + }, + "range": [ + 33038, + 33083 + ], + "loc": { + "start": { + "line": 1185, + "column": 8 + }, + "end": { + "line": 1185, + "column": 53 + } + } + } + ], + "range": [ + 32994, + 33089 + ], + "loc": { + "start": { + "line": 1183, + "column": 20 + }, + "end": { + "line": 1186, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 32988, + 33089 + ], + "loc": { + "start": { + "line": 1183, + "column": 14 + }, + "end": { + "line": 1186, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 32978, + 33089 + ], + "loc": { + "start": { + "line": 1183, + "column": 4 + }, + "end": { + "line": 1186, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter's focus event\n * @param {Event} evt\n ", + "range": [ + 32908, + 32973 + ], + "loc": { + "start": { + "line": 1179, + "column": 4 + }, + "end": { + "line": 1182, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n ", + "range": [ + 33095, + 33183 + ], + "loc": { + "start": { + "line": 1188, + "column": 4 + }, + "end": { + "line": 1190, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "onInpBlur", + "range": [ + 33188, + 33197 + ], + "loc": { + "start": { + "line": 1191, + "column": 4 + }, + "end": { + "line": 1191, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33214, + 33218 + ], + "loc": { + "start": { + "line": 1192, + "column": 12 + }, + "end": { + "line": 1192, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilter", + "range": [ + 33219, + 33229 + ], + "loc": { + "start": { + "line": 1192, + "column": 17 + }, + "end": { + "line": 1192, + "column": 27 + } + } + }, + "range": [ + 33214, + 33229 + ], + "loc": { + "start": { + "line": 1192, + "column": 12 + }, + "end": { + "line": 1192, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33245, + 33249 + ], + "loc": { + "start": { + "line": 1193, + "column": 12 + }, + "end": { + "line": 1193, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isUserTyping", + "range": [ + 33250, + 33262 + ], + "loc": { + "start": { + "line": 1193, + "column": 17 + }, + "end": { + "line": 1193, + "column": 29 + } + } + }, + "range": [ + 33245, + 33262 + ], + "loc": { + "start": { + "line": 1193, + "column": 12 + }, + "end": { + "line": 1193, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 33265, + 33270 + ], + "loc": { + "start": { + "line": 1193, + "column": 32 + }, + "end": { + "line": 1193, + "column": 37 + } + } + }, + "range": [ + 33245, + 33270 + ], + "loc": { + "start": { + "line": 1193, + "column": 12 + }, + "end": { + "line": 1193, + "column": 37 + } + } + }, + "range": [ + 33245, + 33271 + ], + "loc": { + "start": { + "line": 1193, + "column": 12 + }, + "end": { + "line": 1193, + "column": 38 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "root", + "range": [ + 33284, + 33288 + ], + "loc": { + "start": { + "line": 1194, + "column": 12 + }, + "end": { + "line": 1194, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearInterval", + "range": [ + 33289, + 33302 + ], + "loc": { + "start": { + "line": 1194, + "column": 17 + }, + "end": { + "line": 1194, + "column": 30 + } + } + }, + "range": [ + 33284, + 33302 + ], + "loc": { + "start": { + "line": 1194, + "column": 12 + }, + "end": { + "line": 1194, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33303, + 33307 + ], + "loc": { + "start": { + "line": 1194, + "column": 31 + }, + "end": { + "line": 1194, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "autoFilterTimer", + "range": [ + 33308, + 33323 + ], + "loc": { + "start": { + "line": 1194, + "column": 36 + }, + "end": { + "line": 1194, + "column": 51 + } + } + }, + "range": [ + 33303, + 33323 + ], + "loc": { + "start": { + "line": 1194, + "column": 31 + }, + "end": { + "line": 1194, + "column": 51 + } + } + } + ], + "range": [ + 33284, + 33324 + ], + "loc": { + "start": { + "line": 1194, + "column": 12 + }, + "end": { + "line": 1194, + "column": 52 + } + } + }, + "range": [ + 33284, + 33325 + ], + "loc": { + "start": { + "line": 1194, + "column": 12 + }, + "end": { + "line": 1194, + "column": 53 + } + } + } + ], + "range": [ + 33231, + 33335 + ], + "loc": { + "start": { + "line": 1192, + "column": 29 + }, + "end": { + "line": 1195, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 33210, + 33335 + ], + "loc": { + "start": { + "line": 1192, + "column": 8 + }, + "end": { + "line": 1195, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33344, + 33348 + ], + "loc": { + "start": { + "line": 1196, + "column": 8 + }, + "end": { + "line": 1196, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 33349, + 33356 + ], + "loc": { + "start": { + "line": 1196, + "column": 13 + }, + "end": { + "line": 1196, + "column": 20 + } + } + }, + "range": [ + 33344, + 33356 + ], + "loc": { + "start": { + "line": 1196, + "column": 8 + }, + "end": { + "line": 1196, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 33357, + 33361 + ], + "loc": { + "start": { + "line": 1196, + "column": 21 + }, + "end": { + "line": 1196, + "column": 25 + } + } + }, + "range": [ + 33344, + 33361 + ], + "loc": { + "start": { + "line": 1196, + "column": 8 + }, + "end": { + "line": 1196, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filter-blur", + "raw": "'filter-blur'", + "range": [ + 33362, + 33375 + ], + "loc": { + "start": { + "line": 1196, + "column": 26 + }, + "end": { + "line": 1196, + "column": 39 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 33377, + 33381 + ], + "loc": { + "start": { + "line": 1196, + "column": 41 + }, + "end": { + "line": 1196, + "column": 45 + } + } + } + ], + "range": [ + 33344, + 33382 + ], + "loc": { + "start": { + "line": 1196, + "column": 8 + }, + "end": { + "line": 1196, + "column": 46 + } + } + }, + "range": [ + 33344, + 33383 + ], + "loc": { + "start": { + "line": 1196, + "column": 8 + }, + "end": { + "line": 1196, + "column": 47 + } + } + } + ], + "range": [ + 33200, + 33389 + ], + "loc": { + "start": { + "line": 1191, + "column": 16 + }, + "end": { + "line": 1197, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 33197, + 33389 + ], + "loc": { + "start": { + "line": 1191, + "column": 13 + }, + "end": { + "line": 1197, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 33188, + 33389 + ], + "loc": { + "start": { + "line": 1191, + "column": 4 + }, + "end": { + "line": 1197, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n ", + "range": [ + 33095, + 33183 + ], + "loc": { + "start": { + "line": 1188, + "column": 4 + }, + "end": { + "line": 1190, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Insert filters row at initialization\n ", + "range": [ + 33395, + 33450 + ], + "loc": { + "start": { + "line": 1199, + "column": 4 + }, + "end": { + "line": 1201, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_insertFiltersRow", + "range": [ + 33455, + 33472 + ], + "loc": { + "start": { + "line": 1202, + "column": 4 + }, + "end": { + "line": 1202, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33682, + 33686 + ], + "loc": { + "start": { + "line": 1206, + "column": 12 + }, + "end": { + "line": 1206, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 33687, + 33697 + ], + "loc": { + "start": { + "line": 1206, + "column": 17 + }, + "end": { + "line": 1206, + "column": 27 + } + } + }, + "range": [ + 33682, + 33697 + ], + "loc": { + "start": { + "line": 1206, + "column": 12 + }, + "end": { + "line": 1206, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 33713, + 33720 + ], + "loc": { + "start": { + "line": 1207, + "column": 12 + }, + "end": { + "line": 1207, + "column": 19 + } + } + } + ], + "range": [ + 33699, + 33730 + ], + "loc": { + "start": { + "line": 1206, + "column": 29 + }, + "end": { + "line": 1208, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 33678, + 33730 + ], + "loc": { + "start": { + "line": 1206, + "column": 8 + }, + "end": { + "line": 1208, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: prevent filters row generation for popup filters too,", + "range": [ + 33485, + 33547 + ], + "loc": { + "start": { + "line": 1203, + "column": 8 + }, + "end": { + "line": 1203, + "column": 70 + } + } + }, + { + "type": "Line", + "value": " to reduce and simplify headers row index adjusting across lib modules", + "range": [ + 33556, + 33628 + ], + "loc": { + "start": { + "line": 1204, + "column": 8 + }, + "end": { + "line": 1204, + "column": 80 + } + } + }, + { + "type": "Line", + "value": " (GridLayout, PopupFilter etc)", + "range": [ + 33637, + 33669 + ], + "loc": { + "start": { + "line": 1205, + "column": 8 + }, + "end": { + "line": 1205, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 33743, + 33749 + ], + "loc": { + "start": { + "line": 1209, + "column": 12 + }, + "end": { + "line": 1209, + "column": 18 + } + } + }, + "init": null, + "range": [ + 33743, + 33749 + ], + "loc": { + "start": { + "line": 1209, + "column": 12 + }, + "end": { + "line": 1209, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 33739, + 33750 + ], + "loc": { + "start": { + "line": 1209, + "column": 8 + }, + "end": { + "line": 1209, + "column": 19 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "thead", + "range": [ + 33764, + 33769 + ], + "loc": { + "start": { + "line": 1211, + "column": 12 + }, + "end": { + "line": 1211, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 33772, + 33775 + ], + "loc": { + "start": { + "line": 1211, + "column": 20 + }, + "end": { + "line": 1211, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33776, + 33780 + ], + "loc": { + "start": { + "line": 1211, + "column": 24 + }, + "end": { + "line": 1211, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 33781, + 33784 + ], + "loc": { + "start": { + "line": 1211, + "column": 29 + }, + "end": { + "line": 1211, + "column": 32 + } + } + }, + "range": [ + 33776, + 33784 + ], + "loc": { + "start": { + "line": 1211, + "column": 24 + }, + "end": { + "line": 1211, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 33776, + 33786 + ], + "loc": { + "start": { + "line": 1211, + "column": 24 + }, + "end": { + "line": 1211, + "column": 34 + } + } + }, + { + "type": "Literal", + "value": "thead", + "raw": "'thead'", + "range": [ + 33788, + 33795 + ], + "loc": { + "start": { + "line": 1211, + "column": 36 + }, + "end": { + "line": 1211, + "column": 43 + } + } + } + ], + "range": [ + 33772, + 33796 + ], + "loc": { + "start": { + "line": 1211, + "column": 20 + }, + "end": { + "line": 1211, + "column": 44 + } + } + }, + "range": [ + 33764, + 33796 + ], + "loc": { + "start": { + "line": 1211, + "column": 12 + }, + "end": { + "line": 1211, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 33760, + 33797 + ], + "loc": { + "start": { + "line": 1211, + "column": 8 + }, + "end": { + "line": 1211, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "thead", + "range": [ + 33810, + 33815 + ], + "loc": { + "start": { + "line": 1212, + "column": 12 + }, + "end": { + "line": 1212, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 33816, + 33822 + ], + "loc": { + "start": { + "line": 1212, + "column": 18 + }, + "end": { + "line": 1212, + "column": 24 + } + } + }, + "range": [ + 33810, + 33822 + ], + "loc": { + "start": { + "line": 1212, + "column": 12 + }, + "end": { + "line": 1212, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 33825, + 33826 + ], + "loc": { + "start": { + "line": 1212, + "column": 27 + }, + "end": { + "line": 1212, + "column": 28 + } + } + }, + "range": [ + 33810, + 33826 + ], + "loc": { + "start": { + "line": 1212, + "column": 12 + }, + "end": { + "line": 1212, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 33842, + 33848 + ], + "loc": { + "start": { + "line": 1213, + "column": 12 + }, + "end": { + "line": 1213, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "thead", + "range": [ + 33851, + 33856 + ], + "loc": { + "start": { + "line": 1213, + "column": 21 + }, + "end": { + "line": 1213, + "column": 26 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 33857, + 33858 + ], + "loc": { + "start": { + "line": 1213, + "column": 27 + }, + "end": { + "line": 1213, + "column": 28 + } + } + }, + "range": [ + 33851, + 33859 + ], + "loc": { + "start": { + "line": 1213, + "column": 21 + }, + "end": { + "line": 1213, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertRow", + "range": [ + 33860, + 33869 + ], + "loc": { + "start": { + "line": 1213, + "column": 30 + }, + "end": { + "line": 1213, + "column": 39 + } + } + }, + "range": [ + 33851, + 33869 + ], + "loc": { + "start": { + "line": 1213, + "column": 21 + }, + "end": { + "line": 1213, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33870, + 33874 + ], + "loc": { + "start": { + "line": 1213, + "column": 40 + }, + "end": { + "line": 1213, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 33875, + 33890 + ], + "loc": { + "start": { + "line": 1213, + "column": 45 + }, + "end": { + "line": 1213, + "column": 60 + } + } + }, + "range": [ + 33870, + 33890 + ], + "loc": { + "start": { + "line": 1213, + "column": 40 + }, + "end": { + "line": 1213, + "column": 60 + } + } + } + ], + "range": [ + 33851, + 33891 + ], + "loc": { + "start": { + "line": 1213, + "column": 21 + }, + "end": { + "line": 1213, + "column": 61 + } + } + }, + "range": [ + 33842, + 33891 + ], + "loc": { + "start": { + "line": 1213, + "column": 12 + }, + "end": { + "line": 1213, + "column": 61 + } + } + }, + "range": [ + 33842, + 33892 + ], + "loc": { + "start": { + "line": 1213, + "column": 12 + }, + "end": { + "line": 1213, + "column": 62 + } + } + } + ], + "range": [ + 33828, + 33902 + ], + "loc": { + "start": { + "line": 1212, + "column": 30 + }, + "end": { + "line": 1214, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 33922, + 33928 + ], + "loc": { + "start": { + "line": 1215, + "column": 12 + }, + "end": { + "line": 1215, + "column": 18 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33931, + 33935 + ], + "loc": { + "start": { + "line": 1215, + "column": 21 + }, + "end": { + "line": 1215, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 33936, + 33939 + ], + "loc": { + "start": { + "line": 1215, + "column": 26 + }, + "end": { + "line": 1215, + "column": 29 + } + } + }, + "range": [ + 33931, + 33939 + ], + "loc": { + "start": { + "line": 1215, + "column": 21 + }, + "end": { + "line": 1215, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 33931, + 33941 + ], + "loc": { + "start": { + "line": 1215, + "column": 21 + }, + "end": { + "line": 1215, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertRow", + "range": [ + 33942, + 33951 + ], + "loc": { + "start": { + "line": 1215, + "column": 32 + }, + "end": { + "line": 1215, + "column": 41 + } + } + }, + "range": [ + 33931, + 33951 + ], + "loc": { + "start": { + "line": 1215, + "column": 21 + }, + "end": { + "line": 1215, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 33952, + 33956 + ], + "loc": { + "start": { + "line": 1215, + "column": 42 + }, + "end": { + "line": 1215, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 33957, + 33972 + ], + "loc": { + "start": { + "line": 1215, + "column": 47 + }, + "end": { + "line": 1215, + "column": 62 + } + } + }, + "range": [ + 33952, + 33972 + ], + "loc": { + "start": { + "line": 1215, + "column": 42 + }, + "end": { + "line": 1215, + "column": 62 + } + } + } + ], + "range": [ + 33931, + 33973 + ], + "loc": { + "start": { + "line": 1215, + "column": 21 + }, + "end": { + "line": 1215, + "column": 63 + } + } + }, + "range": [ + 33922, + 33973 + ], + "loc": { + "start": { + "line": 1215, + "column": 12 + }, + "end": { + "line": 1215, + "column": 63 + } + } + }, + "range": [ + 33922, + 33974 + ], + "loc": { + "start": { + "line": 1215, + "column": 12 + }, + "end": { + "line": 1215, + "column": 64 + } + } + } + ], + "range": [ + 33908, + 33984 + ], + "loc": { + "start": { + "line": 1214, + "column": 15 + }, + "end": { + "line": 1216, + "column": 9 + } + } + }, + "range": [ + 33806, + 33984 + ], + "loc": { + "start": { + "line": 1212, + "column": 8 + }, + "end": { + "line": 1216, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 33994, + 34000 + ], + "loc": { + "start": { + "line": 1218, + "column": 8 + }, + "end": { + "line": 1218, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 34001, + 34010 + ], + "loc": { + "start": { + "line": 1218, + "column": 15 + }, + "end": { + "line": 1218, + "column": 24 + } + } + }, + "range": [ + 33994, + 34010 + ], + "loc": { + "start": { + "line": 1218, + "column": 8 + }, + "end": { + "line": 1218, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34013, + 34017 + ], + "loc": { + "start": { + "line": 1218, + "column": 27 + }, + "end": { + "line": 1218, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltsRowCssClass", + "range": [ + 34018, + 34033 + ], + "loc": { + "start": { + "line": 1218, + "column": 32 + }, + "end": { + "line": 1218, + "column": 47 + } + } + }, + "range": [ + 34013, + 34033 + ], + "loc": { + "start": { + "line": 1218, + "column": 27 + }, + "end": { + "line": 1218, + "column": 47 + } + } + }, + "range": [ + 33994, + 34033 + ], + "loc": { + "start": { + "line": 1218, + "column": 8 + }, + "end": { + "line": 1218, + "column": 47 + } + } + }, + "range": [ + 33994, + 34034 + ], + "loc": { + "start": { + "line": 1218, + "column": 8 + }, + "end": { + "line": 1218, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34048, + 34052 + ], + "loc": { + "start": { + "line": 1220, + "column": 12 + }, + "end": { + "line": 1220, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 34053, + 34066 + ], + "loc": { + "start": { + "line": 1220, + "column": 17 + }, + "end": { + "line": 1220, + "column": 30 + } + } + }, + "range": [ + 34048, + 34066 + ], + "loc": { + "start": { + "line": 1220, + "column": 12 + }, + "end": { + "line": 1220, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 34048, + 34068 + ], + "loc": { + "start": { + "line": 1220, + "column": 12 + }, + "end": { + "line": 1220, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 34084, + 34090 + ], + "loc": { + "start": { + "line": 1221, + "column": 12 + }, + "end": { + "line": 1221, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 34091, + 34096 + ], + "loc": { + "start": { + "line": 1221, + "column": 19 + }, + "end": { + "line": 1221, + "column": 24 + } + } + }, + "range": [ + 34084, + 34096 + ], + "loc": { + "start": { + "line": 1221, + "column": 12 + }, + "end": { + "line": 1221, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 34097, + 34104 + ], + "loc": { + "start": { + "line": 1221, + "column": 25 + }, + "end": { + "line": 1221, + "column": 32 + } + } + }, + "range": [ + 34084, + 34104 + ], + "loc": { + "start": { + "line": 1221, + "column": 12 + }, + "end": { + "line": 1221, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 34107, + 34111 + ], + "loc": { + "start": { + "line": 1221, + "column": 35 + }, + "end": { + "line": 1221, + "column": 39 + } + } + }, + "range": [ + 34084, + 34111 + ], + "loc": { + "start": { + "line": 1221, + "column": 12 + }, + "end": { + "line": 1221, + "column": 39 + } + } + }, + "range": [ + 34084, + 34112 + ], + "loc": { + "start": { + "line": 1221, + "column": 12 + }, + "end": { + "line": 1221, + "column": 40 + } + } + } + ], + "range": [ + 34070, + 34122 + ], + "loc": { + "start": { + "line": 1220, + "column": 34 + }, + "end": { + "line": 1222, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 34044, + 34122 + ], + "loc": { + "start": { + "line": 1220, + "column": 8 + }, + "end": { + "line": 1222, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34132, + 34136 + ], + "loc": { + "start": { + "line": 1224, + "column": 8 + }, + "end": { + "line": 1224, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 34137, + 34144 + ], + "loc": { + "start": { + "line": 1224, + "column": 13 + }, + "end": { + "line": 1224, + "column": 20 + } + } + }, + "range": [ + 34132, + 34144 + ], + "loc": { + "start": { + "line": 1224, + "column": 8 + }, + "end": { + "line": 1224, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 34145, + 34149 + ], + "loc": { + "start": { + "line": 1224, + "column": 21 + }, + "end": { + "line": 1224, + "column": 25 + } + } + }, + "range": [ + 34132, + 34149 + ], + "loc": { + "start": { + "line": 1224, + "column": 8 + }, + "end": { + "line": 1224, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "filters-row-inserted", + "raw": "'filters-row-inserted'", + "range": [ + 34150, + 34172 + ], + "loc": { + "start": { + "line": 1224, + "column": 26 + }, + "end": { + "line": 1224, + "column": 48 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 34174, + 34178 + ], + "loc": { + "start": { + "line": 1224, + "column": 50 + }, + "end": { + "line": 1224, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "fltrow", + "range": [ + 34180, + 34186 + ], + "loc": { + "start": { + "line": 1224, + "column": 56 + }, + "end": { + "line": 1224, + "column": 62 + } + } + } + ], + "range": [ + 34132, + 34187 + ], + "loc": { + "start": { + "line": 1224, + "column": 8 + }, + "end": { + "line": 1224, + "column": 63 + } + } + }, + "range": [ + 34132, + 34188 + ], + "loc": { + "start": { + "line": 1224, + "column": 8 + }, + "end": { + "line": 1224, + "column": 64 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "fltrow", + "range": [ + 34204, + 34210 + ], + "loc": { + "start": { + "line": 1225, + "column": 15 + }, + "end": { + "line": 1225, + "column": 21 + } + } + }, + "range": [ + 34197, + 34211 + ], + "loc": { + "start": { + "line": 1225, + "column": 8 + }, + "end": { + "line": 1225, + "column": 22 + } + } + } + ], + "range": [ + 33475, + 34217 + ], + "loc": { + "start": { + "line": 1202, + "column": 24 + }, + "end": { + "line": 1226, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 33472, + 34217 + ], + "loc": { + "start": { + "line": 1202, + "column": 21 + }, + "end": { + "line": 1226, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 33455, + 34217 + ], + "loc": { + "start": { + "line": 1202, + "column": 4 + }, + "end": { + "line": 1226, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Insert filters row at initialization\n ", + "range": [ + 33395, + 33450 + ], + "loc": { + "start": { + "line": 1199, + "column": 4 + }, + "end": { + "line": 1201, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialize filtersless table\n ", + "range": [ + 34223, + 34270 + ], + "loc": { + "start": { + "line": 1228, + "column": 4 + }, + "end": { + "line": 1230, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_initNoFilters", + "range": [ + 34275, + 34289 + ], + "loc": { + "start": { + "line": 1231, + "column": 4 + }, + "end": { + "line": 1231, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34306, + 34310 + ], + "loc": { + "start": { + "line": 1232, + "column": 12 + }, + "end": { + "line": 1232, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 34311, + 34318 + ], + "loc": { + "start": { + "line": 1232, + "column": 17 + }, + "end": { + "line": 1232, + "column": 24 + } + } + }, + "range": [ + 34306, + 34318 + ], + "loc": { + "start": { + "line": 1232, + "column": 12 + }, + "end": { + "line": 1232, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 34334, + 34341 + ], + "loc": { + "start": { + "line": 1233, + "column": 12 + }, + "end": { + "line": 1233, + "column": 19 + } + } + } + ], + "range": [ + 34320, + 34351 + ], + "loc": { + "start": { + "line": 1232, + "column": 26 + }, + "end": { + "line": 1234, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 34302, + 34351 + ], + "loc": { + "start": { + "line": 1232, + "column": 8 + }, + "end": { + "line": 1234, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34360, + 34364 + ], + "loc": { + "start": { + "line": 1235, + "column": 8 + }, + "end": { + "line": 1235, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 34365, + 34371 + ], + "loc": { + "start": { + "line": 1235, + "column": 13 + }, + "end": { + "line": 1235, + "column": 19 + } + } + }, + "range": [ + 34360, + 34371 + ], + "loc": { + "start": { + "line": 1235, + "column": 8 + }, + "end": { + "line": 1235, + "column": 19 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34374, + 34378 + ], + "loc": { + "start": { + "line": 1235, + "column": 22 + }, + "end": { + "line": 1235, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 34379, + 34385 + ], + "loc": { + "start": { + "line": 1235, + "column": 27 + }, + "end": { + "line": 1235, + "column": 33 + } + } + }, + "range": [ + 34374, + 34385 + ], + "loc": { + "start": { + "line": 1235, + "column": 22 + }, + "end": { + "line": 1235, + "column": 33 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 34388, + 34389 + ], + "loc": { + "start": { + "line": 1235, + "column": 36 + }, + "end": { + "line": 1235, + "column": 37 + } + } + }, + "range": [ + 34374, + 34389 + ], + "loc": { + "start": { + "line": 1235, + "column": 22 + }, + "end": { + "line": 1235, + "column": 37 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34392, + 34396 + ], + "loc": { + "start": { + "line": 1235, + "column": 40 + }, + "end": { + "line": 1235, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 34397, + 34403 + ], + "loc": { + "start": { + "line": 1235, + "column": 45 + }, + "end": { + "line": 1235, + "column": 51 + } + } + }, + "range": [ + 34392, + 34403 + ], + "loc": { + "start": { + "line": 1235, + "column": 40 + }, + "end": { + "line": 1235, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 34406, + 34407 + ], + "loc": { + "start": { + "line": 1235, + "column": 54 + }, + "end": { + "line": 1235, + "column": 55 + } + } + }, + "range": [ + 34392, + 34407 + ], + "loc": { + "start": { + "line": 1235, + "column": 40 + }, + "end": { + "line": 1235, + "column": 55 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 34410, + 34411 + ], + "loc": { + "start": { + "line": 1235, + "column": 58 + }, + "end": { + "line": 1235, + "column": 59 + } + } + }, + "range": [ + 34374, + 34411 + ], + "loc": { + "start": { + "line": 1235, + "column": 22 + }, + "end": { + "line": 1235, + "column": 59 + } + } + }, + "range": [ + 34360, + 34411 + ], + "loc": { + "start": { + "line": 1235, + "column": 8 + }, + "end": { + "line": 1235, + "column": 59 + } + } + }, + "range": [ + 34360, + 34412 + ], + "loc": { + "start": { + "line": 1235, + "column": 8 + }, + "end": { + "line": 1235, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34421, + 34425 + ], + "loc": { + "start": { + "line": 1236, + "column": 8 + }, + "end": { + "line": 1236, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 34426, + 34442 + ], + "loc": { + "start": { + "line": 1236, + "column": 13 + }, + "end": { + "line": 1236, + "column": 29 + } + } + }, + "range": [ + 34421, + 34442 + ], + "loc": { + "start": { + "line": 1236, + "column": 8 + }, + "end": { + "line": 1236, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34445, + 34449 + ], + "loc": { + "start": { + "line": 1236, + "column": 32 + }, + "end": { + "line": 1236, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 34450, + 34459 + ], + "loc": { + "start": { + "line": 1236, + "column": 37 + }, + "end": { + "line": 1236, + "column": 46 + } + } + }, + "range": [ + 34445, + 34459 + ], + "loc": { + "start": { + "line": 1236, + "column": 32 + }, + "end": { + "line": 1236, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 34445, + 34461 + ], + "loc": { + "start": { + "line": 1236, + "column": 32 + }, + "end": { + "line": 1236, + "column": 48 + } + } + }, + "range": [ + 34421, + 34461 + ], + "loc": { + "start": { + "line": 1236, + "column": 8 + }, + "end": { + "line": 1236, + "column": 48 + } + } + }, + "range": [ + 34421, + 34462 + ], + "loc": { + "start": { + "line": 1236, + "column": 8 + }, + "end": { + "line": 1236, + "column": 49 + } + } + } + ], + "range": [ + 34292, + 34468 + ], + "loc": { + "start": { + "line": 1231, + "column": 21 + }, + "end": { + "line": 1237, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 34289, + 34468 + ], + "loc": { + "start": { + "line": 1231, + "column": 18 + }, + "end": { + "line": 1237, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 34275, + 34468 + ], + "loc": { + "start": { + "line": 1231, + "column": 4 + }, + "end": { + "line": 1237, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialize filtersless table\n ", + "range": [ + 34223, + 34270 + ], + "loc": { + "start": { + "line": 1228, + "column": 4 + }, + "end": { + "line": 1230, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 34474, + 34693 + ], + "loc": { + "start": { + "line": 1239, + "column": 4 + }, + "end": { + "line": 1244, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_buildInputFilter", + "range": [ + 34698, + 34715 + ], + "loc": { + "start": { + "line": 1245, + "column": 4 + }, + "end": { + "line": 1245, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 34716, + 34724 + ], + "loc": { + "start": { + "line": 1245, + "column": 22 + }, + "end": { + "line": 1245, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "cssClass", + "range": [ + 34726, + 34734 + ], + "loc": { + "start": { + "line": 1245, + "column": 32 + }, + "end": { + "line": 1245, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 34736, + 34745 + ], + "loc": { + "start": { + "line": 1245, + "column": 42 + }, + "end": { + "line": 1245, + "column": 51 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 34761, + 34764 + ], + "loc": { + "start": { + "line": 1246, + "column": 12 + }, + "end": { + "line": 1246, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34767, + 34771 + ], + "loc": { + "start": { + "line": 1246, + "column": 18 + }, + "end": { + "line": 1246, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 34772, + 34785 + ], + "loc": { + "start": { + "line": 1246, + "column": 23 + }, + "end": { + "line": 1246, + "column": 36 + } + } + }, + "range": [ + 34767, + 34785 + ], + "loc": { + "start": { + "line": 1246, + "column": 18 + }, + "end": { + "line": 1246, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 34786, + 34794 + ], + "loc": { + "start": { + "line": 1246, + "column": 37 + }, + "end": { + "line": 1246, + "column": 45 + } + } + } + ], + "range": [ + 34767, + 34795 + ], + "loc": { + "start": { + "line": 1246, + "column": 18 + }, + "end": { + "line": 1246, + "column": 46 + } + } + }, + "range": [ + 34761, + 34795 + ], + "loc": { + "start": { + "line": 1246, + "column": 12 + }, + "end": { + "line": 1246, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 34757, + 34796 + ], + "loc": { + "start": { + "line": 1246, + "column": 8 + }, + "end": { + "line": 1246, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 34809, + 34825 + ], + "loc": { + "start": { + "line": 1247, + "column": 12 + }, + "end": { + "line": 1247, + "column": 28 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34828, + 34832 + ], + "loc": { + "start": { + "line": 1247, + "column": 31 + }, + "end": { + "line": 1247, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 34833, + 34846 + ], + "loc": { + "start": { + "line": 1247, + "column": 36 + }, + "end": { + "line": 1247, + "column": 49 + } + } + }, + "range": [ + 34828, + 34846 + ], + "loc": { + "start": { + "line": 1247, + "column": 31 + }, + "end": { + "line": 1247, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 34828, + 34848 + ], + "loc": { + "start": { + "line": 1247, + "column": 31 + }, + "end": { + "line": 1247, + "column": 51 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 34863, + 34867 + ], + "loc": { + "start": { + "line": 1248, + "column": 12 + }, + "end": { + "line": 1248, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 34868, + 34885 + ], + "loc": { + "start": { + "line": 1248, + "column": 17 + }, + "end": { + "line": 1248, + "column": 34 + } + } + }, + "range": [ + 34863, + 34885 + ], + "loc": { + "start": { + "line": 1248, + "column": 12 + }, + "end": { + "line": 1248, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 34886, + 34894 + ], + "loc": { + "start": { + "line": 1248, + "column": 35 + }, + "end": { + "line": 1248, + "column": 43 + } + } + }, + "range": [ + 34863, + 34895 + ], + "loc": { + "start": { + "line": 1248, + "column": 12 + }, + "end": { + "line": 1248, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 34898, + 34902 + ], + "loc": { + "start": { + "line": 1248, + "column": 47 + }, + "end": { + "line": 1248, + "column": 51 + } + } + }, + "range": [ + 34828, + 34902 + ], + "loc": { + "start": { + "line": 1247, + "column": 31 + }, + "end": { + "line": 1248, + "column": 51 + } + } + }, + "range": [ + 34809, + 34902 + ], + "loc": { + "start": { + "line": 1247, + "column": 12 + }, + "end": { + "line": 1248, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 34805, + 34903 + ], + "loc": { + "start": { + "line": 1247, + "column": 8 + }, + "end": { + "line": 1248, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "inpType", + "range": [ + 34916, + 34923 + ], + "loc": { + "start": { + "line": 1249, + "column": 12 + }, + "end": { + "line": 1249, + "column": 19 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 34926, + 34929 + ], + "loc": { + "start": { + "line": 1249, + "column": 22 + }, + "end": { + "line": 1249, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 34934, + 34939 + ], + "loc": { + "start": { + "line": 1249, + "column": 30 + }, + "end": { + "line": 1249, + "column": 35 + } + } + }, + "range": [ + 34926, + 34939 + ], + "loc": { + "start": { + "line": 1249, + "column": 22 + }, + "end": { + "line": 1249, + "column": 35 + } + } + }, + "consequent": { + "type": "Literal", + "value": "text", + "raw": "'text'", + "range": [ + 34942, + 34948 + ], + "loc": { + "start": { + "line": 1249, + "column": 38 + }, + "end": { + "line": 1249, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": "hidden", + "raw": "'hidden'", + "range": [ + 34951, + 34959 + ], + "loc": { + "start": { + "line": 1249, + "column": 47 + }, + "end": { + "line": 1249, + "column": 55 + } + } + }, + "range": [ + 34926, + 34959 + ], + "loc": { + "start": { + "line": 1249, + "column": 22 + }, + "end": { + "line": 1249, + "column": 55 + } + } + }, + "range": [ + 34916, + 34959 + ], + "loc": { + "start": { + "line": 1249, + "column": 12 + }, + "end": { + "line": 1249, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 34912, + 34960 + ], + "loc": { + "start": { + "line": 1249, + "column": 8 + }, + "end": { + "line": 1249, + "column": 56 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "inp", + "range": [ + 34973, + 34976 + ], + "loc": { + "start": { + "line": 1250, + "column": 12 + }, + "end": { + "line": 1250, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 34979, + 34988 + ], + "loc": { + "start": { + "line": 1250, + "column": 18 + }, + "end": { + "line": 1250, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 34989, + 34994 + ], + "loc": { + "start": { + "line": 1250, + "column": 28 + }, + "end": { + "line": 1250, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 35009, + 35013 + ], + "loc": { + "start": { + "line": 1251, + "column": 13 + }, + "end": { + "line": 1251, + "column": 17 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35015, + 35019 + ], + "loc": { + "start": { + "line": 1251, + "column": 19 + }, + "end": { + "line": 1251, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "buildFilterId", + "range": [ + 35020, + 35033 + ], + "loc": { + "start": { + "line": 1251, + "column": 24 + }, + "end": { + "line": 1251, + "column": 37 + } + } + }, + "range": [ + 35015, + 35033 + ], + "loc": { + "start": { + "line": 1251, + "column": 19 + }, + "end": { + "line": 1251, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 35034, + 35042 + ], + "loc": { + "start": { + "line": 1251, + "column": 38 + }, + "end": { + "line": 1251, + "column": 46 + } + } + } + ], + "range": [ + 35015, + 35043 + ], + "loc": { + "start": { + "line": 1251, + "column": 19 + }, + "end": { + "line": 1251, + "column": 47 + } + } + } + ], + "range": [ + 35008, + 35044 + ], + "loc": { + "start": { + "line": 1251, + "column": 12 + }, + "end": { + "line": 1251, + "column": 48 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 35059, + 35065 + ], + "loc": { + "start": { + "line": 1252, + "column": 13 + }, + "end": { + "line": 1252, + "column": 19 + } + } + }, + { + "type": "Identifier", + "name": "inpType", + "range": [ + 35067, + 35074 + ], + "loc": { + "start": { + "line": 1252, + "column": 21 + }, + "end": { + "line": 1252, + "column": 28 + } + } + } + ], + "range": [ + 35058, + 35075 + ], + "loc": { + "start": { + "line": 1252, + "column": 12 + }, + "end": { + "line": 1252, + "column": 29 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "ct", + "raw": "'ct'", + "range": [ + 35078, + 35082 + ], + "loc": { + "start": { + "line": 1252, + "column": 32 + }, + "end": { + "line": 1252, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 35084, + 35092 + ], + "loc": { + "start": { + "line": 1252, + "column": 38 + }, + "end": { + "line": 1252, + "column": 46 + } + } + } + ], + "range": [ + 35077, + 35093 + ], + "loc": { + "start": { + "line": 1252, + "column": 31 + }, + "end": { + "line": 1252, + "column": 47 + } + } + } + ], + "range": [ + 34979, + 35094 + ], + "loc": { + "start": { + "line": 1250, + "column": 18 + }, + "end": { + "line": 1252, + "column": 48 + } + } + }, + "range": [ + 34973, + 35094 + ], + "loc": { + "start": { + "line": 1250, + "column": 12 + }, + "end": { + "line": 1252, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 34969, + 35095 + ], + "loc": { + "start": { + "line": 1250, + "column": 8 + }, + "end": { + "line": 1252, + "column": 49 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "inpType", + "range": [ + 35109, + 35116 + ], + "loc": { + "start": { + "line": 1254, + "column": 12 + }, + "end": { + "line": 1254, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": "hidden", + "raw": "'hidden'", + "range": [ + 35121, + 35129 + ], + "loc": { + "start": { + "line": 1254, + "column": 24 + }, + "end": { + "line": 1254, + "column": 32 + } + } + }, + "range": [ + 35109, + 35129 + ], + "loc": { + "start": { + "line": 1254, + "column": 12 + }, + "end": { + "line": 1254, + "column": 32 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35133, + 35137 + ], + "loc": { + "start": { + "line": 1254, + "column": 36 + }, + "end": { + "line": 1254, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 35138, + 35147 + ], + "loc": { + "start": { + "line": 1254, + "column": 41 + }, + "end": { + "line": 1254, + "column": 50 + } + } + }, + "range": [ + 35133, + 35147 + ], + "loc": { + "start": { + "line": 1254, + "column": 36 + }, + "end": { + "line": 1254, + "column": 50 + } + } + }, + "range": [ + 35109, + 35147 + ], + "loc": { + "start": { + "line": 1254, + "column": 12 + }, + "end": { + "line": 1254, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "inp", + "range": [ + 35163, + 35166 + ], + "loc": { + "start": { + "line": 1255, + "column": 12 + }, + "end": { + "line": 1255, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 35167, + 35179 + ], + "loc": { + "start": { + "line": 1255, + "column": 16 + }, + "end": { + "line": 1255, + "column": 28 + } + } + }, + "range": [ + 35163, + 35179 + ], + "loc": { + "start": { + "line": 1255, + "column": 12 + }, + "end": { + "line": 1255, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "placeholder", + "raw": "'placeholder'", + "range": [ + 35180, + 35193 + ], + "loc": { + "start": { + "line": 1255, + "column": 29 + }, + "end": { + "line": 1255, + "column": 42 + } + } + }, + { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35211, + 35215 + ], + "loc": { + "start": { + "line": 1256, + "column": 16 + }, + "end": { + "line": 1256, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "isWatermarkArray", + "range": [ + 35216, + 35232 + ], + "loc": { + "start": { + "line": 1256, + "column": 21 + }, + "end": { + "line": 1256, + "column": 37 + } + } + }, + "range": [ + 35211, + 35232 + ], + "loc": { + "start": { + "line": 1256, + "column": 16 + }, + "end": { + "line": 1256, + "column": 37 + } + } + }, + "consequent": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35236, + 35240 + ], + "loc": { + "start": { + "line": 1256, + "column": 41 + }, + "end": { + "line": 1256, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 35241, + 35250 + ], + "loc": { + "start": { + "line": 1256, + "column": 46 + }, + "end": { + "line": 1256, + "column": 55 + } + } + }, + "range": [ + 35236, + 35250 + ], + "loc": { + "start": { + "line": 1256, + "column": 41 + }, + "end": { + "line": 1256, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 35251, + 35259 + ], + "loc": { + "start": { + "line": 1256, + "column": 56 + }, + "end": { + "line": 1256, + "column": 64 + } + } + }, + "range": [ + 35236, + 35260 + ], + "loc": { + "start": { + "line": 1256, + "column": 41 + }, + "end": { + "line": 1256, + "column": 65 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 35264, + 35266 + ], + "loc": { + "start": { + "line": 1256, + "column": 69 + }, + "end": { + "line": 1256, + "column": 71 + } + } + }, + "range": [ + 35236, + 35266 + ], + "loc": { + "start": { + "line": 1256, + "column": 41 + }, + "end": { + "line": 1256, + "column": 71 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35290, + 35294 + ], + "loc": { + "start": { + "line": 1257, + "column": 20 + }, + "end": { + "line": 1257, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "watermark", + "range": [ + 35295, + 35304 + ], + "loc": { + "start": { + "line": 1257, + "column": 25 + }, + "end": { + "line": 1257, + "column": 34 + } + } + }, + "range": [ + 35290, + 35304 + ], + "loc": { + "start": { + "line": 1257, + "column": 20 + }, + "end": { + "line": 1257, + "column": 34 + } + } + }, + "range": [ + 35211, + 35304 + ], + "loc": { + "start": { + "line": 1256, + "column": 16 + }, + "end": { + "line": 1257, + "column": 34 + } + } + } + ], + "range": [ + 35163, + 35318 + ], + "loc": { + "start": { + "line": 1255, + "column": 12 + }, + "end": { + "line": 1258, + "column": 13 + } + } + }, + "range": [ + 35163, + 35319 + ], + "loc": { + "start": { + "line": 1255, + "column": 12 + }, + "end": { + "line": 1258, + "column": 14 + } + } + } + ], + "range": [ + 35149, + 35329 + ], + "loc": { + "start": { + "line": 1254, + "column": 52 + }, + "end": { + "line": 1259, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 35105, + 35329 + ], + "loc": { + "start": { + "line": 1254, + "column": 8 + }, + "end": { + "line": 1259, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "inp", + "range": [ + 35338, + 35341 + ], + "loc": { + "start": { + "line": 1260, + "column": 8 + }, + "end": { + "line": 1260, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 35342, + 35351 + ], + "loc": { + "start": { + "line": 1260, + "column": 12 + }, + "end": { + "line": 1260, + "column": 21 + } + } + }, + "range": [ + 35338, + 35351 + ], + "loc": { + "start": { + "line": 1260, + "column": 8 + }, + "end": { + "line": 1260, + "column": 21 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "cssClass", + "range": [ + 35354, + 35362 + ], + "loc": { + "start": { + "line": 1260, + "column": 24 + }, + "end": { + "line": 1260, + "column": 32 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35366, + 35370 + ], + "loc": { + "start": { + "line": 1260, + "column": 36 + }, + "end": { + "line": 1260, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltCssClass", + "range": [ + 35371, + 35382 + ], + "loc": { + "start": { + "line": 1260, + "column": 41 + }, + "end": { + "line": 1260, + "column": 52 + } + } + }, + "range": [ + 35366, + 35382 + ], + "loc": { + "start": { + "line": 1260, + "column": 36 + }, + "end": { + "line": 1260, + "column": 52 + } + } + }, + "range": [ + 35354, + 35382 + ], + "loc": { + "start": { + "line": 1260, + "column": 24 + }, + "end": { + "line": 1260, + "column": 52 + } + } + }, + "range": [ + 35338, + 35382 + ], + "loc": { + "start": { + "line": 1260, + "column": 8 + }, + "end": { + "line": 1260, + "column": 52 + } + } + }, + "range": [ + 35338, + 35383 + ], + "loc": { + "start": { + "line": 1260, + "column": 8 + }, + "end": { + "line": 1260, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 35392, + 35398 + ], + "loc": { + "start": { + "line": 1261, + "column": 8 + }, + "end": { + "line": 1261, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35399, + 35402 + ], + "loc": { + "start": { + "line": 1261, + "column": 15 + }, + "end": { + "line": 1261, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "focus", + "raw": "'focus'", + "range": [ + 35404, + 35411 + ], + "loc": { + "start": { + "line": 1261, + "column": 20 + }, + "end": { + "line": 1261, + "column": 27 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35414, + 35417 + ], + "loc": { + "start": { + "line": 1261, + "column": 30 + }, + "end": { + "line": 1261, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35422, + 35426 + ], + "loc": { + "start": { + "line": 1261, + "column": 38 + }, + "end": { + "line": 1261, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "onInpFocus", + "range": [ + 35427, + 35437 + ], + "loc": { + "start": { + "line": 1261, + "column": 43 + }, + "end": { + "line": 1261, + "column": 53 + } + } + }, + "range": [ + 35422, + 35437 + ], + "loc": { + "start": { + "line": 1261, + "column": 38 + }, + "end": { + "line": 1261, + "column": 53 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35438, + 35441 + ], + "loc": { + "start": { + "line": 1261, + "column": 54 + }, + "end": { + "line": 1261, + "column": 57 + } + } + } + ], + "range": [ + 35422, + 35442 + ], + "loc": { + "start": { + "line": 1261, + "column": 38 + }, + "end": { + "line": 1261, + "column": 58 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 35413, + 35442 + ], + "loc": { + "start": { + "line": 1261, + "column": 29 + }, + "end": { + "line": 1261, + "column": 58 + } + } + } + ], + "range": [ + 35392, + 35443 + ], + "loc": { + "start": { + "line": 1261, + "column": 8 + }, + "end": { + "line": 1261, + "column": 59 + } + } + }, + "range": [ + 35392, + 35444 + ], + "loc": { + "start": { + "line": 1261, + "column": 8 + }, + "end": { + "line": 1261, + "column": 60 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 35454, + 35492 + ], + "loc": { + "start": { + "line": 1263, + "column": 8 + }, + "end": { + "line": 1263, + "column": 46 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 35505, + 35521 + ], + "loc": { + "start": { + "line": 1264, + "column": 12 + }, + "end": { + "line": 1264, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 35537, + 35540 + ], + "loc": { + "start": { + "line": 1265, + "column": 12 + }, + "end": { + "line": 1265, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 35541, + 35557 + ], + "loc": { + "start": { + "line": 1265, + "column": 16 + }, + "end": { + "line": 1265, + "column": 32 + } + } + } + ], + "range": [ + 35537, + 35558 + ], + "loc": { + "start": { + "line": 1265, + "column": 12 + }, + "end": { + "line": 1265, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 35559, + 35570 + ], + "loc": { + "start": { + "line": 1265, + "column": 34 + }, + "end": { + "line": 1265, + "column": 45 + } + } + }, + "range": [ + 35537, + 35570 + ], + "loc": { + "start": { + "line": 1265, + "column": 12 + }, + "end": { + "line": 1265, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35571, + 35574 + ], + "loc": { + "start": { + "line": 1265, + "column": 46 + }, + "end": { + "line": 1265, + "column": 49 + } + } + } + ], + "range": [ + 35537, + 35575 + ], + "loc": { + "start": { + "line": 1265, + "column": 12 + }, + "end": { + "line": 1265, + "column": 50 + } + } + }, + "range": [ + 35537, + 35576 + ], + "loc": { + "start": { + "line": 1265, + "column": 12 + }, + "end": { + "line": 1265, + "column": 51 + } + } + } + ], + "range": [ + 35523, + 35586 + ], + "loc": { + "start": { + "line": 1264, + "column": 30 + }, + "end": { + "line": 1266, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 35606, + 35615 + ], + "loc": { + "start": { + "line": 1267, + "column": 12 + }, + "end": { + "line": 1267, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 35616, + 35627 + ], + "loc": { + "start": { + "line": 1267, + "column": 22 + }, + "end": { + "line": 1267, + "column": 33 + } + } + }, + "range": [ + 35606, + 35627 + ], + "loc": { + "start": { + "line": 1267, + "column": 12 + }, + "end": { + "line": 1267, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35628, + 35631 + ], + "loc": { + "start": { + "line": 1267, + "column": 34 + }, + "end": { + "line": 1267, + "column": 37 + } + } + } + ], + "range": [ + 35606, + 35632 + ], + "loc": { + "start": { + "line": 1267, + "column": 12 + }, + "end": { + "line": 1267, + "column": 38 + } + } + }, + "range": [ + 35606, + 35633 + ], + "loc": { + "start": { + "line": 1267, + "column": 12 + }, + "end": { + "line": 1267, + "column": 39 + } + } + } + ], + "range": [ + 35592, + 35643 + ], + "loc": { + "start": { + "line": 1266, + "column": 15 + }, + "end": { + "line": 1268, + "column": 9 + } + } + }, + "range": [ + 35501, + 35643 + ], + "loc": { + "start": { + "line": 1264, + "column": 8 + }, + "end": { + "line": 1268, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 35454, + 35492 + ], + "loc": { + "start": { + "line": 1263, + "column": 8 + }, + "end": { + "line": 1263, + "column": 46 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35653, + 35657 + ], + "loc": { + "start": { + "line": 1270, + "column": 8 + }, + "end": { + "line": 1270, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 35658, + 35664 + ], + "loc": { + "start": { + "line": 1270, + "column": 13 + }, + "end": { + "line": 1270, + "column": 19 + } + } + }, + "range": [ + 35653, + 35664 + ], + "loc": { + "start": { + "line": 1270, + "column": 8 + }, + "end": { + "line": 1270, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 35665, + 35669 + ], + "loc": { + "start": { + "line": 1270, + "column": 20 + }, + "end": { + "line": 1270, + "column": 24 + } + } + }, + "range": [ + 35653, + 35669 + ], + "loc": { + "start": { + "line": 1270, + "column": 8 + }, + "end": { + "line": 1270, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "inp", + "range": [ + 35670, + 35673 + ], + "loc": { + "start": { + "line": 1270, + "column": 25 + }, + "end": { + "line": 1270, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 35674, + 35676 + ], + "loc": { + "start": { + "line": 1270, + "column": 29 + }, + "end": { + "line": 1270, + "column": 31 + } + } + }, + "range": [ + 35670, + 35676 + ], + "loc": { + "start": { + "line": 1270, + "column": 25 + }, + "end": { + "line": 1270, + "column": 31 + } + } + } + ], + "range": [ + 35653, + 35677 + ], + "loc": { + "start": { + "line": 1270, + "column": 8 + }, + "end": { + "line": 1270, + "column": 32 + } + } + }, + "range": [ + 35653, + 35678 + ], + "loc": { + "start": { + "line": 1270, + "column": 8 + }, + "end": { + "line": 1270, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 35688, + 35694 + ], + "loc": { + "start": { + "line": 1272, + "column": 8 + }, + "end": { + "line": 1272, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35695, + 35698 + ], + "loc": { + "start": { + "line": 1272, + "column": 15 + }, + "end": { + "line": 1272, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "keypress", + "raw": "'keypress'", + "range": [ + 35700, + 35710 + ], + "loc": { + "start": { + "line": 1272, + "column": 20 + }, + "end": { + "line": 1272, + "column": 30 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35713, + 35716 + ], + "loc": { + "start": { + "line": 1272, + "column": 33 + }, + "end": { + "line": 1272, + "column": 36 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35721, + 35725 + ], + "loc": { + "start": { + "line": 1272, + "column": 41 + }, + "end": { + "line": 1272, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "detectKey", + "range": [ + 35726, + 35735 + ], + "loc": { + "start": { + "line": 1272, + "column": 46 + }, + "end": { + "line": 1272, + "column": 55 + } + } + }, + "range": [ + 35721, + 35735 + ], + "loc": { + "start": { + "line": 1272, + "column": 41 + }, + "end": { + "line": 1272, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35736, + 35739 + ], + "loc": { + "start": { + "line": 1272, + "column": 56 + }, + "end": { + "line": 1272, + "column": 59 + } + } + } + ], + "range": [ + 35721, + 35740 + ], + "loc": { + "start": { + "line": 1272, + "column": 41 + }, + "end": { + "line": 1272, + "column": 60 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 35712, + 35740 + ], + "loc": { + "start": { + "line": 1272, + "column": 32 + }, + "end": { + "line": 1272, + "column": 60 + } + } + } + ], + "range": [ + 35688, + 35741 + ], + "loc": { + "start": { + "line": 1272, + "column": 8 + }, + "end": { + "line": 1272, + "column": 61 + } + } + }, + "range": [ + 35688, + 35742 + ], + "loc": { + "start": { + "line": 1272, + "column": 8 + }, + "end": { + "line": 1272, + "column": 62 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 35751, + 35757 + ], + "loc": { + "start": { + "line": 1273, + "column": 8 + }, + "end": { + "line": 1273, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35758, + 35761 + ], + "loc": { + "start": { + "line": 1273, + "column": 15 + }, + "end": { + "line": 1273, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "keydown", + "raw": "'keydown'", + "range": [ + 35763, + 35772 + ], + "loc": { + "start": { + "line": 1273, + "column": 20 + }, + "end": { + "line": 1273, + "column": 29 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35780, + 35784 + ], + "loc": { + "start": { + "line": 1273, + "column": 37 + }, + "end": { + "line": 1273, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "onKeyDown", + "range": [ + 35785, + 35794 + ], + "loc": { + "start": { + "line": 1273, + "column": 42 + }, + "end": { + "line": 1273, + "column": 51 + } + } + }, + "range": [ + 35780, + 35794 + ], + "loc": { + "start": { + "line": 1273, + "column": 37 + }, + "end": { + "line": 1273, + "column": 51 + } + } + }, + "arguments": [], + "range": [ + 35780, + 35796 + ], + "loc": { + "start": { + "line": 1273, + "column": 37 + }, + "end": { + "line": 1273, + "column": 53 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 35774, + 35796 + ], + "loc": { + "start": { + "line": 1273, + "column": 31 + }, + "end": { + "line": 1273, + "column": 53 + } + } + } + ], + "range": [ + 35751, + 35797 + ], + "loc": { + "start": { + "line": 1273, + "column": 8 + }, + "end": { + "line": 1273, + "column": 54 + } + } + }, + "range": [ + 35751, + 35798 + ], + "loc": { + "start": { + "line": 1273, + "column": 8 + }, + "end": { + "line": 1273, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 35807, + 35813 + ], + "loc": { + "start": { + "line": 1274, + "column": 8 + }, + "end": { + "line": 1274, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35814, + 35817 + ], + "loc": { + "start": { + "line": 1274, + "column": 15 + }, + "end": { + "line": 1274, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "keyup", + "raw": "'keyup'", + "range": [ + 35819, + 35826 + ], + "loc": { + "start": { + "line": 1274, + "column": 20 + }, + "end": { + "line": 1274, + "column": 27 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35829, + 35832 + ], + "loc": { + "start": { + "line": 1274, + "column": 30 + }, + "end": { + "line": 1274, + "column": 33 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35837, + 35841 + ], + "loc": { + "start": { + "line": 1274, + "column": 38 + }, + "end": { + "line": 1274, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "onKeyUp", + "range": [ + 35842, + 35849 + ], + "loc": { + "start": { + "line": 1274, + "column": 43 + }, + "end": { + "line": 1274, + "column": 50 + } + } + }, + "range": [ + 35837, + 35849 + ], + "loc": { + "start": { + "line": 1274, + "column": 38 + }, + "end": { + "line": 1274, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "evt", + "range": [ + 35850, + 35853 + ], + "loc": { + "start": { + "line": 1274, + "column": 51 + }, + "end": { + "line": 1274, + "column": 54 + } + } + } + ], + "range": [ + 35837, + 35854 + ], + "loc": { + "start": { + "line": 1274, + "column": 38 + }, + "end": { + "line": 1274, + "column": 55 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 35828, + 35854 + ], + "loc": { + "start": { + "line": 1274, + "column": 29 + }, + "end": { + "line": 1274, + "column": 55 + } + } + } + ], + "range": [ + 35807, + 35855 + ], + "loc": { + "start": { + "line": 1274, + "column": 8 + }, + "end": { + "line": 1274, + "column": 56 + } + } + }, + "range": [ + 35807, + 35856 + ], + "loc": { + "start": { + "line": 1274, + "column": 8 + }, + "end": { + "line": 1274, + "column": 57 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 35865, + 35871 + ], + "loc": { + "start": { + "line": 1275, + "column": 8 + }, + "end": { + "line": 1275, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "inp", + "range": [ + 35872, + 35875 + ], + "loc": { + "start": { + "line": 1275, + "column": 15 + }, + "end": { + "line": 1275, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "blur", + "raw": "'blur'", + "range": [ + 35877, + 35883 + ], + "loc": { + "start": { + "line": 1275, + "column": 20 + }, + "end": { + "line": 1275, + "column": 26 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 35891, + 35895 + ], + "loc": { + "start": { + "line": 1275, + "column": 34 + }, + "end": { + "line": 1275, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "onInpBlur", + "range": [ + 35896, + 35905 + ], + "loc": { + "start": { + "line": 1275, + "column": 39 + }, + "end": { + "line": 1275, + "column": 48 + } + } + }, + "range": [ + 35891, + 35905 + ], + "loc": { + "start": { + "line": 1275, + "column": 34 + }, + "end": { + "line": 1275, + "column": 48 + } + } + }, + "arguments": [], + "range": [ + 35891, + 35907 + ], + "loc": { + "start": { + "line": 1275, + "column": 34 + }, + "end": { + "line": 1275, + "column": 50 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 35885, + 35907 + ], + "loc": { + "start": { + "line": 1275, + "column": 28 + }, + "end": { + "line": 1275, + "column": 50 + } + } + } + ], + "range": [ + 35865, + 35908 + ], + "loc": { + "start": { + "line": 1275, + "column": 8 + }, + "end": { + "line": 1275, + "column": 51 + } + } + }, + "range": [ + 35865, + 35909 + ], + "loc": { + "start": { + "line": 1275, + "column": 8 + }, + "end": { + "line": 1275, + "column": 52 + } + } + } + ], + "range": [ + 34747, + 35915 + ], + "loc": { + "start": { + "line": 1245, + "column": 53 + }, + "end": { + "line": 1276, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 34715, + 35915 + ], + "loc": { + "start": { + "line": 1245, + "column": 21 + }, + "end": { + "line": 1276, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 34698, + 35915 + ], + "loc": { + "start": { + "line": 1245, + "column": 4 + }, + "end": { + "line": 1276, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 34474, + 34693 + ], + "loc": { + "start": { + "line": 1239, + "column": 4 + }, + "end": { + "line": 1244, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n ", + "range": [ + 35921, + 36070 + ], + "loc": { + "start": { + "line": 1278, + "column": 4 + }, + "end": { + "line": 1282, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_buildSubmitButton", + "range": [ + 36075, + 36093 + ], + "loc": { + "start": { + "line": 1283, + "column": 4 + }, + "end": { + "line": 1283, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 36094, + 36102 + ], + "loc": { + "start": { + "line": 1283, + "column": 23 + }, + "end": { + "line": 1283, + "column": 31 + } + } + }, + { + "type": "Identifier", + "name": "container", + "range": [ + 36104, + 36113 + ], + "loc": { + "start": { + "line": 1283, + "column": 33 + }, + "end": { + "line": 1283, + "column": 42 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 36129, + 36145 + ], + "loc": { + "start": { + "line": 1284, + "column": 12 + }, + "end": { + "line": 1284, + "column": 28 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 36148, + 36152 + ], + "loc": { + "start": { + "line": 1284, + "column": 31 + }, + "end": { + "line": 1284, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 36153, + 36166 + ], + "loc": { + "start": { + "line": 1284, + "column": 36 + }, + "end": { + "line": 1284, + "column": 49 + } + } + }, + "range": [ + 36148, + 36166 + ], + "loc": { + "start": { + "line": 1284, + "column": 31 + }, + "end": { + "line": 1284, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 36148, + 36168 + ], + "loc": { + "start": { + "line": 1284, + "column": 31 + }, + "end": { + "line": 1284, + "column": 51 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 36183, + 36187 + ], + "loc": { + "start": { + "line": 1285, + "column": 12 + }, + "end": { + "line": 1285, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 36188, + 36205 + ], + "loc": { + "start": { + "line": 1285, + "column": 17 + }, + "end": { + "line": 1285, + "column": 34 + } + } + }, + "range": [ + 36183, + 36205 + ], + "loc": { + "start": { + "line": 1285, + "column": 12 + }, + "end": { + "line": 1285, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 36206, + 36214 + ], + "loc": { + "start": { + "line": 1285, + "column": 35 + }, + "end": { + "line": 1285, + "column": 43 + } + } + }, + "range": [ + 36183, + 36215 + ], + "loc": { + "start": { + "line": 1285, + "column": 12 + }, + "end": { + "line": 1285, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 36218, + 36222 + ], + "loc": { + "start": { + "line": 1285, + "column": 47 + }, + "end": { + "line": 1285, + "column": 51 + } + } + }, + "range": [ + 36148, + 36222 + ], + "loc": { + "start": { + "line": 1284, + "column": 31 + }, + "end": { + "line": 1285, + "column": 51 + } + } + }, + "range": [ + 36129, + 36222 + ], + "loc": { + "start": { + "line": 1284, + "column": 12 + }, + "end": { + "line": 1285, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 36125, + 36223 + ], + "loc": { + "start": { + "line": 1284, + "column": 8 + }, + "end": { + "line": 1285, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "btn", + "range": [ + 36236, + 36239 + ], + "loc": { + "start": { + "line": 1286, + "column": 12 + }, + "end": { + "line": 1286, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 36242, + 36251 + ], + "loc": { + "start": { + "line": 1286, + "column": 18 + }, + "end": { + "line": 1286, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "INPUT", + "range": [ + 36252, + 36257 + ], + "loc": { + "start": { + "line": 1286, + "column": 28 + }, + "end": { + "line": 1286, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 36272, + 36278 + ], + "loc": { + "start": { + "line": 1287, + "column": 13 + }, + "end": { + "line": 1287, + "column": 19 + } + } + }, + { + "type": "Literal", + "value": "button", + "raw": "'button'", + "range": [ + 36280, + 36288 + ], + "loc": { + "start": { + "line": 1287, + "column": 21 + }, + "end": { + "line": 1287, + "column": 29 + } + } + } + ], + "range": [ + 36271, + 36289 + ], + "loc": { + "start": { + "line": 1287, + "column": 12 + }, + "end": { + "line": 1287, + "column": 30 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "value", + "raw": "'value'", + "range": [ + 36304, + 36311 + ], + "loc": { + "start": { + "line": 1288, + "column": 13 + }, + "end": { + "line": 1288, + "column": 20 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 36313, + 36317 + ], + "loc": { + "start": { + "line": 1288, + "column": 22 + }, + "end": { + "line": 1288, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnText", + "range": [ + 36318, + 36325 + ], + "loc": { + "start": { + "line": 1288, + "column": 27 + }, + "end": { + "line": 1288, + "column": 34 + } + } + }, + "range": [ + 36313, + 36325 + ], + "loc": { + "start": { + "line": 1288, + "column": 22 + }, + "end": { + "line": 1288, + "column": 34 + } + } + } + ], + "range": [ + 36303, + 36326 + ], + "loc": { + "start": { + "line": 1288, + "column": 12 + }, + "end": { + "line": 1288, + "column": 35 + } + } + } + ], + "range": [ + 36242, + 36336 + ], + "loc": { + "start": { + "line": 1286, + "column": 18 + }, + "end": { + "line": 1289, + "column": 9 + } + } + }, + "range": [ + 36236, + 36336 + ], + "loc": { + "start": { + "line": 1286, + "column": 12 + }, + "end": { + "line": 1289, + "column": 9 + } + } + } + ], + "kind": "let", + "range": [ + 36232, + 36337 + ], + "loc": { + "start": { + "line": 1286, + "column": 8 + }, + "end": { + "line": 1289, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "btn", + "range": [ + 36346, + 36349 + ], + "loc": { + "start": { + "line": 1290, + "column": 8 + }, + "end": { + "line": 1290, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 36350, + 36359 + ], + "loc": { + "start": { + "line": 1290, + "column": 12 + }, + "end": { + "line": 1290, + "column": 21 + } + } + }, + "range": [ + 36346, + 36359 + ], + "loc": { + "start": { + "line": 1290, + "column": 8 + }, + "end": { + "line": 1290, + "column": 21 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 36362, + 36366 + ], + "loc": { + "start": { + "line": 1290, + "column": 24 + }, + "end": { + "line": 1290, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "btnCssClass", + "range": [ + 36367, + 36378 + ], + "loc": { + "start": { + "line": 1290, + "column": 29 + }, + "end": { + "line": 1290, + "column": 40 + } + } + }, + "range": [ + 36362, + 36378 + ], + "loc": { + "start": { + "line": 1290, + "column": 24 + }, + "end": { + "line": 1290, + "column": 40 + } + } + }, + "range": [ + 36346, + 36378 + ], + "loc": { + "start": { + "line": 1290, + "column": 8 + }, + "end": { + "line": 1290, + "column": 40 + } + } + }, + "range": [ + 36346, + 36379 + ], + "loc": { + "start": { + "line": 1290, + "column": 8 + }, + "end": { + "line": 1290, + "column": 41 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 36389, + 36427 + ], + "loc": { + "start": { + "line": 1292, + "column": 8 + }, + "end": { + "line": 1292, + "column": 46 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 36440, + 36456 + ], + "loc": { + "start": { + "line": 1293, + "column": 12 + }, + "end": { + "line": 1293, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 36472, + 36475 + ], + "loc": { + "start": { + "line": 1294, + "column": 12 + }, + "end": { + "line": 1294, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 36476, + 36492 + ], + "loc": { + "start": { + "line": 1294, + "column": 16 + }, + "end": { + "line": 1294, + "column": 32 + } + } + } + ], + "range": [ + 36472, + 36493 + ], + "loc": { + "start": { + "line": 1294, + "column": 12 + }, + "end": { + "line": 1294, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 36494, + 36505 + ], + "loc": { + "start": { + "line": 1294, + "column": 34 + }, + "end": { + "line": 1294, + "column": 45 + } + } + }, + "range": [ + 36472, + 36505 + ], + "loc": { + "start": { + "line": 1294, + "column": 12 + }, + "end": { + "line": 1294, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 36506, + 36509 + ], + "loc": { + "start": { + "line": 1294, + "column": 46 + }, + "end": { + "line": 1294, + "column": 49 + } + } + } + ], + "range": [ + 36472, + 36510 + ], + "loc": { + "start": { + "line": 1294, + "column": 12 + }, + "end": { + "line": 1294, + "column": 50 + } + } + }, + "range": [ + 36472, + 36511 + ], + "loc": { + "start": { + "line": 1294, + "column": 12 + }, + "end": { + "line": 1294, + "column": 51 + } + } + } + ], + "range": [ + 36458, + 36521 + ], + "loc": { + "start": { + "line": 1293, + "column": 30 + }, + "end": { + "line": 1295, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "container", + "range": [ + 36541, + 36550 + ], + "loc": { + "start": { + "line": 1296, + "column": 12 + }, + "end": { + "line": 1296, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 36551, + 36562 + ], + "loc": { + "start": { + "line": 1296, + "column": 22 + }, + "end": { + "line": 1296, + "column": 33 + } + } + }, + "range": [ + 36541, + 36562 + ], + "loc": { + "start": { + "line": 1296, + "column": 12 + }, + "end": { + "line": 1296, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 36563, + 36566 + ], + "loc": { + "start": { + "line": 1296, + "column": 34 + }, + "end": { + "line": 1296, + "column": 37 + } + } + } + ], + "range": [ + 36541, + 36567 + ], + "loc": { + "start": { + "line": 1296, + "column": 12 + }, + "end": { + "line": 1296, + "column": 38 + } + } + }, + "range": [ + 36541, + 36568 + ], + "loc": { + "start": { + "line": 1296, + "column": 12 + }, + "end": { + "line": 1296, + "column": 39 + } + } + } + ], + "range": [ + 36527, + 36578 + ], + "loc": { + "start": { + "line": 1295, + "column": 15 + }, + "end": { + "line": 1297, + "column": 9 + } + } + }, + "range": [ + 36436, + 36578 + ], + "loc": { + "start": { + "line": 1293, + "column": 8 + }, + "end": { + "line": 1297, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 36389, + 36427 + ], + "loc": { + "start": { + "line": 1292, + "column": 8 + }, + "end": { + "line": 1292, + "column": 46 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "addEvt", + "range": [ + 36588, + 36594 + ], + "loc": { + "start": { + "line": 1299, + "column": 8 + }, + "end": { + "line": 1299, + "column": 14 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "btn", + "range": [ + 36595, + 36598 + ], + "loc": { + "start": { + "line": 1299, + "column": 15 + }, + "end": { + "line": 1299, + "column": 18 + } + } + }, + { + "type": "Literal", + "value": "click", + "raw": "'click'", + "range": [ + 36600, + 36607 + ], + "loc": { + "start": { + "line": 1299, + "column": 20 + }, + "end": { + "line": 1299, + "column": 27 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 36615, + 36619 + ], + "loc": { + "start": { + "line": 1299, + "column": 35 + }, + "end": { + "line": 1299, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 36620, + 36626 + ], + "loc": { + "start": { + "line": 1299, + "column": 40 + }, + "end": { + "line": 1299, + "column": 46 + } + } + }, + "range": [ + 36615, + 36626 + ], + "loc": { + "start": { + "line": 1299, + "column": 35 + }, + "end": { + "line": 1299, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 36615, + 36628 + ], + "loc": { + "start": { + "line": 1299, + "column": 35 + }, + "end": { + "line": 1299, + "column": 48 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 36609, + 36628 + ], + "loc": { + "start": { + "line": 1299, + "column": 29 + }, + "end": { + "line": 1299, + "column": 48 + } + } + } + ], + "range": [ + 36588, + 36629 + ], + "loc": { + "start": { + "line": 1299, + "column": 8 + }, + "end": { + "line": 1299, + "column": 49 + } + } + }, + "range": [ + 36588, + 36630 + ], + "loc": { + "start": { + "line": 1299, + "column": 8 + }, + "end": { + "line": 1299, + "column": 50 + } + } + } + ], + "range": [ + 36115, + 36636 + ], + "loc": { + "start": { + "line": 1283, + "column": 44 + }, + "end": { + "line": 1300, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 36093, + 36636 + ], + "loc": { + "start": { + "line": 1283, + "column": 22 + }, + "end": { + "line": 1300, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 36075, + 36636 + ], + "loc": { + "start": { + "line": 1283, + "column": 4 + }, + "end": { + "line": 1300, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n ", + "range": [ + 35921, + 36070 + ], + "loc": { + "start": { + "line": 1278, + "column": 4 + }, + "end": { + "line": 1282, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Istantiate the collection of features required by the\n * configuration and add them to the features registry. A feature is\n * described by a `class` and `name` fields and and optional `property`\n * field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 36642, + 36995 + ], + "loc": { + "start": { + "line": 1302, + "column": 4 + }, + "end": { + "line": 1313, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "instantiateFeatures", + "range": [ + 37000, + 37019 + ], + "loc": { + "start": { + "line": 1314, + "column": 4 + }, + "end": { + "line": 1314, + "column": 23 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "features", + "range": [ + 37020, + 37028 + ], + "loc": { + "start": { + "line": 1314, + "column": 24 + }, + "end": { + "line": 1314, + "column": 32 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 37031, + 37033 + ], + "loc": { + "start": { + "line": 1314, + "column": 35 + }, + "end": { + "line": 1314, + "column": 37 + } + } + }, + "range": [ + 37020, + 37033 + ], + "loc": { + "start": { + "line": 1314, + "column": 24 + }, + "end": { + "line": 1314, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "features", + "range": [ + 37045, + 37053 + ], + "loc": { + "start": { + "line": 1315, + "column": 8 + }, + "end": { + "line": 1315, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 37054, + 37061 + ], + "loc": { + "start": { + "line": 1315, + "column": 17 + }, + "end": { + "line": 1315, + "column": 24 + } + } + }, + "range": [ + 37045, + 37061 + ], + "loc": { + "start": { + "line": 1315, + "column": 8 + }, + "end": { + "line": 1315, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "feature", + "range": [ + 37063, + 37070 + ], + "loc": { + "start": { + "line": 1315, + "column": 26 + }, + "end": { + "line": 1315, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "feature", + "range": [ + 37341, + 37348 + ], + "loc": { + "start": { + "line": 1320, + "column": 12 + }, + "end": { + "line": 1320, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "property", + "range": [ + 37349, + 37357 + ], + "loc": { + "start": { + "line": 1320, + "column": 20 + }, + "end": { + "line": 1320, + "column": 28 + } + } + }, + "range": [ + 37341, + 37357 + ], + "loc": { + "start": { + "line": 1320, + "column": 12 + }, + "end": { + "line": 1320, + "column": 28 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "feature", + "range": [ + 37360, + 37367 + ], + "loc": { + "start": { + "line": 1320, + "column": 31 + }, + "end": { + "line": 1320, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "property", + "range": [ + 37368, + 37376 + ], + "loc": { + "start": { + "line": 1320, + "column": 39 + }, + "end": { + "line": 1320, + "column": 47 + } + } + }, + "range": [ + 37360, + 37376 + ], + "loc": { + "start": { + "line": 1320, + "column": 31 + }, + "end": { + "line": 1320, + "column": 47 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "feature", + "range": [ + 37380, + 37387 + ], + "loc": { + "start": { + "line": 1320, + "column": 51 + }, + "end": { + "line": 1320, + "column": 58 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 37388, + 37392 + ], + "loc": { + "start": { + "line": 1320, + "column": 59 + }, + "end": { + "line": 1320, + "column": 63 + } + } + }, + "range": [ + 37380, + 37392 + ], + "loc": { + "start": { + "line": 1320, + "column": 51 + }, + "end": { + "line": 1320, + "column": 63 + } + } + }, + "range": [ + 37360, + 37392 + ], + "loc": { + "start": { + "line": 1320, + "column": 31 + }, + "end": { + "line": 1320, + "column": 63 + } + } + }, + "range": [ + 37341, + 37392 + ], + "loc": { + "start": { + "line": 1320, + "column": 12 + }, + "end": { + "line": 1320, + "column": 63 + } + } + }, + "range": [ + 37341, + 37393 + ], + "loc": { + "start": { + "line": 1320, + "column": 12 + }, + "end": { + "line": 1320, + "column": 64 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " TODO: remove the property field.", + "range": [ + 37089, + 37124 + ], + "loc": { + "start": { + "line": 1316, + "column": 12 + }, + "end": { + "line": 1316, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " Due to naming convention inconsistencies, a `property`", + "range": [ + 37137, + 37194 + ], + "loc": { + "start": { + "line": 1317, + "column": 12 + }, + "end": { + "line": 1317, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " field is added to allow a conditional instanciation based", + "range": [ + 37207, + 37267 + ], + "loc": { + "start": { + "line": 1318, + "column": 12 + }, + "end": { + "line": 1318, + "column": 72 + } + } + }, + { + "type": "Line", + "value": " on that property on TableFilter, if supplied.", + "range": [ + 37280, + 37328 + ], + "loc": { + "start": { + "line": 1319, + "column": 12 + }, + "end": { + "line": 1319, + "column": 60 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 37411, + 37415 + ], + "loc": { + "start": { + "line": 1321, + "column": 17 + }, + "end": { + "line": 1321, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasConfig", + "range": [ + 37416, + 37425 + ], + "loc": { + "start": { + "line": 1321, + "column": 22 + }, + "end": { + "line": 1321, + "column": 31 + } + } + }, + "range": [ + 37411, + 37425 + ], + "loc": { + "start": { + "line": 1321, + "column": 17 + }, + "end": { + "line": 1321, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 37410, + 37425 + ], + "loc": { + "start": { + "line": 1321, + "column": 16 + }, + "end": { + "line": 1321, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "ThisExpression", + "range": [ + 37429, + 37433 + ], + "loc": { + "start": { + "line": 1321, + "column": 35 + }, + "end": { + "line": 1321, + "column": 39 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "feature", + "range": [ + 37434, + 37441 + ], + "loc": { + "start": { + "line": 1321, + "column": 40 + }, + "end": { + "line": 1321, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "property", + "range": [ + 37442, + 37450 + ], + "loc": { + "start": { + "line": 1321, + "column": 48 + }, + "end": { + "line": 1321, + "column": 56 + } + } + }, + "range": [ + 37434, + 37450 + ], + "loc": { + "start": { + "line": 1321, + "column": 40 + }, + "end": { + "line": 1321, + "column": 56 + } + } + }, + "range": [ + 37429, + 37451 + ], + "loc": { + "start": { + "line": 1321, + "column": 35 + }, + "end": { + "line": 1321, + "column": 57 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 37456, + 37460 + ], + "loc": { + "start": { + "line": 1321, + "column": 62 + }, + "end": { + "line": 1321, + "column": 66 + } + } + }, + "range": [ + 37429, + 37460 + ], + "loc": { + "start": { + "line": 1321, + "column": 35 + }, + "end": { + "line": 1321, + "column": 66 + } + } + }, + "range": [ + 37410, + 37460 + ], + "loc": { + "start": { + "line": 1321, + "column": 16 + }, + "end": { + "line": 1321, + "column": 66 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "feature", + "range": [ + 37480, + 37487 + ], + "loc": { + "start": { + "line": 1322, + "column": 16 + }, + "end": { + "line": 1322, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "enforce", + "range": [ + 37488, + 37495 + ], + "loc": { + "start": { + "line": 1322, + "column": 24 + }, + "end": { + "line": 1322, + "column": 31 + } + } + }, + "range": [ + 37480, + 37495 + ], + "loc": { + "start": { + "line": 1322, + "column": 16 + }, + "end": { + "line": 1322, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 37500, + 37504 + ], + "loc": { + "start": { + "line": 1322, + "column": 36 + }, + "end": { + "line": 1322, + "column": 40 + } + } + }, + "range": [ + 37480, + 37504 + ], + "loc": { + "start": { + "line": 1322, + "column": 16 + }, + "end": { + "line": 1322, + "column": 40 + } + } + }, + "range": [ + 37410, + 37504 + ], + "loc": { + "start": { + "line": 1321, + "column": 16 + }, + "end": { + "line": 1322, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "class", + "range": [ + 37529, + 37534 + ], + "loc": { + "start": { + "line": 1323, + "column": 21 + }, + "end": { + "line": 1323, + "column": 26 + } + } + }, + "value": { + "type": "Identifier", + "name": "Cls", + "range": [ + 37536, + 37539 + ], + "loc": { + "start": { + "line": 1323, + "column": 28 + }, + "end": { + "line": 1323, + "column": 31 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 37529, + 37539 + ], + "loc": { + "start": { + "line": 1323, + "column": 21 + }, + "end": { + "line": 1323, + "column": 31 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 37541, + 37545 + ], + "loc": { + "start": { + "line": 1323, + "column": 33 + }, + "end": { + "line": 1323, + "column": 37 + } + } + }, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 37541, + 37545 + ], + "loc": { + "start": { + "line": 1323, + "column": 33 + }, + "end": { + "line": 1323, + "column": 37 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 37541, + 37545 + ], + "loc": { + "start": { + "line": 1323, + "column": 33 + }, + "end": { + "line": 1323, + "column": 37 + } + } + } + ], + "range": [ + 37528, + 37546 + ], + "loc": { + "start": { + "line": 1323, + "column": 20 + }, + "end": { + "line": 1323, + "column": 38 + } + } + }, + "init": { + "type": "Identifier", + "name": "feature", + "range": [ + 37549, + 37556 + ], + "loc": { + "start": { + "line": 1323, + "column": 41 + }, + "end": { + "line": 1323, + "column": 48 + } + } + }, + "range": [ + 37528, + 37556 + ], + "loc": { + "start": { + "line": 1323, + "column": 20 + }, + "end": { + "line": 1323, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 37524, + 37557 + ], + "loc": { + "start": { + "line": 1323, + "column": 16 + }, + "end": { + "line": 1323, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 37575, + 37579 + ], + "loc": { + "start": { + "line": 1325, + "column": 16 + }, + "end": { + "line": 1325, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 37580, + 37583 + ], + "loc": { + "start": { + "line": 1325, + "column": 21 + }, + "end": { + "line": 1325, + "column": 24 + } + } + }, + "range": [ + 37575, + 37583 + ], + "loc": { + "start": { + "line": 1325, + "column": 16 + }, + "end": { + "line": 1325, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 37584, + 37588 + ], + "loc": { + "start": { + "line": 1325, + "column": 25 + }, + "end": { + "line": 1325, + "column": 29 + } + } + }, + "range": [ + 37575, + 37589 + ], + "loc": { + "start": { + "line": 1325, + "column": 16 + }, + "end": { + "line": 1325, + "column": 30 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 37592, + 37596 + ], + "loc": { + "start": { + "line": 1325, + "column": 33 + }, + "end": { + "line": 1325, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 37597, + 37600 + ], + "loc": { + "start": { + "line": 1325, + "column": 38 + }, + "end": { + "line": 1325, + "column": 41 + } + } + }, + "range": [ + 37592, + 37600 + ], + "loc": { + "start": { + "line": 1325, + "column": 33 + }, + "end": { + "line": 1325, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 37601, + 37605 + ], + "loc": { + "start": { + "line": 1325, + "column": 42 + }, + "end": { + "line": 1325, + "column": 46 + } + } + }, + "range": [ + 37592, + 37606 + ], + "loc": { + "start": { + "line": 1325, + "column": 33 + }, + "end": { + "line": 1325, + "column": 47 + } + } + }, + "right": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Cls", + "range": [ + 37614, + 37617 + ], + "loc": { + "start": { + "line": 1325, + "column": 55 + }, + "end": { + "line": 1325, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 37618, + 37622 + ], + "loc": { + "start": { + "line": 1325, + "column": 59 + }, + "end": { + "line": 1325, + "column": 63 + } + } + } + ], + "range": [ + 37610, + 37623 + ], + "loc": { + "start": { + "line": 1325, + "column": 51 + }, + "end": { + "line": 1325, + "column": 64 + } + } + }, + "range": [ + 37592, + 37623 + ], + "loc": { + "start": { + "line": 1325, + "column": 33 + }, + "end": { + "line": 1325, + "column": 64 + } + } + }, + "range": [ + 37575, + 37623 + ], + "loc": { + "start": { + "line": 1325, + "column": 16 + }, + "end": { + "line": 1325, + "column": 64 + } + } + }, + "range": [ + 37575, + 37624 + ], + "loc": { + "start": { + "line": 1325, + "column": 16 + }, + "end": { + "line": 1325, + "column": 65 + } + } + } + ], + "range": [ + 37506, + 37638 + ], + "loc": { + "start": { + "line": 1322, + "column": 42 + }, + "end": { + "line": 1326, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 37406, + 37638 + ], + "loc": { + "start": { + "line": 1321, + "column": 12 + }, + "end": { + "line": 1326, + "column": 13 + } + } + } + ], + "range": [ + 37075, + 37648 + ], + "loc": { + "start": { + "line": 1315, + "column": 38 + }, + "end": { + "line": 1327, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 37062, + 37648 + ], + "loc": { + "start": { + "line": 1315, + "column": 25 + }, + "end": { + "line": 1327, + "column": 9 + } + } + } + ], + "range": [ + 37045, + 37649 + ], + "loc": { + "start": { + "line": 1315, + "column": 8 + }, + "end": { + "line": 1327, + "column": 10 + } + } + }, + "range": [ + 37045, + 37650 + ], + "loc": { + "start": { + "line": 1315, + "column": 8 + }, + "end": { + "line": 1327, + "column": 11 + } + } + } + ], + "range": [ + 37035, + 37656 + ], + "loc": { + "start": { + "line": 1314, + "column": 39 + }, + "end": { + "line": 1328, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 37019, + 37656 + ], + "loc": { + "start": { + "line": 1314, + "column": 23 + }, + "end": { + "line": 1328, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 37000, + 37656 + ], + "loc": { + "start": { + "line": 1314, + "column": 4 + }, + "end": { + "line": 1328, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Istantiate the collection of features required by the\n * configuration and add them to the features registry. A feature is\n * described by a `class` and `name` fields and and optional `property`\n * field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 36642, + 36995 + ], + "loc": { + "start": { + "line": 1302, + "column": 4 + }, + "end": { + "line": 1313, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialise the passed features collection. A feature is described by a\n * `class` and `name` fields and and optional `property` field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 37662, + 37937 + ], + "loc": { + "start": { + "line": 1330, + "column": 4 + }, + "end": { + "line": 1339, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "initFeatures", + "range": [ + 37942, + 37954 + ], + "loc": { + "start": { + "line": 1340, + "column": 4 + }, + "end": { + "line": 1340, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "features", + "range": [ + 37955, + 37963 + ], + "loc": { + "start": { + "line": 1340, + "column": 17 + }, + "end": { + "line": 1340, + "column": 25 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 37966, + 37968 + ], + "loc": { + "start": { + "line": 1340, + "column": 28 + }, + "end": { + "line": 1340, + "column": 30 + } + } + }, + "range": [ + 37955, + 37968 + ], + "loc": { + "start": { + "line": 1340, + "column": 17 + }, + "end": { + "line": 1340, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "features", + "range": [ + 37980, + 37988 + ], + "loc": { + "start": { + "line": 1341, + "column": 8 + }, + "end": { + "line": 1341, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 37989, + 37996 + ], + "loc": { + "start": { + "line": 1341, + "column": 17 + }, + "end": { + "line": 1341, + "column": 24 + } + } + }, + "range": [ + 37980, + 37996 + ], + "loc": { + "start": { + "line": 1341, + "column": 8 + }, + "end": { + "line": 1341, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "feature", + "range": [ + 37998, + 38005 + ], + "loc": { + "start": { + "line": 1341, + "column": 26 + }, + "end": { + "line": 1341, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "ObjectPattern", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "property", + "range": [ + 38029, + 38037 + ], + "loc": { + "start": { + "line": 1342, + "column": 17 + }, + "end": { + "line": 1342, + "column": 25 + } + } + }, + "value": { + "type": "Identifier", + "name": "property", + "range": [ + 38029, + 38037 + ], + "loc": { + "start": { + "line": 1342, + "column": 17 + }, + "end": { + "line": 1342, + "column": 25 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 38029, + 38037 + ], + "loc": { + "start": { + "line": 1342, + "column": 17 + }, + "end": { + "line": 1342, + "column": 25 + } + } + }, + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 38039, + 38043 + ], + "loc": { + "start": { + "line": 1342, + "column": 27 + }, + "end": { + "line": 1342, + "column": 31 + } + } + }, + "value": { + "type": "Identifier", + "name": "name", + "range": [ + 38039, + 38043 + ], + "loc": { + "start": { + "line": 1342, + "column": 27 + }, + "end": { + "line": 1342, + "column": 31 + } + } + }, + "kind": "init", + "method": false, + "shorthand": true, + "computed": false, + "range": [ + 38039, + 38043 + ], + "loc": { + "start": { + "line": 1342, + "column": 27 + }, + "end": { + "line": 1342, + "column": 31 + } + } + } + ], + "range": [ + 38028, + 38044 + ], + "loc": { + "start": { + "line": 1342, + "column": 16 + }, + "end": { + "line": 1342, + "column": 32 + } + } + }, + "init": { + "type": "Identifier", + "name": "feature", + "range": [ + 38047, + 38054 + ], + "loc": { + "start": { + "line": 1342, + "column": 35 + }, + "end": { + "line": 1342, + "column": 42 + } + } + }, + "range": [ + 38028, + 38054 + ], + "loc": { + "start": { + "line": 1342, + "column": 16 + }, + "end": { + "line": 1342, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 38024, + 38055 + ], + "loc": { + "start": { + "line": 1342, + "column": 12 + }, + "end": { + "line": 1342, + "column": 43 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "ThisExpression", + "range": [ + 38072, + 38076 + ], + "loc": { + "start": { + "line": 1343, + "column": 16 + }, + "end": { + "line": 1343, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "property", + "range": [ + 38077, + 38085 + ], + "loc": { + "start": { + "line": 1343, + "column": 21 + }, + "end": { + "line": 1343, + "column": 29 + } + } + }, + "range": [ + 38072, + 38086 + ], + "loc": { + "start": { + "line": 1343, + "column": 16 + }, + "end": { + "line": 1343, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 38091, + 38095 + ], + "loc": { + "start": { + "line": 1343, + "column": 35 + }, + "end": { + "line": 1343, + "column": 39 + } + } + }, + "range": [ + 38072, + 38095 + ], + "loc": { + "start": { + "line": 1343, + "column": 16 + }, + "end": { + "line": 1343, + "column": 39 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38099, + 38103 + ], + "loc": { + "start": { + "line": 1343, + "column": 43 + }, + "end": { + "line": 1343, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 38104, + 38107 + ], + "loc": { + "start": { + "line": 1343, + "column": 48 + }, + "end": { + "line": 1343, + "column": 51 + } + } + }, + "range": [ + 38099, + 38107 + ], + "loc": { + "start": { + "line": 1343, + "column": 43 + }, + "end": { + "line": 1343, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 38108, + 38112 + ], + "loc": { + "start": { + "line": 1343, + "column": 52 + }, + "end": { + "line": 1343, + "column": 56 + } + } + }, + "range": [ + 38099, + 38113 + ], + "loc": { + "start": { + "line": 1343, + "column": 43 + }, + "end": { + "line": 1343, + "column": 57 + } + } + }, + "range": [ + 38072, + 38113 + ], + "loc": { + "start": { + "line": 1343, + "column": 16 + }, + "end": { + "line": 1343, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38133, + 38137 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 38138, + 38141 + ], + "loc": { + "start": { + "line": 1344, + "column": 21 + }, + "end": { + "line": 1344, + "column": 24 + } + } + }, + "range": [ + 38133, + 38141 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 38142, + 38146 + ], + "loc": { + "start": { + "line": 1344, + "column": 25 + }, + "end": { + "line": 1344, + "column": 29 + } + } + }, + "range": [ + 38133, + 38147 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 38148, + 38152 + ], + "loc": { + "start": { + "line": 1344, + "column": 31 + }, + "end": { + "line": 1344, + "column": 35 + } + } + }, + "range": [ + 38133, + 38152 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 38133, + 38154 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 37 + } + } + }, + "range": [ + 38133, + 38155 + ], + "loc": { + "start": { + "line": 1344, + "column": 16 + }, + "end": { + "line": 1344, + "column": 38 + } + } + } + ], + "range": [ + 38115, + 38169 + ], + "loc": { + "start": { + "line": 1343, + "column": 59 + }, + "end": { + "line": 1345, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 38068, + 38169 + ], + "loc": { + "start": { + "line": 1343, + "column": 12 + }, + "end": { + "line": 1345, + "column": 13 + } + } + } + ], + "range": [ + 38010, + 38179 + ], + "loc": { + "start": { + "line": 1341, + "column": 38 + }, + "end": { + "line": 1346, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 37997, + 38179 + ], + "loc": { + "start": { + "line": 1341, + "column": 25 + }, + "end": { + "line": 1346, + "column": 9 + } + } + } + ], + "range": [ + 37980, + 38180 + ], + "loc": { + "start": { + "line": 1341, + "column": 8 + }, + "end": { + "line": 1346, + "column": 10 + } + } + }, + "range": [ + 37980, + 38181 + ], + "loc": { + "start": { + "line": 1341, + "column": 8 + }, + "end": { + "line": 1346, + "column": 11 + } + } + } + ], + "range": [ + 37970, + 38187 + ], + "loc": { + "start": { + "line": 1340, + "column": 32 + }, + "end": { + "line": 1347, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 37954, + 38187 + ], + "loc": { + "start": { + "line": 1340, + "column": 16 + }, + "end": { + "line": 1347, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 37942, + 38187 + ], + "loc": { + "start": { + "line": 1340, + "column": 4 + }, + "end": { + "line": 1347, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialise the passed features collection. A feature is described by a\n * `class` and `name` fields and and optional `property` field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 37662, + 37937 + ], + "loc": { + "start": { + "line": 1330, + "column": 4 + }, + "end": { + "line": 1339, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n ", + "range": [ + 38193, + 38327 + ], + "loc": { + "start": { + "line": 1349, + "column": 4 + }, + "end": { + "line": 1353, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "feature", + "range": [ + 38332, + 38339 + ], + "loc": { + "start": { + "line": 1354, + "column": 4 + }, + "end": { + "line": 1354, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 38340, + 38344 + ], + "loc": { + "start": { + "line": 1354, + "column": 12 + }, + "end": { + "line": 1354, + "column": 16 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38363, + 38367 + ], + "loc": { + "start": { + "line": 1355, + "column": 15 + }, + "end": { + "line": 1355, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 38368, + 38371 + ], + "loc": { + "start": { + "line": 1355, + "column": 20 + }, + "end": { + "line": 1355, + "column": 23 + } + } + }, + "range": [ + 38363, + 38371 + ], + "loc": { + "start": { + "line": 1355, + "column": 15 + }, + "end": { + "line": 1355, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 38372, + 38376 + ], + "loc": { + "start": { + "line": 1355, + "column": 24 + }, + "end": { + "line": 1355, + "column": 28 + } + } + }, + "range": [ + 38363, + 38377 + ], + "loc": { + "start": { + "line": 1355, + "column": 15 + }, + "end": { + "line": 1355, + "column": 29 + } + } + }, + "range": [ + 38356, + 38378 + ], + "loc": { + "start": { + "line": 1355, + "column": 8 + }, + "end": { + "line": 1355, + "column": 30 + } + } + } + ], + "range": [ + 38346, + 38384 + ], + "loc": { + "start": { + "line": 1354, + "column": 18 + }, + "end": { + "line": 1356, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 38339, + 38384 + ], + "loc": { + "start": { + "line": 1354, + "column": 11 + }, + "end": { + "line": 1356, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 38332, + 38384 + ], + "loc": { + "start": { + "line": 1354, + "column": 4 + }, + "end": { + "line": 1356, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n ", + "range": [ + 38193, + 38327 + ], + "loc": { + "start": { + "line": 1349, + "column": 4 + }, + "end": { + "line": 1353, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Initialise all the extensions defined in the configuration object\n ", + "range": [ + 38390, + 38474 + ], + "loc": { + "start": { + "line": 1358, + "column": 4 + }, + "end": { + "line": 1360, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "initExtensions", + "range": [ + 38479, + 38493 + ], + "loc": { + "start": { + "line": 1361, + "column": 4 + }, + "end": { + "line": 1361, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "exts", + "range": [ + 38510, + 38514 + ], + "loc": { + "start": { + "line": 1362, + "column": 12 + }, + "end": { + "line": 1362, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38517, + 38521 + ], + "loc": { + "start": { + "line": 1362, + "column": 19 + }, + "end": { + "line": 1362, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "extensions", + "range": [ + 38522, + 38532 + ], + "loc": { + "start": { + "line": 1362, + "column": 24 + }, + "end": { + "line": 1362, + "column": 34 + } + } + }, + "range": [ + 38517, + 38532 + ], + "loc": { + "start": { + "line": 1362, + "column": 19 + }, + "end": { + "line": 1362, + "column": 34 + } + } + }, + "range": [ + 38510, + 38532 + ], + "loc": { + "start": { + "line": 1362, + "column": 12 + }, + "end": { + "line": 1362, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 38506, + 38533 + ], + "loc": { + "start": { + "line": 1362, + "column": 8 + }, + "end": { + "line": 1362, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "exts", + "range": [ + 38546, + 38550 + ], + "loc": { + "start": { + "line": 1363, + "column": 12 + }, + "end": { + "line": 1363, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 38551, + 38557 + ], + "loc": { + "start": { + "line": 1363, + "column": 17 + }, + "end": { + "line": 1363, + "column": 23 + } + } + }, + "range": [ + 38546, + 38557 + ], + "loc": { + "start": { + "line": 1363, + "column": 12 + }, + "end": { + "line": 1363, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 38562, + 38563 + ], + "loc": { + "start": { + "line": 1363, + "column": 28 + }, + "end": { + "line": 1363, + "column": 29 + } + } + }, + "range": [ + 38546, + 38563 + ], + "loc": { + "start": { + "line": 1363, + "column": 12 + }, + "end": { + "line": 1363, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 38579, + 38586 + ], + "loc": { + "start": { + "line": 1364, + "column": 12 + }, + "end": { + "line": 1364, + "column": 19 + } + } + } + ], + "range": [ + 38565, + 38596 + ], + "loc": { + "start": { + "line": 1363, + "column": 31 + }, + "end": { + "line": 1365, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 38542, + 38596 + ], + "loc": { + "start": { + "line": 1363, + "column": 8 + }, + "end": { + "line": 1365, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Set config's publicPath dynamically for Webpack...", + "range": [ + 38606, + 38659 + ], + "loc": { + "start": { + "line": 1367, + "column": 8 + }, + "end": { + "line": 1367, + "column": 61 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "__webpack_public_path__", + "range": [ + 38668, + 38691 + ], + "loc": { + "start": { + "line": 1368, + "column": 8 + }, + "end": { + "line": 1368, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38694, + 38698 + ], + "loc": { + "start": { + "line": 1368, + "column": 34 + }, + "end": { + "line": 1368, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "basePath", + "range": [ + 38699, + 38707 + ], + "loc": { + "start": { + "line": 1368, + "column": 39 + }, + "end": { + "line": 1368, + "column": 47 + } + } + }, + "range": [ + 38694, + 38707 + ], + "loc": { + "start": { + "line": 1368, + "column": 34 + }, + "end": { + "line": 1368, + "column": 47 + } + } + }, + "range": [ + 38668, + 38707 + ], + "loc": { + "start": { + "line": 1368, + "column": 8 + }, + "end": { + "line": 1368, + "column": 47 + } + } + }, + "range": [ + 38668, + 38708 + ], + "loc": { + "start": { + "line": 1368, + "column": 8 + }, + "end": { + "line": 1368, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Set config's publicPath dynamically for Webpack...", + "range": [ + 38606, + 38659 + ], + "loc": { + "start": { + "line": 1367, + "column": 8 + }, + "end": { + "line": 1367, + "column": 61 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38718, + 38722 + ], + "loc": { + "start": { + "line": 1370, + "column": 8 + }, + "end": { + "line": 1370, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 38723, + 38730 + ], + "loc": { + "start": { + "line": 1370, + "column": 13 + }, + "end": { + "line": 1370, + "column": 20 + } + } + }, + "range": [ + 38718, + 38730 + ], + "loc": { + "start": { + "line": 1370, + "column": 8 + }, + "end": { + "line": 1370, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 38731, + 38735 + ], + "loc": { + "start": { + "line": 1370, + "column": 21 + }, + "end": { + "line": 1370, + "column": 25 + } + } + }, + "range": [ + 38718, + 38735 + ], + "loc": { + "start": { + "line": 1370, + "column": 8 + }, + "end": { + "line": 1370, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-loading-extensions", + "raw": "'before-loading-extensions'", + "range": [ + 38736, + 38763 + ], + "loc": { + "start": { + "line": 1370, + "column": 26 + }, + "end": { + "line": 1370, + "column": 53 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 38765, + 38769 + ], + "loc": { + "start": { + "line": 1370, + "column": 55 + }, + "end": { + "line": 1370, + "column": 59 + } + } + } + ], + "range": [ + 38718, + 38770 + ], + "loc": { + "start": { + "line": 1370, + "column": 8 + }, + "end": { + "line": 1370, + "column": 60 + } + } + }, + "range": [ + 38718, + 38771 + ], + "loc": { + "start": { + "line": 1370, + "column": 8 + }, + "end": { + "line": 1370, + "column": 61 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 38789, + 38790 + ], + "loc": { + "start": { + "line": 1371, + "column": 17 + }, + "end": { + "line": 1371, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 38793, + 38794 + ], + "loc": { + "start": { + "line": 1371, + "column": 21 + }, + "end": { + "line": 1371, + "column": 22 + } + } + }, + "range": [ + 38789, + 38794 + ], + "loc": { + "start": { + "line": 1371, + "column": 17 + }, + "end": { + "line": 1371, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 38796, + 38799 + ], + "loc": { + "start": { + "line": 1371, + "column": 24 + }, + "end": { + "line": 1371, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "exts", + "range": [ + 38802, + 38806 + ], + "loc": { + "start": { + "line": 1371, + "column": 30 + }, + "end": { + "line": 1371, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 38807, + 38813 + ], + "loc": { + "start": { + "line": 1371, + "column": 35 + }, + "end": { + "line": 1371, + "column": 41 + } + } + }, + "range": [ + 38802, + 38813 + ], + "loc": { + "start": { + "line": 1371, + "column": 30 + }, + "end": { + "line": 1371, + "column": 41 + } + } + }, + "range": [ + 38796, + 38813 + ], + "loc": { + "start": { + "line": 1371, + "column": 24 + }, + "end": { + "line": 1371, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 38785, + 38813 + ], + "loc": { + "start": { + "line": 1371, + "column": 13 + }, + "end": { + "line": 1371, + "column": 41 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 38815, + 38816 + ], + "loc": { + "start": { + "line": 1371, + "column": 43 + }, + "end": { + "line": 1371, + "column": 44 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 38819, + 38822 + ], + "loc": { + "start": { + "line": 1371, + "column": 47 + }, + "end": { + "line": 1371, + "column": 50 + } + } + }, + "range": [ + 38815, + 38822 + ], + "loc": { + "start": { + "line": 1371, + "column": 43 + }, + "end": { + "line": 1371, + "column": 50 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 38824, + 38825 + ], + "loc": { + "start": { + "line": 1371, + "column": 52 + }, + "end": { + "line": 1371, + "column": 53 + } + } + }, + "prefix": false, + "range": [ + 38824, + 38827 + ], + "loc": { + "start": { + "line": 1371, + "column": 52 + }, + "end": { + "line": 1371, + "column": 55 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ext", + "range": [ + 38847, + 38850 + ], + "loc": { + "start": { + "line": 1372, + "column": 16 + }, + "end": { + "line": 1372, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "exts", + "range": [ + 38853, + 38857 + ], + "loc": { + "start": { + "line": 1372, + "column": 22 + }, + "end": { + "line": 1372, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 38858, + 38859 + ], + "loc": { + "start": { + "line": 1372, + "column": 27 + }, + "end": { + "line": 1372, + "column": 28 + } + } + }, + "range": [ + 38853, + 38860 + ], + "loc": { + "start": { + "line": 1372, + "column": 22 + }, + "end": { + "line": 1372, + "column": 29 + } + } + }, + "range": [ + 38847, + 38860 + ], + "loc": { + "start": { + "line": 1372, + "column": 16 + }, + "end": { + "line": 1372, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 38843, + 38861 + ], + "loc": { + "start": { + "line": 1372, + "column": 12 + }, + "end": { + "line": 1372, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38874, + 38878 + ], + "loc": { + "start": { + "line": 1373, + "column": 12 + }, + "end": { + "line": 1373, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadExtension", + "range": [ + 38879, + 38892 + ], + "loc": { + "start": { + "line": 1373, + "column": 17 + }, + "end": { + "line": 1373, + "column": 30 + } + } + }, + "range": [ + 38874, + 38892 + ], + "loc": { + "start": { + "line": 1373, + "column": 12 + }, + "end": { + "line": 1373, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ext", + "range": [ + 38893, + 38896 + ], + "loc": { + "start": { + "line": 1373, + "column": 31 + }, + "end": { + "line": 1373, + "column": 34 + } + } + } + ], + "range": [ + 38874, + 38897 + ], + "loc": { + "start": { + "line": 1373, + "column": 12 + }, + "end": { + "line": 1373, + "column": 35 + } + } + }, + "range": [ + 38874, + 38898 + ], + "loc": { + "start": { + "line": 1373, + "column": 12 + }, + "end": { + "line": 1373, + "column": 36 + } + } + } + ], + "range": [ + 38829, + 38908 + ], + "loc": { + "start": { + "line": 1371, + "column": 57 + }, + "end": { + "line": 1374, + "column": 9 + } + } + }, + "range": [ + 38780, + 38908 + ], + "loc": { + "start": { + "line": 1371, + "column": 8 + }, + "end": { + "line": 1374, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 38917, + 38921 + ], + "loc": { + "start": { + "line": 1375, + "column": 8 + }, + "end": { + "line": 1375, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 38922, + 38929 + ], + "loc": { + "start": { + "line": 1375, + "column": 13 + }, + "end": { + "line": 1375, + "column": 20 + } + } + }, + "range": [ + 38917, + 38929 + ], + "loc": { + "start": { + "line": 1375, + "column": 8 + }, + "end": { + "line": 1375, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 38930, + 38934 + ], + "loc": { + "start": { + "line": 1375, + "column": 21 + }, + "end": { + "line": 1375, + "column": 25 + } + } + }, + "range": [ + 38917, + 38934 + ], + "loc": { + "start": { + "line": 1375, + "column": 8 + }, + "end": { + "line": 1375, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-loading-extensions", + "raw": "'after-loading-extensions'", + "range": [ + 38935, + 38961 + ], + "loc": { + "start": { + "line": 1375, + "column": 26 + }, + "end": { + "line": 1375, + "column": 52 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 38963, + 38967 + ], + "loc": { + "start": { + "line": 1375, + "column": 54 + }, + "end": { + "line": 1375, + "column": 58 + } + } + } + ], + "range": [ + 38917, + 38968 + ], + "loc": { + "start": { + "line": 1375, + "column": 8 + }, + "end": { + "line": 1375, + "column": 59 + } + } + }, + "range": [ + 38917, + 38969 + ], + "loc": { + "start": { + "line": 1375, + "column": 8 + }, + "end": { + "line": 1375, + "column": 60 + } + } + } + ], + "range": [ + 38496, + 38975 + ], + "loc": { + "start": { + "line": 1361, + "column": 21 + }, + "end": { + "line": 1376, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 38493, + 38975 + ], + "loc": { + "start": { + "line": 1361, + "column": 18 + }, + "end": { + "line": 1376, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 38479, + 38975 + ], + "loc": { + "start": { + "line": 1361, + "column": 4 + }, + "end": { + "line": 1376, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Initialise all the extensions defined in the configuration object\n ", + "range": [ + 38390, + 38474 + ], + "loc": { + "start": { + "line": 1358, + "column": 4 + }, + "end": { + "line": 1360, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Load an extension module\n * @param {Object} ext Extension config object\n ", + "range": [ + 38981, + 39076 + ], + "loc": { + "start": { + "line": 1378, + "column": 4 + }, + "end": { + "line": 1381, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "loadExtension", + "range": [ + 39081, + 39094 + ], + "loc": { + "start": { + "line": 1382, + "column": 4 + }, + "end": { + "line": 1382, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "ext", + "range": [ + 39095, + 39098 + ], + "loc": { + "start": { + "line": 1382, + "column": 18 + }, + "end": { + "line": 1382, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "ext", + "range": [ + 39115, + 39118 + ], + "loc": { + "start": { + "line": 1383, + "column": 13 + }, + "end": { + "line": 1383, + "column": 16 + } + } + }, + "prefix": true, + "range": [ + 39114, + 39118 + ], + "loc": { + "start": { + "line": 1383, + "column": 12 + }, + "end": { + "line": 1383, + "column": 16 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ext", + "range": [ + 39123, + 39126 + ], + "loc": { + "start": { + "line": 1383, + "column": 21 + }, + "end": { + "line": 1383, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 39127, + 39131 + ], + "loc": { + "start": { + "line": 1383, + "column": 25 + }, + "end": { + "line": 1383, + "column": 29 + } + } + }, + "range": [ + 39123, + 39131 + ], + "loc": { + "start": { + "line": 1383, + "column": 21 + }, + "end": { + "line": 1383, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 39122, + 39131 + ], + "loc": { + "start": { + "line": 1383, + "column": 20 + }, + "end": { + "line": 1383, + "column": 29 + } + } + }, + "range": [ + 39114, + 39131 + ], + "loc": { + "start": { + "line": 1383, + "column": 12 + }, + "end": { + "line": 1383, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 39135, + 39139 + ], + "loc": { + "start": { + "line": 1383, + "column": 33 + }, + "end": { + "line": 1383, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExtension", + "range": [ + 39140, + 39152 + ], + "loc": { + "start": { + "line": 1383, + "column": 38 + }, + "end": { + "line": 1383, + "column": 50 + } + } + }, + "range": [ + 39135, + 39152 + ], + "loc": { + "start": { + "line": 1383, + "column": 33 + }, + "end": { + "line": 1383, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ext", + "range": [ + 39153, + 39156 + ], + "loc": { + "start": { + "line": 1383, + "column": 51 + }, + "end": { + "line": 1383, + "column": 54 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 39157, + 39161 + ], + "loc": { + "start": { + "line": 1383, + "column": 55 + }, + "end": { + "line": 1383, + "column": 59 + } + } + }, + "range": [ + 39153, + 39161 + ], + "loc": { + "start": { + "line": 1383, + "column": 51 + }, + "end": { + "line": 1383, + "column": 59 + } + } + } + ], + "range": [ + 39135, + 39162 + ], + "loc": { + "start": { + "line": 1383, + "column": 33 + }, + "end": { + "line": 1383, + "column": 60 + } + } + }, + "range": [ + 39114, + 39162 + ], + "loc": { + "start": { + "line": 1383, + "column": 12 + }, + "end": { + "line": 1383, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 39178, + 39185 + ], + "loc": { + "start": { + "line": 1384, + "column": 12 + }, + "end": { + "line": 1384, + "column": 19 + } + } + } + ], + "range": [ + 39164, + 39195 + ], + "loc": { + "start": { + "line": 1383, + "column": 62 + }, + "end": { + "line": 1385, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 39110, + 39195 + ], + "loc": { + "start": { + "line": 1383, + "column": 8 + }, + "end": { + "line": 1385, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "name", + "range": [ + 39209, + 39213 + ], + "loc": { + "start": { + "line": 1387, + "column": 12 + }, + "end": { + "line": 1387, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ext", + "range": [ + 39216, + 39219 + ], + "loc": { + "start": { + "line": 1387, + "column": 19 + }, + "end": { + "line": 1387, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 39220, + 39224 + ], + "loc": { + "start": { + "line": 1387, + "column": 23 + }, + "end": { + "line": 1387, + "column": 27 + } + } + }, + "range": [ + 39216, + 39224 + ], + "loc": { + "start": { + "line": 1387, + "column": 19 + }, + "end": { + "line": 1387, + "column": 27 + } + } + }, + "range": [ + 39209, + 39224 + ], + "loc": { + "start": { + "line": 1387, + "column": 12 + }, + "end": { + "line": 1387, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 39205, + 39225 + ], + "loc": { + "start": { + "line": 1387, + "column": 8 + }, + "end": { + "line": 1387, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "path", + "range": [ + 39238, + 39242 + ], + "loc": { + "start": { + "line": 1388, + "column": 12 + }, + "end": { + "line": 1388, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ext", + "range": [ + 39245, + 39248 + ], + "loc": { + "start": { + "line": 1388, + "column": 19 + }, + "end": { + "line": 1388, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "path", + "range": [ + 39249, + 39253 + ], + "loc": { + "start": { + "line": 1388, + "column": 23 + }, + "end": { + "line": 1388, + "column": 27 + } + } + }, + "range": [ + 39245, + 39253 + ], + "loc": { + "start": { + "line": 1388, + "column": 19 + }, + "end": { + "line": 1388, + "column": 27 + } + } + }, + "range": [ + 39238, + 39253 + ], + "loc": { + "start": { + "line": 1388, + "column": 12 + }, + "end": { + "line": 1388, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 39234, + 39254 + ], + "loc": { + "start": { + "line": 1388, + "column": 8 + }, + "end": { + "line": 1388, + "column": 28 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "modulePath", + "range": [ + 39267, + 39277 + ], + "loc": { + "start": { + "line": 1389, + "column": 12 + }, + "end": { + "line": 1389, + "column": 22 + } + } + }, + "init": null, + "range": [ + 39267, + 39277 + ], + "loc": { + "start": { + "line": 1389, + "column": 12 + }, + "end": { + "line": 1389, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 39263, + 39278 + ], + "loc": { + "start": { + "line": 1389, + "column": 8 + }, + "end": { + "line": 1389, + "column": 23 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 39292, + 39296 + ], + "loc": { + "start": { + "line": 1391, + "column": 12 + }, + "end": { + "line": 1391, + "column": 16 + } + } + }, + "right": { + "type": "Identifier", + "name": "path", + "range": [ + 39300, + 39304 + ], + "loc": { + "start": { + "line": 1391, + "column": 20 + }, + "end": { + "line": 1391, + "column": 24 + } + } + }, + "range": [ + 39292, + 39304 + ], + "loc": { + "start": { + "line": 1391, + "column": 12 + }, + "end": { + "line": 1391, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "modulePath", + "range": [ + 39320, + 39330 + ], + "loc": { + "start": { + "line": 1392, + "column": 12 + }, + "end": { + "line": 1392, + "column": 22 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ext", + "range": [ + 39333, + 39336 + ], + "loc": { + "start": { + "line": 1392, + "column": 25 + }, + "end": { + "line": 1392, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "path", + "range": [ + 39337, + 39341 + ], + "loc": { + "start": { + "line": 1392, + "column": 29 + }, + "end": { + "line": 1392, + "column": 33 + } + } + }, + "range": [ + 39333, + 39341 + ], + "loc": { + "start": { + "line": 1392, + "column": 25 + }, + "end": { + "line": 1392, + "column": 33 + } + } + }, + "right": { + "type": "Identifier", + "name": "name", + "range": [ + 39344, + 39348 + ], + "loc": { + "start": { + "line": 1392, + "column": 36 + }, + "end": { + "line": 1392, + "column": 40 + } + } + }, + "range": [ + 39333, + 39348 + ], + "loc": { + "start": { + "line": 1392, + "column": 25 + }, + "end": { + "line": 1392, + "column": 40 + } + } + }, + "range": [ + 39320, + 39348 + ], + "loc": { + "start": { + "line": 1392, + "column": 12 + }, + "end": { + "line": 1392, + "column": 40 + } + } + }, + "range": [ + 39320, + 39349 + ], + "loc": { + "start": { + "line": 1392, + "column": 12 + }, + "end": { + "line": 1392, + "column": 41 + } + } + } + ], + "range": [ + 39306, + 39359 + ], + "loc": { + "start": { + "line": 1391, + "column": 26 + }, + "end": { + "line": 1393, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 39379, + 39383 + ], + "loc": { + "start": { + "line": 1394, + "column": 12 + }, + "end": { + "line": 1394, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "name", + "range": [ + 39386, + 39390 + ], + "loc": { + "start": { + "line": 1394, + "column": 19 + }, + "end": { + "line": 1394, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 39391, + 39398 + ], + "loc": { + "start": { + "line": 1394, + "column": 24 + }, + "end": { + "line": 1394, + "column": 31 + } + } + }, + "range": [ + 39386, + 39398 + ], + "loc": { + "start": { + "line": 1394, + "column": 19 + }, + "end": { + "line": 1394, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": ".js", + "raw": "'.js'", + "range": [ + 39399, + 39404 + ], + "loc": { + "start": { + "line": 1394, + "column": 32 + }, + "end": { + "line": 1394, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 39406, + 39408 + ], + "loc": { + "start": { + "line": 1394, + "column": 39 + }, + "end": { + "line": 1394, + "column": 41 + } + } + } + ], + "range": [ + 39386, + 39409 + ], + "loc": { + "start": { + "line": 1394, + "column": 19 + }, + "end": { + "line": 1394, + "column": 42 + } + } + }, + "range": [ + 39379, + 39409 + ], + "loc": { + "start": { + "line": 1394, + "column": 12 + }, + "end": { + "line": 1394, + "column": 42 + } + } + }, + "range": [ + 39379, + 39410 + ], + "loc": { + "start": { + "line": 1394, + "column": 12 + }, + "end": { + "line": 1394, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "modulePath", + "range": [ + 39423, + 39433 + ], + "loc": { + "start": { + "line": 1395, + "column": 12 + }, + "end": { + "line": 1395, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Literal", + "value": "extensions/{}/{}", + "raw": "'extensions/{}/{}'", + "range": [ + 39436, + 39454 + ], + "loc": { + "start": { + "line": 1395, + "column": 25 + }, + "end": { + "line": 1395, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 39455, + 39462 + ], + "loc": { + "start": { + "line": 1395, + "column": 44 + }, + "end": { + "line": 1395, + "column": 51 + } + } + }, + "range": [ + 39436, + 39462 + ], + "loc": { + "start": { + "line": 1395, + "column": 25 + }, + "end": { + "line": 1395, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": {}, + "raw": "/{}/g", + "regex": { + "pattern": "{}", + "flags": "g" + }, + "range": [ + 39463, + 39468 + ], + "loc": { + "start": { + "line": 1395, + "column": 52 + }, + "end": { + "line": 1395, + "column": 57 + } + } + }, + { + "type": "Identifier", + "name": "name", + "range": [ + 39470, + 39474 + ], + "loc": { + "start": { + "line": 1395, + "column": 59 + }, + "end": { + "line": 1395, + "column": 63 + } + } + } + ], + "range": [ + 39436, + 39475 + ], + "loc": { + "start": { + "line": 1395, + "column": 25 + }, + "end": { + "line": 1395, + "column": 64 + } + } + }, + "range": [ + 39423, + 39475 + ], + "loc": { + "start": { + "line": 1395, + "column": 12 + }, + "end": { + "line": 1395, + "column": 64 + } + } + }, + "range": [ + 39423, + 39476 + ], + "loc": { + "start": { + "line": 1395, + "column": 12 + }, + "end": { + "line": 1395, + "column": 65 + } + } + } + ], + "range": [ + 39365, + 39486 + ], + "loc": { + "start": { + "line": 1393, + "column": 15 + }, + "end": { + "line": 1396, + "column": 9 + } + } + }, + "range": [ + 39288, + 39486 + ], + "loc": { + "start": { + "line": 1391, + "column": 8 + }, + "end": { + "line": 1396, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Require pattern for Webpack", + "range": [ + 39496, + 39526 + ], + "loc": { + "start": { + "line": 1398, + "column": 8 + }, + "end": { + "line": 1398, + "column": 38 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "require", + "range": [ + 39535, + 39542 + ], + "loc": { + "start": { + "line": 1399, + "column": 8 + }, + "end": { + "line": 1399, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": "./", + "raw": "'./'", + "range": [ + 39544, + 39548 + ], + "loc": { + "start": { + "line": 1399, + "column": 17 + }, + "end": { + "line": 1399, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "modulePath", + "range": [ + 39551, + 39561 + ], + "loc": { + "start": { + "line": 1399, + "column": 24 + }, + "end": { + "line": 1399, + "column": 34 + } + } + }, + "range": [ + 39544, + 39561 + ], + "loc": { + "start": { + "line": 1399, + "column": 17 + }, + "end": { + "line": 1399, + "column": 34 + } + } + } + ], + "range": [ + 39543, + 39562 + ], + "loc": { + "start": { + "line": 1399, + "column": 16 + }, + "end": { + "line": 1399, + "column": 35 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "mod", + "range": [ + 39565, + 39568 + ], + "loc": { + "start": { + "line": 1399, + "column": 38 + }, + "end": { + "line": 1399, + "column": 41 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "inst", + "range": [ + 39624, + 39628 + ], + "loc": { + "start": { + "line": 1401, + "column": 16 + }, + "end": { + "line": 1401, + "column": 20 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "mod", + "range": [ + 39635, + 39638 + ], + "loc": { + "start": { + "line": 1401, + "column": 27 + }, + "end": { + "line": 1401, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "default", + "range": [ + 39639, + 39646 + ], + "loc": { + "start": { + "line": 1401, + "column": 31 + }, + "end": { + "line": 1401, + "column": 38 + } + } + }, + "range": [ + 39635, + 39646 + ], + "loc": { + "start": { + "line": 1401, + "column": 27 + }, + "end": { + "line": 1401, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 39647, + 39651 + ], + "loc": { + "start": { + "line": 1401, + "column": 39 + }, + "end": { + "line": 1401, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "ext", + "range": [ + 39653, + 39656 + ], + "loc": { + "start": { + "line": 1401, + "column": 45 + }, + "end": { + "line": 1401, + "column": 48 + } + } + } + ], + "range": [ + 39631, + 39657 + ], + "loc": { + "start": { + "line": 1401, + "column": 23 + }, + "end": { + "line": 1401, + "column": 49 + } + } + }, + "range": [ + 39624, + 39657 + ], + "loc": { + "start": { + "line": 1401, + "column": 16 + }, + "end": { + "line": 1401, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 39620, + 39658 + ], + "loc": { + "start": { + "line": 1401, + "column": 12 + }, + "end": { + "line": 1401, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 39587, + 39607 + ], + "loc": { + "start": { + "line": 1400, + "column": 12 + }, + "end": { + "line": 1400, + "column": 32 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 39671, + 39690 + ], + "loc": { + "start": { + "line": 1402, + "column": 12 + }, + "end": { + "line": 1402, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "inst", + "range": [ + 39703, + 39707 + ], + "loc": { + "start": { + "line": 1403, + "column": 12 + }, + "end": { + "line": 1403, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "init", + "range": [ + 39708, + 39712 + ], + "loc": { + "start": { + "line": 1403, + "column": 17 + }, + "end": { + "line": 1403, + "column": 21 + } + } + }, + "range": [ + 39703, + 39712 + ], + "loc": { + "start": { + "line": 1403, + "column": 12 + }, + "end": { + "line": 1403, + "column": 21 + } + } + }, + "arguments": [], + "range": [ + 39703, + 39714 + ], + "loc": { + "start": { + "line": 1403, + "column": 12 + }, + "end": { + "line": 1403, + "column": 23 + } + } + }, + "range": [ + 39703, + 39715 + ], + "loc": { + "start": { + "line": 1403, + "column": 12 + }, + "end": { + "line": 1403, + "column": 24 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 39671, + 39690 + ], + "loc": { + "start": { + "line": 1402, + "column": 12 + }, + "end": { + "line": 1402, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 39728, + 39732 + ], + "loc": { + "start": { + "line": 1404, + "column": 12 + }, + "end": { + "line": 1404, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 39733, + 39744 + ], + "loc": { + "start": { + "line": 1404, + "column": 17 + }, + "end": { + "line": 1404, + "column": 28 + } + } + }, + "range": [ + 39728, + 39744 + ], + "loc": { + "start": { + "line": 1404, + "column": 12 + }, + "end": { + "line": 1404, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 39745, + 39749 + ], + "loc": { + "start": { + "line": 1404, + "column": 29 + }, + "end": { + "line": 1404, + "column": 33 + } + } + }, + "range": [ + 39728, + 39750 + ], + "loc": { + "start": { + "line": 1404, + "column": 12 + }, + "end": { + "line": 1404, + "column": 34 + } + } + }, + "right": { + "type": "Identifier", + "name": "inst", + "range": [ + 39753, + 39757 + ], + "loc": { + "start": { + "line": 1404, + "column": 37 + }, + "end": { + "line": 1404, + "column": 41 + } + } + }, + "range": [ + 39728, + 39757 + ], + "loc": { + "start": { + "line": 1404, + "column": 12 + }, + "end": { + "line": 1404, + "column": 41 + } + } + }, + "range": [ + 39728, + 39758 + ], + "loc": { + "start": { + "line": 1404, + "column": 12 + }, + "end": { + "line": 1404, + "column": 42 + } + } + } + ], + "range": [ + 39573, + 39768 + ], + "loc": { + "start": { + "line": 1399, + "column": 46 + }, + "end": { + "line": 1405, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 39564, + 39768 + ], + "loc": { + "start": { + "line": 1399, + "column": 37 + }, + "end": { + "line": 1405, + "column": 9 + } + } + } + ], + "range": [ + 39535, + 39769 + ], + "loc": { + "start": { + "line": 1399, + "column": 8 + }, + "end": { + "line": 1405, + "column": 10 + } + } + }, + "range": [ + 39535, + 39770 + ], + "loc": { + "start": { + "line": 1399, + "column": 8 + }, + "end": { + "line": 1405, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Require pattern for Webpack", + "range": [ + 39496, + 39526 + ], + "loc": { + "start": { + "line": 1398, + "column": 8 + }, + "end": { + "line": 1398, + "column": 38 + } + } + } + ] + } + ], + "range": [ + 39100, + 39776 + ], + "loc": { + "start": { + "line": 1382, + "column": 23 + }, + "end": { + "line": 1406, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 39094, + 39776 + ], + "loc": { + "start": { + "line": 1382, + "column": 17 + }, + "end": { + "line": 1406, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 39081, + 39776 + ], + "loc": { + "start": { + "line": 1382, + "column": 4 + }, + "end": { + "line": 1406, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Load an extension module\n * @param {Object} ext Extension config object\n ", + "range": [ + 38981, + 39076 + ], + "loc": { + "start": { + "line": 1378, + "column": 4 + }, + "end": { + "line": 1381, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n ", + "range": [ + 39782, + 39925 + ], + "loc": { + "start": { + "line": 1408, + "column": 4 + }, + "end": { + "line": 1412, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "extension", + "range": [ + 39930, + 39939 + ], + "loc": { + "start": { + "line": 1413, + "column": 4 + }, + "end": { + "line": 1413, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 39940, + 39944 + ], + "loc": { + "start": { + "line": 1413, + "column": 14 + }, + "end": { + "line": 1413, + "column": 18 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 39963, + 39967 + ], + "loc": { + "start": { + "line": 1414, + "column": 15 + }, + "end": { + "line": 1414, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 39968, + 39979 + ], + "loc": { + "start": { + "line": 1414, + "column": 20 + }, + "end": { + "line": 1414, + "column": 31 + } + } + }, + "range": [ + 39963, + 39979 + ], + "loc": { + "start": { + "line": 1414, + "column": 15 + }, + "end": { + "line": 1414, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 39980, + 39984 + ], + "loc": { + "start": { + "line": 1414, + "column": 32 + }, + "end": { + "line": 1414, + "column": 36 + } + } + }, + "range": [ + 39963, + 39985 + ], + "loc": { + "start": { + "line": 1414, + "column": 15 + }, + "end": { + "line": 1414, + "column": 37 + } + } + }, + "range": [ + 39956, + 39986 + ], + "loc": { + "start": { + "line": 1414, + "column": 8 + }, + "end": { + "line": 1414, + "column": 38 + } + } + } + ], + "range": [ + 39946, + 39992 + ], + "loc": { + "start": { + "line": 1413, + "column": 20 + }, + "end": { + "line": 1415, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 39939, + 39992 + ], + "loc": { + "start": { + "line": 1413, + "column": 13 + }, + "end": { + "line": 1415, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 39930, + 39992 + ], + "loc": { + "start": { + "line": 1413, + "column": 4 + }, + "end": { + "line": 1415, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n ", + "range": [ + 39782, + 39925 + ], + "loc": { + "start": { + "line": 1408, + "column": 4 + }, + "end": { + "line": 1412, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n ", + "range": [ + 39998, + 40128 + ], + "loc": { + "start": { + "line": 1417, + "column": 4 + }, + "end": { + "line": 1421, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "hasExtension", + "range": [ + 40133, + 40145 + ], + "loc": { + "start": { + "line": 1422, + "column": 4 + }, + "end": { + "line": 1422, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "name", + "range": [ + 40146, + 40150 + ], + "loc": { + "start": { + "line": 1422, + "column": 17 + }, + "end": { + "line": 1422, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 40170, + 40177 + ], + "loc": { + "start": { + "line": 1423, + "column": 16 + }, + "end": { + "line": 1423, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40178, + 40182 + ], + "loc": { + "start": { + "line": 1423, + "column": 24 + }, + "end": { + "line": 1423, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 40183, + 40194 + ], + "loc": { + "start": { + "line": 1423, + "column": 29 + }, + "end": { + "line": 1423, + "column": 40 + } + } + }, + "range": [ + 40178, + 40194 + ], + "loc": { + "start": { + "line": 1423, + "column": 24 + }, + "end": { + "line": 1423, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 40195, + 40199 + ], + "loc": { + "start": { + "line": 1423, + "column": 41 + }, + "end": { + "line": 1423, + "column": 45 + } + } + }, + "range": [ + 40178, + 40200 + ], + "loc": { + "start": { + "line": 1423, + "column": 24 + }, + "end": { + "line": 1423, + "column": 46 + } + } + } + ], + "range": [ + 40170, + 40201 + ], + "loc": { + "start": { + "line": 1423, + "column": 16 + }, + "end": { + "line": 1423, + "column": 47 + } + } + }, + "prefix": true, + "range": [ + 40169, + 40201 + ], + "loc": { + "start": { + "line": 1423, + "column": 15 + }, + "end": { + "line": 1423, + "column": 47 + } + } + }, + "range": [ + 40162, + 40202 + ], + "loc": { + "start": { + "line": 1423, + "column": 8 + }, + "end": { + "line": 1423, + "column": 48 + } + } + } + ], + "range": [ + 40152, + 40208 + ], + "loc": { + "start": { + "line": 1422, + "column": 23 + }, + "end": { + "line": 1424, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40145, + 40208 + ], + "loc": { + "start": { + "line": 1422, + "column": 16 + }, + "end": { + "line": 1424, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 40133, + 40208 + ], + "loc": { + "start": { + "line": 1422, + "column": 4 + }, + "end": { + "line": 1424, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n ", + "range": [ + 39998, + 40128 + ], + "loc": { + "start": { + "line": 1417, + "column": 4 + }, + "end": { + "line": 1421, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Register the passed extension instance with associated name\n * @param {Object} inst Extension instance\n * @param {String} name Name of the extension\n ", + "range": [ + 40214, + 40389 + ], + "loc": { + "start": { + "line": 1426, + "column": 4 + }, + "end": { + "line": 1430, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "registerExtension", + "range": [ + 40394, + 40411 + ], + "loc": { + "start": { + "line": 1431, + "column": 4 + }, + "end": { + "line": 1431, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "inst", + "range": [ + 40412, + 40416 + ], + "loc": { + "start": { + "line": 1431, + "column": 22 + }, + "end": { + "line": 1431, + "column": 26 + } + } + }, + { + "type": "Identifier", + "name": "name", + "range": [ + 40418, + 40422 + ], + "loc": { + "start": { + "line": 1431, + "column": 28 + }, + "end": { + "line": 1431, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40434, + 40438 + ], + "loc": { + "start": { + "line": 1432, + "column": 8 + }, + "end": { + "line": 1432, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 40439, + 40450 + ], + "loc": { + "start": { + "line": 1432, + "column": 13 + }, + "end": { + "line": 1432, + "column": 24 + } + } + }, + "range": [ + 40434, + 40450 + ], + "loc": { + "start": { + "line": 1432, + "column": 8 + }, + "end": { + "line": 1432, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 40451, + 40455 + ], + "loc": { + "start": { + "line": 1432, + "column": 25 + }, + "end": { + "line": 1432, + "column": 29 + } + } + }, + "range": [ + 40434, + 40456 + ], + "loc": { + "start": { + "line": 1432, + "column": 8 + }, + "end": { + "line": 1432, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "inst", + "range": [ + 40459, + 40463 + ], + "loc": { + "start": { + "line": 1432, + "column": 33 + }, + "end": { + "line": 1432, + "column": 37 + } + } + }, + "range": [ + 40434, + 40463 + ], + "loc": { + "start": { + "line": 1432, + "column": 8 + }, + "end": { + "line": 1432, + "column": 37 + } + } + }, + "range": [ + 40434, + 40464 + ], + "loc": { + "start": { + "line": 1432, + "column": 8 + }, + "end": { + "line": 1432, + "column": 38 + } + } + } + ], + "range": [ + 40424, + 40470 + ], + "loc": { + "start": { + "line": 1431, + "column": 34 + }, + "end": { + "line": 1433, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40411, + 40470 + ], + "loc": { + "start": { + "line": 1431, + "column": 21 + }, + "end": { + "line": 1433, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 40394, + 40470 + ], + "loc": { + "start": { + "line": 1431, + "column": 4 + }, + "end": { + "line": 1433, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Register the passed extension instance with associated name\n * @param {Object} inst Extension instance\n * @param {String} name Name of the extension\n ", + "range": [ + 40214, + 40389 + ], + "loc": { + "start": { + "line": 1426, + "column": 4 + }, + "end": { + "line": 1430, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy all the extensions store in extensions registry\n ", + "range": [ + 40476, + 40550 + ], + "loc": { + "start": { + "line": 1435, + "column": 4 + }, + "end": { + "line": 1437, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroyExtensions", + "range": [ + 40555, + 40572 + ], + "loc": { + "start": { + "line": 1438, + "column": 4 + }, + "end": { + "line": 1438, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reg", + "range": [ + 40589, + 40592 + ], + "loc": { + "start": { + "line": 1439, + "column": 12 + }, + "end": { + "line": 1439, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40595, + 40599 + ], + "loc": { + "start": { + "line": 1439, + "column": 18 + }, + "end": { + "line": 1439, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "ExtRegistry", + "range": [ + 40600, + 40611 + ], + "loc": { + "start": { + "line": 1439, + "column": 23 + }, + "end": { + "line": 1439, + "column": 34 + } + } + }, + "range": [ + 40595, + 40611 + ], + "loc": { + "start": { + "line": 1439, + "column": 18 + }, + "end": { + "line": 1439, + "column": 34 + } + } + }, + "range": [ + 40589, + 40611 + ], + "loc": { + "start": { + "line": 1439, + "column": 12 + }, + "end": { + "line": 1439, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 40585, + 40612 + ], + "loc": { + "start": { + "line": 1439, + "column": 8 + }, + "end": { + "line": 1439, + "column": 35 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 40622, + 40628 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1441, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "keys", + "range": [ + 40629, + 40633 + ], + "loc": { + "start": { + "line": 1441, + "column": 15 + }, + "end": { + "line": 1441, + "column": 19 + } + } + }, + "range": [ + 40622, + 40633 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1441, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reg", + "range": [ + 40634, + 40637 + ], + "loc": { + "start": { + "line": 1441, + "column": 20 + }, + "end": { + "line": 1441, + "column": 23 + } + } + } + ], + "range": [ + 40622, + 40638 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1441, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 40639, + 40646 + ], + "loc": { + "start": { + "line": 1441, + "column": 25 + }, + "end": { + "line": 1441, + "column": 32 + } + } + }, + "range": [ + 40622, + 40646 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1441, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "key", + "range": [ + 40648, + 40651 + ], + "loc": { + "start": { + "line": 1441, + "column": 34 + }, + "end": { + "line": 1441, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "reg", + "range": [ + 40670, + 40673 + ], + "loc": { + "start": { + "line": 1442, + "column": 12 + }, + "end": { + "line": 1442, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 40674, + 40677 + ], + "loc": { + "start": { + "line": 1442, + "column": 16 + }, + "end": { + "line": 1442, + "column": 19 + } + } + }, + "range": [ + 40670, + 40678 + ], + "loc": { + "start": { + "line": 1442, + "column": 12 + }, + "end": { + "line": 1442, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroy", + "range": [ + 40679, + 40686 + ], + "loc": { + "start": { + "line": 1442, + "column": 21 + }, + "end": { + "line": 1442, + "column": 28 + } + } + }, + "range": [ + 40670, + 40686 + ], + "loc": { + "start": { + "line": 1442, + "column": 12 + }, + "end": { + "line": 1442, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 40670, + 40688 + ], + "loc": { + "start": { + "line": 1442, + "column": 12 + }, + "end": { + "line": 1442, + "column": 30 + } + } + }, + "range": [ + 40670, + 40689 + ], + "loc": { + "start": { + "line": 1442, + "column": 12 + }, + "end": { + "line": 1442, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "reg", + "range": [ + 40702, + 40705 + ], + "loc": { + "start": { + "line": 1443, + "column": 12 + }, + "end": { + "line": 1443, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "key", + "range": [ + 40706, + 40709 + ], + "loc": { + "start": { + "line": 1443, + "column": 16 + }, + "end": { + "line": 1443, + "column": 19 + } + } + }, + "range": [ + 40702, + 40710 + ], + "loc": { + "start": { + "line": 1443, + "column": 12 + }, + "end": { + "line": 1443, + "column": 20 + } + } + }, + "right": { + "type": "Identifier", + "name": "undefined", + "range": [ + 40713, + 40722 + ], + "loc": { + "start": { + "line": 1443, + "column": 23 + }, + "end": { + "line": 1443, + "column": 32 + } + } + }, + "range": [ + 40702, + 40722 + ], + "loc": { + "start": { + "line": 1443, + "column": 12 + }, + "end": { + "line": 1443, + "column": 32 + } + } + }, + "range": [ + 40702, + 40723 + ], + "loc": { + "start": { + "line": 1443, + "column": 12 + }, + "end": { + "line": 1443, + "column": 33 + } + } + } + ], + "range": [ + 40656, + 40733 + ], + "loc": { + "start": { + "line": 1441, + "column": 42 + }, + "end": { + "line": 1444, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40647, + 40733 + ], + "loc": { + "start": { + "line": 1441, + "column": 33 + }, + "end": { + "line": 1444, + "column": 9 + } + } + } + ], + "range": [ + 40622, + 40734 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1444, + "column": 10 + } + } + }, + "range": [ + 40622, + 40735 + ], + "loc": { + "start": { + "line": 1441, + "column": 8 + }, + "end": { + "line": 1444, + "column": 11 + } + } + } + ], + "range": [ + 40575, + 40741 + ], + "loc": { + "start": { + "line": 1438, + "column": 24 + }, + "end": { + "line": 1445, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40572, + 40741 + ], + "loc": { + "start": { + "line": 1438, + "column": 21 + }, + "end": { + "line": 1445, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 40555, + 40741 + ], + "loc": { + "start": { + "line": 1438, + "column": 4 + }, + "end": { + "line": 1445, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy all the extensions store in extensions registry\n ", + "range": [ + 40476, + 40550 + ], + "loc": { + "start": { + "line": 1435, + "column": 4 + }, + "end": { + "line": 1437, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Load themes defined in the configuration object\n ", + "range": [ + 40747, + 40813 + ], + "loc": { + "start": { + "line": 1447, + "column": 4 + }, + "end": { + "line": 1449, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "loadThemes", + "range": [ + 40818, + 40828 + ], + "loc": { + "start": { + "line": 1450, + "column": 4 + }, + "end": { + "line": 1450, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40846, + 40850 + ], + "loc": { + "start": { + "line": 1451, + "column": 13 + }, + "end": { + "line": 1451, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasThemes", + "range": [ + 40851, + 40860 + ], + "loc": { + "start": { + "line": 1451, + "column": 18 + }, + "end": { + "line": 1451, + "column": 27 + } + } + }, + "range": [ + 40846, + 40860 + ], + "loc": { + "start": { + "line": 1451, + "column": 13 + }, + "end": { + "line": 1451, + "column": 27 + } + } + }, + "prefix": true, + "range": [ + 40845, + 40860 + ], + "loc": { + "start": { + "line": 1451, + "column": 12 + }, + "end": { + "line": 1451, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 40876, + 40883 + ], + "loc": { + "start": { + "line": 1452, + "column": 12 + }, + "end": { + "line": 1452, + "column": 19 + } + } + } + ], + "range": [ + 40862, + 40893 + ], + "loc": { + "start": { + "line": 1451, + "column": 29 + }, + "end": { + "line": 1453, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 40841, + 40893 + ], + "loc": { + "start": { + "line": 1451, + "column": 8 + }, + "end": { + "line": 1453, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "themes", + "range": [ + 40907, + 40913 + ], + "loc": { + "start": { + "line": 1455, + "column": 12 + }, + "end": { + "line": 1455, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40916, + 40920 + ], + "loc": { + "start": { + "line": 1455, + "column": 21 + }, + "end": { + "line": 1455, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes", + "range": [ + 40921, + 40927 + ], + "loc": { + "start": { + "line": 1455, + "column": 26 + }, + "end": { + "line": 1455, + "column": 32 + } + } + }, + "range": [ + 40916, + 40927 + ], + "loc": { + "start": { + "line": 1455, + "column": 21 + }, + "end": { + "line": 1455, + "column": 32 + } + } + }, + "range": [ + 40907, + 40927 + ], + "loc": { + "start": { + "line": 1455, + "column": 12 + }, + "end": { + "line": 1455, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 40903, + 40928 + ], + "loc": { + "start": { + "line": 1455, + "column": 8 + }, + "end": { + "line": 1455, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 40937, + 40941 + ], + "loc": { + "start": { + "line": 1456, + "column": 8 + }, + "end": { + "line": 1456, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 40942, + 40949 + ], + "loc": { + "start": { + "line": 1456, + "column": 13 + }, + "end": { + "line": 1456, + "column": 20 + } + } + }, + "range": [ + 40937, + 40949 + ], + "loc": { + "start": { + "line": 1456, + "column": 8 + }, + "end": { + "line": 1456, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 40950, + 40954 + ], + "loc": { + "start": { + "line": 1456, + "column": 21 + }, + "end": { + "line": 1456, + "column": 25 + } + } + }, + "range": [ + 40937, + 40954 + ], + "loc": { + "start": { + "line": 1456, + "column": 8 + }, + "end": { + "line": 1456, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-loading-themes", + "raw": "'before-loading-themes'", + "range": [ + 40955, + 40978 + ], + "loc": { + "start": { + "line": 1456, + "column": 26 + }, + "end": { + "line": 1456, + "column": 49 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 40980, + 40984 + ], + "loc": { + "start": { + "line": 1456, + "column": 51 + }, + "end": { + "line": 1456, + "column": 55 + } + } + } + ], + "range": [ + 40937, + 40985 + ], + "loc": { + "start": { + "line": 1456, + "column": 8 + }, + "end": { + "line": 1456, + "column": 56 + } + } + }, + "range": [ + 40937, + 40986 + ], + "loc": { + "start": { + "line": 1456, + "column": 8 + }, + "end": { + "line": 1456, + "column": 57 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Default theme config", + "range": [ + 40996, + 41018 + ], + "loc": { + "start": { + "line": 1458, + "column": 8 + }, + "end": { + "line": 1458, + "column": 30 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41031, + 41035 + ], + "loc": { + "start": { + "line": 1459, + "column": 12 + }, + "end": { + "line": 1459, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "enableDefaultTheme", + "range": [ + 41036, + 41054 + ], + "loc": { + "start": { + "line": 1459, + "column": 17 + }, + "end": { + "line": 1459, + "column": 35 + } + } + }, + "range": [ + 41031, + 41054 + ], + "loc": { + "start": { + "line": 1459, + "column": 12 + }, + "end": { + "line": 1459, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "defaultTheme", + "range": [ + 41074, + 41086 + ], + "loc": { + "start": { + "line": 1460, + "column": 16 + }, + "end": { + "line": 1460, + "column": 28 + } + } + }, + "init": { + "type": "ObjectExpression", + "properties": [ + { + "type": "Property", + "key": { + "type": "Identifier", + "name": "name", + "range": [ + 41091, + 41095 + ], + "loc": { + "start": { + "line": 1460, + "column": 33 + }, + "end": { + "line": 1460, + "column": 37 + } + } + }, + "value": { + "type": "Literal", + "value": "default", + "raw": "'default'", + "range": [ + 41097, + 41106 + ], + "loc": { + "start": { + "line": 1460, + "column": 39 + }, + "end": { + "line": 1460, + "column": 48 + } + } + }, + "kind": "init", + "method": false, + "shorthand": false, + "computed": false, + "range": [ + 41091, + 41106 + ], + "loc": { + "start": { + "line": 1460, + "column": 33 + }, + "end": { + "line": 1460, + "column": 48 + } + } + } + ], + "range": [ + 41089, + 41108 + ], + "loc": { + "start": { + "line": 1460, + "column": 31 + }, + "end": { + "line": 1460, + "column": 50 + } + } + }, + "range": [ + 41074, + 41108 + ], + "loc": { + "start": { + "line": 1460, + "column": 16 + }, + "end": { + "line": 1460, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 41070, + 41109 + ], + "loc": { + "start": { + "line": 1460, + "column": 12 + }, + "end": { + "line": 1460, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41122, + 41126 + ], + "loc": { + "start": { + "line": 1461, + "column": 12 + }, + "end": { + "line": 1461, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes", + "range": [ + 41127, + 41133 + ], + "loc": { + "start": { + "line": 1461, + "column": 17 + }, + "end": { + "line": 1461, + "column": 23 + } + } + }, + "range": [ + 41122, + 41133 + ], + "loc": { + "start": { + "line": 1461, + "column": 12 + }, + "end": { + "line": 1461, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 41134, + 41138 + ], + "loc": { + "start": { + "line": 1461, + "column": 24 + }, + "end": { + "line": 1461, + "column": 28 + } + } + }, + "range": [ + 41122, + 41138 + ], + "loc": { + "start": { + "line": 1461, + "column": 12 + }, + "end": { + "line": 1461, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "defaultTheme", + "range": [ + 41139, + 41151 + ], + "loc": { + "start": { + "line": 1461, + "column": 29 + }, + "end": { + "line": 1461, + "column": 41 + } + } + } + ], + "range": [ + 41122, + 41152 + ], + "loc": { + "start": { + "line": 1461, + "column": 12 + }, + "end": { + "line": 1461, + "column": 42 + } + } + }, + "range": [ + 41122, + 41153 + ], + "loc": { + "start": { + "line": 1461, + "column": 12 + }, + "end": { + "line": 1461, + "column": 43 + } + } + } + ], + "range": [ + 41056, + 41163 + ], + "loc": { + "start": { + "line": 1459, + "column": 37 + }, + "end": { + "line": 1462, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 41027, + 41163 + ], + "loc": { + "start": { + "line": 1459, + "column": 8 + }, + "end": { + "line": 1462, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Default theme config", + "range": [ + 40996, + 41018 + ], + "loc": { + "start": { + "line": 1458, + "column": 8 + }, + "end": { + "line": 1458, + "column": 30 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 41176, + 41183 + ], + "loc": { + "start": { + "line": 1463, + "column": 12 + }, + "end": { + "line": 1463, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "themes", + "range": [ + 41184, + 41190 + ], + "loc": { + "start": { + "line": 1463, + "column": 20 + }, + "end": { + "line": 1463, + "column": 26 + } + } + } + ], + "range": [ + 41176, + 41191 + ], + "loc": { + "start": { + "line": 1463, + "column": 12 + }, + "end": { + "line": 1463, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 41216, + 41217 + ], + "loc": { + "start": { + "line": 1464, + "column": 21 + }, + "end": { + "line": 1464, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 41220, + 41221 + ], + "loc": { + "start": { + "line": 1464, + "column": 25 + }, + "end": { + "line": 1464, + "column": 26 + } + } + }, + "range": [ + 41216, + 41221 + ], + "loc": { + "start": { + "line": 1464, + "column": 21 + }, + "end": { + "line": 1464, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 41223, + 41226 + ], + "loc": { + "start": { + "line": 1464, + "column": 28 + }, + "end": { + "line": 1464, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "themes", + "range": [ + 41229, + 41235 + ], + "loc": { + "start": { + "line": 1464, + "column": 34 + }, + "end": { + "line": 1464, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 41236, + 41242 + ], + "loc": { + "start": { + "line": 1464, + "column": 41 + }, + "end": { + "line": 1464, + "column": 47 + } + } + }, + "range": [ + 41229, + 41242 + ], + "loc": { + "start": { + "line": 1464, + "column": 34 + }, + "end": { + "line": 1464, + "column": 47 + } + } + }, + "range": [ + 41223, + 41242 + ], + "loc": { + "start": { + "line": 1464, + "column": 28 + }, + "end": { + "line": 1464, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 41212, + 41242 + ], + "loc": { + "start": { + "line": 1464, + "column": 17 + }, + "end": { + "line": 1464, + "column": 47 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 41244, + 41245 + ], + "loc": { + "start": { + "line": 1464, + "column": 49 + }, + "end": { + "line": 1464, + "column": 50 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 41248, + 41251 + ], + "loc": { + "start": { + "line": 1464, + "column": 53 + }, + "end": { + "line": 1464, + "column": 56 + } + } + }, + "range": [ + 41244, + 41251 + ], + "loc": { + "start": { + "line": 1464, + "column": 49 + }, + "end": { + "line": 1464, + "column": 56 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 41253, + 41254 + ], + "loc": { + "start": { + "line": 1464, + "column": 58 + }, + "end": { + "line": 1464, + "column": 59 + } + } + }, + "prefix": false, + "range": [ + 41253, + 41256 + ], + "loc": { + "start": { + "line": 1464, + "column": 58 + }, + "end": { + "line": 1464, + "column": 61 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "theme", + "range": [ + 41280, + 41285 + ], + "loc": { + "start": { + "line": 1465, + "column": 20 + }, + "end": { + "line": 1465, + "column": 25 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "themes", + "range": [ + 41288, + 41294 + ], + "loc": { + "start": { + "line": 1465, + "column": 28 + }, + "end": { + "line": 1465, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 41295, + 41296 + ], + "loc": { + "start": { + "line": 1465, + "column": 35 + }, + "end": { + "line": 1465, + "column": 36 + } + } + }, + "range": [ + 41288, + 41297 + ], + "loc": { + "start": { + "line": 1465, + "column": 28 + }, + "end": { + "line": 1465, + "column": 37 + } + } + }, + "range": [ + 41280, + 41297 + ], + "loc": { + "start": { + "line": 1465, + "column": 20 + }, + "end": { + "line": 1465, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 41276, + 41298 + ], + "loc": { + "start": { + "line": 1465, + "column": 16 + }, + "end": { + "line": 1465, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "name", + "range": [ + 41319, + 41323 + ], + "loc": { + "start": { + "line": 1466, + "column": 20 + }, + "end": { + "line": 1466, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "theme", + "range": [ + 41326, + 41331 + ], + "loc": { + "start": { + "line": 1466, + "column": 27 + }, + "end": { + "line": 1466, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "name", + "range": [ + 41332, + 41336 + ], + "loc": { + "start": { + "line": 1466, + "column": 33 + }, + "end": { + "line": 1466, + "column": 37 + } + } + }, + "range": [ + 41326, + 41336 + ], + "loc": { + "start": { + "line": 1466, + "column": 27 + }, + "end": { + "line": 1466, + "column": 37 + } + } + }, + "range": [ + 41319, + 41336 + ], + "loc": { + "start": { + "line": 1466, + "column": 20 + }, + "end": { + "line": 1466, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 41315, + 41337 + ], + "loc": { + "start": { + "line": 1466, + "column": 16 + }, + "end": { + "line": 1466, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "path", + "range": [ + 41358, + 41362 + ], + "loc": { + "start": { + "line": 1467, + "column": 20 + }, + "end": { + "line": 1467, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "theme", + "range": [ + 41365, + 41370 + ], + "loc": { + "start": { + "line": 1467, + "column": 27 + }, + "end": { + "line": 1467, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "path", + "range": [ + 41371, + 41375 + ], + "loc": { + "start": { + "line": 1467, + "column": 33 + }, + "end": { + "line": 1467, + "column": 37 + } + } + }, + "range": [ + 41365, + 41375 + ], + "loc": { + "start": { + "line": 1467, + "column": 27 + }, + "end": { + "line": 1467, + "column": 37 + } + } + }, + "range": [ + 41358, + 41375 + ], + "loc": { + "start": { + "line": 1467, + "column": 20 + }, + "end": { + "line": 1467, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 41354, + 41376 + ], + "loc": { + "start": { + "line": 1467, + "column": 16 + }, + "end": { + "line": 1467, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "styleId", + "range": [ + 41397, + 41404 + ], + "loc": { + "start": { + "line": 1468, + "column": 20 + }, + "end": { + "line": 1468, + "column": 27 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41407, + 41411 + ], + "loc": { + "start": { + "line": 1468, + "column": 30 + }, + "end": { + "line": 1468, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 41412, + 41418 + ], + "loc": { + "start": { + "line": 1468, + "column": 35 + }, + "end": { + "line": 1468, + "column": 41 + } + } + }, + "range": [ + 41407, + 41418 + ], + "loc": { + "start": { + "line": 1468, + "column": 30 + }, + "end": { + "line": 1468, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "name", + "range": [ + 41421, + 41425 + ], + "loc": { + "start": { + "line": 1468, + "column": 44 + }, + "end": { + "line": 1468, + "column": 48 + } + } + }, + "range": [ + 41407, + 41425 + ], + "loc": { + "start": { + "line": 1468, + "column": 30 + }, + "end": { + "line": 1468, + "column": 48 + } + } + }, + "range": [ + 41397, + 41425 + ], + "loc": { + "start": { + "line": 1468, + "column": 20 + }, + "end": { + "line": 1468, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 41393, + 41426 + ], + "loc": { + "start": { + "line": 1468, + "column": 16 + }, + "end": { + "line": 1468, + "column": 49 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 41447, + 41451 + ], + "loc": { + "start": { + "line": 1469, + "column": 20 + }, + "end": { + "line": 1469, + "column": 24 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "path", + "range": [ + 41456, + 41460 + ], + "loc": { + "start": { + "line": 1469, + "column": 29 + }, + "end": { + "line": 1469, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 41455, + 41460 + ], + "loc": { + "start": { + "line": 1469, + "column": 28 + }, + "end": { + "line": 1469, + "column": 33 + } + } + }, + "range": [ + 41447, + 41460 + ], + "loc": { + "start": { + "line": 1469, + "column": 20 + }, + "end": { + "line": 1469, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "path", + "range": [ + 41484, + 41488 + ], + "loc": { + "start": { + "line": 1470, + "column": 20 + }, + "end": { + "line": 1470, + "column": 24 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41491, + 41495 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "themesPath", + "range": [ + 41496, + 41506 + ], + "loc": { + "start": { + "line": 1470, + "column": 32 + }, + "end": { + "line": 1470, + "column": 42 + } + } + }, + "range": [ + 41491, + 41506 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 42 + } + } + }, + "right": { + "type": "Identifier", + "name": "name", + "range": [ + 41509, + 41513 + ], + "loc": { + "start": { + "line": 1470, + "column": 45 + }, + "end": { + "line": 1470, + "column": 49 + } + } + }, + "range": [ + 41491, + 41513 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": "/", + "raw": "'/'", + "range": [ + 41516, + 41519 + ], + "loc": { + "start": { + "line": 1470, + "column": 52 + }, + "end": { + "line": 1470, + "column": 55 + } + } + }, + "range": [ + 41491, + 41519 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 55 + } + } + }, + "right": { + "type": "Identifier", + "name": "name", + "range": [ + 41522, + 41526 + ], + "loc": { + "start": { + "line": 1470, + "column": 58 + }, + "end": { + "line": 1470, + "column": 62 + } + } + }, + "range": [ + 41491, + 41526 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 62 + } + } + }, + "right": { + "type": "Literal", + "value": ".css", + "raw": "'.css'", + "range": [ + 41529, + 41535 + ], + "loc": { + "start": { + "line": 1470, + "column": 65 + }, + "end": { + "line": 1470, + "column": 71 + } + } + }, + "range": [ + 41491, + 41535 + ], + "loc": { + "start": { + "line": 1470, + "column": 27 + }, + "end": { + "line": 1470, + "column": 71 + } + } + }, + "range": [ + 41484, + 41535 + ], + "loc": { + "start": { + "line": 1470, + "column": 20 + }, + "end": { + "line": 1470, + "column": 71 + } + } + }, + "range": [ + 41484, + 41536 + ], + "loc": { + "start": { + "line": 1470, + "column": 20 + }, + "end": { + "line": 1470, + "column": 72 + } + } + } + ], + "range": [ + 41462, + 41554 + ], + "loc": { + "start": { + "line": 1469, + "column": 35 + }, + "end": { + "line": 1471, + "column": 17 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "name", + "range": [ + 41581, + 41585 + ], + "loc": { + "start": { + "line": 1472, + "column": 26 + }, + "end": { + "line": 1472, + "column": 30 + } + } + }, + "prefix": true, + "range": [ + 41580, + 41585 + ], + "loc": { + "start": { + "line": 1472, + "column": 25 + }, + "end": { + "line": 1472, + "column": 30 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "theme", + "range": [ + 41589, + 41594 + ], + "loc": { + "start": { + "line": 1472, + "column": 34 + }, + "end": { + "line": 1472, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "path", + "range": [ + 41595, + 41599 + ], + "loc": { + "start": { + "line": 1472, + "column": 40 + }, + "end": { + "line": 1472, + "column": 44 + } + } + }, + "range": [ + 41589, + 41599 + ], + "loc": { + "start": { + "line": 1472, + "column": 34 + }, + "end": { + "line": 1472, + "column": 44 + } + } + }, + "range": [ + 41580, + 41599 + ], + "loc": { + "start": { + "line": 1472, + "column": 25 + }, + "end": { + "line": 1472, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 41623, + 41627 + ], + "loc": { + "start": { + "line": 1473, + "column": 20 + }, + "end": { + "line": 1473, + "column": 24 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Literal", + "value": "theme{0}", + "raw": "'theme{0}'", + "range": [ + 41630, + 41640 + ], + "loc": { + "start": { + "line": 1473, + "column": 27 + }, + "end": { + "line": 1473, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 41641, + 41648 + ], + "loc": { + "start": { + "line": 1473, + "column": 38 + }, + "end": { + "line": 1473, + "column": 45 + } + } + }, + "range": [ + 41630, + 41648 + ], + "loc": { + "start": { + "line": 1473, + "column": 27 + }, + "end": { + "line": 1473, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "{0}", + "raw": "'{0}'", + "range": [ + 41649, + 41654 + ], + "loc": { + "start": { + "line": 1473, + "column": 46 + }, + "end": { + "line": 1473, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "i", + "range": [ + 41656, + 41657 + ], + "loc": { + "start": { + "line": 1473, + "column": 53 + }, + "end": { + "line": 1473, + "column": 54 + } + } + } + ], + "range": [ + 41630, + 41658 + ], + "loc": { + "start": { + "line": 1473, + "column": 27 + }, + "end": { + "line": 1473, + "column": 55 + } + } + }, + "range": [ + 41623, + 41658 + ], + "loc": { + "start": { + "line": 1473, + "column": 20 + }, + "end": { + "line": 1473, + "column": 55 + } + } + }, + "range": [ + 41623, + 41659 + ], + "loc": { + "start": { + "line": 1473, + "column": 20 + }, + "end": { + "line": 1473, + "column": 56 + } + } + } + ], + "range": [ + 41601, + 41677 + ], + "loc": { + "start": { + "line": 1472, + "column": 46 + }, + "end": { + "line": 1474, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 41576, + 41677 + ], + "loc": { + "start": { + "line": 1472, + "column": 21 + }, + "end": { + "line": 1474, + "column": 17 + } + } + }, + "range": [ + 41443, + 41677 + ], + "loc": { + "start": { + "line": 1469, + "column": 16 + }, + "end": { + "line": 1474, + "column": 17 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41700, + 41704 + ], + "loc": { + "start": { + "line": 1476, + "column": 21 + }, + "end": { + "line": 1476, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "isImported", + "range": [ + 41705, + 41715 + ], + "loc": { + "start": { + "line": 1476, + "column": 26 + }, + "end": { + "line": 1476, + "column": 36 + } + } + }, + "range": [ + 41700, + 41715 + ], + "loc": { + "start": { + "line": 1476, + "column": 21 + }, + "end": { + "line": 1476, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "path", + "range": [ + 41716, + 41720 + ], + "loc": { + "start": { + "line": 1476, + "column": 37 + }, + "end": { + "line": 1476, + "column": 41 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 41722, + 41728 + ], + "loc": { + "start": { + "line": 1476, + "column": 43 + }, + "end": { + "line": 1476, + "column": 49 + } + } + } + ], + "range": [ + 41700, + 41729 + ], + "loc": { + "start": { + "line": 1476, + "column": 21 + }, + "end": { + "line": 1476, + "column": 50 + } + } + }, + "prefix": true, + "range": [ + 41699, + 41729 + ], + "loc": { + "start": { + "line": 1476, + "column": 20 + }, + "end": { + "line": 1476, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41753, + 41757 + ], + "loc": { + "start": { + "line": 1477, + "column": 20 + }, + "end": { + "line": 1477, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "import", + "range": [ + 41758, + 41764 + ], + "loc": { + "start": { + "line": 1477, + "column": 25 + }, + "end": { + "line": 1477, + "column": 31 + } + } + }, + "range": [ + 41753, + 41764 + ], + "loc": { + "start": { + "line": 1477, + "column": 20 + }, + "end": { + "line": 1477, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "styleId", + "range": [ + 41765, + 41772 + ], + "loc": { + "start": { + "line": 1477, + "column": 32 + }, + "end": { + "line": 1477, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "path", + "range": [ + 41774, + 41778 + ], + "loc": { + "start": { + "line": 1477, + "column": 41 + }, + "end": { + "line": 1477, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 41780, + 41784 + ], + "loc": { + "start": { + "line": 1477, + "column": 47 + }, + "end": { + "line": 1477, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 41786, + 41792 + ], + "loc": { + "start": { + "line": 1477, + "column": 53 + }, + "end": { + "line": 1477, + "column": 59 + } + } + } + ], + "range": [ + 41753, + 41793 + ], + "loc": { + "start": { + "line": 1477, + "column": 20 + }, + "end": { + "line": 1477, + "column": 60 + } + } + }, + "range": [ + 41753, + 41794 + ], + "loc": { + "start": { + "line": 1477, + "column": 20 + }, + "end": { + "line": 1477, + "column": 61 + } + } + } + ], + "range": [ + 41731, + 41812 + ], + "loc": { + "start": { + "line": 1476, + "column": 52 + }, + "end": { + "line": 1478, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 41695, + 41812 + ], + "loc": { + "start": { + "line": 1476, + "column": 16 + }, + "end": { + "line": 1478, + "column": 17 + } + } + } + ], + "range": [ + 41258, + 41826 + ], + "loc": { + "start": { + "line": 1464, + "column": 63 + }, + "end": { + "line": 1479, + "column": 13 + } + } + }, + "range": [ + 41207, + 41826 + ], + "loc": { + "start": { + "line": 1464, + "column": 12 + }, + "end": { + "line": 1479, + "column": 13 + } + } + } + ], + "range": [ + 41193, + 41836 + ], + "loc": { + "start": { + "line": 1463, + "column": 29 + }, + "end": { + "line": 1480, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 41172, + 41836 + ], + "loc": { + "start": { + "line": 1463, + "column": 8 + }, + "end": { + "line": 1480, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Enable loader indicator", + "range": [ + 41846, + 41872 + ], + "loc": { + "start": { + "line": 1482, + "column": 8 + }, + "end": { + "line": 1482, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41881, + 41885 + ], + "loc": { + "start": { + "line": 1483, + "column": 8 + }, + "end": { + "line": 1483, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "loader", + "range": [ + 41886, + 41892 + ], + "loc": { + "start": { + "line": 1483, + "column": 13 + }, + "end": { + "line": 1483, + "column": 19 + } + } + }, + "range": [ + 41881, + 41892 + ], + "loc": { + "start": { + "line": 1483, + "column": 8 + }, + "end": { + "line": 1483, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 41895, + 41899 + ], + "loc": { + "start": { + "line": 1483, + "column": 22 + }, + "end": { + "line": 1483, + "column": 26 + } + } + }, + "range": [ + 41881, + 41899 + ], + "loc": { + "start": { + "line": 1483, + "column": 8 + }, + "end": { + "line": 1483, + "column": 26 + } + } + }, + "range": [ + 41881, + 41900 + ], + "loc": { + "start": { + "line": 1483, + "column": 8 + }, + "end": { + "line": 1483, + "column": 27 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Enable loader indicator", + "range": [ + 41846, + 41872 + ], + "loc": { + "start": { + "line": 1482, + "column": 8 + }, + "end": { + "line": 1482, + "column": 34 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 41910, + 41914 + ], + "loc": { + "start": { + "line": 1485, + "column": 8 + }, + "end": { + "line": 1485, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 41915, + 41922 + ], + "loc": { + "start": { + "line": 1485, + "column": 13 + }, + "end": { + "line": 1485, + "column": 20 + } + } + }, + "range": [ + 41910, + 41922 + ], + "loc": { + "start": { + "line": 1485, + "column": 8 + }, + "end": { + "line": 1485, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 41923, + 41927 + ], + "loc": { + "start": { + "line": 1485, + "column": 21 + }, + "end": { + "line": 1485, + "column": 25 + } + } + }, + "range": [ + 41910, + 41927 + ], + "loc": { + "start": { + "line": 1485, + "column": 8 + }, + "end": { + "line": 1485, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-loading-themes", + "raw": "'after-loading-themes'", + "range": [ + 41928, + 41950 + ], + "loc": { + "start": { + "line": 1485, + "column": 26 + }, + "end": { + "line": 1485, + "column": 48 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 41952, + 41956 + ], + "loc": { + "start": { + "line": 1485, + "column": 50 + }, + "end": { + "line": 1485, + "column": 54 + } + } + } + ], + "range": [ + 41910, + 41957 + ], + "loc": { + "start": { + "line": 1485, + "column": 8 + }, + "end": { + "line": 1485, + "column": 55 + } + } + }, + "range": [ + 41910, + 41958 + ], + "loc": { + "start": { + "line": 1485, + "column": 8 + }, + "end": { + "line": 1485, + "column": 56 + } + } + } + ], + "range": [ + 40831, + 41964 + ], + "loc": { + "start": { + "line": 1450, + "column": 17 + }, + "end": { + "line": 1486, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 40828, + 41964 + ], + "loc": { + "start": { + "line": 1450, + "column": 14 + }, + "end": { + "line": 1486, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 40818, + 41964 + ], + "loc": { + "start": { + "line": 1450, + "column": 4 + }, + "end": { + "line": 1486, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Load themes defined in the configuration object\n ", + "range": [ + 40747, + 40813 + ], + "loc": { + "start": { + "line": 1447, + "column": 4 + }, + "end": { + "line": 1449, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n ", + "range": [ + 41970, + 42088 + ], + "loc": { + "start": { + "line": 1488, + "column": 4 + }, + "end": { + "line": 1491, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getStylesheet", + "range": [ + 42093, + 42106 + ], + "loc": { + "start": { + "line": 1492, + "column": 4 + }, + "end": { + "line": 1492, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "name", + "range": [ + 42107, + 42111 + ], + "loc": { + "start": { + "line": 1492, + "column": 18 + }, + "end": { + "line": 1492, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "default", + "raw": "'default'", + "range": [ + 42114, + 42123 + ], + "loc": { + "start": { + "line": 1492, + "column": 25 + }, + "end": { + "line": 1492, + "column": 34 + } + } + }, + "range": [ + 42107, + 42123 + ], + "loc": { + "start": { + "line": 1492, + "column": 18 + }, + "end": { + "line": 1492, + "column": 34 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 42142, + 42145 + ], + "loc": { + "start": { + "line": 1493, + "column": 15 + }, + "end": { + "line": 1493, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42146, + 42150 + ], + "loc": { + "start": { + "line": 1493, + "column": 19 + }, + "end": { + "line": 1493, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 42151, + 42157 + ], + "loc": { + "start": { + "line": 1493, + "column": 24 + }, + "end": { + "line": 1493, + "column": 30 + } + } + }, + "range": [ + 42146, + 42157 + ], + "loc": { + "start": { + "line": 1493, + "column": 19 + }, + "end": { + "line": 1493, + "column": 30 + } + } + }, + "right": { + "type": "Identifier", + "name": "name", + "range": [ + 42160, + 42164 + ], + "loc": { + "start": { + "line": 1493, + "column": 33 + }, + "end": { + "line": 1493, + "column": 37 + } + } + }, + "range": [ + 42146, + 42164 + ], + "loc": { + "start": { + "line": 1493, + "column": 19 + }, + "end": { + "line": 1493, + "column": 37 + } + } + } + ], + "range": [ + 42142, + 42165 + ], + "loc": { + "start": { + "line": 1493, + "column": 15 + }, + "end": { + "line": 1493, + "column": 38 + } + } + }, + "range": [ + 42135, + 42166 + ], + "loc": { + "start": { + "line": 1493, + "column": 8 + }, + "end": { + "line": 1493, + "column": 39 + } + } + } + ], + "range": [ + 42125, + 42172 + ], + "loc": { + "start": { + "line": 1492, + "column": 36 + }, + "end": { + "line": 1494, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 42106, + 42172 + ], + "loc": { + "start": { + "line": 1492, + "column": 17 + }, + "end": { + "line": 1494, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 42093, + 42172 + ], + "loc": { + "start": { + "line": 1492, + "column": 4 + }, + "end": { + "line": 1494, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n ", + "range": [ + 41970, + 42088 + ], + "loc": { + "start": { + "line": 1488, + "column": 4 + }, + "end": { + "line": 1491, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Destroy filter grid\n ", + "range": [ + 42178, + 42216 + ], + "loc": { + "start": { + "line": 1496, + "column": 4 + }, + "end": { + "line": 1498, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "destroy", + "range": [ + 42221, + 42228 + ], + "loc": { + "start": { + "line": 1499, + "column": 4 + }, + "end": { + "line": 1499, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42246, + 42250 + ], + "loc": { + "start": { + "line": 1500, + "column": 13 + }, + "end": { + "line": 1500, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 42251, + 42262 + ], + "loc": { + "start": { + "line": 1500, + "column": 18 + }, + "end": { + "line": 1500, + "column": 29 + } + } + }, + "range": [ + 42246, + 42262 + ], + "loc": { + "start": { + "line": 1500, + "column": 13 + }, + "end": { + "line": 1500, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 42245, + 42262 + ], + "loc": { + "start": { + "line": 1500, + "column": 12 + }, + "end": { + "line": 1500, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 42278, + 42285 + ], + "loc": { + "start": { + "line": 1501, + "column": 12 + }, + "end": { + "line": 1501, + "column": 19 + } + } + } + ], + "range": [ + 42264, + 42295 + ], + "loc": { + "start": { + "line": 1500, + "column": 31 + }, + "end": { + "line": 1502, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 42241, + 42295 + ], + "loc": { + "start": { + "line": 1500, + "column": 8 + }, + "end": { + "line": 1502, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "emitter", + "range": [ + 42309, + 42316 + ], + "loc": { + "start": { + "line": 1504, + "column": 12 + }, + "end": { + "line": 1504, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42319, + 42323 + ], + "loc": { + "start": { + "line": 1504, + "column": 22 + }, + "end": { + "line": 1504, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 42324, + 42331 + ], + "loc": { + "start": { + "line": 1504, + "column": 27 + }, + "end": { + "line": 1504, + "column": 34 + } + } + }, + "range": [ + 42319, + 42331 + ], + "loc": { + "start": { + "line": 1504, + "column": 22 + }, + "end": { + "line": 1504, + "column": 34 + } + } + }, + "range": [ + 42309, + 42331 + ], + "loc": { + "start": { + "line": 1504, + "column": 12 + }, + "end": { + "line": 1504, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 42305, + 42332 + ], + "loc": { + "start": { + "line": 1504, + "column": 8 + }, + "end": { + "line": 1504, + "column": 35 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42346, + 42350 + ], + "loc": { + "start": { + "line": 1506, + "column": 12 + }, + "end": { + "line": 1506, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 42351, + 42364 + ], + "loc": { + "start": { + "line": 1506, + "column": 17 + }, + "end": { + "line": 1506, + "column": 30 + } + } + }, + "range": [ + 42346, + 42364 + ], + "loc": { + "start": { + "line": 1506, + "column": 12 + }, + "end": { + "line": 1506, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 42346, + 42366 + ], + "loc": { + "start": { + "line": 1506, + "column": 12 + }, + "end": { + "line": 1506, + "column": 32 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42371, + 42375 + ], + "loc": { + "start": { + "line": 1506, + "column": 37 + }, + "end": { + "line": 1506, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "popupFilters", + "range": [ + 42376, + 42388 + ], + "loc": { + "start": { + "line": 1506, + "column": 42 + }, + "end": { + "line": 1506, + "column": 54 + } + } + }, + "range": [ + 42371, + 42388 + ], + "loc": { + "start": { + "line": 1506, + "column": 37 + }, + "end": { + "line": 1506, + "column": 54 + } + } + }, + "prefix": true, + "range": [ + 42370, + 42388 + ], + "loc": { + "start": { + "line": 1506, + "column": 36 + }, + "end": { + "line": 1506, + "column": 54 + } + } + }, + "range": [ + 42346, + 42388 + ], + "loc": { + "start": { + "line": 1506, + "column": 12 + }, + "end": { + "line": 1506, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42404, + 42408 + ], + "loc": { + "start": { + "line": 1507, + "column": 12 + }, + "end": { + "line": 1507, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeExternalFlts", + "range": [ + 42409, + 42427 + ], + "loc": { + "start": { + "line": 1507, + "column": 17 + }, + "end": { + "line": 1507, + "column": 35 + } + } + }, + "range": [ + 42404, + 42427 + ], + "loc": { + "start": { + "line": 1507, + "column": 12 + }, + "end": { + "line": 1507, + "column": 35 + } + } + }, + "arguments": [], + "range": [ + 42404, + 42429 + ], + "loc": { + "start": { + "line": 1507, + "column": 12 + }, + "end": { + "line": 1507, + "column": 37 + } + } + }, + "range": [ + 42404, + 42430 + ], + "loc": { + "start": { + "line": 1507, + "column": 12 + }, + "end": { + "line": 1507, + "column": 38 + } + } + } + ], + "range": [ + 42390, + 42440 + ], + "loc": { + "start": { + "line": 1506, + "column": 56 + }, + "end": { + "line": 1508, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 42342, + 42440 + ], + "loc": { + "start": { + "line": 1506, + "column": 8 + }, + "end": { + "line": 1508, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42450, + 42454 + ], + "loc": { + "start": { + "line": 1510, + "column": 8 + }, + "end": { + "line": 1510, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "removeToolbar", + "range": [ + 42455, + 42468 + ], + "loc": { + "start": { + "line": 1510, + "column": 13 + }, + "end": { + "line": 1510, + "column": 26 + } + } + }, + "range": [ + 42450, + 42468 + ], + "loc": { + "start": { + "line": 1510, + "column": 8 + }, + "end": { + "line": 1510, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 42450, + 42470 + ], + "loc": { + "start": { + "line": 1510, + "column": 8 + }, + "end": { + "line": 1510, + "column": 28 + } + } + }, + "range": [ + 42450, + 42471 + ], + "loc": { + "start": { + "line": 1510, + "column": 8 + }, + "end": { + "line": 1510, + "column": 29 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42481, + 42485 + ], + "loc": { + "start": { + "line": 1512, + "column": 8 + }, + "end": { + "line": 1512, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "destroyExtensions", + "range": [ + 42486, + 42503 + ], + "loc": { + "start": { + "line": 1512, + "column": 13 + }, + "end": { + "line": 1512, + "column": 30 + } + } + }, + "range": [ + 42481, + 42503 + ], + "loc": { + "start": { + "line": 1512, + "column": 8 + }, + "end": { + "line": 1512, + "column": 30 + } + } + }, + "arguments": [], + "range": [ + 42481, + 42505 + ], + "loc": { + "start": { + "line": 1512, + "column": 8 + }, + "end": { + "line": 1512, + "column": 32 + } + } + }, + "range": [ + 42481, + 42506 + ], + "loc": { + "start": { + "line": 1512, + "column": 8 + }, + "end": { + "line": 1512, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42516, + 42520 + ], + "loc": { + "start": { + "line": 1514, + "column": 8 + }, + "end": { + "line": 1514, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validateAllRows", + "range": [ + 42521, + 42536 + ], + "loc": { + "start": { + "line": 1514, + "column": 13 + }, + "end": { + "line": 1514, + "column": 28 + } + } + }, + "range": [ + 42516, + 42536 + ], + "loc": { + "start": { + "line": 1514, + "column": 8 + }, + "end": { + "line": 1514, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 42516, + 42538 + ], + "loc": { + "start": { + "line": 1514, + "column": 8 + }, + "end": { + "line": 1514, + "column": 30 + } + } + }, + "range": [ + 42516, + 42539 + ], + "loc": { + "start": { + "line": 1514, + "column": 8 + }, + "end": { + "line": 1514, + "column": 31 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " broadcast destroy event modules and extensions are subscribed to", + "range": [ + 42549, + 42616 + ], + "loc": { + "start": { + "line": 1516, + "column": 8 + }, + "end": { + "line": 1516, + "column": 75 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 42625, + 42632 + ], + "loc": { + "start": { + "line": 1517, + "column": 8 + }, + "end": { + "line": 1517, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 42633, + 42637 + ], + "loc": { + "start": { + "line": 1517, + "column": 16 + }, + "end": { + "line": 1517, + "column": 20 + } + } + }, + "range": [ + 42625, + 42637 + ], + "loc": { + "start": { + "line": 1517, + "column": 8 + }, + "end": { + "line": 1517, + "column": 20 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "destroy", + "raw": "'destroy'", + "range": [ + 42638, + 42647 + ], + "loc": { + "start": { + "line": 1517, + "column": 21 + }, + "end": { + "line": 1517, + "column": 30 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 42649, + 42653 + ], + "loc": { + "start": { + "line": 1517, + "column": 32 + }, + "end": { + "line": 1517, + "column": 36 + } + } + } + ], + "range": [ + 42625, + 42654 + ], + "loc": { + "start": { + "line": 1517, + "column": 8 + }, + "end": { + "line": 1517, + "column": 37 + } + } + }, + "range": [ + 42625, + 42655 + ], + "loc": { + "start": { + "line": 1517, + "column": 8 + }, + "end": { + "line": 1517, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " broadcast destroy event modules and extensions are subscribed to", + "range": [ + 42549, + 42616 + ], + "loc": { + "start": { + "line": 1516, + "column": 8 + }, + "end": { + "line": 1516, + "column": 75 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42669, + 42673 + ], + "loc": { + "start": { + "line": 1519, + "column": 12 + }, + "end": { + "line": 1519, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 42674, + 42681 + ], + "loc": { + "start": { + "line": 1519, + "column": 17 + }, + "end": { + "line": 1519, + "column": 24 + } + } + }, + "range": [ + 42669, + 42681 + ], + "loc": { + "start": { + "line": 1519, + "column": 12 + }, + "end": { + "line": 1519, + "column": 24 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42686, + 42690 + ], + "loc": { + "start": { + "line": 1519, + "column": 29 + }, + "end": { + "line": 1519, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 42691, + 42701 + ], + "loc": { + "start": { + "line": 1519, + "column": 34 + }, + "end": { + "line": 1519, + "column": 44 + } + } + }, + "range": [ + 42686, + 42701 + ], + "loc": { + "start": { + "line": 1519, + "column": 29 + }, + "end": { + "line": 1519, + "column": 44 + } + } + }, + "prefix": true, + "range": [ + 42685, + 42701 + ], + "loc": { + "start": { + "line": 1519, + "column": 28 + }, + "end": { + "line": 1519, + "column": 44 + } + } + }, + "range": [ + 42669, + 42701 + ], + "loc": { + "start": { + "line": 1519, + "column": 12 + }, + "end": { + "line": 1519, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42717, + 42721 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 42722, + 42725 + ], + "loc": { + "start": { + "line": 1520, + "column": 17 + }, + "end": { + "line": 1520, + "column": 20 + } + } + }, + "range": [ + 42717, + 42725 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 42717, + 42727 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "deleteRow", + "range": [ + 42728, + 42737 + ], + "loc": { + "start": { + "line": 1520, + "column": 23 + }, + "end": { + "line": 1520, + "column": 32 + } + } + }, + "range": [ + 42717, + 42737 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42738, + 42742 + ], + "loc": { + "start": { + "line": 1520, + "column": 33 + }, + "end": { + "line": 1520, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 42743, + 42758 + ], + "loc": { + "start": { + "line": 1520, + "column": 38 + }, + "end": { + "line": 1520, + "column": 53 + } + } + }, + "range": [ + 42738, + 42758 + ], + "loc": { + "start": { + "line": 1520, + "column": 33 + }, + "end": { + "line": 1520, + "column": 53 + } + } + } + ], + "range": [ + 42717, + 42759 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 54 + } + } + }, + "range": [ + 42717, + 42760 + ], + "loc": { + "start": { + "line": 1520, + "column": 12 + }, + "end": { + "line": 1520, + "column": 55 + } + } + } + ], + "range": [ + 42703, + 42770 + ], + "loc": { + "start": { + "line": 1519, + "column": 46 + }, + "end": { + "line": 1521, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 42665, + 42770 + ], + "loc": { + "start": { + "line": 1519, + "column": 8 + }, + "end": { + "line": 1521, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 42780, + 42804 + ], + "loc": { + "start": { + "line": 1523, + "column": 8 + }, + "end": { + "line": 1523, + "column": 32 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42817, + 42821 + ], + "loc": { + "start": { + "line": 1524, + "column": 12 + }, + "end": { + "line": 1524, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 42822, + 42836 + ], + "loc": { + "start": { + "line": 1524, + "column": 17 + }, + "end": { + "line": 1524, + "column": 31 + } + } + }, + "range": [ + 42817, + 42836 + ], + "loc": { + "start": { + "line": 1524, + "column": 12 + }, + "end": { + "line": 1524, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 42852, + 42859 + ], + "loc": { + "start": { + "line": 1525, + "column": 12 + }, + "end": { + "line": 1525, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 42860, + 42863 + ], + "loc": { + "start": { + "line": 1525, + "column": 20 + }, + "end": { + "line": 1525, + "column": 23 + } + } + }, + "range": [ + 42852, + 42863 + ], + "loc": { + "start": { + "line": 1525, + "column": 12 + }, + "end": { + "line": 1525, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 42865, + 42882 + ], + "loc": { + "start": { + "line": 1525, + "column": 25 + }, + "end": { + "line": 1525, + "column": 42 + } + } + } + ], + "range": [ + 42864, + 42883 + ], + "loc": { + "start": { + "line": 1525, + "column": 24 + }, + "end": { + "line": 1525, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42891, + 42895 + ], + "loc": { + "start": { + "line": 1525, + "column": 51 + }, + "end": { + "line": 1525, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "enforceVisibility", + "range": [ + 42896, + 42913 + ], + "loc": { + "start": { + "line": 1525, + "column": 56 + }, + "end": { + "line": 1525, + "column": 73 + } + } + }, + "range": [ + 42891, + 42913 + ], + "loc": { + "start": { + "line": 1525, + "column": 51 + }, + "end": { + "line": 1525, + "column": 73 + } + } + }, + "arguments": [], + "range": [ + 42891, + 42915 + ], + "loc": { + "start": { + "line": 1525, + "column": 51 + }, + "end": { + "line": 1525, + "column": 75 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 42885, + 42915 + ], + "loc": { + "start": { + "line": 1525, + "column": 45 + }, + "end": { + "line": 1525, + "column": 75 + } + } + } + ], + "range": [ + 42852, + 42916 + ], + "loc": { + "start": { + "line": 1525, + "column": 12 + }, + "end": { + "line": 1525, + "column": 76 + } + } + }, + "range": [ + 42852, + 42917 + ], + "loc": { + "start": { + "line": 1525, + "column": 12 + }, + "end": { + "line": 1525, + "column": 77 + } + } + } + ], + "range": [ + 42838, + 42927 + ], + "loc": { + "start": { + "line": 1524, + "column": 33 + }, + "end": { + "line": 1526, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 42813, + 42927 + ], + "loc": { + "start": { + "line": 1524, + "column": 8 + }, + "end": { + "line": 1526, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 42780, + 42804 + ], + "loc": { + "start": { + "line": 1523, + "column": 8 + }, + "end": { + "line": 1523, + "column": 32 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 42940, + 42944 + ], + "loc": { + "start": { + "line": 1527, + "column": 12 + }, + "end": { + "line": 1527, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 42945, + 42958 + ], + "loc": { + "start": { + "line": 1527, + "column": 17 + }, + "end": { + "line": 1527, + "column": 30 + } + } + }, + "range": [ + 42940, + 42958 + ], + "loc": { + "start": { + "line": 1527, + "column": 12 + }, + "end": { + "line": 1527, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "emitter", + "range": [ + 42974, + 42981 + ], + "loc": { + "start": { + "line": 1528, + "column": 12 + }, + "end": { + "line": 1528, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 42982, + 42985 + ], + "loc": { + "start": { + "line": 1528, + "column": 20 + }, + "end": { + "line": 1528, + "column": 23 + } + } + }, + "range": [ + 42974, + 42985 + ], + "loc": { + "start": { + "line": 1528, + "column": 12 + }, + "end": { + "line": 1528, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 42987, + 43004 + ], + "loc": { + "start": { + "line": 1528, + "column": 25 + }, + "end": { + "line": 1528, + "column": 42 + } + } + } + ], + "range": [ + 42986, + 43005 + ], + "loc": { + "start": { + "line": 1528, + "column": 24 + }, + "end": { + "line": 1528, + "column": 43 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43013, + 43017 + ], + "loc": { + "start": { + "line": 1528, + "column": 51 + }, + "end": { + "line": 1528, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkFilters", + "range": [ + 43018, + 43029 + ], + "loc": { + "start": { + "line": 1528, + "column": 56 + }, + "end": { + "line": 1528, + "column": 67 + } + } + }, + "range": [ + 43013, + 43029 + ], + "loc": { + "start": { + "line": 1528, + "column": 51 + }, + "end": { + "line": 1528, + "column": 67 + } + } + }, + "arguments": [], + "range": [ + 43013, + 43031 + ], + "loc": { + "start": { + "line": 1528, + "column": 51 + }, + "end": { + "line": 1528, + "column": 69 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 43007, + 43031 + ], + "loc": { + "start": { + "line": 1528, + "column": 45 + }, + "end": { + "line": 1528, + "column": 69 + } + } + } + ], + "range": [ + 42974, + 43032 + ], + "loc": { + "start": { + "line": 1528, + "column": 12 + }, + "end": { + "line": 1528, + "column": 70 + } + } + }, + "range": [ + 42974, + 43033 + ], + "loc": { + "start": { + "line": 1528, + "column": 12 + }, + "end": { + "line": 1528, + "column": 71 + } + } + } + ], + "range": [ + 42960, + 43043 + ], + "loc": { + "start": { + "line": 1527, + "column": 32 + }, + "end": { + "line": 1529, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 42936, + 43043 + ], + "loc": { + "start": { + "line": 1527, + "column": 8 + }, + "end": { + "line": 1529, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43052, + 43056 + ], + "loc": { + "start": { + "line": 1530, + "column": 8 + }, + "end": { + "line": 1530, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 43057, + 43064 + ], + "loc": { + "start": { + "line": 1530, + "column": 13 + }, + "end": { + "line": 1530, + "column": 20 + } + } + }, + "range": [ + 43052, + 43064 + ], + "loc": { + "start": { + "line": 1530, + "column": 8 + }, + "end": { + "line": 1530, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "off", + "range": [ + 43065, + 43068 + ], + "loc": { + "start": { + "line": 1530, + "column": 21 + }, + "end": { + "line": 1530, + "column": 24 + } + } + }, + "range": [ + 43052, + 43068 + ], + "loc": { + "start": { + "line": 1530, + "column": 8 + }, + "end": { + "line": 1530, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "filter-focus", + "raw": "'filter-focus'", + "range": [ + 43070, + 43084 + ], + "loc": { + "start": { + "line": 1530, + "column": 26 + }, + "end": { + "line": 1530, + "column": 40 + } + } + } + ], + "range": [ + 43069, + 43085 + ], + "loc": { + "start": { + "line": 1530, + "column": 25 + }, + "end": { + "line": 1530, + "column": 41 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tf", + "range": [ + 43100, + 43102 + ], + "loc": { + "start": { + "line": 1531, + "column": 13 + }, + "end": { + "line": 1531, + "column": 15 + } + } + }, + { + "type": "Identifier", + "name": "filter", + "range": [ + 43104, + 43110 + ], + "loc": { + "start": { + "line": 1531, + "column": 17 + }, + "end": { + "line": 1531, + "column": 23 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43115, + 43119 + ], + "loc": { + "start": { + "line": 1531, + "column": 28 + }, + "end": { + "line": 1531, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "setActiveFilterId", + "range": [ + 43120, + 43137 + ], + "loc": { + "start": { + "line": 1531, + "column": 33 + }, + "end": { + "line": 1531, + "column": 50 + } + } + }, + "range": [ + 43115, + 43137 + ], + "loc": { + "start": { + "line": 1531, + "column": 28 + }, + "end": { + "line": 1531, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filter", + "range": [ + 43138, + 43144 + ], + "loc": { + "start": { + "line": 1531, + "column": 51 + }, + "end": { + "line": 1531, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 43145, + 43147 + ], + "loc": { + "start": { + "line": 1531, + "column": 58 + }, + "end": { + "line": 1531, + "column": 60 + } + } + }, + "range": [ + 43138, + 43147 + ], + "loc": { + "start": { + "line": 1531, + "column": 51 + }, + "end": { + "line": 1531, + "column": 60 + } + } + } + ], + "range": [ + 43115, + 43148 + ], + "loc": { + "start": { + "line": 1531, + "column": 28 + }, + "end": { + "line": 1531, + "column": 61 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 43099, + 43148 + ], + "loc": { + "start": { + "line": 1531, + "column": 12 + }, + "end": { + "line": 1531, + "column": 61 + } + } + } + ], + "range": [ + 43052, + 43149 + ], + "loc": { + "start": { + "line": 1530, + "column": 8 + }, + "end": { + "line": 1531, + "column": 62 + } + } + }, + "range": [ + 43052, + 43150 + ], + "loc": { + "start": { + "line": 1530, + "column": 8 + }, + "end": { + "line": 1531, + "column": 63 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 43160, + 43171 + ], + "loc": { + "start": { + "line": 1533, + "column": 8 + }, + "end": { + "line": 1533, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43172, + 43176 + ], + "loc": { + "start": { + "line": 1533, + "column": 20 + }, + "end": { + "line": 1533, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 43177, + 43180 + ], + "loc": { + "start": { + "line": 1533, + "column": 25 + }, + "end": { + "line": 1533, + "column": 28 + } + } + }, + "range": [ + 43172, + 43180 + ], + "loc": { + "start": { + "line": 1533, + "column": 20 + }, + "end": { + "line": 1533, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 43172, + 43182 + ], + "loc": { + "start": { + "line": 1533, + "column": 20 + }, + "end": { + "line": 1533, + "column": 30 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43184, + 43188 + ], + "loc": { + "start": { + "line": 1533, + "column": 32 + }, + "end": { + "line": 1533, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxTf", + "range": [ + 43189, + 43195 + ], + "loc": { + "start": { + "line": 1533, + "column": 37 + }, + "end": { + "line": 1533, + "column": 43 + } + } + }, + "range": [ + 43184, + 43195 + ], + "loc": { + "start": { + "line": 1533, + "column": 32 + }, + "end": { + "line": 1533, + "column": 43 + } + } + } + ], + "range": [ + 43160, + 43196 + ], + "loc": { + "start": { + "line": 1533, + "column": 8 + }, + "end": { + "line": 1533, + "column": 44 + } + } + }, + "range": [ + 43160, + 43197 + ], + "loc": { + "start": { + "line": 1533, + "column": 8 + }, + "end": { + "line": 1533, + "column": 45 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeClass", + "range": [ + 43206, + 43217 + ], + "loc": { + "start": { + "line": 1534, + "column": 8 + }, + "end": { + "line": 1534, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43218, + 43222 + ], + "loc": { + "start": { + "line": 1534, + "column": 20 + }, + "end": { + "line": 1534, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 43223, + 43226 + ], + "loc": { + "start": { + "line": 1534, + "column": 25 + }, + "end": { + "line": 1534, + "column": 28 + } + } + }, + "range": [ + 43218, + 43226 + ], + "loc": { + "start": { + "line": 1534, + "column": 20 + }, + "end": { + "line": 1534, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 43218, + 43228 + ], + "loc": { + "start": { + "line": 1534, + "column": 20 + }, + "end": { + "line": 1534, + "column": 30 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43230, + 43234 + ], + "loc": { + "start": { + "line": 1534, + "column": 32 + }, + "end": { + "line": 1534, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxResponsive", + "range": [ + 43235, + 43249 + ], + "loc": { + "start": { + "line": 1534, + "column": 37 + }, + "end": { + "line": 1534, + "column": 51 + } + } + }, + "range": [ + 43230, + 43249 + ], + "loc": { + "start": { + "line": 1534, + "column": 32 + }, + "end": { + "line": 1534, + "column": 51 + } + } + } + ], + "range": [ + 43206, + 43250 + ], + "loc": { + "start": { + "line": 1534, + "column": 8 + }, + "end": { + "line": 1534, + "column": 52 + } + } + }, + "range": [ + 43206, + 43251 + ], + "loc": { + "start": { + "line": 1534, + "column": 8 + }, + "end": { + "line": 1534, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43261, + 43265 + ], + "loc": { + "start": { + "line": 1536, + "column": 8 + }, + "end": { + "line": 1536, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbHiddenRows", + "range": [ + 43266, + 43278 + ], + "loc": { + "start": { + "line": 1536, + "column": 13 + }, + "end": { + "line": 1536, + "column": 25 + } + } + }, + "range": [ + 43261, + 43278 + ], + "loc": { + "start": { + "line": 1536, + "column": 8 + }, + "end": { + "line": 1536, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 43281, + 43282 + ], + "loc": { + "start": { + "line": 1536, + "column": 28 + }, + "end": { + "line": 1536, + "column": 29 + } + } + }, + "range": [ + 43261, + 43282 + ], + "loc": { + "start": { + "line": 1536, + "column": 8 + }, + "end": { + "line": 1536, + "column": 29 + } + } + }, + "range": [ + 43261, + 43283 + ], + "loc": { + "start": { + "line": 1536, + "column": 8 + }, + "end": { + "line": 1536, + "column": 30 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43292, + 43296 + ], + "loc": { + "start": { + "line": 1537, + "column": 8 + }, + "end": { + "line": 1537, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 43297, + 43311 + ], + "loc": { + "start": { + "line": 1537, + "column": 13 + }, + "end": { + "line": 1537, + "column": 27 + } + } + }, + "range": [ + 43292, + 43311 + ], + "loc": { + "start": { + "line": 1537, + "column": 8 + }, + "end": { + "line": 1537, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 43314, + 43316 + ], + "loc": { + "start": { + "line": 1537, + "column": 30 + }, + "end": { + "line": 1537, + "column": 32 + } + } + }, + "range": [ + 43292, + 43316 + ], + "loc": { + "start": { + "line": 1537, + "column": 8 + }, + "end": { + "line": 1537, + "column": 32 + } + } + }, + "range": [ + 43292, + 43317 + ], + "loc": { + "start": { + "line": 1537, + "column": 8 + }, + "end": { + "line": 1537, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43326, + 43330 + ], + "loc": { + "start": { + "line": 1538, + "column": 8 + }, + "end": { + "line": 1538, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 43331, + 43337 + ], + "loc": { + "start": { + "line": 1538, + "column": 13 + }, + "end": { + "line": 1538, + "column": 19 + } + } + }, + "range": [ + 43326, + 43337 + ], + "loc": { + "start": { + "line": 1538, + "column": 8 + }, + "end": { + "line": 1538, + "column": 19 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 43340, + 43342 + ], + "loc": { + "start": { + "line": 1538, + "column": 22 + }, + "end": { + "line": 1538, + "column": 24 + } + } + }, + "range": [ + 43326, + 43342 + ], + "loc": { + "start": { + "line": 1538, + "column": 8 + }, + "end": { + "line": 1538, + "column": 24 + } + } + }, + "range": [ + 43326, + 43343 + ], + "loc": { + "start": { + "line": 1538, + "column": 8 + }, + "end": { + "line": 1538, + "column": 25 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43352, + 43356 + ], + "loc": { + "start": { + "line": 1539, + "column": 8 + }, + "end": { + "line": 1539, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 43357, + 43368 + ], + "loc": { + "start": { + "line": 1539, + "column": 13 + }, + "end": { + "line": 1539, + "column": 24 + } + } + }, + "range": [ + 43352, + 43368 + ], + "loc": { + "start": { + "line": 1539, + "column": 8 + }, + "end": { + "line": 1539, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 43371, + 43376 + ], + "loc": { + "start": { + "line": 1539, + "column": 27 + }, + "end": { + "line": 1539, + "column": 32 + } + } + }, + "range": [ + 43352, + 43376 + ], + "loc": { + "start": { + "line": 1539, + "column": 8 + }, + "end": { + "line": 1539, + "column": 32 + } + } + }, + "range": [ + 43352, + 43377 + ], + "loc": { + "start": { + "line": 1539, + "column": 8 + }, + "end": { + "line": 1539, + "column": 33 + } + } + } + ], + "range": [ + 42231, + 43383 + ], + "loc": { + "start": { + "line": 1499, + "column": 14 + }, + "end": { + "line": 1540, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 42228, + 43383 + ], + "loc": { + "start": { + "line": 1499, + "column": 11 + }, + "end": { + "line": 1540, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 42221, + 43383 + ], + "loc": { + "start": { + "line": 1499, + "column": 4 + }, + "end": { + "line": 1540, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Destroy filter grid\n ", + "range": [ + 42178, + 42216 + ], + "loc": { + "start": { + "line": 1496, + "column": 4 + }, + "end": { + "line": 1498, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Generate container element for paging, reset button, rows counter etc.\n ", + "range": [ + 43389, + 43478 + ], + "loc": { + "start": { + "line": 1542, + "column": 4 + }, + "end": { + "line": 1544, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setToolbar", + "range": [ + 43483, + 43493 + ], + "loc": { + "start": { + "line": 1545, + "column": 4 + }, + "end": { + "line": 1545, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43510, + 43514 + ], + "loc": { + "start": { + "line": 1546, + "column": 12 + }, + "end": { + "line": 1546, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43515, + 43521 + ], + "loc": { + "start": { + "line": 1546, + "column": 17 + }, + "end": { + "line": 1546, + "column": 23 + } + } + }, + "range": [ + 43510, + 43521 + ], + "loc": { + "start": { + "line": 1546, + "column": 12 + }, + "end": { + "line": 1546, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 43537, + 43544 + ], + "loc": { + "start": { + "line": 1547, + "column": 12 + }, + "end": { + "line": 1547, + "column": 19 + } + } + } + ], + "range": [ + 43523, + 43554 + ], + "loc": { + "start": { + "line": 1546, + "column": 25 + }, + "end": { + "line": 1548, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 43506, + 43554 + ], + "loc": { + "start": { + "line": 1546, + "column": 8 + }, + "end": { + "line": 1548, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** container div **", + "range": [ + 43564, + 43587 + ], + "loc": { + "start": { + "line": 1550, + "column": 8 + }, + "end": { + "line": 1550, + "column": 31 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43600, + 43606 + ], + "loc": { + "start": { + "line": 1551, + "column": 12 + }, + "end": { + "line": 1551, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 43609, + 43618 + ], + "loc": { + "start": { + "line": 1551, + "column": 21 + }, + "end": { + "line": 1551, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 43619, + 43624 + ], + "loc": { + "start": { + "line": 1551, + "column": 31 + }, + "end": { + "line": 1551, + "column": 36 + } + } + } + ], + "range": [ + 43609, + 43625 + ], + "loc": { + "start": { + "line": 1551, + "column": 21 + }, + "end": { + "line": 1551, + "column": 37 + } + } + }, + "range": [ + 43600, + 43625 + ], + "loc": { + "start": { + "line": 1551, + "column": 12 + }, + "end": { + "line": 1551, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 43596, + 43626 + ], + "loc": { + "start": { + "line": 1551, + "column": 8 + }, + "end": { + "line": 1551, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** container div **", + "range": [ + 43564, + 43587 + ], + "loc": { + "start": { + "line": 1550, + "column": 8 + }, + "end": { + "line": 1550, + "column": 31 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43635, + 43641 + ], + "loc": { + "start": { + "line": 1552, + "column": 8 + }, + "end": { + "line": 1552, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 43642, + 43651 + ], + "loc": { + "start": { + "line": 1552, + "column": 15 + }, + "end": { + "line": 1552, + "column": 24 + } + } + }, + "range": [ + 43635, + 43651 + ], + "loc": { + "start": { + "line": 1552, + "column": 8 + }, + "end": { + "line": 1552, + "column": 24 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43654, + 43658 + ], + "loc": { + "start": { + "line": 1552, + "column": 27 + }, + "end": { + "line": 1552, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDivCssClass", + "range": [ + 43659, + 43673 + ], + "loc": { + "start": { + "line": 1552, + "column": 32 + }, + "end": { + "line": 1552, + "column": 46 + } + } + }, + "range": [ + 43654, + 43673 + ], + "loc": { + "start": { + "line": 1552, + "column": 27 + }, + "end": { + "line": 1552, + "column": 46 + } + } + }, + "range": [ + 43635, + 43673 + ], + "loc": { + "start": { + "line": 1552, + "column": 8 + }, + "end": { + "line": 1552, + "column": 46 + } + } + }, + "range": [ + 43635, + 43674 + ], + "loc": { + "start": { + "line": 1552, + "column": 8 + }, + "end": { + "line": 1552, + "column": 47 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "custom container", + "range": [ + 43684, + 43702 + ], + "loc": { + "start": { + "line": 1554, + "column": 8 + }, + "end": { + "line": 1554, + "column": 26 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43715, + 43719 + ], + "loc": { + "start": { + "line": 1555, + "column": 12 + }, + "end": { + "line": 1555, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toolBarTgtId", + "range": [ + 43720, + 43732 + ], + "loc": { + "start": { + "line": 1555, + "column": 17 + }, + "end": { + "line": 1555, + "column": 29 + } + } + }, + "range": [ + 43715, + 43732 + ], + "loc": { + "start": { + "line": 1555, + "column": 12 + }, + "end": { + "line": 1555, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 43748, + 43751 + ], + "loc": { + "start": { + "line": 1556, + "column": 12 + }, + "end": { + "line": 1556, + "column": 15 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43752, + 43756 + ], + "loc": { + "start": { + "line": 1556, + "column": 16 + }, + "end": { + "line": 1556, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "toolBarTgtId", + "range": [ + 43757, + 43769 + ], + "loc": { + "start": { + "line": 1556, + "column": 21 + }, + "end": { + "line": 1556, + "column": 33 + } + } + }, + "range": [ + 43752, + 43769 + ], + "loc": { + "start": { + "line": 1556, + "column": 16 + }, + "end": { + "line": 1556, + "column": 33 + } + } + } + ], + "range": [ + 43748, + 43770 + ], + "loc": { + "start": { + "line": 1556, + "column": 12 + }, + "end": { + "line": 1556, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 43771, + 43782 + ], + "loc": { + "start": { + "line": 1556, + "column": 35 + }, + "end": { + "line": 1556, + "column": 46 + } + } + }, + "range": [ + 43748, + 43782 + ], + "loc": { + "start": { + "line": 1556, + "column": 12 + }, + "end": { + "line": 1556, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43783, + 43789 + ], + "loc": { + "start": { + "line": 1556, + "column": 47 + }, + "end": { + "line": 1556, + "column": 53 + } + } + } + ], + "range": [ + 43748, + 43790 + ], + "loc": { + "start": { + "line": 1556, + "column": 12 + }, + "end": { + "line": 1556, + "column": 54 + } + } + }, + "range": [ + 43748, + 43791 + ], + "loc": { + "start": { + "line": 1556, + "column": 12 + }, + "end": { + "line": 1556, + "column": 55 + } + } + } + ], + "range": [ + 43734, + 43801 + ], + "loc": { + "start": { + "line": 1555, + "column": 31 + }, + "end": { + "line": 1557, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "grid-layout", + "range": [ + 43810, + 43823 + ], + "loc": { + "start": { + "line": 1558, + "column": 8 + }, + "end": { + "line": 1558, + "column": 21 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43841, + 43845 + ], + "loc": { + "start": { + "line": 1559, + "column": 17 + }, + "end": { + "line": 1559, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 43846, + 43856 + ], + "loc": { + "start": { + "line": 1559, + "column": 22 + }, + "end": { + "line": 1559, + "column": 32 + } + } + }, + "range": [ + 43841, + 43856 + ], + "loc": { + "start": { + "line": 1559, + "column": 17 + }, + "end": { + "line": 1559, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 43876, + 43886 + ], + "loc": { + "start": { + "line": 1560, + "column": 16 + }, + "end": { + "line": 1560, + "column": 26 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 43889, + 43893 + ], + "loc": { + "start": { + "line": 1560, + "column": 29 + }, + "end": { + "line": 1560, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 43894, + 43897 + ], + "loc": { + "start": { + "line": 1560, + "column": 34 + }, + "end": { + "line": 1560, + "column": 37 + } + } + }, + "range": [ + 43889, + 43897 + ], + "loc": { + "start": { + "line": 1560, + "column": 29 + }, + "end": { + "line": 1560, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 43898, + 43908 + ], + "loc": { + "start": { + "line": 1560, + "column": 38 + }, + "end": { + "line": 1560, + "column": 48 + } + } + }, + "range": [ + 43889, + 43908 + ], + "loc": { + "start": { + "line": 1560, + "column": 29 + }, + "end": { + "line": 1560, + "column": 48 + } + } + }, + "range": [ + 43876, + 43908 + ], + "loc": { + "start": { + "line": 1560, + "column": 16 + }, + "end": { + "line": 1560, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 43872, + 43909 + ], + "loc": { + "start": { + "line": 1560, + "column": 12 + }, + "end": { + "line": 1560, + "column": 49 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 43922, + 43932 + ], + "loc": { + "start": { + "line": 1561, + "column": 12 + }, + "end": { + "line": 1561, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "tblMainCont", + "range": [ + 43933, + 43944 + ], + "loc": { + "start": { + "line": 1561, + "column": 23 + }, + "end": { + "line": 1561, + "column": 34 + } + } + }, + "range": [ + 43922, + 43944 + ], + "loc": { + "start": { + "line": 1561, + "column": 12 + }, + "end": { + "line": 1561, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 43945, + 43956 + ], + "loc": { + "start": { + "line": 1561, + "column": 35 + }, + "end": { + "line": 1561, + "column": 46 + } + } + }, + "range": [ + 43922, + 43956 + ], + "loc": { + "start": { + "line": 1561, + "column": 12 + }, + "end": { + "line": 1561, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43957, + 43963 + ], + "loc": { + "start": { + "line": 1561, + "column": 47 + }, + "end": { + "line": 1561, + "column": 53 + } + } + } + ], + "range": [ + 43922, + 43964 + ], + "loc": { + "start": { + "line": 1561, + "column": 12 + }, + "end": { + "line": 1561, + "column": 54 + } + } + }, + "range": [ + 43922, + 43965 + ], + "loc": { + "start": { + "line": 1561, + "column": 12 + }, + "end": { + "line": 1561, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 43978, + 43984 + ], + "loc": { + "start": { + "line": 1562, + "column": 12 + }, + "end": { + "line": 1562, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 43985, + 43994 + ], + "loc": { + "start": { + "line": 1562, + "column": 19 + }, + "end": { + "line": 1562, + "column": 28 + } + } + }, + "range": [ + 43978, + 43994 + ], + "loc": { + "start": { + "line": 1562, + "column": 12 + }, + "end": { + "line": 1562, + "column": 28 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 43997, + 44007 + ], + "loc": { + "start": { + "line": 1562, + "column": 31 + }, + "end": { + "line": 1562, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDivCssClass", + "range": [ + 44008, + 44022 + ], + "loc": { + "start": { + "line": 1562, + "column": 42 + }, + "end": { + "line": 1562, + "column": 56 + } + } + }, + "range": [ + 43997, + 44022 + ], + "loc": { + "start": { + "line": 1562, + "column": 31 + }, + "end": { + "line": 1562, + "column": 56 + } + } + }, + "range": [ + 43978, + 44022 + ], + "loc": { + "start": { + "line": 1562, + "column": 12 + }, + "end": { + "line": 1562, + "column": 56 + } + } + }, + "range": [ + 43978, + 44023 + ], + "loc": { + "start": { + "line": 1562, + "column": 12 + }, + "end": { + "line": 1562, + "column": 57 + } + } + } + ], + "range": [ + 43858, + 44033 + ], + "loc": { + "start": { + "line": 1559, + "column": 34 + }, + "end": { + "line": 1563, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "default location: just above the table", + "range": [ + 44042, + 44082 + ], + "loc": { + "start": { + "line": 1564, + "column": 8 + }, + "end": { + "line": 1564, + "column": 48 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cont", + "range": [ + 44114, + 44118 + ], + "loc": { + "start": { + "line": 1566, + "column": 16 + }, + "end": { + "line": 1566, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44121, + 44130 + ], + "loc": { + "start": { + "line": 1566, + "column": 23 + }, + "end": { + "line": 1566, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "caption", + "raw": "'caption'", + "range": [ + 44131, + 44140 + ], + "loc": { + "start": { + "line": 1566, + "column": 33 + }, + "end": { + "line": 1566, + "column": 42 + } + } + } + ], + "range": [ + 44121, + 44141 + ], + "loc": { + "start": { + "line": 1566, + "column": 23 + }, + "end": { + "line": 1566, + "column": 43 + } + } + }, + "range": [ + 44114, + 44141 + ], + "loc": { + "start": { + "line": 1566, + "column": 16 + }, + "end": { + "line": 1566, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 44110, + 44142 + ], + "loc": { + "start": { + "line": 1566, + "column": 12 + }, + "end": { + "line": 1566, + "column": 44 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cont", + "range": [ + 44155, + 44159 + ], + "loc": { + "start": { + "line": 1567, + "column": 12 + }, + "end": { + "line": 1567, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 44160, + 44171 + ], + "loc": { + "start": { + "line": 1567, + "column": 17 + }, + "end": { + "line": 1567, + "column": 28 + } + } + }, + "range": [ + 44155, + 44171 + ], + "loc": { + "start": { + "line": 1567, + "column": 12 + }, + "end": { + "line": 1567, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44172, + 44178 + ], + "loc": { + "start": { + "line": 1567, + "column": 29 + }, + "end": { + "line": 1567, + "column": 35 + } + } + } + ], + "range": [ + 44155, + 44179 + ], + "loc": { + "start": { + "line": 1567, + "column": 12 + }, + "end": { + "line": 1567, + "column": 36 + } + } + }, + "range": [ + 44155, + 44180 + ], + "loc": { + "start": { + "line": 1567, + "column": 12 + }, + "end": { + "line": 1567, + "column": 37 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44193, + 44197 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 44198, + 44201 + ], + "loc": { + "start": { + "line": 1568, + "column": 17 + }, + "end": { + "line": 1568, + "column": 20 + } + } + }, + "range": [ + 44193, + 44201 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 20 + } + } + }, + "arguments": [], + "range": [ + 44193, + 44203 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 44204, + 44216 + ], + "loc": { + "start": { + "line": 1568, + "column": 23 + }, + "end": { + "line": 1568, + "column": 35 + } + } + }, + "range": [ + 44193, + 44216 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cont", + "range": [ + 44217, + 44221 + ], + "loc": { + "start": { + "line": 1568, + "column": 36 + }, + "end": { + "line": 1568, + "column": 40 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44223, + 44227 + ], + "loc": { + "start": { + "line": 1568, + "column": 42 + }, + "end": { + "line": 1568, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 44228, + 44231 + ], + "loc": { + "start": { + "line": 1568, + "column": 47 + }, + "end": { + "line": 1568, + "column": 50 + } + } + }, + "range": [ + 44223, + 44231 + ], + "loc": { + "start": { + "line": 1568, + "column": 42 + }, + "end": { + "line": 1568, + "column": 50 + } + } + }, + "arguments": [], + "range": [ + 44223, + 44233 + ], + "loc": { + "start": { + "line": 1568, + "column": 42 + }, + "end": { + "line": 1568, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 44234, + 44244 + ], + "loc": { + "start": { + "line": 1568, + "column": 53 + }, + "end": { + "line": 1568, + "column": 63 + } + } + }, + "range": [ + 44223, + 44244 + ], + "loc": { + "start": { + "line": 1568, + "column": 42 + }, + "end": { + "line": 1568, + "column": 63 + } + } + } + ], + "range": [ + 44193, + 44245 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 64 + } + } + }, + "range": [ + 44193, + 44246 + ], + "loc": { + "start": { + "line": 1568, + "column": 12 + }, + "end": { + "line": 1568, + "column": 65 + } + } + } + ], + "range": [ + 44096, + 44256 + ], + "loc": { + "start": { + "line": 1565, + "column": 13 + }, + "end": { + "line": 1569, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "default location: just above the table", + "range": [ + 44042, + 44082 + ], + "loc": { + "start": { + "line": 1564, + "column": 8 + }, + "end": { + "line": 1564, + "column": 48 + } + } + } + ] + }, + "range": [ + 43837, + 44256 + ], + "loc": { + "start": { + "line": 1559, + "column": 13 + }, + "end": { + "line": 1569, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "grid-layout", + "range": [ + 43810, + 43823 + ], + "loc": { + "start": { + "line": 1558, + "column": 8 + }, + "end": { + "line": 1558, + "column": 21 + } + } + } + ] + }, + "range": [ + 43711, + 44256 + ], + "loc": { + "start": { + "line": 1555, + "column": 8 + }, + "end": { + "line": 1569, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "custom container", + "range": [ + 43684, + 43702 + ], + "loc": { + "start": { + "line": 1554, + "column": 8 + }, + "end": { + "line": 1554, + "column": 26 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44265, + 44269 + ], + "loc": { + "start": { + "line": 1570, + "column": 8 + }, + "end": { + "line": 1570, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44270, + 44276 + ], + "loc": { + "start": { + "line": 1570, + "column": 13 + }, + "end": { + "line": 1570, + "column": 19 + } + } + }, + "range": [ + 44265, + 44276 + ], + "loc": { + "start": { + "line": 1570, + "column": 8 + }, + "end": { + "line": 1570, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44279, + 44285 + ], + "loc": { + "start": { + "line": 1570, + "column": 22 + }, + "end": { + "line": 1570, + "column": 28 + } + } + }, + "range": [ + 44265, + 44285 + ], + "loc": { + "start": { + "line": 1570, + "column": 8 + }, + "end": { + "line": 1570, + "column": 28 + } + } + }, + "range": [ + 44265, + 44286 + ], + "loc": { + "start": { + "line": 1570, + "column": 8 + }, + "end": { + "line": 1570, + "column": 29 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** left div containing rows # displayer **", + "range": [ + 44296, + 44342 + ], + "loc": { + "start": { + "line": 1572, + "column": 8 + }, + "end": { + "line": 1572, + "column": 54 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 44355, + 44359 + ], + "loc": { + "start": { + "line": 1573, + "column": 12 + }, + "end": { + "line": 1573, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44362, + 44371 + ], + "loc": { + "start": { + "line": 1573, + "column": 19 + }, + "end": { + "line": 1573, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 44372, + 44377 + ], + "loc": { + "start": { + "line": 1573, + "column": 29 + }, + "end": { + "line": 1573, + "column": 34 + } + } + } + ], + "range": [ + 44362, + 44378 + ], + "loc": { + "start": { + "line": 1573, + "column": 19 + }, + "end": { + "line": 1573, + "column": 35 + } + } + }, + "range": [ + 44355, + 44378 + ], + "loc": { + "start": { + "line": 1573, + "column": 12 + }, + "end": { + "line": 1573, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 44351, + 44379 + ], + "loc": { + "start": { + "line": 1573, + "column": 8 + }, + "end": { + "line": 1573, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** left div containing rows # displayer **", + "range": [ + 44296, + 44342 + ], + "loc": { + "start": { + "line": 1572, + "column": 8 + }, + "end": { + "line": 1572, + "column": 54 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 44388, + 44392 + ], + "loc": { + "start": { + "line": 1574, + "column": 8 + }, + "end": { + "line": 1574, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 44393, + 44402 + ], + "loc": { + "start": { + "line": 1574, + "column": 13 + }, + "end": { + "line": 1574, + "column": 22 + } + } + }, + "range": [ + 44388, + 44402 + ], + "loc": { + "start": { + "line": 1574, + "column": 8 + }, + "end": { + "line": 1574, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44405, + 44409 + ], + "loc": { + "start": { + "line": 1574, + "column": 25 + }, + "end": { + "line": 1574, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDivCssClass", + "range": [ + 44410, + 44422 + ], + "loc": { + "start": { + "line": 1574, + "column": 30 + }, + "end": { + "line": 1574, + "column": 42 + } + } + }, + "range": [ + 44405, + 44422 + ], + "loc": { + "start": { + "line": 1574, + "column": 25 + }, + "end": { + "line": 1574, + "column": 42 + } + } + }, + "range": [ + 44388, + 44422 + ], + "loc": { + "start": { + "line": 1574, + "column": 8 + }, + "end": { + "line": 1574, + "column": 42 + } + } + }, + "range": [ + 44388, + 44423 + ], + "loc": { + "start": { + "line": 1574, + "column": 8 + }, + "end": { + "line": 1574, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44432, + 44438 + ], + "loc": { + "start": { + "line": 1575, + "column": 8 + }, + "end": { + "line": 1575, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 44439, + 44450 + ], + "loc": { + "start": { + "line": 1575, + "column": 15 + }, + "end": { + "line": 1575, + "column": 26 + } + } + }, + "range": [ + 44432, + 44450 + ], + "loc": { + "start": { + "line": 1575, + "column": 8 + }, + "end": { + "line": 1575, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "lDiv", + "range": [ + 44451, + 44455 + ], + "loc": { + "start": { + "line": 1575, + "column": 27 + }, + "end": { + "line": 1575, + "column": 31 + } + } + } + ], + "range": [ + 44432, + 44456 + ], + "loc": { + "start": { + "line": 1575, + "column": 8 + }, + "end": { + "line": 1575, + "column": 32 + } + } + }, + "range": [ + 44432, + 44457 + ], + "loc": { + "start": { + "line": 1575, + "column": 8 + }, + "end": { + "line": 1575, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44466, + 44470 + ], + "loc": { + "start": { + "line": 1576, + "column": 8 + }, + "end": { + "line": 1576, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 44471, + 44475 + ], + "loc": { + "start": { + "line": 1576, + "column": 13 + }, + "end": { + "line": 1576, + "column": 17 + } + } + }, + "range": [ + 44466, + 44475 + ], + "loc": { + "start": { + "line": 1576, + "column": 8 + }, + "end": { + "line": 1576, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "lDiv", + "range": [ + 44478, + 44482 + ], + "loc": { + "start": { + "line": 1576, + "column": 20 + }, + "end": { + "line": 1576, + "column": 24 + } + } + }, + "range": [ + 44466, + 44482 + ], + "loc": { + "start": { + "line": 1576, + "column": 8 + }, + "end": { + "line": 1576, + "column": 24 + } + } + }, + "range": [ + 44466, + 44483 + ], + "loc": { + "start": { + "line": 1576, + "column": 8 + }, + "end": { + "line": 1576, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** right div containing reset button\n + nb results per page select **", + "range": [ + 44493, + 44587 + ], + "loc": { + "start": { + "line": 1578, + "column": 8 + }, + "end": { + "line": 1579, + "column": 52 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 44600, + 44604 + ], + "loc": { + "start": { + "line": 1580, + "column": 12 + }, + "end": { + "line": 1580, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44607, + 44616 + ], + "loc": { + "start": { + "line": 1580, + "column": 19 + }, + "end": { + "line": 1580, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 44617, + 44622 + ], + "loc": { + "start": { + "line": 1580, + "column": 29 + }, + "end": { + "line": 1580, + "column": 34 + } + } + } + ], + "range": [ + 44607, + 44623 + ], + "loc": { + "start": { + "line": 1580, + "column": 19 + }, + "end": { + "line": 1580, + "column": 35 + } + } + }, + "range": [ + 44600, + 44623 + ], + "loc": { + "start": { + "line": 1580, + "column": 12 + }, + "end": { + "line": 1580, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 44596, + 44624 + ], + "loc": { + "start": { + "line": 1580, + "column": 8 + }, + "end": { + "line": 1580, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** right div containing reset button\n + nb results per page select **", + "range": [ + 44493, + 44587 + ], + "loc": { + "start": { + "line": 1578, + "column": 8 + }, + "end": { + "line": 1579, + "column": 52 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 44633, + 44637 + ], + "loc": { + "start": { + "line": 1581, + "column": 8 + }, + "end": { + "line": 1581, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 44638, + 44647 + ], + "loc": { + "start": { + "line": 1581, + "column": 13 + }, + "end": { + "line": 1581, + "column": 22 + } + } + }, + "range": [ + 44633, + 44647 + ], + "loc": { + "start": { + "line": 1581, + "column": 8 + }, + "end": { + "line": 1581, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44650, + 44654 + ], + "loc": { + "start": { + "line": 1581, + "column": 25 + }, + "end": { + "line": 1581, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDivCssClass", + "range": [ + 44655, + 44667 + ], + "loc": { + "start": { + "line": 1581, + "column": 30 + }, + "end": { + "line": 1581, + "column": 42 + } + } + }, + "range": [ + 44650, + 44667 + ], + "loc": { + "start": { + "line": 1581, + "column": 25 + }, + "end": { + "line": 1581, + "column": 42 + } + } + }, + "range": [ + 44633, + 44667 + ], + "loc": { + "start": { + "line": 1581, + "column": 8 + }, + "end": { + "line": 1581, + "column": 42 + } + } + }, + "range": [ + 44633, + 44668 + ], + "loc": { + "start": { + "line": 1581, + "column": 8 + }, + "end": { + "line": 1581, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44677, + 44683 + ], + "loc": { + "start": { + "line": 1582, + "column": 8 + }, + "end": { + "line": 1582, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 44684, + 44695 + ], + "loc": { + "start": { + "line": 1582, + "column": 15 + }, + "end": { + "line": 1582, + "column": 26 + } + } + }, + "range": [ + 44677, + 44695 + ], + "loc": { + "start": { + "line": 1582, + "column": 8 + }, + "end": { + "line": 1582, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rDiv", + "range": [ + 44696, + 44700 + ], + "loc": { + "start": { + "line": 1582, + "column": 27 + }, + "end": { + "line": 1582, + "column": 31 + } + } + } + ], + "range": [ + 44677, + 44701 + ], + "loc": { + "start": { + "line": 1582, + "column": 8 + }, + "end": { + "line": 1582, + "column": 32 + } + } + }, + "range": [ + 44677, + 44702 + ], + "loc": { + "start": { + "line": 1582, + "column": 8 + }, + "end": { + "line": 1582, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44711, + 44715 + ], + "loc": { + "start": { + "line": 1583, + "column": 8 + }, + "end": { + "line": 1583, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 44716, + 44720 + ], + "loc": { + "start": { + "line": 1583, + "column": 13 + }, + "end": { + "line": 1583, + "column": 17 + } + } + }, + "range": [ + 44711, + 44720 + ], + "loc": { + "start": { + "line": 1583, + "column": 8 + }, + "end": { + "line": 1583, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "rDiv", + "range": [ + 44723, + 44727 + ], + "loc": { + "start": { + "line": 1583, + "column": 20 + }, + "end": { + "line": 1583, + "column": 24 + } + } + }, + "range": [ + 44711, + 44727 + ], + "loc": { + "start": { + "line": 1583, + "column": 8 + }, + "end": { + "line": 1583, + "column": 24 + } + } + }, + "range": [ + 44711, + 44728 + ], + "loc": { + "start": { + "line": 1583, + "column": 8 + }, + "end": { + "line": 1583, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Block", + "value": "** mid div containing paging elements **", + "range": [ + 44738, + 44782 + ], + "loc": { + "start": { + "line": 1585, + "column": 8 + }, + "end": { + "line": 1585, + "column": 52 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 44795, + 44799 + ], + "loc": { + "start": { + "line": 1586, + "column": 12 + }, + "end": { + "line": 1586, + "column": 16 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 44802, + 44811 + ], + "loc": { + "start": { + "line": 1586, + "column": 19 + }, + "end": { + "line": 1586, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "div", + "raw": "'div'", + "range": [ + 44812, + 44817 + ], + "loc": { + "start": { + "line": 1586, + "column": 29 + }, + "end": { + "line": 1586, + "column": 34 + } + } + } + ], + "range": [ + 44802, + 44818 + ], + "loc": { + "start": { + "line": 1586, + "column": 19 + }, + "end": { + "line": 1586, + "column": 35 + } + } + }, + "range": [ + 44795, + 44818 + ], + "loc": { + "start": { + "line": 1586, + "column": 12 + }, + "end": { + "line": 1586, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 44791, + 44819 + ], + "loc": { + "start": { + "line": 1586, + "column": 8 + }, + "end": { + "line": 1586, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "** mid div containing paging elements **", + "range": [ + 44738, + 44782 + ], + "loc": { + "start": { + "line": 1585, + "column": 8 + }, + "end": { + "line": 1585, + "column": 52 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 44828, + 44832 + ], + "loc": { + "start": { + "line": 1587, + "column": 8 + }, + "end": { + "line": 1587, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "className", + "range": [ + 44833, + 44842 + ], + "loc": { + "start": { + "line": 1587, + "column": 13 + }, + "end": { + "line": 1587, + "column": 22 + } + } + }, + "range": [ + 44828, + 44842 + ], + "loc": { + "start": { + "line": 1587, + "column": 8 + }, + "end": { + "line": 1587, + "column": 22 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44845, + 44849 + ], + "loc": { + "start": { + "line": 1587, + "column": 25 + }, + "end": { + "line": 1587, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDivCssClass", + "range": [ + 44850, + 44862 + ], + "loc": { + "start": { + "line": 1587, + "column": 30 + }, + "end": { + "line": 1587, + "column": 42 + } + } + }, + "range": [ + 44845, + 44862 + ], + "loc": { + "start": { + "line": 1587, + "column": 25 + }, + "end": { + "line": 1587, + "column": 42 + } + } + }, + "range": [ + 44828, + 44862 + ], + "loc": { + "start": { + "line": 1587, + "column": 8 + }, + "end": { + "line": 1587, + "column": 42 + } + } + }, + "range": [ + 44828, + 44863 + ], + "loc": { + "start": { + "line": 1587, + "column": 8 + }, + "end": { + "line": 1587, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 44872, + 44878 + ], + "loc": { + "start": { + "line": 1588, + "column": 8 + }, + "end": { + "line": 1588, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 44879, + 44890 + ], + "loc": { + "start": { + "line": 1588, + "column": 15 + }, + "end": { + "line": 1588, + "column": 26 + } + } + }, + "range": [ + 44872, + 44890 + ], + "loc": { + "start": { + "line": 1588, + "column": 8 + }, + "end": { + "line": 1588, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "mDiv", + "range": [ + 44891, + 44895 + ], + "loc": { + "start": { + "line": 1588, + "column": 27 + }, + "end": { + "line": 1588, + "column": 31 + } + } + } + ], + "range": [ + 44872, + 44896 + ], + "loc": { + "start": { + "line": 1588, + "column": 8 + }, + "end": { + "line": 1588, + "column": 32 + } + } + }, + "range": [ + 44872, + 44897 + ], + "loc": { + "start": { + "line": 1588, + "column": 8 + }, + "end": { + "line": 1588, + "column": 33 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44906, + 44910 + ], + "loc": { + "start": { + "line": 1589, + "column": 8 + }, + "end": { + "line": 1589, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 44911, + 44915 + ], + "loc": { + "start": { + "line": 1589, + "column": 13 + }, + "end": { + "line": 1589, + "column": 17 + } + } + }, + "range": [ + 44906, + 44915 + ], + "loc": { + "start": { + "line": 1589, + "column": 8 + }, + "end": { + "line": 1589, + "column": 17 + } + } + }, + "right": { + "type": "Identifier", + "name": "mDiv", + "range": [ + 44918, + 44922 + ], + "loc": { + "start": { + "line": 1589, + "column": 20 + }, + "end": { + "line": 1589, + "column": 24 + } + } + }, + "range": [ + 44906, + 44922 + ], + "loc": { + "start": { + "line": 1589, + "column": 8 + }, + "end": { + "line": 1589, + "column": 24 + } + } + }, + "range": [ + 44906, + 44923 + ], + "loc": { + "start": { + "line": 1589, + "column": 8 + }, + "end": { + "line": 1589, + "column": 25 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " emit help initialisation only if undefined", + "range": [ + 44933, + 44978 + ], + "loc": { + "start": { + "line": 1591, + "column": 8 + }, + "end": { + "line": 1591, + "column": 53 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 44991, + 44998 + ], + "loc": { + "start": { + "line": 1592, + "column": 12 + }, + "end": { + "line": 1592, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 44999, + 45003 + ], + "loc": { + "start": { + "line": 1592, + "column": 20 + }, + "end": { + "line": 1592, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "help", + "range": [ + 45004, + 45008 + ], + "loc": { + "start": { + "line": 1592, + "column": 25 + }, + "end": { + "line": 1592, + "column": 29 + } + } + }, + "range": [ + 44999, + 45008 + ], + "loc": { + "start": { + "line": 1592, + "column": 20 + }, + "end": { + "line": 1592, + "column": 29 + } + } + } + ], + "range": [ + 44991, + 45009 + ], + "loc": { + "start": { + "line": 1592, + "column": 12 + }, + "end": { + "line": 1592, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45142, + 45146 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 45147, + 45150 + ], + "loc": { + "start": { + "line": 1595, + "column": 17 + }, + "end": { + "line": 1595, + "column": 20 + } + } + }, + "range": [ + 45142, + 45150 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "help", + "range": [ + 45151, + 45155 + ], + "loc": { + "start": { + "line": 1595, + "column": 21 + }, + "end": { + "line": 1595, + "column": 25 + } + } + }, + "range": [ + 45142, + 45155 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "enable", + "range": [ + 45156, + 45162 + ], + "loc": { + "start": { + "line": 1595, + "column": 26 + }, + "end": { + "line": 1595, + "column": 32 + } + } + }, + "range": [ + 45142, + 45162 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 45142, + 45164 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 34 + } + } + }, + "range": [ + 45142, + 45165 + ], + "loc": { + "start": { + "line": 1595, + "column": 12 + }, + "end": { + "line": 1595, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " explicitily enable help to initialise feature by", + "range": [ + 45025, + 45076 + ], + "loc": { + "start": { + "line": 1593, + "column": 12 + }, + "end": { + "line": 1593, + "column": 63 + } + } + }, + { + "type": "Line", + "value": " default, only if setting is undefined", + "range": [ + 45089, + 45129 + ], + "loc": { + "start": { + "line": 1594, + "column": 12 + }, + "end": { + "line": 1594, + "column": 52 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45178, + 45182 + ], + "loc": { + "start": { + "line": 1596, + "column": 12 + }, + "end": { + "line": 1596, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 45183, + 45190 + ], + "loc": { + "start": { + "line": 1596, + "column": 17 + }, + "end": { + "line": 1596, + "column": 24 + } + } + }, + "range": [ + 45178, + 45190 + ], + "loc": { + "start": { + "line": 1596, + "column": 12 + }, + "end": { + "line": 1596, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 45191, + 45195 + ], + "loc": { + "start": { + "line": 1596, + "column": 25 + }, + "end": { + "line": 1596, + "column": 29 + } + } + }, + "range": [ + 45178, + 45195 + ], + "loc": { + "start": { + "line": 1596, + "column": 12 + }, + "end": { + "line": 1596, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "init-help", + "raw": "'init-help'", + "range": [ + 45196, + 45207 + ], + "loc": { + "start": { + "line": 1596, + "column": 30 + }, + "end": { + "line": 1596, + "column": 41 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 45209, + 45213 + ], + "loc": { + "start": { + "line": 1596, + "column": 43 + }, + "end": { + "line": 1596, + "column": 47 + } + } + } + ], + "range": [ + 45178, + 45214 + ], + "loc": { + "start": { + "line": 1596, + "column": 12 + }, + "end": { + "line": 1596, + "column": 48 + } + } + }, + "range": [ + 45178, + 45215 + ], + "loc": { + "start": { + "line": 1596, + "column": 12 + }, + "end": { + "line": 1596, + "column": 49 + } + } + } + ], + "range": [ + 45011, + 45225 + ], + "loc": { + "start": { + "line": 1592, + "column": 32 + }, + "end": { + "line": 1597, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 44987, + 45225 + ], + "loc": { + "start": { + "line": 1592, + "column": 8 + }, + "end": { + "line": 1597, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " emit help initialisation only if undefined", + "range": [ + 44933, + 44978 + ], + "loc": { + "start": { + "line": 1591, + "column": 8 + }, + "end": { + "line": 1591, + "column": 53 + } + } + } + ] + } + ], + "range": [ + 43496, + 45231 + ], + "loc": { + "start": { + "line": 1545, + "column": 17 + }, + "end": { + "line": 1598, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 43493, + 45231 + ], + "loc": { + "start": { + "line": 1545, + "column": 14 + }, + "end": { + "line": 1598, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 43483, + 45231 + ], + "loc": { + "start": { + "line": 1545, + "column": 4 + }, + "end": { + "line": 1598, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Generate container element for paging, reset button, rows counter etc.\n ", + "range": [ + 43389, + 43478 + ], + "loc": { + "start": { + "line": 1542, + "column": 4 + }, + "end": { + "line": 1544, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove toolbar container element\n ", + "range": [ + 45237, + 45288 + ], + "loc": { + "start": { + "line": 1600, + "column": 4 + }, + "end": { + "line": 1602, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "removeToolbar", + "range": [ + 45293, + 45306 + ], + "loc": { + "start": { + "line": 1603, + "column": 4 + }, + "end": { + "line": 1603, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45324, + 45328 + ], + "loc": { + "start": { + "line": 1604, + "column": 13 + }, + "end": { + "line": 1604, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 45329, + 45335 + ], + "loc": { + "start": { + "line": 1604, + "column": 18 + }, + "end": { + "line": 1604, + "column": 24 + } + } + }, + "range": [ + 45324, + 45335 + ], + "loc": { + "start": { + "line": 1604, + "column": 13 + }, + "end": { + "line": 1604, + "column": 24 + } + } + }, + "prefix": true, + "range": [ + 45323, + 45335 + ], + "loc": { + "start": { + "line": 1604, + "column": 12 + }, + "end": { + "line": 1604, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 45351, + 45358 + ], + "loc": { + "start": { + "line": 1605, + "column": 12 + }, + "end": { + "line": 1605, + "column": 19 + } + } + } + ], + "range": [ + 45337, + 45368 + ], + "loc": { + "start": { + "line": 1604, + "column": 26 + }, + "end": { + "line": 1606, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 45319, + 45368 + ], + "loc": { + "start": { + "line": 1604, + "column": 8 + }, + "end": { + "line": 1606, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 45377, + 45386 + ], + "loc": { + "start": { + "line": 1607, + "column": 8 + }, + "end": { + "line": 1607, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45387, + 45391 + ], + "loc": { + "start": { + "line": 1607, + "column": 18 + }, + "end": { + "line": 1607, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 45392, + 45398 + ], + "loc": { + "start": { + "line": 1607, + "column": 23 + }, + "end": { + "line": 1607, + "column": 29 + } + } + }, + "range": [ + 45387, + 45398 + ], + "loc": { + "start": { + "line": 1607, + "column": 18 + }, + "end": { + "line": 1607, + "column": 29 + } + } + } + ], + "range": [ + 45377, + 45399 + ], + "loc": { + "start": { + "line": 1607, + "column": 8 + }, + "end": { + "line": 1607, + "column": 30 + } + } + }, + "range": [ + 45377, + 45400 + ], + "loc": { + "start": { + "line": 1607, + "column": 8 + }, + "end": { + "line": 1607, + "column": 31 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45409, + 45413 + ], + "loc": { + "start": { + "line": 1608, + "column": 8 + }, + "end": { + "line": 1608, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "infDiv", + "range": [ + 45414, + 45420 + ], + "loc": { + "start": { + "line": 1608, + "column": 13 + }, + "end": { + "line": 1608, + "column": 19 + } + } + }, + "range": [ + 45409, + 45420 + ], + "loc": { + "start": { + "line": 1608, + "column": 8 + }, + "end": { + "line": 1608, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 45423, + 45427 + ], + "loc": { + "start": { + "line": 1608, + "column": 22 + }, + "end": { + "line": 1608, + "column": 26 + } + } + }, + "range": [ + 45409, + 45427 + ], + "loc": { + "start": { + "line": 1608, + "column": 8 + }, + "end": { + "line": 1608, + "column": 26 + } + } + }, + "range": [ + 45409, + 45428 + ], + "loc": { + "start": { + "line": 1608, + "column": 8 + }, + "end": { + "line": 1608, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tbl", + "range": [ + 45442, + 45445 + ], + "loc": { + "start": { + "line": 1610, + "column": 12 + }, + "end": { + "line": 1610, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45448, + 45452 + ], + "loc": { + "start": { + "line": 1610, + "column": 18 + }, + "end": { + "line": 1610, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 45453, + 45456 + ], + "loc": { + "start": { + "line": 1610, + "column": 23 + }, + "end": { + "line": 1610, + "column": 26 + } + } + }, + "range": [ + 45448, + 45456 + ], + "loc": { + "start": { + "line": 1610, + "column": 18 + }, + "end": { + "line": 1610, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 45448, + 45458 + ], + "loc": { + "start": { + "line": 1610, + "column": 18 + }, + "end": { + "line": 1610, + "column": 28 + } + } + }, + "range": [ + 45442, + 45458 + ], + "loc": { + "start": { + "line": 1610, + "column": 12 + }, + "end": { + "line": 1610, + "column": 28 + } + } + } + ], + "kind": "let", + "range": [ + 45438, + 45459 + ], + "loc": { + "start": { + "line": 1610, + "column": 8 + }, + "end": { + "line": 1610, + "column": 29 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "captions", + "range": [ + 45472, + 45480 + ], + "loc": { + "start": { + "line": 1611, + "column": 12 + }, + "end": { + "line": 1611, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 45483, + 45486 + ], + "loc": { + "start": { + "line": 1611, + "column": 23 + }, + "end": { + "line": 1611, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 45487, + 45490 + ], + "loc": { + "start": { + "line": 1611, + "column": 27 + }, + "end": { + "line": 1611, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": "caption", + "raw": "'caption'", + "range": [ + 45492, + 45501 + ], + "loc": { + "start": { + "line": 1611, + "column": 32 + }, + "end": { + "line": 1611, + "column": 41 + } + } + } + ], + "range": [ + 45483, + 45502 + ], + "loc": { + "start": { + "line": 1611, + "column": 23 + }, + "end": { + "line": 1611, + "column": 42 + } + } + }, + "range": [ + 45472, + 45502 + ], + "loc": { + "start": { + "line": 1611, + "column": 12 + }, + "end": { + "line": 1611, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 45468, + 45503 + ], + "loc": { + "start": { + "line": 1611, + "column": 8 + }, + "end": { + "line": 1611, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 45512, + 45514 + ], + "loc": { + "start": { + "line": 1612, + "column": 8 + }, + "end": { + "line": 1612, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "name": "forEach", + "range": [ + 45515, + 45522 + ], + "loc": { + "start": { + "line": 1612, + "column": 11 + }, + "end": { + "line": 1612, + "column": 18 + } + } + }, + "range": [ + 45512, + 45522 + ], + "loc": { + "start": { + "line": 1612, + "column": 8 + }, + "end": { + "line": 1612, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 45523, + 45527 + ], + "loc": { + "start": { + "line": 1612, + "column": 19 + }, + "end": { + "line": 1612, + "column": 23 + } + } + }, + "range": [ + 45512, + 45527 + ], + "loc": { + "start": { + "line": 1612, + "column": 8 + }, + "end": { + "line": 1612, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "captions", + "range": [ + 45528, + 45536 + ], + "loc": { + "start": { + "line": 1612, + "column": 24 + }, + "end": { + "line": 1612, + "column": 32 + } + } + }, + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "elm", + "range": [ + 45539, + 45542 + ], + "loc": { + "start": { + "line": 1612, + "column": 35 + }, + "end": { + "line": 1612, + "column": 38 + } + } + } + ], + "body": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "removeElm", + "range": [ + 45547, + 45556 + ], + "loc": { + "start": { + "line": 1612, + "column": 43 + }, + "end": { + "line": 1612, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "elm", + "range": [ + 45557, + 45560 + ], + "loc": { + "start": { + "line": 1612, + "column": 53 + }, + "end": { + "line": 1612, + "column": 56 + } + } + } + ], + "range": [ + 45547, + 45561 + ], + "loc": { + "start": { + "line": 1612, + "column": 43 + }, + "end": { + "line": 1612, + "column": 57 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 45538, + 45561 + ], + "loc": { + "start": { + "line": 1612, + "column": 34 + }, + "end": { + "line": 1612, + "column": 57 + } + } + } + ], + "range": [ + 45512, + 45562 + ], + "loc": { + "start": { + "line": 1612, + "column": 8 + }, + "end": { + "line": 1612, + "column": 58 + } + } + }, + "range": [ + 45512, + 45563 + ], + "loc": { + "start": { + "line": 1612, + "column": 8 + }, + "end": { + "line": 1612, + "column": 59 + } + } + } + ], + "range": [ + 45309, + 45569 + ], + "loc": { + "start": { + "line": 1603, + "column": 20 + }, + "end": { + "line": 1613, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 45306, + 45569 + ], + "loc": { + "start": { + "line": 1603, + "column": 17 + }, + "end": { + "line": 1613, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 45293, + 45569 + ], + "loc": { + "start": { + "line": 1603, + "column": 4 + }, + "end": { + "line": 1613, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove toolbar container element\n ", + "range": [ + 45237, + 45288 + ], + "loc": { + "start": { + "line": 1600, + "column": 4 + }, + "end": { + "line": 1602, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Remove all the external column filters\n ", + "range": [ + 45575, + 45632 + ], + "loc": { + "start": { + "line": 1615, + "column": 4 + }, + "end": { + "line": 1617, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "removeExternalFlts", + "range": [ + 45637, + 45655 + ], + "loc": { + "start": { + "line": 1618, + "column": 4 + }, + "end": { + "line": 1618, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45673, + 45677 + ], + "loc": { + "start": { + "line": 1619, + "column": 13 + }, + "end": { + "line": 1619, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 45678, + 45691 + ], + "loc": { + "start": { + "line": 1619, + "column": 18 + }, + "end": { + "line": 1619, + "column": 31 + } + } + }, + "range": [ + 45673, + 45691 + ], + "loc": { + "start": { + "line": 1619, + "column": 13 + }, + "end": { + "line": 1619, + "column": 31 + } + } + }, + "arguments": [], + "range": [ + 45673, + 45693 + ], + "loc": { + "start": { + "line": 1619, + "column": 13 + }, + "end": { + "line": 1619, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 45672, + 45693 + ], + "loc": { + "start": { + "line": 1619, + "column": 12 + }, + "end": { + "line": 1619, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 45709, + 45716 + ], + "loc": { + "start": { + "line": 1620, + "column": 12 + }, + "end": { + "line": 1620, + "column": 19 + } + } + } + ], + "range": [ + 45695, + 45726 + ], + "loc": { + "start": { + "line": 1619, + "column": 35 + }, + "end": { + "line": 1621, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 45668, + 45726 + ], + "loc": { + "start": { + "line": 1619, + "column": 8 + }, + "end": { + "line": 1621, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ids", + "range": [ + 45739, + 45742 + ], + "loc": { + "start": { + "line": 1622, + "column": 12 + }, + "end": { + "line": 1622, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 45745, + 45749 + ], + "loc": { + "start": { + "line": 1622, + "column": 18 + }, + "end": { + "line": 1622, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 45750, + 45767 + ], + "loc": { + "start": { + "line": 1622, + "column": 23 + }, + "end": { + "line": 1622, + "column": 40 + } + } + }, + "range": [ + 45745, + 45767 + ], + "loc": { + "start": { + "line": 1622, + "column": 18 + }, + "end": { + "line": 1622, + "column": 40 + } + } + }, + "range": [ + 45739, + 45767 + ], + "loc": { + "start": { + "line": 1622, + "column": 12 + }, + "end": { + "line": 1622, + "column": 40 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 45781, + 45784 + ], + "loc": { + "start": { + "line": 1623, + "column": 12 + }, + "end": { + "line": 1623, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "ids", + "range": [ + 45787, + 45790 + ], + "loc": { + "start": { + "line": 1623, + "column": 18 + }, + "end": { + "line": 1623, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 45791, + 45797 + ], + "loc": { + "start": { + "line": 1623, + "column": 22 + }, + "end": { + "line": 1623, + "column": 28 + } + } + }, + "range": [ + 45787, + 45797 + ], + "loc": { + "start": { + "line": 1623, + "column": 18 + }, + "end": { + "line": 1623, + "column": 28 + } + } + }, + "range": [ + 45781, + 45797 + ], + "loc": { + "start": { + "line": 1623, + "column": 12 + }, + "end": { + "line": 1623, + "column": 28 + } + } + } + ], + "kind": "let", + "range": [ + 45735, + 45798 + ], + "loc": { + "start": { + "line": 1622, + "column": 8 + }, + "end": { + "line": 1623, + "column": 29 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ct", + "range": [ + 45816, + 45818 + ], + "loc": { + "start": { + "line": 1624, + "column": 17 + }, + "end": { + "line": 1624, + "column": 19 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 45821, + 45822 + ], + "loc": { + "start": { + "line": 1624, + "column": 22 + }, + "end": { + "line": 1624, + "column": 23 + } + } + }, + "range": [ + 45816, + 45822 + ], + "loc": { + "start": { + "line": 1624, + "column": 17 + }, + "end": { + "line": 1624, + "column": 23 + } + } + } + ], + "kind": "let", + "range": [ + 45812, + 45822 + ], + "loc": { + "start": { + "line": 1624, + "column": 13 + }, + "end": { + "line": 1624, + "column": 23 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "ct", + "range": [ + 45824, + 45826 + ], + "loc": { + "start": { + "line": 1624, + "column": 25 + }, + "end": { + "line": 1624, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 45829, + 45832 + ], + "loc": { + "start": { + "line": 1624, + "column": 30 + }, + "end": { + "line": 1624, + "column": 33 + } + } + }, + "range": [ + 45824, + 45832 + ], + "loc": { + "start": { + "line": 1624, + "column": 25 + }, + "end": { + "line": 1624, + "column": 33 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "ct", + "range": [ + 45834, + 45836 + ], + "loc": { + "start": { + "line": 1624, + "column": 35 + }, + "end": { + "line": 1624, + "column": 37 + } + } + }, + "prefix": false, + "range": [ + 45834, + 45838 + ], + "loc": { + "start": { + "line": 1624, + "column": 35 + }, + "end": { + "line": 1624, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 45858, + 45874 + ], + "loc": { + "start": { + "line": 1625, + "column": 16 + }, + "end": { + "line": 1625, + "column": 32 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "ids", + "range": [ + 45877, + 45880 + ], + "loc": { + "start": { + "line": 1625, + "column": 35 + }, + "end": { + "line": 1625, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "ct", + "range": [ + 45881, + 45883 + ], + "loc": { + "start": { + "line": 1625, + "column": 39 + }, + "end": { + "line": 1625, + "column": 41 + } + } + }, + "range": [ + 45877, + 45884 + ], + "loc": { + "start": { + "line": 1625, + "column": 35 + }, + "end": { + "line": 1625, + "column": 42 + } + } + }, + "range": [ + 45858, + 45884 + ], + "loc": { + "start": { + "line": 1625, + "column": 16 + }, + "end": { + "line": 1625, + "column": 42 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "externalFlt", + "range": [ + 45902, + 45913 + ], + "loc": { + "start": { + "line": 1626, + "column": 16 + }, + "end": { + "line": 1626, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 45916, + 45919 + ], + "loc": { + "start": { + "line": 1626, + "column": 30 + }, + "end": { + "line": 1626, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "externalFltTgtId", + "range": [ + 45920, + 45936 + ], + "loc": { + "start": { + "line": 1626, + "column": 34 + }, + "end": { + "line": 1626, + "column": 50 + } + } + } + ], + "range": [ + 45916, + 45937 + ], + "loc": { + "start": { + "line": 1626, + "column": 30 + }, + "end": { + "line": 1626, + "column": 51 + } + } + }, + "range": [ + 45902, + 45937 + ], + "loc": { + "start": { + "line": 1626, + "column": 16 + }, + "end": { + "line": 1626, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 45854, + 45938 + ], + "loc": { + "start": { + "line": 1625, + "column": 12 + }, + "end": { + "line": 1626, + "column": 52 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "externalFlt", + "range": [ + 45955, + 45966 + ], + "loc": { + "start": { + "line": 1627, + "column": 16 + }, + "end": { + "line": 1627, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "externalFlt", + "range": [ + 45986, + 45997 + ], + "loc": { + "start": { + "line": 1628, + "column": 16 + }, + "end": { + "line": 1628, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 45998, + 46007 + ], + "loc": { + "start": { + "line": 1628, + "column": 28 + }, + "end": { + "line": 1628, + "column": 37 + } + } + }, + "range": [ + 45986, + 46007 + ], + "loc": { + "start": { + "line": 1628, + "column": 16 + }, + "end": { + "line": 1628, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 46010, + 46012 + ], + "loc": { + "start": { + "line": 1628, + "column": 40 + }, + "end": { + "line": 1628, + "column": 42 + } + } + }, + "range": [ + 45986, + 46012 + ], + "loc": { + "start": { + "line": 1628, + "column": 16 + }, + "end": { + "line": 1628, + "column": 42 + } + } + }, + "range": [ + 45986, + 46013 + ], + "loc": { + "start": { + "line": 1628, + "column": 16 + }, + "end": { + "line": 1628, + "column": 43 + } + } + } + ], + "range": [ + 45968, + 46027 + ], + "loc": { + "start": { + "line": 1627, + "column": 29 + }, + "end": { + "line": 1629, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 45951, + 46027 + ], + "loc": { + "start": { + "line": 1627, + "column": 12 + }, + "end": { + "line": 1629, + "column": 13 + } + } + } + ], + "range": [ + 45840, + 46037 + ], + "loc": { + "start": { + "line": 1624, + "column": 41 + }, + "end": { + "line": 1630, + "column": 9 + } + } + }, + "range": [ + 45807, + 46037 + ], + "loc": { + "start": { + "line": 1624, + "column": 8 + }, + "end": { + "line": 1630, + "column": 9 + } + } + } + ], + "range": [ + 45658, + 46043 + ], + "loc": { + "start": { + "line": 1618, + "column": 25 + }, + "end": { + "line": 1631, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 45655, + 46043 + ], + "loc": { + "start": { + "line": 1618, + "column": 22 + }, + "end": { + "line": 1631, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 45637, + 46043 + ], + "loc": { + "start": { + "line": 1618, + "column": 4 + }, + "end": { + "line": 1631, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Remove all the external column filters\n ", + "range": [ + 45575, + 45632 + ], + "loc": { + "start": { + "line": 1615, + "column": 4 + }, + "end": { + "line": 1617, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n ", + "range": [ + 46049, + 46203 + ], + "loc": { + "start": { + "line": 1633, + "column": 4 + }, + "end": { + "line": 1637, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isCustomOptions", + "range": [ + 46208, + 46223 + ], + "loc": { + "start": { + "line": 1638, + "column": 4 + }, + "end": { + "line": 1638, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46224, + 46232 + ], + "loc": { + "start": { + "line": 1638, + "column": 20 + }, + "end": { + "line": 1638, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 46251, + 46255 + ], + "loc": { + "start": { + "line": 1639, + "column": 15 + }, + "end": { + "line": 1639, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasCustomOptions", + "range": [ + 46256, + 46272 + ], + "loc": { + "start": { + "line": 1639, + "column": 20 + }, + "end": { + "line": 1639, + "column": 36 + } + } + }, + "range": [ + 46251, + 46272 + ], + "loc": { + "start": { + "line": 1639, + "column": 15 + }, + "end": { + "line": 1639, + "column": 36 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 46288, + 46292 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46293, + 46306 + ], + "loc": { + "start": { + "line": 1640, + "column": 17 + }, + "end": { + "line": 1640, + "column": 30 + } + } + }, + "range": [ + 46288, + 46306 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "cols", + "range": [ + 46307, + 46311 + ], + "loc": { + "start": { + "line": 1640, + "column": 31 + }, + "end": { + "line": 1640, + "column": 35 + } + } + }, + "range": [ + 46288, + 46311 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 46312, + 46319 + ], + "loc": { + "start": { + "line": 1640, + "column": 36 + }, + "end": { + "line": 1640, + "column": 43 + } + } + }, + "range": [ + 46288, + 46319 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46320, + 46328 + ], + "loc": { + "start": { + "line": 1640, + "column": 44 + }, + "end": { + "line": 1640, + "column": 52 + } + } + } + ], + "range": [ + 46288, + 46329 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 53 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 46335, + 46336 + ], + "loc": { + "start": { + "line": 1640, + "column": 59 + }, + "end": { + "line": 1640, + "column": 60 + } + } + }, + "prefix": true, + "range": [ + 46334, + 46336 + ], + "loc": { + "start": { + "line": 1640, + "column": 58 + }, + "end": { + "line": 1640, + "column": 60 + } + } + }, + "range": [ + 46288, + 46336 + ], + "loc": { + "start": { + "line": 1640, + "column": 12 + }, + "end": { + "line": 1640, + "column": 60 + } + } + }, + "range": [ + 46251, + 46336 + ], + "loc": { + "start": { + "line": 1639, + "column": 15 + }, + "end": { + "line": 1640, + "column": 60 + } + } + }, + "range": [ + 46244, + 46337 + ], + "loc": { + "start": { + "line": 1639, + "column": 8 + }, + "end": { + "line": 1640, + "column": 61 + } + } + } + ], + "range": [ + 46234, + 46343 + ], + "loc": { + "start": { + "line": 1638, + "column": 30 + }, + "end": { + "line": 1641, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 46223, + 46343 + ], + "loc": { + "start": { + "line": 1638, + "column": 19 + }, + "end": { + "line": 1641, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 46208, + 46343 + ], + "loc": { + "start": { + "line": 1638, + "column": 4 + }, + "end": { + "line": 1641, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n ", + "range": [ + 46049, + 46203 + ], + "loc": { + "start": { + "line": 1633, + "column": 4 + }, + "end": { + "line": 1637, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 46349, + 46545 + ], + "loc": { + "start": { + "line": 1643, + "column": 4 + }, + "end": { + "line": 1648, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getCustomOptions", + "range": [ + 46550, + 46566 + ], + "loc": { + "start": { + "line": 1649, + "column": 4 + }, + "end": { + "line": 1649, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46567, + 46575 + ], + "loc": { + "start": { + "line": 1649, + "column": 21 + }, + "end": { + "line": 1649, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 46591, + 46598 + ], + "loc": { + "start": { + "line": 1650, + "column": 12 + }, + "end": { + "line": 1650, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46599, + 46607 + ], + "loc": { + "start": { + "line": 1650, + "column": 20 + }, + "end": { + "line": 1650, + "column": 28 + } + } + } + ], + "range": [ + 46591, + 46608 + ], + "loc": { + "start": { + "line": 1650, + "column": 12 + }, + "end": { + "line": 1650, + "column": 29 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 46613, + 46617 + ], + "loc": { + "start": { + "line": 1650, + "column": 34 + }, + "end": { + "line": 1650, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isCustomOptions", + "range": [ + 46618, + 46633 + ], + "loc": { + "start": { + "line": 1650, + "column": 39 + }, + "end": { + "line": 1650, + "column": 54 + } + } + }, + "range": [ + 46613, + 46633 + ], + "loc": { + "start": { + "line": 1650, + "column": 34 + }, + "end": { + "line": 1650, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46634, + 46642 + ], + "loc": { + "start": { + "line": 1650, + "column": 55 + }, + "end": { + "line": 1650, + "column": 63 + } + } + } + ], + "range": [ + 46613, + 46643 + ], + "loc": { + "start": { + "line": 1650, + "column": 34 + }, + "end": { + "line": 1650, + "column": 64 + } + } + }, + "prefix": true, + "range": [ + 46612, + 46643 + ], + "loc": { + "start": { + "line": 1650, + "column": 33 + }, + "end": { + "line": 1650, + "column": 64 + } + } + }, + "range": [ + 46591, + 46643 + ], + "loc": { + "start": { + "line": 1650, + "column": 12 + }, + "end": { + "line": 1650, + "column": 64 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 46659, + 46666 + ], + "loc": { + "start": { + "line": 1651, + "column": 12 + }, + "end": { + "line": 1651, + "column": 19 + } + } + } + ], + "range": [ + 46645, + 46676 + ], + "loc": { + "start": { + "line": 1650, + "column": 66 + }, + "end": { + "line": 1652, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 46587, + 46676 + ], + "loc": { + "start": { + "line": 1650, + "column": 8 + }, + "end": { + "line": 1652, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46690, + 46703 + ], + "loc": { + "start": { + "line": 1654, + "column": 12 + }, + "end": { + "line": 1654, + "column": 25 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 46706, + 46710 + ], + "loc": { + "start": { + "line": 1654, + "column": 28 + }, + "end": { + "line": 1654, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46711, + 46724 + ], + "loc": { + "start": { + "line": 1654, + "column": 33 + }, + "end": { + "line": 1654, + "column": 46 + } + } + }, + "range": [ + 46706, + 46724 + ], + "loc": { + "start": { + "line": 1654, + "column": 28 + }, + "end": { + "line": 1654, + "column": 46 + } + } + }, + "range": [ + 46690, + 46724 + ], + "loc": { + "start": { + "line": 1654, + "column": 12 + }, + "end": { + "line": 1654, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 46686, + 46725 + ], + "loc": { + "start": { + "line": 1654, + "column": 8 + }, + "end": { + "line": 1654, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cols", + "range": [ + 46738, + 46742 + ], + "loc": { + "start": { + "line": 1655, + "column": 12 + }, + "end": { + "line": 1655, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46745, + 46758 + ], + "loc": { + "start": { + "line": 1655, + "column": 19 + }, + "end": { + "line": 1655, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "cols", + "range": [ + 46759, + 46763 + ], + "loc": { + "start": { + "line": 1655, + "column": 33 + }, + "end": { + "line": 1655, + "column": 37 + } + } + }, + "range": [ + 46745, + 46763 + ], + "loc": { + "start": { + "line": 1655, + "column": 19 + }, + "end": { + "line": 1655, + "column": 37 + } + } + }, + "range": [ + 46738, + 46763 + ], + "loc": { + "start": { + "line": 1655, + "column": 12 + }, + "end": { + "line": 1655, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 46734, + 46764 + ], + "loc": { + "start": { + "line": 1655, + "column": 8 + }, + "end": { + "line": 1655, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "optTxt", + "range": [ + 46777, + 46783 + ], + "loc": { + "start": { + "line": 1656, + "column": 12 + }, + "end": { + "line": 1656, + "column": 18 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 46786, + 46788 + ], + "loc": { + "start": { + "line": 1656, + "column": 21 + }, + "end": { + "line": 1656, + "column": 23 + } + } + }, + "range": [ + 46777, + 46788 + ], + "loc": { + "start": { + "line": 1656, + "column": 12 + }, + "end": { + "line": 1656, + "column": 23 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "optArray", + "range": [ + 46790, + 46798 + ], + "loc": { + "start": { + "line": 1656, + "column": 25 + }, + "end": { + "line": 1656, + "column": 33 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 46801, + 46803 + ], + "loc": { + "start": { + "line": 1656, + "column": 36 + }, + "end": { + "line": 1656, + "column": 38 + } + } + }, + "range": [ + 46790, + 46803 + ], + "loc": { + "start": { + "line": 1656, + "column": 25 + }, + "end": { + "line": 1656, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 46773, + 46804 + ], + "loc": { + "start": { + "line": 1656, + "column": 8 + }, + "end": { + "line": 1656, + "column": 39 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "index", + "range": [ + 46817, + 46822 + ], + "loc": { + "start": { + "line": 1657, + "column": 12 + }, + "end": { + "line": 1657, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cols", + "range": [ + 46825, + 46829 + ], + "loc": { + "start": { + "line": 1657, + "column": 20 + }, + "end": { + "line": 1657, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 46830, + 46837 + ], + "loc": { + "start": { + "line": 1657, + "column": 25 + }, + "end": { + "line": 1657, + "column": 32 + } + } + }, + "range": [ + 46825, + 46837 + ], + "loc": { + "start": { + "line": 1657, + "column": 20 + }, + "end": { + "line": 1657, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 46838, + 46846 + ], + "loc": { + "start": { + "line": 1657, + "column": 33 + }, + "end": { + "line": 1657, + "column": 41 + } + } + } + ], + "range": [ + 46825, + 46847 + ], + "loc": { + "start": { + "line": 1657, + "column": 20 + }, + "end": { + "line": 1657, + "column": 42 + } + } + }, + "range": [ + 46817, + 46847 + ], + "loc": { + "start": { + "line": 1657, + "column": 12 + }, + "end": { + "line": 1657, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 46813, + 46848 + ], + "loc": { + "start": { + "line": 1657, + "column": 8 + }, + "end": { + "line": 1657, + "column": 43 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcValues", + "range": [ + 46861, + 46870 + ], + "loc": { + "start": { + "line": 1658, + "column": 12 + }, + "end": { + "line": 1658, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46873, + 46886 + ], + "loc": { + "start": { + "line": 1658, + "column": 24 + }, + "end": { + "line": 1658, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "values", + "range": [ + 46887, + 46893 + ], + "loc": { + "start": { + "line": 1658, + "column": 38 + }, + "end": { + "line": 1658, + "column": 44 + } + } + }, + "range": [ + 46873, + 46893 + ], + "loc": { + "start": { + "line": 1658, + "column": 24 + }, + "end": { + "line": 1658, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 46894, + 46899 + ], + "loc": { + "start": { + "line": 1658, + "column": 45 + }, + "end": { + "line": 1658, + "column": 50 + } + } + }, + "range": [ + 46873, + 46900 + ], + "loc": { + "start": { + "line": 1658, + "column": 24 + }, + "end": { + "line": 1658, + "column": 51 + } + } + }, + "range": [ + 46861, + 46900 + ], + "loc": { + "start": { + "line": 1658, + "column": 12 + }, + "end": { + "line": 1658, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 46857, + 46901 + ], + "loc": { + "start": { + "line": 1658, + "column": 8 + }, + "end": { + "line": 1658, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcTexts", + "range": [ + 46914, + 46922 + ], + "loc": { + "start": { + "line": 1659, + "column": 12 + }, + "end": { + "line": 1659, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46925, + 46938 + ], + "loc": { + "start": { + "line": 1659, + "column": 23 + }, + "end": { + "line": 1659, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "texts", + "range": [ + 46939, + 46944 + ], + "loc": { + "start": { + "line": 1659, + "column": 37 + }, + "end": { + "line": 1659, + "column": 42 + } + } + }, + "range": [ + 46925, + 46944 + ], + "loc": { + "start": { + "line": 1659, + "column": 23 + }, + "end": { + "line": 1659, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 46945, + 46950 + ], + "loc": { + "start": { + "line": 1659, + "column": 43 + }, + "end": { + "line": 1659, + "column": 48 + } + } + }, + "range": [ + 46925, + 46951 + ], + "loc": { + "start": { + "line": 1659, + "column": 23 + }, + "end": { + "line": 1659, + "column": 49 + } + } + }, + "range": [ + 46914, + 46951 + ], + "loc": { + "start": { + "line": 1659, + "column": 12 + }, + "end": { + "line": 1659, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 46910, + 46952 + ], + "loc": { + "start": { + "line": 1659, + "column": 8 + }, + "end": { + "line": 1659, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcSort", + "range": [ + 46965, + 46972 + ], + "loc": { + "start": { + "line": 1660, + "column": 12 + }, + "end": { + "line": 1660, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "customOptions", + "range": [ + 46975, + 46988 + ], + "loc": { + "start": { + "line": 1660, + "column": 22 + }, + "end": { + "line": 1660, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "sorts", + "range": [ + 46989, + 46994 + ], + "loc": { + "start": { + "line": 1660, + "column": 36 + }, + "end": { + "line": 1660, + "column": 41 + } + } + }, + "range": [ + 46975, + 46994 + ], + "loc": { + "start": { + "line": 1660, + "column": 22 + }, + "end": { + "line": 1660, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 46995, + 47000 + ], + "loc": { + "start": { + "line": 1660, + "column": 42 + }, + "end": { + "line": 1660, + "column": 47 + } + } + }, + "range": [ + 46975, + 47001 + ], + "loc": { + "start": { + "line": 1660, + "column": 22 + }, + "end": { + "line": 1660, + "column": 48 + } + } + }, + "range": [ + 46965, + 47001 + ], + "loc": { + "start": { + "line": 1660, + "column": 12 + }, + "end": { + "line": 1660, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 46961, + 47002 + ], + "loc": { + "start": { + "line": 1660, + "column": 8 + }, + "end": { + "line": 1660, + "column": 49 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 47021, + 47022 + ], + "loc": { + "start": { + "line": 1662, + "column": 17 + }, + "end": { + "line": 1662, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 47025, + 47026 + ], + "loc": { + "start": { + "line": 1662, + "column": 21 + }, + "end": { + "line": 1662, + "column": 22 + } + } + }, + "range": [ + 47021, + 47026 + ], + "loc": { + "start": { + "line": 1662, + "column": 17 + }, + "end": { + "line": 1662, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 47028, + 47031 + ], + "loc": { + "start": { + "line": 1662, + "column": 24 + }, + "end": { + "line": 1662, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcValues", + "range": [ + 47034, + 47043 + ], + "loc": { + "start": { + "line": 1662, + "column": 30 + }, + "end": { + "line": 1662, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 47044, + 47050 + ], + "loc": { + "start": { + "line": 1662, + "column": 40 + }, + "end": { + "line": 1662, + "column": 46 + } + } + }, + "range": [ + 47034, + 47050 + ], + "loc": { + "start": { + "line": 1662, + "column": 30 + }, + "end": { + "line": 1662, + "column": 46 + } + } + }, + "range": [ + 47028, + 47050 + ], + "loc": { + "start": { + "line": 1662, + "column": 24 + }, + "end": { + "line": 1662, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 47017, + 47050 + ], + "loc": { + "start": { + "line": 1662, + "column": 13 + }, + "end": { + "line": 1662, + "column": 46 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "r", + "range": [ + 47052, + 47053 + ], + "loc": { + "start": { + "line": 1662, + "column": 48 + }, + "end": { + "line": 1662, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 47056, + 47059 + ], + "loc": { + "start": { + "line": 1662, + "column": 52 + }, + "end": { + "line": 1662, + "column": 55 + } + } + }, + "range": [ + 47052, + 47059 + ], + "loc": { + "start": { + "line": 1662, + "column": 48 + }, + "end": { + "line": 1662, + "column": 55 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "r", + "range": [ + 47061, + 47062 + ], + "loc": { + "start": { + "line": 1662, + "column": 57 + }, + "end": { + "line": 1662, + "column": 58 + } + } + }, + "prefix": false, + "range": [ + 47061, + 47064 + ], + "loc": { + "start": { + "line": 1662, + "column": 57 + }, + "end": { + "line": 1662, + "column": 60 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "optArray", + "range": [ + 47080, + 47088 + ], + "loc": { + "start": { + "line": 1663, + "column": 12 + }, + "end": { + "line": 1663, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 47089, + 47093 + ], + "loc": { + "start": { + "line": 1663, + "column": 21 + }, + "end": { + "line": 1663, + "column": 25 + } + } + }, + "range": [ + 47080, + 47093 + ], + "loc": { + "start": { + "line": 1663, + "column": 12 + }, + "end": { + "line": 1663, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcValues", + "range": [ + 47094, + 47103 + ], + "loc": { + "start": { + "line": 1663, + "column": 26 + }, + "end": { + "line": 1663, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 47104, + 47105 + ], + "loc": { + "start": { + "line": 1663, + "column": 36 + }, + "end": { + "line": 1663, + "column": 37 + } + } + }, + "range": [ + 47094, + 47106 + ], + "loc": { + "start": { + "line": 1663, + "column": 26 + }, + "end": { + "line": 1663, + "column": 38 + } + } + } + ], + "range": [ + 47080, + 47107 + ], + "loc": { + "start": { + "line": 1663, + "column": 12 + }, + "end": { + "line": 1663, + "column": 39 + } + } + }, + "range": [ + 47080, + 47108 + ], + "loc": { + "start": { + "line": 1663, + "column": 12 + }, + "end": { + "line": 1663, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcTexts", + "range": [ + 47125, + 47133 + ], + "loc": { + "start": { + "line": 1664, + "column": 16 + }, + "end": { + "line": 1664, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 47134, + 47135 + ], + "loc": { + "start": { + "line": 1664, + "column": 25 + }, + "end": { + "line": 1664, + "column": 26 + } + } + }, + "range": [ + 47125, + 47136 + ], + "loc": { + "start": { + "line": 1664, + "column": 16 + }, + "end": { + "line": 1664, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "optTxt", + "range": [ + 47156, + 47162 + ], + "loc": { + "start": { + "line": 1665, + "column": 16 + }, + "end": { + "line": 1665, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 47163, + 47167 + ], + "loc": { + "start": { + "line": 1665, + "column": 23 + }, + "end": { + "line": 1665, + "column": 27 + } + } + }, + "range": [ + 47156, + 47167 + ], + "loc": { + "start": { + "line": 1665, + "column": 16 + }, + "end": { + "line": 1665, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcTexts", + "range": [ + 47168, + 47176 + ], + "loc": { + "start": { + "line": 1665, + "column": 28 + }, + "end": { + "line": 1665, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 47177, + 47178 + ], + "loc": { + "start": { + "line": 1665, + "column": 37 + }, + "end": { + "line": 1665, + "column": 38 + } + } + }, + "range": [ + 47168, + 47179 + ], + "loc": { + "start": { + "line": 1665, + "column": 28 + }, + "end": { + "line": 1665, + "column": 39 + } + } + } + ], + "range": [ + 47156, + 47180 + ], + "loc": { + "start": { + "line": 1665, + "column": 16 + }, + "end": { + "line": 1665, + "column": 40 + } + } + }, + "range": [ + 47156, + 47181 + ], + "loc": { + "start": { + "line": 1665, + "column": 16 + }, + "end": { + "line": 1665, + "column": 41 + } + } + } + ], + "range": [ + 47138, + 47195 + ], + "loc": { + "start": { + "line": 1664, + "column": 29 + }, + "end": { + "line": 1666, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "optTxt", + "range": [ + 47219, + 47225 + ], + "loc": { + "start": { + "line": 1667, + "column": 16 + }, + "end": { + "line": 1667, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 47226, + 47230 + ], + "loc": { + "start": { + "line": 1667, + "column": 23 + }, + "end": { + "line": 1667, + "column": 27 + } + } + }, + "range": [ + 47219, + 47230 + ], + "loc": { + "start": { + "line": 1667, + "column": 16 + }, + "end": { + "line": 1667, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcValues", + "range": [ + 47231, + 47240 + ], + "loc": { + "start": { + "line": 1667, + "column": 28 + }, + "end": { + "line": 1667, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "r", + "range": [ + 47241, + 47242 + ], + "loc": { + "start": { + "line": 1667, + "column": 38 + }, + "end": { + "line": 1667, + "column": 39 + } + } + }, + "range": [ + 47231, + 47243 + ], + "loc": { + "start": { + "line": 1667, + "column": 28 + }, + "end": { + "line": 1667, + "column": 40 + } + } + } + ], + "range": [ + 47219, + 47244 + ], + "loc": { + "start": { + "line": 1667, + "column": 16 + }, + "end": { + "line": 1667, + "column": 41 + } + } + }, + "range": [ + 47219, + 47245 + ], + "loc": { + "start": { + "line": 1667, + "column": 16 + }, + "end": { + "line": 1667, + "column": 42 + } + } + } + ], + "range": [ + 47201, + 47259 + ], + "loc": { + "start": { + "line": 1666, + "column": 19 + }, + "end": { + "line": 1668, + "column": 13 + } + } + }, + "range": [ + 47121, + 47259 + ], + "loc": { + "start": { + "line": 1664, + "column": 12 + }, + "end": { + "line": 1668, + "column": 13 + } + } + } + ], + "range": [ + 47066, + 47269 + ], + "loc": { + "start": { + "line": 1662, + "column": 62 + }, + "end": { + "line": 1669, + "column": 9 + } + } + }, + "range": [ + 47012, + 47269 + ], + "loc": { + "start": { + "line": 1662, + "column": 8 + }, + "end": { + "line": 1669, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "slcSort", + "range": [ + 47282, + 47289 + ], + "loc": { + "start": { + "line": 1670, + "column": 12 + }, + "end": { + "line": 1670, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "optArray", + "range": [ + 47305, + 47313 + ], + "loc": { + "start": { + "line": 1671, + "column": 12 + }, + "end": { + "line": 1671, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 47314, + 47318 + ], + "loc": { + "start": { + "line": 1671, + "column": 21 + }, + "end": { + "line": 1671, + "column": 25 + } + } + }, + "range": [ + 47305, + 47318 + ], + "loc": { + "start": { + "line": 1671, + "column": 12 + }, + "end": { + "line": 1671, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 47305, + 47320 + ], + "loc": { + "start": { + "line": 1671, + "column": 12 + }, + "end": { + "line": 1671, + "column": 27 + } + } + }, + "range": [ + 47305, + 47321 + ], + "loc": { + "start": { + "line": 1671, + "column": 12 + }, + "end": { + "line": 1671, + "column": 28 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "optTxt", + "range": [ + 47334, + 47340 + ], + "loc": { + "start": { + "line": 1672, + "column": 12 + }, + "end": { + "line": 1672, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "sort", + "range": [ + 47341, + 47345 + ], + "loc": { + "start": { + "line": 1672, + "column": 19 + }, + "end": { + "line": 1672, + "column": 23 + } + } + }, + "range": [ + 47334, + 47345 + ], + "loc": { + "start": { + "line": 1672, + "column": 12 + }, + "end": { + "line": 1672, + "column": 23 + } + } + }, + "arguments": [], + "range": [ + 47334, + 47347 + ], + "loc": { + "start": { + "line": 1672, + "column": 12 + }, + "end": { + "line": 1672, + "column": 25 + } + } + }, + "range": [ + 47334, + 47348 + ], + "loc": { + "start": { + "line": 1672, + "column": 12 + }, + "end": { + "line": 1672, + "column": 26 + } + } + } + ], + "range": [ + 47291, + 47358 + ], + "loc": { + "start": { + "line": 1670, + "column": 21 + }, + "end": { + "line": 1673, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 47278, + 47358 + ], + "loc": { + "start": { + "line": 1670, + "column": 8 + }, + "end": { + "line": 1673, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "optArray", + "range": [ + 47375, + 47383 + ], + "loc": { + "start": { + "line": 1674, + "column": 16 + }, + "end": { + "line": 1674, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "optTxt", + "range": [ + 47385, + 47391 + ], + "loc": { + "start": { + "line": 1674, + "column": 26 + }, + "end": { + "line": 1674, + "column": 32 + } + } + } + ], + "range": [ + 47374, + 47392 + ], + "loc": { + "start": { + "line": 1674, + "column": 15 + }, + "end": { + "line": 1674, + "column": 33 + } + } + }, + "range": [ + 47367, + 47393 + ], + "loc": { + "start": { + "line": 1674, + "column": 8 + }, + "end": { + "line": 1674, + "column": 34 + } + } + } + ], + "range": [ + 46577, + 47399 + ], + "loc": { + "start": { + "line": 1649, + "column": 31 + }, + "end": { + "line": 1675, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 46566, + 47399 + ], + "loc": { + "start": { + "line": 1649, + "column": 20 + }, + "end": { + "line": 1675, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 46550, + 47399 + ], + "loc": { + "start": { + "line": 1649, + "column": 4 + }, + "end": { + "line": 1675, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 46349, + 46545 + ], + "loc": { + "start": { + "line": 1643, + "column": 4 + }, + "end": { + "line": 1648, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 47405, + 47642 + ], + "loc": { + "start": { + "line": 1677, + "column": 4 + }, + "end": { + "line": 1681, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "filter", + "range": [ + 47647, + 47653 + ], + "loc": { + "start": { + "line": 1682, + "column": 4 + }, + "end": { + "line": 1682, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47671, + 47675 + ], + "loc": { + "start": { + "line": 1683, + "column": 13 + }, + "end": { + "line": 1683, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 47676, + 47683 + ], + "loc": { + "start": { + "line": 1683, + "column": 18 + }, + "end": { + "line": 1683, + "column": 25 + } + } + }, + "range": [ + 47671, + 47683 + ], + "loc": { + "start": { + "line": 1683, + "column": 13 + }, + "end": { + "line": 1683, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 47670, + 47683 + ], + "loc": { + "start": { + "line": 1683, + "column": 12 + }, + "end": { + "line": 1683, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47688, + 47692 + ], + "loc": { + "start": { + "line": 1683, + "column": 30 + }, + "end": { + "line": 1683, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 47693, + 47704 + ], + "loc": { + "start": { + "line": 1683, + "column": 35 + }, + "end": { + "line": 1683, + "column": 46 + } + } + }, + "range": [ + 47688, + 47704 + ], + "loc": { + "start": { + "line": 1683, + "column": 30 + }, + "end": { + "line": 1683, + "column": 46 + } + } + }, + "prefix": true, + "range": [ + 47687, + 47704 + ], + "loc": { + "start": { + "line": 1683, + "column": 29 + }, + "end": { + "line": 1683, + "column": 46 + } + } + }, + "range": [ + 47670, + 47704 + ], + "loc": { + "start": { + "line": 1683, + "column": 12 + }, + "end": { + "line": 1683, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 47720, + 47727 + ], + "loc": { + "start": { + "line": 1684, + "column": 12 + }, + "end": { + "line": 1684, + "column": 19 + } + } + } + ], + "range": [ + 47706, + 47737 + ], + "loc": { + "start": { + "line": 1683, + "column": 48 + }, + "end": { + "line": 1685, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 47666, + 47737 + ], + "loc": { + "start": { + "line": 1683, + "column": 8 + }, + "end": { + "line": 1685, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "fire onbefore callback", + "range": [ + 47746, + 47770 + ], + "loc": { + "start": { + "line": 1686, + "column": 8 + }, + "end": { + "line": 1686, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47779, + 47783 + ], + "loc": { + "start": { + "line": 1687, + "column": 8 + }, + "end": { + "line": 1687, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeFilter", + "range": [ + 47784, + 47798 + ], + "loc": { + "start": { + "line": 1687, + "column": 13 + }, + "end": { + "line": 1687, + "column": 27 + } + } + }, + "range": [ + 47779, + 47798 + ], + "loc": { + "start": { + "line": 1687, + "column": 8 + }, + "end": { + "line": 1687, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 47799, + 47803 + ], + "loc": { + "start": { + "line": 1687, + "column": 28 + }, + "end": { + "line": 1687, + "column": 32 + } + } + } + ], + "range": [ + 47779, + 47804 + ], + "loc": { + "start": { + "line": 1687, + "column": 8 + }, + "end": { + "line": 1687, + "column": 33 + } + } + }, + "range": [ + 47779, + 47805 + ], + "loc": { + "start": { + "line": 1687, + "column": 8 + }, + "end": { + "line": 1687, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "fire onbefore callback", + "range": [ + 47746, + 47770 + ], + "loc": { + "start": { + "line": 1686, + "column": 8 + }, + "end": { + "line": 1686, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47814, + 47818 + ], + "loc": { + "start": { + "line": 1688, + "column": 8 + }, + "end": { + "line": 1688, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 47819, + 47826 + ], + "loc": { + "start": { + "line": 1688, + "column": 13 + }, + "end": { + "line": 1688, + "column": 20 + } + } + }, + "range": [ + 47814, + 47826 + ], + "loc": { + "start": { + "line": 1688, + "column": 8 + }, + "end": { + "line": 1688, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 47827, + 47831 + ], + "loc": { + "start": { + "line": 1688, + "column": 21 + }, + "end": { + "line": 1688, + "column": 25 + } + } + }, + "range": [ + 47814, + 47831 + ], + "loc": { + "start": { + "line": 1688, + "column": 8 + }, + "end": { + "line": 1688, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-filtering", + "raw": "'before-filtering'", + "range": [ + 47832, + 47850 + ], + "loc": { + "start": { + "line": 1688, + "column": 26 + }, + "end": { + "line": 1688, + "column": 44 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 47852, + 47856 + ], + "loc": { + "start": { + "line": 1688, + "column": 46 + }, + "end": { + "line": 1688, + "column": 50 + } + } + } + ], + "range": [ + 47814, + 47857 + ], + "loc": { + "start": { + "line": 1688, + "column": 8 + }, + "end": { + "line": 1688, + "column": 51 + } + } + }, + "range": [ + 47814, + 47858 + ], + "loc": { + "start": { + "line": 1688, + "column": 8 + }, + "end": { + "line": 1688, + "column": 52 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 47872, + 47875 + ], + "loc": { + "start": { + "line": 1690, + "column": 12 + }, + "end": { + "line": 1690, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47878, + 47882 + ], + "loc": { + "start": { + "line": 1690, + "column": 18 + }, + "end": { + "line": 1690, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 47883, + 47886 + ], + "loc": { + "start": { + "line": 1690, + "column": 23 + }, + "end": { + "line": 1690, + "column": 26 + } + } + }, + "range": [ + 47878, + 47886 + ], + "loc": { + "start": { + "line": 1690, + "column": 18 + }, + "end": { + "line": 1690, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 47878, + 47888 + ], + "loc": { + "start": { + "line": 1690, + "column": 18 + }, + "end": { + "line": 1690, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 47889, + 47893 + ], + "loc": { + "start": { + "line": 1690, + "column": 29 + }, + "end": { + "line": 1690, + "column": 33 + } + } + }, + "range": [ + 47878, + 47893 + ], + "loc": { + "start": { + "line": 1690, + "column": 18 + }, + "end": { + "line": 1690, + "column": 33 + } + } + }, + "range": [ + 47872, + 47893 + ], + "loc": { + "start": { + "line": 1690, + "column": 12 + }, + "end": { + "line": 1690, + "column": 33 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 47907, + 47913 + ], + "loc": { + "start": { + "line": 1691, + "column": 12 + }, + "end": { + "line": 1691, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47916, + 47920 + ], + "loc": { + "start": { + "line": 1691, + "column": 21 + }, + "end": { + "line": 1691, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 47921, + 47930 + ], + "loc": { + "start": { + "line": 1691, + "column": 26 + }, + "end": { + "line": 1691, + "column": 35 + } + } + }, + "range": [ + 47916, + 47930 + ], + "loc": { + "start": { + "line": 1691, + "column": 21 + }, + "end": { + "line": 1691, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 47931, + 47935 + ], + "loc": { + "start": { + "line": 1691, + "column": 36 + }, + "end": { + "line": 1691, + "column": 40 + } + } + } + ], + "range": [ + 47916, + 47936 + ], + "loc": { + "start": { + "line": 1691, + "column": 21 + }, + "end": { + "line": 1691, + "column": 41 + } + } + }, + "range": [ + 47907, + 47936 + ], + "loc": { + "start": { + "line": 1691, + "column": 12 + }, + "end": { + "line": 1691, + "column": 41 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hiddenRows", + "range": [ + 47950, + 47960 + ], + "loc": { + "start": { + "line": 1692, + "column": 12 + }, + "end": { + "line": 1692, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 47963, + 47964 + ], + "loc": { + "start": { + "line": 1692, + "column": 25 + }, + "end": { + "line": 1692, + "column": 26 + } + } + }, + "range": [ + 47950, + 47964 + ], + "loc": { + "start": { + "line": 1692, + "column": 12 + }, + "end": { + "line": 1692, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 47868, + 47965 + ], + "loc": { + "start": { + "line": 1690, + "column": 8 + }, + "end": { + "line": 1692, + "column": 27 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 47975, + 47979 + ], + "loc": { + "start": { + "line": 1694, + "column": 8 + }, + "end": { + "line": 1694, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 47980, + 47994 + ], + "loc": { + "start": { + "line": 1694, + "column": 13 + }, + "end": { + "line": 1694, + "column": 27 + } + } + }, + "range": [ + 47975, + 47994 + ], + "loc": { + "start": { + "line": 1694, + "column": 8 + }, + "end": { + "line": 1694, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 47997, + 47999 + ], + "loc": { + "start": { + "line": 1694, + "column": 30 + }, + "end": { + "line": 1694, + "column": 32 + } + } + }, + "range": [ + 47975, + 47999 + ], + "loc": { + "start": { + "line": 1694, + "column": 8 + }, + "end": { + "line": 1694, + "column": 32 + } + } + }, + "range": [ + 47975, + 48000 + ], + "loc": { + "start": { + "line": 1694, + "column": 8 + }, + "end": { + "line": 1694, + "column": 33 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " search args re-init", + "range": [ + 48009, + 48031 + ], + "loc": { + "start": { + "line": 1695, + "column": 8 + }, + "end": { + "line": 1695, + "column": 30 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 48044, + 48054 + ], + "loc": { + "start": { + "line": 1696, + "column": 12 + }, + "end": { + "line": 1696, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48057, + 48061 + ], + "loc": { + "start": { + "line": 1696, + "column": 25 + }, + "end": { + "line": 1696, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersValue", + "range": [ + 48062, + 48077 + ], + "loc": { + "start": { + "line": 1696, + "column": 30 + }, + "end": { + "line": 1696, + "column": 45 + } + } + }, + "range": [ + 48057, + 48077 + ], + "loc": { + "start": { + "line": 1696, + "column": 25 + }, + "end": { + "line": 1696, + "column": 45 + } + } + }, + "arguments": [], + "range": [ + 48057, + 48079 + ], + "loc": { + "start": { + "line": 1696, + "column": 25 + }, + "end": { + "line": 1696, + "column": 47 + } + } + }, + "range": [ + 48044, + 48079 + ], + "loc": { + "start": { + "line": 1696, + "column": 12 + }, + "end": { + "line": 1696, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 48040, + 48080 + ], + "loc": { + "start": { + "line": 1696, + "column": 8 + }, + "end": { + "line": 1696, + "column": 48 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " search args re-init", + "range": [ + 48009, + 48031 + ], + "loc": { + "start": { + "line": 1695, + "column": 8 + }, + "end": { + "line": 1695, + "column": 30 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 48099, + 48100 + ], + "loc": { + "start": { + "line": 1698, + "column": 17 + }, + "end": { + "line": 1698, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48103, + 48107 + ], + "loc": { + "start": { + "line": 1698, + "column": 21 + }, + "end": { + "line": 1698, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 48108, + 48114 + ], + "loc": { + "start": { + "line": 1698, + "column": 26 + }, + "end": { + "line": 1698, + "column": 32 + } + } + }, + "range": [ + 48103, + 48114 + ], + "loc": { + "start": { + "line": 1698, + "column": 21 + }, + "end": { + "line": 1698, + "column": 32 + } + } + }, + "range": [ + 48099, + 48114 + ], + "loc": { + "start": { + "line": 1698, + "column": 17 + }, + "end": { + "line": 1698, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 48095, + 48114 + ], + "loc": { + "start": { + "line": 1698, + "column": 13 + }, + "end": { + "line": 1698, + "column": 32 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 48116, + 48117 + ], + "loc": { + "start": { + "line": 1698, + "column": 34 + }, + "end": { + "line": 1698, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 48120, + 48126 + ], + "loc": { + "start": { + "line": 1698, + "column": 38 + }, + "end": { + "line": 1698, + "column": 44 + } + } + }, + "range": [ + 48116, + 48126 + ], + "loc": { + "start": { + "line": 1698, + "column": 34 + }, + "end": { + "line": 1698, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 48128, + 48129 + ], + "loc": { + "start": { + "line": 1698, + "column": 46 + }, + "end": { + "line": 1698, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 48128, + 48131 + ], + "loc": { + "start": { + "line": 1698, + "column": 46 + }, + "end": { + "line": 1698, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "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": "row", + "range": [ + 48200, + 48203 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 48204, + 48205 + ], + "loc": { + "start": { + "line": 1700, + "column": 16 + }, + "end": { + "line": 1700, + "column": 17 + } + } + }, + "range": [ + 48200, + 48206 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 48207, + 48212 + ], + "loc": { + "start": { + "line": 1700, + "column": 19 + }, + "end": { + "line": 1700, + "column": 24 + } + } + }, + "range": [ + 48200, + 48212 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 48213, + 48220 + ], + "loc": { + "start": { + "line": 1700, + "column": 25 + }, + "end": { + "line": 1700, + "column": 32 + } + } + }, + "range": [ + 48200, + 48220 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 48223, + 48225 + ], + "loc": { + "start": { + "line": 1700, + "column": 35 + }, + "end": { + "line": 1700, + "column": 37 + } + } + }, + "range": [ + 48200, + 48225 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 37 + } + } + }, + "range": [ + 48200, + 48226 + ], + "loc": { + "start": { + "line": 1700, + "column": 12 + }, + "end": { + "line": 1700, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " already filtered rows display re-init", + "range": [ + 48147, + 48187 + ], + "loc": { + "start": { + "line": 1699, + "column": 12 + }, + "end": { + "line": 1699, + "column": 52 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 48244, + 48249 + ], + "loc": { + "start": { + "line": 1702, + "column": 16 + }, + "end": { + "line": 1702, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 48252, + 48255 + ], + "loc": { + "start": { + "line": 1702, + "column": 24 + }, + "end": { + "line": 1702, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 48256, + 48257 + ], + "loc": { + "start": { + "line": 1702, + "column": 28 + }, + "end": { + "line": 1702, + "column": 29 + } + } + }, + "range": [ + 48252, + 48258 + ], + "loc": { + "start": { + "line": 1702, + "column": 24 + }, + "end": { + "line": 1702, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 48259, + 48264 + ], + "loc": { + "start": { + "line": 1702, + "column": 31 + }, + "end": { + "line": 1702, + "column": 36 + } + } + }, + "range": [ + 48252, + 48264 + ], + "loc": { + "start": { + "line": 1702, + "column": 24 + }, + "end": { + "line": 1702, + "column": 36 + } + } + }, + "range": [ + 48244, + 48264 + ], + "loc": { + "start": { + "line": 1702, + "column": 16 + }, + "end": { + "line": 1702, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 48240, + 48265 + ], + "loc": { + "start": { + "line": 1702, + "column": 12 + }, + "end": { + "line": 1702, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 48282, + 48289 + ], + "loc": { + "start": { + "line": 1703, + "column": 16 + }, + "end": { + "line": 1703, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 48292, + 48297 + ], + "loc": { + "start": { + "line": 1703, + "column": 26 + }, + "end": { + "line": 1703, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 48298, + 48304 + ], + "loc": { + "start": { + "line": 1703, + "column": 32 + }, + "end": { + "line": 1703, + "column": 38 + } + } + }, + "range": [ + 48292, + 48304 + ], + "loc": { + "start": { + "line": 1703, + "column": 26 + }, + "end": { + "line": 1703, + "column": 38 + } + } + }, + "range": [ + 48282, + 48304 + ], + "loc": { + "start": { + "line": 1703, + "column": 16 + }, + "end": { + "line": 1703, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 48278, + 48305 + ], + "loc": { + "start": { + "line": 1703, + "column": 12 + }, + "end": { + "line": 1703, + "column": 39 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 48319, + 48352 + ], + "loc": { + "start": { + "line": 1705, + "column": 12 + }, + "end": { + "line": 1705, + "column": 45 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 48369, + 48376 + ], + "loc": { + "start": { + "line": 1706, + "column": 16 + }, + "end": { + "line": 1706, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48381, + 48385 + ], + "loc": { + "start": { + "line": 1706, + "column": 28 + }, + "end": { + "line": 1706, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 48386, + 48393 + ], + "loc": { + "start": { + "line": 1706, + "column": 33 + }, + "end": { + "line": 1706, + "column": 40 + } + } + }, + "range": [ + 48381, + 48393 + ], + "loc": { + "start": { + "line": 1706, + "column": 28 + }, + "end": { + "line": 1706, + "column": 40 + } + } + }, + "range": [ + 48369, + 48393 + ], + "loc": { + "start": { + "line": 1706, + "column": 16 + }, + "end": { + "line": 1706, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 48413, + 48422 + ], + "loc": { + "start": { + "line": 1707, + "column": 16 + }, + "end": { + "line": 1707, + "column": 25 + } + } + } + ], + "range": [ + 48395, + 48436 + ], + "loc": { + "start": { + "line": 1706, + "column": 42 + }, + "end": { + "line": 1708, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 48365, + 48436 + ], + "loc": { + "start": { + "line": 1706, + "column": 12 + }, + "end": { + "line": 1708, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 48319, + 48352 + ], + "loc": { + "start": { + "line": 1705, + "column": 12 + }, + "end": { + "line": 1705, + "column": 45 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "occurence", + "range": [ + 48454, + 48463 + ], + "loc": { + "start": { + "line": 1710, + "column": 16 + }, + "end": { + "line": 1710, + "column": 25 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 48466, + 48468 + ], + "loc": { + "start": { + "line": 1710, + "column": 28 + }, + "end": { + "line": 1710, + "column": 30 + } + } + }, + "range": [ + 48454, + 48468 + ], + "loc": { + "start": { + "line": 1710, + "column": 16 + }, + "end": { + "line": 1710, + "column": 30 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 48486, + 48496 + ], + "loc": { + "start": { + "line": 1711, + "column": 16 + }, + "end": { + "line": 1711, + "column": 26 + } + } + }, + "init": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 48499, + 48503 + ], + "loc": { + "start": { + "line": 1711, + "column": 29 + }, + "end": { + "line": 1711, + "column": 33 + } + } + }, + "range": [ + 48486, + 48503 + ], + "loc": { + "start": { + "line": 1711, + "column": 16 + }, + "end": { + "line": 1711, + "column": 33 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "singleFltRowValid", + "range": [ + 48569, + 48586 + ], + "loc": { + "start": { + "line": 1713, + "column": 16 + }, + "end": { + "line": 1713, + "column": 33 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 48589, + 48594 + ], + "loc": { + "start": { + "line": 1713, + "column": 36 + }, + "end": { + "line": 1713, + "column": 41 + } + } + }, + "range": [ + 48569, + 48594 + ], + "loc": { + "start": { + "line": 1713, + "column": 16 + }, + "end": { + "line": 1713, + "column": 41 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "only for single filter search", + "range": [ + 48521, + 48552 + ], + "loc": { + "start": { + "line": 1712, + "column": 16 + }, + "end": { + "line": 1712, + "column": 47 + } + } + } + ] + } + ], + "kind": "let", + "range": [ + 48450, + 48595 + ], + "loc": { + "start": { + "line": 1710, + "column": 12 + }, + "end": { + "line": 1713, + "column": 42 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 48609, + 48641 + ], + "loc": { + "start": { + "line": 1715, + "column": 12 + }, + "end": { + "line": 1715, + "column": 44 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 48663, + 48664 + ], + "loc": { + "start": { + "line": 1716, + "column": 21 + }, + "end": { + "line": 1716, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 48667, + 48668 + ], + "loc": { + "start": { + "line": 1716, + "column": 25 + }, + "end": { + "line": 1716, + "column": 26 + } + } + }, + "range": [ + 48663, + 48668 + ], + "loc": { + "start": { + "line": 1716, + "column": 21 + }, + "end": { + "line": 1716, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 48659, + 48668 + ], + "loc": { + "start": { + "line": 1716, + "column": 17 + }, + "end": { + "line": 1716, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 48670, + 48671 + ], + "loc": { + "start": { + "line": 1716, + "column": 28 + }, + "end": { + "line": 1716, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 48674, + 48681 + ], + "loc": { + "start": { + "line": 1716, + "column": 32 + }, + "end": { + "line": 1716, + "column": 39 + } + } + }, + "range": [ + 48670, + 48681 + ], + "loc": { + "start": { + "line": 1716, + "column": 28 + }, + "end": { + "line": 1716, + "column": 39 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 48683, + 48684 + ], + "loc": { + "start": { + "line": 1716, + "column": 41 + }, + "end": { + "line": 1716, + "column": 42 + } + } + }, + "prefix": false, + "range": [ + 48683, + 48686 + ], + "loc": { + "start": { + "line": 1716, + "column": 41 + }, + "end": { + "line": 1716, + "column": 44 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sA", + "range": [ + 48745, + 48747 + ], + "loc": { + "start": { + "line": 1718, + "column": 20 + }, + "end": { + "line": 1718, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 48750, + 48760 + ], + "loc": { + "start": { + "line": 1718, + "column": 25 + }, + "end": { + "line": 1718, + "column": 35 + } + } + }, + "property": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48761, + 48765 + ], + "loc": { + "start": { + "line": 1718, + "column": 36 + }, + "end": { + "line": 1718, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 48766, + 48781 + ], + "loc": { + "start": { + "line": 1718, + "column": 41 + }, + "end": { + "line": 1718, + "column": 56 + } + } + }, + "range": [ + 48761, + 48781 + ], + "loc": { + "start": { + "line": 1718, + "column": 36 + }, + "end": { + "line": 1718, + "column": 56 + } + } + }, + "consequent": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 48784, + 48785 + ], + "loc": { + "start": { + "line": 1718, + "column": 59 + }, + "end": { + "line": 1718, + "column": 60 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "j", + "range": [ + 48788, + 48789 + ], + "loc": { + "start": { + "line": 1718, + "column": 63 + }, + "end": { + "line": 1718, + "column": 64 + } + } + }, + "range": [ + 48761, + 48789 + ], + "loc": { + "start": { + "line": 1718, + "column": 36 + }, + "end": { + "line": 1718, + "column": 64 + } + } + }, + "range": [ + 48750, + 48790 + ], + "loc": { + "start": { + "line": 1718, + "column": 25 + }, + "end": { + "line": 1718, + "column": 65 + } + } + }, + "range": [ + 48745, + 48790 + ], + "loc": { + "start": { + "line": 1718, + "column": 20 + }, + "end": { + "line": 1718, + "column": 65 + } + } + } + ], + "kind": "let", + "range": [ + 48741, + 48791 + ], + "loc": { + "start": { + "line": 1718, + "column": 16 + }, + "end": { + "line": 1718, + "column": 66 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "searched keyword", + "range": [ + 48706, + 48724 + ], + "loc": { + "start": { + "line": 1717, + "column": 16 + }, + "end": { + "line": 1717, + "column": 34 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "sA", + "range": [ + 48813, + 48815 + ], + "loc": { + "start": { + "line": 1720, + "column": 20 + }, + "end": { + "line": 1720, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 48820, + 48822 + ], + "loc": { + "start": { + "line": 1720, + "column": 27 + }, + "end": { + "line": 1720, + "column": 29 + } + } + }, + "range": [ + 48813, + 48822 + ], + "loc": { + "start": { + "line": 1720, + "column": 20 + }, + "end": { + "line": 1720, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 48846, + 48855 + ], + "loc": { + "start": { + "line": 1721, + "column": 20 + }, + "end": { + "line": 1721, + "column": 29 + } + } + } + ], + "range": [ + 48824, + 48873 + ], + "loc": { + "start": { + "line": 1720, + "column": 31 + }, + "end": { + "line": 1722, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 48809, + 48873 + ], + "loc": { + "start": { + "line": 1720, + "column": 16 + }, + "end": { + "line": 1722, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 48895, + 48904 + ], + "loc": { + "start": { + "line": 1724, + "column": 20 + }, + "end": { + "line": 1724, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 48907, + 48916 + ], + "loc": { + "start": { + "line": 1724, + "column": 32 + }, + "end": { + "line": 1724, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48917, + 48921 + ], + "loc": { + "start": { + "line": 1724, + "column": 42 + }, + "end": { + "line": 1724, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 48922, + 48934 + ], + "loc": { + "start": { + "line": 1724, + "column": 47 + }, + "end": { + "line": 1724, + "column": 59 + } + } + }, + "range": [ + 48917, + 48934 + ], + "loc": { + "start": { + "line": 1724, + "column": 42 + }, + "end": { + "line": 1724, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 48935, + 48940 + ], + "loc": { + "start": { + "line": 1724, + "column": 60 + }, + "end": { + "line": 1724, + "column": 65 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 48941, + 48942 + ], + "loc": { + "start": { + "line": 1724, + "column": 66 + }, + "end": { + "line": 1724, + "column": 67 + } + } + }, + "range": [ + 48935, + 48943 + ], + "loc": { + "start": { + "line": 1724, + "column": 60 + }, + "end": { + "line": 1724, + "column": 68 + } + } + } + ], + "range": [ + 48917, + 48944 + ], + "loc": { + "start": { + "line": 1724, + "column": 42 + }, + "end": { + "line": 1724, + "column": 69 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 48966, + 48970 + ], + "loc": { + "start": { + "line": 1725, + "column": 20 + }, + "end": { + "line": 1725, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 48971, + 48984 + ], + "loc": { + "start": { + "line": 1725, + "column": 25 + }, + "end": { + "line": 1725, + "column": 38 + } + } + }, + "range": [ + 48966, + 48984 + ], + "loc": { + "start": { + "line": 1725, + "column": 20 + }, + "end": { + "line": 1725, + "column": 38 + } + } + } + ], + "range": [ + 48907, + 48985 + ], + "loc": { + "start": { + "line": 1724, + "column": 32 + }, + "end": { + "line": 1725, + "column": 39 + } + } + }, + "range": [ + 48895, + 48985 + ], + "loc": { + "start": { + "line": 1724, + "column": 20 + }, + "end": { + "line": 1725, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 48891, + 48986 + ], + "loc": { + "start": { + "line": 1724, + "column": 16 + }, + "end": { + "line": 1725, + "column": 40 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "multiple search parameter operator ||", + "range": [ + 49004, + 49043 + ], + "loc": { + "start": { + "line": 1727, + "column": 16 + }, + "end": { + "line": 1727, + "column": 55 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sAOrSplit", + "range": [ + 49064, + 49073 + ], + "loc": { + "start": { + "line": 1728, + "column": 20 + }, + "end": { + "line": 1728, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sA", + "range": [ + 49076, + 49078 + ], + "loc": { + "start": { + "line": 1728, + "column": 32 + }, + "end": { + "line": 1728, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 49079, + 49087 + ], + "loc": { + "start": { + "line": 1728, + "column": 35 + }, + "end": { + "line": 1728, + "column": 43 + } + } + }, + "range": [ + 49076, + 49087 + ], + "loc": { + "start": { + "line": 1728, + "column": 32 + }, + "end": { + "line": 1728, + "column": 43 + } + } + }, + "arguments": [], + "range": [ + 49076, + 49089 + ], + "loc": { + "start": { + "line": 1728, + "column": 32 + }, + "end": { + "line": 1728, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 49090, + 49095 + ], + "loc": { + "start": { + "line": 1728, + "column": 46 + }, + "end": { + "line": 1728, + "column": 51 + } + } + }, + "range": [ + 49076, + 49095 + ], + "loc": { + "start": { + "line": 1728, + "column": 32 + }, + "end": { + "line": 1728, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 49096, + 49100 + ], + "loc": { + "start": { + "line": 1728, + "column": 52 + }, + "end": { + "line": 1728, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 49101, + 49111 + ], + "loc": { + "start": { + "line": 1728, + "column": 57 + }, + "end": { + "line": 1728, + "column": 67 + } + } + }, + "range": [ + 49096, + 49111 + ], + "loc": { + "start": { + "line": 1728, + "column": 52 + }, + "end": { + "line": 1728, + "column": 67 + } + } + } + ], + "range": [ + 49076, + 49112 + ], + "loc": { + "start": { + "line": 1728, + "column": 32 + }, + "end": { + "line": 1728, + "column": 68 + } + } + }, + "range": [ + 49064, + 49112 + ], + "loc": { + "start": { + "line": 1728, + "column": 20 + }, + "end": { + "line": 1728, + "column": 68 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasMultiOrSA", + "range": [ + 49193, + 49205 + ], + "loc": { + "start": { + "line": 1730, + "column": 20 + }, + "end": { + "line": 1730, + "column": 32 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sAOrSplit", + "range": [ + 49208, + 49217 + ], + "loc": { + "start": { + "line": 1730, + "column": 35 + }, + "end": { + "line": 1730, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 49218, + 49224 + ], + "loc": { + "start": { + "line": 1730, + "column": 45 + }, + "end": { + "line": 1730, + "column": 51 + } + } + }, + "range": [ + 49208, + 49224 + ], + "loc": { + "start": { + "line": 1730, + "column": 35 + }, + "end": { + "line": 1730, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 49227, + 49228 + ], + "loc": { + "start": { + "line": 1730, + "column": 54 + }, + "end": { + "line": 1730, + "column": 55 + } + } + }, + "range": [ + 49208, + 49228 + ], + "loc": { + "start": { + "line": 1730, + "column": 35 + }, + "end": { + "line": 1730, + "column": 55 + } + } + }, + "range": [ + 49193, + 49228 + ], + "loc": { + "start": { + "line": 1730, + "column": 20 + }, + "end": { + "line": 1730, + "column": 55 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "multiple search || parameter boolean", + "range": [ + 49134, + 49172 + ], + "loc": { + "start": { + "line": 1729, + "column": 20 + }, + "end": { + "line": 1729, + "column": 58 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "sAAndSplit", + "range": [ + 49310, + 49320 + ], + "loc": { + "start": { + "line": 1732, + "column": 20 + }, + "end": { + "line": 1732, + "column": 30 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sA", + "range": [ + 49323, + 49325 + ], + "loc": { + "start": { + "line": 1732, + "column": 33 + }, + "end": { + "line": 1732, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 49326, + 49334 + ], + "loc": { + "start": { + "line": 1732, + "column": 36 + }, + "end": { + "line": 1732, + "column": 44 + } + } + }, + "range": [ + 49323, + 49334 + ], + "loc": { + "start": { + "line": 1732, + "column": 33 + }, + "end": { + "line": 1732, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 49323, + 49336 + ], + "loc": { + "start": { + "line": 1732, + "column": 33 + }, + "end": { + "line": 1732, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 49337, + 49342 + ], + "loc": { + "start": { + "line": 1732, + "column": 47 + }, + "end": { + "line": 1732, + "column": 52 + } + } + }, + "range": [ + 49323, + 49342 + ], + "loc": { + "start": { + "line": 1732, + "column": 33 + }, + "end": { + "line": 1732, + "column": 52 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 49343, + 49347 + ], + "loc": { + "start": { + "line": 1732, + "column": 53 + }, + "end": { + "line": 1732, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "anOperator", + "range": [ + 49348, + 49358 + ], + "loc": { + "start": { + "line": 1732, + "column": 58 + }, + "end": { + "line": 1732, + "column": 68 + } + } + }, + "range": [ + 49343, + 49358 + ], + "loc": { + "start": { + "line": 1732, + "column": 53 + }, + "end": { + "line": 1732, + "column": 68 + } + } + } + ], + "range": [ + 49323, + 49359 + ], + "loc": { + "start": { + "line": 1732, + "column": 33 + }, + "end": { + "line": 1732, + "column": 69 + } + } + }, + "range": [ + 49310, + 49359 + ], + "loc": { + "start": { + "line": 1732, + "column": 20 + }, + "end": { + "line": 1732, + "column": 69 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "multiple search parameter operator &&", + "range": [ + 49250, + 49289 + ], + "loc": { + "start": { + "line": 1731, + "column": 20 + }, + "end": { + "line": 1731, + "column": 59 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasMultiAndSA", + "range": [ + 49440, + 49453 + ], + "loc": { + "start": { + "line": 1734, + "column": 20 + }, + "end": { + "line": 1734, + "column": 33 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "sAAndSplit", + "range": [ + 49456, + 49466 + ], + "loc": { + "start": { + "line": 1734, + "column": 36 + }, + "end": { + "line": 1734, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 49467, + 49473 + ], + "loc": { + "start": { + "line": 1734, + "column": 47 + }, + "end": { + "line": 1734, + "column": 53 + } + } + }, + "range": [ + 49456, + 49473 + ], + "loc": { + "start": { + "line": 1734, + "column": 36 + }, + "end": { + "line": 1734, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 49476, + 49477 + ], + "loc": { + "start": { + "line": 1734, + "column": 56 + }, + "end": { + "line": 1734, + "column": 57 + } + } + }, + "range": [ + 49456, + 49477 + ], + "loc": { + "start": { + "line": 1734, + "column": 36 + }, + "end": { + "line": 1734, + "column": 57 + } + } + }, + "range": [ + 49440, + 49477 + ], + "loc": { + "start": { + "line": 1734, + "column": 20 + }, + "end": { + "line": 1734, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "multiple search && parameter boolean", + "range": [ + 49381, + 49419 + ], + "loc": { + "start": { + "line": 1733, + "column": 20 + }, + "end": { + "line": 1733, + "column": 58 + } + } + } + ] + } + ], + "kind": "let", + "range": [ + 49060, + 49478 + ], + "loc": { + "start": { + "line": 1728, + "column": 16 + }, + "end": { + "line": 1734, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "multiple search parameter operator ||", + "range": [ + 49004, + 49043 + ], + "loc": { + "start": { + "line": 1727, + "column": 16 + }, + "end": { + "line": 1727, + "column": 55 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "detect operators or array query", + "range": [ + 49496, + 49529 + ], + "loc": { + "start": { + "line": 1736, + "column": 16 + }, + "end": { + "line": 1736, + "column": 49 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 49550, + 49557 + ], + "loc": { + "start": { + "line": 1737, + "column": 20 + }, + "end": { + "line": 1737, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "sA", + "range": [ + 49558, + 49560 + ], + "loc": { + "start": { + "line": 1737, + "column": 28 + }, + "end": { + "line": 1737, + "column": 30 + } + } + } + ], + "range": [ + 49550, + 49561 + ], + "loc": { + "start": { + "line": 1737, + "column": 20 + }, + "end": { + "line": 1737, + "column": 31 + } + } + }, + "right": { + "type": "Identifier", + "name": "hasMultiOrSA", + "range": [ + 49565, + 49577 + ], + "loc": { + "start": { + "line": 1737, + "column": 35 + }, + "end": { + "line": 1737, + "column": 47 + } + } + }, + "range": [ + 49550, + 49577 + ], + "loc": { + "start": { + "line": 1737, + "column": 20 + }, + "end": { + "line": 1737, + "column": 47 + } + } + }, + "right": { + "type": "Identifier", + "name": "hasMultiAndSA", + "range": [ + 49581, + 49594 + ], + "loc": { + "start": { + "line": 1737, + "column": 51 + }, + "end": { + "line": 1737, + "column": 64 + } + } + }, + "range": [ + 49550, + 49594 + ], + "loc": { + "start": { + "line": 1737, + "column": 20 + }, + "end": { + "line": 1737, + "column": 64 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cS", + "range": [ + 49622, + 49624 + ], + "loc": { + "start": { + "line": 1738, + "column": 24 + }, + "end": { + "line": 1738, + "column": 26 + } + } + }, + "init": null, + "range": [ + 49622, + 49624 + ], + "loc": { + "start": { + "line": 1738, + "column": 24 + }, + "end": { + "line": 1738, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "s", + "range": [ + 49650, + 49651 + ], + "loc": { + "start": { + "line": 1739, + "column": 24 + }, + "end": { + "line": 1739, + "column": 25 + } + } + }, + "init": null, + "range": [ + 49650, + 49651 + ], + "loc": { + "start": { + "line": 1739, + "column": 24 + }, + "end": { + "line": 1739, + "column": 25 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "occur", + "range": [ + 49677, + 49682 + ], + "loc": { + "start": { + "line": 1740, + "column": 24 + }, + "end": { + "line": 1740, + "column": 29 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 49685, + 49690 + ], + "loc": { + "start": { + "line": 1740, + "column": 32 + }, + "end": { + "line": 1740, + "column": 37 + } + } + }, + "range": [ + 49677, + 49690 + ], + "loc": { + "start": { + "line": 1740, + "column": 24 + }, + "end": { + "line": 1740, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 49618, + 49691 + ], + "loc": { + "start": { + "line": 1738, + "column": 20 + }, + "end": { + "line": 1740, + "column": 38 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 49716, + 49723 + ], + "loc": { + "start": { + "line": 1741, + "column": 24 + }, + "end": { + "line": 1741, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "sA", + "range": [ + 49724, + 49726 + ], + "loc": { + "start": { + "line": 1741, + "column": 32 + }, + "end": { + "line": 1741, + "column": 34 + } + } + } + ], + "range": [ + 49716, + 49727 + ], + "loc": { + "start": { + "line": 1741, + "column": 24 + }, + "end": { + "line": 1741, + "column": 35 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "s", + "range": [ + 49755, + 49756 + ], + "loc": { + "start": { + "line": 1742, + "column": 24 + }, + "end": { + "line": 1742, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "sA", + "range": [ + 49759, + 49761 + ], + "loc": { + "start": { + "line": 1742, + "column": 28 + }, + "end": { + "line": 1742, + "column": 30 + } + } + }, + "range": [ + 49755, + 49761 + ], + "loc": { + "start": { + "line": 1742, + "column": 24 + }, + "end": { + "line": 1742, + "column": 30 + } + } + }, + "range": [ + 49755, + 49762 + ], + "loc": { + "start": { + "line": 1742, + "column": 24 + }, + "end": { + "line": 1742, + "column": 31 + } + } + } + ], + "range": [ + 49729, + 49784 + ], + "loc": { + "start": { + "line": 1741, + "column": 37 + }, + "end": { + "line": 1743, + "column": 21 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "s", + "range": [ + 49816, + 49817 + ], + "loc": { + "start": { + "line": 1744, + "column": 24 + }, + "end": { + "line": 1744, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "hasMultiOrSA", + "range": [ + 49820, + 49832 + ], + "loc": { + "start": { + "line": 1744, + "column": 28 + }, + "end": { + "line": 1744, + "column": 40 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "sAOrSplit", + "range": [ + 49835, + 49844 + ], + "loc": { + "start": { + "line": 1744, + "column": 43 + }, + "end": { + "line": 1744, + "column": 52 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "sAAndSplit", + "range": [ + 49847, + 49857 + ], + "loc": { + "start": { + "line": 1744, + "column": 55 + }, + "end": { + "line": 1744, + "column": 65 + } + } + }, + "range": [ + 49820, + 49857 + ], + "loc": { + "start": { + "line": 1744, + "column": 28 + }, + "end": { + "line": 1744, + "column": 65 + } + } + }, + "range": [ + 49816, + 49857 + ], + "loc": { + "start": { + "line": 1744, + "column": 24 + }, + "end": { + "line": 1744, + "column": 65 + } + } + }, + "range": [ + 49816, + 49858 + ], + "loc": { + "start": { + "line": 1744, + "column": 24 + }, + "end": { + "line": 1744, + "column": 66 + } + } + } + ], + "range": [ + 49790, + 49880 + ], + "loc": { + "start": { + "line": 1743, + "column": 27 + }, + "end": { + "line": 1745, + "column": 21 + } + } + }, + "range": [ + 49712, + 49880 + ], + "loc": { + "start": { + "line": 1741, + "column": 20 + }, + "end": { + "line": 1745, + "column": 21 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " isolate search term and check occurence in cell data", + "range": [ + 49901, + 49956 + ], + "loc": { + "start": { + "line": 1746, + "column": 20 + }, + "end": { + "line": 1746, + "column": 75 + } + } + } + ] + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "w", + "range": [ + 49986, + 49987 + ], + "loc": { + "start": { + "line": 1747, + "column": 29 + }, + "end": { + "line": 1747, + "column": 30 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 49990, + 49991 + ], + "loc": { + "start": { + "line": 1747, + "column": 33 + }, + "end": { + "line": 1747, + "column": 34 + } + } + }, + "range": [ + 49986, + 49991 + ], + "loc": { + "start": { + "line": 1747, + "column": 29 + }, + "end": { + "line": 1747, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 49993, + 49996 + ], + "loc": { + "start": { + "line": 1747, + "column": 36 + }, + "end": { + "line": 1747, + "column": 39 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "s", + "range": [ + 49999, + 50000 + ], + "loc": { + "start": { + "line": 1747, + "column": 42 + }, + "end": { + "line": 1747, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 50001, + 50007 + ], + "loc": { + "start": { + "line": 1747, + "column": 44 + }, + "end": { + "line": 1747, + "column": 50 + } + } + }, + "range": [ + 49999, + 50007 + ], + "loc": { + "start": { + "line": 1747, + "column": 42 + }, + "end": { + "line": 1747, + "column": 50 + } + } + }, + "range": [ + 49993, + 50007 + ], + "loc": { + "start": { + "line": 1747, + "column": 36 + }, + "end": { + "line": 1747, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 49982, + 50007 + ], + "loc": { + "start": { + "line": 1747, + "column": 25 + }, + "end": { + "line": 1747, + "column": 50 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "w", + "range": [ + 50009, + 50010 + ], + "loc": { + "start": { + "line": 1747, + "column": 52 + }, + "end": { + "line": 1747, + "column": 53 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 50013, + 50016 + ], + "loc": { + "start": { + "line": 1747, + "column": 56 + }, + "end": { + "line": 1747, + "column": 59 + } + } + }, + "range": [ + 50009, + 50016 + ], + "loc": { + "start": { + "line": 1747, + "column": 52 + }, + "end": { + "line": 1747, + "column": 59 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "w", + "range": [ + 50018, + 50019 + ], + "loc": { + "start": { + "line": 1747, + "column": 61 + }, + "end": { + "line": 1747, + "column": 62 + } + } + }, + "prefix": false, + "range": [ + 50018, + 50021 + ], + "loc": { + "start": { + "line": 1747, + "column": 61 + }, + "end": { + "line": 1747, + "column": 64 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "cS", + "range": [ + 50049, + 50051 + ], + "loc": { + "start": { + "line": 1748, + "column": 24 + }, + "end": { + "line": 1748, + "column": 26 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 50054, + 50058 + ], + "loc": { + "start": { + "line": 1748, + "column": 29 + }, + "end": { + "line": 1748, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "s", + "range": [ + 50059, + 50060 + ], + "loc": { + "start": { + "line": 1748, + "column": 34 + }, + "end": { + "line": 1748, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "w", + "range": [ + 50061, + 50062 + ], + "loc": { + "start": { + "line": 1748, + "column": 36 + }, + "end": { + "line": 1748, + "column": 37 + } + } + }, + "range": [ + 50059, + 50063 + ], + "loc": { + "start": { + "line": 1748, + "column": 34 + }, + "end": { + "line": 1748, + "column": 38 + } + } + } + ], + "range": [ + 50054, + 50064 + ], + "loc": { + "start": { + "line": 1748, + "column": 29 + }, + "end": { + "line": 1748, + "column": 39 + } + } + }, + "range": [ + 50049, + 50064 + ], + "loc": { + "start": { + "line": 1748, + "column": 24 + }, + "end": { + "line": 1748, + "column": 39 + } + } + }, + "range": [ + 50049, + 50065 + ], + "loc": { + "start": { + "line": 1748, + "column": 24 + }, + "end": { + "line": 1748, + "column": 40 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occur", + "range": [ + 50090, + 50095 + ], + "loc": { + "start": { + "line": 1749, + "column": 24 + }, + "end": { + "line": 1749, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 50098, + 50102 + ], + "loc": { + "start": { + "line": 1749, + "column": 32 + }, + "end": { + "line": 1749, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "_testTerm", + "range": [ + 50103, + 50112 + ], + "loc": { + "start": { + "line": 1749, + "column": 37 + }, + "end": { + "line": 1749, + "column": 46 + } + } + }, + "range": [ + 50098, + 50112 + ], + "loc": { + "start": { + "line": 1749, + "column": 32 + }, + "end": { + "line": 1749, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cS", + "range": [ + 50113, + 50115 + ], + "loc": { + "start": { + "line": 1749, + "column": 47 + }, + "end": { + "line": 1749, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 50117, + 50126 + ], + "loc": { + "start": { + "line": 1749, + "column": 51 + }, + "end": { + "line": 1749, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "j", + "range": [ + 50128, + 50129 + ], + "loc": { + "start": { + "line": 1749, + "column": 62 + }, + "end": { + "line": 1749, + "column": 63 + } + } + } + ], + "range": [ + 50098, + 50130 + ], + "loc": { + "start": { + "line": 1749, + "column": 32 + }, + "end": { + "line": 1749, + "column": 64 + } + } + }, + "range": [ + 50090, + 50130 + ], + "loc": { + "start": { + "line": 1749, + "column": 24 + }, + "end": { + "line": 1749, + "column": 64 + } + } + }, + "range": [ + 50090, + 50131 + ], + "loc": { + "start": { + "line": 1749, + "column": 24 + }, + "end": { + "line": 1749, + "column": 65 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "occur", + "range": [ + 50161, + 50166 + ], + "loc": { + "start": { + "line": 1751, + "column": 28 + }, + "end": { + "line": 1751, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 50198, + 50202 + ], + "loc": { + "start": { + "line": 1752, + "column": 28 + }, + "end": { + "line": 1752, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 50203, + 50210 + ], + "loc": { + "start": { + "line": 1752, + "column": 33 + }, + "end": { + "line": 1752, + "column": 40 + } + } + }, + "range": [ + 50198, + 50210 + ], + "loc": { + "start": { + "line": 1752, + "column": 28 + }, + "end": { + "line": 1752, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 50211, + 50215 + ], + "loc": { + "start": { + "line": 1752, + "column": 41 + }, + "end": { + "line": 1752, + "column": 45 + } + } + }, + "range": [ + 50198, + 50215 + ], + "loc": { + "start": { + "line": 1752, + "column": 28 + }, + "end": { + "line": 1752, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "highlight-keyword", + "raw": "'highlight-keyword'", + "range": [ + 50216, + 50235 + ], + "loc": { + "start": { + "line": 1752, + "column": 46 + }, + "end": { + "line": 1752, + "column": 65 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 50237, + 50241 + ], + "loc": { + "start": { + "line": 1752, + "column": 67 + }, + "end": { + "line": 1752, + "column": 71 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 50275, + 50280 + ], + "loc": { + "start": { + "line": 1753, + "column": 32 + }, + "end": { + "line": 1753, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 50281, + 50282 + ], + "loc": { + "start": { + "line": 1753, + "column": 38 + }, + "end": { + "line": 1753, + "column": 39 + } + } + }, + "range": [ + 50275, + 50283 + ], + "loc": { + "start": { + "line": 1753, + "column": 32 + }, + "end": { + "line": 1753, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "cS", + "range": [ + 50285, + 50287 + ], + "loc": { + "start": { + "line": 1753, + "column": 42 + }, + "end": { + "line": 1753, + "column": 44 + } + } + } + ], + "range": [ + 50198, + 50288 + ], + "loc": { + "start": { + "line": 1752, + "column": 28 + }, + "end": { + "line": 1753, + "column": 45 + } + } + }, + "range": [ + 50198, + 50289 + ], + "loc": { + "start": { + "line": 1752, + "column": 28 + }, + "end": { + "line": 1753, + "column": 46 + } + } + } + ], + "range": [ + 50168, + 50315 + ], + "loc": { + "start": { + "line": 1751, + "column": 35 + }, + "end": { + "line": 1754, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 50157, + 50315 + ], + "loc": { + "start": { + "line": 1751, + "column": 24 + }, + "end": { + "line": 1754, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasMultiOrSA", + "range": [ + 50345, + 50357 + ], + "loc": { + "start": { + "line": 1755, + "column": 29 + }, + "end": { + "line": 1755, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "occur", + "range": [ + 50361, + 50366 + ], + "loc": { + "start": { + "line": 1755, + "column": 45 + }, + "end": { + "line": 1755, + "column": 50 + } + } + }, + "range": [ + 50345, + 50366 + ], + "loc": { + "start": { + "line": 1755, + "column": 29 + }, + "end": { + "line": 1755, + "column": 50 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasMultiAndSA", + "range": [ + 50400, + 50413 + ], + "loc": { + "start": { + "line": 1756, + "column": 29 + }, + "end": { + "line": 1756, + "column": 42 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "occur", + "range": [ + 50418, + 50423 + ], + "loc": { + "start": { + "line": 1756, + "column": 47 + }, + "end": { + "line": 1756, + "column": 52 + } + } + }, + "prefix": true, + "range": [ + 50417, + 50423 + ], + "loc": { + "start": { + "line": 1756, + "column": 46 + }, + "end": { + "line": 1756, + "column": 52 + } + } + }, + "range": [ + 50400, + 50423 + ], + "loc": { + "start": { + "line": 1756, + "column": 29 + }, + "end": { + "line": 1756, + "column": 52 + } + } + }, + "range": [ + 50344, + 50424 + ], + "loc": { + "start": { + "line": 1755, + "column": 28 + }, + "end": { + "line": 1756, + "column": 53 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "BreakStatement", + "label": null, + "range": [ + 50456, + 50462 + ], + "loc": { + "start": { + "line": 1757, + "column": 28 + }, + "end": { + "line": 1757, + "column": 34 + } + } + } + ], + "range": [ + 50426, + 50488 + ], + "loc": { + "start": { + "line": 1756, + "column": 55 + }, + "end": { + "line": 1758, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 50340, + 50488 + ], + "loc": { + "start": { + "line": 1755, + "column": 24 + }, + "end": { + "line": 1758, + "column": 25 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 50517, + 50524 + ], + "loc": { + "start": { + "line": 1759, + "column": 28 + }, + "end": { + "line": 1759, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "sA", + "range": [ + 50525, + 50527 + ], + "loc": { + "start": { + "line": 1759, + "column": 36 + }, + "end": { + "line": 1759, + "column": 38 + } + } + } + ], + "range": [ + 50517, + 50528 + ], + "loc": { + "start": { + "line": 1759, + "column": 28 + }, + "end": { + "line": 1759, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "occur", + "range": [ + 50532, + 50537 + ], + "loc": { + "start": { + "line": 1759, + "column": 43 + }, + "end": { + "line": 1759, + "column": 48 + } + } + }, + "range": [ + 50517, + 50537 + ], + "loc": { + "start": { + "line": 1759, + "column": 28 + }, + "end": { + "line": 1759, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "BreakStatement", + "label": null, + "range": [ + 50569, + 50575 + ], + "loc": { + "start": { + "line": 1760, + "column": 28 + }, + "end": { + "line": 1760, + "column": 34 + } + } + } + ], + "range": [ + 50539, + 50601 + ], + "loc": { + "start": { + "line": 1759, + "column": 50 + }, + "end": { + "line": 1761, + "column": 25 + } + } + }, + "alternate": null, + "range": [ + 50513, + 50601 + ], + "loc": { + "start": { + "line": 1759, + "column": 24 + }, + "end": { + "line": 1761, + "column": 25 + } + } + } + ], + "range": [ + 50023, + 50623 + ], + "loc": { + "start": { + "line": 1747, + "column": 66 + }, + "end": { + "line": 1762, + "column": 21 + } + } + }, + "range": [ + 49977, + 50623 + ], + "loc": { + "start": { + "line": 1747, + "column": 20 + }, + "end": { + "line": 1762, + "column": 21 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " isolate search term and check occurence in cell data", + "range": [ + 49901, + 49956 + ], + "loc": { + "start": { + "line": 1746, + "column": 20 + }, + "end": { + "line": 1746, + "column": 75 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "occurence", + "range": [ + 50644, + 50653 + ], + "loc": { + "start": { + "line": 1763, + "column": 20 + }, + "end": { + "line": 1763, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 50654, + 50655 + ], + "loc": { + "start": { + "line": 1763, + "column": 30 + }, + "end": { + "line": 1763, + "column": 31 + } + } + }, + "range": [ + 50644, + 50656 + ], + "loc": { + "start": { + "line": 1763, + "column": 20 + }, + "end": { + "line": 1763, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "occur", + "range": [ + 50659, + 50664 + ], + "loc": { + "start": { + "line": 1763, + "column": 35 + }, + "end": { + "line": 1763, + "column": 40 + } + } + }, + "range": [ + 50644, + 50664 + ], + "loc": { + "start": { + "line": 1763, + "column": 20 + }, + "end": { + "line": 1763, + "column": 40 + } + } + }, + "range": [ + 50644, + 50665 + ], + "loc": { + "start": { + "line": 1763, + "column": 20 + }, + "end": { + "line": 1763, + "column": 41 + } + } + } + ], + "range": [ + 49596, + 50684 + ], + "loc": { + "start": { + "line": 1737, + "column": 66 + }, + "end": { + "line": 1765, + "column": 17 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "single search parameter", + "range": [ + 50701, + 50726 + ], + "loc": { + "start": { + "line": 1766, + "column": 16 + }, + "end": { + "line": 1766, + "column": 41 + } + } + } + ] + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "occurence", + "range": [ + 50770, + 50779 + ], + "loc": { + "start": { + "line": 1768, + "column": 20 + }, + "end": { + "line": 1768, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 50780, + 50781 + ], + "loc": { + "start": { + "line": 1768, + "column": 30 + }, + "end": { + "line": 1768, + "column": 31 + } + } + }, + "range": [ + 50770, + 50782 + ], + "loc": { + "start": { + "line": 1768, + "column": 20 + }, + "end": { + "line": 1768, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 50785, + 50789 + ], + "loc": { + "start": { + "line": 1768, + "column": 35 + }, + "end": { + "line": 1768, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "_testTerm", + "range": [ + 50790, + 50799 + ], + "loc": { + "start": { + "line": 1768, + "column": 40 + }, + "end": { + "line": 1768, + "column": 49 + } + } + }, + "range": [ + 50785, + 50799 + ], + "loc": { + "start": { + "line": 1768, + "column": 35 + }, + "end": { + "line": 1768, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 50800, + 50804 + ], + "loc": { + "start": { + "line": 1768, + "column": 50 + }, + "end": { + "line": 1768, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "sA", + "range": [ + 50805, + 50807 + ], + "loc": { + "start": { + "line": 1768, + "column": 55 + }, + "end": { + "line": 1768, + "column": 57 + } + } + } + ], + "range": [ + 50800, + 50808 + ], + "loc": { + "start": { + "line": 1768, + "column": 50 + }, + "end": { + "line": 1768, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 50810, + 50819 + ], + "loc": { + "start": { + "line": 1768, + "column": 60 + }, + "end": { + "line": 1768, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "j", + "range": [ + 50821, + 50822 + ], + "loc": { + "start": { + "line": 1768, + "column": 71 + }, + "end": { + "line": 1768, + "column": 72 + } + } + } + ], + "range": [ + 50785, + 50823 + ], + "loc": { + "start": { + "line": 1768, + "column": 35 + }, + "end": { + "line": 1768, + "column": 73 + } + } + }, + "range": [ + 50770, + 50823 + ], + "loc": { + "start": { + "line": 1768, + "column": 20 + }, + "end": { + "line": 1768, + "column": 73 + } + } + }, + "range": [ + 50770, + 50824 + ], + "loc": { + "start": { + "line": 1768, + "column": 20 + }, + "end": { + "line": 1768, + "column": 74 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "occurence", + "range": [ + 50849, + 50858 + ], + "loc": { + "start": { + "line": 1769, + "column": 24 + }, + "end": { + "line": 1769, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 50859, + 50860 + ], + "loc": { + "start": { + "line": 1769, + "column": 34 + }, + "end": { + "line": 1769, + "column": 35 + } + } + }, + "range": [ + 50849, + 50861 + ], + "loc": { + "start": { + "line": 1769, + "column": 24 + }, + "end": { + "line": 1769, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 50889, + 50893 + ], + "loc": { + "start": { + "line": 1770, + "column": 24 + }, + "end": { + "line": 1770, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 50894, + 50901 + ], + "loc": { + "start": { + "line": 1770, + "column": 29 + }, + "end": { + "line": 1770, + "column": 36 + } + } + }, + "range": [ + 50889, + 50901 + ], + "loc": { + "start": { + "line": 1770, + "column": 24 + }, + "end": { + "line": 1770, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 50902, + 50906 + ], + "loc": { + "start": { + "line": 1770, + "column": 37 + }, + "end": { + "line": 1770, + "column": 41 + } + } + }, + "range": [ + 50889, + 50906 + ], + "loc": { + "start": { + "line": 1770, + "column": 24 + }, + "end": { + "line": 1770, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "highlight-keyword", + "raw": "'highlight-keyword'", + "range": [ + 50907, + 50926 + ], + "loc": { + "start": { + "line": 1770, + "column": 42 + }, + "end": { + "line": 1770, + "column": 61 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 50928, + 50932 + ], + "loc": { + "start": { + "line": 1770, + "column": 63 + }, + "end": { + "line": 1770, + "column": 67 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 50934, + 50939 + ], + "loc": { + "start": { + "line": 1770, + "column": 69 + }, + "end": { + "line": 1770, + "column": 74 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 50940, + 50941 + ], + "loc": { + "start": { + "line": 1770, + "column": 75 + }, + "end": { + "line": 1770, + "column": 76 + } + } + }, + "range": [ + 50934, + 50942 + ], + "loc": { + "start": { + "line": 1770, + "column": 69 + }, + "end": { + "line": 1770, + "column": 77 + } + } + }, + { + "type": "Identifier", + "name": "sA", + "range": [ + 50972, + 50974 + ], + "loc": { + "start": { + "line": 1771, + "column": 28 + }, + "end": { + "line": 1771, + "column": 30 + } + } + } + ], + "range": [ + 50889, + 50975 + ], + "loc": { + "start": { + "line": 1770, + "column": 24 + }, + "end": { + "line": 1771, + "column": 31 + } + } + }, + "range": [ + 50889, + 50976 + ], + "loc": { + "start": { + "line": 1770, + "column": 24 + }, + "end": { + "line": 1771, + "column": 32 + } + } + } + ], + "range": [ + 50863, + 50998 + ], + "loc": { + "start": { + "line": 1769, + "column": 38 + }, + "end": { + "line": 1772, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 50845, + 50998 + ], + "loc": { + "start": { + "line": 1769, + "column": 20 + }, + "end": { + "line": 1772, + "column": 21 + } + } + } + ], + "range": [ + 50748, + 51016 + ], + "loc": { + "start": { + "line": 1767, + "column": 21 + }, + "end": { + "line": 1773, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "single search parameter", + "range": [ + 50701, + 50726 + ], + "loc": { + "start": { + "line": 1766, + "column": 16 + }, + "end": { + "line": 1766, + "column": 41 + } + } + } + ] + }, + "range": [ + 49546, + 51016 + ], + "loc": { + "start": { + "line": 1737, + "column": 16 + }, + "end": { + "line": 1773, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "detect operators or array query", + "range": [ + 49496, + 49529 + ], + "loc": { + "start": { + "line": 1736, + "column": 16 + }, + "end": { + "line": 1736, + "column": 49 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "else single param", + "range": [ + 51016, + 51035 + ], + "loc": { + "start": { + "line": 1773, + "column": 17 + }, + "end": { + "line": 1773, + "column": 36 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "occurence", + "range": [ + 51058, + 51067 + ], + "loc": { + "start": { + "line": 1775, + "column": 21 + }, + "end": { + "line": 1775, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 51068, + 51069 + ], + "loc": { + "start": { + "line": 1775, + "column": 31 + }, + "end": { + "line": 1775, + "column": 32 + } + } + }, + "range": [ + 51058, + 51070 + ], + "loc": { + "start": { + "line": 1775, + "column": 21 + }, + "end": { + "line": 1775, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 51057, + 51070 + ], + "loc": { + "start": { + "line": 1775, + "column": 20 + }, + "end": { + "line": 1775, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 51094, + 51104 + ], + "loc": { + "start": { + "line": 1776, + "column": 20 + }, + "end": { + "line": 1776, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 51107, + 51112 + ], + "loc": { + "start": { + "line": 1776, + "column": 33 + }, + "end": { + "line": 1776, + "column": 38 + } + } + }, + "range": [ + 51094, + 51112 + ], + "loc": { + "start": { + "line": 1776, + "column": 20 + }, + "end": { + "line": 1776, + "column": 38 + } + } + }, + "range": [ + 51094, + 51113 + ], + "loc": { + "start": { + "line": 1776, + "column": 20 + }, + "end": { + "line": 1776, + "column": 39 + } + } + } + ], + "range": [ + 51072, + 51131 + ], + "loc": { + "start": { + "line": 1775, + "column": 35 + }, + "end": { + "line": 1777, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 51053, + 51131 + ], + "loc": { + "start": { + "line": 1775, + "column": 16 + }, + "end": { + "line": 1777, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "else single param", + "range": [ + 51016, + 51035 + ], + "loc": { + "start": { + "line": 1773, + "column": 17 + }, + "end": { + "line": 1773, + "column": 36 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51152, + 51156 + ], + "loc": { + "start": { + "line": 1778, + "column": 20 + }, + "end": { + "line": 1778, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 51157, + 51172 + ], + "loc": { + "start": { + "line": 1778, + "column": 25 + }, + "end": { + "line": 1778, + "column": 40 + } + } + }, + "range": [ + 51152, + 51172 + ], + "loc": { + "start": { + "line": 1778, + "column": 20 + }, + "end": { + "line": 1778, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "occurence", + "range": [ + 51176, + 51185 + ], + "loc": { + "start": { + "line": 1778, + "column": 44 + }, + "end": { + "line": 1778, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 51186, + 51187 + ], + "loc": { + "start": { + "line": 1778, + "column": 54 + }, + "end": { + "line": 1778, + "column": 55 + } + } + }, + "range": [ + 51176, + 51188 + ], + "loc": { + "start": { + "line": 1778, + "column": 44 + }, + "end": { + "line": 1778, + "column": 56 + } + } + }, + "range": [ + 51152, + 51188 + ], + "loc": { + "start": { + "line": 1778, + "column": 20 + }, + "end": { + "line": 1778, + "column": 56 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "singleFltRowValid", + "range": [ + 51212, + 51229 + ], + "loc": { + "start": { + "line": 1779, + "column": 20 + }, + "end": { + "line": 1779, + "column": 37 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 51232, + 51236 + ], + "loc": { + "start": { + "line": 1779, + "column": 40 + }, + "end": { + "line": 1779, + "column": 44 + } + } + }, + "range": [ + 51212, + 51236 + ], + "loc": { + "start": { + "line": 1779, + "column": 20 + }, + "end": { + "line": 1779, + "column": 44 + } + } + }, + "range": [ + 51212, + 51237 + ], + "loc": { + "start": { + "line": 1779, + "column": 20 + }, + "end": { + "line": 1779, + "column": 45 + } + } + } + ], + "range": [ + 51190, + 51255 + ], + "loc": { + "start": { + "line": 1778, + "column": 58 + }, + "end": { + "line": 1780, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 51148, + 51255 + ], + "loc": { + "start": { + "line": 1778, + "column": 16 + }, + "end": { + "line": 1780, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51273, + 51277 + ], + "loc": { + "start": { + "line": 1782, + "column": 16 + }, + "end": { + "line": 1782, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 51278, + 51285 + ], + "loc": { + "start": { + "line": 1782, + "column": 21 + }, + "end": { + "line": 1782, + "column": 28 + } + } + }, + "range": [ + 51273, + 51285 + ], + "loc": { + "start": { + "line": 1782, + "column": 16 + }, + "end": { + "line": 1782, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 51286, + 51290 + ], + "loc": { + "start": { + "line": 1782, + "column": 29 + }, + "end": { + "line": 1782, + "column": 33 + } + } + }, + "range": [ + 51273, + 51290 + ], + "loc": { + "start": { + "line": 1782, + "column": 16 + }, + "end": { + "line": 1782, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "cell-processed", + "raw": "'cell-processed'", + "range": [ + 51291, + 51307 + ], + "loc": { + "start": { + "line": 1782, + "column": 34 + }, + "end": { + "line": 1782, + "column": 50 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 51309, + 51313 + ], + "loc": { + "start": { + "line": 1782, + "column": 52 + }, + "end": { + "line": 1782, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "j", + "range": [ + 51315, + 51316 + ], + "loc": { + "start": { + "line": 1782, + "column": 58 + }, + "end": { + "line": 1782, + "column": 59 + } + } + }, + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 51318, + 51323 + ], + "loc": { + "start": { + "line": 1782, + "column": 61 + }, + "end": { + "line": 1782, + "column": 66 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 51324, + 51325 + ], + "loc": { + "start": { + "line": 1782, + "column": 67 + }, + "end": { + "line": 1782, + "column": 68 + } + } + }, + "range": [ + 51318, + 51326 + ], + "loc": { + "start": { + "line": 1782, + "column": 61 + }, + "end": { + "line": 1782, + "column": 69 + } + } + } + ], + "range": [ + 51273, + 51327 + ], + "loc": { + "start": { + "line": 1782, + "column": 16 + }, + "end": { + "line": 1782, + "column": 70 + } + } + }, + "range": [ + 51273, + 51328 + ], + "loc": { + "start": { + "line": 1782, + "column": 16 + }, + "end": { + "line": 1782, + "column": 71 + } + } + } + ], + "range": [ + 48688, + 51342 + ], + "loc": { + "start": { + "line": 1716, + "column": 46 + }, + "end": { + "line": 1783, + "column": 13 + } + } + }, + "range": [ + 48654, + 51342 + ], + "loc": { + "start": { + "line": 1716, + "column": 12 + }, + "end": { + "line": 1783, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 48609, + 48641 + ], + "loc": { + "start": { + "line": 1715, + "column": 12 + }, + "end": { + "line": 1715, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "for j", + "range": [ + 51342, + 51349 + ], + "loc": { + "start": { + "line": 1783, + "column": 13 + }, + "end": { + "line": 1783, + "column": 20 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51367, + 51371 + ], + "loc": { + "start": { + "line": 1785, + "column": 16 + }, + "end": { + "line": 1785, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 51372, + 51387 + ], + "loc": { + "start": { + "line": 1785, + "column": 21 + }, + "end": { + "line": 1785, + "column": 36 + } + } + }, + "range": [ + 51367, + 51387 + ], + "loc": { + "start": { + "line": 1785, + "column": 16 + }, + "end": { + "line": 1785, + "column": 36 + } + } + }, + "right": { + "type": "Identifier", + "name": "singleFltRowValid", + "range": [ + 51391, + 51408 + ], + "loc": { + "start": { + "line": 1785, + "column": 40 + }, + "end": { + "line": 1785, + "column": 57 + } + } + }, + "range": [ + 51367, + 51408 + ], + "loc": { + "start": { + "line": 1785, + "column": 16 + }, + "end": { + "line": 1785, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 51428, + 51438 + ], + "loc": { + "start": { + "line": 1786, + "column": 16 + }, + "end": { + "line": 1786, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 51441, + 51445 + ], + "loc": { + "start": { + "line": 1786, + "column": 29 + }, + "end": { + "line": 1786, + "column": 33 + } + } + }, + "range": [ + 51428, + 51445 + ], + "loc": { + "start": { + "line": 1786, + "column": 16 + }, + "end": { + "line": 1786, + "column": 33 + } + } + }, + "range": [ + 51428, + 51446 + ], + "loc": { + "start": { + "line": 1786, + "column": 16 + }, + "end": { + "line": 1786, + "column": 34 + } + } + } + ], + "range": [ + 51410, + 51460 + ], + "loc": { + "start": { + "line": 1785, + "column": 59 + }, + "end": { + "line": 1787, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 51363, + 51460 + ], + "loc": { + "start": { + "line": 1785, + "column": 12 + }, + "end": { + "line": 1787, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "for j", + "range": [ + 51342, + 51349 + ], + "loc": { + "start": { + "line": 1783, + "column": 13 + }, + "end": { + "line": 1783, + "column": 20 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51474, + 51478 + ], + "loc": { + "start": { + "line": 1789, + "column": 12 + }, + "end": { + "line": 1789, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "validateRow", + "range": [ + 51479, + 51490 + ], + "loc": { + "start": { + "line": 1789, + "column": 17 + }, + "end": { + "line": 1789, + "column": 28 + } + } + }, + "range": [ + 51474, + 51490 + ], + "loc": { + "start": { + "line": 1789, + "column": 12 + }, + "end": { + "line": 1789, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 51491, + 51492 + ], + "loc": { + "start": { + "line": 1789, + "column": 29 + }, + "end": { + "line": 1789, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 51494, + 51504 + ], + "loc": { + "start": { + "line": 1789, + "column": 32 + }, + "end": { + "line": 1789, + "column": 42 + } + } + } + ], + "range": [ + 51474, + 51505 + ], + "loc": { + "start": { + "line": 1789, + "column": 12 + }, + "end": { + "line": 1789, + "column": 43 + } + } + }, + "range": [ + 51474, + 51506 + ], + "loc": { + "start": { + "line": 1789, + "column": 12 + }, + "end": { + "line": 1789, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 51524, + 51534 + ], + "loc": { + "start": { + "line": 1790, + "column": 17 + }, + "end": { + "line": 1790, + "column": 27 + } + } + }, + "prefix": true, + "range": [ + 51523, + 51534 + ], + "loc": { + "start": { + "line": 1790, + "column": 16 + }, + "end": { + "line": 1790, + "column": 27 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "hiddenRows", + "range": [ + 51554, + 51564 + ], + "loc": { + "start": { + "line": 1791, + "column": 16 + }, + "end": { + "line": 1791, + "column": 26 + } + } + }, + "prefix": false, + "range": [ + 51554, + 51566 + ], + "loc": { + "start": { + "line": 1791, + "column": 16 + }, + "end": { + "line": 1791, + "column": 28 + } + } + }, + "range": [ + 51554, + 51567 + ], + "loc": { + "start": { + "line": 1791, + "column": 16 + }, + "end": { + "line": 1791, + "column": 29 + } + } + } + ], + "range": [ + 51536, + 51581 + ], + "loc": { + "start": { + "line": 1790, + "column": 29 + }, + "end": { + "line": 1792, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 51519, + 51581 + ], + "loc": { + "start": { + "line": 1790, + "column": 12 + }, + "end": { + "line": 1792, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51595, + 51599 + ], + "loc": { + "start": { + "line": 1794, + "column": 12 + }, + "end": { + "line": 1794, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 51600, + 51607 + ], + "loc": { + "start": { + "line": 1794, + "column": 17 + }, + "end": { + "line": 1794, + "column": 24 + } + } + }, + "range": [ + 51595, + 51607 + ], + "loc": { + "start": { + "line": 1794, + "column": 12 + }, + "end": { + "line": 1794, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 51608, + 51612 + ], + "loc": { + "start": { + "line": 1794, + "column": 25 + }, + "end": { + "line": 1794, + "column": 29 + } + } + }, + "range": [ + 51595, + 51612 + ], + "loc": { + "start": { + "line": 1794, + "column": 12 + }, + "end": { + "line": 1794, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "row-processed", + "raw": "'row-processed'", + "range": [ + 51613, + 51628 + ], + "loc": { + "start": { + "line": 1794, + "column": 30 + }, + "end": { + "line": 1794, + "column": 45 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 51630, + 51634 + ], + "loc": { + "start": { + "line": 1794, + "column": 47 + }, + "end": { + "line": 1794, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "k", + "range": [ + 51636, + 51637 + ], + "loc": { + "start": { + "line": 1794, + "column": 53 + }, + "end": { + "line": 1794, + "column": 54 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51655, + 51659 + ], + "loc": { + "start": { + "line": 1795, + "column": 16 + }, + "end": { + "line": 1795, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 51660, + 51674 + ], + "loc": { + "start": { + "line": 1795, + "column": 21 + }, + "end": { + "line": 1795, + "column": 35 + } + } + }, + "range": [ + 51655, + 51674 + ], + "loc": { + "start": { + "line": 1795, + "column": 16 + }, + "end": { + "line": 1795, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 51675, + 51681 + ], + "loc": { + "start": { + "line": 1795, + "column": 36 + }, + "end": { + "line": 1795, + "column": 42 + } + } + }, + "range": [ + 51655, + 51681 + ], + "loc": { + "start": { + "line": 1795, + "column": 16 + }, + "end": { + "line": 1795, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 51683, + 51693 + ], + "loc": { + "start": { + "line": 1795, + "column": 44 + }, + "end": { + "line": 1795, + "column": 54 + } + } + } + ], + "range": [ + 51595, + 51694 + ], + "loc": { + "start": { + "line": 1794, + "column": 12 + }, + "end": { + "line": 1795, + "column": 55 + } + } + }, + "range": [ + 51595, + 51695 + ], + "loc": { + "start": { + "line": 1794, + "column": 12 + }, + "end": { + "line": 1795, + "column": 56 + } + } + } + ], + "range": [ + 48133, + 51705 + ], + "loc": { + "start": { + "line": 1698, + "column": 51 + }, + "end": { + "line": 1796, + "column": 9 + } + } + }, + "range": [ + 48090, + 51705 + ], + "loc": { + "start": { + "line": 1698, + "column": 8 + }, + "end": { + "line": 1796, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " for k", + "range": [ + 51705, + 51713 + ], + "loc": { + "start": { + "line": 1796, + "column": 9 + }, + "end": { + "line": 1796, + "column": 17 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51723, + 51727 + ], + "loc": { + "start": { + "line": 1798, + "column": 8 + }, + "end": { + "line": 1798, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbHiddenRows", + "range": [ + 51728, + 51740 + ], + "loc": { + "start": { + "line": 1798, + "column": 13 + }, + "end": { + "line": 1798, + "column": 25 + } + } + }, + "range": [ + 51723, + 51740 + ], + "loc": { + "start": { + "line": 1798, + "column": 8 + }, + "end": { + "line": 1798, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "hiddenRows", + "range": [ + 51743, + 51753 + ], + "loc": { + "start": { + "line": 1798, + "column": 28 + }, + "end": { + "line": 1798, + "column": 38 + } + } + }, + "range": [ + 51723, + 51753 + ], + "loc": { + "start": { + "line": 1798, + "column": 8 + }, + "end": { + "line": 1798, + "column": 38 + } + } + }, + "range": [ + 51723, + 51754 + ], + "loc": { + "start": { + "line": 1798, + "column": 8 + }, + "end": { + "line": 1798, + "column": 39 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " for k", + "range": [ + 51705, + 51713 + ], + "loc": { + "start": { + "line": 1796, + "column": 9 + }, + "end": { + "line": 1796, + "column": 17 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "fire onafterfilter callback", + "range": [ + 51764, + 51793 + ], + "loc": { + "start": { + "line": 1800, + "column": 8 + }, + "end": { + "line": 1800, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51802, + 51806 + ], + "loc": { + "start": { + "line": 1801, + "column": 8 + }, + "end": { + "line": 1801, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterFilter", + "range": [ + 51807, + 51820 + ], + "loc": { + "start": { + "line": 1801, + "column": 13 + }, + "end": { + "line": 1801, + "column": 26 + } + } + }, + "range": [ + 51802, + 51820 + ], + "loc": { + "start": { + "line": 1801, + "column": 8 + }, + "end": { + "line": 1801, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 51821, + 51825 + ], + "loc": { + "start": { + "line": 1801, + "column": 27 + }, + "end": { + "line": 1801, + "column": 31 + } + } + } + ], + "range": [ + 51802, + 51826 + ], + "loc": { + "start": { + "line": 1801, + "column": 8 + }, + "end": { + "line": 1801, + "column": 32 + } + } + }, + "range": [ + 51802, + 51827 + ], + "loc": { + "start": { + "line": 1801, + "column": 8 + }, + "end": { + "line": 1801, + "column": 33 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "fire onafterfilter callback", + "range": [ + 51764, + 51793 + ], + "loc": { + "start": { + "line": 1800, + "column": 8 + }, + "end": { + "line": 1800, + "column": 37 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 51837, + 51841 + ], + "loc": { + "start": { + "line": 1803, + "column": 8 + }, + "end": { + "line": 1803, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 51842, + 51849 + ], + "loc": { + "start": { + "line": 1803, + "column": 13 + }, + "end": { + "line": 1803, + "column": 20 + } + } + }, + "range": [ + 51837, + 51849 + ], + "loc": { + "start": { + "line": 1803, + "column": 8 + }, + "end": { + "line": 1803, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 51850, + 51854 + ], + "loc": { + "start": { + "line": 1803, + "column": 21 + }, + "end": { + "line": 1803, + "column": 25 + } + } + }, + "range": [ + 51837, + 51854 + ], + "loc": { + "start": { + "line": 1803, + "column": 8 + }, + "end": { + "line": 1803, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-filtering", + "raw": "'after-filtering'", + "range": [ + 51855, + 51872 + ], + "loc": { + "start": { + "line": 1803, + "column": 26 + }, + "end": { + "line": 1803, + "column": 43 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 51874, + 51878 + ], + "loc": { + "start": { + "line": 1803, + "column": 45 + }, + "end": { + "line": 1803, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 51880, + 51890 + ], + "loc": { + "start": { + "line": 1803, + "column": 51 + }, + "end": { + "line": 1803, + "column": 61 + } + } + } + ], + "range": [ + 51837, + 51891 + ], + "loc": { + "start": { + "line": 1803, + "column": 8 + }, + "end": { + "line": 1803, + "column": 62 + } + } + }, + "range": [ + 51837, + 51892 + ], + "loc": { + "start": { + "line": 1803, + "column": 8 + }, + "end": { + "line": 1803, + "column": 63 + } + } + } + ], + "range": [ + 47656, + 51898 + ], + "loc": { + "start": { + "line": 1682, + "column": 13 + }, + "end": { + "line": 1804, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 47653, + 51898 + ], + "loc": { + "start": { + "line": 1682, + "column": 10 + }, + "end": { + "line": 1804, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 47647, + 51898 + ], + "loc": { + "start": { + "line": 1682, + "column": 4 + }, + "end": { + "line": 1804, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 47405, + 47642 + ], + "loc": { + "start": { + "line": 1677, + "column": 4 + }, + "end": { + "line": 1681, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Test for a match of search term in cell data\n * @param {String} term Search term\n * @param {String} cellValue Cell data\n * @param {Number} colIdx Column index\n * @return {Boolean}\n ", + "range": [ + 51904, + 52127 + ], + "loc": { + "start": { + "line": 1806, + "column": 4 + }, + "end": { + "line": 1812, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "_testTerm", + "range": [ + 52132, + 52141 + ], + "loc": { + "start": { + "line": 1813, + "column": 4 + }, + "end": { + "line": 1813, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 52142, + 52146 + ], + "loc": { + "start": { + "line": 1813, + "column": 14 + }, + "end": { + "line": 1813, + "column": 18 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 52148, + 52157 + ], + "loc": { + "start": { + "line": 1813, + "column": 20 + }, + "end": { + "line": 1813, + "column": 29 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 52159, + 52165 + ], + "loc": { + "start": { + "line": 1813, + "column": 31 + }, + "end": { + "line": 1813, + "column": 37 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "numData", + "range": [ + 52181, + 52188 + ], + "loc": { + "start": { + "line": 1814, + "column": 12 + }, + "end": { + "line": 1814, + "column": 19 + } + } + }, + "init": null, + "range": [ + 52181, + 52188 + ], + "loc": { + "start": { + "line": 1814, + "column": 12 + }, + "end": { + "line": 1814, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 52177, + 52189 + ], + "loc": { + "start": { + "line": 1814, + "column": 8 + }, + "end": { + "line": 1814, + "column": 20 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "decimal", + "range": [ + 52202, + 52209 + ], + "loc": { + "start": { + "line": 1815, + "column": 12 + }, + "end": { + "line": 1815, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52212, + 52216 + ], + "loc": { + "start": { + "line": 1815, + "column": 22 + }, + "end": { + "line": 1815, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getDecimal", + "range": [ + 52217, + 52227 + ], + "loc": { + "start": { + "line": 1815, + "column": 27 + }, + "end": { + "line": 1815, + "column": 37 + } + } + }, + "range": [ + 52212, + 52227 + ], + "loc": { + "start": { + "line": 1815, + "column": 22 + }, + "end": { + "line": 1815, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 52228, + 52234 + ], + "loc": { + "start": { + "line": 1815, + "column": 38 + }, + "end": { + "line": 1815, + "column": 44 + } + } + } + ], + "range": [ + 52212, + 52235 + ], + "loc": { + "start": { + "line": 1815, + "column": 22 + }, + "end": { + "line": 1815, + "column": 45 + } + } + }, + "range": [ + 52202, + 52235 + ], + "loc": { + "start": { + "line": 1815, + "column": 12 + }, + "end": { + "line": 1815, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 52198, + 52236 + ], + "loc": { + "start": { + "line": 1815, + "column": 8 + }, + "end": { + "line": 1815, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reLe", + "range": [ + 52249, + 52253 + ], + "loc": { + "start": { + "line": 1816, + "column": 12 + }, + "end": { + "line": 1816, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52260, + 52266 + ], + "loc": { + "start": { + "line": 1816, + "column": 23 + }, + "end": { + "line": 1816, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52267, + 52271 + ], + "loc": { + "start": { + "line": 1816, + "column": 30 + }, + "end": { + "line": 1816, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "leOperator", + "range": [ + 52272, + 52282 + ], + "loc": { + "start": { + "line": 1816, + "column": 35 + }, + "end": { + "line": 1816, + "column": 45 + } + } + }, + "range": [ + 52267, + 52282 + ], + "loc": { + "start": { + "line": 1816, + "column": 30 + }, + "end": { + "line": 1816, + "column": 45 + } + } + } + ], + "range": [ + 52256, + 52283 + ], + "loc": { + "start": { + "line": 1816, + "column": 19 + }, + "end": { + "line": 1816, + "column": 46 + } + } + }, + "range": [ + 52249, + 52283 + ], + "loc": { + "start": { + "line": 1816, + "column": 12 + }, + "end": { + "line": 1816, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reGe", + "range": [ + 52297, + 52301 + ], + "loc": { + "start": { + "line": 1817, + "column": 12 + }, + "end": { + "line": 1817, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52308, + 52314 + ], + "loc": { + "start": { + "line": 1817, + "column": 23 + }, + "end": { + "line": 1817, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52315, + 52319 + ], + "loc": { + "start": { + "line": 1817, + "column": 30 + }, + "end": { + "line": 1817, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "geOperator", + "range": [ + 52320, + 52330 + ], + "loc": { + "start": { + "line": 1817, + "column": 35 + }, + "end": { + "line": 1817, + "column": 45 + } + } + }, + "range": [ + 52315, + 52330 + ], + "loc": { + "start": { + "line": 1817, + "column": 30 + }, + "end": { + "line": 1817, + "column": 45 + } + } + } + ], + "range": [ + 52304, + 52331 + ], + "loc": { + "start": { + "line": 1817, + "column": 19 + }, + "end": { + "line": 1817, + "column": 46 + } + } + }, + "range": [ + 52297, + 52331 + ], + "loc": { + "start": { + "line": 1817, + "column": 12 + }, + "end": { + "line": 1817, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reL", + "range": [ + 52345, + 52348 + ], + "loc": { + "start": { + "line": 1818, + "column": 12 + }, + "end": { + "line": 1818, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52355, + 52361 + ], + "loc": { + "start": { + "line": 1818, + "column": 22 + }, + "end": { + "line": 1818, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52362, + 52366 + ], + "loc": { + "start": { + "line": 1818, + "column": 29 + }, + "end": { + "line": 1818, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "lwOperator", + "range": [ + 52367, + 52377 + ], + "loc": { + "start": { + "line": 1818, + "column": 34 + }, + "end": { + "line": 1818, + "column": 44 + } + } + }, + "range": [ + 52362, + 52377 + ], + "loc": { + "start": { + "line": 1818, + "column": 29 + }, + "end": { + "line": 1818, + "column": 44 + } + } + } + ], + "range": [ + 52351, + 52378 + ], + "loc": { + "start": { + "line": 1818, + "column": 18 + }, + "end": { + "line": 1818, + "column": 45 + } + } + }, + "range": [ + 52345, + 52378 + ], + "loc": { + "start": { + "line": 1818, + "column": 12 + }, + "end": { + "line": 1818, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reG", + "range": [ + 52392, + 52395 + ], + "loc": { + "start": { + "line": 1819, + "column": 12 + }, + "end": { + "line": 1819, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52402, + 52408 + ], + "loc": { + "start": { + "line": 1819, + "column": 22 + }, + "end": { + "line": 1819, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52409, + 52413 + ], + "loc": { + "start": { + "line": 1819, + "column": 29 + }, + "end": { + "line": 1819, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "grOperator", + "range": [ + 52414, + 52424 + ], + "loc": { + "start": { + "line": 1819, + "column": 34 + }, + "end": { + "line": 1819, + "column": 44 + } + } + }, + "range": [ + 52409, + 52424 + ], + "loc": { + "start": { + "line": 1819, + "column": 29 + }, + "end": { + "line": 1819, + "column": 44 + } + } + } + ], + "range": [ + 52398, + 52425 + ], + "loc": { + "start": { + "line": 1819, + "column": 18 + }, + "end": { + "line": 1819, + "column": 45 + } + } + }, + "range": [ + 52392, + 52425 + ], + "loc": { + "start": { + "line": 1819, + "column": 12 + }, + "end": { + "line": 1819, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reD", + "range": [ + 52439, + 52442 + ], + "loc": { + "start": { + "line": 1820, + "column": 12 + }, + "end": { + "line": 1820, + "column": 15 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52449, + 52455 + ], + "loc": { + "start": { + "line": 1820, + "column": 22 + }, + "end": { + "line": 1820, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52456, + 52460 + ], + "loc": { + "start": { + "line": 1820, + "column": 29 + }, + "end": { + "line": 1820, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "dfOperator", + "range": [ + 52461, + 52471 + ], + "loc": { + "start": { + "line": 1820, + "column": 34 + }, + "end": { + "line": 1820, + "column": 44 + } + } + }, + "range": [ + 52456, + 52471 + ], + "loc": { + "start": { + "line": 1820, + "column": 29 + }, + "end": { + "line": 1820, + "column": 44 + } + } + } + ], + "range": [ + 52445, + 52472 + ], + "loc": { + "start": { + "line": 1820, + "column": 18 + }, + "end": { + "line": 1820, + "column": 45 + } + } + }, + "range": [ + 52439, + 52472 + ], + "loc": { + "start": { + "line": 1820, + "column": 12 + }, + "end": { + "line": 1820, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reLk", + "range": [ + 52486, + 52490 + ], + "loc": { + "start": { + "line": 1821, + "column": 12 + }, + "end": { + "line": 1821, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52497, + 52503 + ], + "loc": { + "start": { + "line": 1821, + "column": 23 + }, + "end": { + "line": 1821, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 52504, + 52510 + ], + "loc": { + "start": { + "line": 1821, + "column": 30 + }, + "end": { + "line": 1821, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52511, + 52515 + ], + "loc": { + "start": { + "line": 1821, + "column": 37 + }, + "end": { + "line": 1821, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "lkOperator", + "range": [ + 52516, + 52526 + ], + "loc": { + "start": { + "line": 1821, + "column": 42 + }, + "end": { + "line": 1821, + "column": 52 + } + } + }, + "range": [ + 52511, + 52526 + ], + "loc": { + "start": { + "line": 1821, + "column": 37 + }, + "end": { + "line": 1821, + "column": 52 + } + } + } + ], + "range": [ + 52504, + 52527 + ], + "loc": { + "start": { + "line": 1821, + "column": 30 + }, + "end": { + "line": 1821, + "column": 53 + } + } + } + ], + "range": [ + 52493, + 52528 + ], + "loc": { + "start": { + "line": 1821, + "column": 19 + }, + "end": { + "line": 1821, + "column": 54 + } + } + }, + "range": [ + 52486, + 52528 + ], + "loc": { + "start": { + "line": 1821, + "column": 12 + }, + "end": { + "line": 1821, + "column": 54 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reEq", + "range": [ + 52542, + 52546 + ], + "loc": { + "start": { + "line": 1822, + "column": 12 + }, + "end": { + "line": 1822, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52553, + 52559 + ], + "loc": { + "start": { + "line": 1822, + "column": 23 + }, + "end": { + "line": 1822, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52560, + 52564 + ], + "loc": { + "start": { + "line": 1822, + "column": 30 + }, + "end": { + "line": 1822, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "eqOperator", + "range": [ + 52565, + 52575 + ], + "loc": { + "start": { + "line": 1822, + "column": 35 + }, + "end": { + "line": 1822, + "column": 45 + } + } + }, + "range": [ + 52560, + 52575 + ], + "loc": { + "start": { + "line": 1822, + "column": 30 + }, + "end": { + "line": 1822, + "column": 45 + } + } + } + ], + "range": [ + 52549, + 52576 + ], + "loc": { + "start": { + "line": 1822, + "column": 19 + }, + "end": { + "line": 1822, + "column": 46 + } + } + }, + "range": [ + 52542, + 52576 + ], + "loc": { + "start": { + "line": 1822, + "column": 12 + }, + "end": { + "line": 1822, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reSt", + "range": [ + 52590, + 52594 + ], + "loc": { + "start": { + "line": 1823, + "column": 12 + }, + "end": { + "line": 1823, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52601, + 52607 + ], + "loc": { + "start": { + "line": 1823, + "column": 23 + }, + "end": { + "line": 1823, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52608, + 52612 + ], + "loc": { + "start": { + "line": 1823, + "column": 30 + }, + "end": { + "line": 1823, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "stOperator", + "range": [ + 52613, + 52623 + ], + "loc": { + "start": { + "line": 1823, + "column": 35 + }, + "end": { + "line": 1823, + "column": 45 + } + } + }, + "range": [ + 52608, + 52623 + ], + "loc": { + "start": { + "line": 1823, + "column": 30 + }, + "end": { + "line": 1823, + "column": 45 + } + } + } + ], + "range": [ + 52597, + 52624 + ], + "loc": { + "start": { + "line": 1823, + "column": 19 + }, + "end": { + "line": 1823, + "column": 46 + } + } + }, + "range": [ + 52590, + 52624 + ], + "loc": { + "start": { + "line": 1823, + "column": 12 + }, + "end": { + "line": 1823, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reEn", + "range": [ + 52638, + 52642 + ], + "loc": { + "start": { + "line": 1824, + "column": 12 + }, + "end": { + "line": 1824, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52649, + 52655 + ], + "loc": { + "start": { + "line": 1824, + "column": 23 + }, + "end": { + "line": 1824, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52656, + 52660 + ], + "loc": { + "start": { + "line": 1824, + "column": 30 + }, + "end": { + "line": 1824, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "enOperator", + "range": [ + 52661, + 52671 + ], + "loc": { + "start": { + "line": 1824, + "column": 35 + }, + "end": { + "line": 1824, + "column": 45 + } + } + }, + "range": [ + 52656, + 52671 + ], + "loc": { + "start": { + "line": 1824, + "column": 30 + }, + "end": { + "line": 1824, + "column": 45 + } + } + } + ], + "range": [ + 52645, + 52672 + ], + "loc": { + "start": { + "line": 1824, + "column": 19 + }, + "end": { + "line": 1824, + "column": 46 + } + } + }, + "range": [ + 52638, + 52672 + ], + "loc": { + "start": { + "line": 1824, + "column": 12 + }, + "end": { + "line": 1824, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reEm", + "range": [ + 52786, + 52790 + ], + "loc": { + "start": { + "line": 1827, + "column": 12 + }, + "end": { + "line": 1827, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52793, + 52797 + ], + "loc": { + "start": { + "line": 1827, + "column": 19 + }, + "end": { + "line": 1827, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "emOperator", + "range": [ + 52798, + 52808 + ], + "loc": { + "start": { + "line": 1827, + "column": 24 + }, + "end": { + "line": 1827, + "column": 34 + } + } + }, + "range": [ + 52793, + 52808 + ], + "loc": { + "start": { + "line": 1827, + "column": 19 + }, + "end": { + "line": 1827, + "column": 34 + } + } + }, + "range": [ + 52786, + 52808 + ], + "loc": { + "start": { + "line": 1827, + "column": 12 + }, + "end": { + "line": 1827, + "column": 34 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " re_an = new RegExp(this.anOperator),", + "range": [ + 52686, + 52725 + ], + "loc": { + "start": { + "line": 1825, + "column": 12 + }, + "end": { + "line": 1825, + "column": 51 + } + } + }, + { + "type": "Line", + "value": " re_cr = new RegExp(this.curExp),", + "range": [ + 52738, + 52773 + ], + "loc": { + "start": { + "line": 1826, + "column": 12 + }, + "end": { + "line": 1826, + "column": 47 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reNm", + "range": [ + 52822, + 52826 + ], + "loc": { + "start": { + "line": 1828, + "column": 12 + }, + "end": { + "line": 1828, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52829, + 52833 + ], + "loc": { + "start": { + "line": 1828, + "column": 19 + }, + "end": { + "line": 1828, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "nmOperator", + "range": [ + 52834, + 52844 + ], + "loc": { + "start": { + "line": 1828, + "column": 24 + }, + "end": { + "line": 1828, + "column": 34 + } + } + }, + "range": [ + 52829, + 52844 + ], + "loc": { + "start": { + "line": 1828, + "column": 19 + }, + "end": { + "line": 1828, + "column": 34 + } + } + }, + "range": [ + 52822, + 52844 + ], + "loc": { + "start": { + "line": 1828, + "column": 12 + }, + "end": { + "line": 1828, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "reRe", + "range": [ + 52858, + 52862 + ], + "loc": { + "start": { + "line": 1829, + "column": 12 + }, + "end": { + "line": 1829, + "column": 16 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 52869, + 52875 + ], + "loc": { + "start": { + "line": 1829, + "column": 23 + }, + "end": { + "line": 1829, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "rgxEsc", + "range": [ + 52876, + 52882 + ], + "loc": { + "start": { + "line": 1829, + "column": 30 + }, + "end": { + "line": 1829, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52883, + 52887 + ], + "loc": { + "start": { + "line": 1829, + "column": 37 + }, + "end": { + "line": 1829, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "rgxOperator", + "range": [ + 52888, + 52899 + ], + "loc": { + "start": { + "line": 1829, + "column": 42 + }, + "end": { + "line": 1829, + "column": 53 + } + } + }, + "range": [ + 52883, + 52899 + ], + "loc": { + "start": { + "line": 1829, + "column": 37 + }, + "end": { + "line": 1829, + "column": 53 + } + } + } + ], + "range": [ + 52876, + 52900 + ], + "loc": { + "start": { + "line": 1829, + "column": 30 + }, + "end": { + "line": 1829, + "column": 54 + } + } + } + ], + "range": [ + 52865, + 52901 + ], + "loc": { + "start": { + "line": 1829, + "column": 19 + }, + "end": { + "line": 1829, + "column": 55 + } + } + }, + "range": [ + 52858, + 52901 + ], + "loc": { + "start": { + "line": 1829, + "column": 12 + }, + "end": { + "line": 1829, + "column": 55 + } + } + } + ], + "kind": "let", + "range": [ + 52245, + 52902 + ], + "loc": { + "start": { + "line": 1816, + "column": 8 + }, + "end": { + "line": 1829, + "column": 56 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 52912, + 52916 + ], + "loc": { + "start": { + "line": 1831, + "column": 8 + }, + "end": { + "line": 1831, + "column": 12 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 52919, + 52928 + ], + "loc": { + "start": { + "line": 1831, + "column": 15 + }, + "end": { + "line": 1831, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 52929, + 52933 + ], + "loc": { + "start": { + "line": 1831, + "column": 25 + }, + "end": { + "line": 1831, + "column": 29 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 52935, + 52939 + ], + "loc": { + "start": { + "line": 1831, + "column": 31 + }, + "end": { + "line": 1831, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 52940, + 52953 + ], + "loc": { + "start": { + "line": 1831, + "column": 36 + }, + "end": { + "line": 1831, + "column": 49 + } + } + }, + "range": [ + 52935, + 52953 + ], + "loc": { + "start": { + "line": 1831, + "column": 31 + }, + "end": { + "line": 1831, + "column": 49 + } + } + } + ], + "range": [ + 52919, + 52954 + ], + "loc": { + "start": { + "line": 1831, + "column": 15 + }, + "end": { + "line": 1831, + "column": 50 + } + } + }, + "range": [ + 52912, + 52954 + ], + "loc": { + "start": { + "line": 1831, + "column": 8 + }, + "end": { + "line": 1831, + "column": 50 + } + } + }, + "range": [ + 52912, + 52955 + ], + "loc": { + "start": { + "line": 1831, + "column": 8 + }, + "end": { + "line": 1831, + "column": 51 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "occurence", + "range": [ + 52969, + 52978 + ], + "loc": { + "start": { + "line": 1833, + "column": 12 + }, + "end": { + "line": 1833, + "column": 21 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 52981, + 52986 + ], + "loc": { + "start": { + "line": 1833, + "column": 24 + }, + "end": { + "line": 1833, + "column": 29 + } + } + }, + "range": [ + 52969, + 52986 + ], + "loc": { + "start": { + "line": 1833, + "column": 12 + }, + "end": { + "line": 1833, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 52965, + 52987 + ], + "loc": { + "start": { + "line": 1833, + "column": 8 + }, + "end": { + "line": 1833, + "column": 30 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Search arg operator tests", + "range": [ + 52997, + 53024 + ], + "loc": { + "start": { + "line": 1835, + "column": 8 + }, + "end": { + "line": 1835, + "column": 35 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasLO", + "range": [ + 53037, + 53042 + ], + "loc": { + "start": { + "line": 1836, + "column": 12 + }, + "end": { + "line": 1836, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reL", + "range": [ + 53045, + 53048 + ], + "loc": { + "start": { + "line": 1836, + "column": 20 + }, + "end": { + "line": 1836, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53049, + 53053 + ], + "loc": { + "start": { + "line": 1836, + "column": 24 + }, + "end": { + "line": 1836, + "column": 28 + } + } + }, + "range": [ + 53045, + 53053 + ], + "loc": { + "start": { + "line": 1836, + "column": 20 + }, + "end": { + "line": 1836, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53054, + 53058 + ], + "loc": { + "start": { + "line": 1836, + "column": 29 + }, + "end": { + "line": 1836, + "column": 33 + } + } + } + ], + "range": [ + 53045, + 53059 + ], + "loc": { + "start": { + "line": 1836, + "column": 20 + }, + "end": { + "line": 1836, + "column": 34 + } + } + }, + "range": [ + 53037, + 53059 + ], + "loc": { + "start": { + "line": 1836, + "column": 12 + }, + "end": { + "line": 1836, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasLE", + "range": [ + 53073, + 53078 + ], + "loc": { + "start": { + "line": 1837, + "column": 12 + }, + "end": { + "line": 1837, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reLe", + "range": [ + 53081, + 53085 + ], + "loc": { + "start": { + "line": 1837, + "column": 20 + }, + "end": { + "line": 1837, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53086, + 53090 + ], + "loc": { + "start": { + "line": 1837, + "column": 25 + }, + "end": { + "line": 1837, + "column": 29 + } + } + }, + "range": [ + 53081, + 53090 + ], + "loc": { + "start": { + "line": 1837, + "column": 20 + }, + "end": { + "line": 1837, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53091, + 53095 + ], + "loc": { + "start": { + "line": 1837, + "column": 30 + }, + "end": { + "line": 1837, + "column": 34 + } + } + } + ], + "range": [ + 53081, + 53096 + ], + "loc": { + "start": { + "line": 1837, + "column": 20 + }, + "end": { + "line": 1837, + "column": 35 + } + } + }, + "range": [ + 53073, + 53096 + ], + "loc": { + "start": { + "line": 1837, + "column": 12 + }, + "end": { + "line": 1837, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasGR", + "range": [ + 53110, + 53115 + ], + "loc": { + "start": { + "line": 1838, + "column": 12 + }, + "end": { + "line": 1838, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reG", + "range": [ + 53118, + 53121 + ], + "loc": { + "start": { + "line": 1838, + "column": 20 + }, + "end": { + "line": 1838, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53122, + 53126 + ], + "loc": { + "start": { + "line": 1838, + "column": 24 + }, + "end": { + "line": 1838, + "column": 28 + } + } + }, + "range": [ + 53118, + 53126 + ], + "loc": { + "start": { + "line": 1838, + "column": 20 + }, + "end": { + "line": 1838, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53127, + 53131 + ], + "loc": { + "start": { + "line": 1838, + "column": 29 + }, + "end": { + "line": 1838, + "column": 33 + } + } + } + ], + "range": [ + 53118, + 53132 + ], + "loc": { + "start": { + "line": 1838, + "column": 20 + }, + "end": { + "line": 1838, + "column": 34 + } + } + }, + "range": [ + 53110, + 53132 + ], + "loc": { + "start": { + "line": 1838, + "column": 12 + }, + "end": { + "line": 1838, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasGE", + "range": [ + 53146, + 53151 + ], + "loc": { + "start": { + "line": 1839, + "column": 12 + }, + "end": { + "line": 1839, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reGe", + "range": [ + 53154, + 53158 + ], + "loc": { + "start": { + "line": 1839, + "column": 20 + }, + "end": { + "line": 1839, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53159, + 53163 + ], + "loc": { + "start": { + "line": 1839, + "column": 25 + }, + "end": { + "line": 1839, + "column": 29 + } + } + }, + "range": [ + 53154, + 53163 + ], + "loc": { + "start": { + "line": 1839, + "column": 20 + }, + "end": { + "line": 1839, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53164, + 53168 + ], + "loc": { + "start": { + "line": 1839, + "column": 30 + }, + "end": { + "line": 1839, + "column": 34 + } + } + } + ], + "range": [ + 53154, + 53169 + ], + "loc": { + "start": { + "line": 1839, + "column": 20 + }, + "end": { + "line": 1839, + "column": 35 + } + } + }, + "range": [ + 53146, + 53169 + ], + "loc": { + "start": { + "line": 1839, + "column": 12 + }, + "end": { + "line": 1839, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasDF", + "range": [ + 53183, + 53188 + ], + "loc": { + "start": { + "line": 1840, + "column": 12 + }, + "end": { + "line": 1840, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reD", + "range": [ + 53191, + 53194 + ], + "loc": { + "start": { + "line": 1840, + "column": 20 + }, + "end": { + "line": 1840, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53195, + 53199 + ], + "loc": { + "start": { + "line": 1840, + "column": 24 + }, + "end": { + "line": 1840, + "column": 28 + } + } + }, + "range": [ + 53191, + 53199 + ], + "loc": { + "start": { + "line": 1840, + "column": 20 + }, + "end": { + "line": 1840, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53200, + 53204 + ], + "loc": { + "start": { + "line": 1840, + "column": 29 + }, + "end": { + "line": 1840, + "column": 33 + } + } + } + ], + "range": [ + 53191, + 53205 + ], + "loc": { + "start": { + "line": 1840, + "column": 20 + }, + "end": { + "line": 1840, + "column": 34 + } + } + }, + "range": [ + 53183, + 53205 + ], + "loc": { + "start": { + "line": 1840, + "column": 12 + }, + "end": { + "line": 1840, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasEQ", + "range": [ + 53219, + 53224 + ], + "loc": { + "start": { + "line": 1841, + "column": 12 + }, + "end": { + "line": 1841, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reEq", + "range": [ + 53227, + 53231 + ], + "loc": { + "start": { + "line": 1841, + "column": 20 + }, + "end": { + "line": 1841, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53232, + 53236 + ], + "loc": { + "start": { + "line": 1841, + "column": 25 + }, + "end": { + "line": 1841, + "column": 29 + } + } + }, + "range": [ + 53227, + 53236 + ], + "loc": { + "start": { + "line": 1841, + "column": 20 + }, + "end": { + "line": 1841, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53237, + 53241 + ], + "loc": { + "start": { + "line": 1841, + "column": 30 + }, + "end": { + "line": 1841, + "column": 34 + } + } + } + ], + "range": [ + 53227, + 53242 + ], + "loc": { + "start": { + "line": 1841, + "column": 20 + }, + "end": { + "line": 1841, + "column": 35 + } + } + }, + "range": [ + 53219, + 53242 + ], + "loc": { + "start": { + "line": 1841, + "column": 12 + }, + "end": { + "line": 1841, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasLK", + "range": [ + 53256, + 53261 + ], + "loc": { + "start": { + "line": 1842, + "column": 12 + }, + "end": { + "line": 1842, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reLk", + "range": [ + 53264, + 53268 + ], + "loc": { + "start": { + "line": 1842, + "column": 20 + }, + "end": { + "line": 1842, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53269, + 53273 + ], + "loc": { + "start": { + "line": 1842, + "column": 25 + }, + "end": { + "line": 1842, + "column": 29 + } + } + }, + "range": [ + 53264, + 53273 + ], + "loc": { + "start": { + "line": 1842, + "column": 20 + }, + "end": { + "line": 1842, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53274, + 53278 + ], + "loc": { + "start": { + "line": 1842, + "column": 30 + }, + "end": { + "line": 1842, + "column": 34 + } + } + } + ], + "range": [ + 53264, + 53279 + ], + "loc": { + "start": { + "line": 1842, + "column": 20 + }, + "end": { + "line": 1842, + "column": 35 + } + } + }, + "range": [ + 53256, + 53279 + ], + "loc": { + "start": { + "line": 1842, + "column": 12 + }, + "end": { + "line": 1842, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasST", + "range": [ + 53336, + 53341 + ], + "loc": { + "start": { + "line": 1844, + "column": 12 + }, + "end": { + "line": 1844, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reSt", + "range": [ + 53344, + 53348 + ], + "loc": { + "start": { + "line": 1844, + "column": 20 + }, + "end": { + "line": 1844, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53349, + 53353 + ], + "loc": { + "start": { + "line": 1844, + "column": 25 + }, + "end": { + "line": 1844, + "column": 29 + } + } + }, + "range": [ + 53344, + 53353 + ], + "loc": { + "start": { + "line": 1844, + "column": 20 + }, + "end": { + "line": 1844, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53354, + 53358 + ], + "loc": { + "start": { + "line": 1844, + "column": 30 + }, + "end": { + "line": 1844, + "column": 34 + } + } + } + ], + "range": [ + 53344, + 53359 + ], + "loc": { + "start": { + "line": 1844, + "column": 20 + }, + "end": { + "line": 1844, + "column": 35 + } + } + }, + "range": [ + 53336, + 53359 + ], + "loc": { + "start": { + "line": 1844, + "column": 12 + }, + "end": { + "line": 1844, + "column": 35 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " hatermN = re_an.test(term),", + "range": [ + 53293, + 53323 + ], + "loc": { + "start": { + "line": 1843, + "column": 12 + }, + "end": { + "line": 1843, + "column": 42 + } + } + } + ] + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasEN", + "range": [ + 53373, + 53378 + ], + "loc": { + "start": { + "line": 1845, + "column": 12 + }, + "end": { + "line": 1845, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reEn", + "range": [ + 53381, + 53385 + ], + "loc": { + "start": { + "line": 1845, + "column": 20 + }, + "end": { + "line": 1845, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53386, + 53390 + ], + "loc": { + "start": { + "line": 1845, + "column": 25 + }, + "end": { + "line": 1845, + "column": 29 + } + } + }, + "range": [ + 53381, + 53390 + ], + "loc": { + "start": { + "line": 1845, + "column": 20 + }, + "end": { + "line": 1845, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53391, + 53395 + ], + "loc": { + "start": { + "line": 1845, + "column": 30 + }, + "end": { + "line": 1845, + "column": 34 + } + } + } + ], + "range": [ + 53381, + 53396 + ], + "loc": { + "start": { + "line": 1845, + "column": 20 + }, + "end": { + "line": 1845, + "column": 35 + } + } + }, + "range": [ + 53373, + 53396 + ], + "loc": { + "start": { + "line": 1845, + "column": 12 + }, + "end": { + "line": 1845, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasEM", + "range": [ + 53410, + 53415 + ], + "loc": { + "start": { + "line": 1846, + "column": 12 + }, + "end": { + "line": 1846, + "column": 17 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "reEm", + "range": [ + 53419, + 53423 + ], + "loc": { + "start": { + "line": 1846, + "column": 21 + }, + "end": { + "line": 1846, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "term", + "range": [ + 53428, + 53432 + ], + "loc": { + "start": { + "line": 1846, + "column": 30 + }, + "end": { + "line": 1846, + "column": 34 + } + } + }, + "range": [ + 53419, + 53432 + ], + "loc": { + "start": { + "line": 1846, + "column": 21 + }, + "end": { + "line": 1846, + "column": 34 + } + } + }, + "range": [ + 53410, + 53433 + ], + "loc": { + "start": { + "line": 1846, + "column": 12 + }, + "end": { + "line": 1846, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasNM", + "range": [ + 53447, + 53452 + ], + "loc": { + "start": { + "line": 1847, + "column": 12 + }, + "end": { + "line": 1847, + "column": 17 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "reNm", + "range": [ + 53456, + 53460 + ], + "loc": { + "start": { + "line": 1847, + "column": 21 + }, + "end": { + "line": 1847, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "term", + "range": [ + 53465, + 53469 + ], + "loc": { + "start": { + "line": 1847, + "column": 30 + }, + "end": { + "line": 1847, + "column": 34 + } + } + }, + "range": [ + 53456, + 53469 + ], + "loc": { + "start": { + "line": 1847, + "column": 21 + }, + "end": { + "line": 1847, + "column": 34 + } + } + }, + "range": [ + 53447, + 53470 + ], + "loc": { + "start": { + "line": 1847, + "column": 12 + }, + "end": { + "line": 1847, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "hasRE", + "range": [ + 53484, + 53489 + ], + "loc": { + "start": { + "line": 1848, + "column": 12 + }, + "end": { + "line": 1848, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reRe", + "range": [ + 53492, + 53496 + ], + "loc": { + "start": { + "line": 1848, + "column": 20 + }, + "end": { + "line": 1848, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 53497, + 53501 + ], + "loc": { + "start": { + "line": 1848, + "column": 25 + }, + "end": { + "line": 1848, + "column": 29 + } + } + }, + "range": [ + 53492, + 53501 + ], + "loc": { + "start": { + "line": 1848, + "column": 20 + }, + "end": { + "line": 1848, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 53502, + 53506 + ], + "loc": { + "start": { + "line": 1848, + "column": 30 + }, + "end": { + "line": 1848, + "column": 34 + } + } + } + ], + "range": [ + 53492, + 53507 + ], + "loc": { + "start": { + "line": 1848, + "column": 20 + }, + "end": { + "line": 1848, + "column": 35 + } + } + }, + "range": [ + 53484, + 53507 + ], + "loc": { + "start": { + "line": 1848, + "column": 12 + }, + "end": { + "line": 1848, + "column": 35 + } + } + } + ], + "kind": "let", + "range": [ + 53033, + 53508 + ], + "loc": { + "start": { + "line": 1836, + "column": 8 + }, + "end": { + "line": 1848, + "column": 36 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Search arg operator tests", + "range": [ + 52997, + 53024 + ], + "loc": { + "start": { + "line": 1835, + "column": 8 + }, + "end": { + "line": 1835, + "column": 35 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " Check for dates or resolve date type", + "range": [ + 53518, + 53557 + ], + "loc": { + "start": { + "line": 1850, + "column": 8 + }, + "end": { + "line": 1850, + "column": 47 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 53570, + 53574 + ], + "loc": { + "start": { + "line": 1851, + "column": 12 + }, + "end": { + "line": 1851, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 53575, + 53582 + ], + "loc": { + "start": { + "line": 1851, + "column": 17 + }, + "end": { + "line": 1851, + "column": 24 + } + } + }, + "range": [ + 53570, + 53582 + ], + "loc": { + "start": { + "line": 1851, + "column": 12 + }, + "end": { + "line": 1851, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 53583, + 53589 + ], + "loc": { + "start": { + "line": 1851, + "column": 25 + }, + "end": { + "line": 1851, + "column": 31 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "DATE", + "range": [ + 53592, + 53596 + ], + "loc": { + "start": { + "line": 1851, + "column": 34 + }, + "end": { + "line": 1851, + "column": 38 + } + } + } + ], + "range": [ + 53591, + 53597 + ], + "loc": { + "start": { + "line": 1851, + "column": 33 + }, + "end": { + "line": 1851, + "column": 39 + } + } + } + ], + "range": [ + 53570, + 53598 + ], + "loc": { + "start": { + "line": 1851, + "column": 12 + }, + "end": { + "line": 1851, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dte1", + "range": [ + 53618, + 53622 + ], + "loc": { + "start": { + "line": 1852, + "column": 16 + }, + "end": { + "line": 1852, + "column": 20 + } + } + }, + "init": null, + "range": [ + 53618, + 53622 + ], + "loc": { + "start": { + "line": 1852, + "column": 16 + }, + "end": { + "line": 1852, + "column": 20 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dte2", + "range": [ + 53624, + 53628 + ], + "loc": { + "start": { + "line": 1852, + "column": 22 + }, + "end": { + "line": 1852, + "column": 26 + } + } + }, + "init": null, + "range": [ + 53624, + 53628 + ], + "loc": { + "start": { + "line": 1852, + "column": 22 + }, + "end": { + "line": 1852, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 53614, + 53629 + ], + "loc": { + "start": { + "line": 1852, + "column": 12 + }, + "end": { + "line": 1852, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dateType", + "range": [ + 53647, + 53655 + ], + "loc": { + "start": { + "line": 1854, + "column": 16 + }, + "end": { + "line": 1854, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 53658, + 53662 + ], + "loc": { + "start": { + "line": 1854, + "column": 27 + }, + "end": { + "line": 1854, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 53663, + 53666 + ], + "loc": { + "start": { + "line": 1854, + "column": 32 + }, + "end": { + "line": 1854, + "column": 35 + } + } + }, + "range": [ + 53658, + 53666 + ], + "loc": { + "start": { + "line": 1854, + "column": 27 + }, + "end": { + "line": 1854, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "dateType", + "range": [ + 53667, + 53675 + ], + "loc": { + "start": { + "line": 1854, + "column": 36 + }, + "end": { + "line": 1854, + "column": 44 + } + } + }, + "range": [ + 53658, + 53675 + ], + "loc": { + "start": { + "line": 1854, + "column": 27 + }, + "end": { + "line": 1854, + "column": 44 + } + } + }, + "range": [ + 53647, + 53675 + ], + "loc": { + "start": { + "line": 1854, + "column": 16 + }, + "end": { + "line": 1854, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 53643, + 53676 + ], + "loc": { + "start": { + "line": 1854, + "column": 12 + }, + "end": { + "line": 1854, + "column": 45 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 53693, + 53704 + ], + "loc": { + "start": { + "line": 1855, + "column": 16 + }, + "end": { + "line": 1855, + "column": 27 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 53707, + 53715 + ], + "loc": { + "start": { + "line": 1855, + "column": 30 + }, + "end": { + "line": 1855, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "isValid", + "range": [ + 53716, + 53723 + ], + "loc": { + "start": { + "line": 1855, + "column": 39 + }, + "end": { + "line": 1855, + "column": 46 + } + } + }, + "range": [ + 53707, + 53723 + ], + "loc": { + "start": { + "line": 1855, + "column": 30 + }, + "end": { + "line": 1855, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 53724, + 53728 + ], + "loc": { + "start": { + "line": 1855, + "column": 47 + }, + "end": { + "line": 1855, + "column": 51 + } + } + }, + "range": [ + 53707, + 53728 + ], + "loc": { + "start": { + "line": 1855, + "column": 30 + }, + "end": { + "line": 1855, + "column": 51 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateType", + "range": [ + 53729, + 53737 + ], + "loc": { + "start": { + "line": 1855, + "column": 52 + }, + "end": { + "line": 1855, + "column": 60 + } + } + } + ], + "range": [ + 53707, + 53738 + ], + "loc": { + "start": { + "line": 1855, + "column": 30 + }, + "end": { + "line": 1855, + "column": 61 + } + } + }, + "range": [ + 53693, + 53738 + ], + "loc": { + "start": { + "line": 1855, + "column": 16 + }, + "end": { + "line": 1855, + "column": 61 + } + } + } + ], + "kind": "let", + "range": [ + 53689, + 53739 + ], + "loc": { + "start": { + "line": 1855, + "column": 12 + }, + "end": { + "line": 1855, + "column": 62 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 53756, + 53765 + ], + "loc": { + "start": { + "line": 1856, + "column": 16 + }, + "end": { + "line": 1856, + "column": 25 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 53768, + 53776 + ], + "loc": { + "start": { + "line": 1856, + "column": 28 + }, + "end": { + "line": 1856, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 53777, + 53782 + ], + "loc": { + "start": { + "line": 1856, + "column": 37 + }, + "end": { + "line": 1856, + "column": 42 + } + } + }, + "range": [ + 53768, + 53782 + ], + "loc": { + "start": { + "line": 1856, + "column": 28 + }, + "end": { + "line": 1856, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 53783, + 53787 + ], + "loc": { + "start": { + "line": 1856, + "column": 43 + }, + "end": { + "line": 1856, + "column": 47 + } + } + }, + "range": [ + 53768, + 53787 + ], + "loc": { + "start": { + "line": 1856, + "column": 28 + }, + "end": { + "line": 1856, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "dateType", + "range": [ + 53788, + 53796 + ], + "loc": { + "start": { + "line": 1856, + "column": 48 + }, + "end": { + "line": 1856, + "column": 56 + } + } + } + ], + "range": [ + 53768, + 53797 + ], + "loc": { + "start": { + "line": 1856, + "column": 28 + }, + "end": { + "line": 1856, + "column": 57 + } + } + }, + "range": [ + 53756, + 53797 + ], + "loc": { + "start": { + "line": 1856, + "column": 16 + }, + "end": { + "line": 1856, + "column": 57 + } + } + } + ], + "kind": "let", + "range": [ + 53752, + 53798 + ], + "loc": { + "start": { + "line": 1856, + "column": 12 + }, + "end": { + "line": 1856, + "column": 58 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "locale", + "range": [ + 53815, + 53821 + ], + "loc": { + "start": { + "line": 1857, + "column": 16 + }, + "end": { + "line": 1857, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 53824, + 53832 + ], + "loc": { + "start": { + "line": 1857, + "column": 25 + }, + "end": { + "line": 1857, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "getLocale", + "range": [ + 53833, + 53842 + ], + "loc": { + "start": { + "line": 1857, + "column": 34 + }, + "end": { + "line": 1857, + "column": 43 + } + } + }, + "range": [ + 53824, + 53842 + ], + "loc": { + "start": { + "line": 1857, + "column": 25 + }, + "end": { + "line": 1857, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 53843, + 53849 + ], + "loc": { + "start": { + "line": 1857, + "column": 44 + }, + "end": { + "line": 1857, + "column": 50 + } + } + } + ], + "range": [ + 53824, + 53850 + ], + "loc": { + "start": { + "line": 1857, + "column": 25 + }, + "end": { + "line": 1857, + "column": 51 + } + } + }, + "range": [ + 53815, + 53850 + ], + "loc": { + "start": { + "line": 1857, + "column": 16 + }, + "end": { + "line": 1857, + "column": 51 + } + } + } + ], + "kind": "let", + "range": [ + 53811, + 53851 + ], + "loc": { + "start": { + "line": 1857, + "column": 12 + }, + "end": { + "line": 1857, + "column": 52 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Search arg dates tests", + "range": [ + 53865, + 53890 + ], + "loc": { + "start": { + "line": 1859, + "column": 12 + }, + "end": { + "line": 1859, + "column": 37 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isLDate", + "range": [ + 53907, + 53914 + ], + "loc": { + "start": { + "line": 1860, + "column": 16 + }, + "end": { + "line": 1860, + "column": 23 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasLO", + "range": [ + 53917, + 53922 + ], + "loc": { + "start": { + "line": 1860, + "column": 26 + }, + "end": { + "line": 1860, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 53942, + 53953 + ], + "loc": { + "start": { + "line": 1861, + "column": 16 + }, + "end": { + "line": 1861, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 53954, + 53958 + ], + "loc": { + "start": { + "line": 1861, + "column": 28 + }, + "end": { + "line": 1861, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 53959, + 53966 + ], + "loc": { + "start": { + "line": 1861, + "column": 33 + }, + "end": { + "line": 1861, + "column": 40 + } + } + }, + "range": [ + 53954, + 53966 + ], + "loc": { + "start": { + "line": 1861, + "column": 28 + }, + "end": { + "line": 1861, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reL", + "range": [ + 53967, + 53970 + ], + "loc": { + "start": { + "line": 1861, + "column": 41 + }, + "end": { + "line": 1861, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 53972, + 53974 + ], + "loc": { + "start": { + "line": 1861, + "column": 46 + }, + "end": { + "line": 1861, + "column": 48 + } + } + } + ], + "range": [ + 53954, + 53975 + ], + "loc": { + "start": { + "line": 1861, + "column": 28 + }, + "end": { + "line": 1861, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 53977, + 53983 + ], + "loc": { + "start": { + "line": 1861, + "column": 51 + }, + "end": { + "line": 1861, + "column": 57 + } + } + } + ], + "range": [ + 53942, + 53984 + ], + "loc": { + "start": { + "line": 1861, + "column": 16 + }, + "end": { + "line": 1861, + "column": 58 + } + } + }, + "range": [ + 53917, + 53984 + ], + "loc": { + "start": { + "line": 1860, + "column": 26 + }, + "end": { + "line": 1861, + "column": 58 + } + } + }, + "range": [ + 53907, + 53984 + ], + "loc": { + "start": { + "line": 1860, + "column": 16 + }, + "end": { + "line": 1861, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 53903, + 53985 + ], + "loc": { + "start": { + "line": 1860, + "column": 12 + }, + "end": { + "line": 1861, + "column": 59 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Search arg dates tests", + "range": [ + 53865, + 53890 + ], + "loc": { + "start": { + "line": 1859, + "column": 12 + }, + "end": { + "line": 1859, + "column": 37 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isLEDate", + "range": [ + 54002, + 54010 + ], + "loc": { + "start": { + "line": 1862, + "column": 16 + }, + "end": { + "line": 1862, + "column": 24 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasLE", + "range": [ + 54013, + 54018 + ], + "loc": { + "start": { + "line": 1862, + "column": 27 + }, + "end": { + "line": 1862, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 54038, + 54049 + ], + "loc": { + "start": { + "line": 1863, + "column": 16 + }, + "end": { + "line": 1863, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54050, + 54054 + ], + "loc": { + "start": { + "line": 1863, + "column": 28 + }, + "end": { + "line": 1863, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54055, + 54062 + ], + "loc": { + "start": { + "line": 1863, + "column": 33 + }, + "end": { + "line": 1863, + "column": 40 + } + } + }, + "range": [ + 54050, + 54062 + ], + "loc": { + "start": { + "line": 1863, + "column": 28 + }, + "end": { + "line": 1863, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLe", + "range": [ + 54063, + 54067 + ], + "loc": { + "start": { + "line": 1863, + "column": 41 + }, + "end": { + "line": 1863, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54069, + 54071 + ], + "loc": { + "start": { + "line": 1863, + "column": 47 + }, + "end": { + "line": 1863, + "column": 49 + } + } + } + ], + "range": [ + 54050, + 54072 + ], + "loc": { + "start": { + "line": 1863, + "column": 28 + }, + "end": { + "line": 1863, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54074, + 54080 + ], + "loc": { + "start": { + "line": 1863, + "column": 52 + }, + "end": { + "line": 1863, + "column": 58 + } + } + } + ], + "range": [ + 54038, + 54081 + ], + "loc": { + "start": { + "line": 1863, + "column": 16 + }, + "end": { + "line": 1863, + "column": 59 + } + } + }, + "range": [ + 54013, + 54081 + ], + "loc": { + "start": { + "line": 1862, + "column": 27 + }, + "end": { + "line": 1863, + "column": 59 + } + } + }, + "range": [ + 54002, + 54081 + ], + "loc": { + "start": { + "line": 1862, + "column": 16 + }, + "end": { + "line": 1863, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 53998, + 54082 + ], + "loc": { + "start": { + "line": 1862, + "column": 12 + }, + "end": { + "line": 1863, + "column": 60 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isGDate", + "range": [ + 54099, + 54106 + ], + "loc": { + "start": { + "line": 1864, + "column": 16 + }, + "end": { + "line": 1864, + "column": 23 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasGR", + "range": [ + 54109, + 54114 + ], + "loc": { + "start": { + "line": 1864, + "column": 26 + }, + "end": { + "line": 1864, + "column": 31 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 54134, + 54145 + ], + "loc": { + "start": { + "line": 1865, + "column": 16 + }, + "end": { + "line": 1865, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54146, + 54150 + ], + "loc": { + "start": { + "line": 1865, + "column": 28 + }, + "end": { + "line": 1865, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54151, + 54158 + ], + "loc": { + "start": { + "line": 1865, + "column": 33 + }, + "end": { + "line": 1865, + "column": 40 + } + } + }, + "range": [ + 54146, + 54158 + ], + "loc": { + "start": { + "line": 1865, + "column": 28 + }, + "end": { + "line": 1865, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reG", + "range": [ + 54159, + 54162 + ], + "loc": { + "start": { + "line": 1865, + "column": 41 + }, + "end": { + "line": 1865, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54164, + 54166 + ], + "loc": { + "start": { + "line": 1865, + "column": 46 + }, + "end": { + "line": 1865, + "column": 48 + } + } + } + ], + "range": [ + 54146, + 54167 + ], + "loc": { + "start": { + "line": 1865, + "column": 28 + }, + "end": { + "line": 1865, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54169, + 54175 + ], + "loc": { + "start": { + "line": 1865, + "column": 51 + }, + "end": { + "line": 1865, + "column": 57 + } + } + } + ], + "range": [ + 54134, + 54176 + ], + "loc": { + "start": { + "line": 1865, + "column": 16 + }, + "end": { + "line": 1865, + "column": 58 + } + } + }, + "range": [ + 54109, + 54176 + ], + "loc": { + "start": { + "line": 1864, + "column": 26 + }, + "end": { + "line": 1865, + "column": 58 + } + } + }, + "range": [ + 54099, + 54176 + ], + "loc": { + "start": { + "line": 1864, + "column": 16 + }, + "end": { + "line": 1865, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 54095, + 54177 + ], + "loc": { + "start": { + "line": 1864, + "column": 12 + }, + "end": { + "line": 1865, + "column": 59 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isGEDate", + "range": [ + 54194, + 54202 + ], + "loc": { + "start": { + "line": 1866, + "column": 16 + }, + "end": { + "line": 1866, + "column": 24 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasGE", + "range": [ + 54205, + 54210 + ], + "loc": { + "start": { + "line": 1866, + "column": 27 + }, + "end": { + "line": 1866, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 54230, + 54241 + ], + "loc": { + "start": { + "line": 1867, + "column": 16 + }, + "end": { + "line": 1867, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54242, + 54246 + ], + "loc": { + "start": { + "line": 1867, + "column": 28 + }, + "end": { + "line": 1867, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54247, + 54254 + ], + "loc": { + "start": { + "line": 1867, + "column": 33 + }, + "end": { + "line": 1867, + "column": 40 + } + } + }, + "range": [ + 54242, + 54254 + ], + "loc": { + "start": { + "line": 1867, + "column": 28 + }, + "end": { + "line": 1867, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reGe", + "range": [ + 54255, + 54259 + ], + "loc": { + "start": { + "line": 1867, + "column": 41 + }, + "end": { + "line": 1867, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54261, + 54263 + ], + "loc": { + "start": { + "line": 1867, + "column": 47 + }, + "end": { + "line": 1867, + "column": 49 + } + } + } + ], + "range": [ + 54242, + 54264 + ], + "loc": { + "start": { + "line": 1867, + "column": 28 + }, + "end": { + "line": 1867, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54266, + 54272 + ], + "loc": { + "start": { + "line": 1867, + "column": 52 + }, + "end": { + "line": 1867, + "column": 58 + } + } + } + ], + "range": [ + 54230, + 54273 + ], + "loc": { + "start": { + "line": 1867, + "column": 16 + }, + "end": { + "line": 1867, + "column": 59 + } + } + }, + "range": [ + 54205, + 54273 + ], + "loc": { + "start": { + "line": 1866, + "column": 27 + }, + "end": { + "line": 1867, + "column": 59 + } + } + }, + "range": [ + 54194, + 54273 + ], + "loc": { + "start": { + "line": 1866, + "column": 16 + }, + "end": { + "line": 1867, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 54190, + 54274 + ], + "loc": { + "start": { + "line": 1866, + "column": 12 + }, + "end": { + "line": 1867, + "column": 60 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isDFDate", + "range": [ + 54291, + 54299 + ], + "loc": { + "start": { + "line": 1868, + "column": 16 + }, + "end": { + "line": 1868, + "column": 24 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasDF", + "range": [ + 54302, + 54307 + ], + "loc": { + "start": { + "line": 1868, + "column": 27 + }, + "end": { + "line": 1868, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 54327, + 54338 + ], + "loc": { + "start": { + "line": 1869, + "column": 16 + }, + "end": { + "line": 1869, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54339, + 54343 + ], + "loc": { + "start": { + "line": 1869, + "column": 28 + }, + "end": { + "line": 1869, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54344, + 54351 + ], + "loc": { + "start": { + "line": 1869, + "column": 33 + }, + "end": { + "line": 1869, + "column": 40 + } + } + }, + "range": [ + 54339, + 54351 + ], + "loc": { + "start": { + "line": 1869, + "column": 28 + }, + "end": { + "line": 1869, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reD", + "range": [ + 54352, + 54355 + ], + "loc": { + "start": { + "line": 1869, + "column": 41 + }, + "end": { + "line": 1869, + "column": 44 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54357, + 54359 + ], + "loc": { + "start": { + "line": 1869, + "column": 46 + }, + "end": { + "line": 1869, + "column": 48 + } + } + } + ], + "range": [ + 54339, + 54360 + ], + "loc": { + "start": { + "line": 1869, + "column": 28 + }, + "end": { + "line": 1869, + "column": 49 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54362, + 54368 + ], + "loc": { + "start": { + "line": 1869, + "column": 51 + }, + "end": { + "line": 1869, + "column": 57 + } + } + } + ], + "range": [ + 54327, + 54369 + ], + "loc": { + "start": { + "line": 1869, + "column": 16 + }, + "end": { + "line": 1869, + "column": 58 + } + } + }, + "range": [ + 54302, + 54369 + ], + "loc": { + "start": { + "line": 1868, + "column": 27 + }, + "end": { + "line": 1869, + "column": 58 + } + } + }, + "range": [ + 54291, + 54369 + ], + "loc": { + "start": { + "line": 1868, + "column": 16 + }, + "end": { + "line": 1869, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 54287, + 54370 + ], + "loc": { + "start": { + "line": 1868, + "column": 12 + }, + "end": { + "line": 1869, + "column": 59 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isEQDate", + "range": [ + 54387, + 54395 + ], + "loc": { + "start": { + "line": 1870, + "column": 16 + }, + "end": { + "line": 1870, + "column": 24 + } + } + }, + "init": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "hasEQ", + "range": [ + 54398, + 54403 + ], + "loc": { + "start": { + "line": 1870, + "column": 27 + }, + "end": { + "line": 1870, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 54423, + 54434 + ], + "loc": { + "start": { + "line": 1871, + "column": 16 + }, + "end": { + "line": 1871, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54435, + 54439 + ], + "loc": { + "start": { + "line": 1871, + "column": 28 + }, + "end": { + "line": 1871, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54440, + 54447 + ], + "loc": { + "start": { + "line": 1871, + "column": 33 + }, + "end": { + "line": 1871, + "column": 40 + } + } + }, + "range": [ + 54435, + 54447 + ], + "loc": { + "start": { + "line": 1871, + "column": 28 + }, + "end": { + "line": 1871, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEq", + "range": [ + 54448, + 54452 + ], + "loc": { + "start": { + "line": 1871, + "column": 41 + }, + "end": { + "line": 1871, + "column": 45 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54454, + 54456 + ], + "loc": { + "start": { + "line": 1871, + "column": 47 + }, + "end": { + "line": 1871, + "column": 49 + } + } + } + ], + "range": [ + 54435, + 54457 + ], + "loc": { + "start": { + "line": 1871, + "column": 28 + }, + "end": { + "line": 1871, + "column": 50 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54459, + 54465 + ], + "loc": { + "start": { + "line": 1871, + "column": 52 + }, + "end": { + "line": 1871, + "column": 58 + } + } + } + ], + "range": [ + 54423, + 54466 + ], + "loc": { + "start": { + "line": 1871, + "column": 16 + }, + "end": { + "line": 1871, + "column": 59 + } + } + }, + "range": [ + 54398, + 54466 + ], + "loc": { + "start": { + "line": 1870, + "column": 27 + }, + "end": { + "line": 1871, + "column": 59 + } + } + }, + "range": [ + 54387, + 54466 + ], + "loc": { + "start": { + "line": 1870, + "column": 16 + }, + "end": { + "line": 1871, + "column": 59 + } + } + } + ], + "kind": "let", + "range": [ + 54383, + 54467 + ], + "loc": { + "start": { + "line": 1870, + "column": 12 + }, + "end": { + "line": 1871, + "column": 60 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte1", + "range": [ + 54481, + 54485 + ], + "loc": { + "start": { + "line": 1873, + "column": 12 + }, + "end": { + "line": 1873, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 54488, + 54497 + ], + "loc": { + "start": { + "line": 1873, + "column": 19 + }, + "end": { + "line": 1873, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 54498, + 54507 + ], + "loc": { + "start": { + "line": 1873, + "column": 29 + }, + "end": { + "line": 1873, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54509, + 54515 + ], + "loc": { + "start": { + "line": 1873, + "column": 40 + }, + "end": { + "line": 1873, + "column": 46 + } + } + } + ], + "range": [ + 54488, + 54516 + ], + "loc": { + "start": { + "line": 1873, + "column": 19 + }, + "end": { + "line": 1873, + "column": 47 + } + } + }, + "range": [ + 54481, + 54516 + ], + "loc": { + "start": { + "line": 1873, + "column": 12 + }, + "end": { + "line": 1873, + "column": 47 + } + } + }, + "range": [ + 54481, + 54517 + ], + "loc": { + "start": { + "line": 1873, + "column": 12 + }, + "end": { + "line": 1873, + "column": 48 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " lower equal date", + "range": [ + 54531, + 54550 + ], + "loc": { + "start": { + "line": 1875, + "column": 12 + }, + "end": { + "line": 1875, + "column": 31 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isLEDate", + "range": [ + 54567, + 54575 + ], + "loc": { + "start": { + "line": 1876, + "column": 16 + }, + "end": { + "line": 1876, + "column": 24 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 54595, + 54599 + ], + "loc": { + "start": { + "line": 1877, + "column": 16 + }, + "end": { + "line": 1877, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 54602, + 54611 + ], + "loc": { + "start": { + "line": 1877, + "column": 23 + }, + "end": { + "line": 1877, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54612, + 54616 + ], + "loc": { + "start": { + "line": 1877, + "column": 33 + }, + "end": { + "line": 1877, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54617, + 54624 + ], + "loc": { + "start": { + "line": 1877, + "column": 38 + }, + "end": { + "line": 1877, + "column": 45 + } + } + }, + "range": [ + 54612, + 54624 + ], + "loc": { + "start": { + "line": 1877, + "column": 33 + }, + "end": { + "line": 1877, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLe", + "range": [ + 54625, + 54629 + ], + "loc": { + "start": { + "line": 1877, + "column": 46 + }, + "end": { + "line": 1877, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54631, + 54633 + ], + "loc": { + "start": { + "line": 1877, + "column": 52 + }, + "end": { + "line": 1877, + "column": 54 + } + } + } + ], + "range": [ + 54612, + 54634 + ], + "loc": { + "start": { + "line": 1877, + "column": 33 + }, + "end": { + "line": 1877, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54636, + 54642 + ], + "loc": { + "start": { + "line": 1877, + "column": 57 + }, + "end": { + "line": 1877, + "column": 63 + } + } + } + ], + "range": [ + 54602, + 54643 + ], + "loc": { + "start": { + "line": 1877, + "column": 23 + }, + "end": { + "line": 1877, + "column": 64 + } + } + }, + "range": [ + 54595, + 54643 + ], + "loc": { + "start": { + "line": 1877, + "column": 16 + }, + "end": { + "line": 1877, + "column": 64 + } + } + }, + "range": [ + 54595, + 54644 + ], + "loc": { + "start": { + "line": 1877, + "column": 16 + }, + "end": { + "line": 1877, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 54661, + 54670 + ], + "loc": { + "start": { + "line": 1878, + "column": 16 + }, + "end": { + "line": 1878, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "dte1", + "range": [ + 54673, + 54677 + ], + "loc": { + "start": { + "line": 1878, + "column": 28 + }, + "end": { + "line": 1878, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "dte2", + "range": [ + 54681, + 54685 + ], + "loc": { + "start": { + "line": 1878, + "column": 36 + }, + "end": { + "line": 1878, + "column": 40 + } + } + }, + "range": [ + 54673, + 54685 + ], + "loc": { + "start": { + "line": 1878, + "column": 28 + }, + "end": { + "line": 1878, + "column": 40 + } + } + }, + "range": [ + 54661, + 54685 + ], + "loc": { + "start": { + "line": 1878, + "column": 16 + }, + "end": { + "line": 1878, + "column": 40 + } + } + }, + "range": [ + 54661, + 54686 + ], + "loc": { + "start": { + "line": 1878, + "column": 16 + }, + "end": { + "line": 1878, + "column": 41 + } + } + } + ], + "range": [ + 54577, + 54700 + ], + "loc": { + "start": { + "line": 1876, + "column": 26 + }, + "end": { + "line": 1879, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " lower date", + "range": [ + 54713, + 54726 + ], + "loc": { + "start": { + "line": 1880, + "column": 12 + }, + "end": { + "line": 1880, + "column": 25 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isLDate", + "range": [ + 54748, + 54755 + ], + "loc": { + "start": { + "line": 1881, + "column": 21 + }, + "end": { + "line": 1881, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 54775, + 54779 + ], + "loc": { + "start": { + "line": 1882, + "column": 16 + }, + "end": { + "line": 1882, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 54782, + 54791 + ], + "loc": { + "start": { + "line": 1882, + "column": 23 + }, + "end": { + "line": 1882, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54792, + 54796 + ], + "loc": { + "start": { + "line": 1882, + "column": 33 + }, + "end": { + "line": 1882, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54797, + 54804 + ], + "loc": { + "start": { + "line": 1882, + "column": 38 + }, + "end": { + "line": 1882, + "column": 45 + } + } + }, + "range": [ + 54792, + 54804 + ], + "loc": { + "start": { + "line": 1882, + "column": 33 + }, + "end": { + "line": 1882, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reL", + "range": [ + 54805, + 54808 + ], + "loc": { + "start": { + "line": 1882, + "column": 46 + }, + "end": { + "line": 1882, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54810, + 54812 + ], + "loc": { + "start": { + "line": 1882, + "column": 51 + }, + "end": { + "line": 1882, + "column": 53 + } + } + } + ], + "range": [ + 54792, + 54813 + ], + "loc": { + "start": { + "line": 1882, + "column": 33 + }, + "end": { + "line": 1882, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 54815, + 54821 + ], + "loc": { + "start": { + "line": 1882, + "column": 56 + }, + "end": { + "line": 1882, + "column": 62 + } + } + } + ], + "range": [ + 54782, + 54822 + ], + "loc": { + "start": { + "line": 1882, + "column": 23 + }, + "end": { + "line": 1882, + "column": 63 + } + } + }, + "range": [ + 54775, + 54822 + ], + "loc": { + "start": { + "line": 1882, + "column": 16 + }, + "end": { + "line": 1882, + "column": 63 + } + } + }, + "range": [ + 54775, + 54823 + ], + "loc": { + "start": { + "line": 1882, + "column": 16 + }, + "end": { + "line": 1882, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 54840, + 54849 + ], + "loc": { + "start": { + "line": 1883, + "column": 16 + }, + "end": { + "line": 1883, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "dte1", + "range": [ + 54852, + 54856 + ], + "loc": { + "start": { + "line": 1883, + "column": 28 + }, + "end": { + "line": 1883, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "dte2", + "range": [ + 54859, + 54863 + ], + "loc": { + "start": { + "line": 1883, + "column": 35 + }, + "end": { + "line": 1883, + "column": 39 + } + } + }, + "range": [ + 54852, + 54863 + ], + "loc": { + "start": { + "line": 1883, + "column": 28 + }, + "end": { + "line": 1883, + "column": 39 + } + } + }, + "range": [ + 54840, + 54863 + ], + "loc": { + "start": { + "line": 1883, + "column": 16 + }, + "end": { + "line": 1883, + "column": 39 + } + } + }, + "range": [ + 54840, + 54864 + ], + "loc": { + "start": { + "line": 1883, + "column": 16 + }, + "end": { + "line": 1883, + "column": 40 + } + } + } + ], + "range": [ + 54757, + 54878 + ], + "loc": { + "start": { + "line": 1881, + "column": 30 + }, + "end": { + "line": 1884, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " greater equal date", + "range": [ + 54891, + 54912 + ], + "loc": { + "start": { + "line": 1885, + "column": 12 + }, + "end": { + "line": 1885, + "column": 33 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isGEDate", + "range": [ + 54934, + 54942 + ], + "loc": { + "start": { + "line": 1886, + "column": 21 + }, + "end": { + "line": 1886, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 54962, + 54966 + ], + "loc": { + "start": { + "line": 1887, + "column": 16 + }, + "end": { + "line": 1887, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 54969, + 54978 + ], + "loc": { + "start": { + "line": 1887, + "column": 23 + }, + "end": { + "line": 1887, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 54979, + 54983 + ], + "loc": { + "start": { + "line": 1887, + "column": 33 + }, + "end": { + "line": 1887, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 54984, + 54991 + ], + "loc": { + "start": { + "line": 1887, + "column": 38 + }, + "end": { + "line": 1887, + "column": 45 + } + } + }, + "range": [ + 54979, + 54991 + ], + "loc": { + "start": { + "line": 1887, + "column": 33 + }, + "end": { + "line": 1887, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reGe", + "range": [ + 54992, + 54996 + ], + "loc": { + "start": { + "line": 1887, + "column": 46 + }, + "end": { + "line": 1887, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 54998, + 55000 + ], + "loc": { + "start": { + "line": 1887, + "column": 52 + }, + "end": { + "line": 1887, + "column": 54 + } + } + } + ], + "range": [ + 54979, + 55001 + ], + "loc": { + "start": { + "line": 1887, + "column": 33 + }, + "end": { + "line": 1887, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 55003, + 55009 + ], + "loc": { + "start": { + "line": 1887, + "column": 57 + }, + "end": { + "line": 1887, + "column": 63 + } + } + } + ], + "range": [ + 54969, + 55010 + ], + "loc": { + "start": { + "line": 1887, + "column": 23 + }, + "end": { + "line": 1887, + "column": 64 + } + } + }, + "range": [ + 54962, + 55010 + ], + "loc": { + "start": { + "line": 1887, + "column": 16 + }, + "end": { + "line": 1887, + "column": 64 + } + } + }, + "range": [ + 54962, + 55011 + ], + "loc": { + "start": { + "line": 1887, + "column": 16 + }, + "end": { + "line": 1887, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 55028, + 55037 + ], + "loc": { + "start": { + "line": 1888, + "column": 16 + }, + "end": { + "line": 1888, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "dte1", + "range": [ + 55040, + 55044 + ], + "loc": { + "start": { + "line": 1888, + "column": 28 + }, + "end": { + "line": 1888, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55048, + 55052 + ], + "loc": { + "start": { + "line": 1888, + "column": 36 + }, + "end": { + "line": 1888, + "column": 40 + } + } + }, + "range": [ + 55040, + 55052 + ], + "loc": { + "start": { + "line": 1888, + "column": 28 + }, + "end": { + "line": 1888, + "column": 40 + } + } + }, + "range": [ + 55028, + 55052 + ], + "loc": { + "start": { + "line": 1888, + "column": 16 + }, + "end": { + "line": 1888, + "column": 40 + } + } + }, + "range": [ + 55028, + 55053 + ], + "loc": { + "start": { + "line": 1888, + "column": 16 + }, + "end": { + "line": 1888, + "column": 41 + } + } + } + ], + "range": [ + 54944, + 55067 + ], + "loc": { + "start": { + "line": 1886, + "column": 31 + }, + "end": { + "line": 1889, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " greater date", + "range": [ + 55080, + 55095 + ], + "loc": { + "start": { + "line": 1890, + "column": 12 + }, + "end": { + "line": 1890, + "column": 27 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isGDate", + "range": [ + 55117, + 55124 + ], + "loc": { + "start": { + "line": 1891, + "column": 21 + }, + "end": { + "line": 1891, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55144, + 55148 + ], + "loc": { + "start": { + "line": 1892, + "column": 16 + }, + "end": { + "line": 1892, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 55151, + 55160 + ], + "loc": { + "start": { + "line": 1892, + "column": 23 + }, + "end": { + "line": 1892, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 55161, + 55165 + ], + "loc": { + "start": { + "line": 1892, + "column": 33 + }, + "end": { + "line": 1892, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 55166, + 55173 + ], + "loc": { + "start": { + "line": 1892, + "column": 38 + }, + "end": { + "line": 1892, + "column": 45 + } + } + }, + "range": [ + 55161, + 55173 + ], + "loc": { + "start": { + "line": 1892, + "column": 33 + }, + "end": { + "line": 1892, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reG", + "range": [ + 55174, + 55177 + ], + "loc": { + "start": { + "line": 1892, + "column": 46 + }, + "end": { + "line": 1892, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 55179, + 55181 + ], + "loc": { + "start": { + "line": 1892, + "column": 51 + }, + "end": { + "line": 1892, + "column": 53 + } + } + } + ], + "range": [ + 55161, + 55182 + ], + "loc": { + "start": { + "line": 1892, + "column": 33 + }, + "end": { + "line": 1892, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 55184, + 55190 + ], + "loc": { + "start": { + "line": 1892, + "column": 56 + }, + "end": { + "line": 1892, + "column": 62 + } + } + } + ], + "range": [ + 55151, + 55191 + ], + "loc": { + "start": { + "line": 1892, + "column": 23 + }, + "end": { + "line": 1892, + "column": 63 + } + } + }, + "range": [ + 55144, + 55191 + ], + "loc": { + "start": { + "line": 1892, + "column": 16 + }, + "end": { + "line": 1892, + "column": 63 + } + } + }, + "range": [ + 55144, + 55192 + ], + "loc": { + "start": { + "line": 1892, + "column": 16 + }, + "end": { + "line": 1892, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 55209, + 55218 + ], + "loc": { + "start": { + "line": 1893, + "column": 16 + }, + "end": { + "line": 1893, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "dte1", + "range": [ + 55221, + 55225 + ], + "loc": { + "start": { + "line": 1893, + "column": 28 + }, + "end": { + "line": 1893, + "column": 32 + } + } + }, + "right": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55228, + 55232 + ], + "loc": { + "start": { + "line": 1893, + "column": 35 + }, + "end": { + "line": 1893, + "column": 39 + } + } + }, + "range": [ + 55221, + 55232 + ], + "loc": { + "start": { + "line": 1893, + "column": 28 + }, + "end": { + "line": 1893, + "column": 39 + } + } + }, + "range": [ + 55209, + 55232 + ], + "loc": { + "start": { + "line": 1893, + "column": 16 + }, + "end": { + "line": 1893, + "column": 39 + } + } + }, + "range": [ + 55209, + 55233 + ], + "loc": { + "start": { + "line": 1893, + "column": 16 + }, + "end": { + "line": 1893, + "column": 40 + } + } + } + ], + "range": [ + 55126, + 55247 + ], + "loc": { + "start": { + "line": 1891, + "column": 30 + }, + "end": { + "line": 1894, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " different date", + "range": [ + 55260, + 55277 + ], + "loc": { + "start": { + "line": 1895, + "column": 12 + }, + "end": { + "line": 1895, + "column": 29 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isDFDate", + "range": [ + 55299, + 55307 + ], + "loc": { + "start": { + "line": 1896, + "column": 21 + }, + "end": { + "line": 1896, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55327, + 55331 + ], + "loc": { + "start": { + "line": 1897, + "column": 16 + }, + "end": { + "line": 1897, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 55334, + 55343 + ], + "loc": { + "start": { + "line": 1897, + "column": 23 + }, + "end": { + "line": 1897, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 55344, + 55348 + ], + "loc": { + "start": { + "line": 1897, + "column": 33 + }, + "end": { + "line": 1897, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 55349, + 55356 + ], + "loc": { + "start": { + "line": 1897, + "column": 38 + }, + "end": { + "line": 1897, + "column": 45 + } + } + }, + "range": [ + 55344, + 55356 + ], + "loc": { + "start": { + "line": 1897, + "column": 33 + }, + "end": { + "line": 1897, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reD", + "range": [ + 55357, + 55360 + ], + "loc": { + "start": { + "line": 1897, + "column": 46 + }, + "end": { + "line": 1897, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 55362, + 55364 + ], + "loc": { + "start": { + "line": 1897, + "column": 51 + }, + "end": { + "line": 1897, + "column": 53 + } + } + } + ], + "range": [ + 55344, + 55365 + ], + "loc": { + "start": { + "line": 1897, + "column": 33 + }, + "end": { + "line": 1897, + "column": 54 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 55367, + 55373 + ], + "loc": { + "start": { + "line": 1897, + "column": 56 + }, + "end": { + "line": 1897, + "column": 62 + } + } + } + ], + "range": [ + 55334, + 55374 + ], + "loc": { + "start": { + "line": 1897, + "column": 23 + }, + "end": { + "line": 1897, + "column": 63 + } + } + }, + "range": [ + 55327, + 55374 + ], + "loc": { + "start": { + "line": 1897, + "column": 16 + }, + "end": { + "line": 1897, + "column": 63 + } + } + }, + "range": [ + 55327, + 55375 + ], + "loc": { + "start": { + "line": 1897, + "column": 16 + }, + "end": { + "line": 1897, + "column": 64 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 55392, + 55401 + ], + "loc": { + "start": { + "line": 1898, + "column": 16 + }, + "end": { + "line": 1898, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte1", + "range": [ + 55404, + 55408 + ], + "loc": { + "start": { + "line": 1898, + "column": 28 + }, + "end": { + "line": 1898, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 55409, + 55417 + ], + "loc": { + "start": { + "line": 1898, + "column": 33 + }, + "end": { + "line": 1898, + "column": 41 + } + } + }, + "range": [ + 55404, + 55417 + ], + "loc": { + "start": { + "line": 1898, + "column": 28 + }, + "end": { + "line": 1898, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 55404, + 55419 + ], + "loc": { + "start": { + "line": 1898, + "column": 28 + }, + "end": { + "line": 1898, + "column": 43 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55424, + 55428 + ], + "loc": { + "start": { + "line": 1898, + "column": 48 + }, + "end": { + "line": 1898, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 55429, + 55437 + ], + "loc": { + "start": { + "line": 1898, + "column": 53 + }, + "end": { + "line": 1898, + "column": 61 + } + } + }, + "range": [ + 55424, + 55437 + ], + "loc": { + "start": { + "line": 1898, + "column": 48 + }, + "end": { + "line": 1898, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 55424, + 55439 + ], + "loc": { + "start": { + "line": 1898, + "column": 48 + }, + "end": { + "line": 1898, + "column": 63 + } + } + }, + "range": [ + 55404, + 55439 + ], + "loc": { + "start": { + "line": 1898, + "column": 28 + }, + "end": { + "line": 1898, + "column": 63 + } + } + }, + "range": [ + 55392, + 55439 + ], + "loc": { + "start": { + "line": 1898, + "column": 16 + }, + "end": { + "line": 1898, + "column": 63 + } + } + }, + "range": [ + 55392, + 55440 + ], + "loc": { + "start": { + "line": 1898, + "column": 16 + }, + "end": { + "line": 1898, + "column": 64 + } + } + } + ], + "range": [ + 55309, + 55454 + ], + "loc": { + "start": { + "line": 1896, + "column": 31 + }, + "end": { + "line": 1899, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " equal date", + "range": [ + 55467, + 55480 + ], + "loc": { + "start": { + "line": 1900, + "column": 12 + }, + "end": { + "line": 1900, + "column": 25 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isEQDate", + "range": [ + 55502, + 55510 + ], + "loc": { + "start": { + "line": 1901, + "column": 21 + }, + "end": { + "line": 1901, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55530, + 55534 + ], + "loc": { + "start": { + "line": 1902, + "column": 16 + }, + "end": { + "line": 1902, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 55537, + 55546 + ], + "loc": { + "start": { + "line": 1902, + "column": 23 + }, + "end": { + "line": 1902, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 55547, + 55551 + ], + "loc": { + "start": { + "line": 1902, + "column": 33 + }, + "end": { + "line": 1902, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 55552, + 55559 + ], + "loc": { + "start": { + "line": 1902, + "column": 38 + }, + "end": { + "line": 1902, + "column": 45 + } + } + }, + "range": [ + 55547, + 55559 + ], + "loc": { + "start": { + "line": 1902, + "column": 33 + }, + "end": { + "line": 1902, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEq", + "range": [ + 55560, + 55564 + ], + "loc": { + "start": { + "line": 1902, + "column": 46 + }, + "end": { + "line": 1902, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 55566, + 55568 + ], + "loc": { + "start": { + "line": 1902, + "column": 52 + }, + "end": { + "line": 1902, + "column": 54 + } + } + } + ], + "range": [ + 55547, + 55569 + ], + "loc": { + "start": { + "line": 1902, + "column": 33 + }, + "end": { + "line": 1902, + "column": 55 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 55571, + 55577 + ], + "loc": { + "start": { + "line": 1902, + "column": 57 + }, + "end": { + "line": 1902, + "column": 63 + } + } + } + ], + "range": [ + 55537, + 55578 + ], + "loc": { + "start": { + "line": 1902, + "column": 23 + }, + "end": { + "line": 1902, + "column": 64 + } + } + }, + "range": [ + 55530, + 55578 + ], + "loc": { + "start": { + "line": 1902, + "column": 16 + }, + "end": { + "line": 1902, + "column": 64 + } + } + }, + "range": [ + 55530, + 55579 + ], + "loc": { + "start": { + "line": 1902, + "column": 16 + }, + "end": { + "line": 1902, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 55596, + 55605 + ], + "loc": { + "start": { + "line": 1903, + "column": 16 + }, + "end": { + "line": 1903, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte1", + "range": [ + 55608, + 55612 + ], + "loc": { + "start": { + "line": 1903, + "column": 28 + }, + "end": { + "line": 1903, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 55613, + 55621 + ], + "loc": { + "start": { + "line": 1903, + "column": 33 + }, + "end": { + "line": 1903, + "column": 41 + } + } + }, + "range": [ + 55608, + 55621 + ], + "loc": { + "start": { + "line": 1903, + "column": 28 + }, + "end": { + "line": 1903, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 55608, + 55623 + ], + "loc": { + "start": { + "line": 1903, + "column": 28 + }, + "end": { + "line": 1903, + "column": 43 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55628, + 55632 + ], + "loc": { + "start": { + "line": 1903, + "column": 48 + }, + "end": { + "line": 1903, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 55633, + 55641 + ], + "loc": { + "start": { + "line": 1903, + "column": 53 + }, + "end": { + "line": 1903, + "column": 61 + } + } + }, + "range": [ + 55628, + 55641 + ], + "loc": { + "start": { + "line": 1903, + "column": 48 + }, + "end": { + "line": 1903, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 55628, + 55643 + ], + "loc": { + "start": { + "line": 1903, + "column": 48 + }, + "end": { + "line": 1903, + "column": 63 + } + } + }, + "range": [ + 55608, + 55643 + ], + "loc": { + "start": { + "line": 1903, + "column": 28 + }, + "end": { + "line": 1903, + "column": 63 + } + } + }, + "range": [ + 55596, + 55643 + ], + "loc": { + "start": { + "line": 1903, + "column": 16 + }, + "end": { + "line": 1903, + "column": 63 + } + } + }, + "range": [ + 55596, + 55644 + ], + "loc": { + "start": { + "line": 1903, + "column": 16 + }, + "end": { + "line": 1903, + "column": 64 + } + } + } + ], + "range": [ + 55512, + 55658 + ], + "loc": { + "start": { + "line": 1901, + "column": 31 + }, + "end": { + "line": 1904, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " searched keyword with * operator doesn't have to be a date", + "range": [ + 55671, + 55732 + ], + "loc": { + "start": { + "line": 1905, + "column": 12 + }, + "end": { + "line": 1905, + "column": 73 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "reLk", + "range": [ + 55754, + 55758 + ], + "loc": { + "start": { + "line": 1906, + "column": 21 + }, + "end": { + "line": 1906, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 55759, + 55763 + ], + "loc": { + "start": { + "line": 1906, + "column": 26 + }, + "end": { + "line": 1906, + "column": 30 + } + } + }, + "range": [ + 55754, + 55763 + ], + "loc": { + "start": { + "line": 1906, + "column": 21 + }, + "end": { + "line": 1906, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 55764, + 55768 + ], + "loc": { + "start": { + "line": 1906, + "column": 31 + }, + "end": { + "line": 1906, + "column": 35 + } + } + } + ], + "range": [ + 55754, + 55769 + ], + "loc": { + "start": { + "line": 1906, + "column": 21 + }, + "end": { + "line": 1906, + "column": 36 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 55801, + 55810 + ], + "loc": { + "start": { + "line": 1907, + "column": 16 + }, + "end": { + "line": 1907, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 55813, + 55821 + ], + "loc": { + "start": { + "line": 1907, + "column": 28 + }, + "end": { + "line": 1907, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 55822, + 55826 + ], + "loc": { + "start": { + "line": 1907, + "column": 37 + }, + "end": { + "line": 1907, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 55827, + 55834 + ], + "loc": { + "start": { + "line": 1907, + "column": 42 + }, + "end": { + "line": 1907, + "column": 49 + } + } + }, + "range": [ + 55822, + 55834 + ], + "loc": { + "start": { + "line": 1907, + "column": 37 + }, + "end": { + "line": 1907, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLk", + "range": [ + 55835, + 55839 + ], + "loc": { + "start": { + "line": 1907, + "column": 50 + }, + "end": { + "line": 1907, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 55841, + 55843 + ], + "loc": { + "start": { + "line": 1907, + "column": 56 + }, + "end": { + "line": 1907, + "column": 58 + } + } + } + ], + "range": [ + 55822, + 55844 + ], + "loc": { + "start": { + "line": 1907, + "column": 37 + }, + "end": { + "line": 1907, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 55846, + 55855 + ], + "loc": { + "start": { + "line": 1907, + "column": 61 + }, + "end": { + "line": 1907, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 55877, + 55882 + ], + "loc": { + "start": { + "line": 1908, + "column": 20 + }, + "end": { + "line": 1908, + "column": 25 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 55884, + 55888 + ], + "loc": { + "start": { + "line": 1908, + "column": 27 + }, + "end": { + "line": 1908, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 55889, + 55902 + ], + "loc": { + "start": { + "line": 1908, + "column": 32 + }, + "end": { + "line": 1908, + "column": 45 + } + } + }, + "range": [ + 55884, + 55902 + ], + "loc": { + "start": { + "line": 1908, + "column": 27 + }, + "end": { + "line": 1908, + "column": 45 + } + } + } + ], + "range": [ + 55813, + 55903 + ], + "loc": { + "start": { + "line": 1907, + "column": 28 + }, + "end": { + "line": 1908, + "column": 46 + } + } + }, + "range": [ + 55801, + 55903 + ], + "loc": { + "start": { + "line": 1907, + "column": 16 + }, + "end": { + "line": 1908, + "column": 46 + } + } + }, + "range": [ + 55801, + 55904 + ], + "loc": { + "start": { + "line": 1907, + "column": 16 + }, + "end": { + "line": 1908, + "column": 47 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " like date", + "range": [ + 55772, + 55784 + ], + "loc": { + "start": { + "line": 1906, + "column": 39 + }, + "end": { + "line": 1906, + "column": 51 + } + } + } + ] + } + ], + "range": [ + 55771, + 55918 + ], + "loc": { + "start": { + "line": 1906, + "column": 38 + }, + "end": { + "line": 1909, + "column": 13 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isValidDate", + "range": [ + 55940, + 55951 + ], + "loc": { + "start": { + "line": 1910, + "column": 21 + }, + "end": { + "line": 1910, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 55952, + 55956 + ], + "loc": { + "start": { + "line": 1910, + "column": 33 + }, + "end": { + "line": 1910, + "column": 37 + } + } + } + ], + "range": [ + 55940, + 55957 + ], + "loc": { + "start": { + "line": 1910, + "column": 21 + }, + "end": { + "line": 1910, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "dte2", + "range": [ + 55977, + 55981 + ], + "loc": { + "start": { + "line": 1911, + "column": 16 + }, + "end": { + "line": 1911, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseDate", + "range": [ + 55984, + 55993 + ], + "loc": { + "start": { + "line": 1911, + "column": 23 + }, + "end": { + "line": 1911, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 55994, + 55998 + ], + "loc": { + "start": { + "line": 1911, + "column": 33 + }, + "end": { + "line": 1911, + "column": 37 + } + } + }, + { + "type": "Identifier", + "name": "locale", + "range": [ + 56000, + 56006 + ], + "loc": { + "start": { + "line": 1911, + "column": 39 + }, + "end": { + "line": 1911, + "column": 45 + } + } + } + ], + "range": [ + 55984, + 56007 + ], + "loc": { + "start": { + "line": 1911, + "column": 23 + }, + "end": { + "line": 1911, + "column": 46 + } + } + }, + "range": [ + 55977, + 56007 + ], + "loc": { + "start": { + "line": 1911, + "column": 16 + }, + "end": { + "line": 1911, + "column": 46 + } + } + }, + "range": [ + 55977, + 56008 + ], + "loc": { + "start": { + "line": 1911, + "column": 16 + }, + "end": { + "line": 1911, + "column": 47 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 56025, + 56034 + ], + "loc": { + "start": { + "line": 1912, + "column": 16 + }, + "end": { + "line": 1912, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte1", + "range": [ + 56037, + 56041 + ], + "loc": { + "start": { + "line": 1912, + "column": 28 + }, + "end": { + "line": 1912, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 56042, + 56050 + ], + "loc": { + "start": { + "line": 1912, + "column": 33 + }, + "end": { + "line": 1912, + "column": 41 + } + } + }, + "range": [ + 56037, + 56050 + ], + "loc": { + "start": { + "line": 1912, + "column": 28 + }, + "end": { + "line": 1912, + "column": 41 + } + } + }, + "arguments": [], + "range": [ + 56037, + 56052 + ], + "loc": { + "start": { + "line": 1912, + "column": 28 + }, + "end": { + "line": 1912, + "column": 43 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dte2", + "range": [ + 56057, + 56061 + ], + "loc": { + "start": { + "line": 1912, + "column": 48 + }, + "end": { + "line": 1912, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 56062, + 56070 + ], + "loc": { + "start": { + "line": 1912, + "column": 53 + }, + "end": { + "line": 1912, + "column": 61 + } + } + }, + "range": [ + 56057, + 56070 + ], + "loc": { + "start": { + "line": 1912, + "column": 48 + }, + "end": { + "line": 1912, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 56057, + 56072 + ], + "loc": { + "start": { + "line": 1912, + "column": 48 + }, + "end": { + "line": 1912, + "column": 63 + } + } + }, + "range": [ + 56037, + 56072 + ], + "loc": { + "start": { + "line": 1912, + "column": 28 + }, + "end": { + "line": 1912, + "column": 63 + } + } + }, + "range": [ + 56025, + 56072 + ], + "loc": { + "start": { + "line": 1912, + "column": 16 + }, + "end": { + "line": 1912, + "column": 63 + } + } + }, + "range": [ + 56025, + 56073 + ], + "loc": { + "start": { + "line": 1912, + "column": 16 + }, + "end": { + "line": 1912, + "column": 64 + } + } + } + ], + "range": [ + 55959, + 56087 + ], + "loc": { + "start": { + "line": 1910, + "column": 40 + }, + "end": { + "line": 1913, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "empty", + "range": [ + 56100, + 56107 + ], + "loc": { + "start": { + "line": 1914, + "column": 12 + }, + "end": { + "line": 1914, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasEM", + "range": [ + 56129, + 56134 + ], + "loc": { + "start": { + "line": 1915, + "column": 21 + }, + "end": { + "line": 1915, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 56154, + 56163 + ], + "loc": { + "start": { + "line": 1916, + "column": 16 + }, + "end": { + "line": 1916, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmptyString", + "range": [ + 56166, + 56179 + ], + "loc": { + "start": { + "line": 1916, + "column": 28 + }, + "end": { + "line": 1916, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 56180, + 56189 + ], + "loc": { + "start": { + "line": 1916, + "column": 42 + }, + "end": { + "line": 1916, + "column": 51 + } + } + } + ], + "range": [ + 56166, + 56190 + ], + "loc": { + "start": { + "line": 1916, + "column": 28 + }, + "end": { + "line": 1916, + "column": 52 + } + } + }, + "range": [ + 56154, + 56190 + ], + "loc": { + "start": { + "line": 1916, + "column": 16 + }, + "end": { + "line": 1916, + "column": 52 + } + } + }, + "range": [ + 56154, + 56191 + ], + "loc": { + "start": { + "line": 1916, + "column": 16 + }, + "end": { + "line": 1916, + "column": 53 + } + } + } + ], + "range": [ + 56136, + 56205 + ], + "loc": { + "start": { + "line": 1915, + "column": 28 + }, + "end": { + "line": 1917, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "non-empty", + "range": [ + 56218, + 56229 + ], + "loc": { + "start": { + "line": 1918, + "column": 12 + }, + "end": { + "line": 1918, + "column": 23 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasNM", + "range": [ + 56251, + 56256 + ], + "loc": { + "start": { + "line": 1919, + "column": 21 + }, + "end": { + "line": 1919, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 56276, + 56285 + ], + "loc": { + "start": { + "line": 1920, + "column": 16 + }, + "end": { + "line": 1920, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmptyString", + "range": [ + 56289, + 56302 + ], + "loc": { + "start": { + "line": 1920, + "column": 29 + }, + "end": { + "line": 1920, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 56303, + 56312 + ], + "loc": { + "start": { + "line": 1920, + "column": 43 + }, + "end": { + "line": 1920, + "column": 52 + } + } + } + ], + "range": [ + 56289, + 56313 + ], + "loc": { + "start": { + "line": 1920, + "column": 29 + }, + "end": { + "line": 1920, + "column": 53 + } + } + }, + "prefix": true, + "range": [ + 56288, + 56313 + ], + "loc": { + "start": { + "line": 1920, + "column": 28 + }, + "end": { + "line": 1920, + "column": 53 + } + } + }, + "range": [ + 56276, + 56313 + ], + "loc": { + "start": { + "line": 1920, + "column": 16 + }, + "end": { + "line": 1920, + "column": 53 + } + } + }, + "range": [ + 56276, + 56314 + ], + "loc": { + "start": { + "line": 1920, + "column": 16 + }, + "end": { + "line": 1920, + "column": 54 + } + } + } + ], + "range": [ + 56258, + 56328 + ], + "loc": { + "start": { + "line": 1919, + "column": 28 + }, + "end": { + "line": 1921, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 56352, + 56361 + ], + "loc": { + "start": { + "line": 1922, + "column": 16 + }, + "end": { + "line": 1922, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 56364, + 56372 + ], + "loc": { + "start": { + "line": 1922, + "column": 28 + }, + "end": { + "line": 1922, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 56373, + 56377 + ], + "loc": { + "start": { + "line": 1922, + "column": 37 + }, + "end": { + "line": 1922, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 56379, + 56388 + ], + "loc": { + "start": { + "line": 1922, + "column": 43 + }, + "end": { + "line": 1922, + "column": 52 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 56410, + 56414 + ], + "loc": { + "start": { + "line": 1923, + "column": 20 + }, + "end": { + "line": 1923, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExactMatch", + "range": [ + 56415, + 56427 + ], + "loc": { + "start": { + "line": 1923, + "column": 25 + }, + "end": { + "line": 1923, + "column": 37 + } + } + }, + "range": [ + 56410, + 56427 + ], + "loc": { + "start": { + "line": 1923, + "column": 20 + }, + "end": { + "line": 1923, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 56428, + 56434 + ], + "loc": { + "start": { + "line": 1923, + "column": 38 + }, + "end": { + "line": 1923, + "column": 44 + } + } + } + ], + "range": [ + 56410, + 56435 + ], + "loc": { + "start": { + "line": 1923, + "column": 20 + }, + "end": { + "line": 1923, + "column": 45 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 56437, + 56441 + ], + "loc": { + "start": { + "line": 1923, + "column": 47 + }, + "end": { + "line": 1923, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 56442, + 56455 + ], + "loc": { + "start": { + "line": 1923, + "column": 52 + }, + "end": { + "line": 1923, + "column": 65 + } + } + }, + "range": [ + 56437, + 56455 + ], + "loc": { + "start": { + "line": 1923, + "column": 47 + }, + "end": { + "line": 1923, + "column": 65 + } + } + } + ], + "range": [ + 56364, + 56456 + ], + "loc": { + "start": { + "line": 1922, + "column": 28 + }, + "end": { + "line": 1923, + "column": 66 + } + } + }, + "range": [ + 56352, + 56456 + ], + "loc": { + "start": { + "line": 1922, + "column": 16 + }, + "end": { + "line": 1923, + "column": 66 + } + } + }, + "range": [ + 56352, + 56457 + ], + "loc": { + "start": { + "line": 1922, + "column": 16 + }, + "end": { + "line": 1923, + "column": 67 + } + } + } + ], + "range": [ + 56334, + 56471 + ], + "loc": { + "start": { + "line": 1921, + "column": 19 + }, + "end": { + "line": 1924, + "column": 13 + } + } + }, + "range": [ + 56247, + 56471 + ], + "loc": { + "start": { + "line": 1919, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "non-empty", + "range": [ + 56218, + 56229 + ], + "loc": { + "start": { + "line": 1918, + "column": 12 + }, + "end": { + "line": 1918, + "column": 23 + } + } + } + ] + }, + "range": [ + 56125, + 56471 + ], + "loc": { + "start": { + "line": 1915, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "empty", + "range": [ + 56100, + 56107 + ], + "loc": { + "start": { + "line": 1914, + "column": 12 + }, + "end": { + "line": 1914, + "column": 19 + } + } + } + ] + }, + "range": [ + 55936, + 56471 + ], + "loc": { + "start": { + "line": 1910, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + } + }, + "range": [ + 55750, + 56471 + ], + "loc": { + "start": { + "line": 1906, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " searched keyword with * operator doesn't have to be a date", + "range": [ + 55671, + 55732 + ], + "loc": { + "start": { + "line": 1905, + "column": 12 + }, + "end": { + "line": 1905, + "column": 73 + } + } + } + ] + }, + "range": [ + 55498, + 56471 + ], + "loc": { + "start": { + "line": 1901, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " equal date", + "range": [ + 55467, + 55480 + ], + "loc": { + "start": { + "line": 1900, + "column": 12 + }, + "end": { + "line": 1900, + "column": 25 + } + } + } + ] + }, + "range": [ + 55295, + 56471 + ], + "loc": { + "start": { + "line": 1896, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " different date", + "range": [ + 55260, + 55277 + ], + "loc": { + "start": { + "line": 1895, + "column": 12 + }, + "end": { + "line": 1895, + "column": 29 + } + } + } + ] + }, + "range": [ + 55113, + 56471 + ], + "loc": { + "start": { + "line": 1891, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " greater date", + "range": [ + 55080, + 55095 + ], + "loc": { + "start": { + "line": 1890, + "column": 12 + }, + "end": { + "line": 1890, + "column": 27 + } + } + } + ] + }, + "range": [ + 54930, + 56471 + ], + "loc": { + "start": { + "line": 1886, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " greater equal date", + "range": [ + 54891, + 54912 + ], + "loc": { + "start": { + "line": 1885, + "column": 12 + }, + "end": { + "line": 1885, + "column": 33 + } + } + } + ] + }, + "range": [ + 54744, + 56471 + ], + "loc": { + "start": { + "line": 1881, + "column": 17 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " lower date", + "range": [ + 54713, + 54726 + ], + "loc": { + "start": { + "line": 1880, + "column": 12 + }, + "end": { + "line": 1880, + "column": 25 + } + } + } + ] + }, + "range": [ + 54563, + 56471 + ], + "loc": { + "start": { + "line": 1876, + "column": 12 + }, + "end": { + "line": 1924, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " lower equal date", + "range": [ + 54531, + 54550 + ], + "loc": { + "start": { + "line": 1875, + "column": 12 + }, + "end": { + "line": 1875, + "column": 31 + } + } + } + ] + } + ], + "range": [ + 53600, + 56481 + ], + "loc": { + "start": { + "line": 1851, + "column": 42 + }, + "end": { + "line": 1925, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 56624, + 56631 + ], + "loc": { + "start": { + "line": 1930, + "column": 12 + }, + "end": { + "line": 1930, + "column": 19 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 56634, + 56640 + ], + "loc": { + "start": { + "line": 1930, + "column": 22 + }, + "end": { + "line": 1930, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 56641, + 56650 + ], + "loc": { + "start": { + "line": 1930, + "column": 29 + }, + "end": { + "line": 1930, + "column": 38 + } + } + } + ], + "range": [ + 56634, + 56651 + ], + "loc": { + "start": { + "line": 1930, + "column": 22 + }, + "end": { + "line": 1930, + "column": 39 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 56655, + 56662 + ], + "loc": { + "start": { + "line": 1930, + "column": 43 + }, + "end": { + "line": 1930, + "column": 50 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 56663, + 56672 + ], + "loc": { + "start": { + "line": 1930, + "column": 51 + }, + "end": { + "line": 1930, + "column": 60 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 56674, + 56681 + ], + "loc": { + "start": { + "line": 1930, + "column": 62 + }, + "end": { + "line": 1930, + "column": 69 + } + } + } + ], + "range": [ + 56655, + 56682 + ], + "loc": { + "start": { + "line": 1930, + "column": 43 + }, + "end": { + "line": 1930, + "column": 70 + } + } + }, + "range": [ + 56634, + 56682 + ], + "loc": { + "start": { + "line": 1930, + "column": 22 + }, + "end": { + "line": 1930, + "column": 70 + } + } + }, + "range": [ + 56624, + 56682 + ], + "loc": { + "start": { + "line": 1930, + "column": 12 + }, + "end": { + "line": 1930, + "column": 70 + } + } + }, + "range": [ + 56624, + 56683 + ], + "loc": { + "start": { + "line": 1930, + "column": 12 + }, + "end": { + "line": 1930, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Convert to number anyways to auto-resolve type in case not", + "range": [ + 56510, + 56571 + ], + "loc": { + "start": { + "line": 1928, + "column": 12 + }, + "end": { + "line": 1928, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " defined by configuration", + "range": [ + 56584, + 56611 + ], + "loc": { + "start": { + "line": 1929, + "column": 12 + }, + "end": { + "line": 1929, + "column": 39 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " first checks if there is any operator (<,>,<=,>=,!,*,=,{,},", + "range": [ + 56697, + 56759 + ], + "loc": { + "start": { + "line": 1932, + "column": 12 + }, + "end": { + "line": 1932, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " rgx:)", + "range": [ + 56772, + 56780 + ], + "loc": { + "start": { + "line": 1933, + "column": 12 + }, + "end": { + "line": 1933, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " lower equal", + "range": [ + 56793, + 56807 + ], + "loc": { + "start": { + "line": 1934, + "column": 12 + }, + "end": { + "line": 1934, + "column": 26 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasLE", + "range": [ + 56824, + 56829 + ], + "loc": { + "start": { + "line": 1935, + "column": 16 + }, + "end": { + "line": 1935, + "column": 21 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 56849, + 56858 + ], + "loc": { + "start": { + "line": 1936, + "column": 16 + }, + "end": { + "line": 1936, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 56861, + 56868 + ], + "loc": { + "start": { + "line": 1936, + "column": 28 + }, + "end": { + "line": 1936, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 56872, + 56879 + ], + "loc": { + "start": { + "line": 1936, + "column": 39 + }, + "end": { + "line": 1936, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 56901, + 56905 + ], + "loc": { + "start": { + "line": 1937, + "column": 20 + }, + "end": { + "line": 1937, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 56906, + 56913 + ], + "loc": { + "start": { + "line": 1937, + "column": 25 + }, + "end": { + "line": 1937, + "column": 32 + } + } + }, + "range": [ + 56901, + 56913 + ], + "loc": { + "start": { + "line": 1937, + "column": 20 + }, + "end": { + "line": 1937, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLe", + "range": [ + 56914, + 56918 + ], + "loc": { + "start": { + "line": 1937, + "column": 33 + }, + "end": { + "line": 1937, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 56920, + 56922 + ], + "loc": { + "start": { + "line": 1937, + "column": 39 + }, + "end": { + "line": 1937, + "column": 41 + } + } + } + ], + "range": [ + 56901, + 56923 + ], + "loc": { + "start": { + "line": 1937, + "column": 20 + }, + "end": { + "line": 1937, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 56945, + 56952 + ], + "loc": { + "start": { + "line": 1938, + "column": 20 + }, + "end": { + "line": 1938, + "column": 27 + } + } + } + ], + "range": [ + 56872, + 56970 + ], + "loc": { + "start": { + "line": 1936, + "column": 39 + }, + "end": { + "line": 1939, + "column": 17 + } + } + }, + "range": [ + 56861, + 56970 + ], + "loc": { + "start": { + "line": 1936, + "column": 28 + }, + "end": { + "line": 1939, + "column": 17 + } + } + }, + "range": [ + 56849, + 56970 + ], + "loc": { + "start": { + "line": 1936, + "column": 16 + }, + "end": { + "line": 1939, + "column": 17 + } + } + }, + "range": [ + 56849, + 56971 + ], + "loc": { + "start": { + "line": 1936, + "column": 16 + }, + "end": { + "line": 1939, + "column": 18 + } + } + } + ], + "range": [ + 56831, + 56985 + ], + "loc": { + "start": { + "line": 1935, + "column": 23 + }, + "end": { + "line": 1940, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "greater equal", + "range": [ + 56998, + 57013 + ], + "loc": { + "start": { + "line": 1941, + "column": 12 + }, + "end": { + "line": 1941, + "column": 27 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasGE", + "range": [ + 57035, + 57040 + ], + "loc": { + "start": { + "line": 1942, + "column": 21 + }, + "end": { + "line": 1942, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 57060, + 57069 + ], + "loc": { + "start": { + "line": 1943, + "column": 16 + }, + "end": { + "line": 1943, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 57072, + 57079 + ], + "loc": { + "start": { + "line": 1943, + "column": 28 + }, + "end": { + "line": 1943, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 57083, + 57090 + ], + "loc": { + "start": { + "line": 1943, + "column": 39 + }, + "end": { + "line": 1943, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 57112, + 57116 + ], + "loc": { + "start": { + "line": 1944, + "column": 20 + }, + "end": { + "line": 1944, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 57117, + 57124 + ], + "loc": { + "start": { + "line": 1944, + "column": 25 + }, + "end": { + "line": 1944, + "column": 32 + } + } + }, + "range": [ + 57112, + 57124 + ], + "loc": { + "start": { + "line": 1944, + "column": 20 + }, + "end": { + "line": 1944, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reGe", + "range": [ + 57125, + 57129 + ], + "loc": { + "start": { + "line": 1944, + "column": 33 + }, + "end": { + "line": 1944, + "column": 37 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 57131, + 57133 + ], + "loc": { + "start": { + "line": 1944, + "column": 39 + }, + "end": { + "line": 1944, + "column": 41 + } + } + } + ], + "range": [ + 57112, + 57134 + ], + "loc": { + "start": { + "line": 1944, + "column": 20 + }, + "end": { + "line": 1944, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 57156, + 57163 + ], + "loc": { + "start": { + "line": 1945, + "column": 20 + }, + "end": { + "line": 1945, + "column": 27 + } + } + } + ], + "range": [ + 57083, + 57181 + ], + "loc": { + "start": { + "line": 1943, + "column": 39 + }, + "end": { + "line": 1946, + "column": 17 + } + } + }, + "range": [ + 57072, + 57181 + ], + "loc": { + "start": { + "line": 1943, + "column": 28 + }, + "end": { + "line": 1946, + "column": 17 + } + } + }, + "range": [ + 57060, + 57181 + ], + "loc": { + "start": { + "line": 1943, + "column": 16 + }, + "end": { + "line": 1946, + "column": 17 + } + } + }, + "range": [ + 57060, + 57182 + ], + "loc": { + "start": { + "line": 1943, + "column": 16 + }, + "end": { + "line": 1946, + "column": 18 + } + } + } + ], + "range": [ + 57042, + 57196 + ], + "loc": { + "start": { + "line": 1942, + "column": 28 + }, + "end": { + "line": 1947, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "lower", + "range": [ + 57209, + 57216 + ], + "loc": { + "start": { + "line": 1948, + "column": 12 + }, + "end": { + "line": 1948, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasLO", + "range": [ + 57238, + 57243 + ], + "loc": { + "start": { + "line": 1949, + "column": 21 + }, + "end": { + "line": 1949, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 57263, + 57272 + ], + "loc": { + "start": { + "line": 1950, + "column": 16 + }, + "end": { + "line": 1950, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 57275, + 57282 + ], + "loc": { + "start": { + "line": 1950, + "column": 28 + }, + "end": { + "line": 1950, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 57285, + 57292 + ], + "loc": { + "start": { + "line": 1950, + "column": 38 + }, + "end": { + "line": 1950, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 57314, + 57318 + ], + "loc": { + "start": { + "line": 1951, + "column": 20 + }, + "end": { + "line": 1951, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 57319, + 57326 + ], + "loc": { + "start": { + "line": 1951, + "column": 25 + }, + "end": { + "line": 1951, + "column": 32 + } + } + }, + "range": [ + 57314, + 57326 + ], + "loc": { + "start": { + "line": 1951, + "column": 20 + }, + "end": { + "line": 1951, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reL", + "range": [ + 57327, + 57330 + ], + "loc": { + "start": { + "line": 1951, + "column": 33 + }, + "end": { + "line": 1951, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 57332, + 57334 + ], + "loc": { + "start": { + "line": 1951, + "column": 38 + }, + "end": { + "line": 1951, + "column": 40 + } + } + } + ], + "range": [ + 57314, + 57335 + ], + "loc": { + "start": { + "line": 1951, + "column": 20 + }, + "end": { + "line": 1951, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 57357, + 57364 + ], + "loc": { + "start": { + "line": 1952, + "column": 20 + }, + "end": { + "line": 1952, + "column": 27 + } + } + } + ], + "range": [ + 57285, + 57382 + ], + "loc": { + "start": { + "line": 1950, + "column": 38 + }, + "end": { + "line": 1953, + "column": 17 + } + } + }, + "range": [ + 57275, + 57382 + ], + "loc": { + "start": { + "line": 1950, + "column": 28 + }, + "end": { + "line": 1953, + "column": 17 + } + } + }, + "range": [ + 57263, + 57382 + ], + "loc": { + "start": { + "line": 1950, + "column": 16 + }, + "end": { + "line": 1953, + "column": 17 + } + } + }, + "range": [ + 57263, + 57383 + ], + "loc": { + "start": { + "line": 1950, + "column": 16 + }, + "end": { + "line": 1953, + "column": 18 + } + } + } + ], + "range": [ + 57245, + 57397 + ], + "loc": { + "start": { + "line": 1949, + "column": 28 + }, + "end": { + "line": 1954, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "greater", + "range": [ + 57410, + 57419 + ], + "loc": { + "start": { + "line": 1955, + "column": 12 + }, + "end": { + "line": 1955, + "column": 21 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasGR", + "range": [ + 57441, + 57446 + ], + "loc": { + "start": { + "line": 1956, + "column": 21 + }, + "end": { + "line": 1956, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 57466, + 57475 + ], + "loc": { + "start": { + "line": 1957, + "column": 16 + }, + "end": { + "line": 1957, + "column": 25 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 57478, + 57485 + ], + "loc": { + "start": { + "line": 1957, + "column": 28 + }, + "end": { + "line": 1957, + "column": 35 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 57488, + 57495 + ], + "loc": { + "start": { + "line": 1957, + "column": 38 + }, + "end": { + "line": 1957, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 57517, + 57521 + ], + "loc": { + "start": { + "line": 1958, + "column": 20 + }, + "end": { + "line": 1958, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 57522, + 57529 + ], + "loc": { + "start": { + "line": 1958, + "column": 25 + }, + "end": { + "line": 1958, + "column": 32 + } + } + }, + "range": [ + 57517, + 57529 + ], + "loc": { + "start": { + "line": 1958, + "column": 20 + }, + "end": { + "line": 1958, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reG", + "range": [ + 57530, + 57533 + ], + "loc": { + "start": { + "line": 1958, + "column": 33 + }, + "end": { + "line": 1958, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 57535, + 57537 + ], + "loc": { + "start": { + "line": 1958, + "column": 38 + }, + "end": { + "line": 1958, + "column": 40 + } + } + } + ], + "range": [ + 57517, + 57538 + ], + "loc": { + "start": { + "line": 1958, + "column": 20 + }, + "end": { + "line": 1958, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 57560, + 57567 + ], + "loc": { + "start": { + "line": 1959, + "column": 20 + }, + "end": { + "line": 1959, + "column": 27 + } + } + } + ], + "range": [ + 57488, + 57585 + ], + "loc": { + "start": { + "line": 1957, + "column": 38 + }, + "end": { + "line": 1960, + "column": 17 + } + } + }, + "range": [ + 57478, + 57585 + ], + "loc": { + "start": { + "line": 1957, + "column": 28 + }, + "end": { + "line": 1960, + "column": 17 + } + } + }, + "range": [ + 57466, + 57585 + ], + "loc": { + "start": { + "line": 1957, + "column": 16 + }, + "end": { + "line": 1960, + "column": 17 + } + } + }, + "range": [ + 57466, + 57586 + ], + "loc": { + "start": { + "line": 1957, + "column": 16 + }, + "end": { + "line": 1960, + "column": 18 + } + } + } + ], + "range": [ + 57448, + 57600 + ], + "loc": { + "start": { + "line": 1956, + "column": 28 + }, + "end": { + "line": 1961, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "different", + "range": [ + 57613, + 57624 + ], + "loc": { + "start": { + "line": 1962, + "column": 12 + }, + "end": { + "line": 1962, + "column": 23 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasDF", + "range": [ + 57646, + 57651 + ], + "loc": { + "start": { + "line": 1963, + "column": 21 + }, + "end": { + "line": 1963, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 57671, + 57680 + ], + "loc": { + "start": { + "line": 1964, + "column": 16 + }, + "end": { + "line": 1964, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 57683, + 57691 + ], + "loc": { + "start": { + "line": 1964, + "column": 28 + }, + "end": { + "line": 1964, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 57692, + 57696 + ], + "loc": { + "start": { + "line": 1964, + "column": 37 + }, + "end": { + "line": 1964, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 57697, + 57704 + ], + "loc": { + "start": { + "line": 1964, + "column": 42 + }, + "end": { + "line": 1964, + "column": 49 + } + } + }, + "range": [ + 57692, + 57704 + ], + "loc": { + "start": { + "line": 1964, + "column": 37 + }, + "end": { + "line": 1964, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reD", + "range": [ + 57705, + 57708 + ], + "loc": { + "start": { + "line": 1964, + "column": 50 + }, + "end": { + "line": 1964, + "column": 53 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 57710, + 57712 + ], + "loc": { + "start": { + "line": 1964, + "column": 55 + }, + "end": { + "line": 1964, + "column": 57 + } + } + } + ], + "range": [ + 57692, + 57713 + ], + "loc": { + "start": { + "line": 1964, + "column": 37 + }, + "end": { + "line": 1964, + "column": 58 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 57715, + 57724 + ], + "loc": { + "start": { + "line": 1964, + "column": 60 + }, + "end": { + "line": 1964, + "column": 69 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 57746, + 57751 + ], + "loc": { + "start": { + "line": 1965, + "column": 20 + }, + "end": { + "line": 1965, + "column": 25 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 57753, + 57757 + ], + "loc": { + "start": { + "line": 1965, + "column": 27 + }, + "end": { + "line": 1965, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 57758, + 57771 + ], + "loc": { + "start": { + "line": 1965, + "column": 32 + }, + "end": { + "line": 1965, + "column": 45 + } + } + }, + "range": [ + 57753, + 57771 + ], + "loc": { + "start": { + "line": 1965, + "column": 27 + }, + "end": { + "line": 1965, + "column": 45 + } + } + } + ], + "range": [ + 57683, + 57772 + ], + "loc": { + "start": { + "line": 1964, + "column": 28 + }, + "end": { + "line": 1965, + "column": 46 + } + } + }, + "consequent": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 57775, + 57780 + ], + "loc": { + "start": { + "line": 1965, + "column": 49 + }, + "end": { + "line": 1965, + "column": 54 + } + } + }, + "alternate": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 57783, + 57787 + ], + "loc": { + "start": { + "line": 1965, + "column": 57 + }, + "end": { + "line": 1965, + "column": 61 + } + } + }, + "range": [ + 57683, + 57787 + ], + "loc": { + "start": { + "line": 1964, + "column": 28 + }, + "end": { + "line": 1965, + "column": 61 + } + } + }, + "range": [ + 57671, + 57787 + ], + "loc": { + "start": { + "line": 1964, + "column": 16 + }, + "end": { + "line": 1965, + "column": 61 + } + } + }, + "range": [ + 57671, + 57788 + ], + "loc": { + "start": { + "line": 1964, + "column": 16 + }, + "end": { + "line": 1965, + "column": 62 + } + } + } + ], + "range": [ + 57653, + 57802 + ], + "loc": { + "start": { + "line": 1963, + "column": 28 + }, + "end": { + "line": 1966, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "like", + "range": [ + 57815, + 57821 + ], + "loc": { + "start": { + "line": 1967, + "column": 12 + }, + "end": { + "line": 1967, + "column": 18 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasLK", + "range": [ + 57843, + 57848 + ], + "loc": { + "start": { + "line": 1968, + "column": 21 + }, + "end": { + "line": 1968, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 57868, + 57877 + ], + "loc": { + "start": { + "line": 1969, + "column": 16 + }, + "end": { + "line": 1969, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 57880, + 57888 + ], + "loc": { + "start": { + "line": 1969, + "column": 28 + }, + "end": { + "line": 1969, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 57889, + 57893 + ], + "loc": { + "start": { + "line": 1969, + "column": 37 + }, + "end": { + "line": 1969, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 57894, + 57901 + ], + "loc": { + "start": { + "line": 1969, + "column": 42 + }, + "end": { + "line": 1969, + "column": 49 + } + } + }, + "range": [ + 57889, + 57901 + ], + "loc": { + "start": { + "line": 1969, + "column": 37 + }, + "end": { + "line": 1969, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reLk", + "range": [ + 57902, + 57906 + ], + "loc": { + "start": { + "line": 1969, + "column": 50 + }, + "end": { + "line": 1969, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 57908, + 57910 + ], + "loc": { + "start": { + "line": 1969, + "column": 56 + }, + "end": { + "line": 1969, + "column": 58 + } + } + } + ], + "range": [ + 57889, + 57911 + ], + "loc": { + "start": { + "line": 1969, + "column": 37 + }, + "end": { + "line": 1969, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 57913, + 57922 + ], + "loc": { + "start": { + "line": 1969, + "column": 61 + }, + "end": { + "line": 1969, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 57944, + 57949 + ], + "loc": { + "start": { + "line": 1970, + "column": 20 + }, + "end": { + "line": 1970, + "column": 25 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 57951, + 57955 + ], + "loc": { + "start": { + "line": 1970, + "column": 27 + }, + "end": { + "line": 1970, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 57956, + 57969 + ], + "loc": { + "start": { + "line": 1970, + "column": 32 + }, + "end": { + "line": 1970, + "column": 45 + } + } + }, + "range": [ + 57951, + 57969 + ], + "loc": { + "start": { + "line": 1970, + "column": 27 + }, + "end": { + "line": 1970, + "column": 45 + } + } + } + ], + "range": [ + 57880, + 57970 + ], + "loc": { + "start": { + "line": 1969, + "column": 28 + }, + "end": { + "line": 1970, + "column": 46 + } + } + }, + "range": [ + 57868, + 57970 + ], + "loc": { + "start": { + "line": 1969, + "column": 16 + }, + "end": { + "line": 1970, + "column": 46 + } + } + }, + "range": [ + 57868, + 57971 + ], + "loc": { + "start": { + "line": 1969, + "column": 16 + }, + "end": { + "line": 1970, + "column": 47 + } + } + } + ], + "range": [ + 57850, + 57985 + ], + "loc": { + "start": { + "line": 1968, + "column": 28 + }, + "end": { + "line": 1971, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "equal", + "range": [ + 57998, + 58005 + ], + "loc": { + "start": { + "line": 1972, + "column": 12 + }, + "end": { + "line": 1972, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasEQ", + "range": [ + 58027, + 58032 + ], + "loc": { + "start": { + "line": 1973, + "column": 21 + }, + "end": { + "line": 1973, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 58052, + 58061 + ], + "loc": { + "start": { + "line": 1974, + "column": 16 + }, + "end": { + "line": 1974, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 58064, + 58072 + ], + "loc": { + "start": { + "line": 1974, + "column": 28 + }, + "end": { + "line": 1974, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 58073, + 58077 + ], + "loc": { + "start": { + "line": 1974, + "column": 37 + }, + "end": { + "line": 1974, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 58078, + 58085 + ], + "loc": { + "start": { + "line": 1974, + "column": 42 + }, + "end": { + "line": 1974, + "column": 49 + } + } + }, + "range": [ + 58073, + 58085 + ], + "loc": { + "start": { + "line": 1974, + "column": 37 + }, + "end": { + "line": 1974, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEq", + "range": [ + 58086, + 58090 + ], + "loc": { + "start": { + "line": 1974, + "column": 50 + }, + "end": { + "line": 1974, + "column": 54 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 58092, + 58094 + ], + "loc": { + "start": { + "line": 1974, + "column": 56 + }, + "end": { + "line": 1974, + "column": 58 + } + } + } + ], + "range": [ + 58073, + 58095 + ], + "loc": { + "start": { + "line": 1974, + "column": 37 + }, + "end": { + "line": 1974, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58097, + 58106 + ], + "loc": { + "start": { + "line": 1974, + "column": 61 + }, + "end": { + "line": 1974, + "column": 70 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 58128, + 58132 + ], + "loc": { + "start": { + "line": 1975, + "column": 20 + }, + "end": { + "line": 1975, + "column": 24 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 58134, + 58138 + ], + "loc": { + "start": { + "line": 1975, + "column": 26 + }, + "end": { + "line": 1975, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 58139, + 58152 + ], + "loc": { + "start": { + "line": 1975, + "column": 31 + }, + "end": { + "line": 1975, + "column": 44 + } + } + }, + "range": [ + 58134, + 58152 + ], + "loc": { + "start": { + "line": 1975, + "column": 26 + }, + "end": { + "line": 1975, + "column": 44 + } + } + } + ], + "range": [ + 58064, + 58153 + ], + "loc": { + "start": { + "line": 1974, + "column": 28 + }, + "end": { + "line": 1975, + "column": 45 + } + } + }, + "range": [ + 58052, + 58153 + ], + "loc": { + "start": { + "line": 1974, + "column": 16 + }, + "end": { + "line": 1975, + "column": 45 + } + } + }, + "range": [ + 58052, + 58154 + ], + "loc": { + "start": { + "line": 1974, + "column": 16 + }, + "end": { + "line": 1975, + "column": 46 + } + } + } + ], + "range": [ + 58034, + 58168 + ], + "loc": { + "start": { + "line": 1973, + "column": 28 + }, + "end": { + "line": 1976, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "starts with", + "range": [ + 58181, + 58194 + ], + "loc": { + "start": { + "line": 1977, + "column": 12 + }, + "end": { + "line": 1977, + "column": 25 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasST", + "range": [ + 58216, + 58221 + ], + "loc": { + "start": { + "line": 1978, + "column": 21 + }, + "end": { + "line": 1978, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 58241, + 58250 + ], + "loc": { + "start": { + "line": 1979, + "column": 16 + }, + "end": { + "line": 1979, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58253, + 58262 + ], + "loc": { + "start": { + "line": 1979, + "column": 28 + }, + "end": { + "line": 1979, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 58263, + 58270 + ], + "loc": { + "start": { + "line": 1979, + "column": 38 + }, + "end": { + "line": 1979, + "column": 45 + } + } + }, + "range": [ + 58253, + 58270 + ], + "loc": { + "start": { + "line": 1979, + "column": 28 + }, + "end": { + "line": 1979, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 58271, + 58275 + ], + "loc": { + "start": { + "line": 1979, + "column": 46 + }, + "end": { + "line": 1979, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 58276, + 58283 + ], + "loc": { + "start": { + "line": 1979, + "column": 51 + }, + "end": { + "line": 1979, + "column": 58 + } + } + }, + "range": [ + 58271, + 58283 + ], + "loc": { + "start": { + "line": 1979, + "column": 46 + }, + "end": { + "line": 1979, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reSt", + "range": [ + 58284, + 58288 + ], + "loc": { + "start": { + "line": 1979, + "column": 59 + }, + "end": { + "line": 1979, + "column": 63 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 58290, + 58292 + ], + "loc": { + "start": { + "line": 1979, + "column": 65 + }, + "end": { + "line": 1979, + "column": 67 + } + } + } + ], + "range": [ + 58271, + 58293 + ], + "loc": { + "start": { + "line": 1979, + "column": 46 + }, + "end": { + "line": 1979, + "column": 68 + } + } + } + ], + "range": [ + 58253, + 58294 + ], + "loc": { + "start": { + "line": 1979, + "column": 28 + }, + "end": { + "line": 1979, + "column": 69 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 58299, + 58300 + ], + "loc": { + "start": { + "line": 1979, + "column": 74 + }, + "end": { + "line": 1979, + "column": 75 + } + } + }, + "range": [ + 58253, + 58300 + ], + "loc": { + "start": { + "line": 1979, + "column": 28 + }, + "end": { + "line": 1979, + "column": 75 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 58323, + 58327 + ], + "loc": { + "start": { + "line": 1980, + "column": 20 + }, + "end": { + "line": 1980, + "column": 24 + } + } + }, + "alternate": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 58330, + 58335 + ], + "loc": { + "start": { + "line": 1980, + "column": 27 + }, + "end": { + "line": 1980, + "column": 32 + } + } + }, + "range": [ + 58253, + 58335 + ], + "loc": { + "start": { + "line": 1979, + "column": 28 + }, + "end": { + "line": 1980, + "column": 32 + } + } + }, + "range": [ + 58241, + 58335 + ], + "loc": { + "start": { + "line": 1979, + "column": 16 + }, + "end": { + "line": 1980, + "column": 32 + } + } + }, + "range": [ + 58241, + 58336 + ], + "loc": { + "start": { + "line": 1979, + "column": 16 + }, + "end": { + "line": 1980, + "column": 33 + } + } + } + ], + "range": [ + 58223, + 58350 + ], + "loc": { + "start": { + "line": 1978, + "column": 28 + }, + "end": { + "line": 1981, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "ends with", + "range": [ + 58363, + 58374 + ], + "loc": { + "start": { + "line": 1982, + "column": 12 + }, + "end": { + "line": 1982, + "column": 23 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasEN", + "range": [ + 58396, + 58401 + ], + "loc": { + "start": { + "line": 1983, + "column": 21 + }, + "end": { + "line": 1983, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "searchArg", + "range": [ + 58425, + 58434 + ], + "loc": { + "start": { + "line": 1984, + "column": 20 + }, + "end": { + "line": 1984, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 58437, + 58441 + ], + "loc": { + "start": { + "line": 1984, + "column": 32 + }, + "end": { + "line": 1984, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 58442, + 58449 + ], + "loc": { + "start": { + "line": 1984, + "column": 37 + }, + "end": { + "line": 1984, + "column": 44 + } + } + }, + "range": [ + 58437, + 58449 + ], + "loc": { + "start": { + "line": 1984, + "column": 32 + }, + "end": { + "line": 1984, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reEn", + "range": [ + 58450, + 58454 + ], + "loc": { + "start": { + "line": 1984, + "column": 45 + }, + "end": { + "line": 1984, + "column": 49 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 58456, + 58458 + ], + "loc": { + "start": { + "line": 1984, + "column": 51 + }, + "end": { + "line": 1984, + "column": 53 + } + } + } + ], + "range": [ + 58437, + 58459 + ], + "loc": { + "start": { + "line": 1984, + "column": 32 + }, + "end": { + "line": 1984, + "column": 54 + } + } + }, + "range": [ + 58425, + 58459 + ], + "loc": { + "start": { + "line": 1984, + "column": 20 + }, + "end": { + "line": 1984, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 58421, + 58460 + ], + "loc": { + "start": { + "line": 1984, + "column": 16 + }, + "end": { + "line": 1984, + "column": 55 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 58477, + 58486 + ], + "loc": { + "start": { + "line": 1985, + "column": 16 + }, + "end": { + "line": 1985, + "column": 25 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58509, + 58518 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1986, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastIndexOf", + "range": [ + 58519, + 58530 + ], + "loc": { + "start": { + "line": 1986, + "column": 30 + }, + "end": { + "line": 1986, + "column": 41 + } + } + }, + "range": [ + 58509, + 58530 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1986, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "searchArg", + "range": [ + 58531, + 58540 + ], + "loc": { + "start": { + "line": 1986, + "column": 42 + }, + "end": { + "line": 1986, + "column": 51 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58542, + 58551 + ], + "loc": { + "start": { + "line": 1986, + "column": 53 + }, + "end": { + "line": 1986, + "column": 62 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 58552, + 58558 + ], + "loc": { + "start": { + "line": 1986, + "column": 63 + }, + "end": { + "line": 1986, + "column": 69 + } + } + }, + "range": [ + 58542, + 58558 + ], + "loc": { + "start": { + "line": 1986, + "column": 53 + }, + "end": { + "line": 1986, + "column": 69 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 58561, + 58562 + ], + "loc": { + "start": { + "line": 1986, + "column": 72 + }, + "end": { + "line": 1986, + "column": 73 + } + } + }, + "range": [ + 58542, + 58562 + ], + "loc": { + "start": { + "line": 1986, + "column": 53 + }, + "end": { + "line": 1986, + "column": 73 + } + } + } + ], + "range": [ + 58509, + 58563 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1986, + "column": 74 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58593, + 58602 + ], + "loc": { + "start": { + "line": 1987, + "column": 25 + }, + "end": { + "line": 1987, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 58603, + 58609 + ], + "loc": { + "start": { + "line": 1987, + "column": 35 + }, + "end": { + "line": 1987, + "column": 41 + } + } + }, + "range": [ + 58593, + 58609 + ], + "loc": { + "start": { + "line": 1987, + "column": 25 + }, + "end": { + "line": 1987, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 58612, + 58613 + ], + "loc": { + "start": { + "line": 1987, + "column": 44 + }, + "end": { + "line": 1987, + "column": 45 + } + } + }, + "range": [ + 58593, + 58613 + ], + "loc": { + "start": { + "line": 1987, + "column": 25 + }, + "end": { + "line": 1987, + "column": 45 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "searchArg", + "range": [ + 58618, + 58627 + ], + "loc": { + "start": { + "line": 1987, + "column": 50 + }, + "end": { + "line": 1987, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 58628, + 58634 + ], + "loc": { + "start": { + "line": 1987, + "column": 60 + }, + "end": { + "line": 1987, + "column": 66 + } + } + }, + "range": [ + 58618, + 58634 + ], + "loc": { + "start": { + "line": 1987, + "column": 50 + }, + "end": { + "line": 1987, + "column": 66 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 58637, + 58638 + ], + "loc": { + "start": { + "line": 1987, + "column": 69 + }, + "end": { + "line": 1987, + "column": 70 + } + } + }, + "range": [ + 58618, + 58638 + ], + "loc": { + "start": { + "line": 1987, + "column": 50 + }, + "end": { + "line": 1987, + "column": 70 + } + } + }, + "range": [ + 58592, + 58639 + ], + "loc": { + "start": { + "line": 1987, + "column": 24 + }, + "end": { + "line": 1987, + "column": 71 + } + } + }, + "range": [ + 58509, + 58639 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1987, + "column": 71 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58667, + 58676 + ], + "loc": { + "start": { + "line": 1988, + "column": 24 + }, + "end": { + "line": 1988, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "lastIndexOf", + "range": [ + 58677, + 58688 + ], + "loc": { + "start": { + "line": 1988, + "column": 34 + }, + "end": { + "line": 1988, + "column": 45 + } + } + }, + "range": [ + 58667, + 58688 + ], + "loc": { + "start": { + "line": 1988, + "column": 24 + }, + "end": { + "line": 1988, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "searchArg", + "range": [ + 58689, + 58698 + ], + "loc": { + "start": { + "line": 1988, + "column": 46 + }, + "end": { + "line": 1988, + "column": 55 + } + } + }, + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58700, + 58709 + ], + "loc": { + "start": { + "line": 1988, + "column": 57 + }, + "end": { + "line": 1988, + "column": 66 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 58710, + 58716 + ], + "loc": { + "start": { + "line": 1988, + "column": 67 + }, + "end": { + "line": 1988, + "column": 73 + } + } + }, + "range": [ + 58700, + 58716 + ], + "loc": { + "start": { + "line": 1988, + "column": 57 + }, + "end": { + "line": 1988, + "column": 73 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 58719, + 58720 + ], + "loc": { + "start": { + "line": 1988, + "column": 76 + }, + "end": { + "line": 1988, + "column": 77 + } + } + }, + "range": [ + 58700, + 58720 + ], + "loc": { + "start": { + "line": 1988, + "column": 57 + }, + "end": { + "line": 1988, + "column": 77 + } + } + } + ], + "range": [ + 58667, + 58721 + ], + "loc": { + "start": { + "line": 1988, + "column": 24 + }, + "end": { + "line": 1988, + "column": 78 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 58749, + 58750 + ], + "loc": { + "start": { + "line": 1989, + "column": 27 + }, + "end": { + "line": 1989, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 58748, + 58750 + ], + "loc": { + "start": { + "line": 1989, + "column": 26 + }, + "end": { + "line": 1989, + "column": 28 + } + } + }, + "range": [ + 58667, + 58750 + ], + "loc": { + "start": { + "line": 1988, + "column": 24 + }, + "end": { + "line": 1989, + "column": 28 + } + } + }, + "range": [ + 58509, + 58750 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1989, + "column": 28 + } + } + }, + "consequent": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 58753, + 58757 + ], + "loc": { + "start": { + "line": 1989, + "column": 31 + }, + "end": { + "line": 1989, + "column": 35 + } + } + }, + "alternate": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 58760, + 58765 + ], + "loc": { + "start": { + "line": 1989, + "column": 38 + }, + "end": { + "line": 1989, + "column": 43 + } + } + }, + "range": [ + 58509, + 58765 + ], + "loc": { + "start": { + "line": 1986, + "column": 20 + }, + "end": { + "line": 1989, + "column": 43 + } + } + }, + "range": [ + 58477, + 58765 + ], + "loc": { + "start": { + "line": 1985, + "column": 16 + }, + "end": { + "line": 1989, + "column": 43 + } + } + }, + "range": [ + 58477, + 58766 + ], + "loc": { + "start": { + "line": 1985, + "column": 16 + }, + "end": { + "line": 1989, + "column": 44 + } + } + } + ], + "range": [ + 58403, + 58780 + ], + "loc": { + "start": { + "line": 1983, + "column": 28 + }, + "end": { + "line": 1990, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "empty", + "range": [ + 58793, + 58800 + ], + "loc": { + "start": { + "line": 1991, + "column": 12 + }, + "end": { + "line": 1991, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasEM", + "range": [ + 58822, + 58827 + ], + "loc": { + "start": { + "line": 1992, + "column": 21 + }, + "end": { + "line": 1992, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 58847, + 58856 + ], + "loc": { + "start": { + "line": 1993, + "column": 16 + }, + "end": { + "line": 1993, + "column": 25 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmptyString", + "range": [ + 58859, + 58872 + ], + "loc": { + "start": { + "line": 1993, + "column": 28 + }, + "end": { + "line": 1993, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58873, + 58882 + ], + "loc": { + "start": { + "line": 1993, + "column": 42 + }, + "end": { + "line": 1993, + "column": 51 + } + } + } + ], + "range": [ + 58859, + 58883 + ], + "loc": { + "start": { + "line": 1993, + "column": 28 + }, + "end": { + "line": 1993, + "column": 52 + } + } + }, + "range": [ + 58847, + 58883 + ], + "loc": { + "start": { + "line": 1993, + "column": 16 + }, + "end": { + "line": 1993, + "column": 52 + } + } + }, + "range": [ + 58847, + 58884 + ], + "loc": { + "start": { + "line": 1993, + "column": 16 + }, + "end": { + "line": 1993, + "column": 53 + } + } + } + ], + "range": [ + 58829, + 58898 + ], + "loc": { + "start": { + "line": 1992, + "column": 28 + }, + "end": { + "line": 1994, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "non-empty", + "range": [ + 58911, + 58922 + ], + "loc": { + "start": { + "line": 1995, + "column": 12 + }, + "end": { + "line": 1995, + "column": 23 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasNM", + "range": [ + 58944, + 58949 + ], + "loc": { + "start": { + "line": 1996, + "column": 21 + }, + "end": { + "line": 1996, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 58969, + 58978 + ], + "loc": { + "start": { + "line": 1997, + "column": 16 + }, + "end": { + "line": 1997, + "column": 25 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isEmptyString", + "range": [ + 58982, + 58995 + ], + "loc": { + "start": { + "line": 1997, + "column": 29 + }, + "end": { + "line": 1997, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 58996, + 59005 + ], + "loc": { + "start": { + "line": 1997, + "column": 43 + }, + "end": { + "line": 1997, + "column": 52 + } + } + } + ], + "range": [ + 58982, + 59006 + ], + "loc": { + "start": { + "line": 1997, + "column": 29 + }, + "end": { + "line": 1997, + "column": 53 + } + } + }, + "prefix": true, + "range": [ + 58981, + 59006 + ], + "loc": { + "start": { + "line": 1997, + "column": 28 + }, + "end": { + "line": 1997, + "column": 53 + } + } + }, + "range": [ + 58969, + 59006 + ], + "loc": { + "start": { + "line": 1997, + "column": 16 + }, + "end": { + "line": 1997, + "column": 53 + } + } + }, + "range": [ + 58969, + 59007 + ], + "loc": { + "start": { + "line": 1997, + "column": 16 + }, + "end": { + "line": 1997, + "column": 54 + } + } + } + ], + "range": [ + 58951, + 59021 + ], + "loc": { + "start": { + "line": 1996, + "column": 28 + }, + "end": { + "line": 1998, + "column": 13 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "regexp", + "range": [ + 59034, + 59042 + ], + "loc": { + "start": { + "line": 1999, + "column": 12 + }, + "end": { + "line": 1999, + "column": 20 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "hasRE", + "range": [ + 59064, + 59069 + ], + "loc": { + "start": { + "line": 2000, + "column": 21 + }, + "end": { + "line": 2000, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "TryStatement", + "block": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "srchArg", + "range": [ + 59201, + 59208 + ], + "loc": { + "start": { + "line": 2004, + "column": 24 + }, + "end": { + "line": 2004, + "column": 31 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 59211, + 59215 + ], + "loc": { + "start": { + "line": 2004, + "column": 34 + }, + "end": { + "line": 2004, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "replace", + "range": [ + 59216, + 59223 + ], + "loc": { + "start": { + "line": 2004, + "column": 39 + }, + "end": { + "line": 2004, + "column": 46 + } + } + }, + "range": [ + 59211, + 59223 + ], + "loc": { + "start": { + "line": 2004, + "column": 34 + }, + "end": { + "line": 2004, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reRe", + "range": [ + 59224, + 59228 + ], + "loc": { + "start": { + "line": 2004, + "column": 47 + }, + "end": { + "line": 2004, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 59230, + 59232 + ], + "loc": { + "start": { + "line": 2004, + "column": 53 + }, + "end": { + "line": 2004, + "column": 55 + } + } + } + ], + "range": [ + 59211, + 59233 + ], + "loc": { + "start": { + "line": 2004, + "column": 34 + }, + "end": { + "line": 2004, + "column": 56 + } + } + }, + "range": [ + 59201, + 59233 + ], + "loc": { + "start": { + "line": 2004, + "column": 24 + }, + "end": { + "line": 2004, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 59197, + 59234 + ], + "loc": { + "start": { + "line": 2004, + "column": 20 + }, + "end": { + "line": 2004, + "column": 57 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "operator is removed", + "range": [ + 59155, + 59176 + ], + "loc": { + "start": { + "line": 2003, + "column": 20 + }, + "end": { + "line": 2003, + "column": 41 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rgx", + "range": [ + 59259, + 59262 + ], + "loc": { + "start": { + "line": 2005, + "column": 24 + }, + "end": { + "line": 2005, + "column": 27 + } + } + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "RegExp", + "range": [ + 59269, + 59275 + ], + "loc": { + "start": { + "line": 2005, + "column": 34 + }, + "end": { + "line": 2005, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "srchArg", + "range": [ + 59276, + 59283 + ], + "loc": { + "start": { + "line": 2005, + "column": 41 + }, + "end": { + "line": 2005, + "column": 48 + } + } + } + ], + "range": [ + 59265, + 59284 + ], + "loc": { + "start": { + "line": 2005, + "column": 30 + }, + "end": { + "line": 2005, + "column": 49 + } + } + }, + "range": [ + 59259, + 59284 + ], + "loc": { + "start": { + "line": 2005, + "column": 24 + }, + "end": { + "line": 2005, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 59255, + 59285 + ], + "loc": { + "start": { + "line": 2005, + "column": 20 + }, + "end": { + "line": 2005, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 59306, + 59315 + ], + "loc": { + "start": { + "line": 2006, + "column": 20 + }, + "end": { + "line": 2006, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "rgx", + "range": [ + 59318, + 59321 + ], + "loc": { + "start": { + "line": 2006, + "column": 32 + }, + "end": { + "line": 2006, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "test", + "range": [ + 59322, + 59326 + ], + "loc": { + "start": { + "line": 2006, + "column": 36 + }, + "end": { + "line": 2006, + "column": 40 + } + } + }, + "range": [ + 59318, + 59326 + ], + "loc": { + "start": { + "line": 2006, + "column": 32 + }, + "end": { + "line": 2006, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 59327, + 59336 + ], + "loc": { + "start": { + "line": 2006, + "column": 41 + }, + "end": { + "line": 2006, + "column": 50 + } + } + } + ], + "range": [ + 59318, + 59337 + ], + "loc": { + "start": { + "line": 2006, + "column": 32 + }, + "end": { + "line": 2006, + "column": 51 + } + } + }, + "range": [ + 59306, + 59337 + ], + "loc": { + "start": { + "line": 2006, + "column": 20 + }, + "end": { + "line": 2006, + "column": 51 + } + } + }, + "range": [ + 59306, + 59338 + ], + "loc": { + "start": { + "line": 2006, + "column": 20 + }, + "end": { + "line": 2006, + "column": 52 + } + } + } + ], + "range": [ + 59133, + 59356 + ], + "loc": { + "start": { + "line": 2002, + "column": 20 + }, + "end": { + "line": 2007, + "column": 17 + } + } + }, + "handler": { + "type": "CatchClause", + "param": { + "type": "Identifier", + "name": "ex", + "range": [ + 59364, + 59366 + ], + "loc": { + "start": { + "line": 2007, + "column": 25 + }, + "end": { + "line": 2007, + "column": 27 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 59390, + 59399 + ], + "loc": { + "start": { + "line": 2008, + "column": 20 + }, + "end": { + "line": 2008, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 59402, + 59407 + ], + "loc": { + "start": { + "line": 2008, + "column": 32 + }, + "end": { + "line": 2008, + "column": 37 + } + } + }, + "range": [ + 59390, + 59407 + ], + "loc": { + "start": { + "line": 2008, + "column": 20 + }, + "end": { + "line": 2008, + "column": 37 + } + } + }, + "range": [ + 59390, + 59408 + ], + "loc": { + "start": { + "line": 2008, + "column": 20 + }, + "end": { + "line": 2008, + "column": 38 + } + } + } + ], + "range": [ + 59368, + 59426 + ], + "loc": { + "start": { + "line": 2007, + "column": 29 + }, + "end": { + "line": 2009, + "column": 17 + } + } + }, + "range": [ + 59357, + 59426 + ], + "loc": { + "start": { + "line": 2007, + "column": 18 + }, + "end": { + "line": 2009, + "column": 17 + } + } + }, + "finalizer": null, + "range": [ + 59129, + 59426 + ], + "loc": { + "start": { + "line": 2002, + "column": 16 + }, + "end": { + "line": 2009, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "in case regexp throws", + "range": [ + 59089, + 59112 + ], + "loc": { + "start": { + "line": 2001, + "column": 16 + }, + "end": { + "line": 2001, + "column": 39 + } + } + } + ] + } + ], + "range": [ + 59071, + 59440 + ], + "loc": { + "start": { + "line": 2000, + "column": 28 + }, + "end": { + "line": 2010, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 59612, + 59619 + ], + "loc": { + "start": { + "line": 2013, + "column": 20 + }, + "end": { + "line": 2013, + "column": 27 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 59643, + 59647 + ], + "loc": { + "start": { + "line": 2014, + "column": 20 + }, + "end": { + "line": 2014, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 59648, + 59655 + ], + "loc": { + "start": { + "line": 2014, + "column": 25 + }, + "end": { + "line": 2014, + "column": 32 + } + } + }, + "range": [ + 59643, + 59655 + ], + "loc": { + "start": { + "line": 2014, + "column": 20 + }, + "end": { + "line": 2014, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 59656, + 59662 + ], + "loc": { + "start": { + "line": 2014, + "column": 33 + }, + "end": { + "line": 2014, + "column": 39 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 59665, + 59671 + ], + "loc": { + "start": { + "line": 2014, + "column": 42 + }, + "end": { + "line": 2014, + "column": 48 + } + } + }, + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 59673, + 59689 + ], + "loc": { + "start": { + "line": 2014, + "column": 50 + }, + "end": { + "line": 2014, + "column": 66 + } + } + } + ], + "range": [ + 59664, + 59690 + ], + "loc": { + "start": { + "line": 2014, + "column": 41 + }, + "end": { + "line": 2014, + "column": 67 + } + } + } + ], + "range": [ + 59643, + 59691 + ], + "loc": { + "start": { + "line": 2014, + "column": 20 + }, + "end": { + "line": 2014, + "column": 68 + } + } + }, + "range": [ + 59612, + 59691 + ], + "loc": { + "start": { + "line": 2013, + "column": 20 + }, + "end": { + "line": 2014, + "column": 68 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 59716, + 59720 + ], + "loc": { + "start": { + "line": 2015, + "column": 21 + }, + "end": { + "line": 2015, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "singleSearchFlt", + "range": [ + 59721, + 59736 + ], + "loc": { + "start": { + "line": 2015, + "column": 26 + }, + "end": { + "line": 2015, + "column": 41 + } + } + }, + "range": [ + 59716, + 59736 + ], + "loc": { + "start": { + "line": 2015, + "column": 21 + }, + "end": { + "line": 2015, + "column": 41 + } + } + }, + "prefix": true, + "range": [ + 59715, + 59736 + ], + "loc": { + "start": { + "line": 2015, + "column": 20 + }, + "end": { + "line": 2015, + "column": 41 + } + } + }, + "range": [ + 59612, + 59736 + ], + "loc": { + "start": { + "line": 2013, + "column": 20 + }, + "end": { + "line": 2015, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "term", + "range": [ + 59965, + 59969 + ], + "loc": { + "start": { + "line": 2019, + "column": 20 + }, + "end": { + "line": 2019, + "column": 24 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 59972, + 59979 + ], + "loc": { + "start": { + "line": 2019, + "column": 27 + }, + "end": { + "line": 2019, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 59980, + 59984 + ], + "loc": { + "start": { + "line": 2019, + "column": 35 + }, + "end": { + "line": 2019, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "decimal", + "range": [ + 59986, + 59993 + ], + "loc": { + "start": { + "line": 2019, + "column": 41 + }, + "end": { + "line": 2019, + "column": 48 + } + } + } + ], + "range": [ + 59972, + 59994 + ], + "loc": { + "start": { + "line": 2019, + "column": 27 + }, + "end": { + "line": 2019, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "term", + "range": [ + 59998, + 60002 + ], + "loc": { + "start": { + "line": 2019, + "column": 53 + }, + "end": { + "line": 2019, + "column": 57 + } + } + }, + "range": [ + 59972, + 60002 + ], + "loc": { + "start": { + "line": 2019, + "column": 27 + }, + "end": { + "line": 2019, + "column": 57 + } + } + }, + "range": [ + 59965, + 60002 + ], + "loc": { + "start": { + "line": 2019, + "column": 20 + }, + "end": { + "line": 2019, + "column": 57 + } + } + }, + "range": [ + 59965, + 60003 + ], + "loc": { + "start": { + "line": 2019, + "column": 20 + }, + "end": { + "line": 2019, + "column": 58 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " parseNb can return 0 for strings which are not", + "range": [ + 59760, + 59809 + ], + "loc": { + "start": { + "line": 2016, + "column": 20 + }, + "end": { + "line": 2016, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " formatted numbers, in that case return the original", + "range": [ + 59830, + 59884 + ], + "loc": { + "start": { + "line": 2017, + "column": 20 + }, + "end": { + "line": 2017, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " string. TODO: handle this in parseNb", + "range": [ + 59905, + 59944 + ], + "loc": { + "start": { + "line": 2018, + "column": 20 + }, + "end": { + "line": 2018, + "column": 59 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 60024, + 60033 + ], + "loc": { + "start": { + "line": 2020, + "column": 20 + }, + "end": { + "line": 2020, + "column": 29 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "numData", + "range": [ + 60036, + 60043 + ], + "loc": { + "start": { + "line": 2020, + "column": 32 + }, + "end": { + "line": 2020, + "column": 39 + } + } + }, + "right": { + "type": "Identifier", + "name": "term", + "range": [ + 60048, + 60052 + ], + "loc": { + "start": { + "line": 2020, + "column": 44 + }, + "end": { + "line": 2020, + "column": 48 + } + } + }, + "range": [ + 60036, + 60052 + ], + "loc": { + "start": { + "line": 2020, + "column": 32 + }, + "end": { + "line": 2020, + "column": 48 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 60080, + 60088 + ], + "loc": { + "start": { + "line": 2021, + "column": 24 + }, + "end": { + "line": 2021, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "term", + "range": [ + 60089, + 60093 + ], + "loc": { + "start": { + "line": 2021, + "column": 33 + }, + "end": { + "line": 2021, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 60094, + 60102 + ], + "loc": { + "start": { + "line": 2021, + "column": 38 + }, + "end": { + "line": 2021, + "column": 46 + } + } + }, + "range": [ + 60089, + 60102 + ], + "loc": { + "start": { + "line": 2021, + "column": 33 + }, + "end": { + "line": 2021, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 60089, + 60104 + ], + "loc": { + "start": { + "line": 2021, + "column": 33 + }, + "end": { + "line": 2021, + "column": 48 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "numData", + "range": [ + 60106, + 60113 + ], + "loc": { + "start": { + "line": 2021, + "column": 50 + }, + "end": { + "line": 2021, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 60114, + 60122 + ], + "loc": { + "start": { + "line": 2021, + "column": 58 + }, + "end": { + "line": 2021, + "column": 66 + } + } + }, + "range": [ + 60106, + 60122 + ], + "loc": { + "start": { + "line": 2021, + "column": 50 + }, + "end": { + "line": 2021, + "column": 66 + } + } + }, + "arguments": [], + "range": [ + 60106, + 60124 + ], + "loc": { + "start": { + "line": 2021, + "column": 50 + }, + "end": { + "line": 2021, + "column": 68 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 60154, + 60158 + ], + "loc": { + "start": { + "line": 2022, + "column": 28 + }, + "end": { + "line": 2022, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExactMatch", + "range": [ + 60159, + 60171 + ], + "loc": { + "start": { + "line": 2022, + "column": 33 + }, + "end": { + "line": 2022, + "column": 45 + } + } + }, + "range": [ + 60154, + 60171 + ], + "loc": { + "start": { + "line": 2022, + "column": 28 + }, + "end": { + "line": 2022, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 60172, + 60178 + ], + "loc": { + "start": { + "line": 2022, + "column": 46 + }, + "end": { + "line": 2022, + "column": 52 + } + } + } + ], + "range": [ + 60154, + 60179 + ], + "loc": { + "start": { + "line": 2022, + "column": 28 + }, + "end": { + "line": 2022, + "column": 53 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 60181, + 60185 + ], + "loc": { + "start": { + "line": 2022, + "column": 55 + }, + "end": { + "line": 2022, + "column": 59 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 60186, + 60199 + ], + "loc": { + "start": { + "line": 2022, + "column": 60 + }, + "end": { + "line": 2022, + "column": 73 + } + } + }, + "range": [ + 60181, + 60199 + ], + "loc": { + "start": { + "line": 2022, + "column": 55 + }, + "end": { + "line": 2022, + "column": 73 + } + } + } + ], + "range": [ + 60080, + 60200 + ], + "loc": { + "start": { + "line": 2021, + "column": 24 + }, + "end": { + "line": 2022, + "column": 74 + } + } + }, + "range": [ + 60036, + 60200 + ], + "loc": { + "start": { + "line": 2020, + "column": 32 + }, + "end": { + "line": 2022, + "column": 74 + } + } + }, + "range": [ + 60024, + 60200 + ], + "loc": { + "start": { + "line": 2020, + "column": 20 + }, + "end": { + "line": 2022, + "column": 74 + } + } + }, + "range": [ + 60024, + 60201 + ], + "loc": { + "start": { + "line": 2020, + "column": 20 + }, + "end": { + "line": 2022, + "column": 75 + } + } + } + ], + "range": [ + 59738, + 60219 + ], + "loc": { + "start": { + "line": 2015, + "column": 43 + }, + "end": { + "line": 2023, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "occurence", + "range": [ + 60321, + 60330 + ], + "loc": { + "start": { + "line": 2025, + "column": 20 + }, + "end": { + "line": 2025, + "column": 29 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "contains", + "range": [ + 60333, + 60341 + ], + "loc": { + "start": { + "line": 2025, + "column": 32 + }, + "end": { + "line": 2025, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "term", + "range": [ + 60367, + 60371 + ], + "loc": { + "start": { + "line": 2026, + "column": 24 + }, + "end": { + "line": 2026, + "column": 28 + } + } + }, + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 60397, + 60406 + ], + "loc": { + "start": { + "line": 2027, + "column": 24 + }, + "end": { + "line": 2027, + "column": 33 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 60432, + 60436 + ], + "loc": { + "start": { + "line": 2028, + "column": 24 + }, + "end": { + "line": 2028, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExactMatch", + "range": [ + 60437, + 60449 + ], + "loc": { + "start": { + "line": 2028, + "column": 29 + }, + "end": { + "line": 2028, + "column": 41 + } + } + }, + "range": [ + 60432, + 60449 + ], + "loc": { + "start": { + "line": 2028, + "column": 24 + }, + "end": { + "line": 2028, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 60450, + 60456 + ], + "loc": { + "start": { + "line": 2028, + "column": 42 + }, + "end": { + "line": 2028, + "column": 48 + } + } + } + ], + "range": [ + 60432, + 60457 + ], + "loc": { + "start": { + "line": 2028, + "column": 24 + }, + "end": { + "line": 2028, + "column": 49 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 60483, + 60487 + ], + "loc": { + "start": { + "line": 2029, + "column": 24 + }, + "end": { + "line": 2029, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 60488, + 60501 + ], + "loc": { + "start": { + "line": 2029, + "column": 29 + }, + "end": { + "line": 2029, + "column": 42 + } + } + }, + "range": [ + 60483, + 60501 + ], + "loc": { + "start": { + "line": 2029, + "column": 24 + }, + "end": { + "line": 2029, + "column": 42 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 60527, + 60531 + ], + "loc": { + "start": { + "line": 2030, + "column": 24 + }, + "end": { + "line": 2030, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "ignoresDiacritics", + "range": [ + 60532, + 60549 + ], + "loc": { + "start": { + "line": 2030, + "column": 29 + }, + "end": { + "line": 2030, + "column": 46 + } + } + }, + "range": [ + 60527, + 60549 + ], + "loc": { + "start": { + "line": 2030, + "column": 24 + }, + "end": { + "line": 2030, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 60550, + 60556 + ], + "loc": { + "start": { + "line": 2030, + "column": 47 + }, + "end": { + "line": 2030, + "column": 53 + } + } + } + ], + "range": [ + 60527, + 60557 + ], + "loc": { + "start": { + "line": 2030, + "column": 24 + }, + "end": { + "line": 2030, + "column": 54 + } + } + } + ], + "range": [ + 60333, + 60579 + ], + "loc": { + "start": { + "line": 2025, + "column": 32 + }, + "end": { + "line": 2031, + "column": 21 + } + } + }, + "range": [ + 60321, + 60579 + ], + "loc": { + "start": { + "line": 2025, + "column": 20 + }, + "end": { + "line": 2031, + "column": 21 + } + } + }, + "range": [ + 60321, + 60580 + ], + "loc": { + "start": { + "line": 2025, + "column": 20 + }, + "end": { + "line": 2031, + "column": 22 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Finally test search term is contained in cell data", + "range": [ + 60247, + 60300 + ], + "loc": { + "start": { + "line": 2024, + "column": 20 + }, + "end": { + "line": 2024, + "column": 73 + } + } + } + ] + } + ], + "range": [ + 60225, + 60598 + ], + "loc": { + "start": { + "line": 2023, + "column": 23 + }, + "end": { + "line": 2032, + "column": 17 + } + } + }, + "range": [ + 59608, + 60598 + ], + "loc": { + "start": { + "line": 2013, + "column": 16 + }, + "end": { + "line": 2032, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " If numeric type data, perform a strict equality test and", + "range": [ + 59464, + 59523 + ], + "loc": { + "start": { + "line": 2011, + "column": 16 + }, + "end": { + "line": 2011, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " fallback to unformatted number string comparison", + "range": [ + 59540, + 59591 + ], + "loc": { + "start": { + "line": 2012, + "column": 16 + }, + "end": { + "line": 2012, + "column": 67 + } + } + } + ] + } + ], + "range": [ + 59446, + 60612 + ], + "loc": { + "start": { + "line": 2010, + "column": 19 + }, + "end": { + "line": 2033, + "column": 13 + } + } + }, + "range": [ + 59060, + 60612 + ], + "loc": { + "start": { + "line": 2000, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "regexp", + "range": [ + 59034, + 59042 + ], + "loc": { + "start": { + "line": 1999, + "column": 12 + }, + "end": { + "line": 1999, + "column": 20 + } + } + } + ] + }, + "range": [ + 58940, + 60612 + ], + "loc": { + "start": { + "line": 1996, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "non-empty", + "range": [ + 58911, + 58922 + ], + "loc": { + "start": { + "line": 1995, + "column": 12 + }, + "end": { + "line": 1995, + "column": 23 + } + } + } + ] + }, + "range": [ + 58818, + 60612 + ], + "loc": { + "start": { + "line": 1992, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "empty", + "range": [ + 58793, + 58800 + ], + "loc": { + "start": { + "line": 1991, + "column": 12 + }, + "end": { + "line": 1991, + "column": 19 + } + } + } + ] + }, + "range": [ + 58392, + 60612 + ], + "loc": { + "start": { + "line": 1983, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "ends with", + "range": [ + 58363, + 58374 + ], + "loc": { + "start": { + "line": 1982, + "column": 12 + }, + "end": { + "line": 1982, + "column": 23 + } + } + } + ] + }, + "range": [ + 58212, + 60612 + ], + "loc": { + "start": { + "line": 1978, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "starts with", + "range": [ + 58181, + 58194 + ], + "loc": { + "start": { + "line": 1977, + "column": 12 + }, + "end": { + "line": 1977, + "column": 25 + } + } + } + ] + }, + "range": [ + 58023, + 60612 + ], + "loc": { + "start": { + "line": 1973, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "equal", + "range": [ + 57998, + 58005 + ], + "loc": { + "start": { + "line": 1972, + "column": 12 + }, + "end": { + "line": 1972, + "column": 19 + } + } + } + ] + }, + "range": [ + 57839, + 60612 + ], + "loc": { + "start": { + "line": 1968, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "like", + "range": [ + 57815, + 57821 + ], + "loc": { + "start": { + "line": 1967, + "column": 12 + }, + "end": { + "line": 1967, + "column": 18 + } + } + } + ] + }, + "range": [ + 57642, + 60612 + ], + "loc": { + "start": { + "line": 1963, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "different", + "range": [ + 57613, + 57624 + ], + "loc": { + "start": { + "line": 1962, + "column": 12 + }, + "end": { + "line": 1962, + "column": 23 + } + } + } + ] + }, + "range": [ + 57437, + 60612 + ], + "loc": { + "start": { + "line": 1956, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "greater", + "range": [ + 57410, + 57419 + ], + "loc": { + "start": { + "line": 1955, + "column": 12 + }, + "end": { + "line": 1955, + "column": 21 + } + } + } + ] + }, + "range": [ + 57234, + 60612 + ], + "loc": { + "start": { + "line": 1949, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "lower", + "range": [ + 57209, + 57216 + ], + "loc": { + "start": { + "line": 1948, + "column": 12 + }, + "end": { + "line": 1948, + "column": 19 + } + } + } + ] + }, + "range": [ + 57031, + 60612 + ], + "loc": { + "start": { + "line": 1942, + "column": 17 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "greater equal", + "range": [ + 56998, + 57013 + ], + "loc": { + "start": { + "line": 1941, + "column": 12 + }, + "end": { + "line": 1941, + "column": 27 + } + } + } + ] + }, + "range": [ + 56820, + 60612 + ], + "loc": { + "start": { + "line": 1935, + "column": 12 + }, + "end": { + "line": 2033, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " first checks if there is any operator (<,>,<=,>=,!,*,=,{,},", + "range": [ + 56697, + 56759 + ], + "loc": { + "start": { + "line": 1932, + "column": 12 + }, + "end": { + "line": 1932, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " rgx:)", + "range": [ + 56772, + 56780 + ], + "loc": { + "start": { + "line": 1933, + "column": 12 + }, + "end": { + "line": 1933, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " lower equal", + "range": [ + 56793, + 56807 + ], + "loc": { + "start": { + "line": 1934, + "column": 12 + }, + "end": { + "line": 1934, + "column": 26 + } + } + } + ] + } + ], + "range": [ + 56496, + 60623 + ], + "loc": { + "start": { + "line": 1927, + "column": 13 + }, + "end": { + "line": 2035, + "column": 9 + } + } + }, + "range": [ + 53566, + 60623 + ], + "loc": { + "start": { + "line": 1851, + "column": 8 + }, + "end": { + "line": 2035, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Check for dates or resolve date type", + "range": [ + 53518, + 53557 + ], + "loc": { + "start": { + "line": 1850, + "column": 8 + }, + "end": { + "line": 1850, + "column": 47 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": "else", + "range": [ + 60623, + 60629 + ], + "loc": { + "start": { + "line": 2035, + "column": 9 + }, + "end": { + "line": 2035, + "column": 15 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "occurence", + "range": [ + 60646, + 60655 + ], + "loc": { + "start": { + "line": 2037, + "column": 15 + }, + "end": { + "line": 2037, + "column": 24 + } + } + }, + "range": [ + 60639, + 60656 + ], + "loc": { + "start": { + "line": 2037, + "column": 8 + }, + "end": { + "line": 2037, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "else", + "range": [ + 60623, + 60629 + ], + "loc": { + "start": { + "line": 2035, + "column": 9 + }, + "end": { + "line": 2035, + "column": 15 + } + } + } + ] + } + ], + "range": [ + 52167, + 60662 + ], + "loc": { + "start": { + "line": 1813, + "column": 39 + }, + "end": { + "line": 2038, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 52141, + 60662 + ], + "loc": { + "start": { + "line": 1813, + "column": 13 + }, + "end": { + "line": 2038, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 52132, + 60662 + ], + "loc": { + "start": { + "line": 1813, + "column": 4 + }, + "end": { + "line": 2038, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Test for a match of search term in cell data\n * @param {String} term Search term\n * @param {String} cellValue Cell data\n * @param {Number} colIdx Column index\n * @return {Boolean}\n ", + "range": [ + 51904, + 52127 + ], + "loc": { + "start": { + "line": 1806, + "column": 4 + }, + "end": { + "line": 1812, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of data for a column\n ", + "range": [ + 60668, + 60952 + ], + "loc": { + "start": { + "line": 2040, + "column": 4 + }, + "end": { + "line": 2046, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getColumnData", + "range": [ + 60957, + 60970 + ], + "loc": { + "start": { + "line": 2047, + "column": 4 + }, + "end": { + "line": 2047, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 60971, + 60979 + ], + "loc": { + "start": { + "line": 2047, + "column": 18 + }, + "end": { + "line": 2047, + "column": 26 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 60981, + 60995 + ], + "loc": { + "start": { + "line": 2047, + "column": 28 + }, + "end": { + "line": 2047, + "column": 42 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 60998, + 61003 + ], + "loc": { + "start": { + "line": 2047, + "column": 45 + }, + "end": { + "line": 2047, + "column": 50 + } + } + }, + "range": [ + 60981, + 61003 + ], + "loc": { + "start": { + "line": 2047, + "column": 28 + }, + "end": { + "line": 2047, + "column": 50 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 61005, + 61012 + ], + "loc": { + "start": { + "line": 2047, + "column": 52 + }, + "end": { + "line": 2047, + "column": 59 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 61015, + 61017 + ], + "loc": { + "start": { + "line": 2047, + "column": 62 + }, + "end": { + "line": 2047, + "column": 64 + } + } + }, + "range": [ + 61005, + 61017 + ], + "loc": { + "start": { + "line": 2047, + "column": 52 + }, + "end": { + "line": 2047, + "column": 64 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 61036, + 61040 + ], + "loc": { + "start": { + "line": 2048, + "column": 15 + }, + "end": { + "line": 2048, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColValues", + "range": [ + 61041, + 61053 + ], + "loc": { + "start": { + "line": 2048, + "column": 20 + }, + "end": { + "line": 2048, + "column": 32 + } + } + }, + "range": [ + 61036, + 61053 + ], + "loc": { + "start": { + "line": 2048, + "column": 15 + }, + "end": { + "line": 2048, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 61054, + 61062 + ], + "loc": { + "start": { + "line": 2048, + "column": 33 + }, + "end": { + "line": 2048, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 61064, + 61078 + ], + "loc": { + "start": { + "line": 2048, + "column": 43 + }, + "end": { + "line": 2048, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 61080, + 61084 + ], + "loc": { + "start": { + "line": 2048, + "column": 59 + }, + "end": { + "line": 2048, + "column": 63 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 61086, + 61093 + ], + "loc": { + "start": { + "line": 2048, + "column": 65 + }, + "end": { + "line": 2048, + "column": 72 + } + } + } + ], + "range": [ + 61036, + 61094 + ], + "loc": { + "start": { + "line": 2048, + "column": 15 + }, + "end": { + "line": 2048, + "column": 73 + } + } + }, + "range": [ + 61029, + 61095 + ], + "loc": { + "start": { + "line": 2048, + "column": 8 + }, + "end": { + "line": 2048, + "column": 74 + } + } + } + ], + "range": [ + 61019, + 61101 + ], + "loc": { + "start": { + "line": 2047, + "column": 66 + }, + "end": { + "line": 2049, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 60970, + 61101 + ], + "loc": { + "start": { + "line": 2047, + "column": 17 + }, + "end": { + "line": 2049, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 60957, + 61101 + ], + "loc": { + "start": { + "line": 2047, + "column": 4 + }, + "end": { + "line": 2049, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of data for a column\n ", + "range": [ + 60668, + 60952 + ], + "loc": { + "start": { + "line": 2040, + "column": 4 + }, + "end": { + "line": 2046, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the values of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of values for a column\n ", + "range": [ + 61107, + 61395 + ], + "loc": { + "start": { + "line": 2051, + "column": 4 + }, + "end": { + "line": 2057, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getColumnValues", + "range": [ + 61400, + 61415 + ], + "loc": { + "start": { + "line": 2058, + "column": 4 + }, + "end": { + "line": 2058, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 61416, + 61424 + ], + "loc": { + "start": { + "line": 2058, + "column": 20 + }, + "end": { + "line": 2058, + "column": 28 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 61426, + 61440 + ], + "loc": { + "start": { + "line": 2058, + "column": 30 + }, + "end": { + "line": 2058, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 61443, + 61448 + ], + "loc": { + "start": { + "line": 2058, + "column": 47 + }, + "end": { + "line": 2058, + "column": 52 + } + } + }, + "range": [ + 61426, + 61448 + ], + "loc": { + "start": { + "line": 2058, + "column": 30 + }, + "end": { + "line": 2058, + "column": 52 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 61450, + 61457 + ], + "loc": { + "start": { + "line": 2058, + "column": 54 + }, + "end": { + "line": 2058, + "column": 61 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 61460, + 61462 + ], + "loc": { + "start": { + "line": 2058, + "column": 64 + }, + "end": { + "line": 2058, + "column": 66 + } + } + }, + "range": [ + 61450, + 61462 + ], + "loc": { + "start": { + "line": 2058, + "column": 54 + }, + "end": { + "line": 2058, + "column": 66 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 61481, + 61485 + ], + "loc": { + "start": { + "line": 2059, + "column": 15 + }, + "end": { + "line": 2059, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColValues", + "range": [ + 61486, + 61498 + ], + "loc": { + "start": { + "line": 2059, + "column": 20 + }, + "end": { + "line": 2059, + "column": 32 + } + } + }, + "range": [ + 61481, + 61498 + ], + "loc": { + "start": { + "line": 2059, + "column": 15 + }, + "end": { + "line": 2059, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 61499, + 61507 + ], + "loc": { + "start": { + "line": 2059, + "column": 33 + }, + "end": { + "line": 2059, + "column": 41 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 61509, + 61523 + ], + "loc": { + "start": { + "line": 2059, + "column": 43 + }, + "end": { + "line": 2059, + "column": 57 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 61525, + 61530 + ], + "loc": { + "start": { + "line": 2059, + "column": 59 + }, + "end": { + "line": 2059, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 61532, + 61539 + ], + "loc": { + "start": { + "line": 2059, + "column": 66 + }, + "end": { + "line": 2059, + "column": 73 + } + } + } + ], + "range": [ + 61481, + 61540 + ], + "loc": { + "start": { + "line": 2059, + "column": 15 + }, + "end": { + "line": 2059, + "column": 74 + } + } + }, + "range": [ + 61474, + 61541 + ], + "loc": { + "start": { + "line": 2059, + "column": 8 + }, + "end": { + "line": 2059, + "column": 75 + } + } + } + ], + "range": [ + 61464, + 61547 + ], + "loc": { + "start": { + "line": 2058, + "column": 68 + }, + "end": { + "line": 2060, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 61415, + 61547 + ], + "loc": { + "start": { + "line": 2058, + "column": 19 + }, + "end": { + "line": 2060, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 61400, + 61547 + ], + "loc": { + "start": { + "line": 2058, + "column": 4 + }, + "end": { + "line": 2060, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the values of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of values for a column\n ", + "range": [ + 61107, + 61395 + ], + "loc": { + "start": { + "line": 2051, + "column": 4 + }, + "end": { + "line": 2057, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return a typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n * @private\n ", + "range": [ + 61553, + 61934 + ], + "loc": { + "start": { + "line": 2062, + "column": 4 + }, + "end": { + "line": 2070, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getColValues", + "range": [ + 61939, + 61951 + ], + "loc": { + "start": { + "line": 2071, + "column": 4 + }, + "end": { + "line": 2071, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 61961, + 61969 + ], + "loc": { + "start": { + "line": 2072, + "column": 8 + }, + "end": { + "line": 2072, + "column": 16 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 61979, + 61993 + ], + "loc": { + "start": { + "line": 2073, + "column": 8 + }, + "end": { + "line": 2073, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 61996, + 62001 + ], + "loc": { + "start": { + "line": 2073, + "column": 25 + }, + "end": { + "line": 2073, + "column": 30 + } + } + }, + "range": [ + 61979, + 62001 + ], + "loc": { + "start": { + "line": 2073, + "column": 8 + }, + "end": { + "line": 2073, + "column": 30 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "typed", + "range": [ + 62011, + 62016 + ], + "loc": { + "start": { + "line": 2074, + "column": 8 + }, + "end": { + "line": 2074, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 62019, + 62024 + ], + "loc": { + "start": { + "line": 2074, + "column": 16 + }, + "end": { + "line": 2074, + "column": 21 + } + } + }, + "range": [ + 62011, + 62024 + ], + "loc": { + "start": { + "line": 2074, + "column": 8 + }, + "end": { + "line": 2074, + "column": 21 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 62034, + 62041 + ], + "loc": { + "start": { + "line": 2075, + "column": 8 + }, + "end": { + "line": 2075, + "column": 15 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 62044, + 62046 + ], + "loc": { + "start": { + "line": 2075, + "column": 18 + }, + "end": { + "line": 2075, + "column": 20 + } + } + }, + "range": [ + 62034, + 62046 + ], + "loc": { + "start": { + "line": 2075, + "column": 8 + }, + "end": { + "line": 2075, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 62067, + 62070 + ], + "loc": { + "start": { + "line": 2077, + "column": 12 + }, + "end": { + "line": 2077, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62073, + 62077 + ], + "loc": { + "start": { + "line": 2077, + "column": 18 + }, + "end": { + "line": 2077, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 62078, + 62081 + ], + "loc": { + "start": { + "line": 2077, + "column": 23 + }, + "end": { + "line": 2077, + "column": 26 + } + } + }, + "range": [ + 62073, + 62081 + ], + "loc": { + "start": { + "line": 2077, + "column": 18 + }, + "end": { + "line": 2077, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 62073, + 62083 + ], + "loc": { + "start": { + "line": 2077, + "column": 18 + }, + "end": { + "line": 2077, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 62084, + 62088 + ], + "loc": { + "start": { + "line": 2077, + "column": 29 + }, + "end": { + "line": 2077, + "column": 33 + } + } + }, + "range": [ + 62073, + 62088 + ], + "loc": { + "start": { + "line": 2077, + "column": 18 + }, + "end": { + "line": 2077, + "column": 33 + } + } + }, + "range": [ + 62067, + 62088 + ], + "loc": { + "start": { + "line": 2077, + "column": 12 + }, + "end": { + "line": 2077, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 62063, + 62089 + ], + "loc": { + "start": { + "line": 2077, + "column": 8 + }, + "end": { + "line": 2077, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 62102, + 62108 + ], + "loc": { + "start": { + "line": 2078, + "column": 12 + }, + "end": { + "line": 2078, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62111, + 62115 + ], + "loc": { + "start": { + "line": 2078, + "column": 21 + }, + "end": { + "line": 2078, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 62116, + 62125 + ], + "loc": { + "start": { + "line": 2078, + "column": 26 + }, + "end": { + "line": 2078, + "column": 35 + } + } + }, + "range": [ + 62111, + 62125 + ], + "loc": { + "start": { + "line": 2078, + "column": 21 + }, + "end": { + "line": 2078, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 62126, + 62130 + ], + "loc": { + "start": { + "line": 2078, + "column": 36 + }, + "end": { + "line": 2078, + "column": 40 + } + } + } + ], + "range": [ + 62111, + 62131 + ], + "loc": { + "start": { + "line": 2078, + "column": 21 + }, + "end": { + "line": 2078, + "column": 41 + } + } + }, + "range": [ + 62102, + 62131 + ], + "loc": { + "start": { + "line": 2078, + "column": 12 + }, + "end": { + "line": 2078, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 62098, + 62132 + ], + "loc": { + "start": { + "line": 2078, + "column": 8 + }, + "end": { + "line": 2078, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colValues", + "range": [ + 62145, + 62154 + ], + "loc": { + "start": { + "line": 2079, + "column": 12 + }, + "end": { + "line": 2079, + "column": 21 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 62157, + 62159 + ], + "loc": { + "start": { + "line": 2079, + "column": 24 + }, + "end": { + "line": 2079, + "column": 26 + } + } + }, + "range": [ + 62145, + 62159 + ], + "loc": { + "start": { + "line": 2079, + "column": 12 + }, + "end": { + "line": 2079, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 62141, + 62160 + ], + "loc": { + "start": { + "line": 2079, + "column": 8 + }, + "end": { + "line": 2079, + "column": 27 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getContent", + "range": [ + 62173, + 62183 + ], + "loc": { + "start": { + "line": 2080, + "column": 12 + }, + "end": { + "line": 2080, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "typed", + "range": [ + 62186, + 62191 + ], + "loc": { + "start": { + "line": 2080, + "column": 25 + }, + "end": { + "line": 2080, + "column": 30 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62194, + 62198 + ], + "loc": { + "start": { + "line": 2080, + "column": 33 + }, + "end": { + "line": 2080, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellData", + "range": [ + 62199, + 62210 + ], + "loc": { + "start": { + "line": 2080, + "column": 38 + }, + "end": { + "line": 2080, + "column": 49 + } + } + }, + "range": [ + 62194, + 62210 + ], + "loc": { + "start": { + "line": 2080, + "column": 33 + }, + "end": { + "line": 2080, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 62211, + 62215 + ], + "loc": { + "start": { + "line": 2080, + "column": 50 + }, + "end": { + "line": 2080, + "column": 54 + } + } + }, + "range": [ + 62194, + 62215 + ], + "loc": { + "start": { + "line": 2080, + "column": 33 + }, + "end": { + "line": 2080, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 62216, + 62220 + ], + "loc": { + "start": { + "line": 2080, + "column": 55 + }, + "end": { + "line": 2080, + "column": 59 + } + } + } + ], + "range": [ + 62194, + 62221 + ], + "loc": { + "start": { + "line": 2080, + "column": 33 + }, + "end": { + "line": 2080, + "column": 60 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62236, + 62240 + ], + "loc": { + "start": { + "line": 2081, + "column": 12 + }, + "end": { + "line": 2081, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 62241, + 62253 + ], + "loc": { + "start": { + "line": 2081, + "column": 17 + }, + "end": { + "line": 2081, + "column": 29 + } + } + }, + "range": [ + 62236, + 62253 + ], + "loc": { + "start": { + "line": 2081, + "column": 12 + }, + "end": { + "line": 2081, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 62254, + 62258 + ], + "loc": { + "start": { + "line": 2081, + "column": 30 + }, + "end": { + "line": 2081, + "column": 34 + } + } + }, + "range": [ + 62236, + 62258 + ], + "loc": { + "start": { + "line": 2081, + "column": 12 + }, + "end": { + "line": 2081, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 62259, + 62263 + ], + "loc": { + "start": { + "line": 2081, + "column": 35 + }, + "end": { + "line": 2081, + "column": 39 + } + } + } + ], + "range": [ + 62236, + 62264 + ], + "loc": { + "start": { + "line": 2081, + "column": 12 + }, + "end": { + "line": 2081, + "column": 40 + } + } + }, + "range": [ + 62186, + 62264 + ], + "loc": { + "start": { + "line": 2080, + "column": 25 + }, + "end": { + "line": 2081, + "column": 40 + } + } + }, + "range": [ + 62173, + 62264 + ], + "loc": { + "start": { + "line": 2080, + "column": 12 + }, + "end": { + "line": 2081, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 62169, + 62265 + ], + "loc": { + "start": { + "line": 2080, + "column": 8 + }, + "end": { + "line": 2081, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 62279, + 62293 + ], + "loc": { + "start": { + "line": 2083, + "column": 12 + }, + "end": { + "line": 2083, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colValues", + "range": [ + 62309, + 62318 + ], + "loc": { + "start": { + "line": 2084, + "column": 12 + }, + "end": { + "line": 2084, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 62319, + 62323 + ], + "loc": { + "start": { + "line": 2084, + "column": 22 + }, + "end": { + "line": 2084, + "column": 26 + } + } + }, + "range": [ + 62309, + 62323 + ], + "loc": { + "start": { + "line": 2084, + "column": 12 + }, + "end": { + "line": 2084, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62324, + 62328 + ], + "loc": { + "start": { + "line": 2084, + "column": 27 + }, + "end": { + "line": 2084, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersText", + "range": [ + 62329, + 62343 + ], + "loc": { + "start": { + "line": 2084, + "column": 32 + }, + "end": { + "line": 2084, + "column": 46 + } + } + }, + "range": [ + 62324, + 62343 + ], + "loc": { + "start": { + "line": 2084, + "column": 27 + }, + "end": { + "line": 2084, + "column": 46 + } + } + }, + "arguments": [], + "range": [ + 62324, + 62345 + ], + "loc": { + "start": { + "line": 2084, + "column": 27 + }, + "end": { + "line": 2084, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 62346, + 62354 + ], + "loc": { + "start": { + "line": 2084, + "column": 49 + }, + "end": { + "line": 2084, + "column": 57 + } + } + }, + "range": [ + 62324, + 62355 + ], + "loc": { + "start": { + "line": 2084, + "column": 27 + }, + "end": { + "line": 2084, + "column": 58 + } + } + } + ], + "range": [ + 62309, + 62356 + ], + "loc": { + "start": { + "line": 2084, + "column": 12 + }, + "end": { + "line": 2084, + "column": 59 + } + } + }, + "range": [ + 62309, + 62357 + ], + "loc": { + "start": { + "line": 2084, + "column": 12 + }, + "end": { + "line": 2084, + "column": 60 + } + } + } + ], + "range": [ + 62295, + 62367 + ], + "loc": { + "start": { + "line": 2083, + "column": 28 + }, + "end": { + "line": 2085, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 62275, + 62367 + ], + "loc": { + "start": { + "line": 2083, + "column": 8 + }, + "end": { + "line": 2085, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 62386, + 62387 + ], + "loc": { + "start": { + "line": 2087, + "column": 17 + }, + "end": { + "line": 2087, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62390, + 62394 + ], + "loc": { + "start": { + "line": 2087, + "column": 21 + }, + "end": { + "line": 2087, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 62395, + 62401 + ], + "loc": { + "start": { + "line": 2087, + "column": 26 + }, + "end": { + "line": 2087, + "column": 32 + } + } + }, + "range": [ + 62390, + 62401 + ], + "loc": { + "start": { + "line": 2087, + "column": 21 + }, + "end": { + "line": 2087, + "column": 32 + } + } + }, + "range": [ + 62386, + 62401 + ], + "loc": { + "start": { + "line": 2087, + "column": 17 + }, + "end": { + "line": 2087, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 62382, + 62401 + ], + "loc": { + "start": { + "line": 2087, + "column": 13 + }, + "end": { + "line": 2087, + "column": 32 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 62403, + 62404 + ], + "loc": { + "start": { + "line": 2087, + "column": 34 + }, + "end": { + "line": 2087, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 62407, + 62413 + ], + "loc": { + "start": { + "line": 2087, + "column": 38 + }, + "end": { + "line": 2087, + "column": 44 + } + } + }, + "range": [ + 62403, + 62413 + ], + "loc": { + "start": { + "line": 2087, + "column": 34 + }, + "end": { + "line": 2087, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 62415, + 62416 + ], + "loc": { + "start": { + "line": 2087, + "column": 46 + }, + "end": { + "line": 2087, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 62415, + 62418 + ], + "loc": { + "start": { + "line": 2087, + "column": 46 + }, + "end": { + "line": 2087, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isExludedRow", + "range": [ + 62438, + 62450 + ], + "loc": { + "start": { + "line": 2088, + "column": 16 + }, + "end": { + "line": 2088, + "column": 28 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 62453, + 62458 + ], + "loc": { + "start": { + "line": 2088, + "column": 31 + }, + "end": { + "line": 2088, + "column": 36 + } + } + }, + "range": [ + 62438, + 62458 + ], + "loc": { + "start": { + "line": 2088, + "column": 16 + }, + "end": { + "line": 2088, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 62434, + 62459 + ], + "loc": { + "start": { + "line": 2088, + "column": 12 + }, + "end": { + "line": 2088, + "column": 37 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if current row index appears in exclude array", + "range": [ + 62472, + 62527 + ], + "loc": { + "start": { + "line": 2089, + "column": 12 + }, + "end": { + "line": 2089, + "column": 67 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "exclude", + "range": [ + 62544, + 62551 + ], + "loc": { + "start": { + "line": 2090, + "column": 16 + }, + "end": { + "line": 2090, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 62552, + 62558 + ], + "loc": { + "start": { + "line": 2090, + "column": 24 + }, + "end": { + "line": 2090, + "column": 30 + } + } + }, + "range": [ + 62544, + 62558 + ], + "loc": { + "start": { + "line": 2090, + "column": 16 + }, + "end": { + "line": 2090, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 62561, + 62562 + ], + "loc": { + "start": { + "line": 2090, + "column": 33 + }, + "end": { + "line": 2090, + "column": 34 + } + } + }, + "range": [ + 62544, + 62562 + ], + "loc": { + "start": { + "line": 2090, + "column": 16 + }, + "end": { + "line": 2090, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isExludedRow", + "range": [ + 62582, + 62594 + ], + "loc": { + "start": { + "line": 2091, + "column": 16 + }, + "end": { + "line": 2091, + "column": 28 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "exclude", + "range": [ + 62597, + 62604 + ], + "loc": { + "start": { + "line": 2091, + "column": 31 + }, + "end": { + "line": 2091, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 62605, + 62612 + ], + "loc": { + "start": { + "line": 2091, + "column": 39 + }, + "end": { + "line": 2091, + "column": 46 + } + } + }, + "range": [ + 62597, + 62612 + ], + "loc": { + "start": { + "line": 2091, + "column": 31 + }, + "end": { + "line": 2091, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 62613, + 62614 + ], + "loc": { + "start": { + "line": 2091, + "column": 47 + }, + "end": { + "line": 2091, + "column": 48 + } + } + } + ], + "range": [ + 62597, + 62615 + ], + "loc": { + "start": { + "line": 2091, + "column": 31 + }, + "end": { + "line": 2091, + "column": 49 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 62621, + 62622 + ], + "loc": { + "start": { + "line": 2091, + "column": 55 + }, + "end": { + "line": 2091, + "column": 56 + } + } + }, + "prefix": true, + "range": [ + 62620, + 62622 + ], + "loc": { + "start": { + "line": 2091, + "column": 54 + }, + "end": { + "line": 2091, + "column": 56 + } + } + }, + "range": [ + 62597, + 62622 + ], + "loc": { + "start": { + "line": 2091, + "column": 31 + }, + "end": { + "line": 2091, + "column": 56 + } + } + }, + "range": [ + 62582, + 62622 + ], + "loc": { + "start": { + "line": 2091, + "column": 16 + }, + "end": { + "line": 2091, + "column": 56 + } + } + }, + "range": [ + 62582, + 62623 + ], + "loc": { + "start": { + "line": 2091, + "column": 16 + }, + "end": { + "line": 2091, + "column": 57 + } + } + } + ], + "range": [ + 62564, + 62637 + ], + "loc": { + "start": { + "line": 2090, + "column": 36 + }, + "end": { + "line": 2092, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 62540, + 62637 + ], + "loc": { + "start": { + "line": 2090, + "column": 12 + }, + "end": { + "line": 2092, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if current row index appears in exclude array", + "range": [ + 62472, + 62527 + ], + "loc": { + "start": { + "line": 2089, + "column": 12 + }, + "end": { + "line": 2089, + "column": 67 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cell", + "range": [ + 62654, + 62658 + ], + "loc": { + "start": { + "line": 2093, + "column": 16 + }, + "end": { + "line": 2093, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 62661, + 62664 + ], + "loc": { + "start": { + "line": 2093, + "column": 23 + }, + "end": { + "line": 2093, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 62665, + 62666 + ], + "loc": { + "start": { + "line": 2093, + "column": 27 + }, + "end": { + "line": 2093, + "column": 28 + } + } + }, + "range": [ + 62661, + 62667 + ], + "loc": { + "start": { + "line": 2093, + "column": 23 + }, + "end": { + "line": 2093, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 62668, + 62673 + ], + "loc": { + "start": { + "line": 2093, + "column": 30 + }, + "end": { + "line": 2093, + "column": 35 + } + } + }, + "range": [ + 62661, + 62673 + ], + "loc": { + "start": { + "line": 2093, + "column": 23 + }, + "end": { + "line": 2093, + "column": 35 + } + } + }, + "range": [ + 62654, + 62673 + ], + "loc": { + "start": { + "line": 2093, + "column": 16 + }, + "end": { + "line": 2093, + "column": 35 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 62691, + 62698 + ], + "loc": { + "start": { + "line": 2094, + "column": 16 + }, + "end": { + "line": 2094, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 62701, + 62705 + ], + "loc": { + "start": { + "line": 2094, + "column": 26 + }, + "end": { + "line": 2094, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 62706, + 62712 + ], + "loc": { + "start": { + "line": 2094, + "column": 31 + }, + "end": { + "line": 2094, + "column": 37 + } + } + }, + "range": [ + 62701, + 62712 + ], + "loc": { + "start": { + "line": 2094, + "column": 26 + }, + "end": { + "line": 2094, + "column": 37 + } + } + }, + "range": [ + 62691, + 62712 + ], + "loc": { + "start": { + "line": 2094, + "column": 16 + }, + "end": { + "line": 2094, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 62650, + 62713 + ], + "loc": { + "start": { + "line": 2093, + "column": 12 + }, + "end": { + "line": 2094, + "column": 38 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell # and is not excluded", + "range": [ + 62727, + 62780 + ], + "loc": { + "start": { + "line": 2096, + "column": 12 + }, + "end": { + "line": 2096, + "column": 65 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "nchilds", + "range": [ + 62797, + 62804 + ], + "loc": { + "start": { + "line": 2097, + "column": 16 + }, + "end": { + "line": 2097, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 62809, + 62813 + ], + "loc": { + "start": { + "line": 2097, + "column": 28 + }, + "end": { + "line": 2097, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 62814, + 62821 + ], + "loc": { + "start": { + "line": 2097, + "column": 33 + }, + "end": { + "line": 2097, + "column": 40 + } + } + }, + "range": [ + 62809, + 62821 + ], + "loc": { + "start": { + "line": 2097, + "column": 28 + }, + "end": { + "line": 2097, + "column": 40 + } + } + }, + "range": [ + 62797, + 62821 + ], + "loc": { + "start": { + "line": 2097, + "column": 16 + }, + "end": { + "line": 2097, + "column": 40 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isExludedRow", + "range": [ + 62826, + 62838 + ], + "loc": { + "start": { + "line": 2097, + "column": 45 + }, + "end": { + "line": 2097, + "column": 57 + } + } + }, + "prefix": true, + "range": [ + 62825, + 62838 + ], + "loc": { + "start": { + "line": 2097, + "column": 44 + }, + "end": { + "line": 2097, + "column": 57 + } + } + }, + "range": [ + 62797, + 62838 + ], + "loc": { + "start": { + "line": 2097, + "column": 16 + }, + "end": { + "line": 2097, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "data", + "range": [ + 62862, + 62866 + ], + "loc": { + "start": { + "line": 2098, + "column": 20 + }, + "end": { + "line": 2098, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getContent", + "range": [ + 62869, + 62879 + ], + "loc": { + "start": { + "line": 2098, + "column": 27 + }, + "end": { + "line": 2098, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 62880, + 62884 + ], + "loc": { + "start": { + "line": 2098, + "column": 38 + }, + "end": { + "line": 2098, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 62885, + 62893 + ], + "loc": { + "start": { + "line": 2098, + "column": 43 + }, + "end": { + "line": 2098, + "column": 51 + } + } + }, + "range": [ + 62880, + 62894 + ], + "loc": { + "start": { + "line": 2098, + "column": 38 + }, + "end": { + "line": 2098, + "column": 52 + } + } + } + ], + "range": [ + 62869, + 62895 + ], + "loc": { + "start": { + "line": 2098, + "column": 27 + }, + "end": { + "line": 2098, + "column": 53 + } + } + }, + "range": [ + 62862, + 62895 + ], + "loc": { + "start": { + "line": 2098, + "column": 20 + }, + "end": { + "line": 2098, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 62858, + 62896 + ], + "loc": { + "start": { + "line": 2098, + "column": 16 + }, + "end": { + "line": 2098, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colValues", + "range": [ + 62913, + 62922 + ], + "loc": { + "start": { + "line": 2099, + "column": 16 + }, + "end": { + "line": 2099, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 62923, + 62927 + ], + "loc": { + "start": { + "line": 2099, + "column": 26 + }, + "end": { + "line": 2099, + "column": 30 + } + } + }, + "range": [ + 62913, + 62927 + ], + "loc": { + "start": { + "line": 2099, + "column": 16 + }, + "end": { + "line": 2099, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "data", + "range": [ + 62928, + 62932 + ], + "loc": { + "start": { + "line": 2099, + "column": 31 + }, + "end": { + "line": 2099, + "column": 35 + } + } + } + ], + "range": [ + 62913, + 62933 + ], + "loc": { + "start": { + "line": 2099, + "column": 16 + }, + "end": { + "line": 2099, + "column": 36 + } + } + }, + "range": [ + 62913, + 62934 + ], + "loc": { + "start": { + "line": 2099, + "column": 16 + }, + "end": { + "line": 2099, + "column": 37 + } + } + } + ], + "range": [ + 62840, + 62948 + ], + "loc": { + "start": { + "line": 2097, + "column": 59 + }, + "end": { + "line": 2100, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 62793, + 62948 + ], + "loc": { + "start": { + "line": 2097, + "column": 12 + }, + "end": { + "line": 2100, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " checks if row has exact cell # and is not excluded", + "range": [ + 62727, + 62780 + ], + "loc": { + "start": { + "line": 2096, + "column": 12 + }, + "end": { + "line": 2096, + "column": 65 + } + } + } + ] + } + ], + "range": [ + 62420, + 62958 + ], + "loc": { + "start": { + "line": 2087, + "column": 51 + }, + "end": { + "line": 2101, + "column": 9 + } + } + }, + "range": [ + 62377, + 62958 + ], + "loc": { + "start": { + "line": 2087, + "column": 8 + }, + "end": { + "line": 2101, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "colValues", + "range": [ + 62974, + 62983 + ], + "loc": { + "start": { + "line": 2102, + "column": 15 + }, + "end": { + "line": 2102, + "column": 24 + } + } + }, + "range": [ + 62967, + 62984 + ], + "loc": { + "start": { + "line": 2102, + "column": 8 + }, + "end": { + "line": 2102, + "column": 25 + } + } + } + ], + "range": [ + 62053, + 62990 + ], + "loc": { + "start": { + "line": 2076, + "column": 6 + }, + "end": { + "line": 2103, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 61951, + 62990 + ], + "loc": { + "start": { + "line": 2071, + "column": 16 + }, + "end": { + "line": 2103, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 61939, + 62990 + ], + "loc": { + "start": { + "line": 2071, + "column": 4 + }, + "end": { + "line": 2103, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return a typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n * @private\n ", + "range": [ + 61553, + 61934 + ], + "loc": { + "start": { + "line": 2062, + "column": 4 + }, + "end": { + "line": 2070, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n ", + "range": [ + 62996, + 63148 + ], + "loc": { + "start": { + "line": 2105, + "column": 4 + }, + "end": { + "line": 2109, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilterValue", + "range": [ + 63153, + 63167 + ], + "loc": { + "start": { + "line": 2110, + "column": 4 + }, + "end": { + "line": 2110, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 63168, + 63173 + ], + "loc": { + "start": { + "line": 2110, + "column": 19 + }, + "end": { + "line": 2110, + "column": 24 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 63190, + 63194 + ], + "loc": { + "start": { + "line": 2111, + "column": 13 + }, + "end": { + "line": 2111, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 63195, + 63202 + ], + "loc": { + "start": { + "line": 2111, + "column": 18 + }, + "end": { + "line": 2111, + "column": 25 + } + } + }, + "range": [ + 63190, + 63202 + ], + "loc": { + "start": { + "line": 2111, + "column": 13 + }, + "end": { + "line": 2111, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 63189, + 63202 + ], + "loc": { + "start": { + "line": 2111, + "column": 12 + }, + "end": { + "line": 2111, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 63218, + 63225 + ], + "loc": { + "start": { + "line": 2112, + "column": 12 + }, + "end": { + "line": 2112, + "column": 19 + } + } + } + ], + "range": [ + 63204, + 63235 + ], + "loc": { + "start": { + "line": 2111, + "column": 27 + }, + "end": { + "line": 2113, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 63185, + 63235 + ], + "loc": { + "start": { + "line": 2111, + "column": 8 + }, + "end": { + "line": 2113, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63248, + 63256 + ], + "loc": { + "start": { + "line": 2114, + "column": 12 + }, + "end": { + "line": 2114, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 63259, + 63261 + ], + "loc": { + "start": { + "line": 2114, + "column": 23 + }, + "end": { + "line": 2114, + "column": 25 + } + } + }, + "range": [ + 63248, + 63261 + ], + "loc": { + "start": { + "line": 2114, + "column": 12 + }, + "end": { + "line": 2114, + "column": 25 + } + } + } + ], + "kind": "let", + "range": [ + 63244, + 63262 + ], + "loc": { + "start": { + "line": 2114, + "column": 8 + }, + "end": { + "line": 2114, + "column": 26 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "flt", + "range": [ + 63275, + 63278 + ], + "loc": { + "start": { + "line": 2115, + "column": 12 + }, + "end": { + "line": 2115, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 63281, + 63285 + ], + "loc": { + "start": { + "line": 2115, + "column": 18 + }, + "end": { + "line": 2115, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 63286, + 63302 + ], + "loc": { + "start": { + "line": 2115, + "column": 23 + }, + "end": { + "line": 2115, + "column": 39 + } + } + }, + "range": [ + 63281, + 63302 + ], + "loc": { + "start": { + "line": 2115, + "column": 18 + }, + "end": { + "line": 2115, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 63303, + 63308 + ], + "loc": { + "start": { + "line": 2115, + "column": 40 + }, + "end": { + "line": 2115, + "column": 45 + } + } + } + ], + "range": [ + 63281, + 63309 + ], + "loc": { + "start": { + "line": 2115, + "column": 18 + }, + "end": { + "line": 2115, + "column": 46 + } + } + }, + "range": [ + 63275, + 63309 + ], + "loc": { + "start": { + "line": 2115, + "column": 12 + }, + "end": { + "line": 2115, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 63271, + 63310 + ], + "loc": { + "start": { + "line": 2115, + "column": 8 + }, + "end": { + "line": 2115, + "column": 47 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "flt", + "range": [ + 63324, + 63327 + ], + "loc": { + "start": { + "line": 2116, + "column": 13 + }, + "end": { + "line": 2116, + "column": 16 + } + } + }, + "prefix": true, + "range": [ + 63323, + 63327 + ], + "loc": { + "start": { + "line": 2116, + "column": 12 + }, + "end": { + "line": 2116, + "column": 16 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63350, + 63358 + ], + "loc": { + "start": { + "line": 2117, + "column": 19 + }, + "end": { + "line": 2117, + "column": 27 + } + } + }, + "range": [ + 63343, + 63359 + ], + "loc": { + "start": { + "line": 2117, + "column": 12 + }, + "end": { + "line": 2117, + "column": 28 + } + } + } + ], + "range": [ + 63329, + 63369 + ], + "loc": { + "start": { + "line": 2116, + "column": 18 + }, + "end": { + "line": 2118, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 63319, + 63369 + ], + "loc": { + "start": { + "line": 2116, + "column": 8 + }, + "end": { + "line": 2118, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 63383, + 63393 + ], + "loc": { + "start": { + "line": 2120, + "column": 12 + }, + "end": { + "line": 2120, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 63396, + 63400 + ], + "loc": { + "start": { + "line": 2120, + "column": 25 + }, + "end": { + "line": 2120, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 63401, + 63414 + ], + "loc": { + "start": { + "line": 2120, + "column": 30 + }, + "end": { + "line": 2120, + "column": 43 + } + } + }, + "range": [ + 63396, + 63414 + ], + "loc": { + "start": { + "line": 2120, + "column": 25 + }, + "end": { + "line": 2120, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 63415, + 63420 + ], + "loc": { + "start": { + "line": 2120, + "column": 44 + }, + "end": { + "line": 2120, + "column": 49 + } + } + } + ], + "range": [ + 63396, + 63421 + ], + "loc": { + "start": { + "line": 2120, + "column": 25 + }, + "end": { + "line": 2120, + "column": 50 + } + } + }, + "range": [ + 63383, + 63421 + ], + "loc": { + "start": { + "line": 2120, + "column": 12 + }, + "end": { + "line": 2120, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 63379, + 63422 + ], + "loc": { + "start": { + "line": 2120, + "column": 8 + }, + "end": { + "line": 2120, + "column": 51 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 63435, + 63445 + ], + "loc": { + "start": { + "line": 2121, + "column": 12 + }, + "end": { + "line": 2121, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 63450, + 63458 + ], + "loc": { + "start": { + "line": 2121, + "column": 27 + }, + "end": { + "line": 2121, + "column": 35 + } + } + }, + "range": [ + 63435, + 63458 + ], + "loc": { + "start": { + "line": 2121, + "column": 12 + }, + "end": { + "line": 2121, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 63462, + 63472 + ], + "loc": { + "start": { + "line": 2121, + "column": 39 + }, + "end": { + "line": 2121, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 63477, + 63486 + ], + "loc": { + "start": { + "line": 2121, + "column": 54 + }, + "end": { + "line": 2121, + "column": 63 + } + } + }, + "range": [ + 63462, + 63486 + ], + "loc": { + "start": { + "line": 2121, + "column": 39 + }, + "end": { + "line": 2121, + "column": 63 + } + } + }, + "range": [ + 63435, + 63486 + ], + "loc": { + "start": { + "line": 2121, + "column": 12 + }, + "end": { + "line": 2121, + "column": 63 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63502, + 63510 + ], + "loc": { + "start": { + "line": 2122, + "column": 12 + }, + "end": { + "line": 2122, + "column": 20 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "flt", + "range": [ + 63513, + 63516 + ], + "loc": { + "start": { + "line": 2122, + "column": 23 + }, + "end": { + "line": 2122, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 63517, + 63522 + ], + "loc": { + "start": { + "line": 2122, + "column": 27 + }, + "end": { + "line": 2122, + "column": 32 + } + } + }, + "range": [ + 63513, + 63522 + ], + "loc": { + "start": { + "line": 2122, + "column": 23 + }, + "end": { + "line": 2122, + "column": 32 + } + } + }, + "range": [ + 63502, + 63522 + ], + "loc": { + "start": { + "line": 2122, + "column": 12 + }, + "end": { + "line": 2122, + "column": 32 + } + } + }, + "range": [ + 63502, + 63523 + ], + "loc": { + "start": { + "line": 2122, + "column": 12 + }, + "end": { + "line": 2122, + "column": 33 + } + } + } + ], + "range": [ + 63488, + 63533 + ], + "loc": { + "start": { + "line": 2121, + "column": 65 + }, + "end": { + "line": 2123, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "mutiple select", + "range": [ + 63542, + 63558 + ], + "loc": { + "start": { + "line": 2124, + "column": 8 + }, + "end": { + "line": 2124, + "column": 24 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 63576, + 63586 + ], + "loc": { + "start": { + "line": 2125, + "column": 17 + }, + "end": { + "line": 2125, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 63591, + 63599 + ], + "loc": { + "start": { + "line": 2125, + "column": 32 + }, + "end": { + "line": 2125, + "column": 40 + } + } + }, + "range": [ + 63576, + 63599 + ], + "loc": { + "start": { + "line": 2125, + "column": 17 + }, + "end": { + "line": 2125, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63615, + 63623 + ], + "loc": { + "start": { + "line": 2126, + "column": 12 + }, + "end": { + "line": 2126, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 63626, + 63630 + ], + "loc": { + "start": { + "line": 2126, + "column": 23 + }, + "end": { + "line": 2126, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 63631, + 63638 + ], + "loc": { + "start": { + "line": 2126, + "column": 28 + }, + "end": { + "line": 2126, + "column": 35 + } + } + }, + "range": [ + 63626, + 63638 + ], + "loc": { + "start": { + "line": 2126, + "column": 23 + }, + "end": { + "line": 2126, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "dropdown", + "raw": "'dropdown'", + "range": [ + 63639, + 63649 + ], + "loc": { + "start": { + "line": 2126, + "column": 36 + }, + "end": { + "line": 2126, + "column": 46 + } + } + } + ], + "range": [ + 63626, + 63650 + ], + "loc": { + "start": { + "line": 2126, + "column": 23 + }, + "end": { + "line": 2126, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValues", + "range": [ + 63651, + 63660 + ], + "loc": { + "start": { + "line": 2126, + "column": 48 + }, + "end": { + "line": 2126, + "column": 57 + } + } + }, + "range": [ + 63626, + 63660 + ], + "loc": { + "start": { + "line": 2126, + "column": 23 + }, + "end": { + "line": 2126, + "column": 57 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 63661, + 63666 + ], + "loc": { + "start": { + "line": 2126, + "column": 58 + }, + "end": { + "line": 2126, + "column": 63 + } + } + } + ], + "range": [ + 63626, + 63667 + ], + "loc": { + "start": { + "line": 2126, + "column": 23 + }, + "end": { + "line": 2126, + "column": 64 + } + } + }, + "range": [ + 63615, + 63667 + ], + "loc": { + "start": { + "line": 2126, + "column": 12 + }, + "end": { + "line": 2126, + "column": 64 + } + } + }, + "range": [ + 63615, + 63668 + ], + "loc": { + "start": { + "line": 2126, + "column": 12 + }, + "end": { + "line": 2126, + "column": 65 + } + } + } + ], + "range": [ + 63601, + 63678 + ], + "loc": { + "start": { + "line": 2125, + "column": 42 + }, + "end": { + "line": 2127, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "checklist", + "range": [ + 63687, + 63698 + ], + "loc": { + "start": { + "line": 2128, + "column": 8 + }, + "end": { + "line": 2128, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 63716, + 63726 + ], + "loc": { + "start": { + "line": 2129, + "column": 17 + }, + "end": { + "line": 2129, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 63731, + 63740 + ], + "loc": { + "start": { + "line": 2129, + "column": 32 + }, + "end": { + "line": 2129, + "column": 41 + } + } + }, + "range": [ + 63716, + 63740 + ], + "loc": { + "start": { + "line": 2129, + "column": 17 + }, + "end": { + "line": 2129, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63756, + 63764 + ], + "loc": { + "start": { + "line": 2130, + "column": 12 + }, + "end": { + "line": 2130, + "column": 20 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 63767, + 63771 + ], + "loc": { + "start": { + "line": 2130, + "column": 23 + }, + "end": { + "line": 2130, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "feature", + "range": [ + 63772, + 63779 + ], + "loc": { + "start": { + "line": 2130, + "column": 28 + }, + "end": { + "line": 2130, + "column": 35 + } + } + }, + "range": [ + 63767, + 63779 + ], + "loc": { + "start": { + "line": 2130, + "column": 23 + }, + "end": { + "line": 2130, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "checkList", + "raw": "'checkList'", + "range": [ + 63780, + 63791 + ], + "loc": { + "start": { + "line": 2130, + "column": 36 + }, + "end": { + "line": 2130, + "column": 47 + } + } + } + ], + "range": [ + 63767, + 63792 + ], + "loc": { + "start": { + "line": 2130, + "column": 23 + }, + "end": { + "line": 2130, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValues", + "range": [ + 63793, + 63802 + ], + "loc": { + "start": { + "line": 2130, + "column": 49 + }, + "end": { + "line": 2130, + "column": 58 + } + } + }, + "range": [ + 63767, + 63802 + ], + "loc": { + "start": { + "line": 2130, + "column": 23 + }, + "end": { + "line": 2130, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 63803, + 63808 + ], + "loc": { + "start": { + "line": 2130, + "column": 59 + }, + "end": { + "line": 2130, + "column": 64 + } + } + } + ], + "range": [ + 63767, + 63809 + ], + "loc": { + "start": { + "line": 2130, + "column": 23 + }, + "end": { + "line": 2130, + "column": 65 + } + } + }, + "range": [ + 63756, + 63809 + ], + "loc": { + "start": { + "line": 2130, + "column": 12 + }, + "end": { + "line": 2130, + "column": 65 + } + } + }, + "range": [ + 63756, + 63810 + ], + "loc": { + "start": { + "line": 2130, + "column": 12 + }, + "end": { + "line": 2130, + "column": 66 + } + } + } + ], + "range": [ + 63742, + 63820 + ], + "loc": { + "start": { + "line": 2129, + "column": 43 + }, + "end": { + "line": 2131, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 63712, + 63820 + ], + "loc": { + "start": { + "line": 2129, + "column": 13 + }, + "end": { + "line": 2131, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "checklist", + "range": [ + 63687, + 63698 + ], + "loc": { + "start": { + "line": 2128, + "column": 8 + }, + "end": { + "line": 2128, + "column": 19 + } + } + } + ] + }, + "range": [ + 63572, + 63820 + ], + "loc": { + "start": { + "line": 2125, + "column": 13 + }, + "end": { + "line": 2131, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "mutiple select", + "range": [ + 63542, + 63558 + ], + "loc": { + "start": { + "line": 2124, + "column": 8 + }, + "end": { + "line": 2124, + "column": 24 + } + } + } + ] + }, + "range": [ + 63431, + 63820 + ], + "loc": { + "start": { + "line": 2121, + "column": 8 + }, + "end": { + "line": 2131, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "return an empty string if collection is empty or contains a single", + "range": [ + 63829, + 63897 + ], + "loc": { + "start": { + "line": 2132, + "column": 8 + }, + "end": { + "line": 2132, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "empty string", + "range": [ + 63906, + 63920 + ], + "loc": { + "start": { + "line": 2133, + "column": 8 + }, + "end": { + "line": 2133, + "column": 22 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 63933, + 63940 + ], + "loc": { + "start": { + "line": 2134, + "column": 12 + }, + "end": { + "line": 2134, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63941, + 63949 + ], + "loc": { + "start": { + "line": 2134, + "column": 20 + }, + "end": { + "line": 2134, + "column": 28 + } + } + } + ], + "range": [ + 63933, + 63950 + ], + "loc": { + "start": { + "line": 2134, + "column": 12 + }, + "end": { + "line": 2134, + "column": 29 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63954, + 63962 + ], + "loc": { + "start": { + "line": 2134, + "column": 33 + }, + "end": { + "line": 2134, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 63963, + 63969 + ], + "loc": { + "start": { + "line": 2134, + "column": 42 + }, + "end": { + "line": 2134, + "column": 48 + } + } + }, + "range": [ + 63954, + 63969 + ], + "loc": { + "start": { + "line": 2134, + "column": 33 + }, + "end": { + "line": 2134, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 63974, + 63975 + ], + "loc": { + "start": { + "line": 2134, + "column": 53 + }, + "end": { + "line": 2134, + "column": 54 + } + } + }, + "range": [ + 63954, + 63975 + ], + "loc": { + "start": { + "line": 2134, + "column": 33 + }, + "end": { + "line": 2134, + "column": 54 + } + } + }, + "range": [ + 63933, + 63975 + ], + "loc": { + "start": { + "line": 2134, + "column": 12 + }, + "end": { + "line": 2134, + "column": 54 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 63992, + 64000 + ], + "loc": { + "start": { + "line": 2135, + "column": 13 + }, + "end": { + "line": 2135, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 64001, + 64007 + ], + "loc": { + "start": { + "line": 2135, + "column": 22 + }, + "end": { + "line": 2135, + "column": 28 + } + } + }, + "range": [ + 63992, + 64007 + ], + "loc": { + "start": { + "line": 2135, + "column": 13 + }, + "end": { + "line": 2135, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 64012, + 64013 + ], + "loc": { + "start": { + "line": 2135, + "column": 33 + }, + "end": { + "line": 2135, + "column": 34 + } + } + }, + "range": [ + 63992, + 64013 + ], + "loc": { + "start": { + "line": 2135, + "column": 13 + }, + "end": { + "line": 2135, + "column": 34 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64017, + 64025 + ], + "loc": { + "start": { + "line": 2135, + "column": 38 + }, + "end": { + "line": 2135, + "column": 46 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 64026, + 64027 + ], + "loc": { + "start": { + "line": 2135, + "column": 47 + }, + "end": { + "line": 2135, + "column": 48 + } + } + }, + "range": [ + 64017, + 64028 + ], + "loc": { + "start": { + "line": 2135, + "column": 38 + }, + "end": { + "line": 2135, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 64033, + 64035 + ], + "loc": { + "start": { + "line": 2135, + "column": 54 + }, + "end": { + "line": 2135, + "column": 56 + } + } + }, + "range": [ + 64017, + 64035 + ], + "loc": { + "start": { + "line": 2135, + "column": 38 + }, + "end": { + "line": 2135, + "column": 56 + } + } + }, + "range": [ + 63992, + 64035 + ], + "loc": { + "start": { + "line": 2135, + "column": 13 + }, + "end": { + "line": 2135, + "column": 56 + } + } + }, + "range": [ + 63933, + 64036 + ], + "loc": { + "start": { + "line": 2134, + "column": 12 + }, + "end": { + "line": 2135, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64052, + 64060 + ], + "loc": { + "start": { + "line": 2136, + "column": 12 + }, + "end": { + "line": 2136, + "column": 20 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 64063, + 64065 + ], + "loc": { + "start": { + "line": 2136, + "column": 23 + }, + "end": { + "line": 2136, + "column": 25 + } + } + }, + "range": [ + 64052, + 64065 + ], + "loc": { + "start": { + "line": 2136, + "column": 12 + }, + "end": { + "line": 2136, + "column": 25 + } + } + }, + "range": [ + 64052, + 64066 + ], + "loc": { + "start": { + "line": 2136, + "column": 12 + }, + "end": { + "line": 2136, + "column": 26 + } + } + } + ], + "range": [ + 64038, + 64076 + ], + "loc": { + "start": { + "line": 2135, + "column": 59 + }, + "end": { + "line": 2137, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 63929, + 64076 + ], + "loc": { + "start": { + "line": 2134, + "column": 8 + }, + "end": { + "line": 2137, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "return an empty string if collection is empty or contains a single", + "range": [ + 63829, + 63897 + ], + "loc": { + "start": { + "line": 2132, + "column": 8 + }, + "end": { + "line": 2132, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "empty string", + "range": [ + 63906, + 63920 + ], + "loc": { + "start": { + "line": 2133, + "column": 8 + }, + "end": { + "line": 2133, + "column": 22 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64093, + 64101 + ], + "loc": { + "start": { + "line": 2139, + "column": 15 + }, + "end": { + "line": 2139, + "column": 23 + } + } + }, + "range": [ + 64086, + 64102 + ], + "loc": { + "start": { + "line": 2139, + "column": 8 + }, + "end": { + "line": 2139, + "column": 24 + } + } + } + ], + "range": [ + 63175, + 64108 + ], + "loc": { + "start": { + "line": 2110, + "column": 26 + }, + "end": { + "line": 2140, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 63167, + 64108 + ], + "loc": { + "start": { + "line": 2110, + "column": 18 + }, + "end": { + "line": 2140, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 63153, + 64108 + ], + "loc": { + "start": { + "line": 2110, + "column": 4 + }, + "end": { + "line": 2140, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n ", + "range": [ + 62996, + 63148 + ], + "loc": { + "start": { + "line": 2105, + "column": 4 + }, + "end": { + "line": 2109, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filters' values\n * @return {Array} List of filters' values\n ", + "range": [ + 64114, + 64206 + ], + "loc": { + "start": { + "line": 2142, + "column": 4 + }, + "end": { + "line": 2145, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFiltersValue", + "range": [ + 64211, + 64226 + ], + "loc": { + "start": { + "line": 2146, + "column": 4 + }, + "end": { + "line": 2146, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 64244, + 64248 + ], + "loc": { + "start": { + "line": 2147, + "column": 13 + }, + "end": { + "line": 2147, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 64249, + 64256 + ], + "loc": { + "start": { + "line": 2147, + "column": 18 + }, + "end": { + "line": 2147, + "column": 25 + } + } + }, + "range": [ + 64244, + 64256 + ], + "loc": { + "start": { + "line": 2147, + "column": 13 + }, + "end": { + "line": 2147, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 64243, + 64256 + ], + "loc": { + "start": { + "line": 2147, + "column": 12 + }, + "end": { + "line": 2147, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 64272, + 64279 + ], + "loc": { + "start": { + "line": 2148, + "column": 12 + }, + "end": { + "line": 2148, + "column": 19 + } + } + } + ], + "range": [ + 64258, + 64289 + ], + "loc": { + "start": { + "line": 2147, + "column": 27 + }, + "end": { + "line": 2149, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 64239, + 64289 + ], + "loc": { + "start": { + "line": 2147, + "column": 8 + }, + "end": { + "line": 2149, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 64302, + 64312 + ], + "loc": { + "start": { + "line": 2150, + "column": 12 + }, + "end": { + "line": 2150, + "column": 22 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 64315, + 64317 + ], + "loc": { + "start": { + "line": 2150, + "column": 25 + }, + "end": { + "line": 2150, + "column": 27 + } + } + }, + "range": [ + 64302, + 64317 + ], + "loc": { + "start": { + "line": 2150, + "column": 12 + }, + "end": { + "line": 2150, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 64298, + 64318 + ], + "loc": { + "start": { + "line": 2150, + "column": 8 + }, + "end": { + "line": 2150, + "column": 28 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 64336, + 64337 + ], + "loc": { + "start": { + "line": 2151, + "column": 17 + }, + "end": { + "line": 2151, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 64340, + 64341 + ], + "loc": { + "start": { + "line": 2151, + "column": 21 + }, + "end": { + "line": 2151, + "column": 22 + } + } + }, + "range": [ + 64336, + 64341 + ], + "loc": { + "start": { + "line": 2151, + "column": 17 + }, + "end": { + "line": 2151, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 64343, + 64346 + ], + "loc": { + "start": { + "line": 2151, + "column": 24 + }, + "end": { + "line": 2151, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 64349, + 64353 + ], + "loc": { + "start": { + "line": 2151, + "column": 30 + }, + "end": { + "line": 2151, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 64354, + 64360 + ], + "loc": { + "start": { + "line": 2151, + "column": 35 + }, + "end": { + "line": 2151, + "column": 41 + } + } + }, + "range": [ + 64349, + 64360 + ], + "loc": { + "start": { + "line": 2151, + "column": 30 + }, + "end": { + "line": 2151, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 64361, + 64367 + ], + "loc": { + "start": { + "line": 2151, + "column": 42 + }, + "end": { + "line": 2151, + "column": 48 + } + } + }, + "range": [ + 64349, + 64367 + ], + "loc": { + "start": { + "line": 2151, + "column": 30 + }, + "end": { + "line": 2151, + "column": 48 + } + } + }, + "range": [ + 64343, + 64367 + ], + "loc": { + "start": { + "line": 2151, + "column": 24 + }, + "end": { + "line": 2151, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 64332, + 64367 + ], + "loc": { + "start": { + "line": 2151, + "column": 13 + }, + "end": { + "line": 2151, + "column": 48 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 64369, + 64370 + ], + "loc": { + "start": { + "line": 2151, + "column": 50 + }, + "end": { + "line": 2151, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 64373, + 64376 + ], + "loc": { + "start": { + "line": 2151, + "column": 54 + }, + "end": { + "line": 2151, + "column": 57 + } + } + }, + "range": [ + 64369, + 64376 + ], + "loc": { + "start": { + "line": 2151, + "column": 50 + }, + "end": { + "line": 2151, + "column": 57 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 64378, + 64379 + ], + "loc": { + "start": { + "line": 2151, + "column": 59 + }, + "end": { + "line": 2151, + "column": 60 + } + } + }, + "prefix": false, + "range": [ + 64378, + 64381 + ], + "loc": { + "start": { + "line": 2151, + "column": 59 + }, + "end": { + "line": 2151, + "column": 62 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64401, + 64409 + ], + "loc": { + "start": { + "line": 2152, + "column": 16 + }, + "end": { + "line": 2152, + "column": 24 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 64412, + 64416 + ], + "loc": { + "start": { + "line": 2152, + "column": 27 + }, + "end": { + "line": 2152, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterValue", + "range": [ + 64417, + 64431 + ], + "loc": { + "start": { + "line": 2152, + "column": 32 + }, + "end": { + "line": 2152, + "column": 46 + } + } + }, + "range": [ + 64412, + 64431 + ], + "loc": { + "start": { + "line": 2152, + "column": 27 + }, + "end": { + "line": 2152, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 64432, + 64433 + ], + "loc": { + "start": { + "line": 2152, + "column": 47 + }, + "end": { + "line": 2152, + "column": 48 + } + } + } + ], + "range": [ + 64412, + 64434 + ], + "loc": { + "start": { + "line": 2152, + "column": 27 + }, + "end": { + "line": 2152, + "column": 49 + } + } + }, + "range": [ + 64401, + 64434 + ], + "loc": { + "start": { + "line": 2152, + "column": 16 + }, + "end": { + "line": 2152, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 64397, + 64435 + ], + "loc": { + "start": { + "line": 2152, + "column": 12 + }, + "end": { + "line": 2152, + "column": 50 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 64452, + 64459 + ], + "loc": { + "start": { + "line": 2153, + "column": 16 + }, + "end": { + "line": 2153, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64460, + 64468 + ], + "loc": { + "start": { + "line": 2153, + "column": 24 + }, + "end": { + "line": 2153, + "column": 32 + } + } + } + ], + "range": [ + 64452, + 64469 + ], + "loc": { + "start": { + "line": 2153, + "column": 16 + }, + "end": { + "line": 2153, + "column": 33 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 64489, + 64499 + ], + "loc": { + "start": { + "line": 2154, + "column": 16 + }, + "end": { + "line": 2154, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 64500, + 64504 + ], + "loc": { + "start": { + "line": 2154, + "column": 27 + }, + "end": { + "line": 2154, + "column": 31 + } + } + }, + "range": [ + 64489, + 64504 + ], + "loc": { + "start": { + "line": 2154, + "column": 16 + }, + "end": { + "line": 2154, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64505, + 64513 + ], + "loc": { + "start": { + "line": 2154, + "column": 32 + }, + "end": { + "line": 2154, + "column": 40 + } + } + } + ], + "range": [ + 64489, + 64514 + ], + "loc": { + "start": { + "line": 2154, + "column": 16 + }, + "end": { + "line": 2154, + "column": 41 + } + } + }, + "range": [ + 64489, + 64515 + ], + "loc": { + "start": { + "line": 2154, + "column": 16 + }, + "end": { + "line": 2154, + "column": 42 + } + } + } + ], + "range": [ + 64471, + 64529 + ], + "loc": { + "start": { + "line": 2153, + "column": 35 + }, + "end": { + "line": 2155, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 64553, + 64563 + ], + "loc": { + "start": { + "line": 2156, + "column": 16 + }, + "end": { + "line": 2156, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 64564, + 64568 + ], + "loc": { + "start": { + "line": 2156, + "column": 27 + }, + "end": { + "line": 2156, + "column": 31 + } + } + }, + "range": [ + 64553, + 64568 + ], + "loc": { + "start": { + "line": 2156, + "column": 16 + }, + "end": { + "line": 2156, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "trim", + "range": [ + 64569, + 64573 + ], + "loc": { + "start": { + "line": 2156, + "column": 32 + }, + "end": { + "line": 2156, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltValue", + "range": [ + 64574, + 64582 + ], + "loc": { + "start": { + "line": 2156, + "column": 37 + }, + "end": { + "line": 2156, + "column": 45 + } + } + } + ], + "range": [ + 64569, + 64583 + ], + "loc": { + "start": { + "line": 2156, + "column": 32 + }, + "end": { + "line": 2156, + "column": 46 + } + } + } + ], + "range": [ + 64553, + 64584 + ], + "loc": { + "start": { + "line": 2156, + "column": 16 + }, + "end": { + "line": 2156, + "column": 47 + } + } + }, + "range": [ + 64553, + 64585 + ], + "loc": { + "start": { + "line": 2156, + "column": 16 + }, + "end": { + "line": 2156, + "column": 48 + } + } + } + ], + "range": [ + 64535, + 64599 + ], + "loc": { + "start": { + "line": 2155, + "column": 19 + }, + "end": { + "line": 2157, + "column": 13 + } + } + }, + "range": [ + 64448, + 64599 + ], + "loc": { + "start": { + "line": 2153, + "column": 12 + }, + "end": { + "line": 2157, + "column": 13 + } + } + } + ], + "range": [ + 64383, + 64609 + ], + "loc": { + "start": { + "line": 2151, + "column": 64 + }, + "end": { + "line": 2158, + "column": 9 + } + } + }, + "range": [ + 64327, + 64609 + ], + "loc": { + "start": { + "line": 2151, + "column": 8 + }, + "end": { + "line": 2158, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "searchArgs", + "range": [ + 64625, + 64635 + ], + "loc": { + "start": { + "line": 2159, + "column": 15 + }, + "end": { + "line": 2159, + "column": 25 + } + } + }, + "range": [ + 64618, + 64636 + ], + "loc": { + "start": { + "line": 2159, + "column": 8 + }, + "end": { + "line": 2159, + "column": 26 + } + } + } + ], + "range": [ + 64229, + 64642 + ], + "loc": { + "start": { + "line": 2146, + "column": 22 + }, + "end": { + "line": 2160, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 64226, + 64642 + ], + "loc": { + "start": { + "line": 2146, + "column": 19 + }, + "end": { + "line": 2160, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 64211, + 64642 + ], + "loc": { + "start": { + "line": 2146, + "column": 4 + }, + "end": { + "line": 2160, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filters' values\n * @return {Array} List of filters' values\n ", + "range": [ + 64114, + 64206 + ], + "loc": { + "start": { + "line": 2142, + "column": 4 + }, + "end": { + "line": 2145, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64648, + 64811 + ], + "loc": { + "start": { + "line": 2162, + "column": 4 + }, + "end": { + "line": 2166, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilterId", + "range": [ + 64816, + 64827 + ], + "loc": { + "start": { + "line": 2167, + "column": 4 + }, + "end": { + "line": 2167, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 64828, + 64833 + ], + "loc": { + "start": { + "line": 2167, + "column": 16 + }, + "end": { + "line": 2167, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 64850, + 64854 + ], + "loc": { + "start": { + "line": 2168, + "column": 13 + }, + "end": { + "line": 2168, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 64855, + 64862 + ], + "loc": { + "start": { + "line": 2168, + "column": 18 + }, + "end": { + "line": 2168, + "column": 25 + } + } + }, + "range": [ + 64850, + 64862 + ], + "loc": { + "start": { + "line": 2168, + "column": 13 + }, + "end": { + "line": 2168, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 64849, + 64862 + ], + "loc": { + "start": { + "line": 2168, + "column": 12 + }, + "end": { + "line": 2168, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 64878, + 64885 + ], + "loc": { + "start": { + "line": 2169, + "column": 12 + }, + "end": { + "line": 2169, + "column": 19 + } + } + } + ], + "range": [ + 64864, + 64895 + ], + "loc": { + "start": { + "line": 2168, + "column": 27 + }, + "end": { + "line": 2170, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 64845, + 64895 + ], + "loc": { + "start": { + "line": 2168, + "column": 8 + }, + "end": { + "line": 2170, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 64911, + 64915 + ], + "loc": { + "start": { + "line": 2171, + "column": 15 + }, + "end": { + "line": 2171, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 64916, + 64922 + ], + "loc": { + "start": { + "line": 2171, + "column": 20 + }, + "end": { + "line": 2171, + "column": 26 + } + } + }, + "range": [ + 64911, + 64922 + ], + "loc": { + "start": { + "line": 2171, + "column": 15 + }, + "end": { + "line": 2171, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 64923, + 64928 + ], + "loc": { + "start": { + "line": 2171, + "column": 27 + }, + "end": { + "line": 2171, + "column": 32 + } + } + }, + "range": [ + 64911, + 64929 + ], + "loc": { + "start": { + "line": 2171, + "column": 15 + }, + "end": { + "line": 2171, + "column": 33 + } + } + }, + "range": [ + 64904, + 64930 + ], + "loc": { + "start": { + "line": 2171, + "column": 8 + }, + "end": { + "line": 2171, + "column": 34 + } + } + } + ], + "range": [ + 64835, + 64936 + ], + "loc": { + "start": { + "line": 2167, + "column": 23 + }, + "end": { + "line": 2172, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 64827, + 64936 + ], + "loc": { + "start": { + "line": 2167, + "column": 15 + }, + "end": { + "line": 2172, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 64816, + 64936 + ], + "loc": { + "start": { + "line": 2167, + "column": 4 + }, + "end": { + "line": 2172, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64648, + 64811 + ], + "loc": { + "start": { + "line": 2162, + "column": 4 + }, + "end": { + "line": 2166, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64942, + 65343 + ], + "loc": { + "start": { + "line": 2174, + "column": 4 + }, + "end": { + "line": 2182, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 65348, + 65364 + ], + "loc": { + "start": { + "line": 2183, + "column": 4 + }, + "end": { + "line": 2183, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "type", + "range": [ + 65365, + 65369 + ], + "loc": { + "start": { + "line": 2183, + "column": 21 + }, + "end": { + "line": 2183, + "column": 25 + } + } + }, + { + "type": "Identifier", + "name": "bool", + "range": [ + 65371, + 65375 + ], + "loc": { + "start": { + "line": 2183, + "column": 27 + }, + "end": { + "line": 2183, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 65392, + 65396 + ], + "loc": { + "start": { + "line": 2184, + "column": 13 + }, + "end": { + "line": 2184, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 65397, + 65404 + ], + "loc": { + "start": { + "line": 2184, + "column": 18 + }, + "end": { + "line": 2184, + "column": 25 + } + } + }, + "range": [ + 65392, + 65404 + ], + "loc": { + "start": { + "line": 2184, + "column": 13 + }, + "end": { + "line": 2184, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 65391, + 65404 + ], + "loc": { + "start": { + "line": 2184, + "column": 12 + }, + "end": { + "line": 2184, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 65420, + 65427 + ], + "loc": { + "start": { + "line": 2185, + "column": 12 + }, + "end": { + "line": 2185, + "column": 19 + } + } + } + ], + "range": [ + 65406, + 65437 + ], + "loc": { + "start": { + "line": 2184, + "column": 27 + }, + "end": { + "line": 2186, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 65387, + 65437 + ], + "loc": { + "start": { + "line": 2184, + "column": 8 + }, + "end": { + "line": 2186, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "arr", + "range": [ + 65450, + 65453 + ], + "loc": { + "start": { + "line": 2187, + "column": 12 + }, + "end": { + "line": 2187, + "column": 15 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 65456, + 65458 + ], + "loc": { + "start": { + "line": 2187, + "column": 18 + }, + "end": { + "line": 2187, + "column": 20 + } + } + }, + "range": [ + 65450, + 65458 + ], + "loc": { + "start": { + "line": 2187, + "column": 12 + }, + "end": { + "line": 2187, + "column": 20 + } + } + } + ], + "kind": "let", + "range": [ + 65446, + 65459 + ], + "loc": { + "start": { + "line": 2187, + "column": 8 + }, + "end": { + "line": 2187, + "column": 21 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 65477, + 65478 + ], + "loc": { + "start": { + "line": 2188, + "column": 17 + }, + "end": { + "line": 2188, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 65481, + 65482 + ], + "loc": { + "start": { + "line": 2188, + "column": 21 + }, + "end": { + "line": 2188, + "column": 22 + } + } + }, + "range": [ + 65477, + 65482 + ], + "loc": { + "start": { + "line": 2188, + "column": 17 + }, + "end": { + "line": 2188, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 65484, + 65487 + ], + "loc": { + "start": { + "line": 2188, + "column": 24 + }, + "end": { + "line": 2188, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 65490, + 65494 + ], + "loc": { + "start": { + "line": 2188, + "column": 30 + }, + "end": { + "line": 2188, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 65495, + 65501 + ], + "loc": { + "start": { + "line": 2188, + "column": 35 + }, + "end": { + "line": 2188, + "column": 41 + } + } + }, + "range": [ + 65490, + 65501 + ], + "loc": { + "start": { + "line": 2188, + "column": 30 + }, + "end": { + "line": 2188, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 65502, + 65508 + ], + "loc": { + "start": { + "line": 2188, + "column": 42 + }, + "end": { + "line": 2188, + "column": 48 + } + } + }, + "range": [ + 65490, + 65508 + ], + "loc": { + "start": { + "line": 2188, + "column": 30 + }, + "end": { + "line": 2188, + "column": 48 + } + } + }, + "range": [ + 65484, + 65508 + ], + "loc": { + "start": { + "line": 2188, + "column": 24 + }, + "end": { + "line": 2188, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 65473, + 65508 + ], + "loc": { + "start": { + "line": 2188, + "column": 13 + }, + "end": { + "line": 2188, + "column": 48 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 65510, + 65511 + ], + "loc": { + "start": { + "line": 2188, + "column": 50 + }, + "end": { + "line": 2188, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 65514, + 65517 + ], + "loc": { + "start": { + "line": 2188, + "column": 54 + }, + "end": { + "line": 2188, + "column": 57 + } + } + }, + "range": [ + 65510, + 65517 + ], + "loc": { + "start": { + "line": 2188, + "column": 50 + }, + "end": { + "line": 2188, + "column": 57 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 65519, + 65520 + ], + "loc": { + "start": { + "line": 2188, + "column": 59 + }, + "end": { + "line": 2188, + "column": 60 + } + } + }, + "prefix": false, + "range": [ + 65519, + 65522 + ], + "loc": { + "start": { + "line": 2188, + "column": 59 + }, + "end": { + "line": 2188, + "column": 62 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltType", + "range": [ + 65542, + 65549 + ], + "loc": { + "start": { + "line": 2189, + "column": 16 + }, + "end": { + "line": 2189, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 65552, + 65556 + ], + "loc": { + "start": { + "line": 2189, + "column": 26 + }, + "end": { + "line": 2189, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 65557, + 65570 + ], + "loc": { + "start": { + "line": 2189, + "column": 31 + }, + "end": { + "line": 2189, + "column": 44 + } + } + }, + "range": [ + 65552, + 65570 + ], + "loc": { + "start": { + "line": 2189, + "column": 26 + }, + "end": { + "line": 2189, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 65571, + 65572 + ], + "loc": { + "start": { + "line": 2189, + "column": 45 + }, + "end": { + "line": 2189, + "column": 46 + } + } + } + ], + "range": [ + 65552, + 65573 + ], + "loc": { + "start": { + "line": 2189, + "column": 26 + }, + "end": { + "line": 2189, + "column": 47 + } + } + }, + "range": [ + 65542, + 65573 + ], + "loc": { + "start": { + "line": 2189, + "column": 16 + }, + "end": { + "line": 2189, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 65538, + 65574 + ], + "loc": { + "start": { + "line": 2189, + "column": 12 + }, + "end": { + "line": 2189, + "column": 48 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltType", + "range": [ + 65591, + 65598 + ], + "loc": { + "start": { + "line": 2190, + "column": 16 + }, + "end": { + "line": 2190, + "column": 23 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "type", + "range": [ + 65603, + 65607 + ], + "loc": { + "start": { + "line": 2190, + "column": 28 + }, + "end": { + "line": 2190, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 65608, + 65619 + ], + "loc": { + "start": { + "line": 2190, + "column": 33 + }, + "end": { + "line": 2190, + "column": 44 + } + } + }, + "range": [ + 65603, + 65619 + ], + "loc": { + "start": { + "line": 2190, + "column": 28 + }, + "end": { + "line": 2190, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 65603, + 65621 + ], + "loc": { + "start": { + "line": 2190, + "column": 28 + }, + "end": { + "line": 2190, + "column": 46 + } + } + }, + "range": [ + 65591, + 65621 + ], + "loc": { + "start": { + "line": 2190, + "column": 16 + }, + "end": { + "line": 2190, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "a", + "range": [ + 65645, + 65646 + ], + "loc": { + "start": { + "line": 2191, + "column": 20 + }, + "end": { + "line": 2191, + "column": 21 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "bool", + "range": [ + 65649, + 65653 + ], + "loc": { + "start": { + "line": 2191, + "column": 24 + }, + "end": { + "line": 2191, + "column": 28 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "i", + "range": [ + 65656, + 65657 + ], + "loc": { + "start": { + "line": 2191, + "column": 31 + }, + "end": { + "line": 2191, + "column": 32 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 65660, + 65664 + ], + "loc": { + "start": { + "line": 2191, + "column": 35 + }, + "end": { + "line": 2191, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 65665, + 65671 + ], + "loc": { + "start": { + "line": 2191, + "column": 40 + }, + "end": { + "line": 2191, + "column": 46 + } + } + }, + "range": [ + 65660, + 65671 + ], + "loc": { + "start": { + "line": 2191, + "column": 35 + }, + "end": { + "line": 2191, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 65672, + 65673 + ], + "loc": { + "start": { + "line": 2191, + "column": 47 + }, + "end": { + "line": 2191, + "column": 48 + } + } + }, + "range": [ + 65660, + 65674 + ], + "loc": { + "start": { + "line": 2191, + "column": 35 + }, + "end": { + "line": 2191, + "column": 49 + } + } + }, + "range": [ + 65649, + 65674 + ], + "loc": { + "start": { + "line": 2191, + "column": 24 + }, + "end": { + "line": 2191, + "column": 49 + } + } + }, + "range": [ + 65645, + 65674 + ], + "loc": { + "start": { + "line": 2191, + "column": 20 + }, + "end": { + "line": 2191, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 65641, + 65675 + ], + "loc": { + "start": { + "line": 2191, + "column": 16 + }, + "end": { + "line": 2191, + "column": 50 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "arr", + "range": [ + 65692, + 65695 + ], + "loc": { + "start": { + "line": 2192, + "column": 16 + }, + "end": { + "line": 2192, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 65696, + 65700 + ], + "loc": { + "start": { + "line": 2192, + "column": 20 + }, + "end": { + "line": 2192, + "column": 24 + } + } + }, + "range": [ + 65692, + 65700 + ], + "loc": { + "start": { + "line": 2192, + "column": 16 + }, + "end": { + "line": 2192, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "a", + "range": [ + 65701, + 65702 + ], + "loc": { + "start": { + "line": 2192, + "column": 25 + }, + "end": { + "line": 2192, + "column": 26 + } + } + } + ], + "range": [ + 65692, + 65703 + ], + "loc": { + "start": { + "line": 2192, + "column": 16 + }, + "end": { + "line": 2192, + "column": 27 + } + } + }, + "range": [ + 65692, + 65704 + ], + "loc": { + "start": { + "line": 2192, + "column": 16 + }, + "end": { + "line": 2192, + "column": 28 + } + } + } + ], + "range": [ + 65623, + 65718 + ], + "loc": { + "start": { + "line": 2190, + "column": 48 + }, + "end": { + "line": 2193, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 65587, + 65718 + ], + "loc": { + "start": { + "line": 2190, + "column": 12 + }, + "end": { + "line": 2193, + "column": 13 + } + } + } + ], + "range": [ + 65524, + 65728 + ], + "loc": { + "start": { + "line": 2188, + "column": 64 + }, + "end": { + "line": 2194, + "column": 9 + } + } + }, + "range": [ + 65468, + 65728 + ], + "loc": { + "start": { + "line": 2188, + "column": 8 + }, + "end": { + "line": 2194, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "arr", + "range": [ + 65744, + 65747 + ], + "loc": { + "start": { + "line": 2195, + "column": 15 + }, + "end": { + "line": 2195, + "column": 18 + } + } + }, + "range": [ + 65737, + 65748 + ], + "loc": { + "start": { + "line": 2195, + "column": 8 + }, + "end": { + "line": 2195, + "column": 19 + } + } + } + ], + "range": [ + 65377, + 65754 + ], + "loc": { + "start": { + "line": 2183, + "column": 33 + }, + "end": { + "line": 2196, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 65364, + 65754 + ], + "loc": { + "start": { + "line": 2183, + "column": 20 + }, + "end": { + "line": 2196, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 65348, + 65754 + ], + "loc": { + "start": { + "line": 2183, + "column": 4 + }, + "end": { + "line": 2196, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64942, + 65343 + ], + "loc": { + "start": { + "line": 2174, + "column": 4 + }, + "end": { + "line": 2182, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n ", + "range": [ + 65760, + 65906 + ], + "loc": { + "start": { + "line": 2198, + "column": 4 + }, + "end": { + "line": 2202, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 65911, + 65927 + ], + "loc": { + "start": { + "line": 2203, + "column": 4 + }, + "end": { + "line": 2203, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 65928, + 65933 + ], + "loc": { + "start": { + "line": 2203, + "column": 21 + }, + "end": { + "line": 2203, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltId", + "range": [ + 65949, + 65954 + ], + "loc": { + "start": { + "line": 2204, + "column": 12 + }, + "end": { + "line": 2204, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 65957, + 65961 + ], + "loc": { + "start": { + "line": 2204, + "column": 20 + }, + "end": { + "line": 2204, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 65962, + 65968 + ], + "loc": { + "start": { + "line": 2204, + "column": 25 + }, + "end": { + "line": 2204, + "column": 31 + } + } + }, + "range": [ + 65957, + 65968 + ], + "loc": { + "start": { + "line": 2204, + "column": 20 + }, + "end": { + "line": 2204, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "index", + "range": [ + 65969, + 65974 + ], + "loc": { + "start": { + "line": 2204, + "column": 32 + }, + "end": { + "line": 2204, + "column": 37 + } + } + }, + "range": [ + 65957, + 65975 + ], + "loc": { + "start": { + "line": 2204, + "column": 20 + }, + "end": { + "line": 2204, + "column": 38 + } + } + }, + "range": [ + 65949, + 65975 + ], + "loc": { + "start": { + "line": 2204, + "column": 12 + }, + "end": { + "line": 2204, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 65945, + 65976 + ], + "loc": { + "start": { + "line": 2204, + "column": 8 + }, + "end": { + "line": 2204, + "column": 39 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 65992, + 65995 + ], + "loc": { + "start": { + "line": 2205, + "column": 15 + }, + "end": { + "line": 2205, + "column": 18 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "fltId", + "range": [ + 65996, + 66001 + ], + "loc": { + "start": { + "line": 2205, + "column": 19 + }, + "end": { + "line": 2205, + "column": 24 + } + } + } + ], + "range": [ + 65992, + 66002 + ], + "loc": { + "start": { + "line": 2205, + "column": 15 + }, + "end": { + "line": 2205, + "column": 25 + } + } + }, + "range": [ + 65985, + 66003 + ], + "loc": { + "start": { + "line": 2205, + "column": 8 + }, + "end": { + "line": 2205, + "column": 26 + } + } + } + ], + "range": [ + 65935, + 66009 + ], + "loc": { + "start": { + "line": 2203, + "column": 28 + }, + "end": { + "line": 2206, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 65927, + 66009 + ], + "loc": { + "start": { + "line": 2203, + "column": 20 + }, + "end": { + "line": 2206, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 65911, + 66009 + ], + "loc": { + "start": { + "line": 2203, + "column": 4 + }, + "end": { + "line": 2206, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n ", + "range": [ + 65760, + 65906 + ], + "loc": { + "start": { + "line": 2198, + "column": 4 + }, + "end": { + "line": 2202, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66015, + 66181 + ], + "loc": { + "start": { + "line": 2208, + "column": 4 + }, + "end": { + "line": 2212, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getCellsNb", + "range": [ + 66186, + 66196 + ], + "loc": { + "start": { + "line": 2213, + "column": 4 + }, + "end": { + "line": 2213, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 66197, + 66205 + ], + "loc": { + "start": { + "line": 2213, + "column": 15 + }, + "end": { + "line": 2213, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66208, + 66209 + ], + "loc": { + "start": { + "line": 2213, + "column": 26 + }, + "end": { + "line": 2213, + "column": 27 + } + } + }, + "range": [ + 66197, + 66209 + ], + "loc": { + "start": { + "line": 2213, + "column": 15 + }, + "end": { + "line": 2213, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tr", + "range": [ + 66225, + 66227 + ], + "loc": { + "start": { + "line": 2214, + "column": 12 + }, + "end": { + "line": 2214, + "column": 14 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 66230, + 66234 + ], + "loc": { + "start": { + "line": 2214, + "column": 17 + }, + "end": { + "line": 2214, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 66235, + 66238 + ], + "loc": { + "start": { + "line": 2214, + "column": 22 + }, + "end": { + "line": 2214, + "column": 25 + } + } + }, + "range": [ + 66230, + 66238 + ], + "loc": { + "start": { + "line": 2214, + "column": 17 + }, + "end": { + "line": 2214, + "column": 25 + } + } + }, + "arguments": [], + "range": [ + 66230, + 66240 + ], + "loc": { + "start": { + "line": 2214, + "column": 17 + }, + "end": { + "line": 2214, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 66241, + 66245 + ], + "loc": { + "start": { + "line": 2214, + "column": 28 + }, + "end": { + "line": 2214, + "column": 32 + } + } + }, + "range": [ + 66230, + 66245 + ], + "loc": { + "start": { + "line": 2214, + "column": 17 + }, + "end": { + "line": 2214, + "column": 32 + } + } + }, + "property": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": ">=", + "left": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 66246, + 66254 + ], + "loc": { + "start": { + "line": 2214, + "column": 33 + }, + "end": { + "line": 2214, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66258, + 66259 + ], + "loc": { + "start": { + "line": 2214, + "column": 45 + }, + "end": { + "line": 2214, + "column": 46 + } + } + }, + "range": [ + 66246, + 66259 + ], + "loc": { + "start": { + "line": 2214, + "column": 33 + }, + "end": { + "line": 2214, + "column": 46 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 66262, + 66270 + ], + "loc": { + "start": { + "line": 2214, + "column": 49 + }, + "end": { + "line": 2214, + "column": 57 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66273, + 66274 + ], + "loc": { + "start": { + "line": 2214, + "column": 60 + }, + "end": { + "line": 2214, + "column": 61 + } + } + }, + "range": [ + 66246, + 66274 + ], + "loc": { + "start": { + "line": 2214, + "column": 33 + }, + "end": { + "line": 2214, + "column": 61 + } + } + }, + "range": [ + 66230, + 66275 + ], + "loc": { + "start": { + "line": 2214, + "column": 17 + }, + "end": { + "line": 2214, + "column": 62 + } + } + }, + "range": [ + 66225, + 66275 + ], + "loc": { + "start": { + "line": 2214, + "column": 12 + }, + "end": { + "line": 2214, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 66221, + 66276 + ], + "loc": { + "start": { + "line": 2214, + "column": 8 + }, + "end": { + "line": 2214, + "column": 63 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "tr", + "range": [ + 66292, + 66294 + ], + "loc": { + "start": { + "line": 2215, + "column": 15 + }, + "end": { + "line": 2215, + "column": 17 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tr", + "range": [ + 66297, + 66299 + ], + "loc": { + "start": { + "line": 2215, + "column": 20 + }, + "end": { + "line": 2215, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 66300, + 66305 + ], + "loc": { + "start": { + "line": 2215, + "column": 23 + }, + "end": { + "line": 2215, + "column": 28 + } + } + }, + "range": [ + 66297, + 66305 + ], + "loc": { + "start": { + "line": 2215, + "column": 20 + }, + "end": { + "line": 2215, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 66306, + 66312 + ], + "loc": { + "start": { + "line": 2215, + "column": 29 + }, + "end": { + "line": 2215, + "column": 35 + } + } + }, + "range": [ + 66297, + 66312 + ], + "loc": { + "start": { + "line": 2215, + "column": 20 + }, + "end": { + "line": 2215, + "column": 35 + } + } + }, + "alternate": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66315, + 66316 + ], + "loc": { + "start": { + "line": 2215, + "column": 38 + }, + "end": { + "line": 2215, + "column": 39 + } + } + }, + "range": [ + 66292, + 66316 + ], + "loc": { + "start": { + "line": 2215, + "column": 15 + }, + "end": { + "line": 2215, + "column": 39 + } + } + }, + "range": [ + 66285, + 66317 + ], + "loc": { + "start": { + "line": 2215, + "column": 8 + }, + "end": { + "line": 2215, + "column": 40 + } + } + } + ], + "range": [ + 66211, + 66323 + ], + "loc": { + "start": { + "line": 2213, + "column": 29 + }, + "end": { + "line": 2216, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 66196, + 66323 + ], + "loc": { + "start": { + "line": 2213, + "column": 14 + }, + "end": { + "line": 2216, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 66186, + 66323 + ], + "loc": { + "start": { + "line": 2213, + "column": 4 + }, + "end": { + "line": 2216, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66015, + 66181 + ], + "loc": { + "start": { + "line": 2208, + "column": 4 + }, + "end": { + "line": 2212, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66329, + 66560 + ], + "loc": { + "start": { + "line": 2218, + "column": 4 + }, + "end": { + "line": 2223, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 66565, + 66574 + ], + "loc": { + "start": { + "line": 2224, + "column": 4 + }, + "end": { + "line": 2224, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 66575, + 66589 + ], + "loc": { + "start": { + "line": 2224, + "column": 14 + }, + "end": { + "line": 2224, + "column": 28 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "s", + "range": [ + 66605, + 66606 + ], + "loc": { + "start": { + "line": 2225, + "column": 12 + }, + "end": { + "line": 2225, + "column": 13 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 66609, + 66616 + ], + "loc": { + "start": { + "line": 2225, + "column": 16 + }, + "end": { + "line": 2225, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 66617, + 66621 + ], + "loc": { + "start": { + "line": 2225, + "column": 24 + }, + "end": { + "line": 2225, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 66622, + 66628 + ], + "loc": { + "start": { + "line": 2225, + "column": 29 + }, + "end": { + "line": 2225, + "column": 35 + } + } + }, + "range": [ + 66617, + 66628 + ], + "loc": { + "start": { + "line": 2225, + "column": 24 + }, + "end": { + "line": 2225, + "column": 35 + } + } + } + ], + "range": [ + 66609, + 66629 + ], + "loc": { + "start": { + "line": 2225, + "column": 16 + }, + "end": { + "line": 2225, + "column": 36 + } + } + }, + "consequent": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66632, + 66633 + ], + "loc": { + "start": { + "line": 2225, + "column": 39 + }, + "end": { + "line": 2225, + "column": 40 + } + } + }, + "alternate": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 66636, + 66640 + ], + "loc": { + "start": { + "line": 2225, + "column": 43 + }, + "end": { + "line": 2225, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 66641, + 66647 + ], + "loc": { + "start": { + "line": 2225, + "column": 48 + }, + "end": { + "line": 2225, + "column": 54 + } + } + }, + "range": [ + 66636, + 66647 + ], + "loc": { + "start": { + "line": 2225, + "column": 43 + }, + "end": { + "line": 2225, + "column": 54 + } + } + }, + "range": [ + 66609, + 66647 + ], + "loc": { + "start": { + "line": 2225, + "column": 16 + }, + "end": { + "line": 2225, + "column": 54 + } + } + }, + "range": [ + 66605, + 66647 + ], + "loc": { + "start": { + "line": 2225, + "column": 12 + }, + "end": { + "line": 2225, + "column": 54 + } + } + } + ], + "kind": "let", + "range": [ + 66601, + 66648 + ], + "loc": { + "start": { + "line": 2225, + "column": 8 + }, + "end": { + "line": 2225, + "column": 55 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ntrs", + "range": [ + 66661, + 66665 + ], + "loc": { + "start": { + "line": 2226, + "column": 12 + }, + "end": { + "line": 2226, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 66668, + 66672 + ], + "loc": { + "start": { + "line": 2226, + "column": 19 + }, + "end": { + "line": 2226, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 66673, + 66676 + ], + "loc": { + "start": { + "line": 2226, + "column": 24 + }, + "end": { + "line": 2226, + "column": 27 + } + } + }, + "range": [ + 66668, + 66676 + ], + "loc": { + "start": { + "line": 2226, + "column": 19 + }, + "end": { + "line": 2226, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 66668, + 66678 + ], + "loc": { + "start": { + "line": 2226, + "column": 19 + }, + "end": { + "line": 2226, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 66679, + 66683 + ], + "loc": { + "start": { + "line": 2226, + "column": 30 + }, + "end": { + "line": 2226, + "column": 34 + } + } + }, + "range": [ + 66668, + 66683 + ], + "loc": { + "start": { + "line": 2226, + "column": 19 + }, + "end": { + "line": 2226, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 66684, + 66690 + ], + "loc": { + "start": { + "line": 2226, + "column": 35 + }, + "end": { + "line": 2226, + "column": 41 + } + } + }, + "range": [ + 66668, + 66690 + ], + "loc": { + "start": { + "line": 2226, + "column": 19 + }, + "end": { + "line": 2226, + "column": 41 + } + } + }, + "range": [ + 66661, + 66690 + ], + "loc": { + "start": { + "line": 2226, + "column": 12 + }, + "end": { + "line": 2226, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 66657, + 66691 + ], + "loc": { + "start": { + "line": 2226, + "column": 8 + }, + "end": { + "line": 2226, + "column": 42 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 66704, + 66718 + ], + "loc": { + "start": { + "line": 2227, + "column": 12 + }, + "end": { + "line": 2227, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "s", + "range": [ + 66734, + 66735 + ], + "loc": { + "start": { + "line": 2228, + "column": 12 + }, + "end": { + "line": 2228, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 66738, + 66739 + ], + "loc": { + "start": { + "line": 2228, + "column": 16 + }, + "end": { + "line": 2228, + "column": 17 + } + } + }, + "range": [ + 66734, + 66739 + ], + "loc": { + "start": { + "line": 2228, + "column": 12 + }, + "end": { + "line": 2228, + "column": 17 + } + } + }, + "range": [ + 66734, + 66740 + ], + "loc": { + "start": { + "line": 2228, + "column": 12 + }, + "end": { + "line": 2228, + "column": 18 + } + } + } + ], + "range": [ + 66720, + 66750 + ], + "loc": { + "start": { + "line": 2227, + "column": 28 + }, + "end": { + "line": 2229, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 66700, + 66750 + ], + "loc": { + "start": { + "line": 2227, + "column": 8 + }, + "end": { + "line": 2229, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 66766, + 66774 + ], + "loc": { + "start": { + "line": 2230, + "column": 15 + }, + "end": { + "line": 2230, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "ntrs", + "range": [ + 66775, + 66779 + ], + "loc": { + "start": { + "line": 2230, + "column": 24 + }, + "end": { + "line": 2230, + "column": 28 + } + } + }, + "right": { + "type": "Identifier", + "name": "s", + "range": [ + 66782, + 66783 + ], + "loc": { + "start": { + "line": 2230, + "column": 31 + }, + "end": { + "line": 2230, + "column": 32 + } + } + }, + "range": [ + 66775, + 66783 + ], + "loc": { + "start": { + "line": 2230, + "column": 24 + }, + "end": { + "line": 2230, + "column": 32 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 66785, + 66787 + ], + "loc": { + "start": { + "line": 2230, + "column": 34 + }, + "end": { + "line": 2230, + "column": 36 + } + } + } + ], + "range": [ + 66766, + 66788 + ], + "loc": { + "start": { + "line": 2230, + "column": 15 + }, + "end": { + "line": 2230, + "column": 37 + } + } + }, + "range": [ + 66759, + 66789 + ], + "loc": { + "start": { + "line": 2230, + "column": 8 + }, + "end": { + "line": 2230, + "column": 38 + } + } + } + ], + "range": [ + 66591, + 66795 + ], + "loc": { + "start": { + "line": 2224, + "column": 30 + }, + "end": { + "line": 2231, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 66574, + 66795 + ], + "loc": { + "start": { + "line": 2224, + "column": 13 + }, + "end": { + "line": 2231, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 66565, + 66795 + ], + "loc": { + "start": { + "line": 2224, + "column": 4 + }, + "end": { + "line": 2231, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66329, + 66560 + ], + "loc": { + "start": { + "line": 2218, + "column": 4 + }, + "end": { + "line": 2223, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the text content of a given cell\n * @param {DOMElement} Cell's DOM element\n * @return {String}\n ", + "range": [ + 66802, + 66930 + ], + "loc": { + "start": { + "line": 2234, + "column": 4 + }, + "end": { + "line": 2238, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 66935, + 66947 + ], + "loc": { + "start": { + "line": 2239, + "column": 4 + }, + "end": { + "line": 2239, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 66948, + 66952 + ], + "loc": { + "start": { + "line": 2239, + "column": 17 + }, + "end": { + "line": 2239, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 66968, + 66971 + ], + "loc": { + "start": { + "line": 2240, + "column": 12 + }, + "end": { + "line": 2240, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 66974, + 66978 + ], + "loc": { + "start": { + "line": 2240, + "column": 18 + }, + "end": { + "line": 2240, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 66979, + 66988 + ], + "loc": { + "start": { + "line": 2240, + "column": 23 + }, + "end": { + "line": 2240, + "column": 32 + } + } + }, + "range": [ + 66974, + 66988 + ], + "loc": { + "start": { + "line": 2240, + "column": 18 + }, + "end": { + "line": 2240, + "column": 32 + } + } + }, + "range": [ + 66968, + 66988 + ], + "loc": { + "start": { + "line": 2240, + "column": 12 + }, + "end": { + "line": 2240, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 66964, + 66989 + ], + "loc": { + "start": { + "line": 2240, + "column": 8 + }, + "end": { + "line": 2240, + "column": 33 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellParser", + "range": [ + 67002, + 67012 + ], + "loc": { + "start": { + "line": 2241, + "column": 12 + }, + "end": { + "line": 2241, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67015, + 67019 + ], + "loc": { + "start": { + "line": 2241, + "column": 25 + }, + "end": { + "line": 2241, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellParser", + "range": [ + 67020, + 67030 + ], + "loc": { + "start": { + "line": 2241, + "column": 30 + }, + "end": { + "line": 2241, + "column": 40 + } + } + }, + "range": [ + 67015, + 67030 + ], + "loc": { + "start": { + "line": 2241, + "column": 25 + }, + "end": { + "line": 2241, + "column": 40 + } + } + }, + "range": [ + 67002, + 67030 + ], + "loc": { + "start": { + "line": 2241, + "column": 12 + }, + "end": { + "line": 2241, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 66998, + 67031 + ], + "loc": { + "start": { + "line": 2241, + "column": 8 + }, + "end": { + "line": 2241, + "column": 41 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Invoke cellParser for this column if any", + "range": [ + 67040, + 67083 + ], + "loc": { + "start": { + "line": 2242, + "column": 8 + }, + "end": { + "line": 2242, + "column": 51 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellParser", + "range": [ + 67096, + 67106 + ], + "loc": { + "start": { + "line": 2243, + "column": 12 + }, + "end": { + "line": 2243, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "cols", + "range": [ + 67107, + 67111 + ], + "loc": { + "start": { + "line": 2243, + "column": 23 + }, + "end": { + "line": 2243, + "column": 27 + } + } + }, + "range": [ + 67096, + 67111 + ], + "loc": { + "start": { + "line": 2243, + "column": 12 + }, + "end": { + "line": 2243, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 67112, + 67119 + ], + "loc": { + "start": { + "line": 2243, + "column": 28 + }, + "end": { + "line": 2243, + "column": 35 + } + } + }, + "range": [ + 67096, + 67119 + ], + "loc": { + "start": { + "line": 2243, + "column": 12 + }, + "end": { + "line": 2243, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 67120, + 67123 + ], + "loc": { + "start": { + "line": 2243, + "column": 36 + }, + "end": { + "line": 2243, + "column": 39 + } + } + } + ], + "range": [ + 67096, + 67124 + ], + "loc": { + "start": { + "line": 2243, + "column": 12 + }, + "end": { + "line": 2243, + "column": 40 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 67130, + 67131 + ], + "loc": { + "start": { + "line": 2243, + "column": 46 + }, + "end": { + "line": 2243, + "column": 47 + } + } + }, + "prefix": true, + "range": [ + 67129, + 67131 + ], + "loc": { + "start": { + "line": 2243, + "column": 45 + }, + "end": { + "line": 2243, + "column": 47 + } + } + }, + "range": [ + 67096, + 67131 + ], + "loc": { + "start": { + "line": 2243, + "column": 12 + }, + "end": { + "line": 2243, + "column": 47 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cellParser", + "range": [ + 67154, + 67164 + ], + "loc": { + "start": { + "line": 2244, + "column": 19 + }, + "end": { + "line": 2244, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 67165, + 67170 + ], + "loc": { + "start": { + "line": 2244, + "column": 30 + }, + "end": { + "line": 2244, + "column": 35 + } + } + }, + "range": [ + 67154, + 67170 + ], + "loc": { + "start": { + "line": 2244, + "column": 19 + }, + "end": { + "line": 2244, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 67171, + 67175 + ], + "loc": { + "start": { + "line": 2244, + "column": 36 + }, + "end": { + "line": 2244, + "column": 40 + } + } + }, + { + "type": "Identifier", + "name": "cell", + "range": [ + 67177, + 67181 + ], + "loc": { + "start": { + "line": 2244, + "column": 42 + }, + "end": { + "line": 2244, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "idx", + "range": [ + 67183, + 67186 + ], + "loc": { + "start": { + "line": 2244, + "column": 48 + }, + "end": { + "line": 2244, + "column": 51 + } + } + } + ], + "range": [ + 67154, + 67187 + ], + "loc": { + "start": { + "line": 2244, + "column": 19 + }, + "end": { + "line": 2244, + "column": 52 + } + } + }, + "range": [ + 67147, + 67188 + ], + "loc": { + "start": { + "line": 2244, + "column": 12 + }, + "end": { + "line": 2244, + "column": 53 + } + } + } + ], + "range": [ + 67133, + 67198 + ], + "loc": { + "start": { + "line": 2243, + "column": 49 + }, + "end": { + "line": 2245, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getText", + "range": [ + 67225, + 67232 + ], + "loc": { + "start": { + "line": 2246, + "column": 19 + }, + "end": { + "line": 2246, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 67233, + 67237 + ], + "loc": { + "start": { + "line": 2246, + "column": 27 + }, + "end": { + "line": 2246, + "column": 31 + } + } + } + ], + "range": [ + 67225, + 67238 + ], + "loc": { + "start": { + "line": 2246, + "column": 19 + }, + "end": { + "line": 2246, + "column": 32 + } + } + }, + "range": [ + 67218, + 67239 + ], + "loc": { + "start": { + "line": 2246, + "column": 12 + }, + "end": { + "line": 2246, + "column": 33 + } + } + } + ], + "range": [ + 67204, + 67249 + ], + "loc": { + "start": { + "line": 2245, + "column": 15 + }, + "end": { + "line": 2247, + "column": 9 + } + } + }, + "range": [ + 67092, + 67249 + ], + "loc": { + "start": { + "line": 2243, + "column": 8 + }, + "end": { + "line": 2247, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Invoke cellParser for this column if any", + "range": [ + 67040, + 67083 + ], + "loc": { + "start": { + "line": 2242, + "column": 8 + }, + "end": { + "line": 2242, + "column": 51 + } + } + } + ] + } + ], + "range": [ + 66954, + 67255 + ], + "loc": { + "start": { + "line": 2239, + "column": 23 + }, + "end": { + "line": 2248, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 66947, + 67255 + ], + "loc": { + "start": { + "line": 2239, + "column": 16 + }, + "end": { + "line": 2248, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 66935, + 67255 + ], + "loc": { + "start": { + "line": 2239, + "column": 4 + }, + "end": { + "line": 2248, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the text content of a given cell\n * @param {DOMElement} Cell's DOM element\n * @return {String}\n ", + "range": [ + 66802, + 66930 + ], + "loc": { + "start": { + "line": 2234, + "column": 4 + }, + "end": { + "line": 2238, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the typed data of a given cell based on the column type definition\n * @param {DOMElement} cell Cell's DOM element\n * @return {String|Number|Date}\n ", + "range": [ + 67261, + 67441 + ], + "loc": { + "start": { + "line": 2250, + "column": 4 + }, + "end": { + "line": 2254, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getCellData", + "range": [ + 67446, + 67457 + ], + "loc": { + "start": { + "line": 2255, + "column": 4 + }, + "end": { + "line": 2255, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 67458, + 67462 + ], + "loc": { + "start": { + "line": 2255, + "column": 16 + }, + "end": { + "line": 2255, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67478, + 67486 + ], + "loc": { + "start": { + "line": 2256, + "column": 12 + }, + "end": { + "line": 2256, + "column": 20 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cell", + "range": [ + 67489, + 67493 + ], + "loc": { + "start": { + "line": 2256, + "column": 23 + }, + "end": { + "line": 2256, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "cellIndex", + "range": [ + 67494, + 67503 + ], + "loc": { + "start": { + "line": 2256, + "column": 28 + }, + "end": { + "line": 2256, + "column": 37 + } + } + }, + "range": [ + 67489, + 67503 + ], + "loc": { + "start": { + "line": 2256, + "column": 23 + }, + "end": { + "line": 2256, + "column": 37 + } + } + }, + "range": [ + 67478, + 67503 + ], + "loc": { + "start": { + "line": 2256, + "column": 12 + }, + "end": { + "line": 2256, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 67474, + 67504 + ], + "loc": { + "start": { + "line": 2256, + "column": 8 + }, + "end": { + "line": 2256, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "value", + "range": [ + 67517, + 67522 + ], + "loc": { + "start": { + "line": 2257, + "column": 12 + }, + "end": { + "line": 2257, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67525, + 67529 + ], + "loc": { + "start": { + "line": 2257, + "column": 20 + }, + "end": { + "line": 2257, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 67530, + 67542 + ], + "loc": { + "start": { + "line": 2257, + "column": 25 + }, + "end": { + "line": 2257, + "column": 37 + } + } + }, + "range": [ + 67525, + 67542 + ], + "loc": { + "start": { + "line": 2257, + "column": 20 + }, + "end": { + "line": 2257, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cell", + "range": [ + 67543, + 67547 + ], + "loc": { + "start": { + "line": 2257, + "column": 38 + }, + "end": { + "line": 2257, + "column": 42 + } + } + } + ], + "range": [ + 67525, + 67548 + ], + "loc": { + "start": { + "line": 2257, + "column": 20 + }, + "end": { + "line": 2257, + "column": 43 + } + } + }, + "range": [ + 67517, + 67548 + ], + "loc": { + "start": { + "line": 2257, + "column": 12 + }, + "end": { + "line": 2257, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 67513, + 67549 + ], + "loc": { + "start": { + "line": 2257, + "column": 8 + }, + "end": { + "line": 2257, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67563, + 67567 + ], + "loc": { + "start": { + "line": 2259, + "column": 12 + }, + "end": { + "line": 2259, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 67568, + 67575 + ], + "loc": { + "start": { + "line": 2259, + "column": 17 + }, + "end": { + "line": 2259, + "column": 24 + } + } + }, + "range": [ + 67563, + 67575 + ], + "loc": { + "start": { + "line": 2259, + "column": 12 + }, + "end": { + "line": 2259, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67576, + 67584 + ], + "loc": { + "start": { + "line": 2259, + "column": 25 + }, + "end": { + "line": 2259, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 67587, + 67603 + ], + "loc": { + "start": { + "line": 2259, + "column": 36 + }, + "end": { + "line": 2259, + "column": 52 + } + } + } + ], + "range": [ + 67586, + 67604 + ], + "loc": { + "start": { + "line": 2259, + "column": 35 + }, + "end": { + "line": 2259, + "column": 53 + } + } + } + ], + "range": [ + 67563, + 67605 + ], + "loc": { + "start": { + "line": 2259, + "column": 12 + }, + "end": { + "line": 2259, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 67628, + 67635 + ], + "loc": { + "start": { + "line": 2260, + "column": 19 + }, + "end": { + "line": 2260, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 67636, + 67641 + ], + "loc": { + "start": { + "line": 2260, + "column": 27 + }, + "end": { + "line": 2260, + "column": 32 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67643, + 67647 + ], + "loc": { + "start": { + "line": 2260, + "column": 34 + }, + "end": { + "line": 2260, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "getDecimal", + "range": [ + 67648, + 67658 + ], + "loc": { + "start": { + "line": 2260, + "column": 39 + }, + "end": { + "line": 2260, + "column": 49 + } + } + }, + "range": [ + 67643, + 67658 + ], + "loc": { + "start": { + "line": 2260, + "column": 34 + }, + "end": { + "line": 2260, + "column": 49 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67659, + 67667 + ], + "loc": { + "start": { + "line": 2260, + "column": 50 + }, + "end": { + "line": 2260, + "column": 58 + } + } + } + ], + "range": [ + 67643, + 67668 + ], + "loc": { + "start": { + "line": 2260, + "column": 34 + }, + "end": { + "line": 2260, + "column": 59 + } + } + } + ], + "range": [ + 67628, + 67669 + ], + "loc": { + "start": { + "line": 2260, + "column": 19 + }, + "end": { + "line": 2260, + "column": 60 + } + } + }, + "range": [ + 67621, + 67670 + ], + "loc": { + "start": { + "line": 2260, + "column": 12 + }, + "end": { + "line": 2260, + "column": 61 + } + } + } + ], + "range": [ + 67607, + 67680 + ], + "loc": { + "start": { + "line": 2259, + "column": 56 + }, + "end": { + "line": 2261, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67698, + 67702 + ], + "loc": { + "start": { + "line": 2262, + "column": 17 + }, + "end": { + "line": 2262, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 67703, + 67710 + ], + "loc": { + "start": { + "line": 2262, + "column": 22 + }, + "end": { + "line": 2262, + "column": 29 + } + } + }, + "range": [ + 67698, + 67710 + ], + "loc": { + "start": { + "line": 2262, + "column": 17 + }, + "end": { + "line": 2262, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67711, + 67719 + ], + "loc": { + "start": { + "line": 2262, + "column": 30 + }, + "end": { + "line": 2262, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "NUMBER", + "range": [ + 67722, + 67728 + ], + "loc": { + "start": { + "line": 2262, + "column": 41 + }, + "end": { + "line": 2262, + "column": 47 + } + } + } + ], + "range": [ + 67721, + 67729 + ], + "loc": { + "start": { + "line": 2262, + "column": 40 + }, + "end": { + "line": 2262, + "column": 48 + } + } + } + ], + "range": [ + 67698, + 67730 + ], + "loc": { + "start": { + "line": 2262, + "column": 17 + }, + "end": { + "line": 2262, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Number", + "range": [ + 67753, + 67759 + ], + "loc": { + "start": { + "line": 2263, + "column": 19 + }, + "end": { + "line": 2263, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 67760, + 67765 + ], + "loc": { + "start": { + "line": 2263, + "column": 26 + }, + "end": { + "line": 2263, + "column": 31 + } + } + } + ], + "range": [ + 67753, + 67766 + ], + "loc": { + "start": { + "line": 2263, + "column": 19 + }, + "end": { + "line": 2263, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseNb", + "range": [ + 67770, + 67777 + ], + "loc": { + "start": { + "line": 2263, + "column": 36 + }, + "end": { + "line": 2263, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 67778, + 67783 + ], + "loc": { + "start": { + "line": 2263, + "column": 44 + }, + "end": { + "line": 2263, + "column": 49 + } + } + } + ], + "range": [ + 67770, + 67784 + ], + "loc": { + "start": { + "line": 2263, + "column": 36 + }, + "end": { + "line": 2263, + "column": 50 + } + } + }, + "range": [ + 67753, + 67784 + ], + "loc": { + "start": { + "line": 2263, + "column": 19 + }, + "end": { + "line": 2263, + "column": 50 + } + } + }, + "range": [ + 67746, + 67785 + ], + "loc": { + "start": { + "line": 2263, + "column": 12 + }, + "end": { + "line": 2263, + "column": 51 + } + } + } + ], + "range": [ + 67732, + 67795 + ], + "loc": { + "start": { + "line": 2262, + "column": 51 + }, + "end": { + "line": 2264, + "column": 9 + } + } + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67813, + 67817 + ], + "loc": { + "start": { + "line": 2265, + "column": 17 + }, + "end": { + "line": 2265, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 67818, + 67825 + ], + "loc": { + "start": { + "line": 2265, + "column": 22 + }, + "end": { + "line": 2265, + "column": 29 + } + } + }, + "range": [ + 67813, + 67825 + ], + "loc": { + "start": { + "line": 2265, + "column": 17 + }, + "end": { + "line": 2265, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67826, + 67834 + ], + "loc": { + "start": { + "line": 2265, + "column": 30 + }, + "end": { + "line": 2265, + "column": 38 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "DATE", + "range": [ + 67837, + 67841 + ], + "loc": { + "start": { + "line": 2265, + "column": 41 + }, + "end": { + "line": 2265, + "column": 45 + } + } + } + ], + "range": [ + 67836, + 67842 + ], + "loc": { + "start": { + "line": 2265, + "column": 40 + }, + "end": { + "line": 2265, + "column": 46 + } + } + } + ], + "range": [ + 67813, + 67843 + ], + "loc": { + "start": { + "line": 2265, + "column": 17 + }, + "end": { + "line": 2265, + "column": 47 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "dateType", + "range": [ + 67862, + 67870 + ], + "loc": { + "start": { + "line": 2266, + "column": 16 + }, + "end": { + "line": 2266, + "column": 24 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 67873, + 67877 + ], + "loc": { + "start": { + "line": 2266, + "column": 27 + }, + "end": { + "line": 2266, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 67878, + 67881 + ], + "loc": { + "start": { + "line": 2266, + "column": 32 + }, + "end": { + "line": 2266, + "column": 35 + } + } + }, + "range": [ + 67873, + 67881 + ], + "loc": { + "start": { + "line": 2266, + "column": 27 + }, + "end": { + "line": 2266, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "dateType", + "range": [ + 67882, + 67890 + ], + "loc": { + "start": { + "line": 2266, + "column": 36 + }, + "end": { + "line": 2266, + "column": 44 + } + } + }, + "range": [ + 67873, + 67890 + ], + "loc": { + "start": { + "line": 2266, + "column": 27 + }, + "end": { + "line": 2266, + "column": 44 + } + } + }, + "range": [ + 67862, + 67890 + ], + "loc": { + "start": { + "line": 2266, + "column": 16 + }, + "end": { + "line": 2266, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 67858, + 67891 + ], + "loc": { + "start": { + "line": 2266, + "column": 12 + }, + "end": { + "line": 2266, + "column": 45 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 67911, + 67919 + ], + "loc": { + "start": { + "line": 2267, + "column": 19 + }, + "end": { + "line": 2267, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "parse", + "range": [ + 67920, + 67925 + ], + "loc": { + "start": { + "line": 2267, + "column": 28 + }, + "end": { + "line": 2267, + "column": 33 + } + } + }, + "range": [ + 67911, + 67925 + ], + "loc": { + "start": { + "line": 2267, + "column": 19 + }, + "end": { + "line": 2267, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "value", + "range": [ + 67926, + 67931 + ], + "loc": { + "start": { + "line": 2267, + "column": 34 + }, + "end": { + "line": 2267, + "column": 39 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "dateType", + "range": [ + 67933, + 67941 + ], + "loc": { + "start": { + "line": 2267, + "column": 41 + }, + "end": { + "line": 2267, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "getLocale", + "range": [ + 67942, + 67951 + ], + "loc": { + "start": { + "line": 2267, + "column": 50 + }, + "end": { + "line": 2267, + "column": 59 + } + } + }, + "range": [ + 67933, + 67951 + ], + "loc": { + "start": { + "line": 2267, + "column": 41 + }, + "end": { + "line": 2267, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 67952, + 67960 + ], + "loc": { + "start": { + "line": 2267, + "column": 60 + }, + "end": { + "line": 2267, + "column": 68 + } + } + } + ], + "range": [ + 67933, + 67961 + ], + "loc": { + "start": { + "line": 2267, + "column": 41 + }, + "end": { + "line": 2267, + "column": 69 + } + } + } + ], + "range": [ + 67911, + 67962 + ], + "loc": { + "start": { + "line": 2267, + "column": 19 + }, + "end": { + "line": 2267, + "column": 70 + } + } + }, + "range": [ + 67904, + 67963 + ], + "loc": { + "start": { + "line": 2267, + "column": 12 + }, + "end": { + "line": 2267, + "column": 71 + } + } + } + ], + "range": [ + 67844, + 67973 + ], + "loc": { + "start": { + "line": 2265, + "column": 48 + }, + "end": { + "line": 2268, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 67809, + 67973 + ], + "loc": { + "start": { + "line": 2265, + "column": 13 + }, + "end": { + "line": 2268, + "column": 9 + } + } + }, + "range": [ + 67694, + 67973 + ], + "loc": { + "start": { + "line": 2262, + "column": 13 + }, + "end": { + "line": 2268, + "column": 9 + } + } + }, + "range": [ + 67559, + 67973 + ], + "loc": { + "start": { + "line": 2259, + "column": 8 + }, + "end": { + "line": 2268, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "value", + "range": [ + 67990, + 67995 + ], + "loc": { + "start": { + "line": 2270, + "column": 15 + }, + "end": { + "line": 2270, + "column": 20 + } + } + }, + "range": [ + 67983, + 67996 + ], + "loc": { + "start": { + "line": 2270, + "column": 8 + }, + "end": { + "line": 2270, + "column": 21 + } + } + } + ], + "range": [ + 67464, + 68002 + ], + "loc": { + "start": { + "line": 2255, + "column": 22 + }, + "end": { + "line": 2271, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 67457, + 68002 + ], + "loc": { + "start": { + "line": 2255, + "column": 15 + }, + "end": { + "line": 2271, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 67446, + 68002 + ], + "loc": { + "start": { + "line": 2255, + "column": 4 + }, + "end": { + "line": 2271, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the typed data of a given cell based on the column type definition\n * @param {DOMElement} cell Cell's DOM element\n * @return {String|Number|Date}\n ", + "range": [ + 67261, + 67441 + ], + "loc": { + "start": { + "line": 2250, + "column": 4 + }, + "end": { + "line": 2254, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68008, + 68388 + ], + "loc": { + "start": { + "line": 2273, + "column": 4 + }, + "end": { + "line": 2283, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getData", + "range": [ + 68393, + 68400 + ], + "loc": { + "start": { + "line": 2284, + "column": 4 + }, + "end": { + "line": 2284, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 68401, + 68415 + ], + "loc": { + "start": { + "line": 2284, + "column": 12 + }, + "end": { + "line": 2284, + "column": 26 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 68418, + 68423 + ], + "loc": { + "start": { + "line": 2284, + "column": 29 + }, + "end": { + "line": 2284, + "column": 34 + } + } + }, + "range": [ + 68401, + 68423 + ], + "loc": { + "start": { + "line": 2284, + "column": 12 + }, + "end": { + "line": 2284, + "column": 34 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 68425, + 68442 + ], + "loc": { + "start": { + "line": 2284, + "column": 36 + }, + "end": { + "line": 2284, + "column": 53 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 68445, + 68450 + ], + "loc": { + "start": { + "line": 2284, + "column": 56 + }, + "end": { + "line": 2284, + "column": 61 + } + } + }, + "range": [ + 68425, + 68450 + ], + "loc": { + "start": { + "line": 2284, + "column": 36 + }, + "end": { + "line": 2284, + "column": 61 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 68469, + 68473 + ], + "loc": { + "start": { + "line": 2285, + "column": 15 + }, + "end": { + "line": 2285, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTableData", + "range": [ + 68474, + 68486 + ], + "loc": { + "start": { + "line": 2285, + "column": 20 + }, + "end": { + "line": 2285, + "column": 32 + } + } + }, + "range": [ + 68469, + 68486 + ], + "loc": { + "start": { + "line": 2285, + "column": 15 + }, + "end": { + "line": 2285, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 68487, + 68501 + ], + "loc": { + "start": { + "line": 2285, + "column": 33 + }, + "end": { + "line": 2285, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 68503, + 68520 + ], + "loc": { + "start": { + "line": 2285, + "column": 49 + }, + "end": { + "line": 2285, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 68522, + 68526 + ], + "loc": { + "start": { + "line": 2285, + "column": 68 + }, + "end": { + "line": 2285, + "column": 72 + } + } + } + ], + "range": [ + 68469, + 68527 + ], + "loc": { + "start": { + "line": 2285, + "column": 15 + }, + "end": { + "line": 2285, + "column": 73 + } + } + }, + "range": [ + 68462, + 68528 + ], + "loc": { + "start": { + "line": 2285, + "column": 8 + }, + "end": { + "line": 2285, + "column": 74 + } + } + } + ], + "range": [ + 68452, + 68534 + ], + "loc": { + "start": { + "line": 2284, + "column": 63 + }, + "end": { + "line": 2286, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 68400, + 68534 + ], + "loc": { + "start": { + "line": 2284, + "column": 11 + }, + "end": { + "line": 2286, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 68393, + 68534 + ], + "loc": { + "start": { + "line": 2284, + "column": 4 + }, + "end": { + "line": 2286, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68008, + 68388 + ], + "loc": { + "start": { + "line": 2273, + "column": 4 + }, + "end": { + "line": 2283, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68540, + 68876 + ], + "loc": { + "start": { + "line": 2288, + "column": 4 + }, + "end": { + "line": 2297, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getValues", + "range": [ + 68881, + 68890 + ], + "loc": { + "start": { + "line": 2298, + "column": 4 + }, + "end": { + "line": 2298, + "column": 13 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 68891, + 68905 + ], + "loc": { + "start": { + "line": 2298, + "column": 14 + }, + "end": { + "line": 2298, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 68908, + 68913 + ], + "loc": { + "start": { + "line": 2298, + "column": 31 + }, + "end": { + "line": 2298, + "column": 36 + } + } + }, + "range": [ + 68891, + 68913 + ], + "loc": { + "start": { + "line": 2298, + "column": 14 + }, + "end": { + "line": 2298, + "column": 36 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 68915, + 68932 + ], + "loc": { + "start": { + "line": 2298, + "column": 38 + }, + "end": { + "line": 2298, + "column": 55 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 68935, + 68940 + ], + "loc": { + "start": { + "line": 2298, + "column": 58 + }, + "end": { + "line": 2298, + "column": 63 + } + } + }, + "range": [ + 68915, + 68940 + ], + "loc": { + "start": { + "line": 2298, + "column": 38 + }, + "end": { + "line": 2298, + "column": 63 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 68959, + 68963 + ], + "loc": { + "start": { + "line": 2299, + "column": 15 + }, + "end": { + "line": 2299, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getTableData", + "range": [ + 68964, + 68976 + ], + "loc": { + "start": { + "line": 2299, + "column": 20 + }, + "end": { + "line": 2299, + "column": 32 + } + } + }, + "range": [ + 68959, + 68976 + ], + "loc": { + "start": { + "line": 2299, + "column": 15 + }, + "end": { + "line": 2299, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 68977, + 68991 + ], + "loc": { + "start": { + "line": 2299, + "column": 33 + }, + "end": { + "line": 2299, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 68993, + 69010 + ], + "loc": { + "start": { + "line": 2299, + "column": 49 + }, + "end": { + "line": 2299, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 69012, + 69017 + ], + "loc": { + "start": { + "line": 2299, + "column": 68 + }, + "end": { + "line": 2299, + "column": 73 + } + } + } + ], + "range": [ + 68959, + 69018 + ], + "loc": { + "start": { + "line": 2299, + "column": 15 + }, + "end": { + "line": 2299, + "column": 74 + } + } + }, + "range": [ + 68952, + 69019 + ], + "loc": { + "start": { + "line": 2299, + "column": 8 + }, + "end": { + "line": 2299, + "column": 75 + } + } + } + ], + "range": [ + 68942, + 69025 + ], + "loc": { + "start": { + "line": 2298, + "column": 65 + }, + "end": { + "line": 2300, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 68890, + 69025 + ], + "loc": { + "start": { + "line": 2298, + "column": 13 + }, + "end": { + "line": 2300, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 68881, + 69025 + ], + "loc": { + "start": { + "line": 2298, + "column": 4 + }, + "end": { + "line": 2300, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68540, + 68876 + ], + "loc": { + "start": { + "line": 2288, + "column": 4 + }, + "end": { + "line": 2297, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the table data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 69031, + 69506 + ], + "loc": { + "start": { + "line": 2302, + "column": 4 + }, + "end": { + "line": 2315, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getTableData", + "range": [ + 69511, + 69523 + ], + "loc": { + "start": { + "line": 2316, + "column": 4 + }, + "end": { + "line": 2316, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 69533, + 69547 + ], + "loc": { + "start": { + "line": 2317, + "column": 8 + }, + "end": { + "line": 2317, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 69550, + 69555 + ], + "loc": { + "start": { + "line": 2317, + "column": 25 + }, + "end": { + "line": 2317, + "column": 30 + } + } + }, + "range": [ + 69533, + 69555 + ], + "loc": { + "start": { + "line": 2317, + "column": 8 + }, + "end": { + "line": 2317, + "column": 30 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 69565, + 69582 + ], + "loc": { + "start": { + "line": 2318, + "column": 8 + }, + "end": { + "line": 2318, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 69585, + 69590 + ], + "loc": { + "start": { + "line": 2318, + "column": 28 + }, + "end": { + "line": 2318, + "column": 33 + } + } + }, + "range": [ + 69565, + 69590 + ], + "loc": { + "start": { + "line": 2318, + "column": 8 + }, + "end": { + "line": 2318, + "column": 33 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "typed", + "range": [ + 69600, + 69605 + ], + "loc": { + "start": { + "line": 2319, + "column": 8 + }, + "end": { + "line": 2319, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 69608, + 69613 + ], + "loc": { + "start": { + "line": 2319, + "column": 16 + }, + "end": { + "line": 2319, + "column": 21 + } + } + }, + "range": [ + 69600, + 69613 + ], + "loc": { + "start": { + "line": 2319, + "column": 8 + }, + "end": { + "line": 2319, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 69634, + 69638 + ], + "loc": { + "start": { + "line": 2321, + "column": 12 + }, + "end": { + "line": 2321, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69641, + 69645 + ], + "loc": { + "start": { + "line": 2321, + "column": 19 + }, + "end": { + "line": 2321, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 69646, + 69649 + ], + "loc": { + "start": { + "line": 2321, + "column": 24 + }, + "end": { + "line": 2321, + "column": 27 + } + } + }, + "range": [ + 69641, + 69649 + ], + "loc": { + "start": { + "line": 2321, + "column": 19 + }, + "end": { + "line": 2321, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 69641, + 69651 + ], + "loc": { + "start": { + "line": 2321, + "column": 19 + }, + "end": { + "line": 2321, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 69652, + 69656 + ], + "loc": { + "start": { + "line": 2321, + "column": 30 + }, + "end": { + "line": 2321, + "column": 34 + } + } + }, + "range": [ + 69641, + 69656 + ], + "loc": { + "start": { + "line": 2321, + "column": 19 + }, + "end": { + "line": 2321, + "column": 34 + } + } + }, + "range": [ + 69634, + 69656 + ], + "loc": { + "start": { + "line": 2321, + "column": 12 + }, + "end": { + "line": 2321, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 69630, + 69657 + ], + "loc": { + "start": { + "line": 2321, + "column": 8 + }, + "end": { + "line": 2321, + "column": 35 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 69670, + 69676 + ], + "loc": { + "start": { + "line": 2322, + "column": 12 + }, + "end": { + "line": 2322, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69679, + 69683 + ], + "loc": { + "start": { + "line": 2322, + "column": 21 + }, + "end": { + "line": 2322, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 69684, + 69693 + ], + "loc": { + "start": { + "line": 2322, + "column": 26 + }, + "end": { + "line": 2322, + "column": 35 + } + } + }, + "range": [ + 69679, + 69693 + ], + "loc": { + "start": { + "line": 2322, + "column": 21 + }, + "end": { + "line": 2322, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 69694, + 69698 + ], + "loc": { + "start": { + "line": 2322, + "column": 36 + }, + "end": { + "line": 2322, + "column": 40 + } + } + } + ], + "range": [ + 69679, + 69699 + ], + "loc": { + "start": { + "line": 2322, + "column": 21 + }, + "end": { + "line": 2322, + "column": 41 + } + } + }, + "range": [ + 69670, + 69699 + ], + "loc": { + "start": { + "line": 2322, + "column": 12 + }, + "end": { + "line": 2322, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 69666, + 69700 + ], + "loc": { + "start": { + "line": 2322, + "column": 8 + }, + "end": { + "line": 2322, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tblData", + "range": [ + 69713, + 69720 + ], + "loc": { + "start": { + "line": 2323, + "column": 12 + }, + "end": { + "line": 2323, + "column": 19 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 69723, + 69725 + ], + "loc": { + "start": { + "line": 2323, + "column": 22 + }, + "end": { + "line": 2323, + "column": 24 + } + } + }, + "range": [ + 69713, + 69725 + ], + "loc": { + "start": { + "line": 2323, + "column": 12 + }, + "end": { + "line": 2323, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 69709, + 69726 + ], + "loc": { + "start": { + "line": 2323, + "column": 8 + }, + "end": { + "line": 2323, + "column": 25 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getContent", + "range": [ + 69739, + 69749 + ], + "loc": { + "start": { + "line": 2324, + "column": 12 + }, + "end": { + "line": 2324, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "typed", + "range": [ + 69752, + 69757 + ], + "loc": { + "start": { + "line": 2324, + "column": 25 + }, + "end": { + "line": 2324, + "column": 30 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69760, + 69764 + ], + "loc": { + "start": { + "line": 2324, + "column": 33 + }, + "end": { + "line": 2324, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellData", + "range": [ + 69765, + 69776 + ], + "loc": { + "start": { + "line": 2324, + "column": 38 + }, + "end": { + "line": 2324, + "column": 49 + } + } + }, + "range": [ + 69760, + 69776 + ], + "loc": { + "start": { + "line": 2324, + "column": 33 + }, + "end": { + "line": 2324, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 69777, + 69781 + ], + "loc": { + "start": { + "line": 2324, + "column": 50 + }, + "end": { + "line": 2324, + "column": 54 + } + } + }, + "range": [ + 69760, + 69781 + ], + "loc": { + "start": { + "line": 2324, + "column": 33 + }, + "end": { + "line": 2324, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 69782, + 69786 + ], + "loc": { + "start": { + "line": 2324, + "column": 55 + }, + "end": { + "line": 2324, + "column": 59 + } + } + } + ], + "range": [ + 69760, + 69787 + ], + "loc": { + "start": { + "line": 2324, + "column": 33 + }, + "end": { + "line": 2324, + "column": 60 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69802, + 69806 + ], + "loc": { + "start": { + "line": 2325, + "column": 12 + }, + "end": { + "line": 2325, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 69807, + 69819 + ], + "loc": { + "start": { + "line": 2325, + "column": 17 + }, + "end": { + "line": 2325, + "column": 29 + } + } + }, + "range": [ + 69802, + 69819 + ], + "loc": { + "start": { + "line": 2325, + "column": 12 + }, + "end": { + "line": 2325, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 69820, + 69824 + ], + "loc": { + "start": { + "line": 2325, + "column": 30 + }, + "end": { + "line": 2325, + "column": 34 + } + } + }, + "range": [ + 69802, + 69824 + ], + "loc": { + "start": { + "line": 2325, + "column": 12 + }, + "end": { + "line": 2325, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 69825, + 69829 + ], + "loc": { + "start": { + "line": 2325, + "column": 35 + }, + "end": { + "line": 2325, + "column": 39 + } + } + } + ], + "range": [ + 69802, + 69830 + ], + "loc": { + "start": { + "line": 2325, + "column": 12 + }, + "end": { + "line": 2325, + "column": 40 + } + } + }, + "range": [ + 69752, + 69830 + ], + "loc": { + "start": { + "line": 2324, + "column": 25 + }, + "end": { + "line": 2325, + "column": 40 + } + } + }, + "range": [ + 69739, + 69830 + ], + "loc": { + "start": { + "line": 2324, + "column": 12 + }, + "end": { + "line": 2325, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 69735, + 69831 + ], + "loc": { + "start": { + "line": 2324, + "column": 8 + }, + "end": { + "line": 2325, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 69845, + 69859 + ], + "loc": { + "start": { + "line": 2327, + "column": 12 + }, + "end": { + "line": 2327, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headers", + "range": [ + 69879, + 69886 + ], + "loc": { + "start": { + "line": 2328, + "column": 16 + }, + "end": { + "line": 2328, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69889, + 69893 + ], + "loc": { + "start": { + "line": 2328, + "column": 26 + }, + "end": { + "line": 2328, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersText", + "range": [ + 69894, + 69908 + ], + "loc": { + "start": { + "line": 2328, + "column": 31 + }, + "end": { + "line": 2328, + "column": 45 + } + } + }, + "range": [ + 69889, + 69908 + ], + "loc": { + "start": { + "line": 2328, + "column": 26 + }, + "end": { + "line": 2328, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 69909, + 69926 + ], + "loc": { + "start": { + "line": 2328, + "column": 46 + }, + "end": { + "line": 2328, + "column": 63 + } + } + } + ], + "range": [ + 69889, + 69927 + ], + "loc": { + "start": { + "line": 2328, + "column": 26 + }, + "end": { + "line": 2328, + "column": 64 + } + } + }, + "range": [ + 69879, + 69927 + ], + "loc": { + "start": { + "line": 2328, + "column": 16 + }, + "end": { + "line": 2328, + "column": 64 + } + } + } + ], + "kind": "let", + "range": [ + 69875, + 69928 + ], + "loc": { + "start": { + "line": 2328, + "column": 12 + }, + "end": { + "line": 2328, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tblData", + "range": [ + 69941, + 69948 + ], + "loc": { + "start": { + "line": 2329, + "column": 12 + }, + "end": { + "line": 2329, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 69949, + 69953 + ], + "loc": { + "start": { + "line": 2329, + "column": 20 + }, + "end": { + "line": 2329, + "column": 24 + } + } + }, + "range": [ + 69941, + 69953 + ], + "loc": { + "start": { + "line": 2329, + "column": 12 + }, + "end": { + "line": 2329, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 69955, + 69959 + ], + "loc": { + "start": { + "line": 2329, + "column": 26 + }, + "end": { + "line": 2329, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 69960, + 69978 + ], + "loc": { + "start": { + "line": 2329, + "column": 31 + }, + "end": { + "line": 2329, + "column": 49 + } + } + }, + "range": [ + 69955, + 69978 + ], + "loc": { + "start": { + "line": 2329, + "column": 26 + }, + "end": { + "line": 2329, + "column": 49 + } + } + }, + "arguments": [], + "range": [ + 69955, + 69980 + ], + "loc": { + "start": { + "line": 2329, + "column": 26 + }, + "end": { + "line": 2329, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "headers", + "range": [ + 69982, + 69989 + ], + "loc": { + "start": { + "line": 2329, + "column": 53 + }, + "end": { + "line": 2329, + "column": 60 + } + } + } + ], + "range": [ + 69954, + 69990 + ], + "loc": { + "start": { + "line": 2329, + "column": 25 + }, + "end": { + "line": 2329, + "column": 61 + } + } + } + ], + "range": [ + 69941, + 69991 + ], + "loc": { + "start": { + "line": 2329, + "column": 12 + }, + "end": { + "line": 2329, + "column": 62 + } + } + }, + "range": [ + 69941, + 69992 + ], + "loc": { + "start": { + "line": 2329, + "column": 12 + }, + "end": { + "line": 2329, + "column": 63 + } + } + } + ], + "range": [ + 69861, + 70002 + ], + "loc": { + "start": { + "line": 2327, + "column": 28 + }, + "end": { + "line": 2330, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 69841, + 70002 + ], + "loc": { + "start": { + "line": 2327, + "column": 8 + }, + "end": { + "line": 2330, + "column": 9 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 70020, + 70021 + ], + "loc": { + "start": { + "line": 2331, + "column": 17 + }, + "end": { + "line": 2331, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 70024, + 70028 + ], + "loc": { + "start": { + "line": 2331, + "column": 21 + }, + "end": { + "line": 2331, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 70029, + 70035 + ], + "loc": { + "start": { + "line": 2331, + "column": 26 + }, + "end": { + "line": 2331, + "column": 32 + } + } + }, + "range": [ + 70024, + 70035 + ], + "loc": { + "start": { + "line": 2331, + "column": 21 + }, + "end": { + "line": 2331, + "column": 32 + } + } + }, + "range": [ + 70020, + 70035 + ], + "loc": { + "start": { + "line": 2331, + "column": 17 + }, + "end": { + "line": 2331, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 70016, + 70035 + ], + "loc": { + "start": { + "line": 2331, + "column": 13 + }, + "end": { + "line": 2331, + "column": 32 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 70037, + 70038 + ], + "loc": { + "start": { + "line": 2331, + "column": 34 + }, + "end": { + "line": 2331, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 70041, + 70047 + ], + "loc": { + "start": { + "line": 2331, + "column": 38 + }, + "end": { + "line": 2331, + "column": 44 + } + } + }, + "range": [ + 70037, + 70047 + ], + "loc": { + "start": { + "line": 2331, + "column": 34 + }, + "end": { + "line": 2331, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 70049, + 70050 + ], + "loc": { + "start": { + "line": 2331, + "column": 46 + }, + "end": { + "line": 2331, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 70049, + 70052 + ], + "loc": { + "start": { + "line": 2331, + "column": 46 + }, + "end": { + "line": 2331, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rowData", + "range": [ + 70072, + 70079 + ], + "loc": { + "start": { + "line": 2332, + "column": 16 + }, + "end": { + "line": 2332, + "column": 23 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 70083, + 70084 + ], + "loc": { + "start": { + "line": 2332, + "column": 27 + }, + "end": { + "line": 2332, + "column": 28 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 70086, + 70088 + ], + "loc": { + "start": { + "line": 2332, + "column": 30 + }, + "end": { + "line": 2332, + "column": 32 + } + } + } + ], + "range": [ + 70082, + 70089 + ], + "loc": { + "start": { + "line": 2332, + "column": 26 + }, + "end": { + "line": 2332, + "column": 33 + } + } + }, + "range": [ + 70072, + 70089 + ], + "loc": { + "start": { + "line": 2332, + "column": 16 + }, + "end": { + "line": 2332, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 70068, + 70090 + ], + "loc": { + "start": { + "line": 2332, + "column": 12 + }, + "end": { + "line": 2332, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 70107, + 70112 + ], + "loc": { + "start": { + "line": 2333, + "column": 16 + }, + "end": { + "line": 2333, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 70115, + 70119 + ], + "loc": { + "start": { + "line": 2333, + "column": 24 + }, + "end": { + "line": 2333, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 70120, + 70121 + ], + "loc": { + "start": { + "line": 2333, + "column": 29 + }, + "end": { + "line": 2333, + "column": 30 + } + } + }, + "range": [ + 70115, + 70122 + ], + "loc": { + "start": { + "line": 2333, + "column": 24 + }, + "end": { + "line": 2333, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 70123, + 70128 + ], + "loc": { + "start": { + "line": 2333, + "column": 32 + }, + "end": { + "line": 2333, + "column": 37 + } + } + }, + "range": [ + 70115, + 70128 + ], + "loc": { + "start": { + "line": 2333, + "column": 24 + }, + "end": { + "line": 2333, + "column": 37 + } + } + }, + "range": [ + 70107, + 70128 + ], + "loc": { + "start": { + "line": 2333, + "column": 16 + }, + "end": { + "line": 2333, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 70103, + 70129 + ], + "loc": { + "start": { + "line": 2333, + "column": 12 + }, + "end": { + "line": 2333, + "column": 38 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 70151, + 70152 + ], + "loc": { + "start": { + "line": 2334, + "column": 21 + }, + "end": { + "line": 2334, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 70155, + 70156 + ], + "loc": { + "start": { + "line": 2334, + "column": 25 + }, + "end": { + "line": 2334, + "column": 26 + } + } + }, + "range": [ + 70151, + 70156 + ], + "loc": { + "start": { + "line": 2334, + "column": 21 + }, + "end": { + "line": 2334, + "column": 26 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 70158, + 70161 + ], + "loc": { + "start": { + "line": 2334, + "column": 28 + }, + "end": { + "line": 2334, + "column": 31 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 70164, + 70169 + ], + "loc": { + "start": { + "line": 2334, + "column": 34 + }, + "end": { + "line": 2334, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 70170, + 70176 + ], + "loc": { + "start": { + "line": 2334, + "column": 40 + }, + "end": { + "line": 2334, + "column": 46 + } + } + }, + "range": [ + 70164, + 70176 + ], + "loc": { + "start": { + "line": 2334, + "column": 34 + }, + "end": { + "line": 2334, + "column": 46 + } + } + }, + "range": [ + 70158, + 70176 + ], + "loc": { + "start": { + "line": 2334, + "column": 28 + }, + "end": { + "line": 2334, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 70147, + 70176 + ], + "loc": { + "start": { + "line": 2334, + "column": 17 + }, + "end": { + "line": 2334, + "column": 46 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 70178, + 70179 + ], + "loc": { + "start": { + "line": 2334, + "column": 48 + }, + "end": { + "line": 2334, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 70182, + 70185 + ], + "loc": { + "start": { + "line": 2334, + "column": 52 + }, + "end": { + "line": 2334, + "column": 55 + } + } + }, + "range": [ + 70178, + 70185 + ], + "loc": { + "start": { + "line": 2334, + "column": 48 + }, + "end": { + "line": 2334, + "column": 55 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 70187, + 70188 + ], + "loc": { + "start": { + "line": 2334, + "column": 57 + }, + "end": { + "line": 2334, + "column": 58 + } + } + }, + "prefix": false, + "range": [ + 70187, + 70190 + ], + "loc": { + "start": { + "line": 2334, + "column": 57 + }, + "end": { + "line": 2334, + "column": 60 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 70214, + 70231 + ], + "loc": { + "start": { + "line": 2335, + "column": 20 + }, + "end": { + "line": 2335, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 70235, + 70239 + ], + "loc": { + "start": { + "line": 2335, + "column": 41 + }, + "end": { + "line": 2335, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExtension", + "range": [ + 70240, + 70252 + ], + "loc": { + "start": { + "line": 2335, + "column": 46 + }, + "end": { + "line": 2335, + "column": 58 + } + } + }, + "range": [ + 70235, + 70252 + ], + "loc": { + "start": { + "line": 2335, + "column": 41 + }, + "end": { + "line": 2335, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 70253, + 70269 + ], + "loc": { + "start": { + "line": 2335, + "column": 59 + }, + "end": { + "line": 2335, + "column": 75 + } + } + } + ], + "range": [ + 70235, + 70270 + ], + "loc": { + "start": { + "line": 2335, + "column": 41 + }, + "end": { + "line": 2335, + "column": 76 + } + } + }, + "range": [ + 70214, + 70270 + ], + "loc": { + "start": { + "line": 2335, + "column": 20 + }, + "end": { + "line": 2335, + "column": 76 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 70298, + 70302 + ], + "loc": { + "start": { + "line": 2336, + "column": 24 + }, + "end": { + "line": 2336, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "extension", + "range": [ + 70303, + 70312 + ], + "loc": { + "start": { + "line": 2336, + "column": 29 + }, + "end": { + "line": 2336, + "column": 38 + } + } + }, + "range": [ + 70298, + 70312 + ], + "loc": { + "start": { + "line": 2336, + "column": 24 + }, + "end": { + "line": 2336, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 70313, + 70329 + ], + "loc": { + "start": { + "line": 2336, + "column": 39 + }, + "end": { + "line": 2336, + "column": 55 + } + } + } + ], + "range": [ + 70298, + 70330 + ], + "loc": { + "start": { + "line": 2336, + "column": 24 + }, + "end": { + "line": 2336, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 70331, + 70342 + ], + "loc": { + "start": { + "line": 2336, + "column": 57 + }, + "end": { + "line": 2336, + "column": 68 + } + } + }, + "range": [ + 70298, + 70342 + ], + "loc": { + "start": { + "line": 2336, + "column": 24 + }, + "end": { + "line": 2336, + "column": 68 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "j", + "range": [ + 70343, + 70344 + ], + "loc": { + "start": { + "line": 2336, + "column": 69 + }, + "end": { + "line": 2336, + "column": 70 + } + } + } + ], + "range": [ + 70298, + 70345 + ], + "loc": { + "start": { + "line": 2336, + "column": 24 + }, + "end": { + "line": 2336, + "column": 71 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 70373, + 70382 + ], + "loc": { + "start": { + "line": 2337, + "column": 24 + }, + "end": { + "line": 2337, + "column": 33 + } + } + } + ], + "range": [ + 70347, + 70404 + ], + "loc": { + "start": { + "line": 2336, + "column": 73 + }, + "end": { + "line": 2338, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 70294, + 70404 + ], + "loc": { + "start": { + "line": 2336, + "column": 20 + }, + "end": { + "line": 2338, + "column": 21 + } + } + } + ], + "range": [ + 70272, + 70422 + ], + "loc": { + "start": { + "line": 2335, + "column": 78 + }, + "end": { + "line": 2339, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 70210, + 70422 + ], + "loc": { + "start": { + "line": 2335, + "column": 16 + }, + "end": { + "line": 2339, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 70443, + 70452 + ], + "loc": { + "start": { + "line": 2340, + "column": 20 + }, + "end": { + "line": 2340, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getContent", + "range": [ + 70455, + 70465 + ], + "loc": { + "start": { + "line": 2340, + "column": 32 + }, + "end": { + "line": 2340, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 70466, + 70471 + ], + "loc": { + "start": { + "line": 2340, + "column": 43 + }, + "end": { + "line": 2340, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "j", + "range": [ + 70472, + 70473 + ], + "loc": { + "start": { + "line": 2340, + "column": 49 + }, + "end": { + "line": 2340, + "column": 50 + } + } + }, + "range": [ + 70466, + 70474 + ], + "loc": { + "start": { + "line": 2340, + "column": 43 + }, + "end": { + "line": 2340, + "column": 51 + } + } + } + ], + "range": [ + 70455, + 70475 + ], + "loc": { + "start": { + "line": 2340, + "column": 32 + }, + "end": { + "line": 2340, + "column": 52 + } + } + }, + "range": [ + 70443, + 70475 + ], + "loc": { + "start": { + "line": 2340, + "column": 20 + }, + "end": { + "line": 2340, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 70439, + 70476 + ], + "loc": { + "start": { + "line": 2340, + "column": 16 + }, + "end": { + "line": 2340, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rowData", + "range": [ + 70493, + 70500 + ], + "loc": { + "start": { + "line": 2341, + "column": 16 + }, + "end": { + "line": 2341, + "column": 23 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 70501, + 70502 + ], + "loc": { + "start": { + "line": 2341, + "column": 24 + }, + "end": { + "line": 2341, + "column": 25 + } + } + }, + "range": [ + 70493, + 70503 + ], + "loc": { + "start": { + "line": 2341, + "column": 16 + }, + "end": { + "line": 2341, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 70504, + 70508 + ], + "loc": { + "start": { + "line": 2341, + "column": 27 + }, + "end": { + "line": 2341, + "column": 31 + } + } + }, + "range": [ + 70493, + 70508 + ], + "loc": { + "start": { + "line": 2341, + "column": 16 + }, + "end": { + "line": 2341, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 70509, + 70518 + ], + "loc": { + "start": { + "line": 2341, + "column": 32 + }, + "end": { + "line": 2341, + "column": 41 + } + } + } + ], + "range": [ + 70493, + 70519 + ], + "loc": { + "start": { + "line": 2341, + "column": 16 + }, + "end": { + "line": 2341, + "column": 42 + } + } + }, + "range": [ + 70493, + 70520 + ], + "loc": { + "start": { + "line": 2341, + "column": 16 + }, + "end": { + "line": 2341, + "column": 43 + } + } + } + ], + "range": [ + 70192, + 70534 + ], + "loc": { + "start": { + "line": 2334, + "column": 62 + }, + "end": { + "line": 2342, + "column": 13 + } + } + }, + "range": [ + 70142, + 70534 + ], + "loc": { + "start": { + "line": 2334, + "column": 12 + }, + "end": { + "line": 2342, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tblData", + "range": [ + 70547, + 70554 + ], + "loc": { + "start": { + "line": 2343, + "column": 12 + }, + "end": { + "line": 2343, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 70555, + 70559 + ], + "loc": { + "start": { + "line": 2343, + "column": 20 + }, + "end": { + "line": 2343, + "column": 24 + } + } + }, + "range": [ + 70547, + 70559 + ], + "loc": { + "start": { + "line": 2343, + "column": 12 + }, + "end": { + "line": 2343, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowData", + "range": [ + 70560, + 70567 + ], + "loc": { + "start": { + "line": 2343, + "column": 25 + }, + "end": { + "line": 2343, + "column": 32 + } + } + } + ], + "range": [ + 70547, + 70568 + ], + "loc": { + "start": { + "line": 2343, + "column": 12 + }, + "end": { + "line": 2343, + "column": 33 + } + } + }, + "range": [ + 70547, + 70569 + ], + "loc": { + "start": { + "line": 2343, + "column": 12 + }, + "end": { + "line": 2343, + "column": 34 + } + } + } + ], + "range": [ + 70054, + 70579 + ], + "loc": { + "start": { + "line": 2331, + "column": 51 + }, + "end": { + "line": 2344, + "column": 9 + } + } + }, + "range": [ + 70011, + 70579 + ], + "loc": { + "start": { + "line": 2331, + "column": 8 + }, + "end": { + "line": 2344, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "tblData", + "range": [ + 70595, + 70602 + ], + "loc": { + "start": { + "line": 2345, + "column": 15 + }, + "end": { + "line": 2345, + "column": 22 + } + } + }, + "range": [ + 70588, + 70603 + ], + "loc": { + "start": { + "line": 2345, + "column": 8 + }, + "end": { + "line": 2345, + "column": 23 + } + } + } + ], + "range": [ + 69620, + 70609 + ], + "loc": { + "start": { + "line": 2320, + "column": 6 + }, + "end": { + "line": 2346, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 69523, + 70609 + ], + "loc": { + "start": { + "line": 2316, + "column": 16 + }, + "end": { + "line": 2346, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 69511, + 70609 + ], + "loc": { + "start": { + "line": 2316, + "column": 4 + }, + "end": { + "line": 2346, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the table data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 69031, + 69506 + ], + "loc": { + "start": { + "line": 2302, + "column": 4 + }, + "end": { + "line": 2315, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 70615, + 71071 + ], + "loc": { + "start": { + "line": 2348, + "column": 4 + }, + "end": { + "line": 2360, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilteredData", + "range": [ + 71076, + 71091 + ], + "loc": { + "start": { + "line": 2361, + "column": 4 + }, + "end": { + "line": 2361, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 71092, + 71106 + ], + "loc": { + "start": { + "line": 2361, + "column": 20 + }, + "end": { + "line": 2361, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 71109, + 71114 + ], + "loc": { + "start": { + "line": 2361, + "column": 37 + }, + "end": { + "line": 2361, + "column": 42 + } + } + }, + "range": [ + 71092, + 71114 + ], + "loc": { + "start": { + "line": 2361, + "column": 20 + }, + "end": { + "line": 2361, + "column": 42 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 71116, + 71133 + ], + "loc": { + "start": { + "line": 2361, + "column": 44 + }, + "end": { + "line": 2361, + "column": 61 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 71136, + 71141 + ], + "loc": { + "start": { + "line": 2361, + "column": 64 + }, + "end": { + "line": 2361, + "column": 69 + } + } + }, + "range": [ + 71116, + 71141 + ], + "loc": { + "start": { + "line": 2361, + "column": 44 + }, + "end": { + "line": 2361, + "column": 69 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 71160, + 71164 + ], + "loc": { + "start": { + "line": 2362, + "column": 15 + }, + "end": { + "line": 2362, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 71165, + 71177 + ], + "loc": { + "start": { + "line": 2362, + "column": 20 + }, + "end": { + "line": 2362, + "column": 32 + } + } + }, + "range": [ + 71160, + 71177 + ], + "loc": { + "start": { + "line": 2362, + "column": 15 + }, + "end": { + "line": 2362, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 71178, + 71192 + ], + "loc": { + "start": { + "line": 2362, + "column": 33 + }, + "end": { + "line": 2362, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 71194, + 71211 + ], + "loc": { + "start": { + "line": 2362, + "column": 49 + }, + "end": { + "line": 2362, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 71213, + 71217 + ], + "loc": { + "start": { + "line": 2362, + "column": 68 + }, + "end": { + "line": 2362, + "column": 72 + } + } + } + ], + "range": [ + 71160, + 71218 + ], + "loc": { + "start": { + "line": 2362, + "column": 15 + }, + "end": { + "line": 2362, + "column": 73 + } + } + }, + "range": [ + 71153, + 71219 + ], + "loc": { + "start": { + "line": 2362, + "column": 8 + }, + "end": { + "line": 2362, + "column": 74 + } + } + } + ], + "range": [ + 71143, + 71225 + ], + "loc": { + "start": { + "line": 2361, + "column": 71 + }, + "end": { + "line": 2363, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 71091, + 71225 + ], + "loc": { + "start": { + "line": 2361, + "column": 19 + }, + "end": { + "line": 2363, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 71076, + 71225 + ], + "loc": { + "start": { + "line": 2361, + "column": 4 + }, + "end": { + "line": 2363, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 70615, + 71071 + ], + "loc": { + "start": { + "line": 2348, + "column": 4 + }, + "end": { + "line": 2360, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71231, + 71643 + ], + "loc": { + "start": { + "line": 2365, + "column": 4 + }, + "end": { + "line": 2376, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilteredValues", + "range": [ + 71648, + 71665 + ], + "loc": { + "start": { + "line": 2377, + "column": 4 + }, + "end": { + "line": 2377, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 71666, + 71680 + ], + "loc": { + "start": { + "line": 2377, + "column": 22 + }, + "end": { + "line": 2377, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 71683, + 71688 + ], + "loc": { + "start": { + "line": 2377, + "column": 39 + }, + "end": { + "line": 2377, + "column": 44 + } + } + }, + "range": [ + 71666, + 71688 + ], + "loc": { + "start": { + "line": 2377, + "column": 22 + }, + "end": { + "line": 2377, + "column": 44 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 71690, + 71707 + ], + "loc": { + "start": { + "line": 2377, + "column": 46 + }, + "end": { + "line": 2377, + "column": 63 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 71710, + 71715 + ], + "loc": { + "start": { + "line": 2377, + "column": 66 + }, + "end": { + "line": 2377, + "column": 71 + } + } + }, + "range": [ + 71690, + 71715 + ], + "loc": { + "start": { + "line": 2377, + "column": 46 + }, + "end": { + "line": 2377, + "column": 71 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 71734, + 71738 + ], + "loc": { + "start": { + "line": 2378, + "column": 15 + }, + "end": { + "line": 2378, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 71739, + 71751 + ], + "loc": { + "start": { + "line": 2378, + "column": 20 + }, + "end": { + "line": 2378, + "column": 32 + } + } + }, + "range": [ + 71734, + 71751 + ], + "loc": { + "start": { + "line": 2378, + "column": 15 + }, + "end": { + "line": 2378, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 71752, + 71766 + ], + "loc": { + "start": { + "line": 2378, + "column": 33 + }, + "end": { + "line": 2378, + "column": 47 + } + } + }, + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 71768, + 71785 + ], + "loc": { + "start": { + "line": 2378, + "column": 49 + }, + "end": { + "line": 2378, + "column": 66 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 71787, + 71792 + ], + "loc": { + "start": { + "line": 2378, + "column": 68 + }, + "end": { + "line": 2378, + "column": 73 + } + } + } + ], + "range": [ + 71734, + 71793 + ], + "loc": { + "start": { + "line": 2378, + "column": 15 + }, + "end": { + "line": 2378, + "column": 74 + } + } + }, + "range": [ + 71727, + 71794 + ], + "loc": { + "start": { + "line": 2378, + "column": 8 + }, + "end": { + "line": 2378, + "column": 75 + } + } + } + ], + "range": [ + 71717, + 71800 + ], + "loc": { + "start": { + "line": 2377, + "column": 73 + }, + "end": { + "line": 2379, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 71665, + 71800 + ], + "loc": { + "start": { + "line": 2377, + "column": 21 + }, + "end": { + "line": 2379, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 71648, + 71800 + ], + "loc": { + "start": { + "line": 2377, + "column": 4 + }, + "end": { + "line": 2379, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71231, + 71643 + ], + "loc": { + "start": { + "line": 2365, + "column": 4 + }, + "end": { + "line": 2376, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71806, + 72284 + ], + "loc": { + "start": { + "line": 2381, + "column": 4 + }, + "end": { + "line": 2394, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 72289, + 72301 + ], + "loc": { + "start": { + "line": 2395, + "column": 4 + }, + "end": { + "line": 2395, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 72311, + 72325 + ], + "loc": { + "start": { + "line": 2396, + "column": 8 + }, + "end": { + "line": 2396, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 72328, + 72333 + ], + "loc": { + "start": { + "line": 2396, + "column": 25 + }, + "end": { + "line": 2396, + "column": 30 + } + } + }, + "range": [ + 72311, + 72333 + ], + "loc": { + "start": { + "line": 2396, + "column": 8 + }, + "end": { + "line": 2396, + "column": 30 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 72343, + 72360 + ], + "loc": { + "start": { + "line": 2397, + "column": 8 + }, + "end": { + "line": 2397, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 72363, + 72368 + ], + "loc": { + "start": { + "line": 2397, + "column": 28 + }, + "end": { + "line": 2397, + "column": 33 + } + } + }, + "range": [ + 72343, + 72368 + ], + "loc": { + "start": { + "line": 2397, + "column": 8 + }, + "end": { + "line": 2397, + "column": 33 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "typed", + "range": [ + 72378, + 72383 + ], + "loc": { + "start": { + "line": 2398, + "column": 8 + }, + "end": { + "line": 2398, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 72386, + 72391 + ], + "loc": { + "start": { + "line": 2398, + "column": 16 + }, + "end": { + "line": 2398, + "column": 21 + } + } + }, + "range": [ + 72378, + 72391 + ], + "loc": { + "start": { + "line": 2398, + "column": 8 + }, + "end": { + "line": 2398, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72412, + 72416 + ], + "loc": { + "start": { + "line": 2400, + "column": 12 + }, + "end": { + "line": 2400, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 72417, + 72431 + ], + "loc": { + "start": { + "line": 2400, + "column": 17 + }, + "end": { + "line": 2400, + "column": 31 + } + } + }, + "range": [ + 72412, + 72431 + ], + "loc": { + "start": { + "line": 2400, + "column": 12 + }, + "end": { + "line": 2400, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 72432, + 72438 + ], + "loc": { + "start": { + "line": 2400, + "column": 32 + }, + "end": { + "line": 2400, + "column": 38 + } + } + }, + "range": [ + 72412, + 72438 + ], + "loc": { + "start": { + "line": 2400, + "column": 12 + }, + "end": { + "line": 2400, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 72443, + 72444 + ], + "loc": { + "start": { + "line": 2400, + "column": 43 + }, + "end": { + "line": 2400, + "column": 44 + } + } + }, + "range": [ + 72412, + 72444 + ], + "loc": { + "start": { + "line": 2400, + "column": 12 + }, + "end": { + "line": 2400, + "column": 44 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 72467, + 72469 + ], + "loc": { + "start": { + "line": 2401, + "column": 19 + }, + "end": { + "line": 2401, + "column": 21 + } + } + }, + "range": [ + 72460, + 72470 + ], + "loc": { + "start": { + "line": 2401, + "column": 12 + }, + "end": { + "line": 2401, + "column": 22 + } + } + } + ], + "range": [ + 72446, + 72480 + ], + "loc": { + "start": { + "line": 2400, + "column": 46 + }, + "end": { + "line": 2402, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 72408, + 72480 + ], + "loc": { + "start": { + "line": 2400, + "column": 8 + }, + "end": { + "line": 2402, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 72493, + 72497 + ], + "loc": { + "start": { + "line": 2403, + "column": 12 + }, + "end": { + "line": 2403, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72500, + 72504 + ], + "loc": { + "start": { + "line": 2403, + "column": 19 + }, + "end": { + "line": 2403, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 72505, + 72508 + ], + "loc": { + "start": { + "line": 2403, + "column": 24 + }, + "end": { + "line": 2403, + "column": 27 + } + } + }, + "range": [ + 72500, + 72508 + ], + "loc": { + "start": { + "line": 2403, + "column": 19 + }, + "end": { + "line": 2403, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 72500, + 72510 + ], + "loc": { + "start": { + "line": 2403, + "column": 19 + }, + "end": { + "line": 2403, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 72511, + 72515 + ], + "loc": { + "start": { + "line": 2403, + "column": 30 + }, + "end": { + "line": 2403, + "column": 34 + } + } + }, + "range": [ + 72500, + 72515 + ], + "loc": { + "start": { + "line": 2403, + "column": 19 + }, + "end": { + "line": 2403, + "column": 34 + } + } + }, + "range": [ + 72493, + 72515 + ], + "loc": { + "start": { + "line": 2403, + "column": 12 + }, + "end": { + "line": 2403, + "column": 34 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 72529, + 72541 + ], + "loc": { + "start": { + "line": 2404, + "column": 12 + }, + "end": { + "line": 2404, + "column": 24 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 72544, + 72546 + ], + "loc": { + "start": { + "line": 2404, + "column": 27 + }, + "end": { + "line": 2404, + "column": 29 + } + } + }, + "range": [ + 72529, + 72546 + ], + "loc": { + "start": { + "line": 2404, + "column": 12 + }, + "end": { + "line": 2404, + "column": 29 + } + } + } + ], + "kind": "let", + "range": [ + 72489, + 72547 + ], + "loc": { + "start": { + "line": 2403, + "column": 8 + }, + "end": { + "line": 2404, + "column": 30 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getContent", + "range": [ + 72560, + 72570 + ], + "loc": { + "start": { + "line": 2405, + "column": 12 + }, + "end": { + "line": 2405, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "typed", + "range": [ + 72573, + 72578 + ], + "loc": { + "start": { + "line": 2405, + "column": 25 + }, + "end": { + "line": 2405, + "column": 30 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72581, + 72585 + ], + "loc": { + "start": { + "line": 2405, + "column": 33 + }, + "end": { + "line": 2405, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellData", + "range": [ + 72586, + 72597 + ], + "loc": { + "start": { + "line": 2405, + "column": 38 + }, + "end": { + "line": 2405, + "column": 49 + } + } + }, + "range": [ + 72581, + 72597 + ], + "loc": { + "start": { + "line": 2405, + "column": 33 + }, + "end": { + "line": 2405, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 72598, + 72602 + ], + "loc": { + "start": { + "line": 2405, + "column": 50 + }, + "end": { + "line": 2405, + "column": 54 + } + } + }, + "range": [ + 72581, + 72602 + ], + "loc": { + "start": { + "line": 2405, + "column": 33 + }, + "end": { + "line": 2405, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 72603, + 72607 + ], + "loc": { + "start": { + "line": 2405, + "column": 55 + }, + "end": { + "line": 2405, + "column": 59 + } + } + } + ], + "range": [ + 72581, + 72608 + ], + "loc": { + "start": { + "line": 2405, + "column": 33 + }, + "end": { + "line": 2405, + "column": 60 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72623, + 72627 + ], + "loc": { + "start": { + "line": 2406, + "column": 12 + }, + "end": { + "line": 2406, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 72628, + 72640 + ], + "loc": { + "start": { + "line": 2406, + "column": 17 + }, + "end": { + "line": 2406, + "column": 29 + } + } + }, + "range": [ + 72623, + 72640 + ], + "loc": { + "start": { + "line": 2406, + "column": 12 + }, + "end": { + "line": 2406, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 72641, + 72645 + ], + "loc": { + "start": { + "line": 2406, + "column": 30 + }, + "end": { + "line": 2406, + "column": 34 + } + } + }, + "range": [ + 72623, + 72645 + ], + "loc": { + "start": { + "line": 2406, + "column": 12 + }, + "end": { + "line": 2406, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 72646, + 72650 + ], + "loc": { + "start": { + "line": 2406, + "column": 35 + }, + "end": { + "line": 2406, + "column": 39 + } + } + } + ], + "range": [ + 72623, + 72651 + ], + "loc": { + "start": { + "line": 2406, + "column": 12 + }, + "end": { + "line": 2406, + "column": 40 + } + } + }, + "range": [ + 72573, + 72651 + ], + "loc": { + "start": { + "line": 2405, + "column": 25 + }, + "end": { + "line": 2406, + "column": 40 + } + } + }, + "range": [ + 72560, + 72651 + ], + "loc": { + "start": { + "line": 2405, + "column": 12 + }, + "end": { + "line": 2406, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 72556, + 72652 + ], + "loc": { + "start": { + "line": 2405, + "column": 8 + }, + "end": { + "line": 2406, + "column": 41 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 72666, + 72680 + ], + "loc": { + "start": { + "line": 2408, + "column": 12 + }, + "end": { + "line": 2408, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headers", + "range": [ + 72700, + 72707 + ], + "loc": { + "start": { + "line": 2409, + "column": 16 + }, + "end": { + "line": 2409, + "column": 23 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72710, + 72714 + ], + "loc": { + "start": { + "line": 2409, + "column": 26 + }, + "end": { + "line": 2409, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersText", + "range": [ + 72715, + 72729 + ], + "loc": { + "start": { + "line": 2409, + "column": 31 + }, + "end": { + "line": 2409, + "column": 45 + } + } + }, + "range": [ + 72710, + 72729 + ], + "loc": { + "start": { + "line": 2409, + "column": 26 + }, + "end": { + "line": 2409, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 72730, + 72747 + ], + "loc": { + "start": { + "line": 2409, + "column": 46 + }, + "end": { + "line": 2409, + "column": 63 + } + } + } + ], + "range": [ + 72710, + 72748 + ], + "loc": { + "start": { + "line": 2409, + "column": 26 + }, + "end": { + "line": 2409, + "column": 64 + } + } + }, + "range": [ + 72700, + 72748 + ], + "loc": { + "start": { + "line": 2409, + "column": 16 + }, + "end": { + "line": 2409, + "column": 64 + } + } + } + ], + "kind": "let", + "range": [ + 72696, + 72749 + ], + "loc": { + "start": { + "line": 2409, + "column": 12 + }, + "end": { + "line": 2409, + "column": 65 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 72762, + 72774 + ], + "loc": { + "start": { + "line": 2410, + "column": 12 + }, + "end": { + "line": 2410, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 72775, + 72779 + ], + "loc": { + "start": { + "line": 2410, + "column": 25 + }, + "end": { + "line": 2410, + "column": 29 + } + } + }, + "range": [ + 72762, + 72779 + ], + "loc": { + "start": { + "line": 2410, + "column": 12 + }, + "end": { + "line": 2410, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "ArrayExpression", + "elements": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72781, + 72785 + ], + "loc": { + "start": { + "line": 2410, + "column": 31 + }, + "end": { + "line": 2410, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 72786, + 72804 + ], + "loc": { + "start": { + "line": 2410, + "column": 36 + }, + "end": { + "line": 2410, + "column": 54 + } + } + }, + "range": [ + 72781, + 72804 + ], + "loc": { + "start": { + "line": 2410, + "column": 31 + }, + "end": { + "line": 2410, + "column": 54 + } + } + }, + "arguments": [], + "range": [ + 72781, + 72806 + ], + "loc": { + "start": { + "line": 2410, + "column": 31 + }, + "end": { + "line": 2410, + "column": 56 + } + } + }, + { + "type": "Identifier", + "name": "headers", + "range": [ + 72808, + 72815 + ], + "loc": { + "start": { + "line": 2410, + "column": 58 + }, + "end": { + "line": 2410, + "column": 65 + } + } + } + ], + "range": [ + 72780, + 72816 + ], + "loc": { + "start": { + "line": 2410, + "column": 30 + }, + "end": { + "line": 2410, + "column": 66 + } + } + } + ], + "range": [ + 72762, + 72817 + ], + "loc": { + "start": { + "line": 2410, + "column": 12 + }, + "end": { + "line": 2410, + "column": 67 + } + } + }, + "range": [ + 72762, + 72818 + ], + "loc": { + "start": { + "line": 2410, + "column": 12 + }, + "end": { + "line": 2410, + "column": 68 + } + } + } + ], + "range": [ + 72682, + 72828 + ], + "loc": { + "start": { + "line": 2408, + "column": 28 + }, + "end": { + "line": 2411, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 72662, + 72828 + ], + "loc": { + "start": { + "line": 2408, + "column": 8 + }, + "end": { + "line": 2411, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validRows", + "range": [ + 72842, + 72851 + ], + "loc": { + "start": { + "line": 2413, + "column": 12 + }, + "end": { + "line": 2413, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72854, + 72858 + ], + "loc": { + "start": { + "line": 2413, + "column": 24 + }, + "end": { + "line": 2413, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 72859, + 72871 + ], + "loc": { + "start": { + "line": 2413, + "column": 29 + }, + "end": { + "line": 2413, + "column": 41 + } + } + }, + "range": [ + 72854, + 72871 + ], + "loc": { + "start": { + "line": 2413, + "column": 24 + }, + "end": { + "line": 2413, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 72872, + 72876 + ], + "loc": { + "start": { + "line": 2413, + "column": 42 + }, + "end": { + "line": 2413, + "column": 46 + } + } + } + ], + "range": [ + 72854, + 72877 + ], + "loc": { + "start": { + "line": 2413, + "column": 24 + }, + "end": { + "line": 2413, + "column": 47 + } + } + }, + "range": [ + 72842, + 72877 + ], + "loc": { + "start": { + "line": 2413, + "column": 12 + }, + "end": { + "line": 2413, + "column": 47 + } + } + } + ], + "kind": "let", + "range": [ + 72838, + 72878 + ], + "loc": { + "start": { + "line": 2413, + "column": 8 + }, + "end": { + "line": 2413, + "column": 48 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 72896, + 72897 + ], + "loc": { + "start": { + "line": 2414, + "column": 17 + }, + "end": { + "line": 2414, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 72900, + 72901 + ], + "loc": { + "start": { + "line": 2414, + "column": 21 + }, + "end": { + "line": 2414, + "column": 22 + } + } + }, + "range": [ + 72896, + 72901 + ], + "loc": { + "start": { + "line": 2414, + "column": 17 + }, + "end": { + "line": 2414, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 72892, + 72901 + ], + "loc": { + "start": { + "line": 2414, + "column": 13 + }, + "end": { + "line": 2414, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 72903, + 72904 + ], + "loc": { + "start": { + "line": 2414, + "column": 24 + }, + "end": { + "line": 2414, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validRows", + "range": [ + 72907, + 72916 + ], + "loc": { + "start": { + "line": 2414, + "column": 28 + }, + "end": { + "line": 2414, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 72917, + 72923 + ], + "loc": { + "start": { + "line": 2414, + "column": 38 + }, + "end": { + "line": 2414, + "column": 44 + } + } + }, + "range": [ + 72907, + 72923 + ], + "loc": { + "start": { + "line": 2414, + "column": 28 + }, + "end": { + "line": 2414, + "column": 44 + } + } + }, + "range": [ + 72903, + 72923 + ], + "loc": { + "start": { + "line": 2414, + "column": 24 + }, + "end": { + "line": 2414, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 72925, + 72926 + ], + "loc": { + "start": { + "line": 2414, + "column": 46 + }, + "end": { + "line": 2414, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 72925, + 72928 + ], + "loc": { + "start": { + "line": 2414, + "column": 46 + }, + "end": { + "line": 2414, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rData", + "range": [ + 72948, + 72953 + ], + "loc": { + "start": { + "line": 2415, + "column": 16 + }, + "end": { + "line": 2415, + "column": 21 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 72957, + 72961 + ], + "loc": { + "start": { + "line": 2415, + "column": 25 + }, + "end": { + "line": 2415, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 72962, + 72976 + ], + "loc": { + "start": { + "line": 2415, + "column": 30 + }, + "end": { + "line": 2415, + "column": 44 + } + } + }, + "range": [ + 72957, + 72976 + ], + "loc": { + "start": { + "line": 2415, + "column": 25 + }, + "end": { + "line": 2415, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 72977, + 72978 + ], + "loc": { + "start": { + "line": 2415, + "column": 45 + }, + "end": { + "line": 2415, + "column": 46 + } + } + }, + "range": [ + 72957, + 72979 + ], + "loc": { + "start": { + "line": 2415, + "column": 25 + }, + "end": { + "line": 2415, + "column": 47 + } + } + }, + { + "type": "ArrayExpression", + "elements": [], + "range": [ + 72981, + 72983 + ], + "loc": { + "start": { + "line": 2415, + "column": 49 + }, + "end": { + "line": 2415, + "column": 51 + } + } + } + ], + "range": [ + 72956, + 72984 + ], + "loc": { + "start": { + "line": 2415, + "column": 24 + }, + "end": { + "line": 2415, + "column": 52 + } + } + }, + "range": [ + 72948, + 72984 + ], + "loc": { + "start": { + "line": 2415, + "column": 16 + }, + "end": { + "line": 2415, + "column": 52 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cells", + "range": [ + 73002, + 73007 + ], + "loc": { + "start": { + "line": 2416, + "column": 16 + }, + "end": { + "line": 2416, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 73010, + 73014 + ], + "loc": { + "start": { + "line": 2416, + "column": 24 + }, + "end": { + "line": 2416, + "column": 28 + } + } + }, + "property": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 73015, + 73019 + ], + "loc": { + "start": { + "line": 2416, + "column": 29 + }, + "end": { + "line": 2416, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 73020, + 73034 + ], + "loc": { + "start": { + "line": 2416, + "column": 34 + }, + "end": { + "line": 2416, + "column": 48 + } + } + }, + "range": [ + 73015, + 73034 + ], + "loc": { + "start": { + "line": 2416, + "column": 29 + }, + "end": { + "line": 2416, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 73035, + 73036 + ], + "loc": { + "start": { + "line": 2416, + "column": 49 + }, + "end": { + "line": 2416, + "column": 50 + } + } + }, + "range": [ + 73015, + 73037 + ], + "loc": { + "start": { + "line": 2416, + "column": 29 + }, + "end": { + "line": 2416, + "column": 51 + } + } + }, + "range": [ + 73010, + 73038 + ], + "loc": { + "start": { + "line": 2416, + "column": 24 + }, + "end": { + "line": 2416, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 73039, + 73044 + ], + "loc": { + "start": { + "line": 2416, + "column": 53 + }, + "end": { + "line": 2416, + "column": 58 + } + } + }, + "range": [ + 73010, + 73044 + ], + "loc": { + "start": { + "line": 2416, + "column": 24 + }, + "end": { + "line": 2416, + "column": 58 + } + } + }, + "range": [ + 73002, + 73044 + ], + "loc": { + "start": { + "line": 2416, + "column": 16 + }, + "end": { + "line": 2416, + "column": 58 + } + } + } + ], + "kind": "let", + "range": [ + 72944, + 73045 + ], + "loc": { + "start": { + "line": 2415, + "column": 12 + }, + "end": { + "line": 2416, + "column": 59 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 73067, + 73068 + ], + "loc": { + "start": { + "line": 2417, + "column": 21 + }, + "end": { + "line": 2417, + "column": 22 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 73071, + 73072 + ], + "loc": { + "start": { + "line": 2417, + "column": 25 + }, + "end": { + "line": 2417, + "column": 26 + } + } + }, + "range": [ + 73067, + 73072 + ], + "loc": { + "start": { + "line": 2417, + "column": 21 + }, + "end": { + "line": 2417, + "column": 26 + } + } + } + ], + "kind": "let", + "range": [ + 73063, + 73072 + ], + "loc": { + "start": { + "line": 2417, + "column": 17 + }, + "end": { + "line": 2417, + "column": 26 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 73074, + 73075 + ], + "loc": { + "start": { + "line": 2417, + "column": 28 + }, + "end": { + "line": 2417, + "column": 29 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 73078, + 73083 + ], + "loc": { + "start": { + "line": 2417, + "column": 32 + }, + "end": { + "line": 2417, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 73084, + 73090 + ], + "loc": { + "start": { + "line": 2417, + "column": 38 + }, + "end": { + "line": 2417, + "column": 44 + } + } + }, + "range": [ + 73078, + 73090 + ], + "loc": { + "start": { + "line": 2417, + "column": 32 + }, + "end": { + "line": 2417, + "column": 44 + } + } + }, + "range": [ + 73074, + 73090 + ], + "loc": { + "start": { + "line": 2417, + "column": 28 + }, + "end": { + "line": 2417, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 73092, + 73093 + ], + "loc": { + "start": { + "line": 2417, + "column": 46 + }, + "end": { + "line": 2417, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 73092, + 73095 + ], + "loc": { + "start": { + "line": 2417, + "column": 46 + }, + "end": { + "line": 2417, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 73119, + 73136 + ], + "loc": { + "start": { + "line": 2418, + "column": 20 + }, + "end": { + "line": 2418, + "column": 37 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 73140, + 73144 + ], + "loc": { + "start": { + "line": 2418, + "column": 41 + }, + "end": { + "line": 2418, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExtension", + "range": [ + 73145, + 73157 + ], + "loc": { + "start": { + "line": 2418, + "column": 46 + }, + "end": { + "line": 2418, + "column": 58 + } + } + }, + "range": [ + 73140, + 73157 + ], + "loc": { + "start": { + "line": 2418, + "column": 41 + }, + "end": { + "line": 2418, + "column": 58 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 73158, + 73174 + ], + "loc": { + "start": { + "line": 2418, + "column": 59 + }, + "end": { + "line": 2418, + "column": 75 + } + } + } + ], + "range": [ + 73140, + 73175 + ], + "loc": { + "start": { + "line": 2418, + "column": 41 + }, + "end": { + "line": 2418, + "column": 76 + } + } + }, + "range": [ + 73119, + 73175 + ], + "loc": { + "start": { + "line": 2418, + "column": 20 + }, + "end": { + "line": 2418, + "column": 76 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 73203, + 73207 + ], + "loc": { + "start": { + "line": 2419, + "column": 24 + }, + "end": { + "line": 2419, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "extension", + "range": [ + 73208, + 73217 + ], + "loc": { + "start": { + "line": 2419, + "column": 29 + }, + "end": { + "line": 2419, + "column": 38 + } + } + }, + "range": [ + 73203, + 73217 + ], + "loc": { + "start": { + "line": 2419, + "column": 24 + }, + "end": { + "line": 2419, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 73218, + 73234 + ], + "loc": { + "start": { + "line": 2419, + "column": 39 + }, + "end": { + "line": 2419, + "column": 55 + } + } + } + ], + "range": [ + 73203, + 73235 + ], + "loc": { + "start": { + "line": 2419, + "column": 24 + }, + "end": { + "line": 2419, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 73236, + 73247 + ], + "loc": { + "start": { + "line": 2419, + "column": 57 + }, + "end": { + "line": 2419, + "column": 68 + } + } + }, + "range": [ + 73203, + 73247 + ], + "loc": { + "start": { + "line": 2419, + "column": 24 + }, + "end": { + "line": 2419, + "column": 68 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 73248, + 73249 + ], + "loc": { + "start": { + "line": 2419, + "column": 69 + }, + "end": { + "line": 2419, + "column": 70 + } + } + } + ], + "range": [ + 73203, + 73250 + ], + "loc": { + "start": { + "line": 2419, + "column": 24 + }, + "end": { + "line": 2419, + "column": 71 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 73278, + 73287 + ], + "loc": { + "start": { + "line": 2420, + "column": 24 + }, + "end": { + "line": 2420, + "column": 33 + } + } + } + ], + "range": [ + 73252, + 73309 + ], + "loc": { + "start": { + "line": 2419, + "column": 73 + }, + "end": { + "line": 2421, + "column": 21 + } + } + }, + "alternate": null, + "range": [ + 73199, + 73309 + ], + "loc": { + "start": { + "line": 2419, + "column": 20 + }, + "end": { + "line": 2421, + "column": 21 + } + } + } + ], + "range": [ + 73177, + 73327 + ], + "loc": { + "start": { + "line": 2418, + "column": 78 + }, + "end": { + "line": 2422, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 73115, + 73327 + ], + "loc": { + "start": { + "line": 2418, + "column": 16 + }, + "end": { + "line": 2422, + "column": 17 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "cellValue", + "range": [ + 73348, + 73357 + ], + "loc": { + "start": { + "line": 2423, + "column": 20 + }, + "end": { + "line": 2423, + "column": 29 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getContent", + "range": [ + 73360, + 73370 + ], + "loc": { + "start": { + "line": 2423, + "column": 32 + }, + "end": { + "line": 2423, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "cells", + "range": [ + 73371, + 73376 + ], + "loc": { + "start": { + "line": 2423, + "column": 43 + }, + "end": { + "line": 2423, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 73377, + 73378 + ], + "loc": { + "start": { + "line": 2423, + "column": 49 + }, + "end": { + "line": 2423, + "column": 50 + } + } + }, + "range": [ + 73371, + 73379 + ], + "loc": { + "start": { + "line": 2423, + "column": 43 + }, + "end": { + "line": 2423, + "column": 51 + } + } + } + ], + "range": [ + 73360, + 73380 + ], + "loc": { + "start": { + "line": 2423, + "column": 32 + }, + "end": { + "line": 2423, + "column": 52 + } + } + }, + "range": [ + 73348, + 73380 + ], + "loc": { + "start": { + "line": 2423, + "column": 20 + }, + "end": { + "line": 2423, + "column": 52 + } + } + } + ], + "kind": "let", + "range": [ + 73344, + 73381 + ], + "loc": { + "start": { + "line": 2423, + "column": 16 + }, + "end": { + "line": 2423, + "column": 53 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rData", + "range": [ + 73398, + 73403 + ], + "loc": { + "start": { + "line": 2424, + "column": 16 + }, + "end": { + "line": 2424, + "column": 21 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 73404, + 73405 + ], + "loc": { + "start": { + "line": 2424, + "column": 22 + }, + "end": { + "line": 2424, + "column": 23 + } + } + }, + "range": [ + 73398, + 73406 + ], + "loc": { + "start": { + "line": 2424, + "column": 16 + }, + "end": { + "line": 2424, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 73407, + 73411 + ], + "loc": { + "start": { + "line": 2424, + "column": 25 + }, + "end": { + "line": 2424, + "column": 29 + } + } + }, + "range": [ + 73398, + 73411 + ], + "loc": { + "start": { + "line": 2424, + "column": 16 + }, + "end": { + "line": 2424, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "cellValue", + "range": [ + 73412, + 73421 + ], + "loc": { + "start": { + "line": 2424, + "column": 30 + }, + "end": { + "line": 2424, + "column": 39 + } + } + } + ], + "range": [ + 73398, + 73422 + ], + "loc": { + "start": { + "line": 2424, + "column": 16 + }, + "end": { + "line": 2424, + "column": 40 + } + } + }, + "range": [ + 73398, + 73423 + ], + "loc": { + "start": { + "line": 2424, + "column": 16 + }, + "end": { + "line": 2424, + "column": 41 + } + } + } + ], + "range": [ + 73097, + 73437 + ], + "loc": { + "start": { + "line": 2417, + "column": 51 + }, + "end": { + "line": 2425, + "column": 13 + } + } + }, + "range": [ + 73058, + 73437 + ], + "loc": { + "start": { + "line": 2417, + "column": 12 + }, + "end": { + "line": 2425, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 73450, + 73462 + ], + "loc": { + "start": { + "line": 2426, + "column": 12 + }, + "end": { + "line": 2426, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 73463, + 73467 + ], + "loc": { + "start": { + "line": 2426, + "column": 25 + }, + "end": { + "line": 2426, + "column": 29 + } + } + }, + "range": [ + 73450, + 73467 + ], + "loc": { + "start": { + "line": 2426, + "column": 12 + }, + "end": { + "line": 2426, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rData", + "range": [ + 73468, + 73473 + ], + "loc": { + "start": { + "line": 2426, + "column": 30 + }, + "end": { + "line": 2426, + "column": 35 + } + } + } + ], + "range": [ + 73450, + 73474 + ], + "loc": { + "start": { + "line": 2426, + "column": 12 + }, + "end": { + "line": 2426, + "column": 36 + } + } + }, + "range": [ + 73450, + 73475 + ], + "loc": { + "start": { + "line": 2426, + "column": 12 + }, + "end": { + "line": 2426, + "column": 37 + } + } + } + ], + "range": [ + 72930, + 73485 + ], + "loc": { + "start": { + "line": 2414, + "column": 51 + }, + "end": { + "line": 2427, + "column": 9 + } + } + }, + "range": [ + 72887, + 73485 + ], + "loc": { + "start": { + "line": 2414, + "column": 8 + }, + "end": { + "line": 2427, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "filteredData", + "range": [ + 73501, + 73513 + ], + "loc": { + "start": { + "line": 2428, + "column": 15 + }, + "end": { + "line": 2428, + "column": 27 + } + } + }, + "range": [ + 73494, + 73514 + ], + "loc": { + "start": { + "line": 2428, + "column": 8 + }, + "end": { + "line": 2428, + "column": 28 + } + } + } + ], + "range": [ + 72398, + 73520 + ], + "loc": { + "start": { + "line": 2399, + "column": 6 + }, + "end": { + "line": 2429, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 72301, + 73520 + ], + "loc": { + "start": { + "line": 2395, + "column": 16 + }, + "end": { + "line": 2429, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 72289, + 73520 + ], + "loc": { + "start": { + "line": 2395, + "column": 4 + }, + "end": { + "line": 2429, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71806, + 72284 + ], + "loc": { + "start": { + "line": 2381, + "column": 4 + }, + "end": { + "line": 2394, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 73526, + 73930 + ], + "loc": { + "start": { + "line": 2431, + "column": 4 + }, + "end": { + "line": 2439, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilteredColumnData", + "range": [ + 73935, + 73956 + ], + "loc": { + "start": { + "line": 2440, + "column": 4 + }, + "end": { + "line": 2440, + "column": 25 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 73957, + 73965 + ], + "loc": { + "start": { + "line": 2440, + "column": 26 + }, + "end": { + "line": 2440, + "column": 34 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 73967, + 73981 + ], + "loc": { + "start": { + "line": 2440, + "column": 36 + }, + "end": { + "line": 2440, + "column": 50 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 73984, + 73989 + ], + "loc": { + "start": { + "line": 2440, + "column": 53 + }, + "end": { + "line": 2440, + "column": 58 + } + } + }, + "range": [ + 73967, + 73989 + ], + "loc": { + "start": { + "line": 2440, + "column": 36 + }, + "end": { + "line": 2440, + "column": 58 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 73991, + 73998 + ], + "loc": { + "start": { + "line": 2440, + "column": 60 + }, + "end": { + "line": 2440, + "column": 67 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 74001, + 74003 + ], + "loc": { + "start": { + "line": 2440, + "column": 70 + }, + "end": { + "line": 2440, + "column": 72 + } + } + }, + "range": [ + 73991, + 74003 + ], + "loc": { + "start": { + "line": 2440, + "column": 60 + }, + "end": { + "line": 2440, + "column": 72 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 74022, + 74026 + ], + "loc": { + "start": { + "line": 2441, + "column": 15 + }, + "end": { + "line": 2441, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilteredDataCol", + "range": [ + 74027, + 74045 + ], + "loc": { + "start": { + "line": 2441, + "column": 20 + }, + "end": { + "line": 2441, + "column": 38 + } + } + }, + "range": [ + 74022, + 74045 + ], + "loc": { + "start": { + "line": 2441, + "column": 15 + }, + "end": { + "line": 2441, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 74059, + 74067 + ], + "loc": { + "start": { + "line": 2442, + "column": 12 + }, + "end": { + "line": 2442, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 74069, + 74083 + ], + "loc": { + "start": { + "line": 2442, + "column": 22 + }, + "end": { + "line": 2442, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 74085, + 74089 + ], + "loc": { + "start": { + "line": 2442, + "column": 38 + }, + "end": { + "line": 2442, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 74091, + 74098 + ], + "loc": { + "start": { + "line": 2442, + "column": 44 + }, + "end": { + "line": 2442, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 74100, + 74105 + ], + "loc": { + "start": { + "line": 2442, + "column": 53 + }, + "end": { + "line": 2442, + "column": 58 + } + } + } + ], + "range": [ + 74022, + 74106 + ], + "loc": { + "start": { + "line": 2441, + "column": 15 + }, + "end": { + "line": 2442, + "column": 59 + } + } + }, + "range": [ + 74015, + 74107 + ], + "loc": { + "start": { + "line": 2441, + "column": 8 + }, + "end": { + "line": 2442, + "column": 60 + } + } + } + ], + "range": [ + 74005, + 74113 + ], + "loc": { + "start": { + "line": 2440, + "column": 74 + }, + "end": { + "line": 2443, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 73956, + 74113 + ], + "loc": { + "start": { + "line": 2440, + "column": 25 + }, + "end": { + "line": 2443, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 73935, + 74113 + ], + "loc": { + "start": { + "line": 2440, + "column": 4 + }, + "end": { + "line": 2443, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 73526, + 73930 + ], + "loc": { + "start": { + "line": 2431, + "column": 4 + }, + "end": { + "line": 2439, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered and visible data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74119, + 74535 + ], + "loc": { + "start": { + "line": 2445, + "column": 4 + }, + "end": { + "line": 2453, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getVisibleColumnData", + "range": [ + 74540, + 74560 + ], + "loc": { + "start": { + "line": 2454, + "column": 4 + }, + "end": { + "line": 2454, + "column": 24 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 74561, + 74569 + ], + "loc": { + "start": { + "line": 2454, + "column": 25 + }, + "end": { + "line": 2454, + "column": 33 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 74571, + 74585 + ], + "loc": { + "start": { + "line": 2454, + "column": 35 + }, + "end": { + "line": 2454, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 74588, + 74593 + ], + "loc": { + "start": { + "line": 2454, + "column": 52 + }, + "end": { + "line": 2454, + "column": 57 + } + } + }, + "range": [ + 74571, + 74593 + ], + "loc": { + "start": { + "line": 2454, + "column": 35 + }, + "end": { + "line": 2454, + "column": 57 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 74595, + 74602 + ], + "loc": { + "start": { + "line": 2454, + "column": 59 + }, + "end": { + "line": 2454, + "column": 66 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 74605, + 74607 + ], + "loc": { + "start": { + "line": 2454, + "column": 69 + }, + "end": { + "line": 2454, + "column": 71 + } + } + }, + "range": [ + 74595, + 74607 + ], + "loc": { + "start": { + "line": 2454, + "column": 59 + }, + "end": { + "line": 2454, + "column": 71 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 74626, + 74630 + ], + "loc": { + "start": { + "line": 2455, + "column": 15 + }, + "end": { + "line": 2455, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilteredDataCol", + "range": [ + 74631, + 74649 + ], + "loc": { + "start": { + "line": 2455, + "column": 20 + }, + "end": { + "line": 2455, + "column": 38 + } + } + }, + "range": [ + 74626, + 74649 + ], + "loc": { + "start": { + "line": 2455, + "column": 15 + }, + "end": { + "line": 2455, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 74663, + 74671 + ], + "loc": { + "start": { + "line": 2456, + "column": 12 + }, + "end": { + "line": 2456, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 74673, + 74687 + ], + "loc": { + "start": { + "line": 2456, + "column": 22 + }, + "end": { + "line": 2456, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 74689, + 74693 + ], + "loc": { + "start": { + "line": 2456, + "column": 38 + }, + "end": { + "line": 2456, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 74695, + 74702 + ], + "loc": { + "start": { + "line": 2456, + "column": 44 + }, + "end": { + "line": 2456, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 74704, + 74708 + ], + "loc": { + "start": { + "line": 2456, + "column": 53 + }, + "end": { + "line": 2456, + "column": 57 + } + } + } + ], + "range": [ + 74626, + 74709 + ], + "loc": { + "start": { + "line": 2455, + "column": 15 + }, + "end": { + "line": 2456, + "column": 58 + } + } + }, + "range": [ + 74619, + 74710 + ], + "loc": { + "start": { + "line": 2455, + "column": 8 + }, + "end": { + "line": 2456, + "column": 59 + } + } + } + ], + "range": [ + 74609, + 74716 + ], + "loc": { + "start": { + "line": 2454, + "column": 73 + }, + "end": { + "line": 2457, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 74560, + 74716 + ], + "loc": { + "start": { + "line": 2454, + "column": 24 + }, + "end": { + "line": 2457, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 74540, + 74716 + ], + "loc": { + "start": { + "line": 2454, + "column": 4 + }, + "end": { + "line": 2457, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered and visible data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74119, + 74535 + ], + "loc": { + "start": { + "line": 2445, + "column": 4 + }, + "end": { + "line": 2453, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74722, + 75131 + ], + "loc": { + "start": { + "line": 2459, + "column": 4 + }, + "end": { + "line": 2467, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilteredColumnValues", + "range": [ + 75136, + 75159 + ], + "loc": { + "start": { + "line": 2468, + "column": 4 + }, + "end": { + "line": 2468, + "column": 27 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 75160, + 75168 + ], + "loc": { + "start": { + "line": 2468, + "column": 28 + }, + "end": { + "line": 2468, + "column": 36 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 75170, + 75184 + ], + "loc": { + "start": { + "line": 2468, + "column": 38 + }, + "end": { + "line": 2468, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 75187, + 75192 + ], + "loc": { + "start": { + "line": 2468, + "column": 55 + }, + "end": { + "line": 2468, + "column": 60 + } + } + }, + "range": [ + 75170, + 75192 + ], + "loc": { + "start": { + "line": 2468, + "column": 38 + }, + "end": { + "line": 2468, + "column": 60 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 75194, + 75201 + ], + "loc": { + "start": { + "line": 2468, + "column": 62 + }, + "end": { + "line": 2468, + "column": 69 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 75204, + 75206 + ], + "loc": { + "start": { + "line": 2468, + "column": 72 + }, + "end": { + "line": 2468, + "column": 74 + } + } + }, + "range": [ + 75194, + 75206 + ], + "loc": { + "start": { + "line": 2468, + "column": 62 + }, + "end": { + "line": 2468, + "column": 74 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 75225, + 75229 + ], + "loc": { + "start": { + "line": 2469, + "column": 15 + }, + "end": { + "line": 2469, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilteredDataCol", + "range": [ + 75230, + 75248 + ], + "loc": { + "start": { + "line": 2469, + "column": 20 + }, + "end": { + "line": 2469, + "column": 38 + } + } + }, + "range": [ + 75225, + 75248 + ], + "loc": { + "start": { + "line": 2469, + "column": 15 + }, + "end": { + "line": 2469, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 75262, + 75270 + ], + "loc": { + "start": { + "line": 2470, + "column": 12 + }, + "end": { + "line": 2470, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 75272, + 75286 + ], + "loc": { + "start": { + "line": 2470, + "column": 22 + }, + "end": { + "line": 2470, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 75288, + 75293 + ], + "loc": { + "start": { + "line": 2470, + "column": 38 + }, + "end": { + "line": 2470, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 75295, + 75302 + ], + "loc": { + "start": { + "line": 2470, + "column": 45 + }, + "end": { + "line": 2470, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 75304, + 75309 + ], + "loc": { + "start": { + "line": 2470, + "column": 54 + }, + "end": { + "line": 2470, + "column": 59 + } + } + } + ], + "range": [ + 75225, + 75310 + ], + "loc": { + "start": { + "line": 2469, + "column": 15 + }, + "end": { + "line": 2470, + "column": 60 + } + } + }, + "range": [ + 75218, + 75311 + ], + "loc": { + "start": { + "line": 2469, + "column": 8 + }, + "end": { + "line": 2470, + "column": 61 + } + } + } + ], + "range": [ + 75208, + 75317 + ], + "loc": { + "start": { + "line": 2468, + "column": 76 + }, + "end": { + "line": 2471, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 75159, + 75317 + ], + "loc": { + "start": { + "line": 2468, + "column": 27 + }, + "end": { + "line": 2471, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 75136, + 75317 + ], + "loc": { + "start": { + "line": 2468, + "column": 4 + }, + "end": { + "line": 2471, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74722, + 75131 + ], + "loc": { + "start": { + "line": 2459, + "column": 4 + }, + "end": { + "line": 2467, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered and visible values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75323, + 75744 + ], + "loc": { + "start": { + "line": 2473, + "column": 4 + }, + "end": { + "line": 2481, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getVisibleColumnValues", + "range": [ + 75749, + 75771 + ], + "loc": { + "start": { + "line": 2482, + "column": 4 + }, + "end": { + "line": 2482, + "column": 26 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 75772, + 75780 + ], + "loc": { + "start": { + "line": 2482, + "column": 27 + }, + "end": { + "line": 2482, + "column": 35 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 75782, + 75796 + ], + "loc": { + "start": { + "line": 2482, + "column": 37 + }, + "end": { + "line": 2482, + "column": 51 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 75799, + 75804 + ], + "loc": { + "start": { + "line": 2482, + "column": 54 + }, + "end": { + "line": 2482, + "column": 59 + } + } + }, + "range": [ + 75782, + 75804 + ], + "loc": { + "start": { + "line": 2482, + "column": 37 + }, + "end": { + "line": 2482, + "column": 59 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 75806, + 75813 + ], + "loc": { + "start": { + "line": 2482, + "column": 61 + }, + "end": { + "line": 2482, + "column": 68 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 75816, + 75818 + ], + "loc": { + "start": { + "line": 2482, + "column": 71 + }, + "end": { + "line": 2482, + "column": 73 + } + } + }, + "range": [ + 75806, + 75818 + ], + "loc": { + "start": { + "line": 2482, + "column": 61 + }, + "end": { + "line": 2482, + "column": 73 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 75837, + 75841 + ], + "loc": { + "start": { + "line": 2483, + "column": 15 + }, + "end": { + "line": 2483, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilteredDataCol", + "range": [ + 75842, + 75860 + ], + "loc": { + "start": { + "line": 2483, + "column": 20 + }, + "end": { + "line": 2483, + "column": 38 + } + } + }, + "range": [ + 75837, + 75860 + ], + "loc": { + "start": { + "line": 2483, + "column": 15 + }, + "end": { + "line": 2483, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 75874, + 75882 + ], + "loc": { + "start": { + "line": 2484, + "column": 12 + }, + "end": { + "line": 2484, + "column": 20 + } + } + }, + { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 75884, + 75898 + ], + "loc": { + "start": { + "line": 2484, + "column": 22 + }, + "end": { + "line": 2484, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 75900, + 75905 + ], + "loc": { + "start": { + "line": 2484, + "column": 38 + }, + "end": { + "line": 2484, + "column": 43 + } + } + }, + { + "type": "Identifier", + "name": "exclude", + "range": [ + 75907, + 75914 + ], + "loc": { + "start": { + "line": 2484, + "column": 45 + }, + "end": { + "line": 2484, + "column": 52 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 75916, + 75920 + ], + "loc": { + "start": { + "line": 2484, + "column": 54 + }, + "end": { + "line": 2484, + "column": 58 + } + } + } + ], + "range": [ + 75837, + 75921 + ], + "loc": { + "start": { + "line": 2483, + "column": 15 + }, + "end": { + "line": 2484, + "column": 59 + } + } + }, + "range": [ + 75830, + 75922 + ], + "loc": { + "start": { + "line": 2483, + "column": 8 + }, + "end": { + "line": 2484, + "column": 60 + } + } + } + ], + "range": [ + 75820, + 75928 + ], + "loc": { + "start": { + "line": 2482, + "column": 75 + }, + "end": { + "line": 2485, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 75771, + 75928 + ], + "loc": { + "start": { + "line": 2482, + "column": 26 + }, + "end": { + "line": 2485, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 75749, + 75928 + ], + "loc": { + "start": { + "line": 2482, + "column": 4 + }, + "end": { + "line": 2485, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered and visible values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75323, + 75744 + ], + "loc": { + "start": { + "line": 2473, + "column": 4 + }, + "end": { + "line": 2481, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @param {Boolean} [visible=true] Return only filtered and visible data\n * (relevant for paging)\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75934, + 76540 + ], + "loc": { + "start": { + "line": 2487, + "column": 4 + }, + "end": { + "line": 2499, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilteredDataCol", + "range": [ + 76545, + 76563 + ], + "loc": { + "start": { + "line": 2500, + "column": 4 + }, + "end": { + "line": 2500, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 76573, + 76581 + ], + "loc": { + "start": { + "line": 2501, + "column": 8 + }, + "end": { + "line": 2501, + "column": 16 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 76591, + 76605 + ], + "loc": { + "start": { + "line": 2502, + "column": 8 + }, + "end": { + "line": 2502, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 76608, + 76613 + ], + "loc": { + "start": { + "line": 2502, + "column": 25 + }, + "end": { + "line": 2502, + "column": 30 + } + } + }, + "range": [ + 76591, + 76613 + ], + "loc": { + "start": { + "line": 2502, + "column": 8 + }, + "end": { + "line": 2502, + "column": 30 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "typed", + "range": [ + 76623, + 76628 + ], + "loc": { + "start": { + "line": 2503, + "column": 8 + }, + "end": { + "line": 2503, + "column": 13 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 76631, + 76636 + ], + "loc": { + "start": { + "line": 2503, + "column": 16 + }, + "end": { + "line": 2503, + "column": 21 + } + } + }, + "range": [ + 76623, + 76636 + ], + "loc": { + "start": { + "line": 2503, + "column": 8 + }, + "end": { + "line": 2503, + "column": 21 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "exclude", + "range": [ + 76646, + 76653 + ], + "loc": { + "start": { + "line": 2504, + "column": 8 + }, + "end": { + "line": 2504, + "column": 15 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 76656, + 76658 + ], + "loc": { + "start": { + "line": 2504, + "column": 18 + }, + "end": { + "line": 2504, + "column": 20 + } + } + }, + "range": [ + 76646, + 76658 + ], + "loc": { + "start": { + "line": 2504, + "column": 8 + }, + "end": { + "line": 2504, + "column": 20 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "visible", + "range": [ + 76668, + 76675 + ], + "loc": { + "start": { + "line": 2505, + "column": 8 + }, + "end": { + "line": 2505, + "column": 15 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 76678, + 76682 + ], + "loc": { + "start": { + "line": 2505, + "column": 18 + }, + "end": { + "line": 2505, + "column": 22 + } + } + }, + "range": [ + 76668, + 76682 + ], + "loc": { + "start": { + "line": 2505, + "column": 8 + }, + "end": { + "line": 2505, + "column": 22 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 76703, + 76710 + ], + "loc": { + "start": { + "line": 2507, + "column": 12 + }, + "end": { + "line": 2507, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 76711, + 76719 + ], + "loc": { + "start": { + "line": 2507, + "column": 20 + }, + "end": { + "line": 2507, + "column": 28 + } + } + } + ], + "range": [ + 76703, + 76720 + ], + "loc": { + "start": { + "line": 2507, + "column": 12 + }, + "end": { + "line": 2507, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 76743, + 76745 + ], + "loc": { + "start": { + "line": 2508, + "column": 19 + }, + "end": { + "line": 2508, + "column": 21 + } + } + }, + "range": [ + 76736, + 76746 + ], + "loc": { + "start": { + "line": 2508, + "column": 12 + }, + "end": { + "line": 2508, + "column": 22 + } + } + } + ], + "range": [ + 76722, + 76756 + ], + "loc": { + "start": { + "line": 2507, + "column": 31 + }, + "end": { + "line": 2509, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 76699, + 76756 + ], + "loc": { + "start": { + "line": 2507, + "column": 8 + }, + "end": { + "line": 2509, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rows", + "range": [ + 76770, + 76774 + ], + "loc": { + "start": { + "line": 2511, + "column": 12 + }, + "end": { + "line": 2511, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 76777, + 76781 + ], + "loc": { + "start": { + "line": 2511, + "column": 19 + }, + "end": { + "line": 2511, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 76782, + 76785 + ], + "loc": { + "start": { + "line": 2511, + "column": 24 + }, + "end": { + "line": 2511, + "column": 27 + } + } + }, + "range": [ + 76777, + 76785 + ], + "loc": { + "start": { + "line": 2511, + "column": 19 + }, + "end": { + "line": 2511, + "column": 27 + } + } + }, + "arguments": [], + "range": [ + 76777, + 76787 + ], + "loc": { + "start": { + "line": 2511, + "column": 19 + }, + "end": { + "line": 2511, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 76788, + 76792 + ], + "loc": { + "start": { + "line": 2511, + "column": 30 + }, + "end": { + "line": 2511, + "column": 34 + } + } + }, + "range": [ + 76777, + 76792 + ], + "loc": { + "start": { + "line": 2511, + "column": 19 + }, + "end": { + "line": 2511, + "column": 34 + } + } + }, + "range": [ + 76770, + 76792 + ], + "loc": { + "start": { + "line": 2511, + "column": 12 + }, + "end": { + "line": 2511, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 76766, + 76793 + ], + "loc": { + "start": { + "line": 2511, + "column": 8 + }, + "end": { + "line": 2511, + "column": 35 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "getContent", + "range": [ + 76806, + 76816 + ], + "loc": { + "start": { + "line": 2512, + "column": 12 + }, + "end": { + "line": 2512, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "typed", + "range": [ + 76819, + 76824 + ], + "loc": { + "start": { + "line": 2512, + "column": 25 + }, + "end": { + "line": 2512, + "column": 30 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 76827, + 76831 + ], + "loc": { + "start": { + "line": 2512, + "column": 33 + }, + "end": { + "line": 2512, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellData", + "range": [ + 76832, + 76843 + ], + "loc": { + "start": { + "line": 2512, + "column": 38 + }, + "end": { + "line": 2512, + "column": 49 + } + } + }, + "range": [ + 76827, + 76843 + ], + "loc": { + "start": { + "line": 2512, + "column": 33 + }, + "end": { + "line": 2512, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 76844, + 76848 + ], + "loc": { + "start": { + "line": 2512, + "column": 50 + }, + "end": { + "line": 2512, + "column": 54 + } + } + }, + "range": [ + 76827, + 76848 + ], + "loc": { + "start": { + "line": 2512, + "column": 33 + }, + "end": { + "line": 2512, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 76849, + 76853 + ], + "loc": { + "start": { + "line": 2512, + "column": 55 + }, + "end": { + "line": 2512, + "column": 59 + } + } + } + ], + "range": [ + 76827, + 76854 + ], + "loc": { + "start": { + "line": 2512, + "column": 33 + }, + "end": { + "line": 2512, + "column": 60 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 76869, + 76873 + ], + "loc": { + "start": { + "line": 2513, + "column": 12 + }, + "end": { + "line": 2513, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getCellValue", + "range": [ + 76874, + 76886 + ], + "loc": { + "start": { + "line": 2513, + "column": 17 + }, + "end": { + "line": 2513, + "column": 29 + } + } + }, + "range": [ + 76869, + 76886 + ], + "loc": { + "start": { + "line": 2513, + "column": 12 + }, + "end": { + "line": 2513, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "bind", + "range": [ + 76887, + 76891 + ], + "loc": { + "start": { + "line": 2513, + "column": 30 + }, + "end": { + "line": 2513, + "column": 34 + } + } + }, + "range": [ + 76869, + 76891 + ], + "loc": { + "start": { + "line": 2513, + "column": 12 + }, + "end": { + "line": 2513, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 76892, + 76896 + ], + "loc": { + "start": { + "line": 2513, + "column": 35 + }, + "end": { + "line": 2513, + "column": 39 + } + } + } + ], + "range": [ + 76869, + 76897 + ], + "loc": { + "start": { + "line": 2513, + "column": 12 + }, + "end": { + "line": 2513, + "column": 40 + } + } + }, + "range": [ + 76819, + 76897 + ], + "loc": { + "start": { + "line": 2512, + "column": 25 + }, + "end": { + "line": 2513, + "column": 40 + } + } + }, + "range": [ + 76806, + 76897 + ], + "loc": { + "start": { + "line": 2512, + "column": 12 + }, + "end": { + "line": 2513, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 76802, + 76898 + ], + "loc": { + "start": { + "line": 2512, + "column": 8 + }, + "end": { + "line": 2513, + "column": 41 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " ensure valid rows index do not contain excluded rows and row is", + "range": [ + 76908, + 76974 + ], + "loc": { + "start": { + "line": 2515, + "column": 8 + }, + "end": { + "line": 2515, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " displayed", + "range": [ + 76983, + 76995 + ], + "loc": { + "start": { + "line": 2516, + "column": 8 + }, + "end": { + "line": 2516, + "column": 20 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validRows", + "range": [ + 77008, + 77017 + ], + "loc": { + "start": { + "line": 2517, + "column": 12 + }, + "end": { + "line": 2517, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 77020, + 77024 + ], + "loc": { + "start": { + "line": 2517, + "column": 24 + }, + "end": { + "line": 2517, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 77025, + 77037 + ], + "loc": { + "start": { + "line": 2517, + "column": 29 + }, + "end": { + "line": 2517, + "column": 41 + } + } + }, + "range": [ + 77020, + 77037 + ], + "loc": { + "start": { + "line": 2517, + "column": 24 + }, + "end": { + "line": 2517, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 77038, + 77042 + ], + "loc": { + "start": { + "line": 2517, + "column": 42 + }, + "end": { + "line": 2517, + "column": 46 + } + } + } + ], + "range": [ + 77020, + 77043 + ], + "loc": { + "start": { + "line": 2517, + "column": 24 + }, + "end": { + "line": 2517, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 77044, + 77050 + ], + "loc": { + "start": { + "line": 2517, + "column": 48 + }, + "end": { + "line": 2517, + "column": 54 + } + } + }, + "range": [ + 77020, + 77050 + ], + "loc": { + "start": { + "line": 2517, + "column": 24 + }, + "end": { + "line": 2517, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 77052, + 77058 + ], + "loc": { + "start": { + "line": 2517, + "column": 56 + }, + "end": { + "line": 2517, + "column": 62 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "exclude", + "range": [ + 77084, + 77091 + ], + "loc": { + "start": { + "line": 2518, + "column": 19 + }, + "end": { + "line": 2518, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 77092, + 77099 + ], + "loc": { + "start": { + "line": 2518, + "column": 27 + }, + "end": { + "line": 2518, + "column": 34 + } + } + }, + "range": [ + 77084, + 77099 + ], + "loc": { + "start": { + "line": 2518, + "column": 19 + }, + "end": { + "line": 2518, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 77100, + 77106 + ], + "loc": { + "start": { + "line": 2518, + "column": 35 + }, + "end": { + "line": 2518, + "column": 41 + } + } + } + ], + "range": [ + 77084, + 77107 + ], + "loc": { + "start": { + "line": 2518, + "column": 19 + }, + "end": { + "line": 2518, + "column": 42 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 77113, + 77114 + ], + "loc": { + "start": { + "line": 2518, + "column": 48 + }, + "end": { + "line": 2518, + "column": 49 + } + } + }, + "prefix": true, + "range": [ + 77112, + 77114 + ], + "loc": { + "start": { + "line": 2518, + "column": 47 + }, + "end": { + "line": 2518, + "column": 49 + } + } + }, + "range": [ + 77084, + 77114 + ], + "loc": { + "start": { + "line": 2518, + "column": 19 + }, + "end": { + "line": 2518, + "column": 49 + } + } + }, + "right": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "visible", + "range": [ + 77135, + 77142 + ], + "loc": { + "start": { + "line": 2519, + "column": 17 + }, + "end": { + "line": 2519, + "column": 24 + } + } + }, + "consequent": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 77165, + 77169 + ], + "loc": { + "start": { + "line": 2520, + "column": 20 + }, + "end": { + "line": 2520, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowDisplay", + "range": [ + 77170, + 77183 + ], + "loc": { + "start": { + "line": 2520, + "column": 25 + }, + "end": { + "line": 2520, + "column": 38 + } + } + }, + "range": [ + 77165, + 77183 + ], + "loc": { + "start": { + "line": 2520, + "column": 20 + }, + "end": { + "line": 2520, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 77184, + 77188 + ], + "loc": { + "start": { + "line": 2520, + "column": 39 + }, + "end": { + "line": 2520, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 77189, + 77195 + ], + "loc": { + "start": { + "line": 2520, + "column": 44 + }, + "end": { + "line": 2520, + "column": 50 + } + } + }, + "range": [ + 77184, + 77196 + ], + "loc": { + "start": { + "line": 2520, + "column": 39 + }, + "end": { + "line": 2520, + "column": 51 + } + } + } + ], + "range": [ + 77165, + 77197 + ], + "loc": { + "start": { + "line": 2520, + "column": 20 + }, + "end": { + "line": 2520, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": "none", + "raw": "'none'", + "range": [ + 77202, + 77208 + ], + "loc": { + "start": { + "line": 2520, + "column": 57 + }, + "end": { + "line": 2520, + "column": 63 + } + } + }, + "range": [ + 77165, + 77208 + ], + "loc": { + "start": { + "line": 2520, + "column": 20 + }, + "end": { + "line": 2520, + "column": 63 + } + } + }, + "alternate": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 77231, + 77235 + ], + "loc": { + "start": { + "line": 2521, + "column": 20 + }, + "end": { + "line": 2521, + "column": 24 + } + } + }, + "range": [ + 77135, + 77235 + ], + "loc": { + "start": { + "line": 2519, + "column": 17 + }, + "end": { + "line": 2521, + "column": 24 + } + } + }, + "range": [ + 77084, + 77236 + ], + "loc": { + "start": { + "line": 2518, + "column": 19 + }, + "end": { + "line": 2521, + "column": 25 + } + } + }, + "range": [ + 77077, + 77237 + ], + "loc": { + "start": { + "line": 2518, + "column": 12 + }, + "end": { + "line": 2521, + "column": 26 + } + } + } + ], + "range": [ + 77063, + 77247 + ], + "loc": { + "start": { + "line": 2517, + "column": 67 + }, + "end": { + "line": 2522, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 77051, + 77247 + ], + "loc": { + "start": { + "line": 2517, + "column": 55 + }, + "end": { + "line": 2522, + "column": 9 + } + } + } + ], + "range": [ + 77020, + 77248 + ], + "loc": { + "start": { + "line": 2517, + "column": 24 + }, + "end": { + "line": 2522, + "column": 10 + } + } + }, + "range": [ + 77008, + 77248 + ], + "loc": { + "start": { + "line": 2517, + "column": 12 + }, + "end": { + "line": 2522, + "column": 10 + } + } + } + ], + "kind": "let", + "range": [ + 77004, + 77249 + ], + "loc": { + "start": { + "line": 2517, + "column": 8 + }, + "end": { + "line": 2522, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " ensure valid rows index do not contain excluded rows and row is", + "range": [ + 76908, + 76974 + ], + "loc": { + "start": { + "line": 2515, + "column": 8 + }, + "end": { + "line": 2515, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " displayed", + "range": [ + 76983, + 76995 + ], + "loc": { + "start": { + "line": 2516, + "column": 8 + }, + "end": { + "line": 2516, + "column": 20 + } + } + } + ], + "trailingComments": [ + { + "type": "Line", + "value": " convert column value to expected type if necessary", + "range": [ + 77259, + 77312 + ], + "loc": { + "start": { + "line": 2524, + "column": 8 + }, + "end": { + "line": 2524, + "column": 61 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validColValues", + "range": [ + 77325, + 77339 + ], + "loc": { + "start": { + "line": 2525, + "column": 12 + }, + "end": { + "line": 2525, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validRows", + "range": [ + 77342, + 77351 + ], + "loc": { + "start": { + "line": 2525, + "column": 29 + }, + "end": { + "line": 2525, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "map", + "range": [ + 77352, + 77355 + ], + "loc": { + "start": { + "line": 2525, + "column": 39 + }, + "end": { + "line": 2525, + "column": 42 + } + } + }, + "range": [ + 77342, + 77355 + ], + "loc": { + "start": { + "line": 2525, + "column": 29 + }, + "end": { + "line": 2525, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 77357, + 77363 + ], + "loc": { + "start": { + "line": 2525, + "column": 44 + }, + "end": { + "line": 2525, + "column": 50 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getContent", + "range": [ + 77389, + 77399 + ], + "loc": { + "start": { + "line": 2526, + "column": 19 + }, + "end": { + "line": 2526, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "rows", + "range": [ + 77400, + 77404 + ], + "loc": { + "start": { + "line": 2526, + "column": 30 + }, + "end": { + "line": 2526, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 77405, + 77411 + ], + "loc": { + "start": { + "line": 2526, + "column": 35 + }, + "end": { + "line": 2526, + "column": 41 + } + } + }, + "range": [ + 77400, + 77412 + ], + "loc": { + "start": { + "line": 2526, + "column": 30 + }, + "end": { + "line": 2526, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 77413, + 77418 + ], + "loc": { + "start": { + "line": 2526, + "column": 43 + }, + "end": { + "line": 2526, + "column": 48 + } + } + }, + "range": [ + 77400, + 77418 + ], + "loc": { + "start": { + "line": 2526, + "column": 30 + }, + "end": { + "line": 2526, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 77419, + 77427 + ], + "loc": { + "start": { + "line": 2526, + "column": 49 + }, + "end": { + "line": 2526, + "column": 57 + } + } + }, + "range": [ + 77400, + 77428 + ], + "loc": { + "start": { + "line": 2526, + "column": 30 + }, + "end": { + "line": 2526, + "column": 58 + } + } + } + ], + "range": [ + 77389, + 77429 + ], + "loc": { + "start": { + "line": 2526, + "column": 19 + }, + "end": { + "line": 2526, + "column": 59 + } + } + }, + "range": [ + 77382, + 77430 + ], + "loc": { + "start": { + "line": 2526, + "column": 12 + }, + "end": { + "line": 2526, + "column": 60 + } + } + } + ], + "range": [ + 77368, + 77440 + ], + "loc": { + "start": { + "line": 2525, + "column": 55 + }, + "end": { + "line": 2527, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 77356, + 77440 + ], + "loc": { + "start": { + "line": 2525, + "column": 43 + }, + "end": { + "line": 2527, + "column": 9 + } + } + } + ], + "range": [ + 77342, + 77441 + ], + "loc": { + "start": { + "line": 2525, + "column": 29 + }, + "end": { + "line": 2527, + "column": 10 + } + } + }, + "range": [ + 77325, + 77441 + ], + "loc": { + "start": { + "line": 2525, + "column": 12 + }, + "end": { + "line": 2527, + "column": 10 + } + } + } + ], + "kind": "let", + "range": [ + 77321, + 77442 + ], + "loc": { + "start": { + "line": 2525, + "column": 8 + }, + "end": { + "line": 2527, + "column": 11 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " convert column value to expected type if necessary", + "range": [ + 77259, + 77312 + ], + "loc": { + "start": { + "line": 2524, + "column": 8 + }, + "end": { + "line": 2524, + "column": 61 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "includeHeaders", + "range": [ + 77456, + 77470 + ], + "loc": { + "start": { + "line": 2529, + "column": 12 + }, + "end": { + "line": 2529, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "validColValues", + "range": [ + 77486, + 77500 + ], + "loc": { + "start": { + "line": 2530, + "column": 12 + }, + "end": { + "line": 2530, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "unshift", + "range": [ + 77501, + 77508 + ], + "loc": { + "start": { + "line": 2530, + "column": 27 + }, + "end": { + "line": 2530, + "column": 34 + } + } + }, + "range": [ + 77486, + 77508 + ], + "loc": { + "start": { + "line": 2530, + "column": 12 + }, + "end": { + "line": 2530, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 77509, + 77513 + ], + "loc": { + "start": { + "line": 2530, + "column": 35 + }, + "end": { + "line": 2530, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersText", + "range": [ + 77514, + 77528 + ], + "loc": { + "start": { + "line": 2530, + "column": 40 + }, + "end": { + "line": 2530, + "column": 54 + } + } + }, + "range": [ + 77509, + 77528 + ], + "loc": { + "start": { + "line": 2530, + "column": 35 + }, + "end": { + "line": 2530, + "column": 54 + } + } + }, + "arguments": [], + "range": [ + 77509, + 77530 + ], + "loc": { + "start": { + "line": 2530, + "column": 35 + }, + "end": { + "line": 2530, + "column": 56 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 77531, + 77539 + ], + "loc": { + "start": { + "line": 2530, + "column": 57 + }, + "end": { + "line": 2530, + "column": 65 + } + } + }, + "range": [ + 77509, + 77540 + ], + "loc": { + "start": { + "line": 2530, + "column": 35 + }, + "end": { + "line": 2530, + "column": 66 + } + } + } + ], + "range": [ + 77486, + 77541 + ], + "loc": { + "start": { + "line": 2530, + "column": 12 + }, + "end": { + "line": 2530, + "column": 67 + } + } + }, + "range": [ + 77486, + 77542 + ], + "loc": { + "start": { + "line": 2530, + "column": 12 + }, + "end": { + "line": 2530, + "column": 68 + } + } + } + ], + "range": [ + 77472, + 77552 + ], + "loc": { + "start": { + "line": 2529, + "column": 28 + }, + "end": { + "line": 2531, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 77452, + 77552 + ], + "loc": { + "start": { + "line": 2529, + "column": 8 + }, + "end": { + "line": 2531, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "validColValues", + "range": [ + 77569, + 77583 + ], + "loc": { + "start": { + "line": 2533, + "column": 15 + }, + "end": { + "line": 2533, + "column": 29 + } + } + }, + "range": [ + 77562, + 77584 + ], + "loc": { + "start": { + "line": 2533, + "column": 8 + }, + "end": { + "line": 2533, + "column": 30 + } + } + } + ], + "range": [ + 76689, + 77590 + ], + "loc": { + "start": { + "line": 2506, + "column": 6 + }, + "end": { + "line": 2534, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 76563, + 77590 + ], + "loc": { + "start": { + "line": 2500, + "column": 22 + }, + "end": { + "line": 2534, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 76545, + 77590 + ], + "loc": { + "start": { + "line": 2500, + "column": 4 + }, + "end": { + "line": 2534, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @param {Boolean} [visible=true] Return only filtered and visible data\n * (relevant for paging)\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75934, + 76540 + ], + "loc": { + "start": { + "line": 2487, + "column": 4 + }, + "end": { + "line": 2499, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n ", + "range": [ + 77596, + 77758 + ], + "loc": { + "start": { + "line": 2536, + "column": 4 + }, + "end": { + "line": 2540, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getRowDisplay", + "range": [ + 77763, + 77776 + ], + "loc": { + "start": { + "line": 2541, + "column": 4 + }, + "end": { + "line": 2541, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 77777, + 77780 + ], + "loc": { + "start": { + "line": 2541, + "column": 18 + }, + "end": { + "line": 2541, + "column": 21 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 77799, + 77802 + ], + "loc": { + "start": { + "line": 2542, + "column": 15 + }, + "end": { + "line": 2542, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 77803, + 77808 + ], + "loc": { + "start": { + "line": 2542, + "column": 19 + }, + "end": { + "line": 2542, + "column": 24 + } + } + }, + "range": [ + 77799, + 77808 + ], + "loc": { + "start": { + "line": 2542, + "column": 15 + }, + "end": { + "line": 2542, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 77809, + 77816 + ], + "loc": { + "start": { + "line": 2542, + "column": 25 + }, + "end": { + "line": 2542, + "column": 32 + } + } + }, + "range": [ + 77799, + 77816 + ], + "loc": { + "start": { + "line": 2542, + "column": 15 + }, + "end": { + "line": 2542, + "column": 32 + } + } + }, + "range": [ + 77792, + 77817 + ], + "loc": { + "start": { + "line": 2542, + "column": 8 + }, + "end": { + "line": 2542, + "column": 33 + } + } + } + ], + "range": [ + 77782, + 77823 + ], + "loc": { + "start": { + "line": 2541, + "column": 23 + }, + "end": { + "line": 2543, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 77776, + 77823 + ], + "loc": { + "start": { + "line": 2541, + "column": 17 + }, + "end": { + "line": 2543, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 77763, + 77823 + ], + "loc": { + "start": { + "line": 2541, + "column": 4 + }, + "end": { + "line": 2543, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n ", + "range": [ + 77596, + 77758 + ], + "loc": { + "start": { + "line": 2536, + "column": 4 + }, + "end": { + "line": 2540, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 77829, + 78002 + ], + "loc": { + "start": { + "line": 2545, + "column": 4 + }, + "end": { + "line": 2549, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "validateRow", + "range": [ + 78007, + 78018 + ], + "loc": { + "start": { + "line": 2550, + "column": 4 + }, + "end": { + "line": 2550, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78019, + 78027 + ], + "loc": { + "start": { + "line": 2550, + "column": 16 + }, + "end": { + "line": 2550, + "column": 24 + } + } + }, + { + "type": "Identifier", + "name": "isValid", + "range": [ + 78029, + 78036 + ], + "loc": { + "start": { + "line": 2550, + "column": 26 + }, + "end": { + "line": 2550, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 78052, + 78055 + ], + "loc": { + "start": { + "line": 2551, + "column": 12 + }, + "end": { + "line": 2551, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78058, + 78062 + ], + "loc": { + "start": { + "line": 2551, + "column": 18 + }, + "end": { + "line": 2551, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 78063, + 78066 + ], + "loc": { + "start": { + "line": 2551, + "column": 23 + }, + "end": { + "line": 2551, + "column": 26 + } + } + }, + "range": [ + 78058, + 78066 + ], + "loc": { + "start": { + "line": 2551, + "column": 18 + }, + "end": { + "line": 2551, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 78058, + 78068 + ], + "loc": { + "start": { + "line": 2551, + "column": 18 + }, + "end": { + "line": 2551, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 78069, + 78073 + ], + "loc": { + "start": { + "line": 2551, + "column": 29 + }, + "end": { + "line": 2551, + "column": 33 + } + } + }, + "range": [ + 78058, + 78073 + ], + "loc": { + "start": { + "line": 2551, + "column": 18 + }, + "end": { + "line": 2551, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78074, + 78082 + ], + "loc": { + "start": { + "line": 2551, + "column": 34 + }, + "end": { + "line": 2551, + "column": 42 + } + } + }, + "range": [ + 78058, + 78083 + ], + "loc": { + "start": { + "line": 2551, + "column": 18 + }, + "end": { + "line": 2551, + "column": 43 + } + } + }, + "range": [ + 78052, + 78083 + ], + "loc": { + "start": { + "line": 2551, + "column": 12 + }, + "end": { + "line": 2551, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 78048, + 78084 + ], + "loc": { + "start": { + "line": 2551, + "column": 8 + }, + "end": { + "line": 2551, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "row", + "range": [ + 78098, + 78101 + ], + "loc": { + "start": { + "line": 2552, + "column": 13 + }, + "end": { + "line": 2552, + "column": 16 + } + } + }, + "prefix": true, + "range": [ + 78097, + 78101 + ], + "loc": { + "start": { + "line": 2552, + "column": 12 + }, + "end": { + "line": 2552, + "column": 16 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "isValid", + "range": [ + 78112, + 78119 + ], + "loc": { + "start": { + "line": 2552, + "column": 27 + }, + "end": { + "line": 2552, + "column": 34 + } + } + }, + "prefix": true, + "range": [ + 78105, + 78119 + ], + "loc": { + "start": { + "line": 2552, + "column": 20 + }, + "end": { + "line": 2552, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": "boolean", + "raw": "'boolean'", + "range": [ + 78124, + 78133 + ], + "loc": { + "start": { + "line": 2552, + "column": 39 + }, + "end": { + "line": 2552, + "column": 48 + } + } + }, + "range": [ + 78105, + 78133 + ], + "loc": { + "start": { + "line": 2552, + "column": 20 + }, + "end": { + "line": 2552, + "column": 48 + } + } + }, + "range": [ + 78097, + 78133 + ], + "loc": { + "start": { + "line": 2552, + "column": 12 + }, + "end": { + "line": 2552, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 78149, + 78156 + ], + "loc": { + "start": { + "line": 2553, + "column": 12 + }, + "end": { + "line": 2553, + "column": 19 + } + } + } + ], + "range": [ + 78135, + 78166 + ], + "loc": { + "start": { + "line": 2552, + "column": 50 + }, + "end": { + "line": 2554, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 78093, + 78166 + ], + "loc": { + "start": { + "line": 2552, + "column": 8 + }, + "end": { + "line": 2554, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " always visible rows are valid", + "range": [ + 78176, + 78208 + ], + "loc": { + "start": { + "line": 2556, + "column": 8 + }, + "end": { + "line": 2556, + "column": 40 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78221, + 78225 + ], + "loc": { + "start": { + "line": 2557, + "column": 12 + }, + "end": { + "line": 2557, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 78226, + 78240 + ], + "loc": { + "start": { + "line": 2557, + "column": 17 + }, + "end": { + "line": 2557, + "column": 31 + } + } + }, + "range": [ + 78221, + 78240 + ], + "loc": { + "start": { + "line": 2557, + "column": 12 + }, + "end": { + "line": 2557, + "column": 31 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78244, + 78248 + ], + "loc": { + "start": { + "line": 2557, + "column": 35 + }, + "end": { + "line": 2557, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 78249, + 78260 + ], + "loc": { + "start": { + "line": 2557, + "column": 40 + }, + "end": { + "line": 2557, + "column": 51 + } + } + }, + "range": [ + 78244, + 78260 + ], + "loc": { + "start": { + "line": 2557, + "column": 35 + }, + "end": { + "line": 2557, + "column": 51 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 78261, + 78268 + ], + "loc": { + "start": { + "line": 2557, + "column": 52 + }, + "end": { + "line": 2557, + "column": 59 + } + } + }, + "range": [ + 78244, + 78268 + ], + "loc": { + "start": { + "line": 2557, + "column": 35 + }, + "end": { + "line": 2557, + "column": 59 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78269, + 78277 + ], + "loc": { + "start": { + "line": 2557, + "column": 60 + }, + "end": { + "line": 2557, + "column": 68 + } + } + } + ], + "range": [ + 78244, + 78278 + ], + "loc": { + "start": { + "line": 2557, + "column": 35 + }, + "end": { + "line": 2557, + "column": 69 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 78284, + 78285 + ], + "loc": { + "start": { + "line": 2557, + "column": 75 + }, + "end": { + "line": 2557, + "column": 76 + } + } + }, + "prefix": true, + "range": [ + 78283, + 78285 + ], + "loc": { + "start": { + "line": 2557, + "column": 74 + }, + "end": { + "line": 2557, + "column": 76 + } + } + }, + "range": [ + 78244, + 78285 + ], + "loc": { + "start": { + "line": 2557, + "column": 35 + }, + "end": { + "line": 2557, + "column": 76 + } + } + }, + "range": [ + 78221, + 78285 + ], + "loc": { + "start": { + "line": 2557, + "column": 12 + }, + "end": { + "line": 2557, + "column": 76 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isValid", + "range": [ + 78301, + 78308 + ], + "loc": { + "start": { + "line": 2558, + "column": 12 + }, + "end": { + "line": 2558, + "column": 19 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 78311, + 78315 + ], + "loc": { + "start": { + "line": 2558, + "column": 22 + }, + "end": { + "line": 2558, + "column": 26 + } + } + }, + "range": [ + 78301, + 78315 + ], + "loc": { + "start": { + "line": 2558, + "column": 12 + }, + "end": { + "line": 2558, + "column": 26 + } + } + }, + "range": [ + 78301, + 78316 + ], + "loc": { + "start": { + "line": 2558, + "column": 12 + }, + "end": { + "line": 2558, + "column": 27 + } + } + } + ], + "range": [ + 78287, + 78326 + ], + "loc": { + "start": { + "line": 2557, + "column": 78 + }, + "end": { + "line": 2559, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 78217, + 78326 + ], + "loc": { + "start": { + "line": 2557, + "column": 8 + }, + "end": { + "line": 2559, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " always visible rows are valid", + "range": [ + 78176, + 78208 + ], + "loc": { + "start": { + "line": 2556, + "column": 8 + }, + "end": { + "line": 2556, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "displayFlag", + "range": [ + 78340, + 78351 + ], + "loc": { + "start": { + "line": 2561, + "column": 12 + }, + "end": { + "line": 2561, + "column": 23 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isValid", + "range": [ + 78354, + 78361 + ], + "loc": { + "start": { + "line": 2561, + "column": 26 + }, + "end": { + "line": 2561, + "column": 33 + } + } + }, + "consequent": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 78364, + 78366 + ], + "loc": { + "start": { + "line": 2561, + "column": 36 + }, + "end": { + "line": 2561, + "column": 38 + } + } + }, + "alternate": { + "type": "Identifier", + "name": "NONE", + "range": [ + 78369, + 78373 + ], + "loc": { + "start": { + "line": 2561, + "column": 41 + }, + "end": { + "line": 2561, + "column": 45 + } + } + }, + "range": [ + 78354, + 78373 + ], + "loc": { + "start": { + "line": 2561, + "column": 26 + }, + "end": { + "line": 2561, + "column": 45 + } + } + }, + "range": [ + 78340, + 78373 + ], + "loc": { + "start": { + "line": 2561, + "column": 12 + }, + "end": { + "line": 2561, + "column": 45 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "validFlag", + "range": [ + 78387, + 78396 + ], + "loc": { + "start": { + "line": 2562, + "column": 12 + }, + "end": { + "line": 2562, + "column": 21 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "Identifier", + "name": "isValid", + "range": [ + 78399, + 78406 + ], + "loc": { + "start": { + "line": 2562, + "column": 24 + }, + "end": { + "line": 2562, + "column": 31 + } + } + }, + "consequent": { + "type": "Literal", + "value": "true", + "raw": "'true'", + "range": [ + 78409, + 78415 + ], + "loc": { + "start": { + "line": 2562, + "column": 34 + }, + "end": { + "line": 2562, + "column": 40 + } + } + }, + "alternate": { + "type": "Literal", + "value": "false", + "raw": "'false'", + "range": [ + 78418, + 78425 + ], + "loc": { + "start": { + "line": 2562, + "column": 43 + }, + "end": { + "line": 2562, + "column": 50 + } + } + }, + "range": [ + 78399, + 78425 + ], + "loc": { + "start": { + "line": 2562, + "column": 24 + }, + "end": { + "line": 2562, + "column": 50 + } + } + }, + "range": [ + 78387, + 78425 + ], + "loc": { + "start": { + "line": 2562, + "column": 12 + }, + "end": { + "line": 2562, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 78336, + 78426 + ], + "loc": { + "start": { + "line": 2561, + "column": 8 + }, + "end": { + "line": 2562, + "column": 51 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 78435, + 78438 + ], + "loc": { + "start": { + "line": 2563, + "column": 8 + }, + "end": { + "line": 2563, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 78439, + 78444 + ], + "loc": { + "start": { + "line": 2563, + "column": 12 + }, + "end": { + "line": 2563, + "column": 17 + } + } + }, + "range": [ + 78435, + 78444 + ], + "loc": { + "start": { + "line": 2563, + "column": 8 + }, + "end": { + "line": 2563, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "display", + "range": [ + 78445, + 78452 + ], + "loc": { + "start": { + "line": 2563, + "column": 18 + }, + "end": { + "line": 2563, + "column": 25 + } + } + }, + "range": [ + 78435, + 78452 + ], + "loc": { + "start": { + "line": 2563, + "column": 8 + }, + "end": { + "line": 2563, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "displayFlag", + "range": [ + 78455, + 78466 + ], + "loc": { + "start": { + "line": 2563, + "column": 28 + }, + "end": { + "line": 2563, + "column": 39 + } + } + }, + "range": [ + 78435, + 78466 + ], + "loc": { + "start": { + "line": 2563, + "column": 8 + }, + "end": { + "line": 2563, + "column": 39 + } + } + }, + "range": [ + 78435, + 78467 + ], + "loc": { + "start": { + "line": 2563, + "column": 8 + }, + "end": { + "line": 2563, + "column": 40 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78481, + 78485 + ], + "loc": { + "start": { + "line": 2565, + "column": 12 + }, + "end": { + "line": 2565, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 78486, + 78492 + ], + "loc": { + "start": { + "line": 2565, + "column": 17 + }, + "end": { + "line": 2565, + "column": 23 + } + } + }, + "range": [ + 78481, + 78492 + ], + "loc": { + "start": { + "line": 2565, + "column": 12 + }, + "end": { + "line": 2565, + "column": 23 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "row", + "range": [ + 78508, + 78511 + ], + "loc": { + "start": { + "line": 2566, + "column": 12 + }, + "end": { + "line": 2566, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "setAttribute", + "range": [ + 78512, + 78524 + ], + "loc": { + "start": { + "line": 2566, + "column": 16 + }, + "end": { + "line": 2566, + "column": 28 + } + } + }, + "range": [ + 78508, + 78524 + ], + "loc": { + "start": { + "line": 2566, + "column": 12 + }, + "end": { + "line": 2566, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "validRow", + "raw": "'validRow'", + "range": [ + 78525, + 78535 + ], + "loc": { + "start": { + "line": 2566, + "column": 29 + }, + "end": { + "line": 2566, + "column": 39 + } + } + }, + { + "type": "Identifier", + "name": "validFlag", + "range": [ + 78537, + 78546 + ], + "loc": { + "start": { + "line": 2566, + "column": 41 + }, + "end": { + "line": 2566, + "column": 50 + } + } + } + ], + "range": [ + 78508, + 78547 + ], + "loc": { + "start": { + "line": 2566, + "column": 12 + }, + "end": { + "line": 2566, + "column": 51 + } + } + }, + "range": [ + 78508, + 78548 + ], + "loc": { + "start": { + "line": 2566, + "column": 12 + }, + "end": { + "line": 2566, + "column": 52 + } + } + } + ], + "range": [ + 78494, + 78558 + ], + "loc": { + "start": { + "line": 2565, + "column": 25 + }, + "end": { + "line": 2567, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 78477, + 78558 + ], + "loc": { + "start": { + "line": 2565, + "column": 8 + }, + "end": { + "line": 2567, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "isValid", + "range": [ + 78572, + 78579 + ], + "loc": { + "start": { + "line": 2569, + "column": 12 + }, + "end": { + "line": 2569, + "column": 19 + } + } + }, + "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": [ + 78599, + 78603 + ], + "loc": { + "start": { + "line": 2570, + "column": 16 + }, + "end": { + "line": 2570, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 78604, + 78618 + ], + "loc": { + "start": { + "line": 2570, + "column": 21 + }, + "end": { + "line": 2570, + "column": 35 + } + } + }, + "range": [ + 78599, + 78618 + ], + "loc": { + "start": { + "line": 2570, + "column": 16 + }, + "end": { + "line": 2570, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 78619, + 78626 + ], + "loc": { + "start": { + "line": 2570, + "column": 36 + }, + "end": { + "line": 2570, + "column": 43 + } + } + }, + "range": [ + 78599, + 78626 + ], + "loc": { + "start": { + "line": 2570, + "column": 16 + }, + "end": { + "line": 2570, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78627, + 78635 + ], + "loc": { + "start": { + "line": 2570, + "column": 44 + }, + "end": { + "line": 2570, + "column": 52 + } + } + } + ], + "range": [ + 78599, + 78636 + ], + "loc": { + "start": { + "line": 2570, + "column": 16 + }, + "end": { + "line": 2570, + "column": 53 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 78642, + 78643 + ], + "loc": { + "start": { + "line": 2570, + "column": 59 + }, + "end": { + "line": 2570, + "column": 60 + } + } + }, + "prefix": true, + "range": [ + 78641, + 78643 + ], + "loc": { + "start": { + "line": 2570, + "column": 58 + }, + "end": { + "line": 2570, + "column": 60 + } + } + }, + "range": [ + 78599, + 78643 + ], + "loc": { + "start": { + "line": 2570, + "column": 16 + }, + "end": { + "line": 2570, + "column": 60 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78663, + 78667 + ], + "loc": { + "start": { + "line": 2571, + "column": 16 + }, + "end": { + "line": 2571, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 78668, + 78682 + ], + "loc": { + "start": { + "line": 2571, + "column": 21 + }, + "end": { + "line": 2571, + "column": 35 + } + } + }, + "range": [ + 78663, + 78682 + ], + "loc": { + "start": { + "line": 2571, + "column": 16 + }, + "end": { + "line": 2571, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 78683, + 78687 + ], + "loc": { + "start": { + "line": 2571, + "column": 36 + }, + "end": { + "line": 2571, + "column": 40 + } + } + }, + "range": [ + 78663, + 78687 + ], + "loc": { + "start": { + "line": 2571, + "column": 16 + }, + "end": { + "line": 2571, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78688, + 78696 + ], + "loc": { + "start": { + "line": 2571, + "column": 41 + }, + "end": { + "line": 2571, + "column": 49 + } + } + } + ], + "range": [ + 78663, + 78697 + ], + "loc": { + "start": { + "line": 2571, + "column": 16 + }, + "end": { + "line": 2571, + "column": 50 + } + } + }, + "range": [ + 78663, + 78698 + ], + "loc": { + "start": { + "line": 2571, + "column": 16 + }, + "end": { + "line": 2571, + "column": 51 + } + } + } + ], + "range": [ + 78645, + 78712 + ], + "loc": { + "start": { + "line": 2570, + "column": 62 + }, + "end": { + "line": 2572, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 78595, + 78712 + ], + "loc": { + "start": { + "line": 2570, + "column": 12 + }, + "end": { + "line": 2572, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78726, + 78730 + ], + "loc": { + "start": { + "line": 2574, + "column": 12 + }, + "end": { + "line": 2574, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "onRowValidated", + "range": [ + 78731, + 78745 + ], + "loc": { + "start": { + "line": 2574, + "column": 17 + }, + "end": { + "line": 2574, + "column": 31 + } + } + }, + "range": [ + 78726, + 78745 + ], + "loc": { + "start": { + "line": 2574, + "column": 12 + }, + "end": { + "line": 2574, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 78746, + 78750 + ], + "loc": { + "start": { + "line": 2574, + "column": 32 + }, + "end": { + "line": 2574, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78752, + 78760 + ], + "loc": { + "start": { + "line": 2574, + "column": 38 + }, + "end": { + "line": 2574, + "column": 46 + } + } + } + ], + "range": [ + 78726, + 78761 + ], + "loc": { + "start": { + "line": 2574, + "column": 12 + }, + "end": { + "line": 2574, + "column": 47 + } + } + }, + "range": [ + 78726, + 78762 + ], + "loc": { + "start": { + "line": 2574, + "column": 12 + }, + "end": { + "line": 2574, + "column": 48 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78776, + 78780 + ], + "loc": { + "start": { + "line": 2576, + "column": 12 + }, + "end": { + "line": 2576, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 78781, + 78788 + ], + "loc": { + "start": { + "line": 2576, + "column": 17 + }, + "end": { + "line": 2576, + "column": 24 + } + } + }, + "range": [ + 78776, + 78788 + ], + "loc": { + "start": { + "line": 2576, + "column": 12 + }, + "end": { + "line": 2576, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 78789, + 78793 + ], + "loc": { + "start": { + "line": 2576, + "column": 25 + }, + "end": { + "line": 2576, + "column": 29 + } + } + }, + "range": [ + 78776, + 78793 + ], + "loc": { + "start": { + "line": 2576, + "column": 12 + }, + "end": { + "line": 2576, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "row-validated", + "raw": "'row-validated'", + "range": [ + 78794, + 78809 + ], + "loc": { + "start": { + "line": 2576, + "column": 30 + }, + "end": { + "line": 2576, + "column": 45 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 78811, + 78815 + ], + "loc": { + "start": { + "line": 2576, + "column": 47 + }, + "end": { + "line": 2576, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 78817, + 78825 + ], + "loc": { + "start": { + "line": 2576, + "column": 53 + }, + "end": { + "line": 2576, + "column": 61 + } + } + } + ], + "range": [ + 78776, + 78826 + ], + "loc": { + "start": { + "line": 2576, + "column": 12 + }, + "end": { + "line": 2576, + "column": 62 + } + } + }, + "range": [ + 78776, + 78827 + ], + "loc": { + "start": { + "line": 2576, + "column": 12 + }, + "end": { + "line": 2576, + "column": 63 + } + } + } + ], + "range": [ + 78581, + 78837 + ], + "loc": { + "start": { + "line": 2569, + "column": 21 + }, + "end": { + "line": 2577, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 78568, + 78837 + ], + "loc": { + "start": { + "line": 2569, + "column": 8 + }, + "end": { + "line": 2577, + "column": 9 + } + } + } + ], + "range": [ + 78038, + 78843 + ], + "loc": { + "start": { + "line": 2550, + "column": 35 + }, + "end": { + "line": 2578, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 78018, + 78843 + ], + "loc": { + "start": { + "line": 2550, + "column": 15 + }, + "end": { + "line": 2578, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 78007, + 78843 + ], + "loc": { + "start": { + "line": 2550, + "column": 4 + }, + "end": { + "line": 2578, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 77829, + 78002 + ], + "loc": { + "start": { + "line": 2545, + "column": 4 + }, + "end": { + "line": 2549, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Validate all filterable rows\n ", + "range": [ + 78849, + 78896 + ], + "loc": { + "start": { + "line": 2580, + "column": 4 + }, + "end": { + "line": 2582, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "validateAllRows", + "range": [ + 78901, + 78916 + ], + "loc": { + "start": { + "line": 2583, + "column": 4 + }, + "end": { + "line": 2583, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78934, + 78938 + ], + "loc": { + "start": { + "line": 2584, + "column": 13 + }, + "end": { + "line": 2584, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 78939, + 78950 + ], + "loc": { + "start": { + "line": 2584, + "column": 18 + }, + "end": { + "line": 2584, + "column": 29 + } + } + }, + "range": [ + 78934, + 78950 + ], + "loc": { + "start": { + "line": 2584, + "column": 13 + }, + "end": { + "line": 2584, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 78933, + 78950 + ], + "loc": { + "start": { + "line": 2584, + "column": 12 + }, + "end": { + "line": 2584, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 78966, + 78973 + ], + "loc": { + "start": { + "line": 2585, + "column": 12 + }, + "end": { + "line": 2585, + "column": 19 + } + } + } + ], + "range": [ + 78952, + 78983 + ], + "loc": { + "start": { + "line": 2584, + "column": 31 + }, + "end": { + "line": 2586, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 78929, + 78983 + ], + "loc": { + "start": { + "line": 2584, + "column": 8 + }, + "end": { + "line": 2586, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 78992, + 78996 + ], + "loc": { + "start": { + "line": 2587, + "column": 8 + }, + "end": { + "line": 2587, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 78997, + 79011 + ], + "loc": { + "start": { + "line": 2587, + "column": 13 + }, + "end": { + "line": 2587, + "column": 27 + } + } + }, + "range": [ + 78992, + 79011 + ], + "loc": { + "start": { + "line": 2587, + "column": 8 + }, + "end": { + "line": 2587, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 79014, + 79016 + ], + "loc": { + "start": { + "line": 2587, + "column": 30 + }, + "end": { + "line": 2587, + "column": 32 + } + } + }, + "range": [ + 78992, + 79016 + ], + "loc": { + "start": { + "line": 2587, + "column": 8 + }, + "end": { + "line": 2587, + "column": 32 + } + } + }, + "range": [ + 78992, + 79017 + ], + "loc": { + "start": { + "line": 2587, + "column": 8 + }, + "end": { + "line": 2587, + "column": 33 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 79035, + 79036 + ], + "loc": { + "start": { + "line": 2588, + "column": 17 + }, + "end": { + "line": 2588, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79039, + 79043 + ], + "loc": { + "start": { + "line": 2588, + "column": 21 + }, + "end": { + "line": 2588, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 79044, + 79050 + ], + "loc": { + "start": { + "line": 2588, + "column": 26 + }, + "end": { + "line": 2588, + "column": 32 + } + } + }, + "range": [ + 79039, + 79050 + ], + "loc": { + "start": { + "line": 2588, + "column": 21 + }, + "end": { + "line": 2588, + "column": 32 + } + } + }, + "range": [ + 79035, + 79050 + ], + "loc": { + "start": { + "line": 2588, + "column": 17 + }, + "end": { + "line": 2588, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 79031, + 79050 + ], + "loc": { + "start": { + "line": 2588, + "column": 13 + }, + "end": { + "line": 2588, + "column": 32 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 79052, + 79053 + ], + "loc": { + "start": { + "line": 2588, + "column": 34 + }, + "end": { + "line": 2588, + "column": 35 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79056, + 79060 + ], + "loc": { + "start": { + "line": 2588, + "column": 38 + }, + "end": { + "line": 2588, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbFilterableRows", + "range": [ + 79061, + 79077 + ], + "loc": { + "start": { + "line": 2588, + "column": 43 + }, + "end": { + "line": 2588, + "column": 59 + } + } + }, + "range": [ + 79056, + 79077 + ], + "loc": { + "start": { + "line": 2588, + "column": 38 + }, + "end": { + "line": 2588, + "column": 59 + } + } + }, + "range": [ + 79052, + 79077 + ], + "loc": { + "start": { + "line": 2588, + "column": 34 + }, + "end": { + "line": 2588, + "column": 59 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 79079, + 79080 + ], + "loc": { + "start": { + "line": 2588, + "column": 61 + }, + "end": { + "line": 2588, + "column": 62 + } + } + }, + "prefix": false, + "range": [ + 79079, + 79082 + ], + "loc": { + "start": { + "line": 2588, + "column": 61 + }, + "end": { + "line": 2588, + "column": 64 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79098, + 79102 + ], + "loc": { + "start": { + "line": 2589, + "column": 12 + }, + "end": { + "line": 2589, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "validateRow", + "range": [ + 79103, + 79114 + ], + "loc": { + "start": { + "line": 2589, + "column": 17 + }, + "end": { + "line": 2589, + "column": 28 + } + } + }, + "range": [ + 79098, + 79114 + ], + "loc": { + "start": { + "line": 2589, + "column": 12 + }, + "end": { + "line": 2589, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "k", + "range": [ + 79115, + 79116 + ], + "loc": { + "start": { + "line": 2589, + "column": 29 + }, + "end": { + "line": 2589, + "column": 30 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 79118, + 79122 + ], + "loc": { + "start": { + "line": 2589, + "column": 32 + }, + "end": { + "line": 2589, + "column": 36 + } + } + } + ], + "range": [ + 79098, + 79123 + ], + "loc": { + "start": { + "line": 2589, + "column": 12 + }, + "end": { + "line": 2589, + "column": 37 + } + } + }, + "range": [ + 79098, + 79124 + ], + "loc": { + "start": { + "line": 2589, + "column": 12 + }, + "end": { + "line": 2589, + "column": 38 + } + } + } + ], + "range": [ + 79084, + 79134 + ], + "loc": { + "start": { + "line": 2588, + "column": 66 + }, + "end": { + "line": 2590, + "column": 9 + } + } + }, + "range": [ + 79026, + 79134 + ], + "loc": { + "start": { + "line": 2588, + "column": 8 + }, + "end": { + "line": 2590, + "column": 9 + } + } + } + ], + "range": [ + 78919, + 79140 + ], + "loc": { + "start": { + "line": 2583, + "column": 22 + }, + "end": { + "line": 2591, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 78916, + 79140 + ], + "loc": { + "start": { + "line": 2583, + "column": 19 + }, + "end": { + "line": 2591, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 78901, + 79140 + ], + "loc": { + "start": { + "line": 2583, + "column": 4 + }, + "end": { + "line": 2591, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Validate all filterable rows\n ", + "range": [ + 78849, + 78896 + ], + "loc": { + "start": { + "line": 2580, + "column": 4 + }, + "end": { + "line": 2582, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 79146, + 79308 + ], + "loc": { + "start": { + "line": 2593, + "column": 4 + }, + "end": { + "line": 2597, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setFilterValue", + "range": [ + 79313, + 79327 + ], + "loc": { + "start": { + "line": 2598, + "column": 4 + }, + "end": { + "line": 2598, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 79328, + 79333 + ], + "loc": { + "start": { + "line": 2598, + "column": 19 + }, + "end": { + "line": 2598, + "column": 24 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "query", + "range": [ + 79335, + 79340 + ], + "loc": { + "start": { + "line": 2598, + "column": 26 + }, + "end": { + "line": 2598, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 79343, + 79345 + ], + "loc": { + "start": { + "line": 2598, + "column": 34 + }, + "end": { + "line": 2598, + "column": 36 + } + } + }, + "range": [ + 79335, + 79345 + ], + "loc": { + "start": { + "line": 2598, + "column": 26 + }, + "end": { + "line": 2598, + "column": 36 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79362, + 79366 + ], + "loc": { + "start": { + "line": 2599, + "column": 13 + }, + "end": { + "line": 2599, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 79367, + 79374 + ], + "loc": { + "start": { + "line": 2599, + "column": 18 + }, + "end": { + "line": 2599, + "column": 25 + } + } + }, + "range": [ + 79362, + 79374 + ], + "loc": { + "start": { + "line": 2599, + "column": 13 + }, + "end": { + "line": 2599, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 79361, + 79374 + ], + "loc": { + "start": { + "line": 2599, + "column": 12 + }, + "end": { + "line": 2599, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 79390, + 79397 + ], + "loc": { + "start": { + "line": 2600, + "column": 12 + }, + "end": { + "line": 2600, + "column": 19 + } + } + } + ], + "range": [ + 79376, + 79407 + ], + "loc": { + "start": { + "line": 2599, + "column": 27 + }, + "end": { + "line": 2601, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 79357, + 79407 + ], + "loc": { + "start": { + "line": 2599, + "column": 8 + }, + "end": { + "line": 2601, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slc", + "range": [ + 79420, + 79423 + ], + "loc": { + "start": { + "line": 2602, + "column": 12 + }, + "end": { + "line": 2602, + "column": 15 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79426, + 79430 + ], + "loc": { + "start": { + "line": 2602, + "column": 18 + }, + "end": { + "line": 2602, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterElement", + "range": [ + 79431, + 79447 + ], + "loc": { + "start": { + "line": 2602, + "column": 23 + }, + "end": { + "line": 2602, + "column": 39 + } + } + }, + "range": [ + 79426, + 79447 + ], + "loc": { + "start": { + "line": 2602, + "column": 18 + }, + "end": { + "line": 2602, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 79448, + 79453 + ], + "loc": { + "start": { + "line": 2602, + "column": 40 + }, + "end": { + "line": 2602, + "column": 45 + } + } + } + ], + "range": [ + 79426, + 79454 + ], + "loc": { + "start": { + "line": 2602, + "column": 18 + }, + "end": { + "line": 2602, + "column": 46 + } + } + }, + "range": [ + 79420, + 79454 + ], + "loc": { + "start": { + "line": 2602, + "column": 12 + }, + "end": { + "line": 2602, + "column": 46 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 79468, + 79478 + ], + "loc": { + "start": { + "line": 2603, + "column": 12 + }, + "end": { + "line": 2603, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79481, + 79485 + ], + "loc": { + "start": { + "line": 2603, + "column": 25 + }, + "end": { + "line": 2603, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 79486, + 79499 + ], + "loc": { + "start": { + "line": 2603, + "column": 30 + }, + "end": { + "line": 2603, + "column": 43 + } + } + }, + "range": [ + 79481, + 79499 + ], + "loc": { + "start": { + "line": 2603, + "column": 25 + }, + "end": { + "line": 2603, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "index", + "range": [ + 79500, + 79505 + ], + "loc": { + "start": { + "line": 2603, + "column": 44 + }, + "end": { + "line": 2603, + "column": 49 + } + } + } + ], + "range": [ + 79481, + 79506 + ], + "loc": { + "start": { + "line": 2603, + "column": 25 + }, + "end": { + "line": 2603, + "column": 50 + } + } + }, + "range": [ + 79468, + 79506 + ], + "loc": { + "start": { + "line": 2603, + "column": 12 + }, + "end": { + "line": 2603, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 79416, + 79507 + ], + "loc": { + "start": { + "line": 2602, + "column": 8 + }, + "end": { + "line": 2603, + "column": 51 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 79521, + 79531 + ], + "loc": { + "start": { + "line": 2605, + "column": 12 + }, + "end": { + "line": 2605, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 79536, + 79544 + ], + "loc": { + "start": { + "line": 2605, + "column": 27 + }, + "end": { + "line": 2605, + "column": 35 + } + } + }, + "range": [ + 79521, + 79544 + ], + "loc": { + "start": { + "line": 2605, + "column": 12 + }, + "end": { + "line": 2605, + "column": 35 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 79548, + 79558 + ], + "loc": { + "start": { + "line": 2605, + "column": 39 + }, + "end": { + "line": 2605, + "column": 49 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 79563, + 79572 + ], + "loc": { + "start": { + "line": 2605, + "column": 54 + }, + "end": { + "line": 2605, + "column": 63 + } + } + }, + "range": [ + 79548, + 79572 + ], + "loc": { + "start": { + "line": 2605, + "column": 39 + }, + "end": { + "line": 2605, + "column": 63 + } + } + }, + "range": [ + 79521, + 79572 + ], + "loc": { + "start": { + "line": 2605, + "column": 12 + }, + "end": { + "line": 2605, + "column": 63 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79592, + 79596 + ], + "loc": { + "start": { + "line": 2606, + "column": 16 + }, + "end": { + "line": 2606, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 79597, + 79612 + ], + "loc": { + "start": { + "line": 2606, + "column": 21 + }, + "end": { + "line": 2606, + "column": 36 + } + } + }, + "range": [ + 79592, + 79612 + ], + "loc": { + "start": { + "line": 2606, + "column": 16 + }, + "end": { + "line": 2606, + "column": 36 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79617, + 79621 + ], + "loc": { + "start": { + "line": 2606, + "column": 41 + }, + "end": { + "line": 2606, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 79622, + 79633 + ], + "loc": { + "start": { + "line": 2606, + "column": 46 + }, + "end": { + "line": 2606, + "column": 57 + } + } + }, + "range": [ + 79617, + 79633 + ], + "loc": { + "start": { + "line": 2606, + "column": 41 + }, + "end": { + "line": 2606, + "column": 57 + } + } + }, + "prefix": true, + "range": [ + 79616, + 79633 + ], + "loc": { + "start": { + "line": 2606, + "column": 40 + }, + "end": { + "line": 2606, + "column": 57 + } + } + }, + "range": [ + 79592, + 79633 + ], + "loc": { + "start": { + "line": 2606, + "column": 16 + }, + "end": { + "line": 2606, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79653, + 79657 + ], + "loc": { + "start": { + "line": 2607, + "column": 16 + }, + "end": { + "line": 2607, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 79658, + 79665 + ], + "loc": { + "start": { + "line": 2607, + "column": 21 + }, + "end": { + "line": 2607, + "column": 28 + } + } + }, + "range": [ + 79653, + 79665 + ], + "loc": { + "start": { + "line": 2607, + "column": 16 + }, + "end": { + "line": 2607, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 79666, + 79670 + ], + "loc": { + "start": { + "line": 2607, + "column": 29 + }, + "end": { + "line": 2607, + "column": 33 + } + } + }, + "range": [ + 79653, + 79670 + ], + "loc": { + "start": { + "line": 2607, + "column": 16 + }, + "end": { + "line": 2607, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "build-select-filter", + "raw": "'build-select-filter'", + "range": [ + 79671, + 79692 + ], + "loc": { + "start": { + "line": 2607, + "column": 34 + }, + "end": { + "line": 2607, + "column": 55 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 79694, + 79698 + ], + "loc": { + "start": { + "line": 2607, + "column": 57 + }, + "end": { + "line": 2607, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 79700, + 79705 + ], + "loc": { + "start": { + "line": 2607, + "column": 63 + }, + "end": { + "line": 2607, + "column": 68 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79727, + 79731 + ], + "loc": { + "start": { + "line": 2608, + "column": 20 + }, + "end": { + "line": 2608, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 79732, + 79745 + ], + "loc": { + "start": { + "line": 2608, + "column": 25 + }, + "end": { + "line": 2608, + "column": 38 + } + } + }, + "range": [ + 79727, + 79745 + ], + "loc": { + "start": { + "line": 2608, + "column": 20 + }, + "end": { + "line": 2608, + "column": 38 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79747, + 79751 + ], + "loc": { + "start": { + "line": 2608, + "column": 40 + }, + "end": { + "line": 2608, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 79752, + 79765 + ], + "loc": { + "start": { + "line": 2608, + "column": 45 + }, + "end": { + "line": 2608, + "column": 58 + } + } + }, + "range": [ + 79747, + 79765 + ], + "loc": { + "start": { + "line": 2608, + "column": 40 + }, + "end": { + "line": 2608, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 79747, + 79767 + ], + "loc": { + "start": { + "line": 2608, + "column": 40 + }, + "end": { + "line": 2608, + "column": 60 + } + } + } + ], + "range": [ + 79653, + 79768 + ], + "loc": { + "start": { + "line": 2607, + "column": 16 + }, + "end": { + "line": 2608, + "column": 61 + } + } + }, + "range": [ + 79653, + 79769 + ], + "loc": { + "start": { + "line": 2607, + "column": 16 + }, + "end": { + "line": 2608, + "column": 62 + } + } + } + ], + "range": [ + 79635, + 79783 + ], + "loc": { + "start": { + "line": 2606, + "column": 59 + }, + "end": { + "line": 2609, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 79588, + 79783 + ], + "loc": { + "start": { + "line": 2606, + "column": 12 + }, + "end": { + "line": 2609, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slc", + "range": [ + 79796, + 79799 + ], + "loc": { + "start": { + "line": 2610, + "column": 12 + }, + "end": { + "line": 2610, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "value", + "range": [ + 79800, + 79805 + ], + "loc": { + "start": { + "line": 2610, + "column": 16 + }, + "end": { + "line": 2610, + "column": 21 + } + } + }, + "range": [ + 79796, + 79805 + ], + "loc": { + "start": { + "line": 2610, + "column": 12 + }, + "end": { + "line": 2610, + "column": 21 + } + } + }, + "right": { + "type": "Identifier", + "name": "query", + "range": [ + 79808, + 79813 + ], + "loc": { + "start": { + "line": 2610, + "column": 24 + }, + "end": { + "line": 2610, + "column": 29 + } + } + }, + "range": [ + 79796, + 79813 + ], + "loc": { + "start": { + "line": 2610, + "column": 12 + }, + "end": { + "line": 2610, + "column": 29 + } + } + }, + "range": [ + 79796, + 79814 + ], + "loc": { + "start": { + "line": 2610, + "column": 12 + }, + "end": { + "line": 2610, + "column": 30 + } + } + } + ], + "range": [ + 79574, + 79824 + ], + "loc": { + "start": { + "line": 2605, + "column": 65 + }, + "end": { + "line": 2611, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "multiple selects", + "range": [ + 79833, + 79851 + ], + "loc": { + "start": { + "line": 2612, + "column": 8 + }, + "end": { + "line": 2612, + "column": 26 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 79869, + 79879 + ], + "loc": { + "start": { + "line": 2613, + "column": 17 + }, + "end": { + "line": 2613, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 79884, + 79892 + ], + "loc": { + "start": { + "line": 2613, + "column": 32 + }, + "end": { + "line": 2613, + "column": 40 + } + } + }, + "range": [ + 79869, + 79892 + ], + "loc": { + "start": { + "line": 2613, + "column": 17 + }, + "end": { + "line": 2613, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "values", + "range": [ + 79912, + 79918 + ], + "loc": { + "start": { + "line": 2614, + "column": 16 + }, + "end": { + "line": 2614, + "column": 22 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 79921, + 79928 + ], + "loc": { + "start": { + "line": 2614, + "column": 25 + }, + "end": { + "line": 2614, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "query", + "range": [ + 79929, + 79934 + ], + "loc": { + "start": { + "line": 2614, + "column": 33 + }, + "end": { + "line": 2614, + "column": 38 + } + } + } + ], + "range": [ + 79921, + 79935 + ], + "loc": { + "start": { + "line": 2614, + "column": 25 + }, + "end": { + "line": 2614, + "column": 39 + } + } + }, + "consequent": { + "type": "Identifier", + "name": "query", + "range": [ + 79938, + 79943 + ], + "loc": { + "start": { + "line": 2614, + "column": 42 + }, + "end": { + "line": 2614, + "column": 47 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "query", + "range": [ + 79962, + 79967 + ], + "loc": { + "start": { + "line": 2615, + "column": 16 + }, + "end": { + "line": 2615, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 79968, + 79973 + ], + "loc": { + "start": { + "line": 2615, + "column": 22 + }, + "end": { + "line": 2615, + "column": 27 + } + } + }, + "range": [ + 79962, + 79973 + ], + "loc": { + "start": { + "line": 2615, + "column": 16 + }, + "end": { + "line": 2615, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 79974, + 79977 + ], + "loc": { + "start": { + "line": 2615, + "column": 28 + }, + "end": { + "line": 2615, + "column": 31 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 79980, + 79984 + ], + "loc": { + "start": { + "line": 2615, + "column": 34 + }, + "end": { + "line": 2615, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 79985, + 79995 + ], + "loc": { + "start": { + "line": 2615, + "column": 39 + }, + "end": { + "line": 2615, + "column": 49 + } + } + }, + "range": [ + 79980, + 79995 + ], + "loc": { + "start": { + "line": 2615, + "column": 34 + }, + "end": { + "line": 2615, + "column": 49 + } + } + }, + "range": [ + 79974, + 79995 + ], + "loc": { + "start": { + "line": 2615, + "column": 28 + }, + "end": { + "line": 2615, + "column": 49 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 79998, + 80001 + ], + "loc": { + "start": { + "line": 2615, + "column": 52 + }, + "end": { + "line": 2615, + "column": 55 + } + } + }, + "range": [ + 79974, + 80001 + ], + "loc": { + "start": { + "line": 2615, + "column": 28 + }, + "end": { + "line": 2615, + "column": 55 + } + } + } + ], + "range": [ + 79962, + 80002 + ], + "loc": { + "start": { + "line": 2615, + "column": 16 + }, + "end": { + "line": 2615, + "column": 56 + } + } + }, + "range": [ + 79921, + 80002 + ], + "loc": { + "start": { + "line": 2614, + "column": 25 + }, + "end": { + "line": 2615, + "column": 56 + } + } + }, + "range": [ + 79912, + 80002 + ], + "loc": { + "start": { + "line": 2614, + "column": 16 + }, + "end": { + "line": 2615, + "column": 56 + } + } + } + ], + "kind": "let", + "range": [ + 79908, + 80003 + ], + "loc": { + "start": { + "line": 2614, + "column": 12 + }, + "end": { + "line": 2615, + "column": 57 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80021, + 80025 + ], + "loc": { + "start": { + "line": 2617, + "column": 16 + }, + "end": { + "line": 2617, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 80026, + 80041 + ], + "loc": { + "start": { + "line": 2617, + "column": 21 + }, + "end": { + "line": 2617, + "column": 36 + } + } + }, + "range": [ + 80021, + 80041 + ], + "loc": { + "start": { + "line": 2617, + "column": 16 + }, + "end": { + "line": 2617, + "column": 36 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80046, + 80050 + ], + "loc": { + "start": { + "line": 2617, + "column": 41 + }, + "end": { + "line": 2617, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 80051, + 80062 + ], + "loc": { + "start": { + "line": 2617, + "column": 46 + }, + "end": { + "line": 2617, + "column": 57 + } + } + }, + "range": [ + 80046, + 80062 + ], + "loc": { + "start": { + "line": 2617, + "column": 41 + }, + "end": { + "line": 2617, + "column": 57 + } + } + }, + "prefix": true, + "range": [ + 80045, + 80062 + ], + "loc": { + "start": { + "line": 2617, + "column": 40 + }, + "end": { + "line": 2617, + "column": 57 + } + } + }, + "range": [ + 80021, + 80062 + ], + "loc": { + "start": { + "line": 2617, + "column": 16 + }, + "end": { + "line": 2617, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80082, + 80086 + ], + "loc": { + "start": { + "line": 2618, + "column": 16 + }, + "end": { + "line": 2618, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 80087, + 80094 + ], + "loc": { + "start": { + "line": 2618, + "column": 21 + }, + "end": { + "line": 2618, + "column": 28 + } + } + }, + "range": [ + 80082, + 80094 + ], + "loc": { + "start": { + "line": 2618, + "column": 16 + }, + "end": { + "line": 2618, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 80095, + 80099 + ], + "loc": { + "start": { + "line": 2618, + "column": 29 + }, + "end": { + "line": 2618, + "column": 33 + } + } + }, + "range": [ + 80082, + 80099 + ], + "loc": { + "start": { + "line": 2618, + "column": 16 + }, + "end": { + "line": 2618, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "build-select-filter", + "raw": "'build-select-filter'", + "range": [ + 80100, + 80121 + ], + "loc": { + "start": { + "line": 2618, + "column": 34 + }, + "end": { + "line": 2618, + "column": 55 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 80123, + 80127 + ], + "loc": { + "start": { + "line": 2618, + "column": 57 + }, + "end": { + "line": 2618, + "column": 61 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 80129, + 80134 + ], + "loc": { + "start": { + "line": 2618, + "column": 63 + }, + "end": { + "line": 2618, + "column": 68 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80156, + 80160 + ], + "loc": { + "start": { + "line": 2619, + "column": 20 + }, + "end": { + "line": 2619, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 80161, + 80174 + ], + "loc": { + "start": { + "line": 2619, + "column": 25 + }, + "end": { + "line": 2619, + "column": 38 + } + } + }, + "range": [ + 80156, + 80174 + ], + "loc": { + "start": { + "line": 2619, + "column": 20 + }, + "end": { + "line": 2619, + "column": 38 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80176, + 80180 + ], + "loc": { + "start": { + "line": 2619, + "column": 40 + }, + "end": { + "line": 2619, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 80181, + 80194 + ], + "loc": { + "start": { + "line": 2619, + "column": 45 + }, + "end": { + "line": 2619, + "column": 58 + } + } + }, + "range": [ + 80176, + 80194 + ], + "loc": { + "start": { + "line": 2619, + "column": 40 + }, + "end": { + "line": 2619, + "column": 58 + } + } + }, + "arguments": [], + "range": [ + 80176, + 80196 + ], + "loc": { + "start": { + "line": 2619, + "column": 40 + }, + "end": { + "line": 2619, + "column": 60 + } + } + } + ], + "range": [ + 80082, + 80197 + ], + "loc": { + "start": { + "line": 2618, + "column": 16 + }, + "end": { + "line": 2619, + "column": 61 + } + } + }, + "range": [ + 80082, + 80198 + ], + "loc": { + "start": { + "line": 2618, + "column": 16 + }, + "end": { + "line": 2619, + "column": 62 + } + } + } + ], + "range": [ + 80064, + 80212 + ], + "loc": { + "start": { + "line": 2617, + "column": 59 + }, + "end": { + "line": 2620, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 80017, + 80212 + ], + "loc": { + "start": { + "line": 2617, + "column": 12 + }, + "end": { + "line": 2620, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80226, + 80230 + ], + "loc": { + "start": { + "line": 2622, + "column": 12 + }, + "end": { + "line": 2622, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 80231, + 80238 + ], + "loc": { + "start": { + "line": 2622, + "column": 17 + }, + "end": { + "line": 2622, + "column": 24 + } + } + }, + "range": [ + 80226, + 80238 + ], + "loc": { + "start": { + "line": 2622, + "column": 12 + }, + "end": { + "line": 2622, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 80239, + 80243 + ], + "loc": { + "start": { + "line": 2622, + "column": 25 + }, + "end": { + "line": 2622, + "column": 29 + } + } + }, + "range": [ + 80226, + 80243 + ], + "loc": { + "start": { + "line": 2622, + "column": 12 + }, + "end": { + "line": 2622, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "select-options", + "raw": "'select-options'", + "range": [ + 80244, + 80260 + ], + "loc": { + "start": { + "line": 2622, + "column": 30 + }, + "end": { + "line": 2622, + "column": 46 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 80262, + 80266 + ], + "loc": { + "start": { + "line": 2622, + "column": 48 + }, + "end": { + "line": 2622, + "column": 52 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 80268, + 80273 + ], + "loc": { + "start": { + "line": 2622, + "column": 54 + }, + "end": { + "line": 2622, + "column": 59 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 80275, + 80281 + ], + "loc": { + "start": { + "line": 2622, + "column": 61 + }, + "end": { + "line": 2622, + "column": 67 + } + } + } + ], + "range": [ + 80226, + 80282 + ], + "loc": { + "start": { + "line": 2622, + "column": 12 + }, + "end": { + "line": 2622, + "column": 68 + } + } + }, + "range": [ + 80226, + 80283 + ], + "loc": { + "start": { + "line": 2622, + "column": 12 + }, + "end": { + "line": 2622, + "column": 69 + } + } + } + ], + "range": [ + 79894, + 80293 + ], + "loc": { + "start": { + "line": 2613, + "column": 42 + }, + "end": { + "line": 2623, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "checklist", + "range": [ + 80302, + 80313 + ], + "loc": { + "start": { + "line": 2624, + "column": 8 + }, + "end": { + "line": 2624, + "column": 19 + } + } + } + ] + }, + "alternate": { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "fltColType", + "range": [ + 80331, + 80341 + ], + "loc": { + "start": { + "line": 2625, + "column": 17 + }, + "end": { + "line": 2625, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 80346, + 80355 + ], + "loc": { + "start": { + "line": 2625, + "column": 32 + }, + "end": { + "line": 2625, + "column": 41 + } + } + }, + "range": [ + 80331, + 80355 + ], + "loc": { + "start": { + "line": 2625, + "column": 17 + }, + "end": { + "line": 2625, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "values", + "range": [ + 80375, + 80381 + ], + "loc": { + "start": { + "line": 2626, + "column": 16 + }, + "end": { + "line": 2626, + "column": 22 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 80384, + 80386 + ], + "loc": { + "start": { + "line": 2626, + "column": 25 + }, + "end": { + "line": 2626, + "column": 27 + } + } + }, + "range": [ + 80375, + 80386 + ], + "loc": { + "start": { + "line": 2626, + "column": 16 + }, + "end": { + "line": 2626, + "column": 27 + } + } + } + ], + "kind": "let", + "range": [ + 80371, + 80387 + ], + "loc": { + "start": { + "line": 2626, + "column": 12 + }, + "end": { + "line": 2626, + "column": 28 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80404, + 80408 + ], + "loc": { + "start": { + "line": 2627, + "column": 16 + }, + "end": { + "line": 2627, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 80409, + 80424 + ], + "loc": { + "start": { + "line": 2627, + "column": 21 + }, + "end": { + "line": 2627, + "column": 36 + } + } + }, + "range": [ + 80404, + 80424 + ], + "loc": { + "start": { + "line": 2627, + "column": 16 + }, + "end": { + "line": 2627, + "column": 36 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80429, + 80433 + ], + "loc": { + "start": { + "line": 2627, + "column": 41 + }, + "end": { + "line": 2627, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 80434, + 80445 + ], + "loc": { + "start": { + "line": 2627, + "column": 46 + }, + "end": { + "line": 2627, + "column": 57 + } + } + }, + "range": [ + 80429, + 80445 + ], + "loc": { + "start": { + "line": 2627, + "column": 41 + }, + "end": { + "line": 2627, + "column": 57 + } + } + }, + "prefix": true, + "range": [ + 80428, + 80445 + ], + "loc": { + "start": { + "line": 2627, + "column": 40 + }, + "end": { + "line": 2627, + "column": 57 + } + } + }, + "range": [ + 80404, + 80445 + ], + "loc": { + "start": { + "line": 2627, + "column": 16 + }, + "end": { + "line": 2627, + "column": 57 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80465, + 80469 + ], + "loc": { + "start": { + "line": 2628, + "column": 16 + }, + "end": { + "line": 2628, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 80470, + 80477 + ], + "loc": { + "start": { + "line": 2628, + "column": 21 + }, + "end": { + "line": 2628, + "column": 28 + } + } + }, + "range": [ + 80465, + 80477 + ], + "loc": { + "start": { + "line": 2628, + "column": 16 + }, + "end": { + "line": 2628, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 80478, + 80482 + ], + "loc": { + "start": { + "line": 2628, + "column": 29 + }, + "end": { + "line": 2628, + "column": 33 + } + } + }, + "range": [ + 80465, + 80482 + ], + "loc": { + "start": { + "line": 2628, + "column": 16 + }, + "end": { + "line": 2628, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "build-checklist-filter", + "raw": "'build-checklist-filter'", + "range": [ + 80483, + 80507 + ], + "loc": { + "start": { + "line": 2628, + "column": 34 + }, + "end": { + "line": 2628, + "column": 58 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 80509, + 80513 + ], + "loc": { + "start": { + "line": 2628, + "column": 60 + }, + "end": { + "line": 2628, + "column": 64 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 80515, + 80520 + ], + "loc": { + "start": { + "line": 2628, + "column": 66 + }, + "end": { + "line": 2628, + "column": 71 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80542, + 80546 + ], + "loc": { + "start": { + "line": 2629, + "column": 20 + }, + "end": { + "line": 2629, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 80547, + 80560 + ], + "loc": { + "start": { + "line": 2629, + "column": 25 + }, + "end": { + "line": 2629, + "column": 38 + } + } + }, + "range": [ + 80542, + 80560 + ], + "loc": { + "start": { + "line": 2629, + "column": 20 + }, + "end": { + "line": 2629, + "column": 38 + } + } + } + ], + "range": [ + 80465, + 80561 + ], + "loc": { + "start": { + "line": 2628, + "column": 16 + }, + "end": { + "line": 2629, + "column": 39 + } + } + }, + "range": [ + 80465, + 80562 + ], + "loc": { + "start": { + "line": 2628, + "column": 16 + }, + "end": { + "line": 2629, + "column": 40 + } + } + } + ], + "range": [ + 80447, + 80576 + ], + "loc": { + "start": { + "line": 2627, + "column": 59 + }, + "end": { + "line": 2630, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 80400, + 80576 + ], + "loc": { + "start": { + "line": 2627, + "column": 12 + }, + "end": { + "line": 2630, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 80593, + 80600 + ], + "loc": { + "start": { + "line": 2631, + "column": 16 + }, + "end": { + "line": 2631, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "query", + "range": [ + 80601, + 80606 + ], + "loc": { + "start": { + "line": 2631, + "column": 24 + }, + "end": { + "line": 2631, + "column": 29 + } + } + } + ], + "range": [ + 80593, + 80607 + ], + "loc": { + "start": { + "line": 2631, + "column": 16 + }, + "end": { + "line": 2631, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 80627, + 80633 + ], + "loc": { + "start": { + "line": 2632, + "column": 16 + }, + "end": { + "line": 2632, + "column": 22 + } + } + }, + "right": { + "type": "Identifier", + "name": "query", + "range": [ + 80636, + 80641 + ], + "loc": { + "start": { + "line": 2632, + "column": 25 + }, + "end": { + "line": 2632, + "column": 30 + } + } + }, + "range": [ + 80627, + 80641 + ], + "loc": { + "start": { + "line": 2632, + "column": 16 + }, + "end": { + "line": 2632, + "column": 30 + } + } + }, + "range": [ + 80627, + 80642 + ], + "loc": { + "start": { + "line": 2632, + "column": 16 + }, + "end": { + "line": 2632, + "column": 31 + } + } + } + ], + "range": [ + 80609, + 80656 + ], + "loc": { + "start": { + "line": 2631, + "column": 32 + }, + "end": { + "line": 2633, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "query", + "range": [ + 80680, + 80685 + ], + "loc": { + "start": { + "line": 2634, + "column": 16 + }, + "end": { + "line": 2634, + "column": 21 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "matchCase", + "range": [ + 80688, + 80697 + ], + "loc": { + "start": { + "line": 2634, + "column": 24 + }, + "end": { + "line": 2634, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "query", + "range": [ + 80698, + 80703 + ], + "loc": { + "start": { + "line": 2634, + "column": 34 + }, + "end": { + "line": 2634, + "column": 39 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80705, + 80709 + ], + "loc": { + "start": { + "line": 2634, + "column": 41 + }, + "end": { + "line": 2634, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "caseSensitive", + "range": [ + 80710, + 80723 + ], + "loc": { + "start": { + "line": 2634, + "column": 46 + }, + "end": { + "line": 2634, + "column": 59 + } + } + }, + "range": [ + 80705, + 80723 + ], + "loc": { + "start": { + "line": 2634, + "column": 41 + }, + "end": { + "line": 2634, + "column": 59 + } + } + } + ], + "range": [ + 80688, + 80724 + ], + "loc": { + "start": { + "line": 2634, + "column": 24 + }, + "end": { + "line": 2634, + "column": 60 + } + } + }, + "range": [ + 80680, + 80724 + ], + "loc": { + "start": { + "line": 2634, + "column": 16 + }, + "end": { + "line": 2634, + "column": 60 + } + } + }, + "range": [ + 80680, + 80725 + ], + "loc": { + "start": { + "line": 2634, + "column": 16 + }, + "end": { + "line": 2634, + "column": 61 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "values", + "range": [ + 80742, + 80748 + ], + "loc": { + "start": { + "line": 2635, + "column": 16 + }, + "end": { + "line": 2635, + "column": 22 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "query", + "range": [ + 80751, + 80756 + ], + "loc": { + "start": { + "line": 2635, + "column": 25 + }, + "end": { + "line": 2635, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 80757, + 80762 + ], + "loc": { + "start": { + "line": 2635, + "column": 31 + }, + "end": { + "line": 2635, + "column": 36 + } + } + }, + "range": [ + 80751, + 80762 + ], + "loc": { + "start": { + "line": 2635, + "column": 25 + }, + "end": { + "line": 2635, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 80763, + 80766 + ], + "loc": { + "start": { + "line": 2635, + "column": 37 + }, + "end": { + "line": 2635, + "column": 40 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80769, + 80773 + ], + "loc": { + "start": { + "line": 2635, + "column": 43 + }, + "end": { + "line": 2635, + "column": 47 + } + } + }, + "property": { + "type": "Identifier", + "name": "orOperator", + "range": [ + 80774, + 80784 + ], + "loc": { + "start": { + "line": 2635, + "column": 48 + }, + "end": { + "line": 2635, + "column": 58 + } + } + }, + "range": [ + 80769, + 80784 + ], + "loc": { + "start": { + "line": 2635, + "column": 43 + }, + "end": { + "line": 2635, + "column": 58 + } + } + }, + "range": [ + 80763, + 80784 + ], + "loc": { + "start": { + "line": 2635, + "column": 37 + }, + "end": { + "line": 2635, + "column": 58 + } + } + }, + "right": { + "type": "Literal", + "value": " ", + "raw": "' '", + "range": [ + 80787, + 80790 + ], + "loc": { + "start": { + "line": 2635, + "column": 61 + }, + "end": { + "line": 2635, + "column": 64 + } + } + }, + "range": [ + 80763, + 80790 + ], + "loc": { + "start": { + "line": 2635, + "column": 37 + }, + "end": { + "line": 2635, + "column": 64 + } + } + } + ], + "range": [ + 80751, + 80791 + ], + "loc": { + "start": { + "line": 2635, + "column": 25 + }, + "end": { + "line": 2635, + "column": 65 + } + } + }, + "range": [ + 80742, + 80791 + ], + "loc": { + "start": { + "line": 2635, + "column": 16 + }, + "end": { + "line": 2635, + "column": 65 + } + } + }, + "range": [ + 80742, + 80792 + ], + "loc": { + "start": { + "line": 2635, + "column": 16 + }, + "end": { + "line": 2635, + "column": 66 + } + } + } + ], + "range": [ + 80662, + 80806 + ], + "loc": { + "start": { + "line": 2633, + "column": 19 + }, + "end": { + "line": 2636, + "column": 13 + } + } + }, + "range": [ + 80589, + 80806 + ], + "loc": { + "start": { + "line": 2631, + "column": 12 + }, + "end": { + "line": 2636, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 80820, + 80824 + ], + "loc": { + "start": { + "line": 2638, + "column": 12 + }, + "end": { + "line": 2638, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 80825, + 80832 + ], + "loc": { + "start": { + "line": 2638, + "column": 17 + }, + "end": { + "line": 2638, + "column": 24 + } + } + }, + "range": [ + 80820, + 80832 + ], + "loc": { + "start": { + "line": 2638, + "column": 12 + }, + "end": { + "line": 2638, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 80833, + 80837 + ], + "loc": { + "start": { + "line": 2638, + "column": 25 + }, + "end": { + "line": 2638, + "column": 29 + } + } + }, + "range": [ + 80820, + 80837 + ], + "loc": { + "start": { + "line": 2638, + "column": 12 + }, + "end": { + "line": 2638, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "select-checklist-options", + "raw": "'select-checklist-options'", + "range": [ + 80838, + 80864 + ], + "loc": { + "start": { + "line": 2638, + "column": 30 + }, + "end": { + "line": 2638, + "column": 56 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 80866, + 80870 + ], + "loc": { + "start": { + "line": 2638, + "column": 58 + }, + "end": { + "line": 2638, + "column": 62 + } + } + }, + { + "type": "Identifier", + "name": "index", + "range": [ + 80872, + 80877 + ], + "loc": { + "start": { + "line": 2638, + "column": 64 + }, + "end": { + "line": 2638, + "column": 69 + } + } + }, + { + "type": "Identifier", + "name": "values", + "range": [ + 80879, + 80885 + ], + "loc": { + "start": { + "line": 2638, + "column": 71 + }, + "end": { + "line": 2638, + "column": 77 + } + } + } + ], + "range": [ + 80820, + 80886 + ], + "loc": { + "start": { + "line": 2638, + "column": 12 + }, + "end": { + "line": 2638, + "column": 78 + } + } + }, + "range": [ + 80820, + 80887 + ], + "loc": { + "start": { + "line": 2638, + "column": 12 + }, + "end": { + "line": 2638, + "column": 79 + } + } + } + ], + "range": [ + 80357, + 80897 + ], + "loc": { + "start": { + "line": 2625, + "column": 43 + }, + "end": { + "line": 2639, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 80327, + 80897 + ], + "loc": { + "start": { + "line": 2625, + "column": 13 + }, + "end": { + "line": 2639, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "checklist", + "range": [ + 80302, + 80313 + ], + "loc": { + "start": { + "line": 2624, + "column": 8 + }, + "end": { + "line": 2624, + "column": 19 + } + } + } + ] + }, + "range": [ + 79865, + 80897 + ], + "loc": { + "start": { + "line": 2613, + "column": 13 + }, + "end": { + "line": 2639, + "column": 9 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "multiple selects", + "range": [ + 79833, + 79851 + ], + "loc": { + "start": { + "line": 2612, + "column": 8 + }, + "end": { + "line": 2612, + "column": 26 + } + } + } + ] + }, + "range": [ + 79517, + 80897 + ], + "loc": { + "start": { + "line": 2605, + "column": 8 + }, + "end": { + "line": 2639, + "column": 9 + } + } + } + ], + "range": [ + 79347, + 80903 + ], + "loc": { + "start": { + "line": 2598, + "column": 38 + }, + "end": { + "line": 2640, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 79327, + 80903 + ], + "loc": { + "start": { + "line": 2598, + "column": 18 + }, + "end": { + "line": 2640, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 79313, + 80903 + ], + "loc": { + "start": { + "line": 2598, + "column": 4 + }, + "end": { + "line": 2640, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 79146, + 79308 + ], + "loc": { + "start": { + "line": 2593, + "column": 4 + }, + "end": { + "line": 2597, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n ", + "range": [ + 80909, + 81013 + ], + "loc": { + "start": { + "line": 2642, + "column": 4 + }, + "end": { + "line": 2645, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setColWidths", + "range": [ + 81018, + 81030 + ], + "loc": { + "start": { + "line": 2646, + "column": 4 + }, + "end": { + "line": 2646, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 81031, + 81034 + ], + "loc": { + "start": { + "line": 2646, + "column": 17 + }, + "end": { + "line": 2646, + "column": 20 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 81050, + 81059 + ], + "loc": { + "start": { + "line": 2647, + "column": 12 + }, + "end": { + "line": 2647, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81062, + 81066 + ], + "loc": { + "start": { + "line": 2647, + "column": 24 + }, + "end": { + "line": 2647, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 81067, + 81076 + ], + "loc": { + "start": { + "line": 2647, + "column": 29 + }, + "end": { + "line": 2647, + "column": 38 + } + } + }, + "range": [ + 81062, + 81076 + ], + "loc": { + "start": { + "line": 2647, + "column": 24 + }, + "end": { + "line": 2647, + "column": 38 + } + } + }, + "range": [ + 81050, + 81076 + ], + "loc": { + "start": { + "line": 2647, + "column": 12 + }, + "end": { + "line": 2647, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 81046, + 81077 + ], + "loc": { + "start": { + "line": 2647, + "column": 8 + }, + "end": { + "line": 2647, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 81090, + 81099 + ], + "loc": { + "start": { + "line": 2648, + "column": 12 + }, + "end": { + "line": 2648, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 81100, + 81106 + ], + "loc": { + "start": { + "line": 2648, + "column": 22 + }, + "end": { + "line": 2648, + "column": 28 + } + } + }, + "range": [ + 81090, + 81106 + ], + "loc": { + "start": { + "line": 2648, + "column": 12 + }, + "end": { + "line": 2648, + "column": 28 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 81111, + 81112 + ], + "loc": { + "start": { + "line": 2648, + "column": 33 + }, + "end": { + "line": 2648, + "column": 34 + } + } + }, + "range": [ + 81090, + 81112 + ], + "loc": { + "start": { + "line": 2648, + "column": 12 + }, + "end": { + "line": 2648, + "column": 34 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 81128, + 81135 + ], + "loc": { + "start": { + "line": 2649, + "column": 12 + }, + "end": { + "line": 2649, + "column": 19 + } + } + } + ], + "range": [ + 81114, + 81145 + ], + "loc": { + "start": { + "line": 2648, + "column": 36 + }, + "end": { + "line": 2650, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 81086, + 81145 + ], + "loc": { + "start": { + "line": 2648, + "column": 8 + }, + "end": { + "line": 2650, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "tbl", + "range": [ + 81155, + 81158 + ], + "loc": { + "start": { + "line": 2652, + "column": 8 + }, + "end": { + "line": 2652, + "column": 11 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "Identifier", + "name": "tbl", + "range": [ + 81161, + 81164 + ], + "loc": { + "start": { + "line": 2652, + "column": 14 + }, + "end": { + "line": 2652, + "column": 17 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81168, + 81172 + ], + "loc": { + "start": { + "line": 2652, + "column": 21 + }, + "end": { + "line": 2652, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 81173, + 81176 + ], + "loc": { + "start": { + "line": 2652, + "column": 26 + }, + "end": { + "line": 2652, + "column": 29 + } + } + }, + "range": [ + 81168, + 81176 + ], + "loc": { + "start": { + "line": 2652, + "column": 21 + }, + "end": { + "line": 2652, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 81168, + 81178 + ], + "loc": { + "start": { + "line": 2652, + "column": 21 + }, + "end": { + "line": 2652, + "column": 31 + } + } + }, + "range": [ + 81161, + 81178 + ], + "loc": { + "start": { + "line": 2652, + "column": 14 + }, + "end": { + "line": 2652, + "column": 31 + } + } + }, + "range": [ + 81155, + 81178 + ], + "loc": { + "start": { + "line": 2652, + "column": 8 + }, + "end": { + "line": 2652, + "column": 31 + } + } + }, + "range": [ + 81155, + 81179 + ], + "loc": { + "start": { + "line": 2652, + "column": 8 + }, + "end": { + "line": 2652, + "column": 32 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbCols", + "range": [ + 81193, + 81199 + ], + "loc": { + "start": { + "line": 2654, + "column": 12 + }, + "end": { + "line": 2654, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81202, + 81206 + ], + "loc": { + "start": { + "line": 2654, + "column": 21 + }, + "end": { + "line": 2654, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 81207, + 81214 + ], + "loc": { + "start": { + "line": 2654, + "column": 26 + }, + "end": { + "line": 2654, + "column": 33 + } + } + }, + "range": [ + 81202, + 81214 + ], + "loc": { + "start": { + "line": 2654, + "column": 21 + }, + "end": { + "line": 2654, + "column": 33 + } + } + }, + "range": [ + 81193, + 81214 + ], + "loc": { + "start": { + "line": 2654, + "column": 12 + }, + "end": { + "line": 2654, + "column": 33 + } + } + } + ], + "kind": "let", + "range": [ + 81189, + 81215 + ], + "loc": { + "start": { + "line": 2654, + "column": 8 + }, + "end": { + "line": 2654, + "column": 34 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colTags", + "range": [ + 81228, + 81235 + ], + "loc": { + "start": { + "line": 2655, + "column": 12 + }, + "end": { + "line": 2655, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 81238, + 81241 + ], + "loc": { + "start": { + "line": 2655, + "column": 22 + }, + "end": { + "line": 2655, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "tbl", + "range": [ + 81242, + 81245 + ], + "loc": { + "start": { + "line": 2655, + "column": 26 + }, + "end": { + "line": 2655, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 81247, + 81252 + ], + "loc": { + "start": { + "line": 2655, + "column": 31 + }, + "end": { + "line": 2655, + "column": 36 + } + } + } + ], + "range": [ + 81238, + 81253 + ], + "loc": { + "start": { + "line": 2655, + "column": 22 + }, + "end": { + "line": 2655, + "column": 37 + } + } + }, + "range": [ + 81228, + 81253 + ], + "loc": { + "start": { + "line": 2655, + "column": 12 + }, + "end": { + "line": 2655, + "column": 37 + } + } + } + ], + "kind": "let", + "range": [ + 81224, + 81254 + ], + "loc": { + "start": { + "line": 2655, + "column": 8 + }, + "end": { + "line": 2655, + "column": 38 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 81267, + 81279 + ], + "loc": { + "start": { + "line": 2656, + "column": 12 + }, + "end": { + "line": 2656, + "column": 24 + } + } + }, + "init": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colTags", + "range": [ + 81282, + 81289 + ], + "loc": { + "start": { + "line": 2656, + "column": 27 + }, + "end": { + "line": 2656, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 81290, + 81296 + ], + "loc": { + "start": { + "line": 2656, + "column": 35 + }, + "end": { + "line": 2656, + "column": 41 + } + } + }, + "range": [ + 81282, + 81296 + ], + "loc": { + "start": { + "line": 2656, + "column": 27 + }, + "end": { + "line": 2656, + "column": 41 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 81299, + 81300 + ], + "loc": { + "start": { + "line": 2656, + "column": 44 + }, + "end": { + "line": 2656, + "column": 45 + } + } + }, + "range": [ + 81282, + 81300 + ], + "loc": { + "start": { + "line": 2656, + "column": 27 + }, + "end": { + "line": 2656, + "column": 45 + } + } + }, + "range": [ + 81267, + 81300 + ], + "loc": { + "start": { + "line": 2656, + "column": 12 + }, + "end": { + "line": 2656, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 81263, + 81301 + ], + "loc": { + "start": { + "line": 2656, + "column": 8 + }, + "end": { + "line": 2656, + "column": 46 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "frag", + "range": [ + 81314, + 81318 + ], + "loc": { + "start": { + "line": 2657, + "column": 12 + }, + "end": { + "line": 2657, + "column": 16 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 81322, + 81334 + ], + "loc": { + "start": { + "line": 2657, + "column": 20 + }, + "end": { + "line": 2657, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 81321, + 81334 + ], + "loc": { + "start": { + "line": 2657, + "column": 19 + }, + "end": { + "line": 2657, + "column": 32 + } + } + }, + "consequent": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "doc", + "range": [ + 81337, + 81340 + ], + "loc": { + "start": { + "line": 2657, + "column": 35 + }, + "end": { + "line": 2657, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "createDocumentFragment", + "range": [ + 81341, + 81363 + ], + "loc": { + "start": { + "line": 2657, + "column": 39 + }, + "end": { + "line": 2657, + "column": 61 + } + } + }, + "range": [ + 81337, + 81363 + ], + "loc": { + "start": { + "line": 2657, + "column": 35 + }, + "end": { + "line": 2657, + "column": 61 + } + } + }, + "arguments": [], + "range": [ + 81337, + 81365 + ], + "loc": { + "start": { + "line": 2657, + "column": 35 + }, + "end": { + "line": 2657, + "column": 63 + } + } + }, + "alternate": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 81368, + 81372 + ], + "loc": { + "start": { + "line": 2657, + "column": 66 + }, + "end": { + "line": 2657, + "column": 70 + } + } + }, + "range": [ + 81321, + 81372 + ], + "loc": { + "start": { + "line": 2657, + "column": 19 + }, + "end": { + "line": 2657, + "column": 70 + } + } + }, + "range": [ + 81314, + 81372 + ], + "loc": { + "start": { + "line": 2657, + "column": 12 + }, + "end": { + "line": 2657, + "column": 70 + } + } + } + ], + "kind": "let", + "range": [ + 81310, + 81373 + ], + "loc": { + "start": { + "line": 2657, + "column": 8 + }, + "end": { + "line": 2657, + "column": 71 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 81391, + 81392 + ], + "loc": { + "start": { + "line": 2658, + "column": 17 + }, + "end": { + "line": 2658, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 81395, + 81396 + ], + "loc": { + "start": { + "line": 2658, + "column": 21 + }, + "end": { + "line": 2658, + "column": 22 + } + } + }, + "range": [ + 81391, + 81396 + ], + "loc": { + "start": { + "line": 2658, + "column": 17 + }, + "end": { + "line": 2658, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 81387, + 81396 + ], + "loc": { + "start": { + "line": 2658, + "column": 13 + }, + "end": { + "line": 2658, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 81398, + 81399 + ], + "loc": { + "start": { + "line": 2658, + "column": 24 + }, + "end": { + "line": 2658, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbCols", + "range": [ + 81402, + 81408 + ], + "loc": { + "start": { + "line": 2658, + "column": 28 + }, + "end": { + "line": 2658, + "column": 34 + } + } + }, + "range": [ + 81398, + 81408 + ], + "loc": { + "start": { + "line": 2658, + "column": 24 + }, + "end": { + "line": 2658, + "column": 34 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 81410, + 81411 + ], + "loc": { + "start": { + "line": 2658, + "column": 36 + }, + "end": { + "line": 2658, + "column": 37 + } + } + }, + "prefix": false, + "range": [ + 81410, + 81413 + ], + "loc": { + "start": { + "line": 2658, + "column": 36 + }, + "end": { + "line": 2658, + "column": 39 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "col", + "range": [ + 81433, + 81436 + ], + "loc": { + "start": { + "line": 2659, + "column": 16 + }, + "end": { + "line": 2659, + "column": 19 + } + } + }, + "init": null, + "range": [ + 81433, + 81436 + ], + "loc": { + "start": { + "line": 2659, + "column": 16 + }, + "end": { + "line": 2659, + "column": 19 + } + } + } + ], + "kind": "let", + "range": [ + 81429, + 81437 + ], + "loc": { + "start": { + "line": 2659, + "column": 12 + }, + "end": { + "line": 2659, + "column": 20 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 81454, + 81466 + ], + "loc": { + "start": { + "line": 2660, + "column": 16 + }, + "end": { + "line": 2660, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 81486, + 81489 + ], + "loc": { + "start": { + "line": 2661, + "column": 16 + }, + "end": { + "line": 2661, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "colTags", + "range": [ + 81492, + 81499 + ], + "loc": { + "start": { + "line": 2661, + "column": 22 + }, + "end": { + "line": 2661, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 81500, + 81501 + ], + "loc": { + "start": { + "line": 2661, + "column": 30 + }, + "end": { + "line": 2661, + "column": 31 + } + } + }, + "range": [ + 81492, + 81502 + ], + "loc": { + "start": { + "line": 2661, + "column": 22 + }, + "end": { + "line": 2661, + "column": 32 + } + } + }, + "range": [ + 81486, + 81502 + ], + "loc": { + "start": { + "line": 2661, + "column": 16 + }, + "end": { + "line": 2661, + "column": 32 + } + } + }, + "range": [ + 81486, + 81503 + ], + "loc": { + "start": { + "line": 2661, + "column": 16 + }, + "end": { + "line": 2661, + "column": 33 + } + } + } + ], + "range": [ + 81468, + 81517 + ], + "loc": { + "start": { + "line": 2660, + "column": 30 + }, + "end": { + "line": 2662, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "col", + "range": [ + 81541, + 81544 + ], + "loc": { + "start": { + "line": 2663, + "column": 16 + }, + "end": { + "line": 2663, + "column": 19 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 81547, + 81556 + ], + "loc": { + "start": { + "line": 2663, + "column": 22 + }, + "end": { + "line": 2663, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "col", + "raw": "'col'", + "range": [ + 81557, + 81562 + ], + "loc": { + "start": { + "line": 2663, + "column": 32 + }, + "end": { + "line": 2663, + "column": 37 + } + } + } + ], + "range": [ + 81547, + 81563 + ], + "loc": { + "start": { + "line": 2663, + "column": 22 + }, + "end": { + "line": 2663, + "column": 38 + } + } + }, + "range": [ + 81541, + 81563 + ], + "loc": { + "start": { + "line": 2663, + "column": 16 + }, + "end": { + "line": 2663, + "column": 38 + } + } + }, + "range": [ + 81541, + 81564 + ], + "loc": { + "start": { + "line": 2663, + "column": 16 + }, + "end": { + "line": 2663, + "column": 39 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "frag", + "range": [ + 81581, + 81585 + ], + "loc": { + "start": { + "line": 2664, + "column": 16 + }, + "end": { + "line": 2664, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 81586, + 81597 + ], + "loc": { + "start": { + "line": 2664, + "column": 21 + }, + "end": { + "line": 2664, + "column": 32 + } + } + }, + "range": [ + 81581, + 81597 + ], + "loc": { + "start": { + "line": 2664, + "column": 16 + }, + "end": { + "line": 2664, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "col", + "range": [ + 81598, + 81601 + ], + "loc": { + "start": { + "line": 2664, + "column": 33 + }, + "end": { + "line": 2664, + "column": 36 + } + } + } + ], + "range": [ + 81581, + 81602 + ], + "loc": { + "start": { + "line": 2664, + "column": 16 + }, + "end": { + "line": 2664, + "column": 37 + } + } + }, + "range": [ + 81581, + 81603 + ], + "loc": { + "start": { + "line": 2664, + "column": 16 + }, + "end": { + "line": 2664, + "column": 38 + } + } + } + ], + "range": [ + 81523, + 81617 + ], + "loc": { + "start": { + "line": 2662, + "column": 19 + }, + "end": { + "line": 2665, + "column": 13 + } + } + }, + "range": [ + 81450, + 81617 + ], + "loc": { + "start": { + "line": 2660, + "column": 12 + }, + "end": { + "line": 2665, + "column": 13 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "col", + "range": [ + 81630, + 81633 + ], + "loc": { + "start": { + "line": 2666, + "column": 12 + }, + "end": { + "line": 2666, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "style", + "range": [ + 81634, + 81639 + ], + "loc": { + "start": { + "line": 2666, + "column": 16 + }, + "end": { + "line": 2666, + "column": 21 + } + } + }, + "range": [ + 81630, + 81639 + ], + "loc": { + "start": { + "line": 2666, + "column": 12 + }, + "end": { + "line": 2666, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "width", + "range": [ + 81640, + 81645 + ], + "loc": { + "start": { + "line": 2666, + "column": 22 + }, + "end": { + "line": 2666, + "column": 27 + } + } + }, + "range": [ + 81630, + 81645 + ], + "loc": { + "start": { + "line": 2666, + "column": 12 + }, + "end": { + "line": 2666, + "column": 27 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "colWidths", + "range": [ + 81648, + 81657 + ], + "loc": { + "start": { + "line": 2666, + "column": 30 + }, + "end": { + "line": 2666, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 81658, + 81659 + ], + "loc": { + "start": { + "line": 2666, + "column": 40 + }, + "end": { + "line": 2666, + "column": 41 + } + } + }, + "range": [ + 81648, + 81660 + ], + "loc": { + "start": { + "line": 2666, + "column": 30 + }, + "end": { + "line": 2666, + "column": 42 + } + } + }, + "range": [ + 81630, + 81660 + ], + "loc": { + "start": { + "line": 2666, + "column": 12 + }, + "end": { + "line": 2666, + "column": 42 + } + } + }, + "range": [ + 81630, + 81661 + ], + "loc": { + "start": { + "line": 2666, + "column": 12 + }, + "end": { + "line": 2666, + "column": 43 + } + } + } + ], + "range": [ + 81415, + 81671 + ], + "loc": { + "start": { + "line": 2658, + "column": 41 + }, + "end": { + "line": 2667, + "column": 9 + } + } + }, + "range": [ + 81382, + 81671 + ], + "loc": { + "start": { + "line": 2658, + "column": 8 + }, + "end": { + "line": 2667, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "tblHasColTag", + "range": [ + 81685, + 81697 + ], + "loc": { + "start": { + "line": 2668, + "column": 13 + }, + "end": { + "line": 2668, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 81684, + 81697 + ], + "loc": { + "start": { + "line": 2668, + "column": 12 + }, + "end": { + "line": 2668, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 81713, + 81716 + ], + "loc": { + "start": { + "line": 2669, + "column": 12 + }, + "end": { + "line": 2669, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "name": "insertBefore", + "range": [ + 81717, + 81729 + ], + "loc": { + "start": { + "line": 2669, + "column": 16 + }, + "end": { + "line": 2669, + "column": 28 + } + } + }, + "range": [ + 81713, + 81729 + ], + "loc": { + "start": { + "line": 2669, + "column": 12 + }, + "end": { + "line": 2669, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "frag", + "range": [ + 81730, + 81734 + ], + "loc": { + "start": { + "line": 2669, + "column": 29 + }, + "end": { + "line": 2669, + "column": 33 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tbl", + "range": [ + 81736, + 81739 + ], + "loc": { + "start": { + "line": 2669, + "column": 35 + }, + "end": { + "line": 2669, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "firstChild", + "range": [ + 81740, + 81750 + ], + "loc": { + "start": { + "line": 2669, + "column": 39 + }, + "end": { + "line": 2669, + "column": 49 + } + } + }, + "range": [ + 81736, + 81750 + ], + "loc": { + "start": { + "line": 2669, + "column": 35 + }, + "end": { + "line": 2669, + "column": 49 + } + } + } + ], + "range": [ + 81713, + 81751 + ], + "loc": { + "start": { + "line": 2669, + "column": 12 + }, + "end": { + "line": 2669, + "column": 50 + } + } + }, + "range": [ + 81713, + 81752 + ], + "loc": { + "start": { + "line": 2669, + "column": 12 + }, + "end": { + "line": 2669, + "column": 51 + } + } + } + ], + "range": [ + 81699, + 81762 + ], + "loc": { + "start": { + "line": 2668, + "column": 27 + }, + "end": { + "line": 2670, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 81680, + 81762 + ], + "loc": { + "start": { + "line": 2668, + "column": 8 + }, + "end": { + "line": 2670, + "column": 9 + } + } + } + ], + "range": [ + 81036, + 81768 + ], + "loc": { + "start": { + "line": 2646, + "column": 22 + }, + "end": { + "line": 2671, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 81030, + 81768 + ], + "loc": { + "start": { + "line": 2646, + "column": 16 + }, + "end": { + "line": 2671, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 81018, + 81768 + ], + "loc": { + "start": { + "line": 2646, + "column": 4 + }, + "end": { + "line": 2671, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n ", + "range": [ + 80909, + 81013 + ], + "loc": { + "start": { + "line": 2642, + "column": 4 + }, + "end": { + "line": 2645, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Make defined rows always visible\n ", + "range": [ + 81774, + 81825 + ], + "loc": { + "start": { + "line": 2673, + "column": 4 + }, + "end": { + "line": 2675, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "enforceVisibility", + "range": [ + 81830, + 81847 + ], + "loc": { + "start": { + "line": 2676, + "column": 4 + }, + "end": { + "line": 2676, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81865, + 81869 + ], + "loc": { + "start": { + "line": 2677, + "column": 13 + }, + "end": { + "line": 2677, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasVisibleRows", + "range": [ + 81870, + 81884 + ], + "loc": { + "start": { + "line": 2677, + "column": 18 + }, + "end": { + "line": 2677, + "column": 32 + } + } + }, + "range": [ + 81865, + 81884 + ], + "loc": { + "start": { + "line": 2677, + "column": 13 + }, + "end": { + "line": 2677, + "column": 32 + } + } + }, + "prefix": true, + "range": [ + 81864, + 81884 + ], + "loc": { + "start": { + "line": 2677, + "column": 12 + }, + "end": { + "line": 2677, + "column": 32 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 81900, + 81907 + ], + "loc": { + "start": { + "line": 2678, + "column": 12 + }, + "end": { + "line": 2678, + "column": 19 + } + } + } + ], + "range": [ + 81886, + 81917 + ], + "loc": { + "start": { + "line": 2677, + "column": 34 + }, + "end": { + "line": 2679, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 81860, + 81917 + ], + "loc": { + "start": { + "line": 2677, + "column": 8 + }, + "end": { + "line": 2679, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 81930, + 81936 + ], + "loc": { + "start": { + "line": 2680, + "column": 12 + }, + "end": { + "line": 2680, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81939, + 81943 + ], + "loc": { + "start": { + "line": 2680, + "column": 21 + }, + "end": { + "line": 2680, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 81944, + 81953 + ], + "loc": { + "start": { + "line": 2680, + "column": 26 + }, + "end": { + "line": 2680, + "column": 35 + } + } + }, + "range": [ + 81939, + 81953 + ], + "loc": { + "start": { + "line": 2680, + "column": 21 + }, + "end": { + "line": 2680, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 81954, + 81958 + ], + "loc": { + "start": { + "line": 2680, + "column": 36 + }, + "end": { + "line": 2680, + "column": 40 + } + } + } + ], + "range": [ + 81939, + 81959 + ], + "loc": { + "start": { + "line": 2680, + "column": 21 + }, + "end": { + "line": 2680, + "column": 41 + } + } + }, + "range": [ + 81930, + 81959 + ], + "loc": { + "start": { + "line": 2680, + "column": 12 + }, + "end": { + "line": 2680, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 81926, + 81960 + ], + "loc": { + "start": { + "line": 2680, + "column": 8 + }, + "end": { + "line": 2680, + "column": 42 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 81978, + 81979 + ], + "loc": { + "start": { + "line": 2681, + "column": 17 + }, + "end": { + "line": 2681, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 81982, + 81983 + ], + "loc": { + "start": { + "line": 2681, + "column": 21 + }, + "end": { + "line": 2681, + "column": 22 + } + } + }, + "range": [ + 81978, + 81983 + ], + "loc": { + "start": { + "line": 2681, + "column": 17 + }, + "end": { + "line": 2681, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 81985, + 81988 + ], + "loc": { + "start": { + "line": 2681, + "column": 24 + }, + "end": { + "line": 2681, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 81991, + 81995 + ], + "loc": { + "start": { + "line": 2681, + "column": 30 + }, + "end": { + "line": 2681, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 81996, + 82007 + ], + "loc": { + "start": { + "line": 2681, + "column": 35 + }, + "end": { + "line": 2681, + "column": 46 + } + } + }, + "range": [ + 81991, + 82007 + ], + "loc": { + "start": { + "line": 2681, + "column": 30 + }, + "end": { + "line": 2681, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 82008, + 82014 + ], + "loc": { + "start": { + "line": 2681, + "column": 47 + }, + "end": { + "line": 2681, + "column": 53 + } + } + }, + "range": [ + 81991, + 82014 + ], + "loc": { + "start": { + "line": 2681, + "column": 30 + }, + "end": { + "line": 2681, + "column": 53 + } + } + }, + "range": [ + 81985, + 82014 + ], + "loc": { + "start": { + "line": 2681, + "column": 24 + }, + "end": { + "line": 2681, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 81974, + 82014 + ], + "loc": { + "start": { + "line": 2681, + "column": 13 + }, + "end": { + "line": 2681, + "column": 53 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 82016, + 82017 + ], + "loc": { + "start": { + "line": 2681, + "column": 55 + }, + "end": { + "line": 2681, + "column": 56 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 82020, + 82023 + ], + "loc": { + "start": { + "line": 2681, + "column": 59 + }, + "end": { + "line": 2681, + "column": 62 + } + } + }, + "range": [ + 82016, + 82023 + ], + "loc": { + "start": { + "line": 2681, + "column": 55 + }, + "end": { + "line": 2681, + "column": 62 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 82025, + 82026 + ], + "loc": { + "start": { + "line": 2681, + "column": 64 + }, + "end": { + "line": 2681, + "column": 65 + } + } + }, + "prefix": false, + "range": [ + 82025, + 82028 + ], + "loc": { + "start": { + "line": 2681, + "column": 64 + }, + "end": { + "line": 2681, + "column": 67 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 82048, + 82051 + ], + "loc": { + "start": { + "line": 2682, + "column": 16 + }, + "end": { + "line": 2682, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82054, + 82058 + ], + "loc": { + "start": { + "line": 2682, + "column": 22 + }, + "end": { + "line": 2682, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "visibleRows", + "range": [ + 82059, + 82070 + ], + "loc": { + "start": { + "line": 2682, + "column": 27 + }, + "end": { + "line": 2682, + "column": 38 + } + } + }, + "range": [ + 82054, + 82070 + ], + "loc": { + "start": { + "line": 2682, + "column": 22 + }, + "end": { + "line": 2682, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 82071, + 82072 + ], + "loc": { + "start": { + "line": 2682, + "column": 39 + }, + "end": { + "line": 2682, + "column": 40 + } + } + }, + "range": [ + 82054, + 82073 + ], + "loc": { + "start": { + "line": 2682, + "column": 22 + }, + "end": { + "line": 2682, + "column": 41 + } + } + }, + "range": [ + 82048, + 82073 + ], + "loc": { + "start": { + "line": 2682, + "column": 16 + }, + "end": { + "line": 2682, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 82044, + 82074 + ], + "loc": { + "start": { + "line": 2682, + "column": 12 + }, + "end": { + "line": 2682, + "column": 42 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "row index cannot be > nrows", + "range": [ + 82087, + 82116 + ], + "loc": { + "start": { + "line": 2683, + "column": 12 + }, + "end": { + "line": 2683, + "column": 41 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "<=", + "left": { + "type": "Identifier", + "name": "row", + "range": [ + 82133, + 82136 + ], + "loc": { + "start": { + "line": 2684, + "column": 16 + }, + "end": { + "line": 2684, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 82140, + 82146 + ], + "loc": { + "start": { + "line": 2684, + "column": 23 + }, + "end": { + "line": 2684, + "column": 29 + } + } + }, + "range": [ + 82133, + 82146 + ], + "loc": { + "start": { + "line": 2684, + "column": 16 + }, + "end": { + "line": 2684, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82166, + 82170 + ], + "loc": { + "start": { + "line": 2685, + "column": 16 + }, + "end": { + "line": 2685, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "validateRow", + "range": [ + 82171, + 82182 + ], + "loc": { + "start": { + "line": 2685, + "column": 21 + }, + "end": { + "line": 2685, + "column": 32 + } + } + }, + "range": [ + 82166, + 82182 + ], + "loc": { + "start": { + "line": 2685, + "column": 16 + }, + "end": { + "line": 2685, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 82183, + 82186 + ], + "loc": { + "start": { + "line": 2685, + "column": 33 + }, + "end": { + "line": 2685, + "column": 36 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 82188, + 82192 + ], + "loc": { + "start": { + "line": 2685, + "column": 38 + }, + "end": { + "line": 2685, + "column": 42 + } + } + } + ], + "range": [ + 82166, + 82193 + ], + "loc": { + "start": { + "line": 2685, + "column": 16 + }, + "end": { + "line": 2685, + "column": 43 + } + } + }, + "range": [ + 82166, + 82194 + ], + "loc": { + "start": { + "line": 2685, + "column": 16 + }, + "end": { + "line": 2685, + "column": 44 + } + } + } + ], + "range": [ + 82148, + 82208 + ], + "loc": { + "start": { + "line": 2684, + "column": 31 + }, + "end": { + "line": 2686, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 82129, + 82208 + ], + "loc": { + "start": { + "line": 2684, + "column": 12 + }, + "end": { + "line": 2686, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "row index cannot be > nrows", + "range": [ + 82087, + 82116 + ], + "loc": { + "start": { + "line": 2683, + "column": 12 + }, + "end": { + "line": 2683, + "column": 41 + } + } + } + ] + } + ], + "range": [ + 82030, + 82218 + ], + "loc": { + "start": { + "line": 2681, + "column": 69 + }, + "end": { + "line": 2687, + "column": 9 + } + } + }, + "range": [ + 81969, + 82218 + ], + "loc": { + "start": { + "line": 2681, + "column": 8 + }, + "end": { + "line": 2687, + "column": 9 + } + } + } + ], + "range": [ + 81850, + 82224 + ], + "loc": { + "start": { + "line": 2676, + "column": 24 + }, + "end": { + "line": 2688, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 81847, + 82224 + ], + "loc": { + "start": { + "line": 2676, + "column": 21 + }, + "end": { + "line": 2688, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 81830, + 82224 + ], + "loc": { + "start": { + "line": 2676, + "column": 4 + }, + "end": { + "line": 2688, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Make defined rows always visible\n ", + "range": [ + 81774, + 81825 + ], + "loc": { + "start": { + "line": 2673, + "column": 4 + }, + "end": { + "line": 2675, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Clear all the filters' values\n ", + "range": [ + 82230, + 82278 + ], + "loc": { + "start": { + "line": 2690, + "column": 4 + }, + "end": { + "line": 2692, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "clearFilters", + "range": [ + 82283, + 82295 + ], + "loc": { + "start": { + "line": 2693, + "column": 4 + }, + "end": { + "line": 2693, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82313, + 82317 + ], + "loc": { + "start": { + "line": 2694, + "column": 13 + }, + "end": { + "line": 2694, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltGrid", + "range": [ + 82318, + 82325 + ], + "loc": { + "start": { + "line": 2694, + "column": 18 + }, + "end": { + "line": 2694, + "column": 25 + } + } + }, + "range": [ + 82313, + 82325 + ], + "loc": { + "start": { + "line": 2694, + "column": 13 + }, + "end": { + "line": 2694, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 82312, + 82325 + ], + "loc": { + "start": { + "line": 2694, + "column": 12 + }, + "end": { + "line": 2694, + "column": 25 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 82341, + 82348 + ], + "loc": { + "start": { + "line": 2695, + "column": 12 + }, + "end": { + "line": 2695, + "column": 19 + } + } + } + ], + "range": [ + 82327, + 82358 + ], + "loc": { + "start": { + "line": 2694, + "column": 27 + }, + "end": { + "line": 2696, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 82308, + 82358 + ], + "loc": { + "start": { + "line": 2694, + "column": 8 + }, + "end": { + "line": 2696, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82368, + 82372 + ], + "loc": { + "start": { + "line": 2698, + "column": 8 + }, + "end": { + "line": 2698, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 82373, + 82380 + ], + "loc": { + "start": { + "line": 2698, + "column": 13 + }, + "end": { + "line": 2698, + "column": 20 + } + } + }, + "range": [ + 82368, + 82380 + ], + "loc": { + "start": { + "line": 2698, + "column": 8 + }, + "end": { + "line": 2698, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 82381, + 82385 + ], + "loc": { + "start": { + "line": 2698, + "column": 21 + }, + "end": { + "line": 2698, + "column": 25 + } + } + }, + "range": [ + 82368, + 82385 + ], + "loc": { + "start": { + "line": 2698, + "column": 8 + }, + "end": { + "line": 2698, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "before-clearing-filters", + "raw": "'before-clearing-filters'", + "range": [ + 82386, + 82411 + ], + "loc": { + "start": { + "line": 2698, + "column": 26 + }, + "end": { + "line": 2698, + "column": 51 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 82413, + 82417 + ], + "loc": { + "start": { + "line": 2698, + "column": 53 + }, + "end": { + "line": 2698, + "column": 57 + } + } + } + ], + "range": [ + 82368, + 82418 + ], + "loc": { + "start": { + "line": 2698, + "column": 8 + }, + "end": { + "line": 2698, + "column": 58 + } + } + }, + "range": [ + 82368, + 82419 + ], + "loc": { + "start": { + "line": 2698, + "column": 8 + }, + "end": { + "line": 2698, + "column": 59 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82428, + 82432 + ], + "loc": { + "start": { + "line": 2699, + "column": 8 + }, + "end": { + "line": 2699, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onBeforeReset", + "range": [ + 82433, + 82446 + ], + "loc": { + "start": { + "line": 2699, + "column": 13 + }, + "end": { + "line": 2699, + "column": 26 + } + } + }, + "range": [ + 82428, + 82446 + ], + "loc": { + "start": { + "line": 2699, + "column": 8 + }, + "end": { + "line": 2699, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 82447, + 82451 + ], + "loc": { + "start": { + "line": 2699, + "column": 27 + }, + "end": { + "line": 2699, + "column": 31 + } + } + }, + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82453, + 82457 + ], + "loc": { + "start": { + "line": 2699, + "column": 33 + }, + "end": { + "line": 2699, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersValue", + "range": [ + 82458, + 82473 + ], + "loc": { + "start": { + "line": 2699, + "column": 38 + }, + "end": { + "line": 2699, + "column": 53 + } + } + }, + "range": [ + 82453, + 82473 + ], + "loc": { + "start": { + "line": 2699, + "column": 33 + }, + "end": { + "line": 2699, + "column": 53 + } + } + }, + "arguments": [], + "range": [ + 82453, + 82475 + ], + "loc": { + "start": { + "line": 2699, + "column": 33 + }, + "end": { + "line": 2699, + "column": 55 + } + } + } + ], + "range": [ + 82428, + 82476 + ], + "loc": { + "start": { + "line": 2699, + "column": 8 + }, + "end": { + "line": 2699, + "column": 56 + } + } + }, + "range": [ + 82428, + 82477 + ], + "loc": { + "start": { + "line": 2699, + "column": 8 + }, + "end": { + "line": 2699, + "column": 57 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 82496, + 82497 + ], + "loc": { + "start": { + "line": 2701, + "column": 17 + }, + "end": { + "line": 2701, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 82500, + 82501 + ], + "loc": { + "start": { + "line": 2701, + "column": 21 + }, + "end": { + "line": 2701, + "column": 22 + } + } + }, + "range": [ + 82496, + 82501 + ], + "loc": { + "start": { + "line": 2701, + "column": 17 + }, + "end": { + "line": 2701, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 82503, + 82506 + ], + "loc": { + "start": { + "line": 2701, + "column": 24 + }, + "end": { + "line": 2701, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82509, + 82513 + ], + "loc": { + "start": { + "line": 2701, + "column": 30 + }, + "end": { + "line": 2701, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 82514, + 82520 + ], + "loc": { + "start": { + "line": 2701, + "column": 35 + }, + "end": { + "line": 2701, + "column": 41 + } + } + }, + "range": [ + 82509, + 82520 + ], + "loc": { + "start": { + "line": 2701, + "column": 30 + }, + "end": { + "line": 2701, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 82521, + 82527 + ], + "loc": { + "start": { + "line": 2701, + "column": 42 + }, + "end": { + "line": 2701, + "column": 48 + } + } + }, + "range": [ + 82509, + 82527 + ], + "loc": { + "start": { + "line": 2701, + "column": 30 + }, + "end": { + "line": 2701, + "column": 48 + } + } + }, + "range": [ + 82503, + 82527 + ], + "loc": { + "start": { + "line": 2701, + "column": 24 + }, + "end": { + "line": 2701, + "column": 48 + } + } + } + ], + "kind": "let", + "range": [ + 82492, + 82527 + ], + "loc": { + "start": { + "line": 2701, + "column": 13 + }, + "end": { + "line": 2701, + "column": 48 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 82529, + 82530 + ], + "loc": { + "start": { + "line": 2701, + "column": 50 + }, + "end": { + "line": 2701, + "column": 51 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 82533, + 82536 + ], + "loc": { + "start": { + "line": 2701, + "column": 54 + }, + "end": { + "line": 2701, + "column": 57 + } + } + }, + "range": [ + 82529, + 82536 + ], + "loc": { + "start": { + "line": 2701, + "column": 50 + }, + "end": { + "line": 2701, + "column": 57 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 82538, + 82539 + ], + "loc": { + "start": { + "line": 2701, + "column": 59 + }, + "end": { + "line": 2701, + "column": 60 + } + } + }, + "prefix": false, + "range": [ + 82538, + 82541 + ], + "loc": { + "start": { + "line": 2701, + "column": 59 + }, + "end": { + "line": 2701, + "column": 62 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82557, + 82561 + ], + "loc": { + "start": { + "line": 2702, + "column": 12 + }, + "end": { + "line": 2702, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "setFilterValue", + "range": [ + 82562, + 82576 + ], + "loc": { + "start": { + "line": 2702, + "column": 17 + }, + "end": { + "line": 2702, + "column": 31 + } + } + }, + "range": [ + 82557, + 82576 + ], + "loc": { + "start": { + "line": 2702, + "column": 12 + }, + "end": { + "line": 2702, + "column": 31 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "i", + "range": [ + 82577, + 82578 + ], + "loc": { + "start": { + "line": 2702, + "column": 32 + }, + "end": { + "line": 2702, + "column": 33 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 82580, + 82582 + ], + "loc": { + "start": { + "line": 2702, + "column": 35 + }, + "end": { + "line": 2702, + "column": 37 + } + } + } + ], + "range": [ + 82557, + 82583 + ], + "loc": { + "start": { + "line": 2702, + "column": 12 + }, + "end": { + "line": 2702, + "column": 38 + } + } + }, + "range": [ + 82557, + 82584 + ], + "loc": { + "start": { + "line": 2702, + "column": 12 + }, + "end": { + "line": 2702, + "column": 39 + } + } + } + ], + "range": [ + 82543, + 82594 + ], + "loc": { + "start": { + "line": 2701, + "column": 64 + }, + "end": { + "line": 2703, + "column": 9 + } + } + }, + "range": [ + 82487, + 82594 + ], + "loc": { + "start": { + "line": 2701, + "column": 8 + }, + "end": { + "line": 2703, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82604, + 82608 + ], + "loc": { + "start": { + "line": 2705, + "column": 8 + }, + "end": { + "line": 2705, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "filter", + "range": [ + 82609, + 82615 + ], + "loc": { + "start": { + "line": 2705, + "column": 13 + }, + "end": { + "line": 2705, + "column": 19 + } + } + }, + "range": [ + 82604, + 82615 + ], + "loc": { + "start": { + "line": 2705, + "column": 8 + }, + "end": { + "line": 2705, + "column": 19 + } + } + }, + "arguments": [], + "range": [ + 82604, + 82617 + ], + "loc": { + "start": { + "line": 2705, + "column": 8 + }, + "end": { + "line": 2705, + "column": 21 + } + } + }, + "range": [ + 82604, + 82618 + ], + "loc": { + "start": { + "line": 2705, + "column": 8 + }, + "end": { + "line": 2705, + "column": 22 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82628, + 82632 + ], + "loc": { + "start": { + "line": 2707, + "column": 8 + }, + "end": { + "line": 2707, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onAfterReset", + "range": [ + 82633, + 82645 + ], + "loc": { + "start": { + "line": 2707, + "column": 13 + }, + "end": { + "line": 2707, + "column": 25 + } + } + }, + "range": [ + 82628, + 82645 + ], + "loc": { + "start": { + "line": 2707, + "column": 8 + }, + "end": { + "line": 2707, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "ThisExpression", + "range": [ + 82646, + 82650 + ], + "loc": { + "start": { + "line": 2707, + "column": 26 + }, + "end": { + "line": 2707, + "column": 30 + } + } + } + ], + "range": [ + 82628, + 82651 + ], + "loc": { + "start": { + "line": 2707, + "column": 8 + }, + "end": { + "line": 2707, + "column": 31 + } + } + }, + "range": [ + 82628, + 82652 + ], + "loc": { + "start": { + "line": 2707, + "column": 8 + }, + "end": { + "line": 2707, + "column": 32 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82661, + 82665 + ], + "loc": { + "start": { + "line": 2708, + "column": 8 + }, + "end": { + "line": 2708, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 82666, + 82673 + ], + "loc": { + "start": { + "line": 2708, + "column": 13 + }, + "end": { + "line": 2708, + "column": 20 + } + } + }, + "range": [ + 82661, + 82673 + ], + "loc": { + "start": { + "line": 2708, + "column": 8 + }, + "end": { + "line": 2708, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 82674, + 82678 + ], + "loc": { + "start": { + "line": 2708, + "column": 21 + }, + "end": { + "line": 2708, + "column": 25 + } + } + }, + "range": [ + 82661, + 82678 + ], + "loc": { + "start": { + "line": 2708, + "column": 8 + }, + "end": { + "line": 2708, + "column": 25 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "after-clearing-filters", + "raw": "'after-clearing-filters'", + "range": [ + 82679, + 82703 + ], + "loc": { + "start": { + "line": 2708, + "column": 26 + }, + "end": { + "line": 2708, + "column": 50 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 82705, + 82709 + ], + "loc": { + "start": { + "line": 2708, + "column": 52 + }, + "end": { + "line": 2708, + "column": 56 + } + } + } + ], + "range": [ + 82661, + 82710 + ], + "loc": { + "start": { + "line": 2708, + "column": 8 + }, + "end": { + "line": 2708, + "column": 57 + } + } + }, + "range": [ + 82661, + 82711 + ], + "loc": { + "start": { + "line": 2708, + "column": 8 + }, + "end": { + "line": 2708, + "column": 58 + } + } + } + ], + "range": [ + 82298, + 82717 + ], + "loc": { + "start": { + "line": 2693, + "column": 19 + }, + "end": { + "line": 2709, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 82295, + 82717 + ], + "loc": { + "start": { + "line": 2693, + "column": 16 + }, + "end": { + "line": 2709, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 82283, + 82717 + ], + "loc": { + "start": { + "line": 2693, + "column": 4 + }, + "end": { + "line": 2709, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Clear all the filters' values\n ", + "range": [ + 82230, + 82278 + ], + "loc": { + "start": { + "line": 2690, + "column": 4 + }, + "end": { + "line": 2692, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the ID of the current active filter\n * @return {String}\n ", + "range": [ + 82723, + 82808 + ], + "loc": { + "start": { + "line": 2711, + "column": 4 + }, + "end": { + "line": 2714, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getActiveFilterId", + "range": [ + 82813, + 82830 + ], + "loc": { + "start": { + "line": 2715, + "column": 4 + }, + "end": { + "line": 2715, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 82850, + 82854 + ], + "loc": { + "start": { + "line": 2716, + "column": 15 + }, + "end": { + "line": 2716, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 82855, + 82869 + ], + "loc": { + "start": { + "line": 2716, + "column": 20 + }, + "end": { + "line": 2716, + "column": 34 + } + } + }, + "range": [ + 82850, + 82869 + ], + "loc": { + "start": { + "line": 2716, + "column": 15 + }, + "end": { + "line": 2716, + "column": 34 + } + } + }, + "range": [ + 82843, + 82870 + ], + "loc": { + "start": { + "line": 2716, + "column": 8 + }, + "end": { + "line": 2716, + "column": 35 + } + } + } + ], + "range": [ + 82833, + 82876 + ], + "loc": { + "start": { + "line": 2715, + "column": 24 + }, + "end": { + "line": 2717, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 82830, + 82876 + ], + "loc": { + "start": { + "line": 2715, + "column": 21 + }, + "end": { + "line": 2717, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 82813, + 82876 + ], + "loc": { + "start": { + "line": 2715, + "column": 4 + }, + "end": { + "line": 2717, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the ID of the current active filter\n * @return {String}\n ", + "range": [ + 82723, + 82808 + ], + "loc": { + "start": { + "line": 2711, + "column": 4 + }, + "end": { + "line": 2714, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n ", + "range": [ + 82882, + 82983 + ], + "loc": { + "start": { + "line": 2719, + "column": 4 + }, + "end": { + "line": 2722, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "setActiveFilterId", + "range": [ + 82988, + 83005 + ], + "loc": { + "start": { + "line": 2723, + "column": 4 + }, + "end": { + "line": 2723, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "filterId", + "range": [ + 83006, + 83014 + ], + "loc": { + "start": { + "line": 2723, + "column": 22 + }, + "end": { + "line": 2723, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83026, + 83030 + ], + "loc": { + "start": { + "line": 2724, + "column": 8 + }, + "end": { + "line": 2724, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 83031, + 83045 + ], + "loc": { + "start": { + "line": 2724, + "column": 13 + }, + "end": { + "line": 2724, + "column": 27 + } + } + }, + "range": [ + 83026, + 83045 + ], + "loc": { + "start": { + "line": 2724, + "column": 8 + }, + "end": { + "line": 2724, + "column": 27 + } + } + }, + "right": { + "type": "Identifier", + "name": "filterId", + "range": [ + 83048, + 83056 + ], + "loc": { + "start": { + "line": 2724, + "column": 30 + }, + "end": { + "line": 2724, + "column": 38 + } + } + }, + "range": [ + 83026, + 83056 + ], + "loc": { + "start": { + "line": 2724, + "column": 8 + }, + "end": { + "line": 2724, + "column": 38 + } + } + }, + "range": [ + 83026, + 83057 + ], + "loc": { + "start": { + "line": 2724, + "column": 8 + }, + "end": { + "line": 2724, + "column": 39 + } + } + } + ], + "range": [ + 83016, + 83063 + ], + "loc": { + "start": { + "line": 2723, + "column": 32 + }, + "end": { + "line": 2725, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 83005, + 83063 + ], + "loc": { + "start": { + "line": 2723, + "column": 21 + }, + "end": { + "line": 2725, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 82988, + 83063 + ], + "loc": { + "start": { + "line": 2723, + "column": 4 + }, + "end": { + "line": 2725, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n ", + "range": [ + 82882, + 82983 + ], + "loc": { + "start": { + "line": 2719, + "column": 4 + }, + "end": { + "line": 2722, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @return {Number} Column index\n ", + "range": [ + 83069, + 83217 + ], + "loc": { + "start": { + "line": 2727, + "column": 4 + }, + "end": { + "line": 2731, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 83222, + 83248 + ], + "loc": { + "start": { + "line": 2732, + "column": 4 + }, + "end": { + "line": 2732, + "column": 30 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "filterId", + "range": [ + 83249, + 83257 + ], + "loc": { + "start": { + "line": 2732, + "column": 31 + }, + "end": { + "line": 2732, + "column": 39 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 83260, + 83262 + ], + "loc": { + "start": { + "line": 2732, + "column": 42 + }, + "end": { + "line": 2732, + "column": 44 + } + } + }, + "range": [ + 83249, + 83262 + ], + "loc": { + "start": { + "line": 2732, + "column": 31 + }, + "end": { + "line": 2732, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "idx", + "range": [ + 83278, + 83281 + ], + "loc": { + "start": { + "line": 2733, + "column": 12 + }, + "end": { + "line": 2733, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "filterId", + "range": [ + 83284, + 83292 + ], + "loc": { + "start": { + "line": 2733, + "column": 18 + }, + "end": { + "line": 2733, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 83293, + 83298 + ], + "loc": { + "start": { + "line": 2733, + "column": 27 + }, + "end": { + "line": 2733, + "column": 32 + } + } + }, + "range": [ + 83284, + 83298 + ], + "loc": { + "start": { + "line": 2733, + "column": 18 + }, + "end": { + "line": 2733, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "_", + "raw": "'_'", + "range": [ + 83299, + 83302 + ], + "loc": { + "start": { + "line": 2733, + "column": 33 + }, + "end": { + "line": 2733, + "column": 36 + } + } + } + ], + "range": [ + 83284, + 83303 + ], + "loc": { + "start": { + "line": 2733, + "column": 18 + }, + "end": { + "line": 2733, + "column": 37 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 83304, + 83305 + ], + "loc": { + "start": { + "line": 2733, + "column": 38 + }, + "end": { + "line": 2733, + "column": 39 + } + } + }, + "range": [ + 83284, + 83306 + ], + "loc": { + "start": { + "line": 2733, + "column": 18 + }, + "end": { + "line": 2733, + "column": 40 + } + } + }, + "range": [ + 83278, + 83306 + ], + "loc": { + "start": { + "line": 2733, + "column": 12 + }, + "end": { + "line": 2733, + "column": 40 + } + } + } + ], + "kind": "let", + "range": [ + 83274, + 83307 + ], + "loc": { + "start": { + "line": 2733, + "column": 8 + }, + "end": { + "line": 2733, + "column": 41 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "idx", + "range": [ + 83316, + 83319 + ], + "loc": { + "start": { + "line": 2734, + "column": 8 + }, + "end": { + "line": 2734, + "column": 11 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "idx", + "range": [ + 83322, + 83325 + ], + "loc": { + "start": { + "line": 2734, + "column": 14 + }, + "end": { + "line": 2734, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "split", + "range": [ + 83326, + 83331 + ], + "loc": { + "start": { + "line": 2734, + "column": 18 + }, + "end": { + "line": 2734, + "column": 23 + } + } + }, + "range": [ + 83322, + 83331 + ], + "loc": { + "start": { + "line": 2734, + "column": 14 + }, + "end": { + "line": 2734, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83332, + 83336 + ], + "loc": { + "start": { + "line": 2734, + "column": 24 + }, + "end": { + "line": 2734, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxFlt", + "range": [ + 83337, + 83344 + ], + "loc": { + "start": { + "line": 2734, + "column": 29 + }, + "end": { + "line": 2734, + "column": 36 + } + } + }, + "range": [ + 83332, + 83344 + ], + "loc": { + "start": { + "line": 2734, + "column": 24 + }, + "end": { + "line": 2734, + "column": 36 + } + } + } + ], + "range": [ + 83322, + 83345 + ], + "loc": { + "start": { + "line": 2734, + "column": 14 + }, + "end": { + "line": 2734, + "column": 37 + } + } + }, + "property": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 83346, + 83347 + ], + "loc": { + "start": { + "line": 2734, + "column": 38 + }, + "end": { + "line": 2734, + "column": 39 + } + } + }, + "range": [ + 83322, + 83348 + ], + "loc": { + "start": { + "line": 2734, + "column": 14 + }, + "end": { + "line": 2734, + "column": 40 + } + } + }, + "range": [ + 83316, + 83348 + ], + "loc": { + "start": { + "line": 2734, + "column": 8 + }, + "end": { + "line": 2734, + "column": 40 + } + } + }, + "range": [ + 83316, + 83349 + ], + "loc": { + "start": { + "line": 2734, + "column": 8 + }, + "end": { + "line": 2734, + "column": 41 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "parseInt", + "range": [ + 83365, + 83373 + ], + "loc": { + "start": { + "line": 2735, + "column": 15 + }, + "end": { + "line": 2735, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "idx", + "range": [ + 83374, + 83377 + ], + "loc": { + "start": { + "line": 2735, + "column": 24 + }, + "end": { + "line": 2735, + "column": 27 + } + } + }, + { + "type": "Literal", + "value": 10, + "raw": "10", + "range": [ + 83379, + 83381 + ], + "loc": { + "start": { + "line": 2735, + "column": 29 + }, + "end": { + "line": 2735, + "column": 31 + } + } + } + ], + "range": [ + 83365, + 83382 + ], + "loc": { + "start": { + "line": 2735, + "column": 15 + }, + "end": { + "line": 2735, + "column": 32 + } + } + }, + "range": [ + 83358, + 83383 + ], + "loc": { + "start": { + "line": 2735, + "column": 8 + }, + "end": { + "line": 2735, + "column": 33 + } + } + } + ], + "range": [ + 83264, + 83389 + ], + "loc": { + "start": { + "line": 2732, + "column": 46 + }, + "end": { + "line": 2736, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 83248, + 83389 + ], + "loc": { + "start": { + "line": 2732, + "column": 30 + }, + "end": { + "line": 2736, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 83222, + 83389 + ], + "loc": { + "start": { + "line": 2732, + "column": 4 + }, + "end": { + "line": 2736, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @return {Number} Column index\n ", + "range": [ + 83069, + 83217 + ], + "loc": { + "start": { + "line": 2727, + "column": 4 + }, + "end": { + "line": 2731, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Build filter element ID for a given column index\n * @param {any} colIndex\n * @return {String} Filter element ID string\n * @private\n ", + "range": [ + 83395, + 83556 + ], + "loc": { + "start": { + "line": 2738, + "column": 4 + }, + "end": { + "line": 2743, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "buildFilterId", + "range": [ + 83561, + 83574 + ], + "loc": { + "start": { + "line": 2744, + "column": 4 + }, + "end": { + "line": 2744, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 83575, + 83583 + ], + "loc": { + "start": { + "line": 2744, + "column": 18 + }, + "end": { + "line": 2744, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 83602, + 83605 + ], + "loc": { + "start": { + "line": 2745, + "column": 15 + }, + "end": { + "line": 2745, + "column": 18 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": false, + "range": [ + 83617, + 83620 + ], + "loc": { + "start": { + "line": 2745, + "column": 30 + }, + "end": { + "line": 2745, + "column": 33 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "_", + "cooked": "_" + }, + "tail": false, + "range": [ + 83628, + 83632 + ], + "loc": { + "start": { + "line": 2745, + "column": 41 + }, + "end": { + "line": 2745, + "column": 45 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 83639, + 83641 + ], + "loc": { + "start": { + "line": 2745, + "column": 52 + }, + "end": { + "line": 2745, + "column": 54 + } + } + } + ], + "expressions": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83605, + 83609 + ], + "loc": { + "start": { + "line": 2745, + "column": 18 + }, + "end": { + "line": 2745, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "prfxFlt", + "range": [ + 83610, + 83617 + ], + "loc": { + "start": { + "line": 2745, + "column": 23 + }, + "end": { + "line": 2745, + "column": 30 + } + } + }, + "range": [ + 83605, + 83617 + ], + "loc": { + "start": { + "line": 2745, + "column": 18 + }, + "end": { + "line": 2745, + "column": 30 + } + } + }, + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 83620, + 83628 + ], + "loc": { + "start": { + "line": 2745, + "column": 33 + }, + "end": { + "line": 2745, + "column": 41 + } + } + }, + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83632, + 83636 + ], + "loc": { + "start": { + "line": 2745, + "column": 45 + }, + "end": { + "line": 2745, + "column": 49 + } + } + }, + "property": { + "type": "Identifier", + "name": "id", + "range": [ + 83637, + 83639 + ], + "loc": { + "start": { + "line": 2745, + "column": 50 + }, + "end": { + "line": 2745, + "column": 52 + } + } + }, + "range": [ + 83632, + 83639 + ], + "loc": { + "start": { + "line": 2745, + "column": 45 + }, + "end": { + "line": 2745, + "column": 52 + } + } + } + ], + "range": [ + 83602, + 83641 + ], + "loc": { + "start": { + "line": 2745, + "column": 15 + }, + "end": { + "line": 2745, + "column": 54 + } + } + }, + "range": [ + 83595, + 83642 + ], + "loc": { + "start": { + "line": 2745, + "column": 8 + }, + "end": { + "line": 2745, + "column": 55 + } + } + } + ], + "range": [ + 83585, + 83648 + ], + "loc": { + "start": { + "line": 2744, + "column": 28 + }, + "end": { + "line": 2746, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 83574, + 83648 + ], + "loc": { + "start": { + "line": 2744, + "column": 17 + }, + "end": { + "line": 2746, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 83561, + 83648 + ], + "loc": { + "start": { + "line": 2744, + "column": 4 + }, + "end": { + "line": 2746, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Build filter element ID for a given column index\n * @param {any} colIndex\n * @return {String} Filter element ID string\n * @private\n ", + "range": [ + 83395, + 83556 + ], + "loc": { + "start": { + "line": 2738, + "column": 4 + }, + "end": { + "line": 2743, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if has external filters\n * @returns {Boolean}\n * @private\n ", + "range": [ + 83654, + 83744 + ], + "loc": { + "start": { + "line": 2748, + "column": 4 + }, + "end": { + "line": 2752, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isExternalFlt", + "range": [ + 83749, + 83762 + ], + "loc": { + "start": { + "line": 2753, + "column": 4 + }, + "end": { + "line": 2753, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": ">", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83782, + 83786 + ], + "loc": { + "start": { + "line": 2754, + "column": 15 + }, + "end": { + "line": 2754, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "externalFltTgtIds", + "range": [ + 83787, + 83804 + ], + "loc": { + "start": { + "line": 2754, + "column": 20 + }, + "end": { + "line": 2754, + "column": 37 + } + } + }, + "range": [ + 83782, + 83804 + ], + "loc": { + "start": { + "line": 2754, + "column": 15 + }, + "end": { + "line": 2754, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 83805, + 83811 + ], + "loc": { + "start": { + "line": 2754, + "column": 38 + }, + "end": { + "line": 2754, + "column": 44 + } + } + }, + "range": [ + 83782, + 83811 + ], + "loc": { + "start": { + "line": 2754, + "column": 15 + }, + "end": { + "line": 2754, + "column": 44 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 83814, + 83815 + ], + "loc": { + "start": { + "line": 2754, + "column": 47 + }, + "end": { + "line": 2754, + "column": 48 + } + } + }, + "range": [ + 83782, + 83815 + ], + "loc": { + "start": { + "line": 2754, + "column": 15 + }, + "end": { + "line": 2754, + "column": 48 + } + } + }, + "range": [ + 83775, + 83816 + ], + "loc": { + "start": { + "line": 2754, + "column": 8 + }, + "end": { + "line": 2754, + "column": 49 + } + } + } + ], + "range": [ + 83765, + 83822 + ], + "loc": { + "start": { + "line": 2753, + "column": 20 + }, + "end": { + "line": 2755, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 83762, + 83822 + ], + "loc": { + "start": { + "line": 2753, + "column": 17 + }, + "end": { + "line": 2755, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 83749, + 83822 + ], + "loc": { + "start": { + "line": 2753, + "column": 4 + }, + "end": { + "line": 2755, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if has external filters\n * @returns {Boolean}\n * @private\n ", + "range": [ + 83654, + 83744 + ], + "loc": { + "start": { + "line": 2748, + "column": 4 + }, + "end": { + "line": 2752, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns styles path\n * @returns {String}\n * @private\n ", + "range": [ + 83828, + 83907 + ], + "loc": { + "start": { + "line": 2757, + "column": 4 + }, + "end": { + "line": 2761, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getStylePath", + "range": [ + 83912, + 83924 + ], + "loc": { + "start": { + "line": 2762, + "column": 4 + }, + "end": { + "line": 2762, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 83944, + 83955 + ], + "loc": { + "start": { + "line": 2763, + "column": 15 + }, + "end": { + "line": 2763, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83956, + 83960 + ], + "loc": { + "start": { + "line": 2763, + "column": 27 + }, + "end": { + "line": 2763, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 83961, + 83967 + ], + "loc": { + "start": { + "line": 2763, + "column": 32 + }, + "end": { + "line": 2763, + "column": 38 + } + } + }, + "range": [ + 83956, + 83967 + ], + "loc": { + "start": { + "line": 2763, + "column": 27 + }, + "end": { + "line": 2763, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "style_path", + "range": [ + 83968, + 83978 + ], + "loc": { + "start": { + "line": 2763, + "column": 39 + }, + "end": { + "line": 2763, + "column": 49 + } + } + }, + "range": [ + 83956, + 83978 + ], + "loc": { + "start": { + "line": 2763, + "column": 27 + }, + "end": { + "line": 2763, + "column": 49 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 83980, + 83984 + ], + "loc": { + "start": { + "line": 2763, + "column": 51 + }, + "end": { + "line": 2763, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "name": "basePath", + "range": [ + 83985, + 83993 + ], + "loc": { + "start": { + "line": 2763, + "column": 56 + }, + "end": { + "line": 2763, + "column": 64 + } + } + }, + "range": [ + 83980, + 83993 + ], + "loc": { + "start": { + "line": 2763, + "column": 51 + }, + "end": { + "line": 2763, + "column": 64 + } + } + }, + "right": { + "type": "Literal", + "value": "style/", + "raw": "'style/'", + "range": [ + 83996, + 84004 + ], + "loc": { + "start": { + "line": 2763, + "column": 67 + }, + "end": { + "line": 2763, + "column": 75 + } + } + }, + "range": [ + 83980, + 84004 + ], + "loc": { + "start": { + "line": 2763, + "column": 51 + }, + "end": { + "line": 2763, + "column": 75 + } + } + } + ], + "range": [ + 83944, + 84005 + ], + "loc": { + "start": { + "line": 2763, + "column": 15 + }, + "end": { + "line": 2763, + "column": 76 + } + } + }, + "range": [ + 83937, + 84006 + ], + "loc": { + "start": { + "line": 2763, + "column": 8 + }, + "end": { + "line": 2763, + "column": 77 + } + } + } + ], + "range": [ + 83927, + 84012 + ], + "loc": { + "start": { + "line": 2762, + "column": 19 + }, + "end": { + "line": 2764, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 83924, + 84012 + ], + "loc": { + "start": { + "line": 2762, + "column": 16 + }, + "end": { + "line": 2764, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 83912, + 84012 + ], + "loc": { + "start": { + "line": 2762, + "column": 4 + }, + "end": { + "line": 2764, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns styles path\n * @returns {String}\n * @private\n ", + "range": [ + 83828, + 83907 + ], + "loc": { + "start": { + "line": 2757, + "column": 4 + }, + "end": { + "line": 2761, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns main stylesheet path\n * @returns {String}\n * @private\n ", + "range": [ + 84018, + 84106 + ], + "loc": { + "start": { + "line": 2766, + "column": 4 + }, + "end": { + "line": 2770, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getStylesheetPath", + "range": [ + 84111, + 84128 + ], + "loc": { + "start": { + "line": 2771, + "column": 4 + }, + "end": { + "line": 2771, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 84148, + 84159 + ], + "loc": { + "start": { + "line": 2772, + "column": 15 + }, + "end": { + "line": 2772, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84160, + 84164 + ], + "loc": { + "start": { + "line": 2772, + "column": 27 + }, + "end": { + "line": 2772, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 84165, + 84171 + ], + "loc": { + "start": { + "line": 2772, + "column": 32 + }, + "end": { + "line": 2772, + "column": 38 + } + } + }, + "range": [ + 84160, + 84171 + ], + "loc": { + "start": { + "line": 2772, + "column": 27 + }, + "end": { + "line": 2772, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "stylesheet", + "range": [ + 84172, + 84182 + ], + "loc": { + "start": { + "line": 2772, + "column": 39 + }, + "end": { + "line": 2772, + "column": 49 + } + } + }, + "range": [ + 84160, + 84182 + ], + "loc": { + "start": { + "line": 2772, + "column": 27 + }, + "end": { + "line": 2772, + "column": 49 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84196, + 84200 + ], + "loc": { + "start": { + "line": 2773, + "column": 12 + }, + "end": { + "line": 2773, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylePath", + "range": [ + 84201, + 84213 + ], + "loc": { + "start": { + "line": 2773, + "column": 17 + }, + "end": { + "line": 2773, + "column": 29 + } + } + }, + "range": [ + 84196, + 84213 + ], + "loc": { + "start": { + "line": 2773, + "column": 12 + }, + "end": { + "line": 2773, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 84196, + 84215 + ], + "loc": { + "start": { + "line": 2773, + "column": 12 + }, + "end": { + "line": 2773, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "tablefilter.css", + "raw": "'tablefilter.css'", + "range": [ + 84218, + 84235 + ], + "loc": { + "start": { + "line": 2773, + "column": 34 + }, + "end": { + "line": 2773, + "column": 51 + } + } + }, + "range": [ + 84196, + 84235 + ], + "loc": { + "start": { + "line": 2773, + "column": 12 + }, + "end": { + "line": 2773, + "column": 51 + } + } + } + ], + "range": [ + 84148, + 84236 + ], + "loc": { + "start": { + "line": 2772, + "column": 15 + }, + "end": { + "line": 2773, + "column": 52 + } + } + }, + "range": [ + 84141, + 84237 + ], + "loc": { + "start": { + "line": 2772, + "column": 8 + }, + "end": { + "line": 2773, + "column": 53 + } + } + } + ], + "range": [ + 84131, + 84243 + ], + "loc": { + "start": { + "line": 2771, + "column": 24 + }, + "end": { + "line": 2774, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 84128, + 84243 + ], + "loc": { + "start": { + "line": 2771, + "column": 21 + }, + "end": { + "line": 2774, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 84111, + 84243 + ], + "loc": { + "start": { + "line": 2771, + "column": 4 + }, + "end": { + "line": 2774, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns main stylesheet path\n * @returns {String}\n * @private\n ", + "range": [ + 84018, + 84106 + ], + "loc": { + "start": { + "line": 2766, + "column": 4 + }, + "end": { + "line": 2770, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Returns themes path\n * @returns {String}\n * @private\n ", + "range": [ + 84249, + 84328 + ], + "loc": { + "start": { + "line": 2776, + "column": 4 + }, + "end": { + "line": 2780, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getThemesPath", + "range": [ + 84333, + 84346 + ], + "loc": { + "start": { + "line": 2781, + "column": 4 + }, + "end": { + "line": 2781, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "defaultsStr", + "range": [ + 84366, + 84377 + ], + "loc": { + "start": { + "line": 2782, + "column": 15 + }, + "end": { + "line": 2782, + "column": 26 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84378, + 84382 + ], + "loc": { + "start": { + "line": 2782, + "column": 27 + }, + "end": { + "line": 2782, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "config", + "range": [ + 84383, + 84389 + ], + "loc": { + "start": { + "line": 2782, + "column": 32 + }, + "end": { + "line": 2782, + "column": 38 + } + } + }, + "range": [ + 84378, + 84389 + ], + "loc": { + "start": { + "line": 2782, + "column": 27 + }, + "end": { + "line": 2782, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "themes_path", + "range": [ + 84390, + 84401 + ], + "loc": { + "start": { + "line": 2782, + "column": 39 + }, + "end": { + "line": 2782, + "column": 50 + } + } + }, + "range": [ + 84378, + 84401 + ], + "loc": { + "start": { + "line": 2782, + "column": 27 + }, + "end": { + "line": 2782, + "column": 50 + } + } + }, + { + "type": "BinaryExpression", + "operator": "+", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84415, + 84419 + ], + "loc": { + "start": { + "line": 2783, + "column": 12 + }, + "end": { + "line": 2783, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "getStylePath", + "range": [ + 84420, + 84432 + ], + "loc": { + "start": { + "line": 2783, + "column": 17 + }, + "end": { + "line": 2783, + "column": 29 + } + } + }, + "range": [ + 84415, + 84432 + ], + "loc": { + "start": { + "line": 2783, + "column": 12 + }, + "end": { + "line": 2783, + "column": 29 + } + } + }, + "arguments": [], + "range": [ + 84415, + 84434 + ], + "loc": { + "start": { + "line": 2783, + "column": 12 + }, + "end": { + "line": 2783, + "column": 31 + } + } + }, + "right": { + "type": "Literal", + "value": "themes/", + "raw": "'themes/'", + "range": [ + 84437, + 84446 + ], + "loc": { + "start": { + "line": 2783, + "column": 34 + }, + "end": { + "line": 2783, + "column": 43 + } + } + }, + "range": [ + 84415, + 84446 + ], + "loc": { + "start": { + "line": 2783, + "column": 12 + }, + "end": { + "line": 2783, + "column": 43 + } + } + } + ], + "range": [ + 84366, + 84447 + ], + "loc": { + "start": { + "line": 2782, + "column": 15 + }, + "end": { + "line": 2783, + "column": 44 + } + } + }, + "range": [ + 84359, + 84448 + ], + "loc": { + "start": { + "line": 2782, + "column": 8 + }, + "end": { + "line": 2783, + "column": 45 + } + } + } + ], + "range": [ + 84349, + 84454 + ], + "loc": { + "start": { + "line": 2781, + "column": 20 + }, + "end": { + "line": 2784, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 84346, + 84454 + ], + "loc": { + "start": { + "line": 2781, + "column": 17 + }, + "end": { + "line": 2784, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 84333, + 84454 + ], + "loc": { + "start": { + "line": 2781, + "column": 4 + }, + "end": { + "line": 2784, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Returns themes path\n * @returns {String}\n * @private\n ", + "range": [ + 84249, + 84328 + ], + "loc": { + "start": { + "line": 2776, + "column": 4 + }, + "end": { + "line": 2780, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Make specified column's filter active\n * @param colIndex Index of a column\n ", + "range": [ + 84460, + 84557 + ], + "loc": { + "start": { + "line": 2786, + "column": 4 + }, + "end": { + "line": 2789, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "activateFilter", + "range": [ + 84562, + 84576 + ], + "loc": { + "start": { + "line": 2790, + "column": 4 + }, + "end": { + "line": 2790, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 84577, + 84585 + ], + "loc": { + "start": { + "line": 2790, + "column": 19 + }, + "end": { + "line": 2790, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 84601, + 84608 + ], + "loc": { + "start": { + "line": 2791, + "column": 12 + }, + "end": { + "line": 2791, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 84609, + 84617 + ], + "loc": { + "start": { + "line": 2791, + "column": 20 + }, + "end": { + "line": 2791, + "column": 28 + } + } + } + ], + "range": [ + 84601, + 84618 + ], + "loc": { + "start": { + "line": 2791, + "column": 12 + }, + "end": { + "line": 2791, + "column": 29 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 84634, + 84641 + ], + "loc": { + "start": { + "line": 2792, + "column": 12 + }, + "end": { + "line": 2792, + "column": 19 + } + } + } + ], + "range": [ + 84620, + 84651 + ], + "loc": { + "start": { + "line": 2791, + "column": 31 + }, + "end": { + "line": 2793, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 84597, + 84651 + ], + "loc": { + "start": { + "line": 2791, + "column": 8 + }, + "end": { + "line": 2793, + "column": 9 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84660, + 84664 + ], + "loc": { + "start": { + "line": 2794, + "column": 8 + }, + "end": { + "line": 2794, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "setActiveFilterId", + "range": [ + 84665, + 84682 + ], + "loc": { + "start": { + "line": 2794, + "column": 13 + }, + "end": { + "line": 2794, + "column": 30 + } + } + }, + "range": [ + 84660, + 84682 + ], + "loc": { + "start": { + "line": 2794, + "column": 8 + }, + "end": { + "line": 2794, + "column": 30 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84683, + 84687 + ], + "loc": { + "start": { + "line": 2794, + "column": 31 + }, + "end": { + "line": 2794, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterId", + "range": [ + 84688, + 84699 + ], + "loc": { + "start": { + "line": 2794, + "column": 36 + }, + "end": { + "line": 2794, + "column": 47 + } + } + }, + "range": [ + 84683, + 84699 + ], + "loc": { + "start": { + "line": 2794, + "column": 31 + }, + "end": { + "line": 2794, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 84700, + 84708 + ], + "loc": { + "start": { + "line": 2794, + "column": 48 + }, + "end": { + "line": 2794, + "column": 56 + } + } + } + ], + "range": [ + 84683, + 84709 + ], + "loc": { + "start": { + "line": 2794, + "column": 31 + }, + "end": { + "line": 2794, + "column": 57 + } + } + } + ], + "range": [ + 84660, + 84710 + ], + "loc": { + "start": { + "line": 2794, + "column": 8 + }, + "end": { + "line": 2794, + "column": 58 + } + } + }, + "range": [ + 84660, + 84711 + ], + "loc": { + "start": { + "line": 2794, + "column": 8 + }, + "end": { + "line": 2794, + "column": 59 + } + } + } + ], + "range": [ + 84587, + 84717 + ], + "loc": { + "start": { + "line": 2790, + "column": 29 + }, + "end": { + "line": 2795, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 84576, + 84717 + ], + "loc": { + "start": { + "line": 2790, + "column": 18 + }, + "end": { + "line": 2795, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 84562, + 84717 + ], + "loc": { + "start": { + "line": 2790, + "column": 4 + }, + "end": { + "line": 2795, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Make specified column's filter active\n * @param colIndex Index of a column\n ", + "range": [ + 84460, + 84557 + ], + "loc": { + "start": { + "line": 2786, + "column": 4 + }, + "end": { + "line": 2789, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n ", + "range": [ + 84723, + 84828 + ], + "loc": { + "start": { + "line": 2797, + "column": 4 + }, + "end": { + "line": 2800, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "linkFilters", + "range": [ + 84833, + 84844 + ], + "loc": { + "start": { + "line": 2801, + "column": 4 + }, + "end": { + "line": 2801, + "column": 15 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84862, + 84866 + ], + "loc": { + "start": { + "line": 2802, + "column": 13 + }, + "end": { + "line": 2802, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "linkedFilters", + "range": [ + 84867, + 84880 + ], + "loc": { + "start": { + "line": 2802, + "column": 18 + }, + "end": { + "line": 2802, + "column": 31 + } + } + }, + "range": [ + 84862, + 84880 + ], + "loc": { + "start": { + "line": 2802, + "column": 13 + }, + "end": { + "line": 2802, + "column": 31 + } + } + }, + "prefix": true, + "range": [ + 84861, + 84880 + ], + "loc": { + "start": { + "line": 2802, + "column": 12 + }, + "end": { + "line": 2802, + "column": 31 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84885, + 84889 + ], + "loc": { + "start": { + "line": 2802, + "column": 36 + }, + "end": { + "line": 2802, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 84890, + 84904 + ], + "loc": { + "start": { + "line": 2802, + "column": 41 + }, + "end": { + "line": 2802, + "column": 55 + } + } + }, + "range": [ + 84885, + 84904 + ], + "loc": { + "start": { + "line": 2802, + "column": 36 + }, + "end": { + "line": 2802, + "column": 55 + } + } + }, + "prefix": true, + "range": [ + 84884, + 84904 + ], + "loc": { + "start": { + "line": 2802, + "column": 35 + }, + "end": { + "line": 2802, + "column": 55 + } + } + }, + "range": [ + 84861, + 84904 + ], + "loc": { + "start": { + "line": 2802, + "column": 12 + }, + "end": { + "line": 2802, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 84920, + 84927 + ], + "loc": { + "start": { + "line": 2803, + "column": 12 + }, + "end": { + "line": 2803, + "column": 19 + } + } + } + ], + "range": [ + 84906, + 84937 + ], + "loc": { + "start": { + "line": 2802, + "column": 57 + }, + "end": { + "line": 2804, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 84857, + 84937 + ], + "loc": { + "start": { + "line": 2802, + "column": 8 + }, + "end": { + "line": 2804, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcA1", + "range": [ + 84950, + 84955 + ], + "loc": { + "start": { + "line": 2805, + "column": 12 + }, + "end": { + "line": 2805, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 84958, + 84962 + ], + "loc": { + "start": { + "line": 2805, + "column": 20 + }, + "end": { + "line": 2805, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 84963, + 84979 + ], + "loc": { + "start": { + "line": 2805, + "column": 25 + }, + "end": { + "line": 2805, + "column": 41 + } + } + }, + "range": [ + 84958, + 84979 + ], + "loc": { + "start": { + "line": 2805, + "column": 20 + }, + "end": { + "line": 2805, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "SELECT", + "range": [ + 84980, + 84986 + ], + "loc": { + "start": { + "line": 2805, + "column": 42 + }, + "end": { + "line": 2805, + "column": 48 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 84988, + 84992 + ], + "loc": { + "start": { + "line": 2805, + "column": 50 + }, + "end": { + "line": 2805, + "column": 54 + } + } + } + ], + "range": [ + 84958, + 84993 + ], + "loc": { + "start": { + "line": 2805, + "column": 20 + }, + "end": { + "line": 2805, + "column": 55 + } + } + }, + "range": [ + 84950, + 84993 + ], + "loc": { + "start": { + "line": 2805, + "column": 12 + }, + "end": { + "line": 2805, + "column": 55 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcA2", + "range": [ + 85007, + 85012 + ], + "loc": { + "start": { + "line": 2806, + "column": 12 + }, + "end": { + "line": 2806, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85015, + 85019 + ], + "loc": { + "start": { + "line": 2806, + "column": 20 + }, + "end": { + "line": 2806, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 85020, + 85036 + ], + "loc": { + "start": { + "line": 2806, + "column": 25 + }, + "end": { + "line": 2806, + "column": 41 + } + } + }, + "range": [ + 85015, + 85036 + ], + "loc": { + "start": { + "line": 2806, + "column": 20 + }, + "end": { + "line": 2806, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "MULTIPLE", + "range": [ + 85037, + 85045 + ], + "loc": { + "start": { + "line": 2806, + "column": 42 + }, + "end": { + "line": 2806, + "column": 50 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 85047, + 85051 + ], + "loc": { + "start": { + "line": 2806, + "column": 52 + }, + "end": { + "line": 2806, + "column": 56 + } + } + } + ], + "range": [ + 85015, + 85052 + ], + "loc": { + "start": { + "line": 2806, + "column": 20 + }, + "end": { + "line": 2806, + "column": 57 + } + } + }, + "range": [ + 85007, + 85052 + ], + "loc": { + "start": { + "line": 2806, + "column": 12 + }, + "end": { + "line": 2806, + "column": 57 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcA3", + "range": [ + 85066, + 85071 + ], + "loc": { + "start": { + "line": 2807, + "column": 12 + }, + "end": { + "line": 2807, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85074, + 85078 + ], + "loc": { + "start": { + "line": 2807, + "column": 20 + }, + "end": { + "line": 2807, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFiltersByType", + "range": [ + 85079, + 85095 + ], + "loc": { + "start": { + "line": 2807, + "column": 25 + }, + "end": { + "line": 2807, + "column": 41 + } + } + }, + "range": [ + 85074, + 85095 + ], + "loc": { + "start": { + "line": 2807, + "column": 20 + }, + "end": { + "line": 2807, + "column": 41 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "CHECKLIST", + "range": [ + 85096, + 85105 + ], + "loc": { + "start": { + "line": 2807, + "column": 42 + }, + "end": { + "line": 2807, + "column": 51 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 85107, + 85111 + ], + "loc": { + "start": { + "line": 2807, + "column": 53 + }, + "end": { + "line": 2807, + "column": 57 + } + } + } + ], + "range": [ + 85074, + 85112 + ], + "loc": { + "start": { + "line": 2807, + "column": 20 + }, + "end": { + "line": 2807, + "column": 58 + } + } + }, + "range": [ + 85066, + 85112 + ], + "loc": { + "start": { + "line": 2807, + "column": 12 + }, + "end": { + "line": 2807, + "column": 58 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 85126, + 85134 + ], + "loc": { + "start": { + "line": 2808, + "column": 12 + }, + "end": { + "line": 2808, + "column": 20 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcA1", + "range": [ + 85137, + 85142 + ], + "loc": { + "start": { + "line": 2808, + "column": 23 + }, + "end": { + "line": 2808, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "concat", + "range": [ + 85143, + 85149 + ], + "loc": { + "start": { + "line": 2808, + "column": 29 + }, + "end": { + "line": 2808, + "column": 35 + } + } + }, + "range": [ + 85137, + 85149 + ], + "loc": { + "start": { + "line": 2808, + "column": 23 + }, + "end": { + "line": 2808, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcA2", + "range": [ + 85150, + 85155 + ], + "loc": { + "start": { + "line": 2808, + "column": 36 + }, + "end": { + "line": 2808, + "column": 41 + } + } + } + ], + "range": [ + 85137, + 85156 + ], + "loc": { + "start": { + "line": 2808, + "column": 23 + }, + "end": { + "line": 2808, + "column": 42 + } + } + }, + "range": [ + 85126, + 85156 + ], + "loc": { + "start": { + "line": 2808, + "column": 12 + }, + "end": { + "line": 2808, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 84946, + 85157 + ], + "loc": { + "start": { + "line": 2805, + "column": 8 + }, + "end": { + "line": 2808, + "column": 43 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 85166, + 85174 + ], + "loc": { + "start": { + "line": 2809, + "column": 8 + }, + "end": { + "line": 2809, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 85177, + 85185 + ], + "loc": { + "start": { + "line": 2809, + "column": 19 + }, + "end": { + "line": 2809, + "column": 27 + } + } + }, + "property": { + "type": "Identifier", + "name": "concat", + "range": [ + 85186, + 85192 + ], + "loc": { + "start": { + "line": 2809, + "column": 28 + }, + "end": { + "line": 2809, + "column": 34 + } + } + }, + "range": [ + 85177, + 85192 + ], + "loc": { + "start": { + "line": 2809, + "column": 19 + }, + "end": { + "line": 2809, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "slcA3", + "range": [ + 85193, + 85198 + ], + "loc": { + "start": { + "line": 2809, + "column": 35 + }, + "end": { + "line": 2809, + "column": 40 + } + } + } + ], + "range": [ + 85177, + 85199 + ], + "loc": { + "start": { + "line": 2809, + "column": 19 + }, + "end": { + "line": 2809, + "column": 41 + } + } + }, + "range": [ + 85166, + 85199 + ], + "loc": { + "start": { + "line": 2809, + "column": 8 + }, + "end": { + "line": 2809, + "column": 41 + } + } + }, + "range": [ + 85166, + 85200 + ], + "loc": { + "start": { + "line": 2809, + "column": 8 + }, + "end": { + "line": 2809, + "column": 42 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 85214, + 85223 + ], + "loc": { + "start": { + "line": 2811, + "column": 12 + }, + "end": { + "line": 2811, + "column": 21 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85226, + 85230 + ], + "loc": { + "start": { + "line": 2811, + "column": 24 + }, + "end": { + "line": 2811, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "getColumnIndexFromFilterId", + "range": [ + 85231, + 85257 + ], + "loc": { + "start": { + "line": 2811, + "column": 29 + }, + "end": { + "line": 2811, + "column": 55 + } + } + }, + "range": [ + 85226, + 85257 + ], + "loc": { + "start": { + "line": 2811, + "column": 24 + }, + "end": { + "line": 2811, + "column": 55 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85258, + 85262 + ], + "loc": { + "start": { + "line": 2811, + "column": 56 + }, + "end": { + "line": 2811, + "column": 60 + } + } + }, + "property": { + "type": "Identifier", + "name": "activeFilterId", + "range": [ + 85263, + 85277 + ], + "loc": { + "start": { + "line": 2811, + "column": 61 + }, + "end": { + "line": 2811, + "column": 75 + } + } + }, + "range": [ + 85258, + 85277 + ], + "loc": { + "start": { + "line": 2811, + "column": 56 + }, + "end": { + "line": 2811, + "column": 75 + } + } + } + ], + "range": [ + 85226, + 85278 + ], + "loc": { + "start": { + "line": 2811, + "column": 24 + }, + "end": { + "line": 2811, + "column": 76 + } + } + }, + "range": [ + 85214, + 85278 + ], + "loc": { + "start": { + "line": 2811, + "column": 12 + }, + "end": { + "line": 2811, + "column": 76 + } + } + } + ], + "kind": "let", + "range": [ + 85210, + 85279 + ], + "loc": { + "start": { + "line": 2811, + "column": 8 + }, + "end": { + "line": 2811, + "column": 77 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 85298, + 85299 + ], + "loc": { + "start": { + "line": 2813, + "column": 17 + }, + "end": { + "line": 2813, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 85302, + 85303 + ], + "loc": { + "start": { + "line": 2813, + "column": 21 + }, + "end": { + "line": 2813, + "column": 22 + } + } + }, + "range": [ + 85298, + 85303 + ], + "loc": { + "start": { + "line": 2813, + "column": 17 + }, + "end": { + "line": 2813, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 85305, + 85308 + ], + "loc": { + "start": { + "line": 2813, + "column": 24 + }, + "end": { + "line": 2813, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 85311, + 85319 + ], + "loc": { + "start": { + "line": 2813, + "column": 30 + }, + "end": { + "line": 2813, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 85320, + 85326 + ], + "loc": { + "start": { + "line": 2813, + "column": 39 + }, + "end": { + "line": 2813, + "column": 45 + } + } + }, + "range": [ + 85311, + 85326 + ], + "loc": { + "start": { + "line": 2813, + "column": 30 + }, + "end": { + "line": 2813, + "column": 45 + } + } + }, + "range": [ + 85305, + 85326 + ], + "loc": { + "start": { + "line": 2813, + "column": 24 + }, + "end": { + "line": 2813, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 85294, + 85326 + ], + "loc": { + "start": { + "line": 2813, + "column": 13 + }, + "end": { + "line": 2813, + "column": 45 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 85328, + 85329 + ], + "loc": { + "start": { + "line": 2813, + "column": 47 + }, + "end": { + "line": 2813, + "column": 48 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 85332, + 85335 + ], + "loc": { + "start": { + "line": 2813, + "column": 51 + }, + "end": { + "line": 2813, + "column": 54 + } + } + }, + "range": [ + 85328, + 85335 + ], + "loc": { + "start": { + "line": 2813, + "column": 47 + }, + "end": { + "line": 2813, + "column": 54 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 85337, + 85338 + ], + "loc": { + "start": { + "line": 2813, + "column": 56 + }, + "end": { + "line": 2813, + "column": 57 + } + } + }, + "prefix": false, + "range": [ + 85337, + 85340 + ], + "loc": { + "start": { + "line": 2813, + "column": 56 + }, + "end": { + "line": 2813, + "column": 59 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85360, + 85366 + ], + "loc": { + "start": { + "line": 2814, + "column": 16 + }, + "end": { + "line": 2814, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "slcIndex", + "range": [ + 85369, + 85377 + ], + "loc": { + "start": { + "line": 2814, + "column": 25 + }, + "end": { + "line": 2814, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 85378, + 85379 + ], + "loc": { + "start": { + "line": 2814, + "column": 34 + }, + "end": { + "line": 2814, + "column": 35 + } + } + }, + "range": [ + 85369, + 85380 + ], + "loc": { + "start": { + "line": 2814, + "column": 25 + }, + "end": { + "line": 2814, + "column": 36 + } + } + }, + "range": [ + 85360, + 85380 + ], + "loc": { + "start": { + "line": 2814, + "column": 16 + }, + "end": { + "line": 2814, + "column": 36 + } + } + } + ], + "kind": "let", + "range": [ + 85356, + 85381 + ], + "loc": { + "start": { + "line": 2814, + "column": 12 + }, + "end": { + "line": 2814, + "column": 37 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "curSlc", + "range": [ + 85398, + 85404 + ], + "loc": { + "start": { + "line": 2815, + "column": 16 + }, + "end": { + "line": 2815, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "elm", + "range": [ + 85407, + 85410 + ], + "loc": { + "start": { + "line": 2815, + "column": 25 + }, + "end": { + "line": 2815, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85411, + 85415 + ], + "loc": { + "start": { + "line": 2815, + "column": 29 + }, + "end": { + "line": 2815, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 85416, + 85422 + ], + "loc": { + "start": { + "line": 2815, + "column": 34 + }, + "end": { + "line": 2815, + "column": 40 + } + } + }, + "range": [ + 85411, + 85422 + ], + "loc": { + "start": { + "line": 2815, + "column": 29 + }, + "end": { + "line": 2815, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85423, + 85429 + ], + "loc": { + "start": { + "line": 2815, + "column": 41 + }, + "end": { + "line": 2815, + "column": 47 + } + } + }, + "range": [ + 85411, + 85430 + ], + "loc": { + "start": { + "line": 2815, + "column": 29 + }, + "end": { + "line": 2815, + "column": 48 + } + } + } + ], + "range": [ + 85407, + 85431 + ], + "loc": { + "start": { + "line": 2815, + "column": 25 + }, + "end": { + "line": 2815, + "column": 49 + } + } + }, + "range": [ + 85398, + 85431 + ], + "loc": { + "start": { + "line": 2815, + "column": 16 + }, + "end": { + "line": 2815, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 85394, + 85432 + ], + "loc": { + "start": { + "line": 2815, + "column": 12 + }, + "end": { + "line": 2815, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "slcSelectedValue", + "range": [ + 85449, + 85465 + ], + "loc": { + "start": { + "line": 2816, + "column": 16 + }, + "end": { + "line": 2816, + "column": 32 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85468, + 85472 + ], + "loc": { + "start": { + "line": 2816, + "column": 35 + }, + "end": { + "line": 2816, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterValue", + "range": [ + 85473, + 85487 + ], + "loc": { + "start": { + "line": 2816, + "column": 40 + }, + "end": { + "line": 2816, + "column": 54 + } + } + }, + "range": [ + 85468, + 85487 + ], + "loc": { + "start": { + "line": 2816, + "column": 35 + }, + "end": { + "line": 2816, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85488, + 85494 + ], + "loc": { + "start": { + "line": 2816, + "column": 55 + }, + "end": { + "line": 2816, + "column": 61 + } + } + } + ], + "range": [ + 85468, + 85495 + ], + "loc": { + "start": { + "line": 2816, + "column": 35 + }, + "end": { + "line": 2816, + "column": 62 + } + } + }, + "range": [ + 85449, + 85495 + ], + "loc": { + "start": { + "line": 2816, + "column": 16 + }, + "end": { + "line": 2816, + "column": 62 + } + } + } + ], + "kind": "let", + "range": [ + 85445, + 85496 + ], + "loc": { + "start": { + "line": 2816, + "column": 12 + }, + "end": { + "line": 2816, + "column": 63 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": " Welcome to cyclomatic complexity hell :)", + "range": [ + 85510, + 85553 + ], + "loc": { + "start": { + "line": 2818, + "column": 12 + }, + "end": { + "line": 2818, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " TODO: simplify/refactor if statement", + "range": [ + 85566, + 85605 + ], + "loc": { + "start": { + "line": 2819, + "column": 12 + }, + "end": { + "line": 2819, + "column": 51 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 85622, + 85631 + ], + "loc": { + "start": { + "line": 2820, + "column": 16 + }, + "end": { + "line": 2820, + "column": 25 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85636, + 85642 + ], + "loc": { + "start": { + "line": 2820, + "column": 30 + }, + "end": { + "line": 2820, + "column": 36 + } + } + }, + "range": [ + 85622, + 85642 + ], + "loc": { + "start": { + "line": 2820, + "column": 16 + }, + "end": { + "line": 2820, + "column": 36 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85663, + 85667 + ], + "loc": { + "start": { + "line": 2821, + "column": 17 + }, + "end": { + "line": 2821, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 85668, + 85674 + ], + "loc": { + "start": { + "line": 2821, + "column": 22 + }, + "end": { + "line": 2821, + "column": 28 + } + } + }, + "range": [ + 85663, + 85674 + ], + "loc": { + "start": { + "line": 2821, + "column": 17 + }, + "end": { + "line": 2821, + "column": 28 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcA1", + "range": [ + 85678, + 85683 + ], + "loc": { + "start": { + "line": 2821, + "column": 32 + }, + "end": { + "line": 2821, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 85684, + 85691 + ], + "loc": { + "start": { + "line": 2821, + "column": 38 + }, + "end": { + "line": 2821, + "column": 45 + } + } + }, + "range": [ + 85678, + 85691 + ], + "loc": { + "start": { + "line": 2821, + "column": 32 + }, + "end": { + "line": 2821, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85692, + 85698 + ], + "loc": { + "start": { + "line": 2821, + "column": 46 + }, + "end": { + "line": 2821, + "column": 52 + } + } + } + ], + "range": [ + 85678, + 85699 + ], + "loc": { + "start": { + "line": 2821, + "column": 32 + }, + "end": { + "line": 2821, + "column": 53 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 85705, + 85706 + ], + "loc": { + "start": { + "line": 2821, + "column": 59 + }, + "end": { + "line": 2821, + "column": 60 + } + } + }, + "prefix": true, + "range": [ + 85704, + 85706 + ], + "loc": { + "start": { + "line": 2821, + "column": 58 + }, + "end": { + "line": 2821, + "column": 60 + } + } + }, + "range": [ + 85678, + 85706 + ], + "loc": { + "start": { + "line": 2821, + "column": 32 + }, + "end": { + "line": 2821, + "column": 60 + } + } + }, + "range": [ + 85663, + 85706 + ], + "loc": { + "start": { + "line": 2821, + "column": 17 + }, + "end": { + "line": 2821, + "column": 60 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "activeIdx", + "range": [ + 85730, + 85739 + ], + "loc": { + "start": { + "line": 2822, + "column": 20 + }, + "end": { + "line": 2822, + "column": 29 + } + } + }, + "right": { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85744, + 85750 + ], + "loc": { + "start": { + "line": 2822, + "column": 34 + }, + "end": { + "line": 2822, + "column": 40 + } + } + }, + "range": [ + 85730, + 85750 + ], + "loc": { + "start": { + "line": 2822, + "column": 20 + }, + "end": { + "line": 2822, + "column": 40 + } + } + }, + "range": [ + 85663, + 85750 + ], + "loc": { + "start": { + "line": 2821, + "column": 17 + }, + "end": { + "line": 2822, + "column": 40 + } + } + }, + "range": [ + 85622, + 85751 + ], + "loc": { + "start": { + "line": 2820, + "column": 16 + }, + "end": { + "line": 2822, + "column": 41 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85773, + 85777 + ], + "loc": { + "start": { + "line": 2823, + "column": 18 + }, + "end": { + "line": 2823, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 85778, + 85784 + ], + "loc": { + "start": { + "line": 2823, + "column": 23 + }, + "end": { + "line": 2823, + "column": 29 + } + } + }, + "range": [ + 85773, + 85784 + ], + "loc": { + "start": { + "line": 2823, + "column": 18 + }, + "end": { + "line": 2823, + "column": 29 + } + } + }, + "prefix": true, + "range": [ + 85772, + 85784 + ], + "loc": { + "start": { + "line": 2823, + "column": 17 + }, + "end": { + "line": 2823, + "column": 29 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcA3", + "range": [ + 85789, + 85794 + ], + "loc": { + "start": { + "line": 2823, + "column": 34 + }, + "end": { + "line": 2823, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 85795, + 85802 + ], + "loc": { + "start": { + "line": 2823, + "column": 40 + }, + "end": { + "line": 2823, + "column": 47 + } + } + }, + "range": [ + 85789, + 85802 + ], + "loc": { + "start": { + "line": 2823, + "column": 34 + }, + "end": { + "line": 2823, + "column": 47 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85803, + 85809 + ], + "loc": { + "start": { + "line": 2823, + "column": 48 + }, + "end": { + "line": 2823, + "column": 54 + } + } + } + ], + "range": [ + 85789, + 85810 + ], + "loc": { + "start": { + "line": 2823, + "column": 34 + }, + "end": { + "line": 2823, + "column": 55 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 85816, + 85817 + ], + "loc": { + "start": { + "line": 2823, + "column": 61 + }, + "end": { + "line": 2823, + "column": 62 + } + } + }, + "prefix": true, + "range": [ + 85815, + 85817 + ], + "loc": { + "start": { + "line": 2823, + "column": 60 + }, + "end": { + "line": 2823, + "column": 62 + } + } + }, + "range": [ + 85789, + 85817 + ], + "loc": { + "start": { + "line": 2823, + "column": 34 + }, + "end": { + "line": 2823, + "column": 62 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcA2", + "range": [ + 85841, + 85846 + ], + "loc": { + "start": { + "line": 2824, + "column": 20 + }, + "end": { + "line": 2824, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 85847, + 85854 + ], + "loc": { + "start": { + "line": 2824, + "column": 26 + }, + "end": { + "line": 2824, + "column": 33 + } + } + }, + "range": [ + 85841, + 85854 + ], + "loc": { + "start": { + "line": 2824, + "column": 20 + }, + "end": { + "line": 2824, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85855, + 85861 + ], + "loc": { + "start": { + "line": 2824, + "column": 34 + }, + "end": { + "line": 2824, + "column": 40 + } + } + } + ], + "range": [ + 85841, + 85862 + ], + "loc": { + "start": { + "line": 2824, + "column": 20 + }, + "end": { + "line": 2824, + "column": 41 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 85868, + 85869 + ], + "loc": { + "start": { + "line": 2824, + "column": 47 + }, + "end": { + "line": 2824, + "column": 48 + } + } + }, + "prefix": true, + "range": [ + 85867, + 85869 + ], + "loc": { + "start": { + "line": 2824, + "column": 46 + }, + "end": { + "line": 2824, + "column": 48 + } + } + }, + "range": [ + 85841, + 85869 + ], + "loc": { + "start": { + "line": 2824, + "column": 20 + }, + "end": { + "line": 2824, + "column": 48 + } + } + }, + "range": [ + 85789, + 85869 + ], + "loc": { + "start": { + "line": 2823, + "column": 34 + }, + "end": { + "line": 2824, + "column": 48 + } + } + }, + "range": [ + 85772, + 85870 + ], + "loc": { + "start": { + "line": 2823, + "column": 17 + }, + "end": { + "line": 2824, + "column": 49 + } + } + }, + "range": [ + 85622, + 85871 + ], + "loc": { + "start": { + "line": 2820, + "column": 16 + }, + "end": { + "line": 2824, + "column": 50 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "slcSelectedValue", + "range": [ + 85891, + 85907 + ], + "loc": { + "start": { + "line": 2825, + "column": 16 + }, + "end": { + "line": 2825, + "column": 32 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 85912, + 85916 + ], + "loc": { + "start": { + "line": 2825, + "column": 37 + }, + "end": { + "line": 2825, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 85917, + 85935 + ], + "loc": { + "start": { + "line": 2825, + "column": 42 + }, + "end": { + "line": 2825, + "column": 60 + } + } + }, + "range": [ + 85912, + 85935 + ], + "loc": { + "start": { + "line": 2825, + "column": 37 + }, + "end": { + "line": 2825, + "column": 60 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 85936, + 85942 + ], + "loc": { + "start": { + "line": 2825, + "column": 61 + }, + "end": { + "line": 2825, + "column": 67 + } + } + } + ], + "range": [ + 85912, + 85943 + ], + "loc": { + "start": { + "line": 2825, + "column": 37 + }, + "end": { + "line": 2825, + "column": 68 + } + } + }, + "range": [ + 85891, + 85943 + ], + "loc": { + "start": { + "line": 2825, + "column": 16 + }, + "end": { + "line": 2825, + "column": 68 + } + } + }, + "range": [ + 85622, + 85943 + ], + "loc": { + "start": { + "line": 2820, + "column": 16 + }, + "end": { + "line": 2825, + "column": 68 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86018, + 86022 + ], + "loc": { + "start": { + "line": 2828, + "column": 20 + }, + "end": { + "line": 2828, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "loadFltOnDemand", + "range": [ + 86023, + 86038 + ], + "loc": { + "start": { + "line": 2828, + "column": 25 + }, + "end": { + "line": 2828, + "column": 40 + } + } + }, + "range": [ + 86018, + 86038 + ], + "loc": { + "start": { + "line": 2828, + "column": 20 + }, + "end": { + "line": 2828, + "column": 40 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "opt0", + "range": [ + 86066, + 86070 + ], + "loc": { + "start": { + "line": 2829, + "column": 24 + }, + "end": { + "line": 2829, + "column": 28 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createOpt", + "range": [ + 86073, + 86082 + ], + "loc": { + "start": { + "line": 2829, + "column": 31 + }, + "end": { + "line": 2829, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86083, + 86087 + ], + "loc": { + "start": { + "line": 2829, + "column": 41 + }, + "end": { + "line": 2829, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 86088, + 86106 + ], + "loc": { + "start": { + "line": 2829, + "column": 46 + }, + "end": { + "line": 2829, + "column": 64 + } + } + }, + "range": [ + 86083, + 86106 + ], + "loc": { + "start": { + "line": 2829, + "column": 41 + }, + "end": { + "line": 2829, + "column": 64 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 86107, + 86113 + ], + "loc": { + "start": { + "line": 2829, + "column": 65 + }, + "end": { + "line": 2829, + "column": 71 + } + } + } + ], + "range": [ + 86083, + 86114 + ], + "loc": { + "start": { + "line": 2829, + "column": 41 + }, + "end": { + "line": 2829, + "column": 72 + } + } + }, + { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 86116, + 86118 + ], + "loc": { + "start": { + "line": 2829, + "column": 74 + }, + "end": { + "line": 2829, + "column": 76 + } + } + } + ], + "range": [ + 86073, + 86119 + ], + "loc": { + "start": { + "line": 2829, + "column": 31 + }, + "end": { + "line": 2829, + "column": 77 + } + } + }, + "range": [ + 86066, + 86119 + ], + "loc": { + "start": { + "line": 2829, + "column": 24 + }, + "end": { + "line": 2829, + "column": 77 + } + } + } + ], + "kind": "let", + "range": [ + 86062, + 86120 + ], + "loc": { + "start": { + "line": 2829, + "column": 20 + }, + "end": { + "line": 2829, + "column": 78 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "curSlc", + "range": [ + 86141, + 86147 + ], + "loc": { + "start": { + "line": 2830, + "column": 20 + }, + "end": { + "line": 2830, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "innerHTML", + "range": [ + 86148, + 86157 + ], + "loc": { + "start": { + "line": 2830, + "column": 27 + }, + "end": { + "line": 2830, + "column": 36 + } + } + }, + "range": [ + 86141, + 86157 + ], + "loc": { + "start": { + "line": 2830, + "column": 20 + }, + "end": { + "line": 2830, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 86160, + 86162 + ], + "loc": { + "start": { + "line": 2830, + "column": 39 + }, + "end": { + "line": 2830, + "column": 41 + } + } + }, + "range": [ + 86141, + 86162 + ], + "loc": { + "start": { + "line": 2830, + "column": 20 + }, + "end": { + "line": 2830, + "column": 41 + } + } + }, + "range": [ + 86141, + 86163 + ], + "loc": { + "start": { + "line": 2830, + "column": 20 + }, + "end": { + "line": 2830, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "curSlc", + "range": [ + 86184, + 86190 + ], + "loc": { + "start": { + "line": 2831, + "column": 20 + }, + "end": { + "line": 2831, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 86191, + 86202 + ], + "loc": { + "start": { + "line": 2831, + "column": 27 + }, + "end": { + "line": 2831, + "column": 38 + } + } + }, + "range": [ + 86184, + 86202 + ], + "loc": { + "start": { + "line": 2831, + "column": 20 + }, + "end": { + "line": 2831, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "opt0", + "range": [ + 86203, + 86207 + ], + "loc": { + "start": { + "line": 2831, + "column": 39 + }, + "end": { + "line": 2831, + "column": 43 + } + } + } + ], + "range": [ + 86184, + 86208 + ], + "loc": { + "start": { + "line": 2831, + "column": 20 + }, + "end": { + "line": 2831, + "column": 44 + } + } + }, + "range": [ + 86184, + 86209 + ], + "loc": { + "start": { + "line": 2831, + "column": 20 + }, + "end": { + "line": 2831, + "column": 45 + } + } + } + ], + "range": [ + 86040, + 86227 + ], + "loc": { + "start": { + "line": 2828, + "column": 42 + }, + "end": { + "line": 2832, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 86014, + 86227 + ], + "loc": { + "start": { + "line": 2828, + "column": 16 + }, + "end": { + "line": 2832, + "column": 17 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "1st option needs to be inserted", + "range": [ + 85964, + 85997 + ], + "loc": { + "start": { + "line": 2827, + "column": 16 + }, + "end": { + "line": 2827, + "column": 49 + } + } + } + ] + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "slcA3", + "range": [ + 86249, + 86254 + ], + "loc": { + "start": { + "line": 2834, + "column": 20 + }, + "end": { + "line": 2834, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 86255, + 86262 + ], + "loc": { + "start": { + "line": 2834, + "column": 26 + }, + "end": { + "line": 2834, + "column": 33 + } + } + }, + "range": [ + 86249, + 86262 + ], + "loc": { + "start": { + "line": 2834, + "column": 20 + }, + "end": { + "line": 2834, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 86263, + 86269 + ], + "loc": { + "start": { + "line": 2834, + "column": 34 + }, + "end": { + "line": 2834, + "column": 40 + } + } + } + ], + "range": [ + 86249, + 86270 + ], + "loc": { + "start": { + "line": 2834, + "column": 20 + }, + "end": { + "line": 2834, + "column": 41 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 86276, + 86277 + ], + "loc": { + "start": { + "line": 2834, + "column": 47 + }, + "end": { + "line": 2834, + "column": 48 + } + } + }, + "prefix": true, + "range": [ + 86275, + 86277 + ], + "loc": { + "start": { + "line": 2834, + "column": 46 + }, + "end": { + "line": 2834, + "column": 48 + } + } + }, + "range": [ + 86249, + 86277 + ], + "loc": { + "start": { + "line": 2834, + "column": 20 + }, + "end": { + "line": 2834, + "column": 48 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86301, + 86305 + ], + "loc": { + "start": { + "line": 2835, + "column": 20 + }, + "end": { + "line": 2835, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 86306, + 86313 + ], + "loc": { + "start": { + "line": 2835, + "column": 25 + }, + "end": { + "line": 2835, + "column": 32 + } + } + }, + "range": [ + 86301, + 86313 + ], + "loc": { + "start": { + "line": 2835, + "column": 20 + }, + "end": { + "line": 2835, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 86314, + 86318 + ], + "loc": { + "start": { + "line": 2835, + "column": 33 + }, + "end": { + "line": 2835, + "column": 37 + } + } + }, + "range": [ + 86301, + 86318 + ], + "loc": { + "start": { + "line": 2835, + "column": 20 + }, + "end": { + "line": 2835, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "build-checklist-filter", + "raw": "'build-checklist-filter'", + "range": [ + 86319, + 86343 + ], + "loc": { + "start": { + "line": 2835, + "column": 38 + }, + "end": { + "line": 2835, + "column": 62 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 86345, + 86349 + ], + "loc": { + "start": { + "line": 2835, + "column": 64 + }, + "end": { + "line": 2835, + "column": 68 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 86351, + 86357 + ], + "loc": { + "start": { + "line": 2835, + "column": 70 + }, + "end": { + "line": 2835, + "column": 76 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 86383, + 86387 + ], + "loc": { + "start": { + "line": 2836, + "column": 24 + }, + "end": { + "line": 2836, + "column": 28 + } + } + } + ], + "range": [ + 86301, + 86388 + ], + "loc": { + "start": { + "line": 2835, + "column": 20 + }, + "end": { + "line": 2836, + "column": 29 + } + } + }, + "range": [ + 86301, + 86389 + ], + "loc": { + "start": { + "line": 2835, + "column": 20 + }, + "end": { + "line": 2836, + "column": 30 + } + } + } + ], + "range": [ + 86279, + 86407 + ], + "loc": { + "start": { + "line": 2834, + "column": 50 + }, + "end": { + "line": 2837, + "column": 17 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86435, + 86439 + ], + "loc": { + "start": { + "line": 2838, + "column": 20 + }, + "end": { + "line": 2838, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "emitter", + "range": [ + 86440, + 86447 + ], + "loc": { + "start": { + "line": 2838, + "column": 25 + }, + "end": { + "line": 2838, + "column": 32 + } + } + }, + "range": [ + 86435, + 86447 + ], + "loc": { + "start": { + "line": 2838, + "column": 20 + }, + "end": { + "line": 2838, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "emit", + "range": [ + 86448, + 86452 + ], + "loc": { + "start": { + "line": 2838, + "column": 33 + }, + "end": { + "line": 2838, + "column": 37 + } + } + }, + "range": [ + 86435, + 86452 + ], + "loc": { + "start": { + "line": 2838, + "column": 20 + }, + "end": { + "line": 2838, + "column": 37 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "build-select-filter", + "raw": "'build-select-filter'", + "range": [ + 86453, + 86474 + ], + "loc": { + "start": { + "line": 2838, + "column": 38 + }, + "end": { + "line": 2838, + "column": 59 + } + } + }, + { + "type": "ThisExpression", + "range": [ + 86476, + 86480 + ], + "loc": { + "start": { + "line": 2838, + "column": 61 + }, + "end": { + "line": 2838, + "column": 65 + } + } + }, + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 86482, + 86488 + ], + "loc": { + "start": { + "line": 2838, + "column": 67 + }, + "end": { + "line": 2838, + "column": 73 + } + } + }, + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 86514, + 86518 + ], + "loc": { + "start": { + "line": 2839, + "column": 24 + }, + "end": { + "line": 2839, + "column": 28 + } + } + } + ], + "range": [ + 86435, + 86519 + ], + "loc": { + "start": { + "line": 2838, + "column": 20 + }, + "end": { + "line": 2839, + "column": 29 + } + } + }, + "range": [ + 86435, + 86520 + ], + "loc": { + "start": { + "line": 2838, + "column": 20 + }, + "end": { + "line": 2839, + "column": 30 + } + } + } + ], + "range": [ + 86413, + 86538 + ], + "loc": { + "start": { + "line": 2837, + "column": 23 + }, + "end": { + "line": 2840, + "column": 17 + } + } + }, + "range": [ + 86245, + 86538 + ], + "loc": { + "start": { + "line": 2834, + "column": 16 + }, + "end": { + "line": 2840, + "column": 17 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86556, + 86560 + ], + "loc": { + "start": { + "line": 2842, + "column": 16 + }, + "end": { + "line": 2842, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "setFilterValue", + "range": [ + 86561, + 86575 + ], + "loc": { + "start": { + "line": 2842, + "column": 21 + }, + "end": { + "line": 2842, + "column": 35 + } + } + }, + "range": [ + 86556, + 86575 + ], + "loc": { + "start": { + "line": 2842, + "column": 16 + }, + "end": { + "line": 2842, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIdx", + "range": [ + 86576, + 86582 + ], + "loc": { + "start": { + "line": 2842, + "column": 36 + }, + "end": { + "line": 2842, + "column": 42 + } + } + }, + { + "type": "Identifier", + "name": "slcSelectedValue", + "range": [ + 86584, + 86600 + ], + "loc": { + "start": { + "line": 2842, + "column": 44 + }, + "end": { + "line": 2842, + "column": 60 + } + } + } + ], + "range": [ + 86556, + 86601 + ], + "loc": { + "start": { + "line": 2842, + "column": 16 + }, + "end": { + "line": 2842, + "column": 61 + } + } + }, + "range": [ + 86556, + 86602 + ], + "loc": { + "start": { + "line": 2842, + "column": 16 + }, + "end": { + "line": 2842, + "column": 62 + } + } + } + ], + "range": [ + 85945, + 86616 + ], + "loc": { + "start": { + "line": 2825, + "column": 70 + }, + "end": { + "line": 2843, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 85618, + 86616 + ], + "loc": { + "start": { + "line": 2820, + "column": 12 + }, + "end": { + "line": 2843, + "column": 13 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": " Welcome to cyclomatic complexity hell :)", + "range": [ + 85510, + 85553 + ], + "loc": { + "start": { + "line": 2818, + "column": 12 + }, + "end": { + "line": 2818, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " TODO: simplify/refactor if statement", + "range": [ + 85566, + 85605 + ], + "loc": { + "start": { + "line": 2819, + "column": 12 + }, + "end": { + "line": 2819, + "column": 51 + } + } + } + ] + } + ], + "range": [ + 85342, + 86626 + ], + "loc": { + "start": { + "line": 2813, + "column": 61 + }, + "end": { + "line": 2844, + "column": 9 + } + } + }, + "range": [ + 85289, + 86626 + ], + "loc": { + "start": { + "line": 2813, + "column": 8 + }, + "end": { + "line": 2844, + "column": 9 + } + } + } + ], + "range": [ + 84847, + 86632 + ], + "loc": { + "start": { + "line": 2801, + "column": 18 + }, + "end": { + "line": 2845, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 84844, + 86632 + ], + "loc": { + "start": { + "line": 2801, + "column": 15 + }, + "end": { + "line": 2845, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 84833, + 86632 + ], + "loc": { + "start": { + "line": 2801, + "column": 4 + }, + "end": { + "line": 2845, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n ", + "range": [ + 84723, + 84828 + ], + "loc": { + "start": { + "line": 2797, + "column": 4 + }, + "end": { + "line": 2800, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine if passed filter column implements exact query match\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 86638, + 86793 + ], + "loc": { + "start": { + "line": 2847, + "column": 4 + }, + "end": { + "line": 2851, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isExactMatch", + "range": [ + 86798, + 86810 + ], + "loc": { + "start": { + "line": 2852, + "column": 4 + }, + "end": { + "line": 2852, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 86811, + 86819 + ], + "loc": { + "start": { + "line": 2852, + "column": 17 + }, + "end": { + "line": 2852, + "column": 25 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "fltType", + "range": [ + 86835, + 86842 + ], + "loc": { + "start": { + "line": 2853, + "column": 12 + }, + "end": { + "line": 2853, + "column": 19 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86845, + 86849 + ], + "loc": { + "start": { + "line": 2853, + "column": 22 + }, + "end": { + "line": 2853, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 86850, + 86863 + ], + "loc": { + "start": { + "line": 2853, + "column": 27 + }, + "end": { + "line": 2853, + "column": 40 + } + } + }, + "range": [ + 86845, + 86863 + ], + "loc": { + "start": { + "line": 2853, + "column": 22 + }, + "end": { + "line": 2853, + "column": 40 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 86864, + 86872 + ], + "loc": { + "start": { + "line": 2853, + "column": 41 + }, + "end": { + "line": 2853, + "column": 49 + } + } + } + ], + "range": [ + 86845, + 86873 + ], + "loc": { + "start": { + "line": 2853, + "column": 22 + }, + "end": { + "line": 2853, + "column": 50 + } + } + }, + "range": [ + 86835, + 86873 + ], + "loc": { + "start": { + "line": 2853, + "column": 12 + }, + "end": { + "line": 2853, + "column": 50 + } + } + } + ], + "kind": "let", + "range": [ + 86831, + 86874 + ], + "loc": { + "start": { + "line": 2853, + "column": 8 + }, + "end": { + "line": 2853, + "column": 51 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86890, + 86894 + ], + "loc": { + "start": { + "line": 2854, + "column": 15 + }, + "end": { + "line": 2854, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "exactMatchByCol", + "range": [ + 86895, + 86910 + ], + "loc": { + "start": { + "line": 2854, + "column": 20 + }, + "end": { + "line": 2854, + "column": 35 + } + } + }, + "range": [ + 86890, + 86910 + ], + "loc": { + "start": { + "line": 2854, + "column": 15 + }, + "end": { + "line": 2854, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 86911, + 86919 + ], + "loc": { + "start": { + "line": 2854, + "column": 36 + }, + "end": { + "line": 2854, + "column": 44 + } + } + }, + "range": [ + 86890, + 86920 + ], + "loc": { + "start": { + "line": 2854, + "column": 15 + }, + "end": { + "line": 2854, + "column": 45 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 86924, + 86928 + ], + "loc": { + "start": { + "line": 2854, + "column": 49 + }, + "end": { + "line": 2854, + "column": 53 + } + } + }, + "property": { + "type": "Identifier", + "name": "exactMatch", + "range": [ + 86929, + 86939 + ], + "loc": { + "start": { + "line": 2854, + "column": 54 + }, + "end": { + "line": 2854, + "column": 64 + } + } + }, + "range": [ + 86924, + 86939 + ], + "loc": { + "start": { + "line": 2854, + "column": 49 + }, + "end": { + "line": 2854, + "column": 64 + } + } + }, + "range": [ + 86890, + 86939 + ], + "loc": { + "start": { + "line": 2854, + "column": 15 + }, + "end": { + "line": 2854, + "column": 64 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "Identifier", + "name": "fltType", + "range": [ + 86955, + 86962 + ], + "loc": { + "start": { + "line": 2855, + "column": 12 + }, + "end": { + "line": 2855, + "column": 19 + } + } + }, + "right": { + "type": "Identifier", + "name": "INPUT", + "range": [ + 86967, + 86972 + ], + "loc": { + "start": { + "line": 2855, + "column": 24 + }, + "end": { + "line": 2855, + "column": 29 + } + } + }, + "range": [ + 86955, + 86972 + ], + "loc": { + "start": { + "line": 2855, + "column": 12 + }, + "end": { + "line": 2855, + "column": 29 + } + } + }, + "range": [ + 86890, + 86972 + ], + "loc": { + "start": { + "line": 2854, + "column": 15 + }, + "end": { + "line": 2855, + "column": 29 + } + } + }, + "range": [ + 86883, + 86973 + ], + "loc": { + "start": { + "line": 2854, + "column": 8 + }, + "end": { + "line": 2855, + "column": 30 + } + } + } + ], + "range": [ + 86821, + 86979 + ], + "loc": { + "start": { + "line": 2852, + "column": 27 + }, + "end": { + "line": 2856, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 86810, + 86979 + ], + "loc": { + "start": { + "line": 2852, + "column": 16 + }, + "end": { + "line": 2856, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 86798, + 86979 + ], + "loc": { + "start": { + "line": 2852, + "column": 4 + }, + "end": { + "line": 2856, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine if passed filter column implements exact query match\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 86638, + 86793 + ], + "loc": { + "start": { + "line": 2847, + "column": 4 + }, + "end": { + "line": 2851, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if passed row is valid\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 86985, + 87099 + ], + "loc": { + "start": { + "line": 2858, + "column": 4 + }, + "end": { + "line": 2862, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isRowValid", + "range": [ + 87104, + 87114 + ], + "loc": { + "start": { + "line": 2863, + "column": 4 + }, + "end": { + "line": 2863, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 87115, + 87123 + ], + "loc": { + "start": { + "line": 2863, + "column": 15 + }, + "end": { + "line": 2863, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 87142, + 87146 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 87147, + 87159 + ], + "loc": { + "start": { + "line": 2864, + "column": 20 + }, + "end": { + "line": 2864, + "column": 32 + } + } + }, + "range": [ + 87142, + 87159 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 32 + } + } + }, + "arguments": [], + "range": [ + 87142, + 87161 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 87162, + 87169 + ], + "loc": { + "start": { + "line": 2864, + "column": 35 + }, + "end": { + "line": 2864, + "column": 42 + } + } + }, + "range": [ + 87142, + 87169 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 42 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 87170, + 87178 + ], + "loc": { + "start": { + "line": 2864, + "column": 43 + }, + "end": { + "line": 2864, + "column": 51 + } + } + } + ], + "range": [ + 87142, + 87179 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 52 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 87185, + 87186 + ], + "loc": { + "start": { + "line": 2864, + "column": 58 + }, + "end": { + "line": 2864, + "column": 59 + } + } + }, + "prefix": true, + "range": [ + 87184, + 87186 + ], + "loc": { + "start": { + "line": 2864, + "column": 57 + }, + "end": { + "line": 2864, + "column": 59 + } + } + }, + "range": [ + 87142, + 87186 + ], + "loc": { + "start": { + "line": 2864, + "column": 15 + }, + "end": { + "line": 2864, + "column": 59 + } + } + }, + "range": [ + 87135, + 87187 + ], + "loc": { + "start": { + "line": 2864, + "column": 8 + }, + "end": { + "line": 2864, + "column": 60 + } + } + } + ], + "range": [ + 87125, + 87193 + ], + "loc": { + "start": { + "line": 2863, + "column": 25 + }, + "end": { + "line": 2865, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 87114, + 87193 + ], + "loc": { + "start": { + "line": 2863, + "column": 14 + }, + "end": { + "line": 2865, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 87104, + 87193 + ], + "loc": { + "start": { + "line": 2863, + "column": 4 + }, + "end": { + "line": 2865, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if passed row is valid\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 86985, + 87099 + ], + "loc": { + "start": { + "line": 2858, + "column": 4 + }, + "end": { + "line": 2862, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if passed row is visible\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 87199, + 87315 + ], + "loc": { + "start": { + "line": 2867, + "column": 4 + }, + "end": { + "line": 2871, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isRowDisplayed", + "range": [ + 87320, + 87334 + ], + "loc": { + "start": { + "line": 2872, + "column": 4 + }, + "end": { + "line": 2872, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 87335, + 87343 + ], + "loc": { + "start": { + "line": 2872, + "column": 19 + }, + "end": { + "line": 2872, + "column": 27 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "row", + "range": [ + 87359, + 87362 + ], + "loc": { + "start": { + "line": 2873, + "column": 12 + }, + "end": { + "line": 2873, + "column": 15 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 87365, + 87369 + ], + "loc": { + "start": { + "line": 2873, + "column": 18 + }, + "end": { + "line": 2873, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 87370, + 87373 + ], + "loc": { + "start": { + "line": 2873, + "column": 23 + }, + "end": { + "line": 2873, + "column": 26 + } + } + }, + "range": [ + 87365, + 87373 + ], + "loc": { + "start": { + "line": 2873, + "column": 18 + }, + "end": { + "line": 2873, + "column": 26 + } + } + }, + "arguments": [], + "range": [ + 87365, + 87375 + ], + "loc": { + "start": { + "line": 2873, + "column": 18 + }, + "end": { + "line": 2873, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 87376, + 87380 + ], + "loc": { + "start": { + "line": 2873, + "column": 29 + }, + "end": { + "line": 2873, + "column": 33 + } + } + }, + "range": [ + 87365, + 87380 + ], + "loc": { + "start": { + "line": 2873, + "column": 18 + }, + "end": { + "line": 2873, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 87381, + 87389 + ], + "loc": { + "start": { + "line": 2873, + "column": 34 + }, + "end": { + "line": 2873, + "column": 42 + } + } + }, + "range": [ + 87365, + 87390 + ], + "loc": { + "start": { + "line": 2873, + "column": 18 + }, + "end": { + "line": 2873, + "column": 43 + } + } + }, + "range": [ + 87359, + 87390 + ], + "loc": { + "start": { + "line": 2873, + "column": 12 + }, + "end": { + "line": 2873, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 87355, + 87391 + ], + "loc": { + "start": { + "line": 2873, + "column": 8 + }, + "end": { + "line": 2873, + "column": 44 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 87407, + 87411 + ], + "loc": { + "start": { + "line": 2874, + "column": 15 + }, + "end": { + "line": 2874, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowDisplay", + "range": [ + 87412, + 87425 + ], + "loc": { + "start": { + "line": 2874, + "column": 20 + }, + "end": { + "line": 2874, + "column": 33 + } + } + }, + "range": [ + 87407, + 87425 + ], + "loc": { + "start": { + "line": 2874, + "column": 15 + }, + "end": { + "line": 2874, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "row", + "range": [ + 87426, + 87429 + ], + "loc": { + "start": { + "line": 2874, + "column": 34 + }, + "end": { + "line": 2874, + "column": 37 + } + } + } + ], + "range": [ + 87407, + 87430 + ], + "loc": { + "start": { + "line": 2874, + "column": 15 + }, + "end": { + "line": 2874, + "column": 38 + } + } + }, + "right": { + "type": "Literal", + "value": "", + "raw": "''", + "range": [ + 87435, + 87437 + ], + "loc": { + "start": { + "line": 2874, + "column": 43 + }, + "end": { + "line": 2874, + "column": 45 + } + } + }, + "range": [ + 87407, + 87437 + ], + "loc": { + "start": { + "line": 2874, + "column": 15 + }, + "end": { + "line": 2874, + "column": 45 + } + } + }, + "range": [ + 87400, + 87438 + ], + "loc": { + "start": { + "line": 2874, + "column": 8 + }, + "end": { + "line": 2874, + "column": 46 + } + } + } + ], + "range": [ + 87345, + 87444 + ], + "loc": { + "start": { + "line": 2872, + "column": 29 + }, + "end": { + "line": 2875, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 87334, + 87444 + ], + "loc": { + "start": { + "line": 2872, + "column": 18 + }, + "end": { + "line": 2875, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 87320, + 87444 + ], + "loc": { + "start": { + "line": 2872, + "column": 4 + }, + "end": { + "line": 2875, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if passed row is visible\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 87199, + 87315 + ], + "loc": { + "start": { + "line": 2867, + "column": 4 + }, + "end": { + "line": 2871, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if specified column filter ignores diacritics.\n * Note this is only applicable to input filter types.\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 87450, + 87653 + ], + "loc": { + "start": { + "line": 2877, + "column": 4 + }, + "end": { + "line": 2882, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "ignoresDiacritics", + "range": [ + 87658, + 87675 + ], + "loc": { + "start": { + "line": 2883, + "column": 4 + }, + "end": { + "line": 2883, + "column": 21 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 87676, + 87684 + ], + "loc": { + "start": { + "line": 2883, + "column": 22 + }, + "end": { + "line": 2883, + "column": 30 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "ignoreDiac", + "range": [ + 87700, + 87710 + ], + "loc": { + "start": { + "line": 2884, + "column": 12 + }, + "end": { + "line": 2884, + "column": 22 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 87713, + 87717 + ], + "loc": { + "start": { + "line": 2884, + "column": 25 + }, + "end": { + "line": 2884, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "ignoreDiacritics", + "range": [ + 87718, + 87734 + ], + "loc": { + "start": { + "line": 2884, + "column": 30 + }, + "end": { + "line": 2884, + "column": 46 + } + } + }, + "range": [ + 87713, + 87734 + ], + "loc": { + "start": { + "line": 2884, + "column": 25 + }, + "end": { + "line": 2884, + "column": 46 + } + } + }, + "range": [ + 87700, + 87734 + ], + "loc": { + "start": { + "line": 2884, + "column": 12 + }, + "end": { + "line": 2884, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 87696, + 87735 + ], + "loc": { + "start": { + "line": 2884, + "column": 8 + }, + "end": { + "line": 2884, + "column": 47 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 87748, + 87755 + ], + "loc": { + "start": { + "line": 2885, + "column": 12 + }, + "end": { + "line": 2885, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ignoreDiac", + "range": [ + 87756, + 87766 + ], + "loc": { + "start": { + "line": 2885, + "column": 20 + }, + "end": { + "line": 2885, + "column": 30 + } + } + } + ], + "range": [ + 87748, + 87767 + ], + "loc": { + "start": { + "line": 2885, + "column": 12 + }, + "end": { + "line": 2885, + "column": 31 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "ignoreDiac", + "range": [ + 87790, + 87800 + ], + "loc": { + "start": { + "line": 2886, + "column": 19 + }, + "end": { + "line": 2886, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 87801, + 87809 + ], + "loc": { + "start": { + "line": 2886, + "column": 30 + }, + "end": { + "line": 2886, + "column": 38 + } + } + }, + "range": [ + 87790, + 87810 + ], + "loc": { + "start": { + "line": 2886, + "column": 19 + }, + "end": { + "line": 2886, + "column": 39 + } + } + }, + "range": [ + 87783, + 87811 + ], + "loc": { + "start": { + "line": 2886, + "column": 12 + }, + "end": { + "line": 2886, + "column": 40 + } + } + } + ], + "range": [ + 87769, + 87821 + ], + "loc": { + "start": { + "line": 2885, + "column": 33 + }, + "end": { + "line": 2887, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 87744, + 87821 + ], + "loc": { + "start": { + "line": 2885, + "column": 8 + }, + "end": { + "line": 2887, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "Boolean", + "range": [ + 87837, + 87844 + ], + "loc": { + "start": { + "line": 2888, + "column": 15 + }, + "end": { + "line": 2888, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "ignoreDiac", + "range": [ + 87845, + 87855 + ], + "loc": { + "start": { + "line": 2888, + "column": 23 + }, + "end": { + "line": 2888, + "column": 33 + } + } + } + ], + "range": [ + 87837, + 87856 + ], + "loc": { + "start": { + "line": 2888, + "column": 15 + }, + "end": { + "line": 2888, + "column": 34 + } + } + }, + "range": [ + 87830, + 87857 + ], + "loc": { + "start": { + "line": 2888, + "column": 8 + }, + "end": { + "line": 2888, + "column": 35 + } + } + } + ], + "range": [ + 87686, + 87863 + ], + "loc": { + "start": { + "line": 2883, + "column": 32 + }, + "end": { + "line": 2889, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 87675, + 87863 + ], + "loc": { + "start": { + "line": 2883, + "column": 21 + }, + "end": { + "line": 2889, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 87658, + 87863 + ], + "loc": { + "start": { + "line": 2883, + "column": 4 + }, + "end": { + "line": 2889, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if specified column filter ignores diacritics.\n * Note this is only applicable to input filter types.\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 87450, + 87653 + ], + "loc": { + "start": { + "line": 2877, + "column": 4 + }, + "end": { + "line": 2882, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return clear all text for specified filter column\n * @param {Number} colIndex Column index\n * @return {String}\n ", + "range": [ + 87869, + 88009 + ], + "loc": { + "start": { + "line": 2891, + "column": 4 + }, + "end": { + "line": 2895, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getClearFilterText", + "range": [ + 88014, + 88032 + ], + "loc": { + "start": { + "line": 2896, + "column": 4 + }, + "end": { + "line": 2896, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 88033, + 88041 + ], + "loc": { + "start": { + "line": 2896, + "column": 23 + }, + "end": { + "line": 2896, + "column": 31 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "clearText", + "range": [ + 88057, + 88066 + ], + "loc": { + "start": { + "line": 2897, + "column": 12 + }, + "end": { + "line": 2897, + "column": 21 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 88069, + 88073 + ], + "loc": { + "start": { + "line": 2897, + "column": 24 + }, + "end": { + "line": 2897, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "clearFilterText", + "range": [ + 88074, + 88089 + ], + "loc": { + "start": { + "line": 2897, + "column": 29 + }, + "end": { + "line": 2897, + "column": 44 + } + } + }, + "range": [ + 88069, + 88089 + ], + "loc": { + "start": { + "line": 2897, + "column": 24 + }, + "end": { + "line": 2897, + "column": 44 + } + } + }, + "range": [ + 88057, + 88089 + ], + "loc": { + "start": { + "line": 2897, + "column": 12 + }, + "end": { + "line": 2897, + "column": 44 + } + } + } + ], + "kind": "let", + "range": [ + 88053, + 88090 + ], + "loc": { + "start": { + "line": 2897, + "column": 8 + }, + "end": { + "line": 2897, + "column": 45 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isArray", + "range": [ + 88103, + 88110 + ], + "loc": { + "start": { + "line": 2898, + "column": 12 + }, + "end": { + "line": 2898, + "column": 19 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "clearText", + "range": [ + 88111, + 88120 + ], + "loc": { + "start": { + "line": 2898, + "column": 20 + }, + "end": { + "line": 2898, + "column": 29 + } + } + } + ], + "range": [ + 88103, + 88121 + ], + "loc": { + "start": { + "line": 2898, + "column": 12 + }, + "end": { + "line": 2898, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "clearText", + "range": [ + 88144, + 88153 + ], + "loc": { + "start": { + "line": 2899, + "column": 19 + }, + "end": { + "line": 2899, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 88154, + 88162 + ], + "loc": { + "start": { + "line": 2899, + "column": 29 + }, + "end": { + "line": 2899, + "column": 37 + } + } + }, + "range": [ + 88144, + 88163 + ], + "loc": { + "start": { + "line": 2899, + "column": 19 + }, + "end": { + "line": 2899, + "column": 38 + } + } + }, + "range": [ + 88137, + 88164 + ], + "loc": { + "start": { + "line": 2899, + "column": 12 + }, + "end": { + "line": 2899, + "column": 39 + } + } + } + ], + "range": [ + 88123, + 88174 + ], + "loc": { + "start": { + "line": 2898, + "column": 32 + }, + "end": { + "line": 2900, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 88099, + 88174 + ], + "loc": { + "start": { + "line": 2898, + "column": 8 + }, + "end": { + "line": 2900, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "clearText", + "range": [ + 88190, + 88199 + ], + "loc": { + "start": { + "line": 2901, + "column": 15 + }, + "end": { + "line": 2901, + "column": 24 + } + } + }, + "range": [ + 88183, + 88200 + ], + "loc": { + "start": { + "line": 2901, + "column": 8 + }, + "end": { + "line": 2901, + "column": 25 + } + } + } + ], + "range": [ + 88043, + 88206 + ], + "loc": { + "start": { + "line": 2896, + "column": 33 + }, + "end": { + "line": 2902, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 88032, + 88206 + ], + "loc": { + "start": { + "line": 2896, + "column": 22 + }, + "end": { + "line": 2902, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 88014, + 88206 + ], + "loc": { + "start": { + "line": 2896, + "column": 4 + }, + "end": { + "line": 2902, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return clear all text for specified filter column\n * @param {Number} colIndex Column index\n * @return {String}\n ", + "range": [ + 87869, + 88009 + ], + "loc": { + "start": { + "line": 2891, + "column": 4 + }, + "end": { + "line": 2895, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88212, + 88431 + ], + "loc": { + "start": { + "line": 2904, + "column": 4 + }, + "end": { + "line": 2909, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isImported", + "range": [ + 88436, + 88446 + ], + "loc": { + "start": { + "line": 2910, + "column": 4 + }, + "end": { + "line": 2910, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "filePath", + "range": [ + 88447, + 88455 + ], + "loc": { + "start": { + "line": 2910, + "column": 15 + }, + "end": { + "line": 2910, + "column": 23 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "type", + "range": [ + 88457, + 88461 + ], + "loc": { + "start": { + "line": 2910, + "column": 25 + }, + "end": { + "line": 2910, + "column": 29 + } + } + }, + "right": { + "type": "Literal", + "value": "script", + "raw": "'script'", + "range": [ + 88464, + 88472 + ], + "loc": { + "start": { + "line": 2910, + "column": 32 + }, + "end": { + "line": 2910, + "column": 40 + } + } + }, + "range": [ + 88457, + 88472 + ], + "loc": { + "start": { + "line": 2910, + "column": 25 + }, + "end": { + "line": 2910, + "column": 40 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "imported", + "range": [ + 88488, + 88496 + ], + "loc": { + "start": { + "line": 2911, + "column": 12 + }, + "end": { + "line": 2911, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 88499, + 88504 + ], + "loc": { + "start": { + "line": 2911, + "column": 23 + }, + "end": { + "line": 2911, + "column": 28 + } + } + }, + "range": [ + 88488, + 88504 + ], + "loc": { + "start": { + "line": 2911, + "column": 12 + }, + "end": { + "line": 2911, + "column": 28 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "attr", + "range": [ + 88518, + 88522 + ], + "loc": { + "start": { + "line": 2912, + "column": 12 + }, + "end": { + "line": 2912, + "column": 16 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "type", + "range": [ + 88525, + 88529 + ], + "loc": { + "start": { + "line": 2912, + "column": 19 + }, + "end": { + "line": 2912, + "column": 23 + } + } + }, + "right": { + "type": "Literal", + "value": "script", + "raw": "'script'", + "range": [ + 88534, + 88542 + ], + "loc": { + "start": { + "line": 2912, + "column": 28 + }, + "end": { + "line": 2912, + "column": 36 + } + } + }, + "range": [ + 88525, + 88542 + ], + "loc": { + "start": { + "line": 2912, + "column": 19 + }, + "end": { + "line": 2912, + "column": 36 + } + } + }, + "consequent": { + "type": "Literal", + "value": "src", + "raw": "'src'", + "range": [ + 88545, + 88550 + ], + "loc": { + "start": { + "line": 2912, + "column": 39 + }, + "end": { + "line": 2912, + "column": 44 + } + } + }, + "alternate": { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 88553, + 88559 + ], + "loc": { + "start": { + "line": 2912, + "column": 47 + }, + "end": { + "line": 2912, + "column": 53 + } + } + }, + "range": [ + 88525, + 88559 + ], + "loc": { + "start": { + "line": 2912, + "column": 19 + }, + "end": { + "line": 2912, + "column": 53 + } + } + }, + "range": [ + 88518, + 88559 + ], + "loc": { + "start": { + "line": 2912, + "column": 12 + }, + "end": { + "line": 2912, + "column": 53 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "files", + "range": [ + 88573, + 88578 + ], + "loc": { + "start": { + "line": 2913, + "column": 12 + }, + "end": { + "line": 2913, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 88581, + 88584 + ], + "loc": { + "start": { + "line": 2913, + "column": 20 + }, + "end": { + "line": 2913, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "doc", + "range": [ + 88585, + 88588 + ], + "loc": { + "start": { + "line": 2913, + "column": 24 + }, + "end": { + "line": 2913, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "type", + "range": [ + 88590, + 88594 + ], + "loc": { + "start": { + "line": 2913, + "column": 29 + }, + "end": { + "line": 2913, + "column": 33 + } + } + } + ], + "range": [ + 88581, + 88595 + ], + "loc": { + "start": { + "line": 2913, + "column": 20 + }, + "end": { + "line": 2913, + "column": 34 + } + } + }, + "range": [ + 88573, + 88595 + ], + "loc": { + "start": { + "line": 2913, + "column": 12 + }, + "end": { + "line": 2913, + "column": 34 + } + } + } + ], + "kind": "let", + "range": [ + 88484, + 88596 + ], + "loc": { + "start": { + "line": 2911, + "column": 8 + }, + "end": { + "line": 2913, + "column": 35 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "i", + "range": [ + 88614, + 88615 + ], + "loc": { + "start": { + "line": 2914, + "column": 17 + }, + "end": { + "line": 2914, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 88618, + 88619 + ], + "loc": { + "start": { + "line": 2914, + "column": 21 + }, + "end": { + "line": 2914, + "column": 22 + } + } + }, + "range": [ + 88614, + 88619 + ], + "loc": { + "start": { + "line": 2914, + "column": 17 + }, + "end": { + "line": 2914, + "column": 22 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "len", + "range": [ + 88621, + 88624 + ], + "loc": { + "start": { + "line": 2914, + "column": 24 + }, + "end": { + "line": 2914, + "column": 27 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "files", + "range": [ + 88627, + 88632 + ], + "loc": { + "start": { + "line": 2914, + "column": 30 + }, + "end": { + "line": 2914, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 88633, + 88639 + ], + "loc": { + "start": { + "line": 2914, + "column": 36 + }, + "end": { + "line": 2914, + "column": 42 + } + } + }, + "range": [ + 88627, + 88639 + ], + "loc": { + "start": { + "line": 2914, + "column": 30 + }, + "end": { + "line": 2914, + "column": 42 + } + } + }, + "range": [ + 88621, + 88639 + ], + "loc": { + "start": { + "line": 2914, + "column": 24 + }, + "end": { + "line": 2914, + "column": 42 + } + } + } + ], + "kind": "let", + "range": [ + 88610, + 88639 + ], + "loc": { + "start": { + "line": 2914, + "column": 13 + }, + "end": { + "line": 2914, + "column": 42 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "i", + "range": [ + 88641, + 88642 + ], + "loc": { + "start": { + "line": 2914, + "column": 44 + }, + "end": { + "line": 2914, + "column": 45 + } + } + }, + "right": { + "type": "Identifier", + "name": "len", + "range": [ + 88645, + 88648 + ], + "loc": { + "start": { + "line": 2914, + "column": 48 + }, + "end": { + "line": 2914, + "column": 51 + } + } + }, + "range": [ + 88641, + 88648 + ], + "loc": { + "start": { + "line": 2914, + "column": 44 + }, + "end": { + "line": 2914, + "column": 51 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "i", + "range": [ + 88650, + 88651 + ], + "loc": { + "start": { + "line": 2914, + "column": 53 + }, + "end": { + "line": 2914, + "column": 54 + } + } + }, + "prefix": false, + "range": [ + 88650, + 88653 + ], + "loc": { + "start": { + "line": 2914, + "column": 53 + }, + "end": { + "line": 2914, + "column": 56 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 88673, + 88680 + ], + "loc": { + "start": { + "line": 2915, + "column": 16 + }, + "end": { + "line": 2915, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "files", + "range": [ + 88681, + 88686 + ], + "loc": { + "start": { + "line": 2915, + "column": 24 + }, + "end": { + "line": 2915, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 88687, + 88688 + ], + "loc": { + "start": { + "line": 2915, + "column": 30 + }, + "end": { + "line": 2915, + "column": 31 + } + } + }, + "range": [ + 88681, + 88689 + ], + "loc": { + "start": { + "line": 2915, + "column": 24 + }, + "end": { + "line": 2915, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "attr", + "range": [ + 88690, + 88694 + ], + "loc": { + "start": { + "line": 2915, + "column": 33 + }, + "end": { + "line": 2915, + "column": 37 + } + } + }, + "range": [ + 88681, + 88695 + ], + "loc": { + "start": { + "line": 2915, + "column": 24 + }, + "end": { + "line": 2915, + "column": 38 + } + } + } + ], + "range": [ + 88673, + 88696 + ], + "loc": { + "start": { + "line": 2915, + "column": 16 + }, + "end": { + "line": 2915, + "column": 39 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 88716, + 88725 + ], + "loc": { + "start": { + "line": 2916, + "column": 16 + }, + "end": { + "line": 2916, + "column": 25 + } + } + } + ], + "range": [ + 88698, + 88739 + ], + "loc": { + "start": { + "line": 2915, + "column": 41 + }, + "end": { + "line": 2917, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 88669, + 88739 + ], + "loc": { + "start": { + "line": 2915, + "column": 12 + }, + "end": { + "line": 2917, + "column": 13 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "files", + "range": [ + 88756, + 88761 + ], + "loc": { + "start": { + "line": 2918, + "column": 16 + }, + "end": { + "line": 2918, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "i", + "range": [ + 88762, + 88763 + ], + "loc": { + "start": { + "line": 2918, + "column": 22 + }, + "end": { + "line": 2918, + "column": 23 + } + } + }, + "range": [ + 88756, + 88764 + ], + "loc": { + "start": { + "line": 2918, + "column": 16 + }, + "end": { + "line": 2918, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "attr", + "range": [ + 88765, + 88769 + ], + "loc": { + "start": { + "line": 2918, + "column": 25 + }, + "end": { + "line": 2918, + "column": 29 + } + } + }, + "range": [ + 88756, + 88770 + ], + "loc": { + "start": { + "line": 2918, + "column": 16 + }, + "end": { + "line": 2918, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "match", + "range": [ + 88771, + 88776 + ], + "loc": { + "start": { + "line": 2918, + "column": 31 + }, + "end": { + "line": 2918, + "column": 36 + } + } + }, + "range": [ + 88756, + 88776 + ], + "loc": { + "start": { + "line": 2918, + "column": 16 + }, + "end": { + "line": 2918, + "column": 36 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filePath", + "range": [ + 88777, + 88785 + ], + "loc": { + "start": { + "line": 2918, + "column": 37 + }, + "end": { + "line": 2918, + "column": 45 + } + } + } + ], + "range": [ + 88756, + 88786 + ], + "loc": { + "start": { + "line": 2918, + "column": 16 + }, + "end": { + "line": 2918, + "column": 46 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "imported", + "range": [ + 88806, + 88814 + ], + "loc": { + "start": { + "line": 2919, + "column": 16 + }, + "end": { + "line": 2919, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 88817, + 88821 + ], + "loc": { + "start": { + "line": 2919, + "column": 27 + }, + "end": { + "line": 2919, + "column": 31 + } + } + }, + "range": [ + 88806, + 88821 + ], + "loc": { + "start": { + "line": 2919, + "column": 16 + }, + "end": { + "line": 2919, + "column": 31 + } + } + }, + "range": [ + 88806, + 88822 + ], + "loc": { + "start": { + "line": 2919, + "column": 16 + }, + "end": { + "line": 2919, + "column": 32 + } + } + }, + { + "type": "BreakStatement", + "label": null, + "range": [ + 88839, + 88845 + ], + "loc": { + "start": { + "line": 2920, + "column": 16 + }, + "end": { + "line": 2920, + "column": 22 + } + } + } + ], + "range": [ + 88788, + 88859 + ], + "loc": { + "start": { + "line": 2918, + "column": 48 + }, + "end": { + "line": 2921, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 88752, + 88859 + ], + "loc": { + "start": { + "line": 2918, + "column": 12 + }, + "end": { + "line": 2921, + "column": 13 + } + } + } + ], + "range": [ + 88655, + 88869 + ], + "loc": { + "start": { + "line": 2914, + "column": 58 + }, + "end": { + "line": 2922, + "column": 9 + } + } + }, + "range": [ + 88605, + 88869 + ], + "loc": { + "start": { + "line": 2914, + "column": 8 + }, + "end": { + "line": 2922, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "imported", + "range": [ + 88885, + 88893 + ], + "loc": { + "start": { + "line": 2923, + "column": 15 + }, + "end": { + "line": 2923, + "column": 23 + } + } + }, + "range": [ + 88878, + 88894 + ], + "loc": { + "start": { + "line": 2923, + "column": 8 + }, + "end": { + "line": 2923, + "column": 24 + } + } + } + ], + "range": [ + 88474, + 88900 + ], + "loc": { + "start": { + "line": 2910, + "column": 42 + }, + "end": { + "line": 2924, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 88446, + 88900 + ], + "loc": { + "start": { + "line": 2910, + "column": 14 + }, + "end": { + "line": 2924, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 88436, + 88900 + ], + "loc": { + "start": { + "line": 2910, + "column": 4 + }, + "end": { + "line": 2924, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88212, + 88431 + ], + "loc": { + "start": { + "line": 2904, + "column": 4 + }, + "end": { + "line": 2909, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88906, + 89165 + ], + "loc": { + "start": { + "line": 2926, + "column": 4 + }, + "end": { + "line": 2932, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "import", + "range": [ + 89170, + 89176 + ], + "loc": { + "start": { + "line": 2933, + "column": 4 + }, + "end": { + "line": 2933, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "fileId", + "range": [ + 89177, + 89183 + ], + "loc": { + "start": { + "line": 2933, + "column": 11 + }, + "end": { + "line": 2933, + "column": 17 + } + } + }, + { + "type": "Identifier", + "name": "filePath", + "range": [ + 89185, + 89193 + ], + "loc": { + "start": { + "line": 2933, + "column": 19 + }, + "end": { + "line": 2933, + "column": 27 + } + } + }, + { + "type": "Identifier", + "name": "callback", + "range": [ + 89195, + 89203 + ], + "loc": { + "start": { + "line": 2933, + "column": 29 + }, + "end": { + "line": 2933, + "column": 37 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "type", + "range": [ + 89205, + 89209 + ], + "loc": { + "start": { + "line": 2933, + "column": 39 + }, + "end": { + "line": 2933, + "column": 43 + } + } + }, + "right": { + "type": "Literal", + "value": "script", + "raw": "'script'", + "range": [ + 89212, + 89220 + ], + "loc": { + "start": { + "line": 2933, + "column": 46 + }, + "end": { + "line": 2933, + "column": 54 + } + } + }, + "range": [ + 89205, + 89220 + ], + "loc": { + "start": { + "line": 2933, + "column": 39 + }, + "end": { + "line": 2933, + "column": 54 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 89236, + 89240 + ], + "loc": { + "start": { + "line": 2934, + "column": 12 + }, + "end": { + "line": 2934, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "isImported", + "range": [ + 89241, + 89251 + ], + "loc": { + "start": { + "line": 2934, + "column": 17 + }, + "end": { + "line": 2934, + "column": 27 + } + } + }, + "range": [ + 89236, + 89251 + ], + "loc": { + "start": { + "line": 2934, + "column": 12 + }, + "end": { + "line": 2934, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "filePath", + "range": [ + 89252, + 89260 + ], + "loc": { + "start": { + "line": 2934, + "column": 28 + }, + "end": { + "line": 2934, + "column": 36 + } + } + }, + { + "type": "Identifier", + "name": "type", + "range": [ + 89262, + 89266 + ], + "loc": { + "start": { + "line": 2934, + "column": 38 + }, + "end": { + "line": 2934, + "column": 42 + } + } + } + ], + "range": [ + 89236, + 89267 + ], + "loc": { + "start": { + "line": 2934, + "column": 12 + }, + "end": { + "line": 2934, + "column": 43 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": null, + "range": [ + 89283, + 89290 + ], + "loc": { + "start": { + "line": 2935, + "column": 12 + }, + "end": { + "line": 2935, + "column": 19 + } + } + } + ], + "range": [ + 89269, + 89300 + ], + "loc": { + "start": { + "line": 2934, + "column": 45 + }, + "end": { + "line": 2936, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 89232, + 89300 + ], + "loc": { + "start": { + "line": 2934, + "column": 8 + }, + "end": { + "line": 2936, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "o", + "range": [ + 89313, + 89314 + ], + "loc": { + "start": { + "line": 2937, + "column": 12 + }, + "end": { + "line": 2937, + "column": 13 + } + } + }, + "init": { + "type": "ThisExpression", + "range": [ + 89317, + 89321 + ], + "loc": { + "start": { + "line": 2937, + "column": 16 + }, + "end": { + "line": 2937, + "column": 20 + } + } + }, + "range": [ + 89313, + 89321 + ], + "loc": { + "start": { + "line": 2937, + "column": 12 + }, + "end": { + "line": 2937, + "column": 20 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isLoaded", + "range": [ + 89335, + 89343 + ], + "loc": { + "start": { + "line": 2938, + "column": 12 + }, + "end": { + "line": 2938, + "column": 20 + } + } + }, + "init": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 89346, + 89351 + ], + "loc": { + "start": { + "line": 2938, + "column": 23 + }, + "end": { + "line": 2938, + "column": 28 + } + } + }, + "range": [ + 89335, + 89351 + ], + "loc": { + "start": { + "line": 2938, + "column": 12 + }, + "end": { + "line": 2938, + "column": 28 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "file", + "range": [ + 89365, + 89369 + ], + "loc": { + "start": { + "line": 2939, + "column": 12 + }, + "end": { + "line": 2939, + "column": 16 + } + } + }, + "init": null, + "range": [ + 89365, + 89369 + ], + "loc": { + "start": { + "line": 2939, + "column": 12 + }, + "end": { + "line": 2939, + "column": 16 + } + } + }, + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "head", + "range": [ + 89383, + 89387 + ], + "loc": { + "start": { + "line": 2940, + "column": 12 + }, + "end": { + "line": 2940, + "column": 16 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 89390, + 89393 + ], + "loc": { + "start": { + "line": 2940, + "column": 19 + }, + "end": { + "line": 2940, + "column": 22 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "doc", + "range": [ + 89394, + 89397 + ], + "loc": { + "start": { + "line": 2940, + "column": 23 + }, + "end": { + "line": 2940, + "column": 26 + } + } + }, + { + "type": "Literal", + "value": "head", + "raw": "'head'", + "range": [ + 89399, + 89405 + ], + "loc": { + "start": { + "line": 2940, + "column": 28 + }, + "end": { + "line": 2940, + "column": 34 + } + } + } + ], + "range": [ + 89390, + 89406 + ], + "loc": { + "start": { + "line": 2940, + "column": 19 + }, + "end": { + "line": 2940, + "column": 35 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 89407, + 89408 + ], + "loc": { + "start": { + "line": 2940, + "column": 36 + }, + "end": { + "line": 2940, + "column": 37 + } + } + }, + "range": [ + 89390, + 89409 + ], + "loc": { + "start": { + "line": 2940, + "column": 19 + }, + "end": { + "line": 2940, + "column": 38 + } + } + }, + "range": [ + 89383, + 89409 + ], + "loc": { + "start": { + "line": 2940, + "column": 12 + }, + "end": { + "line": 2940, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 89309, + 89410 + ], + "loc": { + "start": { + "line": 2937, + "column": 8 + }, + "end": { + "line": 2940, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "type", + "range": [ + 89424, + 89428 + ], + "loc": { + "start": { + "line": 2942, + "column": 12 + }, + "end": { + "line": 2942, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "toLowerCase", + "range": [ + 89429, + 89440 + ], + "loc": { + "start": { + "line": 2942, + "column": 17 + }, + "end": { + "line": 2942, + "column": 28 + } + } + }, + "range": [ + 89424, + 89440 + ], + "loc": { + "start": { + "line": 2942, + "column": 12 + }, + "end": { + "line": 2942, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 89424, + 89442 + ], + "loc": { + "start": { + "line": 2942, + "column": 12 + }, + "end": { + "line": 2942, + "column": 30 + } + } + }, + "right": { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 89447, + 89453 + ], + "loc": { + "start": { + "line": 2942, + "column": 35 + }, + "end": { + "line": 2942, + "column": 41 + } + } + }, + "range": [ + 89424, + 89453 + ], + "loc": { + "start": { + "line": 2942, + "column": 12 + }, + "end": { + "line": 2942, + "column": 41 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "file", + "range": [ + 89469, + 89473 + ], + "loc": { + "start": { + "line": 2943, + "column": 12 + }, + "end": { + "line": 2943, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 89476, + 89485 + ], + "loc": { + "start": { + "line": 2943, + "column": 19 + }, + "end": { + "line": 2943, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "link", + "raw": "'link'", + "range": [ + 89486, + 89492 + ], + "loc": { + "start": { + "line": 2943, + "column": 29 + }, + "end": { + "line": 2943, + "column": 35 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 89511, + 89515 + ], + "loc": { + "start": { + "line": 2944, + "column": 17 + }, + "end": { + "line": 2944, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "fileId", + "range": [ + 89517, + 89523 + ], + "loc": { + "start": { + "line": 2944, + "column": 23 + }, + "end": { + "line": 2944, + "column": 29 + } + } + } + ], + "range": [ + 89510, + 89524 + ], + "loc": { + "start": { + "line": 2944, + "column": 16 + }, + "end": { + "line": 2944, + "column": 30 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 89527, + 89533 + ], + "loc": { + "start": { + "line": 2944, + "column": 33 + }, + "end": { + "line": 2944, + "column": 39 + } + } + }, + { + "type": "Literal", + "value": "text/css", + "raw": "'text/css'", + "range": [ + 89535, + 89545 + ], + "loc": { + "start": { + "line": 2944, + "column": 41 + }, + "end": { + "line": 2944, + "column": 51 + } + } + } + ], + "range": [ + 89526, + 89546 + ], + "loc": { + "start": { + "line": 2944, + "column": 32 + }, + "end": { + "line": 2944, + "column": 52 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "rel", + "raw": "'rel'", + "range": [ + 89565, + 89570 + ], + "loc": { + "start": { + "line": 2945, + "column": 17 + }, + "end": { + "line": 2945, + "column": 22 + } + } + }, + { + "type": "Literal", + "value": "stylesheet", + "raw": "'stylesheet'", + "range": [ + 89572, + 89584 + ], + "loc": { + "start": { + "line": 2945, + "column": 24 + }, + "end": { + "line": 2945, + "column": 36 + } + } + } + ], + "range": [ + 89564, + 89585 + ], + "loc": { + "start": { + "line": 2945, + "column": 16 + }, + "end": { + "line": 2945, + "column": 37 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "href", + "raw": "'href'", + "range": [ + 89588, + 89594 + ], + "loc": { + "start": { + "line": 2945, + "column": 40 + }, + "end": { + "line": 2945, + "column": 46 + } + } + }, + { + "type": "Identifier", + "name": "filePath", + "range": [ + 89596, + 89604 + ], + "loc": { + "start": { + "line": 2945, + "column": 48 + }, + "end": { + "line": 2945, + "column": 56 + } + } + } + ], + "range": [ + 89587, + 89605 + ], + "loc": { + "start": { + "line": 2945, + "column": 39 + }, + "end": { + "line": 2945, + "column": 57 + } + } + } + ], + "range": [ + 89476, + 89619 + ], + "loc": { + "start": { + "line": 2943, + "column": 19 + }, + "end": { + "line": 2946, + "column": 13 + } + } + }, + "range": [ + 89469, + 89619 + ], + "loc": { + "start": { + "line": 2943, + "column": 12 + }, + "end": { + "line": 2946, + "column": 13 + } + } + }, + "range": [ + 89469, + 89620 + ], + "loc": { + "start": { + "line": 2943, + "column": 12 + }, + "end": { + "line": 2946, + "column": 14 + } + } + } + ], + "range": [ + 89455, + 89630 + ], + "loc": { + "start": { + "line": 2942, + "column": 43 + }, + "end": { + "line": 2947, + "column": 9 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "file", + "range": [ + 89650, + 89654 + ], + "loc": { + "start": { + "line": 2948, + "column": 12 + }, + "end": { + "line": 2948, + "column": 16 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "createElm", + "range": [ + 89657, + 89666 + ], + "loc": { + "start": { + "line": 2948, + "column": 19 + }, + "end": { + "line": 2948, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "script", + "raw": "'script'", + "range": [ + 89667, + 89675 + ], + "loc": { + "start": { + "line": 2948, + "column": 29 + }, + "end": { + "line": 2948, + "column": 37 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "id", + "raw": "'id'", + "range": [ + 89694, + 89698 + ], + "loc": { + "start": { + "line": 2949, + "column": 17 + }, + "end": { + "line": 2949, + "column": 21 + } + } + }, + { + "type": "Identifier", + "name": "fileId", + "range": [ + 89700, + 89706 + ], + "loc": { + "start": { + "line": 2949, + "column": 23 + }, + "end": { + "line": 2949, + "column": 29 + } + } + } + ], + "range": [ + 89693, + 89707 + ], + "loc": { + "start": { + "line": 2949, + "column": 16 + }, + "end": { + "line": 2949, + "column": 30 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "type", + "raw": "'type'", + "range": [ + 89726, + 89732 + ], + "loc": { + "start": { + "line": 2950, + "column": 17 + }, + "end": { + "line": 2950, + "column": 23 + } + } + }, + { + "type": "Literal", + "value": "text/javascript", + "raw": "'text/javascript'", + "range": [ + 89734, + 89751 + ], + "loc": { + "start": { + "line": 2950, + "column": 25 + }, + "end": { + "line": 2950, + "column": 42 + } + } + } + ], + "range": [ + 89725, + 89752 + ], + "loc": { + "start": { + "line": 2950, + "column": 16 + }, + "end": { + "line": 2950, + "column": 43 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Literal", + "value": "src", + "raw": "'src'", + "range": [ + 89755, + 89760 + ], + "loc": { + "start": { + "line": 2950, + "column": 46 + }, + "end": { + "line": 2950, + "column": 51 + } + } + }, + { + "type": "Identifier", + "name": "filePath", + "range": [ + 89762, + 89770 + ], + "loc": { + "start": { + "line": 2950, + "column": 53 + }, + "end": { + "line": 2950, + "column": 61 + } + } + } + ], + "range": [ + 89754, + 89771 + ], + "loc": { + "start": { + "line": 2950, + "column": 45 + }, + "end": { + "line": 2950, + "column": 62 + } + } + } + ], + "range": [ + 89657, + 89785 + ], + "loc": { + "start": { + "line": 2948, + "column": 19 + }, + "end": { + "line": 2951, + "column": 13 + } + } + }, + "range": [ + 89650, + 89785 + ], + "loc": { + "start": { + "line": 2948, + "column": 12 + }, + "end": { + "line": 2951, + "column": 13 + } + } + }, + "range": [ + 89650, + 89786 + ], + "loc": { + "start": { + "line": 2948, + "column": 12 + }, + "end": { + "line": 2951, + "column": 14 + } + } + } + ], + "range": [ + 89636, + 89796 + ], + "loc": { + "start": { + "line": 2947, + "column": 15 + }, + "end": { + "line": 2952, + "column": 9 + } + } + }, + "range": [ + 89420, + 89796 + ], + "loc": { + "start": { + "line": 2942, + "column": 8 + }, + "end": { + "line": 2952, + "column": 9 + } + }, + "trailingComments": [ + { + "type": "Line", + "value": "Browser <> IE onload event works only for scripts, not for stylesheets", + "range": [ + 89806, + 89878 + ], + "loc": { + "start": { + "line": 2954, + "column": 8 + }, + "end": { + "line": 2954, + "column": 80 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "file", + "range": [ + 89887, + 89891 + ], + "loc": { + "start": { + "line": 2955, + "column": 8 + }, + "end": { + "line": 2955, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onload", + "range": [ + 89892, + 89898 + ], + "loc": { + "start": { + "line": 2955, + "column": 13 + }, + "end": { + "line": 2955, + "column": 19 + } + } + }, + "range": [ + 89887, + 89898 + ], + "loc": { + "start": { + "line": 2955, + "column": 8 + }, + "end": { + "line": 2955, + "column": 19 + } + } + }, + "right": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "file", + "range": [ + 89901, + 89905 + ], + "loc": { + "start": { + "line": 2955, + "column": 22 + }, + "end": { + "line": 2955, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "onreadystatechange", + "range": [ + 89906, + 89924 + ], + "loc": { + "start": { + "line": 2955, + "column": 27 + }, + "end": { + "line": 2955, + "column": 45 + } + } + }, + "range": [ + 89901, + 89924 + ], + "loc": { + "start": { + "line": 2955, + "column": 22 + }, + "end": { + "line": 2955, + "column": 45 + } + } + }, + "right": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "isLoaded", + "range": [ + 89952, + 89960 + ], + "loc": { + "start": { + "line": 2956, + "column": 17 + }, + "end": { + "line": 2956, + "column": 25 + } + } + }, + "prefix": true, + "range": [ + 89951, + 89960 + ], + "loc": { + "start": { + "line": 2956, + "column": 16 + }, + "end": { + "line": 2956, + "column": 25 + } + } + }, + "right": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 89982, + 89986 + ], + "loc": { + "start": { + "line": 2957, + "column": 18 + }, + "end": { + "line": 2957, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "name": "readyState", + "range": [ + 89987, + 89997 + ], + "loc": { + "start": { + "line": 2957, + "column": 23 + }, + "end": { + "line": 2957, + "column": 33 + } + } + }, + "range": [ + 89982, + 89997 + ], + "loc": { + "start": { + "line": 2957, + "column": 18 + }, + "end": { + "line": 2957, + "column": 33 + } + } + }, + "prefix": true, + "range": [ + 89981, + 89997 + ], + "loc": { + "start": { + "line": 2957, + "column": 17 + }, + "end": { + "line": 2957, + "column": 33 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 90001, + 90005 + ], + "loc": { + "start": { + "line": 2957, + "column": 37 + }, + "end": { + "line": 2957, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "readyState", + "range": [ + 90006, + 90016 + ], + "loc": { + "start": { + "line": 2957, + "column": 42 + }, + "end": { + "line": 2957, + "column": 52 + } + } + }, + "range": [ + 90001, + 90016 + ], + "loc": { + "start": { + "line": 2957, + "column": 37 + }, + "end": { + "line": 2957, + "column": 52 + } + } + }, + "right": { + "type": "Literal", + "value": "loaded", + "raw": "'loaded'", + "range": [ + 90021, + 90029 + ], + "loc": { + "start": { + "line": 2957, + "column": 57 + }, + "end": { + "line": 2957, + "column": 65 + } + } + }, + "range": [ + 90001, + 90029 + ], + "loc": { + "start": { + "line": 2957, + "column": 37 + }, + "end": { + "line": 2957, + "column": 65 + } + } + }, + "range": [ + 89981, + 90029 + ], + "loc": { + "start": { + "line": 2957, + "column": 17 + }, + "end": { + "line": 2957, + "column": 65 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 90053, + 90057 + ], + "loc": { + "start": { + "line": 2958, + "column": 20 + }, + "end": { + "line": 2958, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "readyState", + "range": [ + 90058, + 90068 + ], + "loc": { + "start": { + "line": 2958, + "column": 25 + }, + "end": { + "line": 2958, + "column": 35 + } + } + }, + "range": [ + 90053, + 90068 + ], + "loc": { + "start": { + "line": 2958, + "column": 20 + }, + "end": { + "line": 2958, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": "complete", + "raw": "'complete'", + "range": [ + 90073, + 90083 + ], + "loc": { + "start": { + "line": 2958, + "column": 40 + }, + "end": { + "line": 2958, + "column": 50 + } + } + }, + "range": [ + 90053, + 90083 + ], + "loc": { + "start": { + "line": 2958, + "column": 20 + }, + "end": { + "line": 2958, + "column": 50 + } + } + }, + "range": [ + 89981, + 90083 + ], + "loc": { + "start": { + "line": 2957, + "column": 17 + }, + "end": { + "line": 2958, + "column": 50 + } + } + }, + "range": [ + 89951, + 90084 + ], + "loc": { + "start": { + "line": 2956, + "column": 16 + }, + "end": { + "line": 2958, + "column": 51 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "isLoaded", + "range": [ + 90104, + 90112 + ], + "loc": { + "start": { + "line": 2959, + "column": 16 + }, + "end": { + "line": 2959, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 90115, + 90119 + ], + "loc": { + "start": { + "line": 2959, + "column": 27 + }, + "end": { + "line": 2959, + "column": 31 + } + } + }, + "range": [ + 90104, + 90119 + ], + "loc": { + "start": { + "line": 2959, + "column": 16 + }, + "end": { + "line": 2959, + "column": 31 + } + } + }, + "range": [ + 90104, + 90120 + ], + "loc": { + "start": { + "line": 2959, + "column": 16 + }, + "end": { + "line": 2959, + "column": 32 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "UnaryExpression", + "operator": "typeof", + "argument": { + "type": "Identifier", + "name": "callback", + "range": [ + 90148, + 90156 + ], + "loc": { + "start": { + "line": 2960, + "column": 27 + }, + "end": { + "line": 2960, + "column": 35 + } + } + }, + "prefix": true, + "range": [ + 90141, + 90156 + ], + "loc": { + "start": { + "line": 2960, + "column": 20 + }, + "end": { + "line": 2960, + "column": 35 + } + } + }, + "right": { + "type": "Literal", + "value": "function", + "raw": "'function'", + "range": [ + 90161, + 90171 + ], + "loc": { + "start": { + "line": 2960, + "column": 40 + }, + "end": { + "line": 2960, + "column": 50 + } + } + }, + "range": [ + 90141, + 90171 + ], + "loc": { + "start": { + "line": 2960, + "column": 20 + }, + "end": { + "line": 2960, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "callback", + "range": [ + 90195, + 90203 + ], + "loc": { + "start": { + "line": 2961, + "column": 20 + }, + "end": { + "line": 2961, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 90204, + 90208 + ], + "loc": { + "start": { + "line": 2961, + "column": 29 + }, + "end": { + "line": 2961, + "column": 33 + } + } + }, + "range": [ + 90195, + 90208 + ], + "loc": { + "start": { + "line": 2961, + "column": 20 + }, + "end": { + "line": 2961, + "column": 33 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 90209, + 90213 + ], + "loc": { + "start": { + "line": 2961, + "column": 34 + }, + "end": { + "line": 2961, + "column": 38 + } + } + }, + { + "type": "Identifier", + "name": "o", + "range": [ + 90215, + 90216 + ], + "loc": { + "start": { + "line": 2961, + "column": 40 + }, + "end": { + "line": 2961, + "column": 41 + } + } + } + ], + "range": [ + 90195, + 90217 + ], + "loc": { + "start": { + "line": 2961, + "column": 20 + }, + "end": { + "line": 2961, + "column": 42 + } + } + }, + "range": [ + 90195, + 90218 + ], + "loc": { + "start": { + "line": 2961, + "column": 20 + }, + "end": { + "line": 2961, + "column": 43 + } + } + } + ], + "range": [ + 90173, + 90236 + ], + "loc": { + "start": { + "line": 2960, + "column": 52 + }, + "end": { + "line": 2962, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 90137, + 90236 + ], + "loc": { + "start": { + "line": 2960, + "column": 16 + }, + "end": { + "line": 2962, + "column": 17 + } + } + } + ], + "range": [ + 90086, + 90250 + ], + "loc": { + "start": { + "line": 2958, + "column": 53 + }, + "end": { + "line": 2963, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 89947, + 90250 + ], + "loc": { + "start": { + "line": 2956, + "column": 12 + }, + "end": { + "line": 2963, + "column": 13 + } + } + } + ], + "range": [ + 89933, + 90260 + ], + "loc": { + "start": { + "line": 2955, + "column": 54 + }, + "end": { + "line": 2964, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 89927, + 90260 + ], + "loc": { + "start": { + "line": 2955, + "column": 48 + }, + "end": { + "line": 2964, + "column": 9 + } + } + }, + "range": [ + 89901, + 90260 + ], + "loc": { + "start": { + "line": 2955, + "column": 22 + }, + "end": { + "line": 2964, + "column": 9 + } + } + }, + "range": [ + 89887, + 90260 + ], + "loc": { + "start": { + "line": 2955, + "column": 8 + }, + "end": { + "line": 2964, + "column": 9 + } + } + }, + "range": [ + 89887, + 90261 + ], + "loc": { + "start": { + "line": 2955, + "column": 8 + }, + "end": { + "line": 2964, + "column": 10 + } + }, + "leadingComments": [ + { + "type": "Line", + "value": "Browser <> IE onload event works only for scripts, not for stylesheets", + "range": [ + 89806, + 89878 + ], + "loc": { + "start": { + "line": 2954, + "column": 8 + }, + "end": { + "line": 2954, + "column": 80 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "file", + "range": [ + 90270, + 90274 + ], + "loc": { + "start": { + "line": 2965, + "column": 8 + }, + "end": { + "line": 2965, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "onerror", + "range": [ + 90275, + 90282 + ], + "loc": { + "start": { + "line": 2965, + "column": 13 + }, + "end": { + "line": 2965, + "column": 20 + } + } + }, + "range": [ + 90270, + 90282 + ], + "loc": { + "start": { + "line": 2965, + "column": 8 + }, + "end": { + "line": 2965, + "column": 20 + } + } + }, + "right": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ThrowStatement", + "argument": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Error", + "range": [ + 90321, + 90326 + ], + "loc": { + "start": { + "line": 2966, + "column": 22 + }, + "end": { + "line": 2966, + "column": 27 + } + } + }, + "arguments": [ + { + "type": "TemplateLiteral", + "quasis": [ + { + "type": "TemplateElement", + "value": { + "raw": "TableFilter could not load: ", + "cooked": "TableFilter could not load: " + }, + "tail": false, + "range": [ + 90327, + 90358 + ], + "loc": { + "start": { + "line": 2966, + "column": 28 + }, + "end": { + "line": 2966, + "column": 59 + } + } + }, + { + "type": "TemplateElement", + "value": { + "raw": "", + "cooked": "" + }, + "tail": true, + "range": [ + 90366, + 90368 + ], + "loc": { + "start": { + "line": 2966, + "column": 67 + }, + "end": { + "line": 2966, + "column": 69 + } + } + } + ], + "expressions": [ + { + "type": "Identifier", + "name": "filePath", + "range": [ + 90358, + 90366 + ], + "loc": { + "start": { + "line": 2966, + "column": 59 + }, + "end": { + "line": 2966, + "column": 67 + } + } + } + ], + "range": [ + 90327, + 90368 + ], + "loc": { + "start": { + "line": 2966, + "column": 28 + }, + "end": { + "line": 2966, + "column": 69 + } + } + } + ], + "range": [ + 90317, + 90369 + ], + "loc": { + "start": { + "line": 2966, + "column": 18 + }, + "end": { + "line": 2966, + "column": 70 + } + } + }, + "range": [ + 90311, + 90370 + ], + "loc": { + "start": { + "line": 2966, + "column": 12 + }, + "end": { + "line": 2966, + "column": 71 + } + } + } + ], + "range": [ + 90297, + 90380 + ], + "loc": { + "start": { + "line": 2965, + "column": 35 + }, + "end": { + "line": 2967, + "column": 9 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 90285, + 90380 + ], + "loc": { + "start": { + "line": 2965, + "column": 23 + }, + "end": { + "line": 2967, + "column": 9 + } + } + }, + "range": [ + 90270, + 90380 + ], + "loc": { + "start": { + "line": 2965, + "column": 8 + }, + "end": { + "line": 2967, + "column": 9 + } + } + }, + "range": [ + 90270, + 90381 + ], + "loc": { + "start": { + "line": 2965, + "column": 8 + }, + "end": { + "line": 2967, + "column": 10 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "head", + "range": [ + 90390, + 90394 + ], + "loc": { + "start": { + "line": 2968, + "column": 8 + }, + "end": { + "line": 2968, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "appendChild", + "range": [ + 90395, + 90406 + ], + "loc": { + "start": { + "line": 2968, + "column": 13 + }, + "end": { + "line": 2968, + "column": 24 + } + } + }, + "range": [ + 90390, + 90406 + ], + "loc": { + "start": { + "line": 2968, + "column": 8 + }, + "end": { + "line": 2968, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "file", + "range": [ + 90407, + 90411 + ], + "loc": { + "start": { + "line": 2968, + "column": 25 + }, + "end": { + "line": 2968, + "column": 29 + } + } + } + ], + "range": [ + 90390, + 90412 + ], + "loc": { + "start": { + "line": 2968, + "column": 8 + }, + "end": { + "line": 2968, + "column": 30 + } + } + }, + "range": [ + 90390, + 90413 + ], + "loc": { + "start": { + "line": 2968, + "column": 8 + }, + "end": { + "line": 2968, + "column": 31 + } + } + } + ], + "range": [ + 89222, + 90419 + ], + "loc": { + "start": { + "line": 2933, + "column": 56 + }, + "end": { + "line": 2969, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 89176, + 90419 + ], + "loc": { + "start": { + "line": 2933, + "column": 10 + }, + "end": { + "line": 2969, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 89170, + 90419 + ], + "loc": { + "start": { + "line": 2933, + "column": 4 + }, + "end": { + "line": 2969, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88906, + 89165 + ], + "loc": { + "start": { + "line": 2926, + "column": 4 + }, + "end": { + "line": 2932, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check if table has filters grid\n * @return {Boolean}\n ", + "range": [ + 90425, + 90500 + ], + "loc": { + "start": { + "line": 2971, + "column": 4 + }, + "end": { + "line": 2974, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "isInitialized", + "range": [ + 90505, + 90518 + ], + "loc": { + "start": { + "line": 2975, + "column": 4 + }, + "end": { + "line": 2975, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 90538, + 90542 + ], + "loc": { + "start": { + "line": 2976, + "column": 15 + }, + "end": { + "line": 2976, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "initialized", + "range": [ + 90543, + 90554 + ], + "loc": { + "start": { + "line": 2976, + "column": 20 + }, + "end": { + "line": 2976, + "column": 31 + } + } + }, + "range": [ + 90538, + 90554 + ], + "loc": { + "start": { + "line": 2976, + "column": 15 + }, + "end": { + "line": 2976, + "column": 31 + } + } + }, + "range": [ + 90531, + 90555 + ], + "loc": { + "start": { + "line": 2976, + "column": 8 + }, + "end": { + "line": 2976, + "column": 32 + } + } + } + ], + "range": [ + 90521, + 90561 + ], + "loc": { + "start": { + "line": 2975, + "column": 20 + }, + "end": { + "line": 2977, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 90518, + 90561 + ], + "loc": { + "start": { + "line": 2975, + "column": 17 + }, + "end": { + "line": 2977, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 90505, + 90561 + ], + "loc": { + "start": { + "line": 2975, + "column": 4 + }, + "end": { + "line": 2977, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check if table has filters grid\n * @return {Boolean}\n ", + "range": [ + 90425, + 90500 + ], + "loc": { + "start": { + "line": 2971, + "column": 4 + }, + "end": { + "line": 2974, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get list of filter IDs\n * @return {Array} List of filters ids\n ", + "range": [ + 90567, + 90651 + ], + "loc": { + "start": { + "line": 2979, + "column": 4 + }, + "end": { + "line": 2982, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFiltersId", + "range": [ + 90656, + 90668 + ], + "loc": { + "start": { + "line": 2983, + "column": 4 + }, + "end": { + "line": 2983, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 90688, + 90692 + ], + "loc": { + "start": { + "line": 2984, + "column": 15 + }, + "end": { + "line": 2984, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "fltIds", + "range": [ + 90693, + 90699 + ], + "loc": { + "start": { + "line": 2984, + "column": 20 + }, + "end": { + "line": 2984, + "column": 26 + } + } + }, + "range": [ + 90688, + 90699 + ], + "loc": { + "start": { + "line": 2984, + "column": 15 + }, + "end": { + "line": 2984, + "column": 26 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 90703, + 90705 + ], + "loc": { + "start": { + "line": 2984, + "column": 30 + }, + "end": { + "line": 2984, + "column": 32 + } + } + }, + "range": [ + 90688, + 90705 + ], + "loc": { + "start": { + "line": 2984, + "column": 15 + }, + "end": { + "line": 2984, + "column": 32 + } + } + }, + "range": [ + 90681, + 90706 + ], + "loc": { + "start": { + "line": 2984, + "column": 8 + }, + "end": { + "line": 2984, + "column": 33 + } + } + } + ], + "range": [ + 90671, + 90712 + ], + "loc": { + "start": { + "line": 2983, + "column": 19 + }, + "end": { + "line": 2985, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 90668, + 90712 + ], + "loc": { + "start": { + "line": 2983, + "column": 16 + }, + "end": { + "line": 2985, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 90656, + 90712 + ], + "loc": { + "start": { + "line": 2983, + "column": 4 + }, + "end": { + "line": 2985, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get list of filter IDs\n * @return {Array} List of filters ids\n ", + "range": [ + 90567, + 90651 + ], + "loc": { + "start": { + "line": 2979, + "column": 4 + }, + "end": { + "line": 2982, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n ", + "range": [ + 90718, + 90894 + ], + "loc": { + "start": { + "line": 2987, + "column": 4 + }, + "end": { + "line": 2991, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 90899, + 90911 + ], + "loc": { + "start": { + "line": 2992, + "column": 4 + }, + "end": { + "line": 2992, + "column": 16 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "reCalc", + "range": [ + 90912, + 90918 + ], + "loc": { + "start": { + "line": 2992, + "column": 17 + }, + "end": { + "line": 2992, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "Identifier", + "name": "reCalc", + "range": [ + 90935, + 90941 + ], + "loc": { + "start": { + "line": 2993, + "column": 13 + }, + "end": { + "line": 2993, + "column": 19 + } + } + }, + "prefix": true, + "range": [ + 90934, + 90941 + ], + "loc": { + "start": { + "line": 2993, + "column": 12 + }, + "end": { + "line": 2993, + "column": 19 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 90964, + 90968 + ], + "loc": { + "start": { + "line": 2994, + "column": 19 + }, + "end": { + "line": 2994, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 90969, + 90983 + ], + "loc": { + "start": { + "line": 2994, + "column": 24 + }, + "end": { + "line": 2994, + "column": 38 + } + } + }, + "range": [ + 90964, + 90983 + ], + "loc": { + "start": { + "line": 2994, + "column": 19 + }, + "end": { + "line": 2994, + "column": 38 + } + } + }, + "range": [ + 90957, + 90984 + ], + "loc": { + "start": { + "line": 2994, + "column": 12 + }, + "end": { + "line": 2994, + "column": 39 + } + } + } + ], + "range": [ + 90943, + 90994 + ], + "loc": { + "start": { + "line": 2993, + "column": 21 + }, + "end": { + "line": 2995, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 90930, + 90994 + ], + "loc": { + "start": { + "line": 2993, + "column": 8 + }, + "end": { + "line": 2995, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 91008, + 91014 + ], + "loc": { + "start": { + "line": 2997, + "column": 12 + }, + "end": { + "line": 2997, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91017, + 91021 + ], + "loc": { + "start": { + "line": 2997, + "column": 21 + }, + "end": { + "line": 2997, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 91022, + 91031 + ], + "loc": { + "start": { + "line": 2997, + "column": 26 + }, + "end": { + "line": 2997, + "column": 35 + } + } + }, + "range": [ + 91017, + 91031 + ], + "loc": { + "start": { + "line": 2997, + "column": 21 + }, + "end": { + "line": 2997, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 91032, + 91036 + ], + "loc": { + "start": { + "line": 2997, + "column": 36 + }, + "end": { + "line": 2997, + "column": 40 + } + } + } + ], + "range": [ + 91017, + 91037 + ], + "loc": { + "start": { + "line": 2997, + "column": 21 + }, + "end": { + "line": 2997, + "column": 41 + } + } + }, + "range": [ + 91008, + 91037 + ], + "loc": { + "start": { + "line": 2997, + "column": 12 + }, + "end": { + "line": 2997, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 91004, + 91038 + ], + "loc": { + "start": { + "line": 2997, + "column": 8 + }, + "end": { + "line": 2997, + "column": 42 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91047, + 91051 + ], + "loc": { + "start": { + "line": 2998, + "column": 8 + }, + "end": { + "line": 2998, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 91052, + 91066 + ], + "loc": { + "start": { + "line": 2998, + "column": 13 + }, + "end": { + "line": 2998, + "column": 27 + } + } + }, + "range": [ + 91047, + 91066 + ], + "loc": { + "start": { + "line": 2998, + "column": 8 + }, + "end": { + "line": 2998, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 91069, + 91071 + ], + "loc": { + "start": { + "line": 2998, + "column": 30 + }, + "end": { + "line": 2998, + "column": 32 + } + } + }, + "range": [ + 91047, + 91071 + ], + "loc": { + "start": { + "line": 2998, + "column": 8 + }, + "end": { + "line": 2998, + "column": 32 + } + } + }, + "range": [ + 91047, + 91072 + ], + "loc": { + "start": { + "line": 2998, + "column": 8 + }, + "end": { + "line": 2998, + "column": 33 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "k", + "range": [ + 91090, + 91091 + ], + "loc": { + "start": { + "line": 2999, + "column": 17 + }, + "end": { + "line": 2999, + "column": 18 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91094, + 91098 + ], + "loc": { + "start": { + "line": 2999, + "column": 21 + }, + "end": { + "line": 2999, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 91099, + 91105 + ], + "loc": { + "start": { + "line": 2999, + "column": 26 + }, + "end": { + "line": 2999, + "column": 32 + } + } + }, + "range": [ + 91094, + 91105 + ], + "loc": { + "start": { + "line": 2999, + "column": 21 + }, + "end": { + "line": 2999, + "column": 32 + } + } + }, + "range": [ + 91090, + 91105 + ], + "loc": { + "start": { + "line": 2999, + "column": 17 + }, + "end": { + "line": 2999, + "column": 32 + } + } + } + ], + "kind": "let", + "range": [ + 91086, + 91105 + ], + "loc": { + "start": { + "line": 2999, + "column": 13 + }, + "end": { + "line": 2999, + "column": 32 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "k", + "range": [ + 91107, + 91108 + ], + "loc": { + "start": { + "line": 2999, + "column": 34 + }, + "end": { + "line": 2999, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 91111, + 91117 + ], + "loc": { + "start": { + "line": 2999, + "column": 38 + }, + "end": { + "line": 2999, + "column": 44 + } + } + }, + "range": [ + 91107, + 91117 + ], + "loc": { + "start": { + "line": 2999, + "column": 34 + }, + "end": { + "line": 2999, + "column": 44 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "k", + "range": [ + 91119, + 91120 + ], + "loc": { + "start": { + "line": 2999, + "column": 46 + }, + "end": { + "line": 2999, + "column": 47 + } + } + }, + "prefix": false, + "range": [ + 91119, + 91122 + ], + "loc": { + "start": { + "line": 2999, + "column": 46 + }, + "end": { + "line": 2999, + "column": 49 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "r", + "range": [ + 91142, + 91143 + ], + "loc": { + "start": { + "line": 3000, + "column": 16 + }, + "end": { + "line": 3000, + "column": 17 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91146, + 91150 + ], + "loc": { + "start": { + "line": 3000, + "column": 20 + }, + "end": { + "line": 3000, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 91151, + 91154 + ], + "loc": { + "start": { + "line": 3000, + "column": 25 + }, + "end": { + "line": 3000, + "column": 28 + } + } + }, + "range": [ + 91146, + 91154 + ], + "loc": { + "start": { + "line": 3000, + "column": 20 + }, + "end": { + "line": 3000, + "column": 28 + } + } + }, + "arguments": [], + "range": [ + 91146, + 91156 + ], + "loc": { + "start": { + "line": 3000, + "column": 20 + }, + "end": { + "line": 3000, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 91157, + 91161 + ], + "loc": { + "start": { + "line": 3000, + "column": 31 + }, + "end": { + "line": 3000, + "column": 35 + } + } + }, + "range": [ + 91146, + 91161 + ], + "loc": { + "start": { + "line": 3000, + "column": 20 + }, + "end": { + "line": 3000, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "k", + "range": [ + 91162, + 91163 + ], + "loc": { + "start": { + "line": 3000, + "column": 36 + }, + "end": { + "line": 3000, + "column": 37 + } + } + }, + "range": [ + 91146, + 91164 + ], + "loc": { + "start": { + "line": 3000, + "column": 20 + }, + "end": { + "line": 3000, + "column": 38 + } + } + }, + "range": [ + 91142, + 91164 + ], + "loc": { + "start": { + "line": 3000, + "column": 16 + }, + "end": { + "line": 3000, + "column": 38 + } + } + } + ], + "kind": "let", + "range": [ + 91138, + 91165 + ], + "loc": { + "start": { + "line": 3000, + "column": 12 + }, + "end": { + "line": 3000, + "column": 39 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "UnaryExpression", + "operator": "!", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91183, + 91187 + ], + "loc": { + "start": { + "line": 3001, + "column": 17 + }, + "end": { + "line": 3001, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "paging", + "range": [ + 91188, + 91194 + ], + "loc": { + "start": { + "line": 3001, + "column": 22 + }, + "end": { + "line": 3001, + "column": 28 + } + } + }, + "range": [ + 91183, + 91194 + ], + "loc": { + "start": { + "line": 3001, + "column": 17 + }, + "end": { + "line": 3001, + "column": 28 + } + } + }, + "prefix": true, + "range": [ + 91182, + 91194 + ], + "loc": { + "start": { + "line": 3001, + "column": 16 + }, + "end": { + "line": 3001, + "column": 28 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91218, + 91222 + ], + "loc": { + "start": { + "line": 3002, + "column": 20 + }, + "end": { + "line": 3002, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowDisplay", + "range": [ + 91223, + 91236 + ], + "loc": { + "start": { + "line": 3002, + "column": 25 + }, + "end": { + "line": 3002, + "column": 38 + } + } + }, + "range": [ + 91218, + 91236 + ], + "loc": { + "start": { + "line": 3002, + "column": 20 + }, + "end": { + "line": 3002, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "r", + "range": [ + 91237, + 91238 + ], + "loc": { + "start": { + "line": 3002, + "column": 39 + }, + "end": { + "line": 3002, + "column": 40 + } + } + } + ], + "range": [ + 91218, + 91239 + ], + "loc": { + "start": { + "line": 3002, + "column": 20 + }, + "end": { + "line": 3002, + "column": 41 + } + } + }, + "right": { + "type": "Identifier", + "name": "NONE", + "range": [ + 91244, + 91248 + ], + "loc": { + "start": { + "line": 3002, + "column": 46 + }, + "end": { + "line": 3002, + "column": 50 + } + } + }, + "range": [ + 91218, + 91248 + ], + "loc": { + "start": { + "line": 3002, + "column": 20 + }, + "end": { + "line": 3002, + "column": 50 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91272, + 91276 + ], + "loc": { + "start": { + "line": 3003, + "column": 20 + }, + "end": { + "line": 3003, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 91277, + 91291 + ], + "loc": { + "start": { + "line": 3003, + "column": 25 + }, + "end": { + "line": 3003, + "column": 39 + } + } + }, + "range": [ + 91272, + 91291 + ], + "loc": { + "start": { + "line": 3003, + "column": 20 + }, + "end": { + "line": 3003, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 91292, + 91296 + ], + "loc": { + "start": { + "line": 3003, + "column": 40 + }, + "end": { + "line": 3003, + "column": 44 + } + } + }, + "range": [ + 91272, + 91296 + ], + "loc": { + "start": { + "line": 3003, + "column": 20 + }, + "end": { + "line": 3003, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 91297, + 91298 + ], + "loc": { + "start": { + "line": 3003, + "column": 45 + }, + "end": { + "line": 3003, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 91299, + 91307 + ], + "loc": { + "start": { + "line": 3003, + "column": 47 + }, + "end": { + "line": 3003, + "column": 55 + } + } + }, + "range": [ + 91297, + 91307 + ], + "loc": { + "start": { + "line": 3003, + "column": 45 + }, + "end": { + "line": 3003, + "column": 55 + } + } + } + ], + "range": [ + 91272, + 91308 + ], + "loc": { + "start": { + "line": 3003, + "column": 20 + }, + "end": { + "line": 3003, + "column": 56 + } + } + }, + "range": [ + 91272, + 91309 + ], + "loc": { + "start": { + "line": 3003, + "column": 20 + }, + "end": { + "line": 3003, + "column": 57 + } + } + } + ], + "range": [ + 91250, + 91327 + ], + "loc": { + "start": { + "line": 3002, + "column": 52 + }, + "end": { + "line": 3004, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 91214, + 91327 + ], + "loc": { + "start": { + "line": 3002, + "column": 16 + }, + "end": { + "line": 3004, + "column": 17 + } + } + } + ], + "range": [ + 91196, + 91341 + ], + "loc": { + "start": { + "line": 3001, + "column": 30 + }, + "end": { + "line": 3005, + "column": 13 + } + } + }, + "alternate": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 91369, + 91370 + ], + "loc": { + "start": { + "line": 3006, + "column": 20 + }, + "end": { + "line": 3006, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 91371, + 91383 + ], + "loc": { + "start": { + "line": 3006, + "column": 22 + }, + "end": { + "line": 3006, + "column": 34 + } + } + }, + "range": [ + 91369, + 91383 + ], + "loc": { + "start": { + "line": 3006, + "column": 20 + }, + "end": { + "line": 3006, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "validRow", + "raw": "'validRow'", + "range": [ + 91384, + 91394 + ], + "loc": { + "start": { + "line": 3006, + "column": 35 + }, + "end": { + "line": 3006, + "column": 45 + } + } + } + ], + "range": [ + 91369, + 91395 + ], + "loc": { + "start": { + "line": 3006, + "column": 20 + }, + "end": { + "line": 3006, + "column": 46 + } + } + }, + "right": { + "type": "Literal", + "value": "true", + "raw": "'true'", + "range": [ + 91400, + 91406 + ], + "loc": { + "start": { + "line": 3006, + "column": 51 + }, + "end": { + "line": 3006, + "column": 57 + } + } + }, + "range": [ + 91369, + 91406 + ], + "loc": { + "start": { + "line": 3006, + "column": 20 + }, + "end": { + "line": 3006, + "column": 57 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 91430, + 91431 + ], + "loc": { + "start": { + "line": 3007, + "column": 20 + }, + "end": { + "line": 3007, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "name": "getAttribute", + "range": [ + 91432, + 91444 + ], + "loc": { + "start": { + "line": 3007, + "column": 22 + }, + "end": { + "line": 3007, + "column": 34 + } + } + }, + "range": [ + 91430, + 91444 + ], + "loc": { + "start": { + "line": 3007, + "column": 20 + }, + "end": { + "line": 3007, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "validRow", + "raw": "'validRow'", + "range": [ + 91445, + 91455 + ], + "loc": { + "start": { + "line": 3007, + "column": 35 + }, + "end": { + "line": 3007, + "column": 45 + } + } + } + ], + "range": [ + 91430, + 91456 + ], + "loc": { + "start": { + "line": 3007, + "column": 20 + }, + "end": { + "line": 3007, + "column": 46 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 91461, + 91465 + ], + "loc": { + "start": { + "line": 3007, + "column": 51 + }, + "end": { + "line": 3007, + "column": 55 + } + } + }, + "range": [ + 91430, + 91465 + ], + "loc": { + "start": { + "line": 3007, + "column": 20 + }, + "end": { + "line": 3007, + "column": 55 + } + } + }, + "range": [ + 91369, + 91465 + ], + "loc": { + "start": { + "line": 3006, + "column": 20 + }, + "end": { + "line": 3007, + "column": 55 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91489, + 91493 + ], + "loc": { + "start": { + "line": 3008, + "column": 20 + }, + "end": { + "line": 3008, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 91494, + 91508 + ], + "loc": { + "start": { + "line": 3008, + "column": 25 + }, + "end": { + "line": 3008, + "column": 39 + } + } + }, + "range": [ + 91489, + 91508 + ], + "loc": { + "start": { + "line": 3008, + "column": 20 + }, + "end": { + "line": 3008, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 91509, + 91513 + ], + "loc": { + "start": { + "line": 3008, + "column": 40 + }, + "end": { + "line": 3008, + "column": 44 + } + } + }, + "range": [ + 91489, + 91513 + ], + "loc": { + "start": { + "line": 3008, + "column": 20 + }, + "end": { + "line": 3008, + "column": 44 + } + } + }, + "arguments": [ + { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "r", + "range": [ + 91514, + 91515 + ], + "loc": { + "start": { + "line": 3008, + "column": 45 + }, + "end": { + "line": 3008, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIndex", + "range": [ + 91516, + 91524 + ], + "loc": { + "start": { + "line": 3008, + "column": 47 + }, + "end": { + "line": 3008, + "column": 55 + } + } + }, + "range": [ + 91514, + 91524 + ], + "loc": { + "start": { + "line": 3008, + "column": 45 + }, + "end": { + "line": 3008, + "column": 55 + } + } + } + ], + "range": [ + 91489, + 91525 + ], + "loc": { + "start": { + "line": 3008, + "column": 20 + }, + "end": { + "line": 3008, + "column": 56 + } + } + }, + "range": [ + 91489, + 91526 + ], + "loc": { + "start": { + "line": 3008, + "column": 20 + }, + "end": { + "line": 3008, + "column": 57 + } + } + } + ], + "range": [ + 91467, + 91544 + ], + "loc": { + "start": { + "line": 3007, + "column": 57 + }, + "end": { + "line": 3009, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 91365, + 91544 + ], + "loc": { + "start": { + "line": 3006, + "column": 16 + }, + "end": { + "line": 3009, + "column": 17 + } + } + } + ], + "range": [ + 91347, + 91558 + ], + "loc": { + "start": { + "line": 3005, + "column": 19 + }, + "end": { + "line": 3010, + "column": 13 + } + } + }, + "range": [ + 91178, + 91558 + ], + "loc": { + "start": { + "line": 3001, + "column": 12 + }, + "end": { + "line": 3010, + "column": 13 + } + } + } + ], + "range": [ + 91124, + 91568 + ], + "loc": { + "start": { + "line": 2999, + "column": 51 + }, + "end": { + "line": 3011, + "column": 9 + } + } + }, + "range": [ + 91081, + 91568 + ], + "loc": { + "start": { + "line": 2999, + "column": 8 + }, + "end": { + "line": 3011, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91584, + 91588 + ], + "loc": { + "start": { + "line": 3012, + "column": 15 + }, + "end": { + "line": 3012, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "validRowsIndex", + "range": [ + 91589, + 91603 + ], + "loc": { + "start": { + "line": 3012, + "column": 20 + }, + "end": { + "line": 3012, + "column": 34 + } + } + }, + "range": [ + 91584, + 91603 + ], + "loc": { + "start": { + "line": 3012, + "column": 15 + }, + "end": { + "line": 3012, + "column": 34 + } + } + }, + "range": [ + 91577, + 91604 + ], + "loc": { + "start": { + "line": 3012, + "column": 8 + }, + "end": { + "line": 3012, + "column": 35 + } + } + } + ], + "range": [ + 90920, + 91610 + ], + "loc": { + "start": { + "line": 2992, + "column": 25 + }, + "end": { + "line": 3013, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 90911, + 91610 + ], + "loc": { + "start": { + "line": 2992, + "column": 16 + }, + "end": { + "line": 3013, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 90899, + 91610 + ], + "loc": { + "start": { + "line": 2992, + "column": 4 + }, + "end": { + "line": 3013, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n ", + "range": [ + 90718, + 90894 + ], + "loc": { + "start": { + "line": 2987, + "column": 4 + }, + "end": { + "line": 2991, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the row containing the filters\n * @return {Number}\n ", + "range": [ + 91616, + 91706 + ], + "loc": { + "start": { + "line": 3015, + "column": 4 + }, + "end": { + "line": 3018, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFiltersRowIndex", + "range": [ + 91711, + 91729 + ], + "loc": { + "start": { + "line": 3019, + "column": 4 + }, + "end": { + "line": 3019, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91749, + 91753 + ], + "loc": { + "start": { + "line": 3020, + "column": 15 + }, + "end": { + "line": 3020, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filtersRowIndex", + "range": [ + 91754, + 91769 + ], + "loc": { + "start": { + "line": 3020, + "column": 20 + }, + "end": { + "line": 3020, + "column": 35 + } + } + }, + "range": [ + 91749, + 91769 + ], + "loc": { + "start": { + "line": 3020, + "column": 15 + }, + "end": { + "line": 3020, + "column": 35 + } + } + }, + "range": [ + 91742, + 91770 + ], + "loc": { + "start": { + "line": 3020, + "column": 8 + }, + "end": { + "line": 3020, + "column": 36 + } + } + } + ], + "range": [ + 91732, + 91776 + ], + "loc": { + "start": { + "line": 3019, + "column": 25 + }, + "end": { + "line": 3021, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 91729, + 91776 + ], + "loc": { + "start": { + "line": 3019, + "column": 22 + }, + "end": { + "line": 3021, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 91711, + 91776 + ], + "loc": { + "start": { + "line": 3019, + "column": 4 + }, + "end": { + "line": 3021, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the row containing the filters\n * @return {Number}\n ", + "range": [ + 91616, + 91706 + ], + "loc": { + "start": { + "line": 3015, + "column": 4 + }, + "end": { + "line": 3018, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the headers row\n * @return {Number}\n ", + "range": [ + 91782, + 91857 + ], + "loc": { + "start": { + "line": 3023, + "column": 4 + }, + "end": { + "line": 3026, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 91862, + 91880 + ], + "loc": { + "start": { + "line": 3027, + "column": 4 + }, + "end": { + "line": 3027, + "column": 22 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 91900, + 91904 + ], + "loc": { + "start": { + "line": 3028, + "column": 15 + }, + "end": { + "line": 3028, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "headersRow", + "range": [ + 91905, + 91915 + ], + "loc": { + "start": { + "line": 3028, + "column": 20 + }, + "end": { + "line": 3028, + "column": 30 + } + } + }, + "range": [ + 91900, + 91915 + ], + "loc": { + "start": { + "line": 3028, + "column": 15 + }, + "end": { + "line": 3028, + "column": 30 + } + } + }, + "range": [ + 91893, + 91916 + ], + "loc": { + "start": { + "line": 3028, + "column": 8 + }, + "end": { + "line": 3028, + "column": 31 + } + } + } + ], + "range": [ + 91883, + 91922 + ], + "loc": { + "start": { + "line": 3027, + "column": 25 + }, + "end": { + "line": 3029, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 91880, + 91922 + ], + "loc": { + "start": { + "line": 3027, + "column": 22 + }, + "end": { + "line": 3029, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 91862, + 91922 + ], + "loc": { + "start": { + "line": 3027, + "column": 4 + }, + "end": { + "line": 3029, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the headers row\n * @return {Number}\n ", + "range": [ + 91782, + 91857 + ], + "loc": { + "start": { + "line": 3023, + "column": 4 + }, + "end": { + "line": 3026, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n ", + "range": [ + 91928, + 92055 + ], + "loc": { + "start": { + "line": 3031, + "column": 4 + }, + "end": { + "line": 3035, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getStartRowIndex", + "range": [ + 92060, + 92076 + ], + "loc": { + "start": { + "line": 3036, + "column": 4 + }, + "end": { + "line": 3036, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 92096, + 92100 + ], + "loc": { + "start": { + "line": 3037, + "column": 15 + }, + "end": { + "line": 3037, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "refRow", + "range": [ + 92101, + 92107 + ], + "loc": { + "start": { + "line": 3037, + "column": 20 + }, + "end": { + "line": 3037, + "column": 26 + } + } + }, + "range": [ + 92096, + 92107 + ], + "loc": { + "start": { + "line": 3037, + "column": 15 + }, + "end": { + "line": 3037, + "column": 26 + } + } + }, + "range": [ + 92089, + 92108 + ], + "loc": { + "start": { + "line": 3037, + "column": 8 + }, + "end": { + "line": 3037, + "column": 27 + } + } + } + ], + "range": [ + 92079, + 92114 + ], + "loc": { + "start": { + "line": 3036, + "column": 23 + }, + "end": { + "line": 3038, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 92076, + 92114 + ], + "loc": { + "start": { + "line": 3036, + "column": 20 + }, + "end": { + "line": 3038, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 92060, + 92114 + ], + "loc": { + "start": { + "line": 3036, + "column": 4 + }, + "end": { + "line": 3038, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n ", + "range": [ + 91928, + 92055 + ], + "loc": { + "start": { + "line": 3031, + "column": 4 + }, + "end": { + "line": 3035, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the last row\n * @return {Number}\n ", + "range": [ + 92120, + 92192 + ], + "loc": { + "start": { + "line": 3040, + "column": 4 + }, + "end": { + "line": 3043, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getLastRowIndex", + "range": [ + 92197, + 92212 + ], + "loc": { + "start": { + "line": 3044, + "column": 4 + }, + "end": { + "line": 3044, + "column": 19 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 92229, + 92235 + ], + "loc": { + "start": { + "line": 3045, + "column": 12 + }, + "end": { + "line": 3045, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 92238, + 92242 + ], + "loc": { + "start": { + "line": 3045, + "column": 21 + }, + "end": { + "line": 3045, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 92243, + 92252 + ], + "loc": { + "start": { + "line": 3045, + "column": 26 + }, + "end": { + "line": 3045, + "column": 35 + } + } + }, + "range": [ + 92238, + 92252 + ], + "loc": { + "start": { + "line": 3045, + "column": 21 + }, + "end": { + "line": 3045, + "column": 35 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": true, + "raw": "true", + "range": [ + 92253, + 92257 + ], + "loc": { + "start": { + "line": 3045, + "column": 36 + }, + "end": { + "line": 3045, + "column": 40 + } + } + } + ], + "range": [ + 92238, + 92258 + ], + "loc": { + "start": { + "line": 3045, + "column": 21 + }, + "end": { + "line": 3045, + "column": 41 + } + } + }, + "range": [ + 92229, + 92258 + ], + "loc": { + "start": { + "line": 3045, + "column": 12 + }, + "end": { + "line": 3045, + "column": 41 + } + } + } + ], + "kind": "let", + "range": [ + 92225, + 92259 + ], + "loc": { + "start": { + "line": 3045, + "column": 8 + }, + "end": { + "line": 3045, + "column": 42 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "-", + "left": { + "type": "Identifier", + "name": "nbRows", + "range": [ + 92276, + 92282 + ], + "loc": { + "start": { + "line": 3046, + "column": 16 + }, + "end": { + "line": 3046, + "column": 22 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 92285, + 92286 + ], + "loc": { + "start": { + "line": 3046, + "column": 25 + }, + "end": { + "line": 3046, + "column": 26 + } + } + }, + "range": [ + 92276, + 92286 + ], + "loc": { + "start": { + "line": 3046, + "column": 16 + }, + "end": { + "line": 3046, + "column": 26 + } + } + }, + "range": [ + 92268, + 92288 + ], + "loc": { + "start": { + "line": 3046, + "column": 8 + }, + "end": { + "line": 3046, + "column": 28 + } + } + } + ], + "range": [ + 92215, + 92294 + ], + "loc": { + "start": { + "line": 3044, + "column": 22 + }, + "end": { + "line": 3047, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 92212, + 92294 + ], + "loc": { + "start": { + "line": 3044, + "column": 19 + }, + "end": { + "line": 3047, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 92197, + 92294 + ], + "loc": { + "start": { + "line": 3044, + "column": 4 + }, + "end": { + "line": 3047, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the index of the last row\n * @return {Number}\n ", + "range": [ + 92120, + 92192 + ], + "loc": { + "start": { + "line": 3040, + "column": 4 + }, + "end": { + "line": 3043, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @return {Boolean}\n ", + "range": [ + 92300, + 92509 + ], + "loc": { + "start": { + "line": 3049, + "column": 4 + }, + "end": { + "line": 3054, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "hasType", + "range": [ + 92514, + 92521 + ], + "loc": { + "start": { + "line": 3055, + "column": 4 + }, + "end": { + "line": 3055, + "column": 11 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 92522, + 92530 + ], + "loc": { + "start": { + "line": 3055, + "column": 12 + }, + "end": { + "line": 3055, + "column": 20 + } + } + }, + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "types", + "range": [ + 92532, + 92537 + ], + "loc": { + "start": { + "line": 3055, + "column": 22 + }, + "end": { + "line": 3055, + "column": 27 + } + } + }, + "right": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 92540, + 92542 + ], + "loc": { + "start": { + "line": 3055, + "column": 30 + }, + "end": { + "line": 3055, + "column": 32 + } + } + }, + "range": [ + 92532, + 92542 + ], + "loc": { + "start": { + "line": 3055, + "column": 22 + }, + "end": { + "line": 3055, + "column": 32 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 92558, + 92562 + ], + "loc": { + "start": { + "line": 3056, + "column": 12 + }, + "end": { + "line": 3056, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 92563, + 92571 + ], + "loc": { + "start": { + "line": 3056, + "column": 17 + }, + "end": { + "line": 3056, + "column": 25 + } + } + }, + "range": [ + 92558, + 92571 + ], + "loc": { + "start": { + "line": 3056, + "column": 12 + }, + "end": { + "line": 3056, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 92572, + 92578 + ], + "loc": { + "start": { + "line": 3056, + "column": 26 + }, + "end": { + "line": 3056, + "column": 32 + } + } + }, + "range": [ + 92558, + 92578 + ], + "loc": { + "start": { + "line": 3056, + "column": 12 + }, + "end": { + "line": 3056, + "column": 32 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 92583, + 92584 + ], + "loc": { + "start": { + "line": 3056, + "column": 37 + }, + "end": { + "line": 3056, + "column": 38 + } + } + }, + "range": [ + 92558, + 92584 + ], + "loc": { + "start": { + "line": 3056, + "column": 12 + }, + "end": { + "line": 3056, + "column": 38 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 92607, + 92612 + ], + "loc": { + "start": { + "line": 3057, + "column": 19 + }, + "end": { + "line": 3057, + "column": 24 + } + } + }, + "range": [ + 92600, + 92613 + ], + "loc": { + "start": { + "line": 3057, + "column": 12 + }, + "end": { + "line": 3057, + "column": 25 + } + } + } + ], + "range": [ + 92586, + 92623 + ], + "loc": { + "start": { + "line": 3056, + "column": 40 + }, + "end": { + "line": 3058, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 92554, + 92623 + ], + "loc": { + "start": { + "line": 3056, + "column": 8 + }, + "end": { + "line": 3058, + "column": 9 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 92636, + 92643 + ], + "loc": { + "start": { + "line": 3059, + "column": 12 + }, + "end": { + "line": 3059, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 92646, + 92650 + ], + "loc": { + "start": { + "line": 3059, + "column": 22 + }, + "end": { + "line": 3059, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 92651, + 92659 + ], + "loc": { + "start": { + "line": 3059, + "column": 27 + }, + "end": { + "line": 3059, + "column": 35 + } + } + }, + "range": [ + 92646, + 92659 + ], + "loc": { + "start": { + "line": 3059, + "column": 22 + }, + "end": { + "line": 3059, + "column": 35 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 92660, + 92668 + ], + "loc": { + "start": { + "line": 3059, + "column": 36 + }, + "end": { + "line": 3059, + "column": 44 + } + } + }, + "range": [ + 92646, + 92669 + ], + "loc": { + "start": { + "line": 3059, + "column": 22 + }, + "end": { + "line": 3059, + "column": 45 + } + } + }, + "range": [ + 92636, + 92669 + ], + "loc": { + "start": { + "line": 3059, + "column": 12 + }, + "end": { + "line": 3059, + "column": 45 + } + } + } + ], + "kind": "let", + "range": [ + 92632, + 92670 + ], + "loc": { + "start": { + "line": 3059, + "column": 8 + }, + "end": { + "line": 3059, + "column": 46 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isObj", + "range": [ + 92683, + 92688 + ], + "loc": { + "start": { + "line": 3060, + "column": 12 + }, + "end": { + "line": 3060, + "column": 17 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 92689, + 92696 + ], + "loc": { + "start": { + "line": 3060, + "column": 18 + }, + "end": { + "line": 3060, + "column": 25 + } + } + } + ], + "range": [ + 92683, + 92697 + ], + "loc": { + "start": { + "line": 3060, + "column": 12 + }, + "end": { + "line": 3060, + "column": 26 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "colType", + "range": [ + 92713, + 92720 + ], + "loc": { + "start": { + "line": 3061, + "column": 12 + }, + "end": { + "line": 3061, + "column": 19 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 92723, + 92730 + ], + "loc": { + "start": { + "line": 3061, + "column": 22 + }, + "end": { + "line": 3061, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "type", + "range": [ + 92731, + 92735 + ], + "loc": { + "start": { + "line": 3061, + "column": 30 + }, + "end": { + "line": 3061, + "column": 34 + } + } + }, + "range": [ + 92723, + 92735 + ], + "loc": { + "start": { + "line": 3061, + "column": 22 + }, + "end": { + "line": 3061, + "column": 34 + } + } + }, + "range": [ + 92713, + 92735 + ], + "loc": { + "start": { + "line": 3061, + "column": 12 + }, + "end": { + "line": 3061, + "column": 34 + } + } + }, + "range": [ + 92713, + 92736 + ], + "loc": { + "start": { + "line": 3061, + "column": 12 + }, + "end": { + "line": 3061, + "column": 35 + } + } + } + ], + "range": [ + 92699, + 92746 + ], + "loc": { + "start": { + "line": 3060, + "column": 28 + }, + "end": { + "line": 3062, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 92679, + 92746 + ], + "loc": { + "start": { + "line": 3060, + "column": 8 + }, + "end": { + "line": 3062, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "BinaryExpression", + "operator": "!==", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "types", + "range": [ + 92762, + 92767 + ], + "loc": { + "start": { + "line": 3063, + "column": 15 + }, + "end": { + "line": 3063, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "name": "indexOf", + "range": [ + 92768, + 92775 + ], + "loc": { + "start": { + "line": 3063, + "column": 21 + }, + "end": { + "line": 3063, + "column": 28 + } + } + }, + "range": [ + 92762, + 92775 + ], + "loc": { + "start": { + "line": 3063, + "column": 15 + }, + "end": { + "line": 3063, + "column": 28 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colType", + "range": [ + 92776, + 92783 + ], + "loc": { + "start": { + "line": 3063, + "column": 29 + }, + "end": { + "line": 3063, + "column": 36 + } + } + } + ], + "range": [ + 92762, + 92784 + ], + "loc": { + "start": { + "line": 3063, + "column": 15 + }, + "end": { + "line": 3063, + "column": 37 + } + } + }, + "right": { + "type": "UnaryExpression", + "operator": "-", + "argument": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 92790, + 92791 + ], + "loc": { + "start": { + "line": 3063, + "column": 43 + }, + "end": { + "line": 3063, + "column": 44 + } + } + }, + "prefix": true, + "range": [ + 92789, + 92791 + ], + "loc": { + "start": { + "line": 3063, + "column": 42 + }, + "end": { + "line": 3063, + "column": 44 + } + } + }, + "range": [ + 92762, + 92791 + ], + "loc": { + "start": { + "line": 3063, + "column": 15 + }, + "end": { + "line": 3063, + "column": 44 + } + } + }, + "range": [ + 92755, + 92792 + ], + "loc": { + "start": { + "line": 3063, + "column": 8 + }, + "end": { + "line": 3063, + "column": 45 + } + } + } + ], + "range": [ + 92544, + 92798 + ], + "loc": { + "start": { + "line": 3055, + "column": 34 + }, + "end": { + "line": 3064, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 92521, + 92798 + ], + "loc": { + "start": { + "line": 3055, + "column": 11 + }, + "end": { + "line": 3064, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 92514, + 92798 + ], + "loc": { + "start": { + "line": 3055, + "column": 4 + }, + "end": { + "line": 3064, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @return {Boolean}\n ", + "range": [ + 92300, + 92509 + ], + "loc": { + "start": { + "line": 3049, + "column": 4 + }, + "end": { + "line": 3054, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n ", + "range": [ + 92804, + 92945 + ], + "loc": { + "start": { + "line": 3066, + "column": 4 + }, + "end": { + "line": 3070, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 92950, + 92966 + ], + "loc": { + "start": { + "line": 3071, + "column": 4 + }, + "end": { + "line": 3071, + "column": 20 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 92967, + 92975 + ], + "loc": { + "start": { + "line": 3071, + "column": 21 + }, + "end": { + "line": 3071, + "column": 29 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "table", + "range": [ + 92991, + 92996 + ], + "loc": { + "start": { + "line": 3072, + "column": 12 + }, + "end": { + "line": 3072, + "column": 17 + } + } + }, + "init": { + "type": "ConditionalExpression", + "test": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 92999, + 93003 + ], + "loc": { + "start": { + "line": 3072, + "column": 20 + }, + "end": { + "line": 3072, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 93004, + 93014 + ], + "loc": { + "start": { + "line": 3072, + "column": 25 + }, + "end": { + "line": 3072, + "column": 35 + } + } + }, + "range": [ + 92999, + 93014 + ], + "loc": { + "start": { + "line": 3072, + "column": 20 + }, + "end": { + "line": 3072, + "column": 35 + } + } + }, + "consequent": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93017, + 93021 + ], + "loc": { + "start": { + "line": 3072, + "column": 38 + }, + "end": { + "line": 3072, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "Mod", + "range": [ + 93022, + 93025 + ], + "loc": { + "start": { + "line": 3072, + "column": 43 + }, + "end": { + "line": 3072, + "column": 46 + } + } + }, + "range": [ + 93017, + 93025 + ], + "loc": { + "start": { + "line": 3072, + "column": 38 + }, + "end": { + "line": 3072, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "name": "gridLayout", + "range": [ + 93026, + 93036 + ], + "loc": { + "start": { + "line": 3072, + "column": 47 + }, + "end": { + "line": 3072, + "column": 57 + } + } + }, + "range": [ + 93017, + 93036 + ], + "loc": { + "start": { + "line": 3072, + "column": 38 + }, + "end": { + "line": 3072, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "name": "headTbl", + "range": [ + 93037, + 93044 + ], + "loc": { + "start": { + "line": 3072, + "column": 58 + }, + "end": { + "line": 3072, + "column": 65 + } + } + }, + "range": [ + 93017, + 93044 + ], + "loc": { + "start": { + "line": 3072, + "column": 38 + }, + "end": { + "line": 3072, + "column": 65 + } + } + }, + "alternate": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93047, + 93051 + ], + "loc": { + "start": { + "line": 3072, + "column": 68 + }, + "end": { + "line": 3072, + "column": 72 + } + } + }, + "property": { + "type": "Identifier", + "name": "dom", + "range": [ + 93052, + 93055 + ], + "loc": { + "start": { + "line": 3072, + "column": 73 + }, + "end": { + "line": 3072, + "column": 76 + } + } + }, + "range": [ + 93047, + 93055 + ], + "loc": { + "start": { + "line": 3072, + "column": 68 + }, + "end": { + "line": 3072, + "column": 76 + } + } + }, + "arguments": [], + "range": [ + 93047, + 93057 + ], + "loc": { + "start": { + "line": 3072, + "column": 68 + }, + "end": { + "line": 3072, + "column": 78 + } + } + }, + "range": [ + 92999, + 93057 + ], + "loc": { + "start": { + "line": 3072, + "column": 20 + }, + "end": { + "line": 3072, + "column": 78 + } + } + }, + "range": [ + 92991, + 93057 + ], + "loc": { + "start": { + "line": 3072, + "column": 12 + }, + "end": { + "line": 3072, + "column": 78 + } + } + } + ], + "kind": "let", + "range": [ + 92987, + 93058 + ], + "loc": { + "start": { + "line": 3072, + "column": 8 + }, + "end": { + "line": 3072, + "column": 79 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "tHead", + "range": [ + 93071, + 93076 + ], + "loc": { + "start": { + "line": 3073, + "column": 12 + }, + "end": { + "line": 3073, + "column": 17 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "tag", + "range": [ + 93079, + 93082 + ], + "loc": { + "start": { + "line": 3073, + "column": 20 + }, + "end": { + "line": 3073, + "column": 23 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "table", + "range": [ + 93083, + 93088 + ], + "loc": { + "start": { + "line": 3073, + "column": 24 + }, + "end": { + "line": 3073, + "column": 29 + } + } + }, + { + "type": "Literal", + "value": "thead", + "raw": "'thead'", + "range": [ + 93090, + 93097 + ], + "loc": { + "start": { + "line": 3073, + "column": 31 + }, + "end": { + "line": 3073, + "column": 38 + } + } + } + ], + "range": [ + 93079, + 93098 + ], + "loc": { + "start": { + "line": 3073, + "column": 20 + }, + "end": { + "line": 3073, + "column": 39 + } + } + }, + "range": [ + 93071, + 93098 + ], + "loc": { + "start": { + "line": 3073, + "column": 12 + }, + "end": { + "line": 3073, + "column": 39 + } + } + } + ], + "kind": "let", + "range": [ + 93067, + 93099 + ], + "loc": { + "start": { + "line": 3073, + "column": 8 + }, + "end": { + "line": 3073, + "column": 40 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 93112, + 93118 + ], + "loc": { + "start": { + "line": 3074, + "column": 12 + }, + "end": { + "line": 3074, + "column": 18 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93121, + 93125 + ], + "loc": { + "start": { + "line": 3074, + "column": 21 + }, + "end": { + "line": 3074, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeadersRowIndex", + "range": [ + 93126, + 93144 + ], + "loc": { + "start": { + "line": 3074, + "column": 26 + }, + "end": { + "line": 3074, + "column": 44 + } + } + }, + "range": [ + 93121, + 93144 + ], + "loc": { + "start": { + "line": 3074, + "column": 21 + }, + "end": { + "line": 3074, + "column": 44 + } + } + }, + "arguments": [], + "range": [ + 93121, + 93146 + ], + "loc": { + "start": { + "line": 3074, + "column": 21 + }, + "end": { + "line": 3074, + "column": 46 + } + } + }, + "range": [ + 93112, + 93146 + ], + "loc": { + "start": { + "line": 3074, + "column": 12 + }, + "end": { + "line": 3074, + "column": 46 + } + } + } + ], + "kind": "let", + "range": [ + 93108, + 93147 + ], + "loc": { + "start": { + "line": 3074, + "column": 8 + }, + "end": { + "line": 3074, + "column": 47 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 93160, + 93166 + ], + "loc": { + "start": { + "line": 3075, + "column": 12 + }, + "end": { + "line": 3075, + "column": 18 + } + } + }, + "init": null, + "range": [ + 93160, + 93166 + ], + "loc": { + "start": { + "line": 3075, + "column": 12 + }, + "end": { + "line": 3075, + "column": 18 + } + } + } + ], + "kind": "let", + "range": [ + 93156, + 93167 + ], + "loc": { + "start": { + "line": 3075, + "column": 8 + }, + "end": { + "line": 3075, + "column": 19 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tHead", + "range": [ + 93180, + 93185 + ], + "loc": { + "start": { + "line": 3076, + "column": 12 + }, + "end": { + "line": 3076, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 93186, + 93192 + ], + "loc": { + "start": { + "line": 3076, + "column": 18 + }, + "end": { + "line": 3076, + "column": 24 + } + } + }, + "range": [ + 93180, + 93192 + ], + "loc": { + "start": { + "line": 3076, + "column": 12 + }, + "end": { + "line": 3076, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 93197, + 93198 + ], + "loc": { + "start": { + "line": 3076, + "column": 29 + }, + "end": { + "line": 3076, + "column": 30 + } + } + }, + "range": [ + 93180, + 93198 + ], + "loc": { + "start": { + "line": 3076, + "column": 12 + }, + "end": { + "line": 3076, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "header", + "range": [ + 93214, + 93220 + ], + "loc": { + "start": { + "line": 3077, + "column": 12 + }, + "end": { + "line": 3077, + "column": 18 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "table", + "range": [ + 93223, + 93228 + ], + "loc": { + "start": { + "line": 3077, + "column": 21 + }, + "end": { + "line": 3077, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 93229, + 93233 + ], + "loc": { + "start": { + "line": 3077, + "column": 27 + }, + "end": { + "line": 3077, + "column": 31 + } + } + }, + "range": [ + 93223, + 93233 + ], + "loc": { + "start": { + "line": 3077, + "column": 21 + }, + "end": { + "line": 3077, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 93234, + 93240 + ], + "loc": { + "start": { + "line": 3077, + "column": 32 + }, + "end": { + "line": 3077, + "column": 38 + } + } + }, + "range": [ + 93223, + 93241 + ], + "loc": { + "start": { + "line": 3077, + "column": 21 + }, + "end": { + "line": 3077, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 93242, + 93247 + ], + "loc": { + "start": { + "line": 3077, + "column": 40 + }, + "end": { + "line": 3077, + "column": 45 + } + } + }, + "range": [ + 93223, + 93247 + ], + "loc": { + "start": { + "line": 3077, + "column": 21 + }, + "end": { + "line": 3077, + "column": 45 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 93248, + 93256 + ], + "loc": { + "start": { + "line": 3077, + "column": 46 + }, + "end": { + "line": 3077, + "column": 54 + } + } + }, + "range": [ + 93223, + 93257 + ], + "loc": { + "start": { + "line": 3077, + "column": 21 + }, + "end": { + "line": 3077, + "column": 55 + } + } + }, + "range": [ + 93214, + 93257 + ], + "loc": { + "start": { + "line": 3077, + "column": 12 + }, + "end": { + "line": 3077, + "column": 55 + } + } + }, + "range": [ + 93214, + 93258 + ], + "loc": { + "start": { + "line": 3077, + "column": 12 + }, + "end": { + "line": 3077, + "column": 56 + } + } + } + ], + "range": [ + 93200, + 93268 + ], + "loc": { + "start": { + "line": 3076, + "column": 32 + }, + "end": { + "line": 3078, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 93176, + 93268 + ], + "loc": { + "start": { + "line": 3076, + "column": 8 + }, + "end": { + "line": 3078, + "column": 9 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "tHead", + "range": [ + 93281, + 93286 + ], + "loc": { + "start": { + "line": 3079, + "column": 12 + }, + "end": { + "line": 3079, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 93287, + 93293 + ], + "loc": { + "start": { + "line": 3079, + "column": 18 + }, + "end": { + "line": 3079, + "column": 24 + } + } + }, + "range": [ + 93281, + 93293 + ], + "loc": { + "start": { + "line": 3079, + "column": 12 + }, + "end": { + "line": 3079, + "column": 24 + } + } + }, + "right": { + "type": "Literal", + "value": 1, + "raw": "1", + "range": [ + 93298, + 93299 + ], + "loc": { + "start": { + "line": 3079, + "column": 29 + }, + "end": { + "line": 3079, + "column": 30 + } + } + }, + "range": [ + 93281, + 93299 + ], + "loc": { + "start": { + "line": 3079, + "column": 12 + }, + "end": { + "line": 3079, + "column": 30 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "header", + "range": [ + 93315, + 93321 + ], + "loc": { + "start": { + "line": 3080, + "column": 12 + }, + "end": { + "line": 3080, + "column": 18 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "Identifier", + "name": "tHead", + "range": [ + 93324, + 93329 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 26 + } + } + }, + "property": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 93330, + 93331 + ], + "loc": { + "start": { + "line": 3080, + "column": 27 + }, + "end": { + "line": 3080, + "column": 28 + } + } + }, + "range": [ + 93324, + 93332 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "rows", + "range": [ + 93333, + 93337 + ], + "loc": { + "start": { + "line": 3080, + "column": 30 + }, + "end": { + "line": 3080, + "column": 34 + } + } + }, + "range": [ + 93324, + 93337 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "name": "rowIdx", + "range": [ + 93338, + 93344 + ], + "loc": { + "start": { + "line": 3080, + "column": 35 + }, + "end": { + "line": 3080, + "column": 41 + } + } + }, + "range": [ + 93324, + 93345 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 42 + } + } + }, + "property": { + "type": "Identifier", + "name": "cells", + "range": [ + 93346, + 93351 + ], + "loc": { + "start": { + "line": 3080, + "column": 43 + }, + "end": { + "line": 3080, + "column": 48 + } + } + }, + "range": [ + 93324, + 93351 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 93352, + 93360 + ], + "loc": { + "start": { + "line": 3080, + "column": 49 + }, + "end": { + "line": 3080, + "column": 57 + } + } + }, + "range": [ + 93324, + 93361 + ], + "loc": { + "start": { + "line": 3080, + "column": 21 + }, + "end": { + "line": 3080, + "column": 58 + } + } + }, + "range": [ + 93315, + 93361 + ], + "loc": { + "start": { + "line": 3080, + "column": 12 + }, + "end": { + "line": 3080, + "column": 58 + } + } + }, + "range": [ + 93315, + 93362 + ], + "loc": { + "start": { + "line": 3080, + "column": 12 + }, + "end": { + "line": 3080, + "column": 59 + } + } + } + ], + "range": [ + 93301, + 93372 + ], + "loc": { + "start": { + "line": 3079, + "column": 32 + }, + "end": { + "line": 3081, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 93277, + 93372 + ], + "loc": { + "start": { + "line": 3079, + "column": 8 + }, + "end": { + "line": 3081, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "header", + "range": [ + 93388, + 93394 + ], + "loc": { + "start": { + "line": 3082, + "column": 15 + }, + "end": { + "line": 3082, + "column": 21 + } + } + }, + "range": [ + 93381, + 93395 + ], + "loc": { + "start": { + "line": 3082, + "column": 8 + }, + "end": { + "line": 3082, + "column": 22 + } + } + } + ], + "range": [ + 92977, + 93401 + ], + "loc": { + "start": { + "line": 3071, + "column": 31 + }, + "end": { + "line": 3083, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 92966, + 93401 + ], + "loc": { + "start": { + "line": 3071, + "column": 20 + }, + "end": { + "line": 3083, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 92950, + 93401 + ], + "loc": { + "start": { + "line": 3071, + "column": 4 + }, + "end": { + "line": 3083, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n ", + "range": [ + 92804, + 92945 + ], + "loc": { + "start": { + "line": 3066, + "column": 4 + }, + "end": { + "line": 3070, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n ", + "range": [ + 93407, + 93580 + ], + "loc": { + "start": { + "line": 3085, + "column": 4 + }, + "end": { + "line": 3089, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getHeadersText", + "range": [ + 93585, + 93599 + ], + "loc": { + "start": { + "line": 3090, + "column": 4 + }, + "end": { + "line": 3090, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 93600, + 93617 + ], + "loc": { + "start": { + "line": 3090, + "column": 19 + }, + "end": { + "line": 3090, + "column": 36 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 93620, + 93625 + ], + "loc": { + "start": { + "line": 3090, + "column": 39 + }, + "end": { + "line": 3090, + "column": 44 + } + } + }, + "range": [ + 93600, + 93625 + ], + "loc": { + "start": { + "line": 3090, + "column": 19 + }, + "end": { + "line": 3090, + "column": 44 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headers", + "range": [ + 93641, + 93648 + ], + "loc": { + "start": { + "line": 3091, + "column": 12 + }, + "end": { + "line": 3091, + "column": 19 + } + } + }, + "init": { + "type": "ArrayExpression", + "elements": [], + "range": [ + 93651, + 93653 + ], + "loc": { + "start": { + "line": 3091, + "column": 22 + }, + "end": { + "line": 3091, + "column": 24 + } + } + }, + "range": [ + 93641, + 93653 + ], + "loc": { + "start": { + "line": 3091, + "column": 12 + }, + "end": { + "line": 3091, + "column": 24 + } + } + } + ], + "kind": "let", + "range": [ + 93637, + 93654 + ], + "loc": { + "start": { + "line": 3091, + "column": 8 + }, + "end": { + "line": 3091, + "column": 25 + } + } + }, + { + "type": "ForStatement", + "init": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "j", + "range": [ + 93672, + 93673 + ], + "loc": { + "start": { + "line": 3092, + "column": 17 + }, + "end": { + "line": 3092, + "column": 18 + } + } + }, + "init": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 93676, + 93677 + ], + "loc": { + "start": { + "line": 3092, + "column": 21 + }, + "end": { + "line": 3092, + "column": 22 + } + } + }, + "range": [ + 93672, + 93677 + ], + "loc": { + "start": { + "line": 3092, + "column": 17 + }, + "end": { + "line": 3092, + "column": 22 + } + } + } + ], + "kind": "let", + "range": [ + 93668, + 93677 + ], + "loc": { + "start": { + "line": 3092, + "column": 13 + }, + "end": { + "line": 3092, + "column": 22 + } + } + }, + "test": { + "type": "BinaryExpression", + "operator": "<", + "left": { + "type": "Identifier", + "name": "j", + "range": [ + 93679, + 93680 + ], + "loc": { + "start": { + "line": 3092, + "column": 24 + }, + "end": { + "line": 3092, + "column": 25 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93683, + 93687 + ], + "loc": { + "start": { + "line": 3092, + "column": 28 + }, + "end": { + "line": 3092, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "name": "nbCells", + "range": [ + 93688, + 93695 + ], + "loc": { + "start": { + "line": 3092, + "column": 33 + }, + "end": { + "line": 3092, + "column": 40 + } + } + }, + "range": [ + 93683, + 93695 + ], + "loc": { + "start": { + "line": 3092, + "column": 28 + }, + "end": { + "line": 3092, + "column": 40 + } + } + }, + "range": [ + 93679, + 93695 + ], + "loc": { + "start": { + "line": 3092, + "column": 24 + }, + "end": { + "line": 3092, + "column": 40 + } + } + }, + "update": { + "type": "UpdateExpression", + "operator": "++", + "argument": { + "type": "Identifier", + "name": "j", + "range": [ + 93697, + 93698 + ], + "loc": { + "start": { + "line": 3092, + "column": 42 + }, + "end": { + "line": 3092, + "column": 43 + } + } + }, + "prefix": false, + "range": [ + 93697, + 93700 + ], + "loc": { + "start": { + "line": 3092, + "column": 42 + }, + "end": { + "line": 3092, + "column": 45 + } + } + }, + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "LogicalExpression", + "operator": "&&", + "left": { + "type": "Identifier", + "name": "excludeHiddenCols", + "range": [ + 93720, + 93737 + ], + "loc": { + "start": { + "line": 3093, + "column": 16 + }, + "end": { + "line": 3093, + "column": 33 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93741, + 93745 + ], + "loc": { + "start": { + "line": 3093, + "column": 37 + }, + "end": { + "line": 3093, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasExtension", + "range": [ + 93746, + 93758 + ], + "loc": { + "start": { + "line": 3093, + "column": 42 + }, + "end": { + "line": 3093, + "column": 54 + } + } + }, + "range": [ + 93741, + 93758 + ], + "loc": { + "start": { + "line": 3093, + "column": 37 + }, + "end": { + "line": 3093, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 93759, + 93775 + ], + "loc": { + "start": { + "line": 3093, + "column": 55 + }, + "end": { + "line": 3093, + "column": 71 + } + } + } + ], + "range": [ + 93741, + 93776 + ], + "loc": { + "start": { + "line": 3093, + "column": 37 + }, + "end": { + "line": 3093, + "column": 72 + } + } + }, + "range": [ + 93720, + 93776 + ], + "loc": { + "start": { + "line": 3093, + "column": 16 + }, + "end": { + "line": 3093, + "column": 72 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93800, + 93804 + ], + "loc": { + "start": { + "line": 3094, + "column": 20 + }, + "end": { + "line": 3094, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "name": "extension", + "range": [ + 93805, + 93814 + ], + "loc": { + "start": { + "line": 3094, + "column": 25 + }, + "end": { + "line": 3094, + "column": 34 + } + } + }, + "range": [ + 93800, + 93814 + ], + "loc": { + "start": { + "line": 3094, + "column": 20 + }, + "end": { + "line": 3094, + "column": 34 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "colsVisibility", + "raw": "'colsVisibility'", + "range": [ + 93815, + 93831 + ], + "loc": { + "start": { + "line": 3094, + "column": 35 + }, + "end": { + "line": 3094, + "column": 51 + } + } + } + ], + "range": [ + 93800, + 93832 + ], + "loc": { + "start": { + "line": 3094, + "column": 20 + }, + "end": { + "line": 3094, + "column": 52 + } + } + }, + "property": { + "type": "Identifier", + "name": "isColHidden", + "range": [ + 93833, + 93844 + ], + "loc": { + "start": { + "line": 3094, + "column": 53 + }, + "end": { + "line": 3094, + "column": 64 + } + } + }, + "range": [ + 93800, + 93844 + ], + "loc": { + "start": { + "line": 3094, + "column": 20 + }, + "end": { + "line": 3094, + "column": 64 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "j", + "range": [ + 93845, + 93846 + ], + "loc": { + "start": { + "line": 3094, + "column": 65 + }, + "end": { + "line": 3094, + "column": 66 + } + } + } + ], + "range": [ + 93800, + 93847 + ], + "loc": { + "start": { + "line": 3094, + "column": 20 + }, + "end": { + "line": 3094, + "column": 67 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ContinueStatement", + "label": null, + "range": [ + 93871, + 93880 + ], + "loc": { + "start": { + "line": 3095, + "column": 20 + }, + "end": { + "line": 3095, + "column": 29 + } + } + } + ], + "range": [ + 93849, + 93898 + ], + "loc": { + "start": { + "line": 3094, + "column": 69 + }, + "end": { + "line": 3096, + "column": 17 + } + } + }, + "alternate": null, + "range": [ + 93796, + 93898 + ], + "loc": { + "start": { + "line": 3094, + "column": 16 + }, + "end": { + "line": 3096, + "column": 17 + } + } + } + ], + "range": [ + 93778, + 93912 + ], + "loc": { + "start": { + "line": 3093, + "column": 74 + }, + "end": { + "line": 3097, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 93716, + 93912 + ], + "loc": { + "start": { + "line": 3093, + "column": 12 + }, + "end": { + "line": 3097, + "column": 13 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "header", + "range": [ + 93929, + 93935 + ], + "loc": { + "start": { + "line": 3098, + "column": 16 + }, + "end": { + "line": 3098, + "column": 22 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 93938, + 93942 + ], + "loc": { + "start": { + "line": 3098, + "column": 25 + }, + "end": { + "line": 3098, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "getHeaderElement", + "range": [ + 93943, + 93959 + ], + "loc": { + "start": { + "line": 3098, + "column": 30 + }, + "end": { + "line": 3098, + "column": 46 + } + } + }, + "range": [ + 93938, + 93959 + ], + "loc": { + "start": { + "line": 3098, + "column": 25 + }, + "end": { + "line": 3098, + "column": 46 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "j", + "range": [ + 93960, + 93961 + ], + "loc": { + "start": { + "line": 3098, + "column": 47 + }, + "end": { + "line": 3098, + "column": 48 + } + } + } + ], + "range": [ + 93938, + 93962 + ], + "loc": { + "start": { + "line": 3098, + "column": 25 + }, + "end": { + "line": 3098, + "column": 49 + } + } + }, + "range": [ + 93929, + 93962 + ], + "loc": { + "start": { + "line": 3098, + "column": 16 + }, + "end": { + "line": 3098, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 93925, + 93963 + ], + "loc": { + "start": { + "line": 3098, + "column": 12 + }, + "end": { + "line": 3098, + "column": 50 + } + } + }, + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "headerText", + "range": [ + 93980, + 93990 + ], + "loc": { + "start": { + "line": 3099, + "column": 16 + }, + "end": { + "line": 3099, + "column": 26 + } + } + }, + "init": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "getFirstTextNode", + "range": [ + 93993, + 94009 + ], + "loc": { + "start": { + "line": 3099, + "column": 29 + }, + "end": { + "line": 3099, + "column": 45 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "header", + "range": [ + 94010, + 94016 + ], + "loc": { + "start": { + "line": 3099, + "column": 46 + }, + "end": { + "line": 3099, + "column": 52 + } + } + } + ], + "range": [ + 93993, + 94017 + ], + "loc": { + "start": { + "line": 3099, + "column": 29 + }, + "end": { + "line": 3099, + "column": 53 + } + } + }, + "range": [ + 93980, + 94017 + ], + "loc": { + "start": { + "line": 3099, + "column": 16 + }, + "end": { + "line": 3099, + "column": 53 + } + } + } + ], + "kind": "let", + "range": [ + 93976, + 94018 + ], + "loc": { + "start": { + "line": 3099, + "column": 12 + }, + "end": { + "line": 3099, + "column": 54 + } + } + }, + { + "type": "ExpressionStatement", + "expression": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "headers", + "range": [ + 94031, + 94038 + ], + "loc": { + "start": { + "line": 3100, + "column": 12 + }, + "end": { + "line": 3100, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "push", + "range": [ + 94039, + 94043 + ], + "loc": { + "start": { + "line": 3100, + "column": 20 + }, + "end": { + "line": 3100, + "column": 24 + } + } + }, + "range": [ + 94031, + 94043 + ], + "loc": { + "start": { + "line": 3100, + "column": 12 + }, + "end": { + "line": 3100, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "headerText", + "range": [ + 94044, + 94054 + ], + "loc": { + "start": { + "line": 3100, + "column": 25 + }, + "end": { + "line": 3100, + "column": 35 + } + } + } + ], + "range": [ + 94031, + 94055 + ], + "loc": { + "start": { + "line": 3100, + "column": 12 + }, + "end": { + "line": 3100, + "column": 36 + } + } + }, + "range": [ + 94031, + 94056 + ], + "loc": { + "start": { + "line": 3100, + "column": 12 + }, + "end": { + "line": 3100, + "column": 37 + } + } + } + ], + "range": [ + 93702, + 94066 + ], + "loc": { + "start": { + "line": 3092, + "column": 47 + }, + "end": { + "line": 3101, + "column": 9 + } + } + }, + "range": [ + 93663, + 94066 + ], + "loc": { + "start": { + "line": 3092, + "column": 8 + }, + "end": { + "line": 3101, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "headers", + "range": [ + 94082, + 94089 + ], + "loc": { + "start": { + "line": 3102, + "column": 15 + }, + "end": { + "line": 3102, + "column": 22 + } + } + }, + "range": [ + 94075, + 94090 + ], + "loc": { + "start": { + "line": 3102, + "column": 8 + }, + "end": { + "line": 3102, + "column": 23 + } + } + } + ], + "range": [ + 93627, + 94096 + ], + "loc": { + "start": { + "line": 3090, + "column": 46 + }, + "end": { + "line": 3103, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 93599, + 94096 + ], + "loc": { + "start": { + "line": 3090, + "column": 18 + }, + "end": { + "line": 3103, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 93585, + 94096 + ], + "loc": { + "start": { + "line": 3090, + "column": 4 + }, + "end": { + "line": 3103, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n ", + "range": [ + 93407, + 93580 + ], + "loc": { + "start": { + "line": 3085, + "column": 4 + }, + "end": { + "line": 3089, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", + "range": [ + 94102, + 94238 + ], + "loc": { + "start": { + "line": 3105, + "column": 4 + }, + "end": { + "line": 3109, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilterType", + "range": [ + 94243, + 94256 + ], + "loc": { + "start": { + "line": 3110, + "column": 4 + }, + "end": { + "line": 3110, + "column": 17 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 94257, + 94265 + ], + "loc": { + "start": { + "line": 3110, + "column": 18 + }, + "end": { + "line": 3110, + "column": 26 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 94284, + 94288 + ], + "loc": { + "start": { + "line": 3111, + "column": 15 + }, + "end": { + "line": 3111, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "filterTypes", + "range": [ + 94289, + 94300 + ], + "loc": { + "start": { + "line": 3111, + "column": 20 + }, + "end": { + "line": 3111, + "column": 31 + } + } + }, + "range": [ + 94284, + 94300 + ], + "loc": { + "start": { + "line": 3111, + "column": 15 + }, + "end": { + "line": 3111, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 94301, + 94309 + ], + "loc": { + "start": { + "line": 3111, + "column": 32 + }, + "end": { + "line": 3111, + "column": 40 + } + } + }, + "range": [ + 94284, + 94310 + ], + "loc": { + "start": { + "line": 3111, + "column": 15 + }, + "end": { + "line": 3111, + "column": 41 + } + } + }, + "range": [ + 94277, + 94311 + ], + "loc": { + "start": { + "line": 3111, + "column": 8 + }, + "end": { + "line": 3111, + "column": 42 + } + } + } + ], + "range": [ + 94267, + 94317 + ], + "loc": { + "start": { + "line": 3110, + "column": 28 + }, + "end": { + "line": 3112, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 94256, + 94317 + ], + "loc": { + "start": { + "line": 3110, + "column": 17 + }, + "end": { + "line": 3112, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 94243, + 94317 + ], + "loc": { + "start": { + "line": 3110, + "column": 4 + }, + "end": { + "line": 3112, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", + "range": [ + 94102, + 94238 + ], + "loc": { + "start": { + "line": 3105, + "column": 4 + }, + "end": { + "line": 3109, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", + "range": [ + 94323, + 94405 + ], + "loc": { + "start": { + "line": 3114, + "column": 4 + }, + "end": { + "line": 3117, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getFilterableRowsNb", + "range": [ + 94410, + 94429 + ], + "loc": { + "start": { + "line": 3118, + "column": 4 + }, + "end": { + "line": 3118, + "column": 23 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 94449, + 94453 + ], + "loc": { + "start": { + "line": 3119, + "column": 15 + }, + "end": { + "line": 3119, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getRowsNb", + "range": [ + 94454, + 94463 + ], + "loc": { + "start": { + "line": 3119, + "column": 20 + }, + "end": { + "line": 3119, + "column": 29 + } + } + }, + "range": [ + 94449, + 94463 + ], + "loc": { + "start": { + "line": 3119, + "column": 15 + }, + "end": { + "line": 3119, + "column": 29 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 94464, + 94469 + ], + "loc": { + "start": { + "line": 3119, + "column": 30 + }, + "end": { + "line": 3119, + "column": 35 + } + } + } + ], + "range": [ + 94449, + 94470 + ], + "loc": { + "start": { + "line": 3119, + "column": 15 + }, + "end": { + "line": 3119, + "column": 36 + } + } + }, + "range": [ + 94442, + 94471 + ], + "loc": { + "start": { + "line": 3119, + "column": 8 + }, + "end": { + "line": 3119, + "column": 37 + } + } + } + ], + "range": [ + 94432, + 94477 + ], + "loc": { + "start": { + "line": 3118, + "column": 26 + }, + "end": { + "line": 3120, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 94429, + 94477 + ], + "loc": { + "start": { + "line": 3118, + "column": 23 + }, + "end": { + "line": 3120, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 94410, + 94477 + ], + "loc": { + "start": { + "line": 3118, + "column": 4 + }, + "end": { + "line": 3120, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", + "range": [ + 94323, + 94405 + ], + "loc": { + "start": { + "line": 3114, + "column": 4 + }, + "end": { + "line": 3117, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @return {Number}\n ", + "range": [ + 94483, + 94638 + ], + "loc": { + "start": { + "line": 3122, + "column": 4 + }, + "end": { + "line": 3126, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getValidRowsNb", + "range": [ + 94643, + 94657 + ], + "loc": { + "start": { + "line": 3127, + "column": 4 + }, + "end": { + "line": 3127, + "column": 18 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "AssignmentPattern", + "left": { + "type": "Identifier", + "name": "reCalc", + "range": [ + 94658, + 94664 + ], + "loc": { + "start": { + "line": 3127, + "column": 19 + }, + "end": { + "line": 3127, + "column": 25 + } + } + }, + "right": { + "type": "Literal", + "value": false, + "raw": "false", + "range": [ + 94667, + 94672 + ], + "loc": { + "start": { + "line": 3127, + "column": 28 + }, + "end": { + "line": 3127, + "column": 33 + } + } + }, + "range": [ + 94658, + 94672 + ], + "loc": { + "start": { + "line": 3127, + "column": 19 + }, + "end": { + "line": 3127, + "column": 33 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 94691, + 94695 + ], + "loc": { + "start": { + "line": 3128, + "column": 15 + }, + "end": { + "line": 3128, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "getValidRows", + "range": [ + 94696, + 94708 + ], + "loc": { + "start": { + "line": 3128, + "column": 20 + }, + "end": { + "line": 3128, + "column": 32 + } + } + }, + "range": [ + 94691, + 94708 + ], + "loc": { + "start": { + "line": 3128, + "column": 15 + }, + "end": { + "line": 3128, + "column": 32 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "reCalc", + "range": [ + 94709, + 94715 + ], + "loc": { + "start": { + "line": 3128, + "column": 33 + }, + "end": { + "line": 3128, + "column": 39 + } + } + } + ], + "range": [ + 94691, + 94716 + ], + "loc": { + "start": { + "line": 3128, + "column": 15 + }, + "end": { + "line": 3128, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 94717, + 94723 + ], + "loc": { + "start": { + "line": 3128, + "column": 41 + }, + "end": { + "line": 3128, + "column": 47 + } + } + }, + "range": [ + 94691, + 94723 + ], + "loc": { + "start": { + "line": 3128, + "column": 15 + }, + "end": { + "line": 3128, + "column": 47 + } + } + }, + "range": [ + 94684, + 94724 + ], + "loc": { + "start": { + "line": 3128, + "column": 8 + }, + "end": { + "line": 3128, + "column": 48 + } + } + } + ], + "range": [ + 94674, + 94730 + ], + "loc": { + "start": { + "line": 3127, + "column": 35 + }, + "end": { + "line": 3129, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 94657, + 94730 + ], + "loc": { + "start": { + "line": 3127, + "column": 18 + }, + "end": { + "line": 3129, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 94643, + 94730 + ], + "loc": { + "start": { + "line": 3127, + "column": 4 + }, + "end": { + "line": 3129, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @return {Number}\n ", + "range": [ + 94483, + 94638 + ], + "loc": { + "start": { + "line": 3122, + "column": 4 + }, + "end": { + "line": 3126, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the working DOM element\n * @return {HTMLTableElement}\n ", + "range": [ + 94736, + 94819 + ], + "loc": { + "start": { + "line": 3131, + "column": 4 + }, + "end": { + "line": 3134, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "dom", + "range": [ + 94824, + 94827 + ], + "loc": { + "start": { + "line": 3135, + "column": 4 + }, + "end": { + "line": 3135, + "column": 7 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 94847, + 94851 + ], + "loc": { + "start": { + "line": 3136, + "column": 15 + }, + "end": { + "line": 3136, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "tbl", + "range": [ + 94852, + 94855 + ], + "loc": { + "start": { + "line": 3136, + "column": 20 + }, + "end": { + "line": 3136, + "column": 23 + } + } + }, + "range": [ + 94847, + 94855 + ], + "loc": { + "start": { + "line": 3136, + "column": 15 + }, + "end": { + "line": 3136, + "column": 23 + } + } + }, + "range": [ + 94840, + 94856 + ], + "loc": { + "start": { + "line": 3136, + "column": 8 + }, + "end": { + "line": 3136, + "column": 24 + } + } + } + ], + "range": [ + 94830, + 94862 + ], + "loc": { + "start": { + "line": 3135, + "column": 10 + }, + "end": { + "line": 3137, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 94827, + 94862 + ], + "loc": { + "start": { + "line": 3135, + "column": 7 + }, + "end": { + "line": 3137, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 94824, + 94862 + ], + "loc": { + "start": { + "line": 3135, + "column": 4 + }, + "end": { + "line": 3137, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the working DOM element\n * @return {HTMLTableElement}\n ", + "range": [ + 94736, + 94819 + ], + "loc": { + "start": { + "line": 3131, + "column": 4 + }, + "end": { + "line": 3134, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return the decimal separator for supplied column as per column type\n * configuration or global setting\n * @param {Number} colIndex Column index\n * @returns {String} '.' or ','\n ", + "range": [ + 94868, + 95074 + ], + "loc": { + "start": { + "line": 3139, + "column": 4 + }, + "end": { + "line": 3144, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "getDecimal", + "range": [ + 95079, + 95089 + ], + "loc": { + "start": { + "line": 3145, + "column": 4 + }, + "end": { + "line": 3145, + "column": 14 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 95090, + 95098 + ], + "loc": { + "start": { + "line": 3145, + "column": 15 + }, + "end": { + "line": 3145, + "column": 23 + } + } + } + ], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "decimal", + "range": [ + 95114, + 95121 + ], + "loc": { + "start": { + "line": 3146, + "column": 12 + }, + "end": { + "line": 3146, + "column": 19 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 95124, + 95128 + ], + "loc": { + "start": { + "line": 3146, + "column": 22 + }, + "end": { + "line": 3146, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimalSeparator", + "range": [ + 95129, + 95145 + ], + "loc": { + "start": { + "line": 3146, + "column": 27 + }, + "end": { + "line": 3146, + "column": 43 + } + } + }, + "range": [ + 95124, + 95145 + ], + "loc": { + "start": { + "line": 3146, + "column": 22 + }, + "end": { + "line": 3146, + "column": 43 + } + } + }, + "range": [ + 95114, + 95145 + ], + "loc": { + "start": { + "line": 3146, + "column": 12 + }, + "end": { + "line": 3146, + "column": 43 + } + } + } + ], + "kind": "let", + "range": [ + 95110, + 95146 + ], + "loc": { + "start": { + "line": 3146, + "column": 8 + }, + "end": { + "line": 3146, + "column": 44 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 95159, + 95163 + ], + "loc": { + "start": { + "line": 3147, + "column": 12 + }, + "end": { + "line": 3147, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasType", + "range": [ + 95164, + 95171 + ], + "loc": { + "start": { + "line": 3147, + "column": 17 + }, + "end": { + "line": 3147, + "column": 24 + } + } + }, + "range": [ + 95159, + 95171 + ], + "loc": { + "start": { + "line": 3147, + "column": 12 + }, + "end": { + "line": 3147, + "column": 24 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "colIndex", + "range": [ + 95172, + 95180 + ], + "loc": { + "start": { + "line": 3147, + "column": 25 + }, + "end": { + "line": 3147, + "column": 33 + } + } + }, + { + "type": "ArrayExpression", + "elements": [ + { + "type": "Identifier", + "name": "FORMATTED_NUMBER", + "range": [ + 95183, + 95199 + ], + "loc": { + "start": { + "line": 3147, + "column": 36 + }, + "end": { + "line": 3147, + "column": 52 + } + } + } + ], + "range": [ + 95182, + 95200 + ], + "loc": { + "start": { + "line": 3147, + "column": 35 + }, + "end": { + "line": 3147, + "column": 53 + } + } + } + ], + "range": [ + 95159, + 95201 + ], + "loc": { + "start": { + "line": 3147, + "column": 12 + }, + "end": { + "line": 3147, + "column": 54 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "colType", + "range": [ + 95221, + 95228 + ], + "loc": { + "start": { + "line": 3148, + "column": 16 + }, + "end": { + "line": 3148, + "column": 23 + } + } + }, + "init": { + "type": "MemberExpression", + "computed": true, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 95231, + 95235 + ], + "loc": { + "start": { + "line": 3148, + "column": 26 + }, + "end": { + "line": 3148, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "name": "colTypes", + "range": [ + 95236, + 95244 + ], + "loc": { + "start": { + "line": 3148, + "column": 31 + }, + "end": { + "line": 3148, + "column": 39 + } + } + }, + "range": [ + 95231, + 95244 + ], + "loc": { + "start": { + "line": 3148, + "column": 26 + }, + "end": { + "line": 3148, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "name": "colIndex", + "range": [ + 95245, + 95253 + ], + "loc": { + "start": { + "line": 3148, + "column": 40 + }, + "end": { + "line": 3148, + "column": 48 + } + } + }, + "range": [ + 95231, + 95254 + ], + "loc": { + "start": { + "line": 3148, + "column": 26 + }, + "end": { + "line": 3148, + "column": 49 + } + } + }, + "range": [ + 95221, + 95254 + ], + "loc": { + "start": { + "line": 3148, + "column": 16 + }, + "end": { + "line": 3148, + "column": 49 + } + } + } + ], + "kind": "let", + "range": [ + 95217, + 95255 + ], + "loc": { + "start": { + "line": 3148, + "column": 12 + }, + "end": { + "line": 3148, + "column": 50 + } + } + }, + { + "type": "IfStatement", + "test": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 95272, + 95279 + ], + "loc": { + "start": { + "line": 3149, + "column": 16 + }, + "end": { + "line": 3149, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "name": "hasOwnProperty", + "range": [ + 95280, + 95294 + ], + "loc": { + "start": { + "line": 3149, + "column": 24 + }, + "end": { + "line": 3149, + "column": 38 + } + } + }, + "range": [ + 95272, + 95294 + ], + "loc": { + "start": { + "line": 3149, + "column": 16 + }, + "end": { + "line": 3149, + "column": 38 + } + } + }, + "arguments": [ + { + "type": "Literal", + "value": "decimal", + "raw": "'decimal'", + "range": [ + 95295, + 95304 + ], + "loc": { + "start": { + "line": 3149, + "column": 39 + }, + "end": { + "line": 3149, + "column": 48 + } + } + } + ], + "range": [ + 95272, + 95305 + ], + "loc": { + "start": { + "line": 3149, + "column": 16 + }, + "end": { + "line": 3149, + "column": 49 + } + } + }, + "consequent": { + "type": "BlockStatement", + "body": [ + { + "type": "ExpressionStatement", + "expression": { + "type": "AssignmentExpression", + "operator": "=", + "left": { + "type": "Identifier", + "name": "decimal", + "range": [ + 95325, + 95332 + ], + "loc": { + "start": { + "line": 3150, + "column": 16 + }, + "end": { + "line": 3150, + "column": 23 + } + } + }, + "right": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "colType", + "range": [ + 95335, + 95342 + ], + "loc": { + "start": { + "line": 3150, + "column": 26 + }, + "end": { + "line": 3150, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "name": "decimal", + "range": [ + 95343, + 95350 + ], + "loc": { + "start": { + "line": 3150, + "column": 34 + }, + "end": { + "line": 3150, + "column": 41 + } + } + }, + "range": [ + 95335, + 95350 + ], + "loc": { + "start": { + "line": 3150, + "column": 26 + }, + "end": { + "line": 3150, + "column": 41 + } + } + }, + "range": [ + 95325, + 95350 + ], + "loc": { + "start": { + "line": 3150, + "column": 16 + }, + "end": { + "line": 3150, + "column": 41 + } + } + }, + "range": [ + 95325, + 95351 + ], + "loc": { + "start": { + "line": 3150, + "column": 16 + }, + "end": { + "line": 3150, + "column": 42 + } + } + } + ], + "range": [ + 95307, + 95365 + ], + "loc": { + "start": { + "line": 3149, + "column": 51 + }, + "end": { + "line": 3151, + "column": 13 + } + } + }, + "alternate": null, + "range": [ + 95268, + 95365 + ], + "loc": { + "start": { + "line": 3149, + "column": 12 + }, + "end": { + "line": 3151, + "column": 13 + } + } + } + ], + "range": [ + 95203, + 95375 + ], + "loc": { + "start": { + "line": 3147, + "column": 56 + }, + "end": { + "line": 3152, + "column": 9 + } + } + }, + "alternate": null, + "range": [ + 95155, + 95375 + ], + "loc": { + "start": { + "line": 3147, + "column": 8 + }, + "end": { + "line": 3152, + "column": 9 + } + } + }, + { + "type": "ReturnStatement", + "argument": { + "type": "Identifier", + "name": "decimal", + "range": [ + 95391, + 95398 + ], + "loc": { + "start": { + "line": 3153, + "column": 15 + }, + "end": { + "line": 3153, + "column": 22 + } + } + }, + "range": [ + 95384, + 95399 + ], + "loc": { + "start": { + "line": 3153, + "column": 8 + }, + "end": { + "line": 3153, + "column": 23 + } + } + } + ], + "range": [ + 95100, + 95405 + ], + "loc": { + "start": { + "line": 3145, + "column": 25 + }, + "end": { + "line": 3154, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 95089, + 95405 + ], + "loc": { + "start": { + "line": 3145, + "column": 14 + }, + "end": { + "line": 3154, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 95079, + 95405 + ], + "loc": { + "start": { + "line": 3145, + "column": 4 + }, + "end": { + "line": 3154, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return the decimal separator for supplied column as per column type\n * configuration or global setting\n * @param {Number} colIndex Column index\n * @returns {String} '.' or ','\n ", + "range": [ + 94868, + 95074 + ], + "loc": { + "start": { + "line": 3139, + "column": 4 + }, + "end": { + "line": 3144, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", + "range": [ + 95411, + 95499 + ], + "loc": { + "start": { + "line": 3156, + "column": 4 + }, + "end": { + "line": 3159, + "column": 7 + } + } + } + ], + "static": false + }, + { + "type": "MethodDefinition", + "key": { + "type": "Identifier", + "name": "config", + "range": [ + 95504, + 95510 + ], + "loc": { + "start": { + "line": 3160, + "column": 4 + }, + "end": { + "line": 3160, + "column": 10 + } + } + }, + "value": { + "type": "FunctionExpression", + "id": null, + "params": [], + "body": { + "type": "BlockStatement", + "body": [ + { + "type": "ReturnStatement", + "argument": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "ThisExpression", + "range": [ + 95530, + 95534 + ], + "loc": { + "start": { + "line": 3161, + "column": 15 + }, + "end": { + "line": 3161, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "cfg", + "range": [ + 95535, + 95538 + ], + "loc": { + "start": { + "line": 3161, + "column": 20 + }, + "end": { + "line": 3161, + "column": 23 + } + } + }, + "range": [ + 95530, + 95538 + ], + "loc": { + "start": { + "line": 3161, + "column": 15 + }, + "end": { + "line": 3161, + "column": 23 + } + } + }, + "range": [ + 95523, + 95539 + ], + "loc": { + "start": { + "line": 3161, + "column": 8 + }, + "end": { + "line": 3161, + "column": 24 + } + } + } + ], + "range": [ + 95513, + 95545 + ], + "loc": { + "start": { + "line": 3160, + "column": 13 + }, + "end": { + "line": 3162, + "column": 5 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 95510, + 95545 + ], + "loc": { + "start": { + "line": 3160, + "column": 10 + }, + "end": { + "line": 3162, + "column": 5 + } + } + }, + "kind": "method", + "computed": false, + "range": [ + 95504, + 95545 + ], + "loc": { + "start": { + "line": 3160, + "column": 4 + }, + "end": { + "line": 3162, + "column": 5 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", + "range": [ + 95411, + 95499 + ], + "loc": { + "start": { + "line": 3156, + "column": 4 + }, + "end": { + "line": 3159, + "column": 7 + } + } + } + ], + "static": false + } + ], + "range": [ + 1070, + 95547 + ], + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 3163, + "column": 1 + } + } + }, + "range": [ + 1052, + 95547 + ], + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 3163, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n ", + "range": [ + 951, + 1044 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1045, + 95547 + ], + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 3163, + "column": 1 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n ", + "range": [ + 951, + 1044 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 0, + 95547 + ], + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3163, + "column": 1 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n ", + "range": [ + 951, + 1044 + ], + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 36, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {HTMLTableElement} 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 ", + "range": [ + 1077, + 1400 + ], + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 46, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * ID of current instance\n * @type {String}\n * @private\n ", + "range": [ + 1436, + 1531 + ], + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 52, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current version\n * @type {String}\n ", + "range": [ + 1565, + 1633 + ], + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 58, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Current year\n * @type {Number}\n * @private\n ", + "range": [ + 1679, + 1764 + ], + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 65, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * HTML Table DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 1820, + 1919 + ], + "loc": { + "start": { + "line": 68, + "column": 8 + }, + "end": { + "line": 72, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n ", + "range": [ + 1954, + 2095 + ], + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 79, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Index of the headers row\n * @type {Number}\n * @private\n ", + "range": [ + 2133, + 2230 + ], + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 86, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2272, + 2365 + ], + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n ", + "range": [ + 2398, + 2506 + ], + "loc": { + "start": { + "line": 96, + "column": 8 + }, + "end": { + "line": 100, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Number of cells in the reference row\n * @type {Number}\n * @private\n ", + "range": [ + 2551, + 2660 + ], + "loc": { + "start": { + "line": 103, + "column": 8 + }, + "end": { + "line": 107, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Has a configuration object\n * @type {Object}\n * @private\n ", + "range": [ + 2699, + 2798 + ], + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "* @private ", + "range": [ + 2840, + 2855 + ], + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " TODO: use for-of", + "range": [ + 2922, + 2941 + ], + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 27 + } + } + }, + { + "type": "Line", + "value": " configuration object", + "range": [ + 3821, + 3844 + ], + "loc": { + "start": { + "line": 148, + "column": 8 + }, + "end": { + "line": 148, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Event emitter instance\n * @type {Emitter}\n ", + "range": [ + 3880, + 3956 + ], + "loc": { + "start": { + "line": 151, + "column": 8 + }, + "end": { + "line": 154, + "column": 11 + } + } + }, + { + "type": "Line", + "value": "Start row", + "range": [ + 4004, + 4015 + ], + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 19 + } + } + }, + { + "type": "Block", + "value": "*\n * Collection of filter type by column\n * @type {Array}\n * @private\n ", + "range": [ + 4087, + 4194 + ], + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 164, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Base path for static assets\n * @type {String}\n ", + "range": [ + 4480, + 4560 + ], + "loc": { + "start": { + "line": 172, + "column": 8 + }, + "end": { + "line": 175, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** filters' grid properties **", + "range": [ + 4636, + 4670 + ], + "loc": { + "start": { + "line": 178, + "column": 8 + }, + "end": { + "line": 178, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable filters\n * @type {Boolean}\n ", + "range": [ + 4680, + 4756 + ], + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 183, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable grid layout (fixed headers)\n * @type {Object|Boolean}\n ", + "range": [ + 4817, + 4920 + ], + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 189, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Filters row index\n * @type {Number}\n ", + "range": [ + 5004, + 5074 + ], + "loc": { + "start": { + "line": 192, + "column": 8 + }, + "end": { + "line": 195, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Headers row index\n * @type {Number}\n ", + "range": [ + 5151, + 5221 + ], + "loc": { + "start": { + "line": 198, + "column": 8 + }, + "end": { + "line": 201, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n ", + "range": [ + 5340, + 5444 + ], + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 208, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of filters IDs\n * @type {Array}\n * @private\n ", + "range": [ + 5523, + 5614 + ], + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 215, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n ", + "range": [ + 5650, + 5778 + ], + "loc": { + "start": { + "line": 218, + "column": 8 + }, + "end": { + "line": 222, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5822, + 5930 + ], + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 229, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 5968, + 6108 + ], + "loc": { + "start": { + "line": 232, + "column": 8 + }, + "end": { + "line": 236, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6144, + 6318 + ], + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 244, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n ", + "range": [ + 6354, + 6494 + ], + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 251, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for toolbar's container DOM element\n * @type {String}\n ", + "range": [ + 6530, + 6628 + ], + "loc": { + "start": { + "line": 254, + "column": 8 + }, + "end": { + "line": 257, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for left-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6709, + 6813 + ], + "loc": { + "start": { + "line": 260, + "column": 8 + }, + "end": { + "line": 263, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for right-side inner container DOM element\n * @type {String}\n ", + "range": [ + 6894, + 6999 + ], + "loc": { + "start": { + "line": 266, + "column": 8 + }, + "end": { + "line": 269, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for middle inner container DOM element\n * @type {String}\n ", + "range": [ + 7081, + 7182 + ], + "loc": { + "start": { + "line": 272, + "column": 8 + }, + "end": { + "line": 275, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** filters' grid appearance **", + "range": [ + 7265, + 7299 + ], + "loc": { + "start": { + "line": 278, + "column": 8 + }, + "end": { + "line": 278, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Path for stylesheets\n * @type {String}\n ", + "range": [ + 7308, + 7381 + ], + "loc": { + "start": { + "line": 279, + "column": 8 + }, + "end": { + "line": 282, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Main stylesheet path\n * @type {String}\n ", + "range": [ + 7437, + 7510 + ], + "loc": { + "start": { + "line": 285, + "column": 8 + }, + "end": { + "line": 288, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Main stylesheet ID\n * @type {String}\n * @private\n ", + "range": [ + 7572, + 7663 + ], + "loc": { + "start": { + "line": 291, + "column": 8 + }, + "end": { + "line": 295, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for the filters row\n * @type {String}\n ", + "range": [ + 7721, + 7803 + ], + "loc": { + "start": { + "line": 298, + "column": 8 + }, + "end": { + "line": 301, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n ", + "range": [ + 7889, + 7986 + ], + "loc": { + "start": { + "line": 304, + "column": 8 + }, + "end": { + "line": 307, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable alternating rows\n * @type {Boolean}\n ", + "range": [ + 8059, + 8144 + ], + "loc": { + "start": { + "line": 310, + "column": 8 + }, + "end": { + "line": 313, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Columns widths array\n * @type {Array}\n ", + "range": [ + 8210, + 8282 + ], + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 319, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for a filter element\n * @type {String}\n ", + "range": [ + 8348, + 8431 + ], + "loc": { + "start": { + "line": 322, + "column": 8 + }, + "end": { + "line": 325, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for multiple select filters\n * @type {String}\n ", + "range": [ + 8505, + 8595 + ], + "loc": { + "start": { + "line": 328, + "column": 8 + }, + "end": { + "line": 331, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for small filter (when submit button is active)\n * @type {String}\n ", + "range": [ + 8686, + 8796 + ], + "loc": { + "start": { + "line": 334, + "column": 8 + }, + "end": { + "line": 337, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for single filter type\n * @type {String}\n ", + "range": [ + 8883, + 8968 + ], + "loc": { + "start": { + "line": 340, + "column": 8 + }, + "end": { + "line": 343, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** filters' grid behaviours **", + "range": [ + 9074, + 9108 + ], + "loc": { + "start": { + "line": 347, + "column": 8 + }, + "end": { + "line": 347, + "column": 42 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n ", + "range": [ + 9118, + 9219 + ], + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 352, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before filtering process starts\n * @type {Function}\n ", + "range": [ + 9286, + 9387 + ], + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 358, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after filtering process is completed\n * @type {Function}\n ", + "range": [ + 9469, + 9575 + ], + "loc": { + "start": { + "line": 361, + "column": 8 + }, + "end": { + "line": 364, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n ", + "range": [ + 9655, + 9750 + ], + "loc": { + "start": { + "line": 367, + "column": 8 + }, + "end": { + "line": 370, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 9816, + 9972 + ], + "loc": { + "start": { + "line": 373, + "column": 8 + }, + "end": { + "line": 378, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Exact match filtering per column array\n * @type {Array}\n ", + "range": [ + 10048, + 10138 + ], + "loc": { + "start": { + "line": 381, + "column": 8 + }, + "end": { + "line": 384, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n ", + "range": [ + 10245, + 10344 + ], + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 391, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 10404, + 10511 + ], + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 397, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n ", + "range": [ + 10574, + 10672 + ], + "loc": { + "start": { + "line": 400, + "column": 8 + }, + "end": { + "line": 403, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n ", + "range": [ + 10738, + 10894 + ], + "loc": { + "start": { + "line": 406, + "column": 8 + }, + "end": { + "line": 410, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Active filter ID\n * @type {String}\n * @private\n ", + "range": [ + 10979, + 11068 + ], + "loc": { + "start": { + "line": 413, + "column": 8 + }, + "end": { + "line": 417, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n ", + "range": [ + 11114, + 11227 + ], + "loc": { + "start": { + "line": 420, + "column": 8 + }, + "end": { + "line": 423, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of row indexes to be excluded from filtering\n * @type {Array}\n ", + "range": [ + 11299, + 11400 + ], + "loc": { + "start": { + "line": 426, + "column": 8 + }, + "end": { + "line": 429, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of containers IDs where external filters will be generated\n * @type {Array}\n ", + "range": [ + 11487, + 11602 + ], + "loc": { + "start": { + "line": 432, + "column": 8 + }, + "end": { + "line": 435, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after filters are generated\n * @type {Function}\n ", + "range": [ + 11687, + 11784 + ], + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 441, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n ", + "range": [ + 11868, + 11972 + ], + "loc": { + "start": { + "line": 444, + "column": 8 + }, + "end": { + "line": 447, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after a row is validated during filtering\n * @type {Function}\n ", + "range": [ + 12039, + 12150 + ], + "loc": { + "start": { + "line": 450, + "column": 8 + }, + "end": { + "line": 453, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Specify which column implements a custom cell parser to retrieve the\n * cell value:\n * cell_parser: {\n * cols: [0, 2],\n * parse: function(tf, cell, colIndex) {\n * // custom cell parser logic here\n * return cellValue;\n * }\n * }\n * @type {Object}\n ", + "range": [ + 12232, + 12603 + ], + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 467, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n ", + "range": [ + 12793, + 12959 + ], + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 476, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n ", + "range": [ + 13013, + 13138 + ], + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 483, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar's custom container ID\n * @type {String}\n ", + "range": [ + 13205, + 13287 + ], + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 489, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n ", + "range": [ + 13365, + 13465 + ], + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 495, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n ", + "range": [ + 13612, + 13711 + ], + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 502, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n ", + "range": [ + 13801, + 13918 + ], + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 508, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** select filter's customisation and behaviours **", + "range": [ + 14037, + 14091 + ], + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 62 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for clear option in drop-down filter types (1st option)\n * @type {String|Array}\n ", + "range": [ + 14100, + 14219 + ], + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 516, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n ", + "range": [ + 14303, + 14423 + ], + "loc": { + "start": { + "line": 519, + "column": 8 + }, + "end": { + "line": 522, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14498, + 14598 + ], + "loc": { + "start": { + "line": 525, + "column": 8 + }, + "end": { + "line": 528, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n ", + "range": [ + 14671, + 14806 + ], + "loc": { + "start": { + "line": 531, + "column": 8 + }, + "end": { + "line": 535, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Text for non-empty option in drop-down filter types\n * @type {String}\n ", + "range": [ + 14888, + 14992 + ], + "loc": { + "start": { + "line": 538, + "column": 8 + }, + "end": { + "line": 541, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n ", + "range": [ + 15076, + 15224 + ], + "loc": { + "start": { + "line": 544, + "column": 8 + }, + "end": { + "line": 548, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Make drop-down filter types options sorted in alpha-numeric manner\n * by default globally or on a column basis\n * @type {Boolean|Array}\n ", + "range": [ + 15294, + 15472 + ], + "loc": { + "start": { + "line": 551, + "column": 8 + }, + "end": { + "line": 555, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 15614, + 15790 + ], + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 564, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 15853, + 15990 + ], + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 571, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n ", + "range": [ + 16067, + 16244 + ], + "loc": { + "start": { + "line": 574, + "column": 8 + }, + "end": { + "line": 579, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n ", + "range": [ + 16309, + 16447 + ], + "loc": { + "start": { + "line": 582, + "column": 8 + }, + "end": { + "line": 586, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n ", + "range": [ + 16527, + 16670 + ], + "loc": { + "start": { + "line": 589, + "column": 8 + }, + "end": { + "line": 593, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n ", + "range": [ + 16746, + 16864 + ], + "loc": { + "start": { + "line": 596, + "column": 8 + }, + "end": { + "line": 599, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n ", + "range": [ + 16931, + 17403 + ], + "loc": { + "start": { + "line": 602, + "column": 8 + }, + "end": { + "line": 618, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** Filter operators **", + "range": [ + 17460, + 17486 + ], + "loc": { + "start": { + "line": 621, + "column": 8 + }, + "end": { + "line": 621, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n ", + "range": [ + 17495, + 17612 + ], + "loc": { + "start": { + "line": 622, + "column": 8 + }, + "end": { + "line": 625, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n ", + "range": [ + 17689, + 17802 + ], + "loc": { + "start": { + "line": 628, + "column": 8 + }, + "end": { + "line": 631, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n ", + "range": [ + 17880, + 18000 + ], + "loc": { + "start": { + "line": 634, + "column": 8 + }, + "end": { + "line": 637, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n ", + "range": [ + 18084, + 18191 + ], + "loc": { + "start": { + "line": 640, + "column": 8 + }, + "end": { + "line": 643, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n ", + "range": [ + 18261, + 18369 + ], + "loc": { + "start": { + "line": 646, + "column": 8 + }, + "end": { + "line": 649, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n ", + "range": [ + 18440, + 18548 + ], + "loc": { + "start": { + "line": 652, + "column": 8 + }, + "end": { + "line": 655, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n ", + "range": [ + 18622, + 18728 + ], + "loc": { + "start": { + "line": 658, + "column": 8 + }, + "end": { + "line": 661, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n ", + "range": [ + 18800, + 18916 + ], + "loc": { + "start": { + "line": 664, + "column": 8 + }, + "end": { + "line": 667, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n ", + "range": [ + 18995, + 19113 + ], + "loc": { + "start": { + "line": 670, + "column": 8 + }, + "end": { + "line": 673, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n ", + "range": [ + 19194, + 19300 + ], + "loc": { + "start": { + "line": 676, + "column": 8 + }, + "end": { + "line": 679, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Like operator for input filter. Defaults to '*'\n * @type {String}\n ", + "range": [ + 19376, + 19476 + ], + "loc": { + "start": { + "line": 682, + "column": 8 + }, + "end": { + "line": 685, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19547, + 19658 + ], + "loc": { + "start": { + "line": 688, + "column": 8 + }, + "end": { + "line": 691, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19730, + 19837 + ], + "loc": { + "start": { + "line": 694, + "column": 8 + }, + "end": { + "line": 697, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n ", + "range": [ + 19914, + 20019 + ], + "loc": { + "start": { + "line": 700, + "column": 8 + }, + "end": { + "line": 703, + "column": 11 + } + } + }, + { + "type": "Line", + "value": " this.curExp = f.cur_exp || '^[¥£€$]';", + "range": [ + 20094, + 20134 + ], + "loc": { + "start": { + "line": 706, + "column": 8 + }, + "end": { + "line": 706, + "column": 48 + } + } + }, + { + "type": "Block", + "value": "*\n * Stored values separator\n * @type {String}\n ", + "range": [ + 20144, + 20220 + ], + "loc": { + "start": { + "line": 708, + "column": 8 + }, + "end": { + "line": 711, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable rows counter UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20286, + 20379 + ], + "loc": { + "start": { + "line": 714, + "column": 8 + }, + "end": { + "line": 717, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable status bar UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20466, + 20557 + ], + "loc": { + "start": { + "line": 720, + "column": 8 + }, + "end": { + "line": 723, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable activity/spinner indicator UI component\n * @type {Boolean|Object}\n ", + "range": [ + 20638, + 20745 + ], + "loc": { + "start": { + "line": 726, + "column": 8 + }, + "end": { + "line": 729, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** validation - reset buttons/links **", + "range": [ + 20815, + 20857 + ], + "loc": { + "start": { + "line": 732, + "column": 8 + }, + "end": { + "line": 732, + "column": 50 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable filters submission button\n * @type {Boolean}\n ", + "range": [ + 20866, + 20952 + ], + "loc": { + "start": { + "line": 733, + "column": 8 + }, + "end": { + "line": 736, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define filters submission button text\n * @type {String}\n ", + "range": [ + 21004, + 21094 + ], + "loc": { + "start": { + "line": 739, + "column": 8 + }, + "end": { + "line": 742, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Css class for filters submission button\n * @type {String}\n ", + "range": [ + 21185, + 21277 + ], + "loc": { + "start": { + "line": 745, + "column": 8 + }, + "end": { + "line": 748, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable clear button\n * @type {Boolean}\n ", + "range": [ + 21404, + 21477 + ], + "loc": { + "start": { + "line": 752, + "column": 8 + }, + "end": { + "line": 755, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired before filters are cleared\n * @type {Function}\n ", + "range": [ + 21533, + 21629 + ], + "loc": { + "start": { + "line": 758, + "column": 8 + }, + "end": { + "line": 761, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Callback fired after filters are cleared\n * @type {Function}\n ", + "range": [ + 21709, + 21804 + ], + "loc": { + "start": { + "line": 764, + "column": 8 + }, + "end": { + "line": 767, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable paging component\n * @type {Object|Boolean}\n ", + "range": [ + 21882, + 21966 + ], + "loc": { + "start": { + "line": 770, + "column": 8 + }, + "end": { + "line": 773, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Number of hidden rows\n * @type {Number}\n * @private\n ", + "range": [ + 22036, + 22130 + ], + "loc": { + "start": { + "line": 776, + "column": 8 + }, + "end": { + "line": 780, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n ", + "range": [ + 22171, + 22308 + ], + "loc": { + "start": { + "line": 783, + "column": 8 + }, + "end": { + "line": 787, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto-filter delay in msecs\n * @type {Number}\n ", + "range": [ + 22368, + 22447 + ], + "loc": { + "start": { + "line": 790, + "column": 8 + }, + "end": { + "line": 793, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n ", + "range": [ + 22552, + 22657 + ], + "loc": { + "start": { + "line": 797, + "column": 8 + }, + "end": { + "line": 801, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Auto-filter interval ID\n * @type {String}\n * @private\n ", + "range": [ + 22701, + 22797 + ], + "loc": { + "start": { + "line": 804, + "column": 8 + }, + "end": { + "line": 808, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n ", + "range": [ + 22844, + 22935 + ], + "loc": { + "start": { + "line": 811, + "column": 8 + }, + "end": { + "line": 814, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable no results message UI component\n * @type {Object|Boolean}\n ", + "range": [ + 23009, + 23108 + ], + "loc": { + "start": { + "line": 817, + "column": 8 + }, + "end": { + "line": 820, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable state persistence\n * @type {Object|Boolean}\n ", + "range": [ + 23217, + 23302 + ], + "loc": { + "start": { + "line": 824, + "column": 8 + }, + "end": { + "line": 827, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** data types **", + "range": [ + 23369, + 23389 + ], + "loc": { + "start": { + "line": 830, + "column": 8 + }, + "end": { + "line": 830, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable date type module\n * @type {Boolean}\n * @private\n ", + "range": [ + 23399, + 23496 + ], + "loc": { + "start": { + "line": 832, + "column": 8 + }, + "end": { + "line": 836, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n ", + "range": [ + 23536, + 23703 + ], + "loc": { + "start": { + "line": 839, + "column": 8 + }, + "end": { + "line": 843, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n ", + "range": [ + 23764, + 23871 + ], + "loc": { + "start": { + "line": 846, + "column": 8 + }, + "end": { + "line": 849, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n ", + "range": [ + 23956, + 24061 + ], + "loc": { + "start": { + "line": 852, + "column": 8 + }, + "end": { + "line": 855, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n ", + "range": [ + 24142, + 24740 + ], + "loc": { + "start": { + "line": 858, + "column": 8 + }, + "end": { + "line": 871, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** ids prefixes **", + "range": [ + 24815, + 24837 + ], + "loc": { + "start": { + "line": 874, + "column": 8 + }, + "end": { + "line": 874, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Main prefix\n * @private\n ", + "range": [ + 24846, + 24904 + ], + "loc": { + "start": { + "line": 875, + "column": 8 + }, + "end": { + "line": 878, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter's ID prefix (inputs - selects)\n * @private\n ", + "range": [ + 24942, + 25026 + ], + "loc": { + "start": { + "line": 881, + "column": 8 + }, + "end": { + "line": 884, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Button's ID prefix\n * @private\n ", + "range": [ + 25066, + 25131 + ], + "loc": { + "start": { + "line": 887, + "column": 8 + }, + "end": { + "line": 890, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar container ID prefix\n * @private\n ", + "range": [ + 25177, + 25251 + ], + "loc": { + "start": { + "line": 893, + "column": 8 + }, + "end": { + "line": 896, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar left element ID prefix\n * @private\n ", + "range": [ + 25295, + 25372 + ], + "loc": { + "start": { + "line": 899, + "column": 8 + }, + "end": { + "line": 902, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar right element ID prefix\n * @private\n ", + "range": [ + 25415, + 25493 + ], + "loc": { + "start": { + "line": 905, + "column": 8 + }, + "end": { + "line": 908, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Toolbar middle element ID prefix\n * @private\n ", + "range": [ + 25536, + 25615 + ], + "loc": { + "start": { + "line": 911, + "column": 8 + }, + "end": { + "line": 914, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Responsive Css class\n * @private\n ", + "range": [ + 25658, + 25725 + ], + "loc": { + "start": { + "line": 917, + "column": 8 + }, + "end": { + "line": 920, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** extensions **", + "range": [ + 25773, + 25793 + ], + "loc": { + "start": { + "line": 923, + "column": 8 + }, + "end": { + "line": 923, + "column": 28 + } + } + }, + { + "type": "Block", + "value": "*\n * List of loaded extensions\n * @type {Array}\n ", + "range": [ + 25802, + 25879 + ], + "loc": { + "start": { + "line": 924, + "column": 8 + }, + "end": { + "line": 927, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "** themes **", + "range": [ + 25946, + 25962 + ], + "loc": { + "start": { + "line": 930, + "column": 8 + }, + "end": { + "line": 930, + "column": 24 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable default theme\n * @type {Boolean}\n ", + "range": [ + 25971, + 26045 + ], + "loc": { + "start": { + "line": 931, + "column": 8 + }, + "end": { + "line": 934, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n ", + "range": [ + 26122, + 26232 + ], + "loc": { + "start": { + "line": 937, + "column": 8 + }, + "end": { + "line": 941, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26315, + 26427 + ], + "loc": { + "start": { + "line": 944, + "column": 8 + }, + "end": { + "line": 948, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n ", + "range": [ + 26486, + 26667 + ], + "loc": { + "start": { + "line": 951, + "column": 8 + }, + "end": { + "line": 956, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Enable responsive layout\n * @type {Boolean}\n ", + "range": [ + 26725, + 26803 + ], + "loc": { + "start": { + "line": 959, + "column": 8 + }, + "end": { + "line": 962, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Features registry\n * @private\n ", + "range": [ + 26862, + 26926 + ], + "loc": { + "start": { + "line": 965, + "column": 8 + }, + "end": { + "line": 968, + "column": 11 + } + } + }, + { + "type": "Block", + "value": "*\n * Extensions registry\n * @private\n ", + "range": [ + 26959, + 27025 + ], + "loc": { + "start": { + "line": 971, + "column": 8 + }, + "end": { + "line": 974, + "column": 11 + } + } + }, + { + "type": "Line", + "value": "conditionally instantiate required features", + "range": [ + 27066, + 27111 + ], + "loc": { + "start": { + "line": 977, + "column": 8 + }, + "end": { + "line": 977, + "column": 53 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialise features and layout\n ", + "range": [ + 27232, + 27281 + ], + "loc": { + "start": { + "line": 983, + "column": 4 + }, + "end": { + "line": 985, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " import main stylesheet", + "range": [ + 27366, + 27391 + ], + "loc": { + "start": { + "line": 991, + "column": 8 + }, + "end": { + "line": 991, + "column": 33 + } + } + }, + { + "type": "Line", + "value": "loads theme", + "range": [ + 27642, + 27655 + ], + "loc": { + "start": { + "line": 999, + "column": 8 + }, + "end": { + "line": 999, + "column": 21 + } + } + }, + { + "type": "Line", + "value": "explicitly initialise features in given order", + "range": [ + 27910, + 27957 + ], + "loc": { + "start": { + "line": 1006, + "column": 8 + }, + "end": { + "line": 1006, + "column": 55 + } + } + }, + { + "type": "Line", + "value": "filters grid is not generated", + "range": [ + 28195, + 28226 + ], + "loc": { + "start": { + "line": 1018, + "column": 8 + }, + "end": { + "line": 1018, + "column": 39 + } + } + }, + { + "type": "Line", + "value": " Generate filters", + "range": [ + 28427, + 28446 + ], + "loc": { + "start": { + "line": 1026, + "column": 12 + }, + "end": { + "line": 1026, + "column": 31 + } + } + }, + { + "type": "Line", + "value": "only 1 input for single search", + "range": [ + 29026, + 29058 + ], + "loc": { + "start": { + "line": 1042, + "column": 16 + }, + "end": { + "line": 1042, + "column": 48 + } + } + }, + { + "type": "Line", + "value": "drop-down filters", + "range": [ + 29226, + 29245 + ], + "loc": { + "start": { + "line": 1048, + "column": 16 + }, + "end": { + "line": 1048, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " checklist", + "range": [ + 29482, + 29494 + ], + "loc": { + "start": { + "line": 1053, + "column": 16 + }, + "end": { + "line": 1053, + "column": 28 + } + } + }, + { + "type": "Line", + "value": " this adds submit button", + "range": [ + 29815, + 29841 + ], + "loc": { + "start": { + "line": 1061, + "column": 16 + }, + "end": { + "line": 1061, + "column": 42 + } + } + }, + { + "type": "Line", + "value": "if this.fltGrid", + "range": [ + 30176, + 30193 + ], + "loc": { + "start": { + "line": 1072, + "column": 9 + }, + "end": { + "line": 1072, + "column": 26 + } + } + }, + { + "type": "Block", + "value": " Features ", + "range": [ + 30203, + 30217 + ], + "loc": { + "start": { + "line": 1074, + "column": 8 + }, + "end": { + "line": 1074, + "column": 22 + } + } + }, + { + "type": "Line", + "value": "TF css class is added to table", + "range": [ + 30621, + 30653 + ], + "loc": { + "start": { + "line": 1092, + "column": 8 + }, + "end": { + "line": 1092, + "column": 40 + } + } + }, + { + "type": "Block", + "value": " Load extensions ", + "range": [ + 30860, + 30881 + ], + "loc": { + "start": { + "line": 1100, + "column": 8 + }, + "end": { + "line": 1100, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " Subscribe to events", + "range": [ + 30922, + 30944 + ], + "loc": { + "start": { + "line": 1103, + "column": 8 + }, + "end": { + "line": 1103, + "column": 30 + } + } + }, + { + "type": "Block", + "value": "*\n * Detect key\n * @param {Event} evt\n ", + "range": [ + 31196, + 31259 + ], + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1118, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n ", + "range": [ + 31727, + 31860 + ], + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1141, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter's keydown event: if auto-filter on, detect user is typing\n ", + "range": [ + 32716, + 32799 + ], + "loc": { + "start": { + "line": 1170, + "column": 4 + }, + "end": { + "line": 1172, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter's focus event\n * @param {Event} evt\n ", + "range": [ + 32908, + 32973 + ], + "loc": { + "start": { + "line": 1179, + "column": 4 + }, + "end": { + "line": 1182, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n ", + "range": [ + 33095, + 33183 + ], + "loc": { + "start": { + "line": 1188, + "column": 4 + }, + "end": { + "line": 1190, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Insert filters row at initialization\n ", + "range": [ + 33395, + 33450 + ], + "loc": { + "start": { + "line": 1199, + "column": 4 + }, + "end": { + "line": 1201, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: prevent filters row generation for popup filters too,", + "range": [ + 33485, + 33547 + ], + "loc": { + "start": { + "line": 1203, + "column": 8 + }, + "end": { + "line": 1203, + "column": 70 + } + } + }, + { + "type": "Line", + "value": " to reduce and simplify headers row index adjusting across lib modules", + "range": [ + 33556, + 33628 + ], + "loc": { + "start": { + "line": 1204, + "column": 8 + }, + "end": { + "line": 1204, + "column": 80 + } + } + }, + { + "type": "Line", + "value": " (GridLayout, PopupFilter etc)", + "range": [ + 33637, + 33669 + ], + "loc": { + "start": { + "line": 1205, + "column": 8 + }, + "end": { + "line": 1205, + "column": 40 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialize filtersless table\n ", + "range": [ + 34223, + 34270 + ], + "loc": { + "start": { + "line": 1228, + "column": 4 + }, + "end": { + "line": 1230, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 34474, + 34693 + ], + "loc": { + "start": { + "line": 1239, + "column": 4 + }, + "end": { + "line": 1244, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 35454, + 35492 + ], + "loc": { + "start": { + "line": 1263, + "column": 8 + }, + "end": { + "line": 1263, + "column": 46 + } + } + }, + { + "type": "Block", + "value": "*\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n ", + "range": [ + 35921, + 36070 + ], + "loc": { + "start": { + "line": 1278, + "column": 4 + }, + "end": { + "line": 1282, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "filter is appended in custom element", + "range": [ + 36389, + 36427 + ], + "loc": { + "start": { + "line": 1292, + "column": 8 + }, + "end": { + "line": 1292, + "column": 46 + } + } + }, + { + "type": "Block", + "value": "*\n * Istantiate the collection of features required by the\n * configuration and add them to the features registry. A feature is\n * described by a `class` and `name` fields and and optional `property`\n * field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 36642, + 36995 + ], + "loc": { + "start": { + "line": 1302, + "column": 4 + }, + "end": { + "line": 1313, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " TODO: remove the property field.", + "range": [ + 37089, + 37124 + ], + "loc": { + "start": { + "line": 1316, + "column": 12 + }, + "end": { + "line": 1316, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " Due to naming convention inconsistencies, a `property`", + "range": [ + 37137, + 37194 + ], + "loc": { + "start": { + "line": 1317, + "column": 12 + }, + "end": { + "line": 1317, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " field is added to allow a conditional instanciation based", + "range": [ + 37207, + 37267 + ], + "loc": { + "start": { + "line": 1318, + "column": 12 + }, + "end": { + "line": 1318, + "column": 72 + } + } + }, + { + "type": "Line", + "value": " on that property on TableFilter, if supplied.", + "range": [ + 37280, + 37328 + ], + "loc": { + "start": { + "line": 1319, + "column": 12 + }, + "end": { + "line": 1319, + "column": 60 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialise the passed features collection. A feature is described by a\n * `class` and `name` fields and and optional `property` field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n ", + "range": [ + 37662, + 37937 + ], + "loc": { + "start": { + "line": 1330, + "column": 4 + }, + "end": { + "line": 1339, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return a feature instance for a given name\n * @param {String} name Name of the feature\n * @return {Object}\n ", + "range": [ + 38193, + 38327 + ], + "loc": { + "start": { + "line": 1349, + "column": 4 + }, + "end": { + "line": 1353, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Initialise all the extensions defined in the configuration object\n ", + "range": [ + 38390, + 38474 + ], + "loc": { + "start": { + "line": 1358, + "column": 4 + }, + "end": { + "line": 1360, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Set config's publicPath dynamically for Webpack...", + "range": [ + 38606, + 38659 + ], + "loc": { + "start": { + "line": 1367, + "column": 8 + }, + "end": { + "line": 1367, + "column": 61 + } + } + }, + { + "type": "Block", + "value": "*\n * Load an extension module\n * @param {Object} ext Extension config object\n ", + "range": [ + 38981, + 39076 + ], + "loc": { + "start": { + "line": 1378, + "column": 4 + }, + "end": { + "line": 1381, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Require pattern for Webpack", + "range": [ + 39496, + 39526 + ], + "loc": { + "start": { + "line": 1398, + "column": 8 + }, + "end": { + "line": 1398, + "column": 38 + } + } + }, + { + "type": "Block", + "value": " eslint-disable ", + "range": [ + 39587, + 39607 + ], + "loc": { + "start": { + "line": 1400, + "column": 12 + }, + "end": { + "line": 1400, + "column": 32 + } + } + }, + { + "type": "Block", + "value": " eslint-enable ", + "range": [ + 39671, + 39690 + ], + "loc": { + "start": { + "line": 1402, + "column": 12 + }, + "end": { + "line": 1402, + "column": 31 + } + } + }, + { + "type": "Block", + "value": "*\n * Get an extension instance\n * @param {String} name Name of the extension\n * @return {Object} Extension instance\n ", + "range": [ + 39782, + 39925 + ], + "loc": { + "start": { + "line": 1408, + "column": 4 + }, + "end": { + "line": 1412, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed extension name exists\n * @param {String} name Name of the extension\n * @return {Boolean}\n ", + "range": [ + 39998, + 40128 + ], + "loc": { + "start": { + "line": 1417, + "column": 4 + }, + "end": { + "line": 1421, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Register the passed extension instance with associated name\n * @param {Object} inst Extension instance\n * @param {String} name Name of the extension\n ", + "range": [ + 40214, + 40389 + ], + "loc": { + "start": { + "line": 1426, + "column": 4 + }, + "end": { + "line": 1430, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy all the extensions store in extensions registry\n ", + "range": [ + 40476, + 40550 + ], + "loc": { + "start": { + "line": 1435, + "column": 4 + }, + "end": { + "line": 1437, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Load themes defined in the configuration object\n ", + "range": [ + 40747, + 40813 + ], + "loc": { + "start": { + "line": 1447, + "column": 4 + }, + "end": { + "line": 1449, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Default theme config", + "range": [ + 40996, + 41018 + ], + "loc": { + "start": { + "line": 1458, + "column": 8 + }, + "end": { + "line": 1458, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " Enable loader indicator", + "range": [ + 41846, + 41872 + ], + "loc": { + "start": { + "line": 1482, + "column": 8 + }, + "end": { + "line": 1482, + "column": 34 + } + } + }, + { + "type": "Block", + "value": "*\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n ", + "range": [ + 41970, + 42088 + ], + "loc": { + "start": { + "line": 1488, + "column": 4 + }, + "end": { + "line": 1491, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Destroy filter grid\n ", + "range": [ + 42178, + 42216 + ], + "loc": { + "start": { + "line": 1496, + "column": 4 + }, + "end": { + "line": 1498, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " broadcast destroy event modules and extensions are subscribed to", + "range": [ + 42549, + 42616 + ], + "loc": { + "start": { + "line": 1516, + "column": 8 + }, + "end": { + "line": 1516, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " unsubscribe to events", + "range": [ + 42780, + 42804 + ], + "loc": { + "start": { + "line": 1523, + "column": 8 + }, + "end": { + "line": 1523, + "column": 32 + } + } + }, + { + "type": "Block", + "value": "*\n * Generate container element for paging, reset button, rows counter etc.\n ", + "range": [ + 43389, + 43478 + ], + "loc": { + "start": { + "line": 1542, + "column": 4 + }, + "end": { + "line": 1544, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "** container div **", + "range": [ + 43564, + 43587 + ], + "loc": { + "start": { + "line": 1550, + "column": 8 + }, + "end": { + "line": 1550, + "column": 31 + } + } + }, + { + "type": "Line", + "value": "custom container", + "range": [ + 43684, + 43702 + ], + "loc": { + "start": { + "line": 1554, + "column": 8 + }, + "end": { + "line": 1554, + "column": 26 + } + } + }, + { + "type": "Line", + "value": "grid-layout", + "range": [ + 43810, + 43823 + ], + "loc": { + "start": { + "line": 1558, + "column": 8 + }, + "end": { + "line": 1558, + "column": 21 + } + } + }, + { + "type": "Line", + "value": "default location: just above the table", + "range": [ + 44042, + 44082 + ], + "loc": { + "start": { + "line": 1564, + "column": 8 + }, + "end": { + "line": 1564, + "column": 48 + } + } + }, + { + "type": "Block", + "value": "** left div containing rows # displayer **", + "range": [ + 44296, + 44342 + ], + "loc": { + "start": { + "line": 1572, + "column": 8 + }, + "end": { + "line": 1572, + "column": 54 + } + } + }, + { + "type": "Block", + "value": "** right div containing reset button\n + nb results per page select **", + "range": [ + 44493, + 44587 + ], + "loc": { + "start": { + "line": 1578, + "column": 8 + }, + "end": { + "line": 1579, + "column": 52 + } + } + }, + { + "type": "Block", + "value": "** mid div containing paging elements **", + "range": [ + 44738, + 44782 + ], + "loc": { + "start": { + "line": 1585, + "column": 8 + }, + "end": { + "line": 1585, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " emit help initialisation only if undefined", + "range": [ + 44933, + 44978 + ], + "loc": { + "start": { + "line": 1591, + "column": 8 + }, + "end": { + "line": 1591, + "column": 53 + } + } + }, + { + "type": "Line", + "value": " explicitily enable help to initialise feature by", + "range": [ + 45025, + 45076 + ], + "loc": { + "start": { + "line": 1593, + "column": 12 + }, + "end": { + "line": 1593, + "column": 63 + } + } + }, + { + "type": "Line", + "value": " default, only if setting is undefined", + "range": [ + 45089, + 45129 + ], + "loc": { + "start": { + "line": 1594, + "column": 12 + }, + "end": { + "line": 1594, + "column": 52 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove toolbar container element\n ", + "range": [ + 45237, + 45288 + ], + "loc": { + "start": { + "line": 1600, + "column": 4 + }, + "end": { + "line": 1602, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Remove all the external column filters\n ", + "range": [ + 45575, + 45632 + ], + "loc": { + "start": { + "line": 1615, + "column": 4 + }, + "end": { + "line": 1617, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n ", + "range": [ + 46049, + 46203 + ], + "loc": { + "start": { + "line": 1633, + "column": 4 + }, + "end": { + "line": 1637, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 46349, + 46545 + ], + "loc": { + "start": { + "line": 1643, + "column": 4 + }, + "end": { + "line": 1648, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 47405, + 47642 + ], + "loc": { + "start": { + "line": 1677, + "column": 4 + }, + "end": { + "line": 1681, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "fire onbefore callback", + "range": [ + 47746, + 47770 + ], + "loc": { + "start": { + "line": 1686, + "column": 8 + }, + "end": { + "line": 1686, + "column": 32 + } + } + }, + { + "type": "Line", + "value": " search args re-init", + "range": [ + 48009, + 48031 + ], + "loc": { + "start": { + "line": 1695, + "column": 8 + }, + "end": { + "line": 1695, + "column": 30 + } + } + }, + { + "type": "Line", + "value": " already filtered rows display re-init", + "range": [ + 48147, + 48187 + ], + "loc": { + "start": { + "line": 1699, + "column": 12 + }, + "end": { + "line": 1699, + "column": 52 + } + } + }, + { + "type": "Line", + "value": " checks if row has exact cell #", + "range": [ + 48319, + 48352 + ], + "loc": { + "start": { + "line": 1705, + "column": 12 + }, + "end": { + "line": 1705, + "column": 45 + } + } + }, + { + "type": "Line", + "value": "only for single filter search", + "range": [ + 48521, + 48552 + ], + "loc": { + "start": { + "line": 1712, + "column": 16 + }, + "end": { + "line": 1712, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " this loop retrieves cell data", + "range": [ + 48609, + 48641 + ], + "loc": { + "start": { + "line": 1715, + "column": 12 + }, + "end": { + "line": 1715, + "column": 44 + } + } + }, + { + "type": "Line", + "value": "searched keyword", + "range": [ + 48706, + 48724 + ], + "loc": { + "start": { + "line": 1717, + "column": 16 + }, + "end": { + "line": 1717, + "column": 34 + } + } + }, + { + "type": "Line", + "value": "multiple search parameter operator ||", + "range": [ + 49004, + 49043 + ], + "loc": { + "start": { + "line": 1727, + "column": 16 + }, + "end": { + "line": 1727, + "column": 55 + } + } + }, + { + "type": "Line", + "value": "multiple search || parameter boolean", + "range": [ + 49134, + 49172 + ], + "loc": { + "start": { + "line": 1729, + "column": 20 + }, + "end": { + "line": 1729, + "column": 58 + } + } + }, + { + "type": "Line", + "value": "multiple search parameter operator &&", + "range": [ + 49250, + 49289 + ], + "loc": { + "start": { + "line": 1731, + "column": 20 + }, + "end": { + "line": 1731, + "column": 59 + } + } + }, + { + "type": "Line", + "value": "multiple search && parameter boolean", + "range": [ + 49381, + 49419 + ], + "loc": { + "start": { + "line": 1733, + "column": 20 + }, + "end": { + "line": 1733, + "column": 58 + } + } + }, + { + "type": "Line", + "value": "detect operators or array query", + "range": [ + 49496, + 49529 + ], + "loc": { + "start": { + "line": 1736, + "column": 16 + }, + "end": { + "line": 1736, + "column": 49 + } + } + }, + { + "type": "Line", + "value": " isolate search term and check occurence in cell data", + "range": [ + 49901, + 49956 + ], + "loc": { + "start": { + "line": 1746, + "column": 20 + }, + "end": { + "line": 1746, + "column": 75 + } + } + }, + { + "type": "Line", + "value": "single search parameter", + "range": [ + 50701, + 50726 + ], + "loc": { + "start": { + "line": 1766, + "column": 16 + }, + "end": { + "line": 1766, + "column": 41 + } + } + }, + { + "type": "Line", + "value": "else single param", + "range": [ + 51016, + 51035 + ], + "loc": { + "start": { + "line": 1773, + "column": 17 + }, + "end": { + "line": 1773, + "column": 36 + } + } + }, + { + "type": "Line", + "value": "for j", + "range": [ + 51342, + 51349 + ], + "loc": { + "start": { + "line": 1783, + "column": 13 + }, + "end": { + "line": 1783, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " for k", + "range": [ + 51705, + 51713 + ], + "loc": { + "start": { + "line": 1796, + "column": 9 + }, + "end": { + "line": 1796, + "column": 17 + } + } + }, + { + "type": "Line", + "value": "fire onafterfilter callback", + "range": [ + 51764, + 51793 + ], + "loc": { + "start": { + "line": 1800, + "column": 8 + }, + "end": { + "line": 1800, + "column": 37 + } + } + }, + { + "type": "Block", + "value": "*\n * Test for a match of search term in cell data\n * @param {String} term Search term\n * @param {String} cellValue Cell data\n * @param {Number} colIdx Column index\n * @return {Boolean}\n ", + "range": [ + 51904, + 52127 + ], + "loc": { + "start": { + "line": 1806, + "column": 4 + }, + "end": { + "line": 1812, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " re_an = new RegExp(this.anOperator),", + "range": [ + 52686, + 52725 + ], + "loc": { + "start": { + "line": 1825, + "column": 12 + }, + "end": { + "line": 1825, + "column": 51 + } + } + }, + { + "type": "Line", + "value": " re_cr = new RegExp(this.curExp),", + "range": [ + 52738, + 52773 + ], + "loc": { + "start": { + "line": 1826, + "column": 12 + }, + "end": { + "line": 1826, + "column": 47 + } + } + }, + { + "type": "Line", + "value": "Search arg operator tests", + "range": [ + 52997, + 53024 + ], + "loc": { + "start": { + "line": 1835, + "column": 8 + }, + "end": { + "line": 1835, + "column": 35 + } + } + }, + { + "type": "Line", + "value": " hatermN = re_an.test(term),", + "range": [ + 53293, + 53323 + ], + "loc": { + "start": { + "line": 1843, + "column": 12 + }, + "end": { + "line": 1843, + "column": 42 + } + } + }, + { + "type": "Line", + "value": " Check for dates or resolve date type", + "range": [ + 53518, + 53557 + ], + "loc": { + "start": { + "line": 1850, + "column": 8 + }, + "end": { + "line": 1850, + "column": 47 + } + } + }, + { + "type": "Line", + "value": " Search arg dates tests", + "range": [ + 53865, + 53890 + ], + "loc": { + "start": { + "line": 1859, + "column": 12 + }, + "end": { + "line": 1859, + "column": 37 + } + } + }, + { + "type": "Line", + "value": " lower equal date", + "range": [ + 54531, + 54550 + ], + "loc": { + "start": { + "line": 1875, + "column": 12 + }, + "end": { + "line": 1875, + "column": 31 + } + } + }, + { + "type": "Line", + "value": " lower date", + "range": [ + 54713, + 54726 + ], + "loc": { + "start": { + "line": 1880, + "column": 12 + }, + "end": { + "line": 1880, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " greater equal date", + "range": [ + 54891, + 54912 + ], + "loc": { + "start": { + "line": 1885, + "column": 12 + }, + "end": { + "line": 1885, + "column": 33 + } + } + }, + { + "type": "Line", + "value": " greater date", + "range": [ + 55080, + 55095 + ], + "loc": { + "start": { + "line": 1890, + "column": 12 + }, + "end": { + "line": 1890, + "column": 27 + } + } + }, + { + "type": "Line", + "value": " different date", + "range": [ + 55260, + 55277 + ], + "loc": { + "start": { + "line": 1895, + "column": 12 + }, + "end": { + "line": 1895, + "column": 29 + } + } + }, + { + "type": "Line", + "value": " equal date", + "range": [ + 55467, + 55480 + ], + "loc": { + "start": { + "line": 1900, + "column": 12 + }, + "end": { + "line": 1900, + "column": 25 + } + } + }, + { + "type": "Line", + "value": " searched keyword with * operator doesn't have to be a date", + "range": [ + 55671, + 55732 + ], + "loc": { + "start": { + "line": 1905, + "column": 12 + }, + "end": { + "line": 1905, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " like date", + "range": [ + 55772, + 55784 + ], + "loc": { + "start": { + "line": 1906, + "column": 39 + }, + "end": { + "line": 1906, + "column": 51 + } + } + }, + { + "type": "Line", + "value": "empty", + "range": [ + 56100, + 56107 + ], + "loc": { + "start": { + "line": 1914, + "column": 12 + }, + "end": { + "line": 1914, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "non-empty", + "range": [ + 56218, + 56229 + ], + "loc": { + "start": { + "line": 1918, + "column": 12 + }, + "end": { + "line": 1918, + "column": 23 + } + } + }, + { + "type": "Line", + "value": " Convert to number anyways to auto-resolve type in case not", + "range": [ + 56510, + 56571 + ], + "loc": { + "start": { + "line": 1928, + "column": 12 + }, + "end": { + "line": 1928, + "column": 73 + } + } + }, + { + "type": "Line", + "value": " defined by configuration", + "range": [ + 56584, + 56611 + ], + "loc": { + "start": { + "line": 1929, + "column": 12 + }, + "end": { + "line": 1929, + "column": 39 + } + } + }, + { + "type": "Line", + "value": " first checks if there is any operator (<,>,<=,>=,!,*,=,{,},", + "range": [ + 56697, + 56759 + ], + "loc": { + "start": { + "line": 1932, + "column": 12 + }, + "end": { + "line": 1932, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " rgx:)", + "range": [ + 56772, + 56780 + ], + "loc": { + "start": { + "line": 1933, + "column": 12 + }, + "end": { + "line": 1933, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " lower equal", + "range": [ + 56793, + 56807 + ], + "loc": { + "start": { + "line": 1934, + "column": 12 + }, + "end": { + "line": 1934, + "column": 26 + } + } + }, + { + "type": "Line", + "value": "greater equal", + "range": [ + 56998, + 57013 + ], + "loc": { + "start": { + "line": 1941, + "column": 12 + }, + "end": { + "line": 1941, + "column": 27 + } + } + }, + { + "type": "Line", + "value": "lower", + "range": [ + 57209, + 57216 + ], + "loc": { + "start": { + "line": 1948, + "column": 12 + }, + "end": { + "line": 1948, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "greater", + "range": [ + 57410, + 57419 + ], + "loc": { + "start": { + "line": 1955, + "column": 12 + }, + "end": { + "line": 1955, + "column": 21 + } + } + }, + { + "type": "Line", + "value": "different", + "range": [ + 57613, + 57624 + ], + "loc": { + "start": { + "line": 1962, + "column": 12 + }, + "end": { + "line": 1962, + "column": 23 + } + } + }, + { + "type": "Line", + "value": "like", + "range": [ + 57815, + 57821 + ], + "loc": { + "start": { + "line": 1967, + "column": 12 + }, + "end": { + "line": 1967, + "column": 18 + } + } + }, + { + "type": "Line", + "value": "equal", + "range": [ + 57998, + 58005 + ], + "loc": { + "start": { + "line": 1972, + "column": 12 + }, + "end": { + "line": 1972, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "starts with", + "range": [ + 58181, + 58194 + ], + "loc": { + "start": { + "line": 1977, + "column": 12 + }, + "end": { + "line": 1977, + "column": 25 + } + } + }, + { + "type": "Line", + "value": "ends with", + "range": [ + 58363, + 58374 + ], + "loc": { + "start": { + "line": 1982, + "column": 12 + }, + "end": { + "line": 1982, + "column": 23 + } + } + }, + { + "type": "Line", + "value": "empty", + "range": [ + 58793, + 58800 + ], + "loc": { + "start": { + "line": 1991, + "column": 12 + }, + "end": { + "line": 1991, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "non-empty", + "range": [ + 58911, + 58922 + ], + "loc": { + "start": { + "line": 1995, + "column": 12 + }, + "end": { + "line": 1995, + "column": 23 + } + } + }, + { + "type": "Line", + "value": "regexp", + "range": [ + 59034, + 59042 + ], + "loc": { + "start": { + "line": 1999, + "column": 12 + }, + "end": { + "line": 1999, + "column": 20 + } + } + }, + { + "type": "Line", + "value": "in case regexp throws", + "range": [ + 59089, + 59112 + ], + "loc": { + "start": { + "line": 2001, + "column": 16 + }, + "end": { + "line": 2001, + "column": 39 + } + } + }, + { + "type": "Line", + "value": "operator is removed", + "range": [ + 59155, + 59176 + ], + "loc": { + "start": { + "line": 2003, + "column": 20 + }, + "end": { + "line": 2003, + "column": 41 + } + } + }, + { + "type": "Line", + "value": " If numeric type data, perform a strict equality test and", + "range": [ + 59464, + 59523 + ], + "loc": { + "start": { + "line": 2011, + "column": 16 + }, + "end": { + "line": 2011, + "column": 75 + } + } + }, + { + "type": "Line", + "value": " fallback to unformatted number string comparison", + "range": [ + 59540, + 59591 + ], + "loc": { + "start": { + "line": 2012, + "column": 16 + }, + "end": { + "line": 2012, + "column": 67 + } + } + }, + { + "type": "Line", + "value": " parseNb can return 0 for strings which are not", + "range": [ + 59760, + 59809 + ], + "loc": { + "start": { + "line": 2016, + "column": 20 + }, + "end": { + "line": 2016, + "column": 69 + } + } + }, + { + "type": "Line", + "value": " formatted numbers, in that case return the original", + "range": [ + 59830, + 59884 + ], + "loc": { + "start": { + "line": 2017, + "column": 20 + }, + "end": { + "line": 2017, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " string. TODO: handle this in parseNb", + "range": [ + 59905, + 59944 + ], + "loc": { + "start": { + "line": 2018, + "column": 20 + }, + "end": { + "line": 2018, + "column": 59 + } + } + }, + { + "type": "Line", + "value": " Finally test search term is contained in cell data", + "range": [ + 60247, + 60300 + ], + "loc": { + "start": { + "line": 2024, + "column": 20 + }, + "end": { + "line": 2024, + "column": 73 + } + } + }, + { + "type": "Line", + "value": "else", + "range": [ + 60623, + 60629 + ], + "loc": { + "start": { + "line": 2035, + "column": 9 + }, + "end": { + "line": 2035, + "column": 15 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of data for a column\n ", + "range": [ + 60668, + 60952 + ], + "loc": { + "start": { + "line": 2040, + "column": 4 + }, + "end": { + "line": 2046, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the values of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of values for a column\n ", + "range": [ + 61107, + 61395 + ], + "loc": { + "start": { + "line": 2051, + "column": 4 + }, + "end": { + "line": 2057, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return a typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n * @private\n ", + "range": [ + 61553, + 61934 + ], + "loc": { + "start": { + "line": 2062, + "column": 4 + }, + "end": { + "line": 2070, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " checks if current row index appears in exclude array", + "range": [ + 62472, + 62527 + ], + "loc": { + "start": { + "line": 2089, + "column": 12 + }, + "end": { + "line": 2089, + "column": 67 + } + } + }, + { + "type": "Line", + "value": " checks if row has exact cell # and is not excluded", + "range": [ + 62727, + 62780 + ], + "loc": { + "start": { + "line": 2096, + "column": 12 + }, + "end": { + "line": 2096, + "column": 65 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filter's value of a specified column\n * @param {Number} index Column index\n * @return {String} Filter value\n ", + "range": [ + 62996, + 63148 + ], + "loc": { + "start": { + "line": 2105, + "column": 4 + }, + "end": { + "line": 2109, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "mutiple select", + "range": [ + 63542, + 63558 + ], + "loc": { + "start": { + "line": 2124, + "column": 8 + }, + "end": { + "line": 2124, + "column": 24 + } + } + }, + { + "type": "Line", + "value": "checklist", + "range": [ + 63687, + 63698 + ], + "loc": { + "start": { + "line": 2128, + "column": 8 + }, + "end": { + "line": 2128, + "column": 19 + } + } + }, + { + "type": "Line", + "value": "return an empty string if collection is empty or contains a single", + "range": [ + 63829, + 63897 + ], + "loc": { + "start": { + "line": 2132, + "column": 8 + }, + "end": { + "line": 2132, + "column": 76 + } + } + }, + { + "type": "Line", + "value": "empty string", + "range": [ + 63906, + 63920 + ], + "loc": { + "start": { + "line": 2133, + "column": 8 + }, + "end": { + "line": 2133, + "column": 22 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filters' values\n * @return {Array} List of filters' values\n ", + "range": [ + 64114, + 64206 + ], + "loc": { + "start": { + "line": 2142, + "column": 4 + }, + "end": { + "line": 2145, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64648, + 64811 + ], + "loc": { + "start": { + "line": 2162, + "column": 4 + }, + "end": { + "line": 2166, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 64942, + 65343 + ], + "loc": { + "start": { + "line": 2174, + "column": 4 + }, + "end": { + "line": 2182, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filter's DOM element for a given column\n * @param {Number} index Column's index\n * @return {DOMElement}\n ", + "range": [ + 65760, + 65906 + ], + "loc": { + "start": { + "line": 2198, + "column": 4 + }, + "end": { + "line": 2202, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66015, + 66181 + ], + "loc": { + "start": { + "line": 2208, + "column": 4 + }, + "end": { + "line": 2212, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 66329, + 66560 + ], + "loc": { + "start": { + "line": 2218, + "column": 4 + }, + "end": { + "line": 2223, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the text content of a given cell\n * @param {DOMElement} Cell's DOM element\n * @return {String}\n ", + "range": [ + 66802, + 66930 + ], + "loc": { + "start": { + "line": 2234, + "column": 4 + }, + "end": { + "line": 2238, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Invoke cellParser for this column if any", + "range": [ + 67040, + 67083 + ], + "loc": { + "start": { + "line": 2242, + "column": 8 + }, + "end": { + "line": 2242, + "column": 51 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the typed data of a given cell based on the column type definition\n * @param {DOMElement} cell Cell's DOM element\n * @return {String|Number|Date}\n ", + "range": [ + 67261, + 67441 + ], + "loc": { + "start": { + "line": 2250, + "column": 4 + }, + "end": { + "line": 2254, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68008, + 68388 + ], + "loc": { + "start": { + "line": 2273, + "column": 4 + }, + "end": { + "line": 2283, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n ", + "range": [ + 68540, + 68876 + ], + "loc": { + "start": { + "line": 2288, + "column": 4 + }, + "end": { + "line": 2297, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the table data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 69031, + 69506 + ], + "loc": { + "start": { + "line": 2302, + "column": 4 + }, + "end": { + "line": 2315, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 70615, + 71071 + ], + "loc": { + "start": { + "line": 2348, + "column": 4 + }, + "end": { + "line": 2360, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71231, + 71643 + ], + "loc": { + "start": { + "line": 2365, + "column": 4 + }, + "end": { + "line": 2376, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 71806, + 72284 + ], + "loc": { + "start": { + "line": 2381, + "column": 4 + }, + "end": { + "line": 2394, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 73526, + 73930 + ], + "loc": { + "start": { + "line": 2431, + "column": 4 + }, + "end": { + "line": 2439, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered and visible data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74119, + 74535 + ], + "loc": { + "start": { + "line": 2445, + "column": 4 + }, + "end": { + "line": 2453, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 74722, + 75131 + ], + "loc": { + "start": { + "line": 2459, + "column": 4 + }, + "end": { + "line": 2467, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered and visible values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75323, + 75744 + ], + "loc": { + "start": { + "line": 2473, + "column": 4 + }, + "end": { + "line": 2481, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @param {Boolean} [visible=true] Return only filtered and visible data\n * (relevant for paging)\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n * @private\n *\n * TODO: provide an API returning data in JSON format\n ", + "range": [ + 75934, + 76540 + ], + "loc": { + "start": { + "line": 2487, + "column": 4 + }, + "end": { + "line": 2499, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " ensure valid rows index do not contain excluded rows and row is", + "range": [ + 76908, + 76974 + ], + "loc": { + "start": { + "line": 2515, + "column": 8 + }, + "end": { + "line": 2515, + "column": 74 + } + } + }, + { + "type": "Line", + "value": " displayed", + "range": [ + 76983, + 76995 + ], + "loc": { + "start": { + "line": 2516, + "column": 8 + }, + "end": { + "line": 2516, + "column": 20 + } + } + }, + { + "type": "Line", + "value": " convert column value to expected type if necessary", + "range": [ + 77259, + 77312 + ], + "loc": { + "start": { + "line": 2524, + "column": 8 + }, + "end": { + "line": 2524, + "column": 61 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the display value of a row\n * @param {HTMLTableRowElement} row DOM element of the row\n * @return {String} Usually 'none' or ''\n ", + "range": [ + 77596, + 77758 + ], + "loc": { + "start": { + "line": 2536, + "column": 4 + }, + "end": { + "line": 2540, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 77829, + 78002 + ], + "loc": { + "start": { + "line": 2545, + "column": 4 + }, + "end": { + "line": 2549, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " always visible rows are valid", + "range": [ + 78176, + 78208 + ], + "loc": { + "start": { + "line": 2556, + "column": 8 + }, + "end": { + "line": 2556, + "column": 40 + } + } + }, + { + "type": "Block", + "value": "*\n * Validate all filterable rows\n ", + "range": [ + 78849, + 78896 + ], + "loc": { + "start": { + "line": 2580, + "column": 4 + }, + "end": { + "line": 2582, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 79146, + 79308 + ], + "loc": { + "start": { + "line": 2593, + "column": 4 + }, + "end": { + "line": 2597, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "multiple selects", + "range": [ + 79833, + 79851 + ], + "loc": { + "start": { + "line": 2612, + "column": 8 + }, + "end": { + "line": 2612, + "column": 26 + } + } + }, + { + "type": "Line", + "value": "checklist", + "range": [ + 80302, + 80313 + ], + "loc": { + "start": { + "line": 2624, + "column": 8 + }, + "end": { + "line": 2624, + "column": 19 + } + } + }, + { + "type": "Block", + "value": "*\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n ", + "range": [ + 80909, + 81013 + ], + "loc": { + "start": { + "line": 2642, + "column": 4 + }, + "end": { + "line": 2645, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Make defined rows always visible\n ", + "range": [ + 81774, + 81825 + ], + "loc": { + "start": { + "line": 2673, + "column": 4 + }, + "end": { + "line": 2675, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "row index cannot be > nrows", + "range": [ + 82087, + 82116 + ], + "loc": { + "start": { + "line": 2683, + "column": 12 + }, + "end": { + "line": 2683, + "column": 41 + } + } + }, + { + "type": "Block", + "value": "*\n * Clear all the filters' values\n ", + "range": [ + 82230, + 82278 + ], + "loc": { + "start": { + "line": 2690, + "column": 4 + }, + "end": { + "line": 2692, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the ID of the current active filter\n * @return {String}\n ", + "range": [ + 82723, + 82808 + ], + "loc": { + "start": { + "line": 2711, + "column": 4 + }, + "end": { + "line": 2714, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Set the ID of the current active filter\n * @param {String} filterId Element ID\n ", + "range": [ + 82882, + 82983 + ], + "loc": { + "start": { + "line": 2719, + "column": 4 + }, + "end": { + "line": 2722, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the column index for a given filter ID\n * @param {string} [filterId=''] Filter ID\n * @return {Number} Column index\n ", + "range": [ + 83069, + 83217 + ], + "loc": { + "start": { + "line": 2727, + "column": 4 + }, + "end": { + "line": 2731, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Build filter element ID for a given column index\n * @param {any} colIndex\n * @return {String} Filter element ID string\n * @private\n ", + "range": [ + 83395, + 83556 + ], + "loc": { + "start": { + "line": 2738, + "column": 4 + }, + "end": { + "line": 2743, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if has external filters\n * @returns {Boolean}\n * @private\n ", + "range": [ + 83654, + 83744 + ], + "loc": { + "start": { + "line": 2748, + "column": 4 + }, + "end": { + "line": 2752, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns styles path\n * @returns {String}\n * @private\n ", + "range": [ + 83828, + 83907 + ], + "loc": { + "start": { + "line": 2757, + "column": 4 + }, + "end": { + "line": 2761, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns main stylesheet path\n * @returns {String}\n * @private\n ", + "range": [ + 84018, + 84106 + ], + "loc": { + "start": { + "line": 2766, + "column": 4 + }, + "end": { + "line": 2770, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Returns themes path\n * @returns {String}\n * @private\n ", + "range": [ + 84249, + 84328 + ], + "loc": { + "start": { + "line": 2776, + "column": 4 + }, + "end": { + "line": 2780, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Make specified column's filter active\n * @param colIndex Index of a column\n ", + "range": [ + 84460, + 84557 + ], + "loc": { + "start": { + "line": 2786, + "column": 4 + }, + "end": { + "line": 2789, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n ", + "range": [ + 84723, + 84828 + ], + "loc": { + "start": { + "line": 2797, + "column": 4 + }, + "end": { + "line": 2800, + "column": 7 + } + } + }, + { + "type": "Line", + "value": " Welcome to cyclomatic complexity hell :)", + "range": [ + 85510, + 85553 + ], + "loc": { + "start": { + "line": 2818, + "column": 12 + }, + "end": { + "line": 2818, + "column": 55 + } + } + }, + { + "type": "Line", + "value": " TODO: simplify/refactor if statement", + "range": [ + 85566, + 85605 + ], + "loc": { + "start": { + "line": 2819, + "column": 12 + }, + "end": { + "line": 2819, + "column": 51 + } + } + }, + { + "type": "Line", + "value": "1st option needs to be inserted", + "range": [ + 85964, + 85997 + ], + "loc": { + "start": { + "line": 2827, + "column": 16 + }, + "end": { + "line": 2827, + "column": 49 + } + } + }, + { + "type": "Block", + "value": "*\n * Determine if passed filter column implements exact query match\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 86638, + 86793 + ], + "loc": { + "start": { + "line": 2847, + "column": 4 + }, + "end": { + "line": 2851, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if passed row is valid\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 86985, + 87099 + ], + "loc": { + "start": { + "line": 2858, + "column": 4 + }, + "end": { + "line": 2862, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if passed row is visible\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n ", + "range": [ + 87199, + 87315 + ], + "loc": { + "start": { + "line": 2867, + "column": 4 + }, + "end": { + "line": 2871, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if specified column filter ignores diacritics.\n * Note this is only applicable to input filter types.\n * @param {Number} colIndex Column index\n * @return {Boolean}\n ", + "range": [ + 87450, + 87653 + ], + "loc": { + "start": { + "line": 2877, + "column": 4 + }, + "end": { + "line": 2882, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return clear all text for specified filter column\n * @param {Number} colIndex Column index\n * @return {String}\n ", + "range": [ + 87869, + 88009 + ], + "loc": { + "start": { + "line": 2891, + "column": 4 + }, + "end": { + "line": 2895, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88212, + 88431 + ], + "loc": { + "start": { + "line": 2904, + "column": 4 + }, + "end": { + "line": 2909, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\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 ", + "range": [ + 88906, + 89165 + ], + "loc": { + "start": { + "line": 2926, + "column": 4 + }, + "end": { + "line": 2932, + "column": 7 + } + } + }, + { + "type": "Line", + "value": "Browser <> IE onload event works only for scripts, not for stylesheets", + "range": [ + 89806, + 89878 + ], + "loc": { + "start": { + "line": 2954, + "column": 8 + }, + "end": { + "line": 2954, + "column": 80 + } + } + }, + { + "type": "Block", + "value": "*\n * Check if table has filters grid\n * @return {Boolean}\n ", + "range": [ + 90425, + 90500 + ], + "loc": { + "start": { + "line": 2971, + "column": 4 + }, + "end": { + "line": 2974, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get list of filter IDs\n * @return {Array} List of filters ids\n ", + "range": [ + 90567, + 90651 + ], + "loc": { + "start": { + "line": 2979, + "column": 4 + }, + "end": { + "line": 2982, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get filtered (valid) rows indexes\n * @param {Boolean} reCalc Force calculation of filtered rows list\n * @return {Array} List of row indexes\n ", + "range": [ + 90718, + 90894 + ], + "loc": { + "start": { + "line": 2987, + "column": 4 + }, + "end": { + "line": 2991, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the index of the row containing the filters\n * @return {Number}\n ", + "range": [ + 91616, + 91706 + ], + "loc": { + "start": { + "line": 3015, + "column": 4 + }, + "end": { + "line": 3018, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the index of the headers row\n * @return {Number}\n ", + "range": [ + 91782, + 91857 + ], + "loc": { + "start": { + "line": 3023, + "column": 4 + }, + "end": { + "line": 3026, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n ", + "range": [ + 91928, + 92055 + ], + "loc": { + "start": { + "line": 3031, + "column": 4 + }, + "end": { + "line": 3035, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the index of the last row\n * @return {Number}\n ", + "range": [ + 92120, + 92192 + ], + "loc": { + "start": { + "line": 3040, + "column": 4 + }, + "end": { + "line": 3043, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @return {Boolean}\n ", + "range": [ + 92300, + 92509 + ], + "loc": { + "start": { + "line": 3049, + "column": 4 + }, + "end": { + "line": 3054, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n ", + "range": [ + 92804, + 92945 + ], + "loc": { + "start": { + "line": 3066, + "column": 4 + }, + "end": { + "line": 3070, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the list of headers' text\n * @param {Boolean} excludeHiddenCols Optional: exclude hidden columns\n * @return {Array} list of headers' text\n ", + "range": [ + 93407, + 93580 + ], + "loc": { + "start": { + "line": 3085, + "column": 4 + }, + "end": { + "line": 3089, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the filter type for a specified column\n * @param {Number} colIndex Column's index\n * @return {String}\n ", + "range": [ + 94102, + 94238 + ], + "loc": { + "start": { + "line": 3105, + "column": 4 + }, + "end": { + "line": 3109, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the total number of filterable rows\n * @return {Number}\n ", + "range": [ + 94323, + 94405 + ], + "loc": { + "start": { + "line": 3114, + "column": 4 + }, + "end": { + "line": 3117, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the total number of valid rows\n * @param {Boolean} [reCalc=false] Forces calculation of filtered rows\n * @return {Number}\n ", + "range": [ + 94483, + 94638 + ], + "loc": { + "start": { + "line": 3122, + "column": 4 + }, + "end": { + "line": 3126, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the working DOM element\n * @return {HTMLTableElement}\n ", + "range": [ + 94736, + 94819 + ], + "loc": { + "start": { + "line": 3131, + "column": 4 + }, + "end": { + "line": 3134, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Return the decimal separator for supplied column as per column type\n * configuration or global setting\n * @param {Number} colIndex Column index\n * @returns {String} '.' or ','\n ", + "range": [ + 94868, + 95074 + ], + "loc": { + "start": { + "line": 3139, + "column": 4 + }, + "end": { + "line": 3144, + "column": 7 + } + } + }, + { + "type": "Block", + "value": "*\n * Get the configuration object (literal object)\n * @return {Object}\n ", + "range": [ + 95411, + 95499 + ], + "loc": { + "start": { + "line": 3156, + "column": 4 + }, + "end": { + "line": 3159, + "column": 7 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/types.js.json b/docs/ast/source/types.js.json new file mode 100644 index 00000000..b2b582bc --- /dev/null +++ b/docs/ast/source/types.js.json @@ -0,0 +1,3816 @@ +{ + "type": "Program", + "body": [ + { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "UNDEFINED", + "range": [ + 35, + 44 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 15 + } + } + }, + "init": { + "type": "UnaryExpression", + "operator": "void", + "argument": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 52, + 53 + ], + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "prefix": true, + "range": [ + 47, + 53 + ], + "loc": { + "start": { + "line": 6, + "column": 18 + }, + "end": { + "line": 6, + "column": 24 + } + } + }, + "range": [ + 35, + 53 + ], + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 24 + } + } + } + ], + "kind": "const", + "range": [ + 29, + 54 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 25 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Types utilities\n ", + "range": [ + 1, + 27 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Return an empty function\n * @return {Function}\n ", + "range": [ + 56, + 113 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 127, + 135 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + "init": { + "type": "FunctionExpression", + "id": { + "type": "Identifier", + "name": "EMPTY_FN", + "range": [ + 127, + 135 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 21 + } + } + }, + "params": [], + "body": { + "type": "BlockStatement", + "body": [], + "range": [ + 149, + 151 + ], + "loc": { + "start": { + "line": 12, + "column": 35 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + "generator": false, + "expression": false, + "range": [ + 138, + 151 + ], + "loc": { + "start": { + "line": 12, + "column": 24 + }, + "end": { + "line": 12, + "column": 37 + } + } + }, + "range": [ + 127, + 151 + ], + "loc": { + "start": { + "line": 12, + "column": 13 + }, + "end": { + "line": 12, + "column": 37 + } + } + } + ], + "kind": "const", + "range": [ + 121, + 152 + ], + "loc": { + "start": { + "line": 12, + "column": 7 + }, + "end": { + "line": 12, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return an empty function\n * @return {Function}\n ", + "range": [ + 56, + 113 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ", + "range": [ + 154, + 245 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 114, + 152 + ], + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 38 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Return an empty function\n * @return {Function}\n ", + "range": [ + 56, + 113 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ", + "range": [ + 154, + 245 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isObj", + "range": [ + 259, + 264 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 272, + 275 + ], + "loc": { + "start": { + "line": 20, + "column": 5 + }, + "end": { + "line": 20, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 280, + 286 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 287, + 296 + ], + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + "range": [ + 280, + 296 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 297, + 305 + ], + "loc": { + "start": { + "line": 20, + "column": 30 + }, + "end": { + "line": 20, + "column": 38 + } + } + }, + "range": [ + 280, + 305 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 306, + 310 + ], + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 20, + "column": 43 + } + } + }, + "range": [ + 280, + 310 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 311, + 314 + ], + "loc": { + "start": { + "line": 20, + "column": 44 + }, + "end": { + "line": 20, + "column": 47 + } + } + } + ], + "range": [ + 280, + 315 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object Object]", + "raw": "'[object Object]'", + "range": [ + 320, + 337 + ], + "loc": { + "start": { + "line": 20, + "column": 53 + }, + "end": { + "line": 20, + "column": 70 + } + } + }, + "range": [ + 280, + 337 + ], + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 271, + 337 + ], + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 70 + } + } + }, + "range": [ + 259, + 337 + ], + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 20, + "column": 70 + } + } + } + ], + "kind": "const", + "range": [ + 253, + 338 + ], + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 20, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ", + "range": [ + 154, + 245 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ", + "range": [ + 340, + 433 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 246, + 338 + ], + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 20, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ", + "range": [ + 154, + 245 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ", + "range": [ + 340, + 433 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isFn", + "range": [ + 447, + 451 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 459, + 462 + ], + "loc": { + "start": { + "line": 28, + "column": 5 + }, + "end": { + "line": 28, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 467, + 473 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 474, + 483 + ], + "loc": { + "start": { + "line": 28, + "column": 20 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + "range": [ + 467, + 483 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 484, + 492 + ], + "loc": { + "start": { + "line": 28, + "column": 30 + }, + "end": { + "line": 28, + "column": 38 + } + } + }, + "range": [ + 467, + 492 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 493, + 497 + ], + "loc": { + "start": { + "line": 28, + "column": 39 + }, + "end": { + "line": 28, + "column": 43 + } + } + }, + "range": [ + 467, + 497 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 498, + 501 + ], + "loc": { + "start": { + "line": 28, + "column": 44 + }, + "end": { + "line": 28, + "column": 47 + } + } + } + ], + "range": [ + 467, + 502 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object Function]", + "raw": "'[object Function]'", + "range": [ + 507, + 526 + ], + "loc": { + "start": { + "line": 28, + "column": 53 + }, + "end": { + "line": 28, + "column": 72 + } + } + }, + "range": [ + 467, + 526 + ], + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 72 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 458, + 526 + ], + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 72 + } + } + }, + "range": [ + 447, + 526 + ], + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 28, + "column": 72 + } + } + } + ], + "kind": "const", + "range": [ + 441, + 527 + ], + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 28, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ", + "range": [ + 340, + 433 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ", + "range": [ + 529, + 618 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 434, + 527 + ], + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 28, + "column": 73 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ", + "range": [ + 340, + 433 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ", + "range": [ + 529, + 618 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isArray", + "range": [ + 632, + 639 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 647, + 650 + ], + "loc": { + "start": { + "line": 36, + "column": 5 + }, + "end": { + "line": 36, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 655, + 661 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 662, + 671 + ], + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + "range": [ + 655, + 671 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 672, + 680 + ], + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 38 + } + } + }, + "range": [ + 655, + 680 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 681, + 685 + ], + "loc": { + "start": { + "line": 36, + "column": 39 + }, + "end": { + "line": 36, + "column": 43 + } + } + }, + "range": [ + 655, + 685 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 686, + 689 + ], + "loc": { + "start": { + "line": 36, + "column": 44 + }, + "end": { + "line": 36, + "column": 47 + } + } + } + ], + "range": [ + 655, + 690 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object Array]", + "raw": "'[object Array]'", + "range": [ + 695, + 711 + ], + "loc": { + "start": { + "line": 36, + "column": 53 + }, + "end": { + "line": 36, + "column": 69 + } + } + }, + "range": [ + 655, + 711 + ], + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 69 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 646, + 711 + ], + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 69 + } + } + }, + "range": [ + 632, + 711 + ], + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 36, + "column": 69 + } + } + } + ], + "kind": "const", + "range": [ + 626, + 712 + ], + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 36, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ", + "range": [ + 529, + 618 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ", + "range": [ + 714, + 807 + ], + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 619, + 712 + ], + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 36, + "column": 70 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ", + "range": [ + 529, + 618 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ", + "range": [ + 714, + 807 + ], + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isString", + "range": [ + 821, + 829 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 21 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 837, + 840 + ], + "loc": { + "start": { + "line": 44, + "column": 5 + }, + "end": { + "line": 44, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 845, + 851 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 852, + 861 + ], + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + "range": [ + 845, + 861 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 862, + 870 + ], + "loc": { + "start": { + "line": 44, + "column": 30 + }, + "end": { + "line": 44, + "column": 38 + } + } + }, + "range": [ + 845, + 870 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 871, + 875 + ], + "loc": { + "start": { + "line": 44, + "column": 39 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + "range": [ + 845, + 875 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 876, + 879 + ], + "loc": { + "start": { + "line": 44, + "column": 44 + }, + "end": { + "line": 44, + "column": 47 + } + } + } + ], + "range": [ + 845, + 880 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object String]", + "raw": "'[object String]'", + "range": [ + 885, + 902 + ], + "loc": { + "start": { + "line": 44, + "column": 53 + }, + "end": { + "line": 44, + "column": 70 + } + } + }, + "range": [ + 845, + 902 + ], + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 836, + 902 + ], + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 70 + } + } + }, + "range": [ + 821, + 902 + ], + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 44, + "column": 70 + } + } + } + ], + "kind": "const", + "range": [ + 815, + 903 + ], + "loc": { + "start": { + "line": 43, + "column": 7 + }, + "end": { + "line": 44, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ", + "range": [ + 714, + 807 + ], + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ", + "range": [ + 905, + 994 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 808, + 903 + ], + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 44, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ", + "range": [ + 714, + 807 + ], + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ", + "range": [ + 905, + 994 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isNumber", + "range": [ + 1008, + 1016 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 21 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1024, + 1027 + ], + "loc": { + "start": { + "line": 52, + "column": 5 + }, + "end": { + "line": 52, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 1032, + 1038 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 1039, + 1048 + ], + "loc": { + "start": { + "line": 52, + "column": 20 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + "range": [ + 1032, + 1048 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 1049, + 1057 + ], + "loc": { + "start": { + "line": 52, + "column": 30 + }, + "end": { + "line": 52, + "column": 38 + } + } + }, + "range": [ + 1032, + 1057 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 1058, + 1062 + ], + "loc": { + "start": { + "line": 52, + "column": 39 + }, + "end": { + "line": 52, + "column": 43 + } + } + }, + "range": [ + 1032, + 1062 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1063, + 1066 + ], + "loc": { + "start": { + "line": 52, + "column": 44 + }, + "end": { + "line": 52, + "column": 47 + } + } + } + ], + "range": [ + 1032, + 1067 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object Number]", + "raw": "'[object Number]'", + "range": [ + 1072, + 1089 + ], + "loc": { + "start": { + "line": 52, + "column": 53 + }, + "end": { + "line": 52, + "column": 70 + } + } + }, + "range": [ + 1032, + 1089 + ], + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 70 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1023, + 1089 + ], + "loc": { + "start": { + "line": 52, + "column": 4 + }, + "end": { + "line": 52, + "column": 70 + } + } + }, + "range": [ + 1008, + 1089 + ], + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 52, + "column": 70 + } + } + } + ], + "kind": "const", + "range": [ + 1002, + 1090 + ], + "loc": { + "start": { + "line": 51, + "column": 7 + }, + "end": { + "line": 52, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ", + "range": [ + 905, + 994 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ", + "range": [ + 1092, + 1183 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 995, + 1090 + ], + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 52, + "column": 71 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ", + "range": [ + 905, + 994 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ", + "range": [ + 1092, + 1183 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isBoolean", + "range": [ + 1197, + 1206 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 22 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1214, + 1217 + ], + "loc": { + "start": { + "line": 60, + "column": 5 + }, + "end": { + "line": 60, + "column": 8 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "CallExpression", + "callee": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "Object", + "range": [ + 1222, + 1228 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "name": "prototype", + "range": [ + 1229, + 1238 + ], + "loc": { + "start": { + "line": 60, + "column": 20 + }, + "end": { + "line": 60, + "column": 29 + } + } + }, + "range": [ + 1222, + 1238 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "name": "toString", + "range": [ + 1239, + 1247 + ], + "loc": { + "start": { + "line": 60, + "column": 30 + }, + "end": { + "line": 60, + "column": 38 + } + } + }, + "range": [ + 1222, + 1247 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "name": "call", + "range": [ + 1248, + 1252 + ], + "loc": { + "start": { + "line": 60, + "column": 39 + }, + "end": { + "line": 60, + "column": 43 + } + } + }, + "range": [ + 1222, + 1252 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 43 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1253, + 1256 + ], + "loc": { + "start": { + "line": 60, + "column": 44 + }, + "end": { + "line": 60, + "column": 47 + } + } + } + ], + "range": [ + 1222, + 1257 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 48 + } + } + }, + "right": { + "type": "Literal", + "value": "[object Boolean]", + "raw": "'[object Boolean]'", + "range": [ + 1262, + 1280 + ], + "loc": { + "start": { + "line": 60, + "column": 53 + }, + "end": { + "line": 60, + "column": 71 + } + } + }, + "range": [ + 1222, + 1280 + ], + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 71 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1213, + 1280 + ], + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 71 + } + } + }, + "range": [ + 1197, + 1280 + ], + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 60, + "column": 71 + } + } + } + ], + "kind": "const", + "range": [ + 1191, + 1281 + ], + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 60, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ", + "range": [ + 1092, + 1183 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1283, + 1371 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1184, + 1281 + ], + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 60, + "column": 72 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ", + "range": [ + 1092, + 1183 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1283, + 1371 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 1385, + 1392 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1396, + 1399 + ], + "loc": { + "start": { + "line": 67, + "column": 24 + }, + "end": { + "line": 67, + "column": 27 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "obj", + "range": [ + 1404, + 1407 + ], + "loc": { + "start": { + "line": 67, + "column": 32 + }, + "end": { + "line": 67, + "column": 35 + } + } + }, + "right": { + "type": "Identifier", + "name": "UNDEFINED", + "range": [ + 1412, + 1421 + ], + "loc": { + "start": { + "line": 67, + "column": 40 + }, + "end": { + "line": 67, + "column": 49 + } + } + }, + "range": [ + 1404, + 1421 + ], + "loc": { + "start": { + "line": 67, + "column": 32 + }, + "end": { + "line": 67, + "column": 49 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1395, + 1421 + ], + "loc": { + "start": { + "line": 67, + "column": 23 + }, + "end": { + "line": 67, + "column": 49 + } + } + }, + "range": [ + 1385, + 1421 + ], + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 49 + } + } + } + ], + "kind": "const", + "range": [ + 1379, + 1422 + ], + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1283, + 1371 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1424, + 1507 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1372, + 1422 + ], + "loc": { + "start": { + "line": 67, + "column": 0 + }, + "end": { + "line": 67, + "column": 50 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1283, + 1371 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1424, + 1507 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isNull", + "range": [ + 1521, + 1527 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 19 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1531, + 1534 + ], + "loc": { + "start": { + "line": 74, + "column": 23 + }, + "end": { + "line": 74, + "column": 26 + } + } + } + ], + "body": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "Identifier", + "name": "obj", + "range": [ + 1539, + 1542 + ], + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 34 + } + } + }, + "right": { + "type": "Literal", + "value": null, + "raw": "null", + "range": [ + 1547, + 1551 + ], + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 43 + } + } + }, + "range": [ + 1539, + 1551 + ], + "loc": { + "start": { + "line": 74, + "column": 31 + }, + "end": { + "line": 74, + "column": 43 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1530, + 1551 + ], + "loc": { + "start": { + "line": 74, + "column": 22 + }, + "end": { + "line": 74, + "column": 43 + } + } + }, + "range": [ + 1521, + 1551 + ], + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 43 + } + } + } + ], + "kind": "const", + "range": [ + 1515, + 1552 + ], + "loc": { + "start": { + "line": 74, + "column": 7 + }, + "end": { + "line": 74, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1424, + 1507 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1554, + 1672 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] + }, + "specifiers": [], + "source": null, + "range": [ + 1508, + 1552 + ], + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 74, + "column": 44 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1424, + 1507 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1554, + 1672 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "declaration": { + "type": "VariableDeclaration", + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "isEmpty", + "range": [ + 1686, + 1693 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + "init": { + "type": "ArrowFunctionExpression", + "id": null, + "params": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1697, + 1700 + ], + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 27 + } + } + } + ], + "body": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "LogicalExpression", + "operator": "||", + "left": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isUndef", + "range": [ + 1705, + 1712 + ], + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 39 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1713, + 1716 + ], + "loc": { + "start": { + "line": 81, + "column": 40 + }, + "end": { + "line": 81, + "column": 43 + } + } + } + ], + "range": [ + 1705, + 1717 + ], + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 44 + } + } + }, + "right": { + "type": "CallExpression", + "callee": { + "type": "Identifier", + "name": "isNull", + "range": [ + 1721, + 1727 + ], + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 54 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "name": "obj", + "range": [ + 1728, + 1731 + ], + "loc": { + "start": { + "line": 81, + "column": 55 + }, + "end": { + "line": 81, + "column": 58 + } + } + } + ], + "range": [ + 1721, + 1732 + ], + "loc": { + "start": { + "line": 81, + "column": 48 + }, + "end": { + "line": 81, + "column": 59 + } + } + }, + "range": [ + 1705, + 1732 + ], + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 59 + } + } + }, + "right": { + "type": "BinaryExpression", + "operator": "===", + "left": { + "type": "MemberExpression", + "computed": false, + "object": { + "type": "Identifier", + "name": "obj", + "range": [ + 1736, + 1739 + ], + "loc": { + "start": { + "line": 81, + "column": 63 + }, + "end": { + "line": 81, + "column": 66 + } + } + }, + "property": { + "type": "Identifier", + "name": "length", + "range": [ + 1740, + 1746 + ], + "loc": { + "start": { + "line": 81, + "column": 67 + }, + "end": { + "line": 81, + "column": 73 + } + } + }, + "range": [ + 1736, + 1746 + ], + "loc": { + "start": { + "line": 81, + "column": 63 + }, + "end": { + "line": 81, + "column": 73 + } + } + }, + "right": { + "type": "Literal", + "value": 0, + "raw": "0", + "range": [ + 1751, + 1752 + ], + "loc": { + "start": { + "line": 81, + "column": 78 + }, + "end": { + "line": 81, + "column": 79 + } + } + }, + "range": [ + 1736, + 1752 + ], + "loc": { + "start": { + "line": 81, + "column": 63 + }, + "end": { + "line": 81, + "column": 79 + } + } + }, + "range": [ + 1705, + 1752 + ], + "loc": { + "start": { + "line": 81, + "column": 32 + }, + "end": { + "line": 81, + "column": 79 + } + } + }, + "generator": false, + "expression": true, + "range": [ + 1696, + 1752 + ], + "loc": { + "start": { + "line": 81, + "column": 23 + }, + "end": { + "line": 81, + "column": 79 + } + } + }, + "range": [ + 1686, + 1752 + ], + "loc": { + "start": { + "line": 81, + "column": 13 + }, + "end": { + "line": 81, + "column": 79 + } + } + } + ], + "kind": "const", + "range": [ + 1680, + 1753 + ], + "loc": { + "start": { + "line": 81, + "column": 7 + }, + "end": { + "line": 81, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1554, + 1672 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": [], + "source": null, + "range": [ + 1673, + 1753 + ], + "loc": { + "start": { + "line": 81, + "column": 0 + }, + "end": { + "line": 81, + "column": 80 + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1554, + 1672 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] + } + ], + "sourceType": "module", + "range": [ + 29, + 1753 + ], + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 81, + "column": 80 + } + }, + "comments": [ + { + "type": "Block", + "value": "*\n * Types utilities\n ", + "range": [ + 1, + 27 + ], + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 4, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Return an empty function\n * @return {Function}\n ", + "range": [ + 56, + 113 + ], + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 11, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n ", + "range": [ + 154, + 245 + ], + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n ", + "range": [ + 340, + 433 + ], + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n ", + "range": [ + 529, + 618 + ], + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is a string\n * @param {String} obj obj\n * @returns {Boolean}\n ", + "range": [ + 714, + 807 + ], + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is a number\n * @param {Number} obj\n * @returns {Boolean}\n ", + "range": [ + 905, + 994 + ], + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n ", + "range": [ + 1092, + 1183 + ], + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 58, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is undefined\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1283, + 1371 + ], + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 66, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is null\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1424, + 1507 + ], + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 73, + "column": 3 + } + } + }, + { + "type": "Block", + "value": "*\n * Check passed argument is empty (undefined, null or empty string)\n * @param {Any} obj\n * @return {Boolean}\n ", + "range": [ + 1554, + 1672 + ], + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 80, + "column": 3 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/badge.svg b/docs/badge.svg new file mode 100644 index 00000000..e24552c4 --- /dev/null +++ b/docs/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + 100% + 100% + + diff --git a/docs/class/src/emitter.js~Emitter.html b/docs/class/src/emitter.js~Emitter.html new file mode 100644 index 00000000..830f9e7d --- /dev/null +++ b/docs/class/src/emitter.js~Emitter.html @@ -0,0 +1,625 @@ + + + + + + Emitter | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Emitter} from 'tablefilter/src/emitter.js'
+ public + class + + + + | source +
+ +
+

Emitter

+ + + + + + + + + + + + + + + +

Event emitter class

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor +

+
+
+ + +

Creates an instance of Emitter.

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + +
Public Members
+ public + + + + + +
+

+ events: Object +

+
+
+ + +

Events object

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ emit(evt: String) +

+
+
+ + +

Emit an event

+
+
+
+ + +
+ public + + + + + +
+

+ off(evts: Array, fn: Function) +

+
+
+ + +

Unsubscribe to an event

+
+
+
+ + +
+ public + + + + + +
+

+ on(evts: Array, fn: Function) +

+
+
+ + +

Subscribe to an event

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor + + + + source + +

+ + + + +

Creates an instance of Emitter.

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + events: Object + + + + source + +

+ + + + +

Events object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + emit(evt: String) + + + + source + +

+ + + + +

Emit an event

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
evtString

Event name followed by any other argument passed to +the invoked function

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + off(evts: Array, fn: Function) + + + + source + +

+ + + + +

Unsubscribe to an event

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
evtsArray

Collection of event names

+
fnFunction

Function invoked when event is emitted

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + on(evts: Array, fn: Function) + + + + source + +

+ + + + +

Subscribe to an event

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
evtsArray

Collection of event names

+
fnFunction

Function invoked when event is emitted

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html new file mode 100644 index 00000000..4aab27db --- /dev/null +++ b/docs/class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html @@ -0,0 +1,1370 @@ + + + + + + AdapterEzEditTable | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+ + public + class + + + + | source +
+ +
+

AdapterEzEditTable

+ + + + + +

Extends:

Feature → AdapterEzEditTable
+ + + + + + + + + +

Adapter module for ezEditTable, an external library providing advanced +grid features (selection and edition): +http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter, cfg: Object) +

+
+
+ + +

Creates an instance of AdapterEzEditTable

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ desc: String +

+
+
+ + +

Module description

+
+
+
+ + +
+ public + + + + + +
+

+ filename: String +

+
+
+ + +

Filename of ezEditTable library

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Load ezEditTable stylesheet

+
+
+
+ + +
+ public + + + + + +
+

+ stylesheet: String +

+
+
+ + +

Path to ezEditTable stylesheet

+
+
+
+ + +
+ public + + + + + + +
+ + +

Name of ezEditTable stylesheet

+
+
+
+ + +
+ public + + + + + +
+

+ vendorPath: String +

+
+
+ + +

Path to ezEditTable library

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove advanced grid

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Conditionally load ezEditTable library and set advanced grid

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset advanced grid when previously removed

+
+
+
+ + +
+ public + + + + + +
+

+ toggle() +

+
+
+ + +

Toggle behaviour

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter, cfg: Object) + + + + source + +

+ + + + +

Creates an instance of AdapterEzEditTable

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
cfgObject

Configuration options for ezEditTable library

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + desc: String + + + + source + +

+ + + + +

Module description

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + filename: String + + + + source + +

+ + + + +

Filename of ezEditTable library

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + loadStylesheet: Boolean + + + + source + +

+ + + + +

Load ezEditTable stylesheet

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stylesheet: String + + + + source + +

+ + + + +

Path to ezEditTable stylesheet

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stylesheetName: String + + + + source + +

+ + + + +

Name of ezEditTable stylesheet

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + vendorPath: String + + + + source + +

+ + + + +

Path to ezEditTable library

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove advanced grid

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Conditionally load ezEditTable library and set advanced grid

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + reset() + + + + source + +

+ + + + +

Reset advanced grid when previously removed

+
+ +

Override:

Feature#reset
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggle() + + + + source + +

+ + + + +

Toggle behaviour

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/extensions/colOps/colOps.js~ColOps.html b/docs/class/src/extensions/colOps/colOps.js~ColOps.html new file mode 100644 index 00000000..b498a4cf --- /dev/null +++ b/docs/class/src/extensions/colOps/colOps.js~ColOps.html @@ -0,0 +1,2547 @@ + + + + + + ColOps | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+ + public + class + + + + | source +
+ +
+

ColOps

+ + + + + +

Extends:

Feature → ColOps
+ + + + + + + + + +

Column calculations extension

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter, opts: Object) +

+
+
+ + +

Creates an instance of ColOps

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ colIndexes: Array +

+
+
+ + +

List of columns' indexes for calculations

+
+
+
+ + +
+ public + + + + + + +
+ + +

List of decimal precision for calculation results

+
+
+
+ + +
+ public + + + + + +
+

+ excludeRows: Array +

+
+
+ + +

List of row indexes excluded from calculations

+
+
+
+ + +
+ public + + + + + +
+

+ formatResults: Array +

+
+
+ + +

List of format objects used for formatting the result - +refer to https://github.com/componitable/format-number to check +configuration options

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ labelIds: Array +

+
+
+ + +

List of DOM element IDs containing column's calculation result

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after columns operations are completed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before columns operations start

+
+
+
+ + +
+ public + + + + + +
+

+ operations: Array +

+
+
+ + +

List of operations - possible values: 'sum', 'mean', 'min', 'max', +'median', 'q1', 'q3'

+
+
+
+ + +
+ public + + + + + +
+

+ opts: Object +

+
+
+ + +

Configuration options

+
+
+
+ + +
+ public + + + + + +
+

+ outputTypes: Array +

+
+
+ + +

List of write methods used to write the result - possible values: +'innerHTML', 'setValue', 'createTextNode'

+
+
+
+ + +
+ public + + + + + +
+

+ totRowIndexes: Array +

+
+
+ + +

List of row indexes displaying the results

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ calcAll() +

+
+
+ + +

Calculates columns' values +Configuration options are stored in 'opts' property

+
    +
  • 'id' contains ids of elements showing result (array)
  • +
  • 'col' contains the columns' indexes (array)
  • +
  • 'operation' contains operation type (array, values: 'sum', 'mean', +'min', 'max', 'median', 'q1', 'q3')
  • +
  • 'write_method' array defines which method to use for displaying the + result (innerHTML, setValue, createTextNode) - default: 'innerHTML'
  • +
  • 'tot_row_index' defines in which row results are displayed +(integers array)
  • +
+
+
+
+ + +
+ public + + + + + +
+

+ calcMax(values: Array): Number +

+
+
+ + +

Calculate the max value of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcMean(values: Array): Number +

+
+
+ + +

Calculate the mean of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcMedian(values: Array): Number +

+
+
+ + +

Calculate the median of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcMin(values: Array): Number +

+
+
+ + +

Calculate the min value of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcQ1(values: Array): Number +

+
+
+ + +

Calculate the lower quartile of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcQ3(values: Array): Number +

+
+
+ + +

Calculate the upper quartile of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ calcSum(values: Array): Number +

+
+
+ + +

Calculate the sum of passed values.

+
+
+
+ + +
+ public + + + + + +
+

+ columnCalc(colIndex: Number, operation: String, precision: Number): Number +

+
+
+ + +

Make desired calculation on specified column.

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove extension

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes ColOps instance

+
+
+
+ + +
+ public + + + + + +
+

+ sortColumnValues(values: Array, sorter: Function): Array +

+
+
+ + +

Sort passed values with supplied sorter function.

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter, opts: Object) + + + + source + +

+ + + + +

Creates an instance of ColOps

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
optsObject

Configuration object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + colIndexes: Array + + + + source + +

+ + + + +

List of columns' indexes for calculations

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + decimalPrecisions: Array + + + + source + +

+ + + + +

List of decimal precision for calculation results

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + excludeRows: Array + + + + source + +

+ + + + +

List of row indexes excluded from calculations

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + formatResults: Array + + + + source + +

+ + + + +

List of format objects used for formatting the result - +refer to https://github.com/componitable/format-number to check +configuration options

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + labelIds: Array + + + + source + +

+ + + + +

List of DOM element IDs containing column's calculation result

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterOperation: Function + + + + source + +

+ + + + +

Callback fired after columns operations are completed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeOperation: Function + + + + source + +

+ + + + +

Callback fired before columns operations start

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + operations: Array + + + + source + +

+ + + + +

List of operations - possible values: 'sum', 'mean', 'min', 'max', +'median', 'q1', 'q3'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + opts: Object + + + + source + +

+ + + + +

Configuration options

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + outputTypes: Array + + + + source + +

+ + + + +

List of write methods used to write the result - possible values: +'innerHTML', 'setValue', 'createTextNode'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + totRowIndexes: Array + + + + source + +

+ + + + +

List of row indexes displaying the results

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + calcAll() + + + + source + +

+ + + + +

Calculates columns' values +Configuration options are stored in 'opts' property

+
    +
  • 'id' contains ids of elements showing result (array)
  • +
  • 'col' contains the columns' indexes (array)
  • +
  • 'operation' contains operation type (array, values: 'sum', 'mean', +'min', 'max', 'median', 'q1', 'q3')
  • +
  • 'write_method' array defines which method to use for displaying the + result (innerHTML, setValue, createTextNode) - default: 'innerHTML'
  • +
  • 'tot_row_index' defines in which row results are displayed +(integers array)

    +
  • +
  • changes made by Nuovella: +(1) optimized the routine (now it will only process each column once), +(2) added calculations for the median, lower and upper quartile.

    +
  • +
+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + calcMax(values: Array): Number + + + + source + +

+ + + + +

Calculate the max value of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcMean(values: Array): Number + + + + source + +

+ + + + +

Calculate the mean of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcMedian(values: Array): Number + + + + source + +

+ + + + +

Calculate the median of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcMin(values: Array): Number + + + + source + +

+ + + + +

Calculate the min value of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcQ1(values: Array): Number + + + + source + +

+ + + + +

Calculate the lower quartile of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcQ3(values: Array): Number + + + + source + +

+ + + + +

Calculate the upper quartile of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + calcSum(values: Array): Number + + + + source + +

+ + + + +

Calculate the sum of passed values.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + columnCalc(colIndex: Number, operation: String, precision: Number): Number + + + + source + +

+ + + + +

Make desired calculation on specified column.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
operationString
  • optional
  • +
  • default: SUM

Operation type

+
precisionNumber

Decimal precision

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove extension

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes ColOps instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortColumnValues(values: Array, sorter: Function): Array + + + + source + +

+ + + + +

Sort passed values with supplied sorter function.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
valuesArray
  • optional
  • +
  • default: []

List of values to be sorted

+
sorterFunction

Sorter function

+
+
+
+ +
+

Return:

+ + + + + +
Array
+
+
+
+ + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html new file mode 100644 index 00000000..c5a321e2 --- /dev/null +++ b/docs/class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html @@ -0,0 +1,3895 @@ + + + + + + ColsVisibility | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+ + public + class + + + + | source +
+ +
+

ColsVisibility

+ + + + + +

Extends:

Feature → ColsVisibility
+ + + + + + + + + +

Columns Visibility extension

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter, Configuration: Object) +

+
+
+ + +

Creates an instance of ColsVisibility

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ atStart: Array +

+
+
+ + +

List of columns indexes to be hidden at initialization

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css for columns manager UI close link

+
+
+
+ + +
+ public + + + + + +
+

+ btnCloseHtml: String +

+
+
+ + +

Columns manager UI close link HTML

+
+
+
+ + +
+ public + + + + + +
+

+ btnCloseText: String +

+
+
+ + +

Columns manager UI close link text, defaults to 'Close'

+
+
+
+ + +
+ public + + + + + +
+

+ btnCssClass: String +

+
+
+ + +

Css class for button

+
+
+
+ + +
+ public + + + + + +
+

+ btnHtml: String +

+
+
+ + +

Button's inner HTML

+
+
+
+ + +
+ public + + + + + +
+

+ btnText: String +

+
+
+ + +

Button's text, defaults to Columns▼

+
+
+
+ + +
+ public + + + + + +
+

+ btnTgtId: String +

+
+
+ + +

ID of button's container element

+
+
+
+ + +
+ public + + + + + +
+

+ contCssClass: String +

+
+
+ + +

Css for columns manager UI main container

+
+
+
+ + +
+ public + + + + + +
+

+ contElTgtId: String +

+
+
+ + +

ID of main container element

+
+
+
+ + +
+ public + + + + + +
+

+ desc: String +

+
+
+ + +

Module description

+
+
+
+ + +
+ public + + + + + +
+

+ enableHover: Boolean +

+
+
+ + +

Enable hover behaviour on columns manager button/link

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable select all option, disabled by default

+
+
+
+ + +
+ public + + + + + +
+

+ headersIndex: Number +

+
+
+ + +

Headers row index only if headers are external

+
+
+
+ + +
+ public + + + + + +
+

+ headersTbl: DOMElement +

+
+
+ + +

Headers HTML table reference only if headers are external

+
+
+
+ + +
+ public + + + + + +
+

+ headersText: Array +

+
+
+ + +

Alternative text for column headers in column manager UI

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ listCssClass: String +

+
+
+ + +

Css for columns manager UI checklist (ul)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css for columns manager UI checklist item (li)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css for columns manager UI checklist item selected state (li)

+
+
+
+ + +
+ public + + + + + +
+

+ manager: Boolean +

+
+
+ + +

Enable columns manager UI, defaults to true

+
+
+
+ + +
+ public + + + + + +
+

+ name: String +

+
+
+ + +

Module name

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the columns manager is closed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a column is displayed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a column is hidden

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the columns manager is opened

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the columns manager is closed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a column is displayed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a column is hidden

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the columns manager is opened

+
+
+
+ + +
+ public + + + + + +
+

+ onLoaded: Function +

+
+
+ + +

Callback fired when the extension is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ spanCssClass: String +

+
+
+ + +

Css for columns manager UI span

+
+
+
+ + +
+ public + + + + + +
+

+ stylesheet: String +

+
+
+ + +

Extension's stylesheet filename

+
+
+
+ + +
+ public + + + + + +
+

+ text: String +

+
+
+ + +

Text preceding the columns list, defaults to 'Hide' or 'Show' +depending on tick mode (tick_to_hide option)

+
+
+
+ + +
+ public + + + + + +
+

+ tickAllText: String +

+
+
+ + +

Text for select all option, defaults to 'Select all:'

+
+
+
+ + +
+ public + + + + + +
+

+ tickToHide: Boolean +

+
+
+ + +

Enable tick to hide a column, defaults to true

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ buildBtn() +

+
+
+ + +

Build main button UI

+
+
+
+ + +
+ public + + + + + +
+

+ buildManager() +

+
+
+ + +

Build columns manager UI

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove the columns manager

+
+
+
+ + +
+ public + + + + + +
+

+ getHiddenCols(): Array +

+
+
+ + +

Return the indexes of the columns currently hidden

+
+
+
+ + +
+ public + + + + + +
+

+ hideCol(colIndex: Number) +

+
+
+ + +

Hide specified column

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes ColsVisibility instance

+
+
+
+ + +
+ public + + + + + +
+

+ isColHidden(colIndex: Number): boolean +

+
+
+ + +

Determine if specified column is hidden

+
+
+
+ + +
+ public + + + + + +
+

+ setHidden(colIndex: Number, hide: Boolean) +

+
+
+ + +

Hide or show specified columns

+
+
+
+ + +
+ public + + + + + +
+

+ showCol(colIndex: Number) +

+
+
+ + +

Show specified column

+
+
+
+ + +
+ public + + + + + +
+

+ toggle() +

+
+
+ + +

Toggle columns manager UI

+
+
+
+ + +
+ public + + + + + +
+

+ toggleCol(colIndex: Number) +

+
+
+ + +

Toggle visibility of specified column

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter, Configuration: Object) + + + + source + +

+ + + + +

Creates an instance of ColsVisibility

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
ConfigurationObject

object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + atStart: Array + + + + source + +

+ + + + +

List of columns indexes to be hidden at initialization

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCloseCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI close link

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCloseHtml: String + + + + source + +

+ + + + +

Columns manager UI close link HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCloseText: String + + + + source + +

+ + + + +

Columns manager UI close link text, defaults to 'Close'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCssClass: String + + + + source + +

+ + + + +

Css class for button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnHtml: String + + + + source + +

+ + + + +

Button's inner HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnText: String + + + + source + +

+ + + + +

Button's text, defaults to Columns▼

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnTgtId: String + + + + source + +

+ + + + +

ID of button's container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + contCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI main container

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + contElTgtId: String + + + + source + +

+ + + + +

ID of main container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + desc: String + + + + source + +

+ + + + +

Module description

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableHover: Boolean + + + + source + +

+ + + + +

Enable hover behaviour on columns manager button/link

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableTickAll: Boolean + + + + source + +

+ + + + +

Enable select all option, disabled by default

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headersIndex: Number + + + + source + +

+ + + + +

Headers row index only if headers are external

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headersTbl: DOMElement + + + + source + +

+ + + + +

Headers HTML table reference only if headers are external

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headersText: Array + + + + source + +

+ + + + +

Alternative text for column headers in column manager UI

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + listCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI checklist (ul)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + listItemCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI checklist item (li)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + listSlcItemCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI checklist item selected state (li)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + manager: Boolean + + + + source + +

+ + + + +

Enable columns manager UI, defaults to true

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + name: String + + + + source + +

+ + + + +

Module name

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterClose: Function + + + + source + +

+ + + + +

Callback fired after the columns manager is closed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterColDisplayed: Function + + + + source + +

+ + + + +

Callback fired after a column is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterColHidden: Function + + + + source + +

+ + + + +

Callback fired after a column is hidden

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterOpen: Function + + + + source + +

+ + + + +

Callback fired after the columns manager is opened

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeClose: Function + + + + source + +

+ + + + +

Callback fired before the columns manager is closed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeColDisplayed: Function + + + + source + +

+ + + + +

Callback fired before a column is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeColHidden: Function + + + + source + +

+ + + + +

Callback fired before a column is hidden

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeOpen: Function + + + + source + +

+ + + + +

Callback fired before the columns manager is opened

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onLoaded: Function + + + + source + +

+ + + + +

Callback fired when the extension is initialized

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + spanCssClass: String + + + + source + +

+ + + + +

Css for columns manager UI span

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stylesheet: String + + + + source + +

+ + + + +

Extension's stylesheet filename

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + text: String + + + + source + +

+ + + + +

Text preceding the columns list, defaults to 'Hide' or 'Show' +depending on tick mode (tick_to_hide option)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tickAllText: String + + + + source + +

+ + + + +

Text for select all option, defaults to 'Select all:'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tickToHide: Boolean + + + + source + +

+ + + + +

Enable tick to hide a column, defaults to true

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + buildBtn() + + + + source + +

+ + + + +

Build main button UI

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + buildManager() + + + + source + +

+ + + + +

Build columns manager UI

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove the columns manager

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getHiddenCols(): Array + + + + source + +

+ + + + +

Return the indexes of the columns currently hidden

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Array

column indexes

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + hideCol(colIndex: Number) + + + + source + +

+ + + + +

Hide specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes ColsVisibility instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isColHidden(colIndex: Number): boolean + + + + source + +

+ + + + +

Determine if specified column is hidden

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + setHidden(colIndex: Number, hide: Boolean) + + + + source + +

+ + + + +

Hide or show specified columns

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
hideBoolean

Hide column if true or show if false

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + showCol(colIndex: Number) + + + + source + +

+ + + + +

Show specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggle() + + + + source + +

+ + + + +

Toggle columns manager UI

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggleCol(colIndex: Number) + + + + source + +

+ + + + +

Toggle visibility of specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html new file mode 100644 index 00000000..54114957 --- /dev/null +++ b/docs/class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html @@ -0,0 +1,2080 @@ + + + + + + AdapterSortableTable | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+ + public + class + + + + | source +
+ +
+

AdapterSortableTable

+ + + + + +

Extends:

Feature → AdapterSortableTable
+ + + + + + + + + +

SortableTable Adapter module

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter, opts: Object) +

+
+
+ + +

Creates an instance of AdapterSortableTable

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ asyncSort: Boolean +

+
+
+ + +

Enable asynchronous sort, if triggers are external

+
+
+
+ + +
+ public + + + + + +
+

+ customKey: String +

+
+
+ + +

Cell attribute key storing custom value used for sorting

+
+
+
+ + +
+ public + + + + + +
+

+ desc: String +

+
+
+ + +

Module description

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for ascending sort indicator image

+
+
+
+ + +
+ public + + + + + +
+

+ imgBlank: String +

+
+
+ + +

Blank image file name

+
+
+
+ + +
+ public + + + + + +
+

+ imgClassName: String +

+
+
+ + +

Css class for sort indicator image

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for descending sort indicator image

+
+
+
+ + +
+ public + + + + + +
+

+ imgPath: String +

+
+
+ + +

Path to images

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ name: String +

+
+
+ + +

Module name

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a table column is sorted

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a table column is sorted

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired when sort extension is instanciated

+
+
+
+ + +
+ public + + + + + + +
+ + +

Column to be sorted at initialization, ie: +sort_col_at_start: [1, true]

+
+
+
+ + +
+ public + + + + + +
+

+ sortTypes: Array +

+
+
+ + +

List of sort type per column basis

+
+
+
+ + +
+ public + + + + + +
+

+ triggerIds: Array +

+
+
+ + +

List of element IDs triggering sort on a per column basis

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ addSortType(args: ...*) +

+
+
+ + +

Adds a sort type

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove extension

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes AdapterSortableTable instance

+
+
+
+ + +
+ public + + + + + + +
+ + +

Set SortableTable overrides for TableFilter integration

+
+
+
+ + +
+ public + + + + + +
+

+ sortByColumnIndex(colIdx: Number, desc: Boolean) +

+
+
+ + +

Sort specified column

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter, opts: Object) + + + + source + +

+ + + + +

Creates an instance of AdapterSortableTable

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
optsObject

Configuration object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + asyncSort: Boolean + + + + source + +

+ + + + +

Enable asynchronous sort, if triggers are external

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + customKey: String + + + + source + +

+ + + + +

Cell attribute key storing custom value used for sorting

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + desc: String + + + + source + +

+ + + + +

Module description

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + imgAscClassName: String + + + + source + +

+ + + + +

Css class for ascending sort indicator image

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + imgBlank: String + + + + source + +

+ + + + +

Blank image file name

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + imgClassName: String + + + + source + +

+ + + + +

Css class for sort indicator image

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + imgDescClassName: String + + + + source + +

+ + + + +

Css class for descending sort indicator image

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + imgPath: String + + + + source + +

+ + + + +

Path to images

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + name: String + + + + source + +

+ + + + +

Module name

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterSort: Function + + + + source + +

+ + + + +

Callback fired after a table column is sorted

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeSort: Function + + + + source + +

+ + + + +

Callback fired before a table column is sorted

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onSortLoaded: Function + + + + source + +

+ + + + +

Callback fired when sort extension is instanciated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortColAtStart: Array + + + + source + +

+ + + + +

Column to be sorted at initialization, ie: +sort_col_at_start: [1, true]

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortTypes: Array + + + + source + +

+ + + + +

List of sort type per column basis

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + triggerIds: Array + + + + source + +

+ + + + +

List of element IDs triggering sort on a per column basis

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + addSortType(args: ...*) + + + + source + +

+ + + + +

Adds a sort type

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
args...*
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove extension

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes AdapterSortableTable instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + overrideSortableTable() + + + + source + +

+ + + + +

Set SortableTable overrides for TableFilter integration

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortByColumnIndex(colIdx: Number, desc: Boolean) + + + + source + +

+ + + + +

Sort specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIdxNumber

Column index

+
descBoolean

Optional: descending manner

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/feature.js~Feature.html b/docs/class/src/feature.js~Feature.html new file mode 100644 index 00000000..c8024863 --- /dev/null +++ b/docs/class/src/feature.js~Feature.html @@ -0,0 +1,1129 @@ + + + + + + Feature | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Feature} from 'tablefilter/src/feature.js'
+ public + class + + + + | source +
+ +
+

Feature

+ + + + + + + +

Indirect Subclass:

+ + + + + + + +

Base class defining the interface of a TableFilter feature

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: Object, feature: String) +

+
+
+ + +

Creates an instance of Feature

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: Object, feature: String) + + + + source + +

+ + + + +

Creates an instance of Feature

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tfObject

TableFilter instance

+
featureString

Feature name known by TableFilter

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + config: Object + + + + source + +

+ + + + +

TableFilter configuration

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + emitter: Emitter + + + + source + +

+ + + + +

TableFilter emitter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enabled: Boolean + + + + source + +

+ + + + +

TableFilter feature setting

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + feature: String + + + + source + +

+ + + + +

Feature name

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: Boolean + + + + source + +

+ + + + +

Field indicating whether Feature is initialized

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tf: TableFilter + + + + source + +

+ + + + +

TableFilter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy the feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + disable() + + + + source + +

+ + + + +

Disable the feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enable() + + + + source + +

+ + + + +

Enable the feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialize the feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isEnabled(): Boolean + + + + source + +

+ + + + +

Indicate whether the feature is enabled or not

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + reset() + + + + source + +

+ + + + +

Reset the feature after being disabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/alternateRows.js~AlternateRows.html b/docs/class/src/modules/alternateRows.js~AlternateRows.html new file mode 100644 index 00000000..56be1f91 --- /dev/null +++ b/docs/class/src/modules/alternateRows.js~AlternateRows.html @@ -0,0 +1,1124 @@ + + + + + + AlternateRows | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {AlternateRows} from 'tablefilter/src/modules/alternateRows.js'
+ public + class + + + + | source +
+ +
+

AlternateRows

+ + + + + +

Extends:

Feature → AlternateRows
+ + + + + + + + + +

Rows with alternating background color for improved readability

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: Object) +

+
+
+ + +

Creates an instance of AlternateRows.

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ evenCss: String +

+
+
+ + +

Css class for even rows (default: 'even')

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ oddCss: String +

+
+
+ + +

Css class for odd rows (default: 'odd')

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Removes all alternating backgrounds

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Sets alternating rows color

+
+
+
+ + +
+ public + + + + + +
+

+ processAll() +

+
+
+ + +

Apply background to all valid rows

+
+
+
+ + +
+ public + + + + + +
+

+ processRow(rowIdx: Number, arrIdx: Number, isValid: Boolean) +

+
+
+ + +

Set/remove row background based on row validation

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: Object) + + + + source + +

+ + + + +

Creates an instance of AlternateRows.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfObject

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + evenCss: String + + + + source + +

+ + + + +

Css class for even rows (default: 'even')

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + oddCss: String + + + + source + +

+ + + + +

Css class for odd rows (default: 'odd')

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Removes all alternating backgrounds

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Sets alternating rows color

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + processAll() + + + + source + +

+ + + + +

Apply background to all valid rows

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + processRow(rowIdx: Number, arrIdx: Number, isValid: Boolean) + + + + source + +

+ + + + +

Set/remove row background based on row validation

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
rowIdxNumber

Row index

+
arrIdxNumber

Array index

+
isValidBoolean

Valid row flag

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/baseDropdown.js~BaseDropdown.html b/docs/class/src/modules/baseDropdown.js~BaseDropdown.html new file mode 100644 index 00000000..f68de19c --- /dev/null +++ b/docs/class/src/modules/baseDropdown.js~BaseDropdown.html @@ -0,0 +1,684 @@ + + + + + + BaseDropdown | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {BaseDropdown} from 'tablefilter/src/modules/baseDropdown.js'
+ public + class + + + + | source +
+ +
+

BaseDropdown

+ + + + + +

Extends:

Feature → BaseDropdown
+

Direct Subclass:

+ + + + + + + + +

Base class for Dropdown and CheckList UI components

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of BaseDropdown

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + +
Public Members
+ public + + + + + +
+

+ customSorter: Object +

+
+
+ + +

Filter options custom sorter on a column basis

+
+
+
+ + +
+
+ + +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of BaseDropdown

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + customSorter: Object + + + + source + +

+ + + + +

Filter options custom sorter on a column basis

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/checkList.js~CheckList.html b/docs/class/src/modules/checkList.js~CheckList.html new file mode 100644 index 00000000..bab34405 --- /dev/null +++ b/docs/class/src/modules/checkList.js~CheckList.html @@ -0,0 +1,2031 @@ + + + + + + CheckList | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {CheckList} from 'tablefilter/src/modules/checkList.js'
+ public + class + + + + | source +
+ +
+

CheckList

+ + + + + +

Extends:

FeatureBaseDropdown → CheckList
+ + + + + + + + + +

Checklist filter UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of CheckList

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ activateText: String +

+
+
+ + +

Text placed in the filter's container when load filter on demand +feature is enabled

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the container of the checklist filter (div)

+
+
+
+ + +
+ public + + + + + +
+

+ containers: Array +

+
+
+ + +

List of container DOM elements

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for a disabled item of a checklist (li)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable the reset filter option as first item

+
+
+
+ + +
+ public + + + + + +
+

+ excludedOpts: * +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Css class for the checklist filter element (ul)

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ isCustom: * +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ itemCssClass: String +

+
+
+ + +

Css class for the item of a checklist (li)

+
+
+
+ + +
+ public + + + + + +
+

+ opts: * +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ optsTxt: * +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Css class for a selected item of a checklist (li)

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ build(colIndex: Number, isLinked: Boolean) +

+
+
+ + +

Build checklist UI

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy CheckList instance

+
+
+
+ + +
+ public + + + + + +
+

+ getValues(colIndex: Number): Array +

+
+
+ + +

Get filter values for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ init(colIndex: Number, isExternal: Boolean, container: DOMElement) +

+
+
+ + +

Initialize checklist filter

+
+
+
+ + +
+ public + + + + + +
+

+ refreshAll() +

+
+
+ + +

Refresh all checklist filters

+
+
+
+ + +
+ public + + + + + +
+

+ selectOptions(colIndex: Number, values: Array) +

+
+
+ + +

Select filter options programmatically

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+ + + + + + + + + + + +
From class BaseDropdown
+ public + + + + + +
+

+ customSorter: Object +

+
+
+ + +

Filter options custom sorter on a column basis

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of CheckList

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + activateText: String + + + + source + +

+ + + + +

Text placed in the filter's container when load filter on demand +feature is enabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + containerCssClass: String + + + + source + +

+ + + + +

Css class for the container of the checklist filter (div)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + containers: Array + + + + source + +

+ + + + +

List of container DOM elements

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + disabledItemCssClass: String + + + + source + +

+ + + + +

Css class for a disabled item of a checklist (li)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableResetOption: Boolean + + + + source + +

+ + + + +

Enable the reset filter option as first item

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + excludedOpts: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + filterCssClass: String + + + + source + +

+ + + + +

Css class for the checklist filter element (ul)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isCustom: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + itemCssClass: String + + + + source + +

+ + + + +

Css class for the item of a checklist (li)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + opts: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + optsTxt: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + selectedItemCssClass: String + + + + source + +

+ + + + +

Css class for a selected item of a checklist (li)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + build(colIndex: Number, isLinked: Boolean) + + + + source + +

+ + + + +

Build checklist UI

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
isLinkedBoolean

Enable linked filters behaviour

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy CheckList instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getValues(colIndex: Number): Array + + + + source + +

+ + + + +

Get filter values for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Array

values Collection of selected values

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + init(colIndex: Number, isExternal: Boolean, container: DOMElement) + + + + source + +

+ + + + +

Initialize checklist filter

+
+ +

Override:

Feature#init
+ +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
isExternalBoolean

External filter flag

+
containerDOMElement

Dom element containing the filter

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + refreshAll() + + + + source + +

+ + + + +

Refresh all checklist filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + selectOptions(colIndex: Number, values: Array) + + + + source + +

+ + + + +

Select filter options programmatically

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
valuesArray

Array of option values to select

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/clearButton.js~ClearButton.html b/docs/class/src/modules/clearButton.js~ClearButton.html new file mode 100644 index 00000000..e831a0d7 --- /dev/null +++ b/docs/class/src/modules/clearButton.js~ClearButton.html @@ -0,0 +1,1160 @@ + + + + + + ClearButton | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {ClearButton} from 'tablefilter/src/modules/clearButton.js'
+ public + class + + + + | source +
+ +
+

ClearButton

+ + + + + +

Extends:

Feature → ClearButton
+ + + + + + + + + +

Clear button UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of ClearButton

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ cssClass: String +

+
+
+ + +

Css class for reset button

+
+
+
+ + +
+ public + + + + + +
+

+ html: String +

+
+
+ + +

Custom Html string for the clear button

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ targetId: String +

+
+
+ + +

Container element ID

+
+
+
+ + +
+ public + + + + + +
+

+ text: String +

+
+
+ + +

Text for the clear button

+
+
+
+ + +
+ public + + + + + +
+

+ tooltip: String +

+
+
+ + +

Tooltip text for the clear button

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy ClearButton instance

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize clear button component

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of ClearButton

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + cssClass: String + + + + source + +

+ + + + +

Css class for reset button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + html: String + + + + source + +

+ + + + +

Custom Html string for the clear button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + targetId: String + + + + source + +

+ + + + +

Container element ID

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + text: String + + + + source + +

+ + + + +

Text for the clear button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tooltip: String + + + + source + +

+ + + + +

Tooltip text for the clear button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy ClearButton instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialize clear button component

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/dateType.js~DateType.html b/docs/class/src/modules/dateType.js~DateType.html new file mode 100644 index 00000000..17914dfb --- /dev/null +++ b/docs/class/src/modules/dateType.js~DateType.html @@ -0,0 +1,1460 @@ + + + + + + DateType | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {DateType} from 'tablefilter/src/modules/dateType.js'
+ public + class + + + + | source +
+ +
+

DateType

+ + + + + +

Extends:

Feature → DateType
+ + + + + + + + + +

Wrapper for Sugar Date module providing datetime helpers and locales

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of DateType

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ datetime: Object +

+
+
+ + +

Sugar Date instance

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ locale: String +

+
+
+ + +

Global locale

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ addConfigFormats(types: Array) +

+
+
+ + +

Add date time format(s) to a locale as specified by the passed +collection of column types, ie: + [ + 'string', + 'number', + { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']} +]

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove DateType instance

+
+
+
+ + +
+ public + + + + + +
+

+ getLocale(colIndex: Number): String +

+
+
+ + +

Return the locale code for supplied column index as per configuration +or global setting

+
+
+
+ + +
+ public + + + + + +
+

+ getOptions(colIndex: Number, types: Array): Object +

+
+
+ + +

Return the type object of a specified column as per configuration or +passed collection

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize DateType instance

+
+
+
+ + +
+ public + + + + + +
+

+ isValid(dateStr: any, localeCode: any): Boolean +

+
+
+ + +

Check string representation of a date for a specified locale is valid

+
+
+
+ + +
+ public + + + + + +
+

+ parse(dateStr: String, localeCode: String): Date +

+
+
+ + +

Parse a string representation of a date for a specified locale and return +a date object

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of DateType

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + datetime: Object + + + + source + +

+ + + + +

Sugar Date instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + locale: String + + + + source + +

+ + + + +

Global locale

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + addConfigFormats(types: Array) + + + + source + +

+ + + + +

Add date time format(s) to a locale as specified by the passed +collection of column types, ie: + [ + 'string', + 'number', + { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']} +]

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
typesArray
  • optional
  • +
  • default: []

Collection of column types

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove DateType instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getLocale(colIndex: Number): String + + + + source + +

+ + + + +

Return the locale code for supplied column index as per configuration +or global setting

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
String

Locale code (ie: 'en-us')

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getOptions(colIndex: Number, types: Array): Object + + + + source + +

+ + + + +

Return the type object of a specified column as per configuration or +passed collection

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
typesArray

Collection of column types, optional

+
+
+
+ +
+

Return:

+ + + + + +
Object
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialize DateType instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isValid(dateStr: any, localeCode: any): Boolean + + + + source + +

+ + + + +

Check string representation of a date for a specified locale is valid

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
dateStrany

String representation of a date

+
localeCodeany

Locale code (ie 'en-us')

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + parse(dateStr: String, localeCode: String): Date + + + + source + +

+ + + + +

Parse a string representation of a date for a specified locale and return +a date object

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
dateStrString

String representation of a date

+
localeCodeString

Locale code (ie 'en-us')

+
+
+
+ +
+

Return:

+ + + + + +
Date
+
+
+
+ + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/dropdown.js~Dropdown.html b/docs/class/src/modules/dropdown.js~Dropdown.html new file mode 100644 index 00000000..86c35303 --- /dev/null +++ b/docs/class/src/modules/dropdown.js~Dropdown.html @@ -0,0 +1,1828 @@ + + + + + + Dropdown | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Dropdown} from 'tablefilter/src/modules/dropdown.js'
+ public + class + + + + | source +
+ +
+

Dropdown

+ + + + + +

Extends:

FeatureBaseDropdown → Dropdown
+ + + + + + + + + +

Dropdown filter UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of Dropdown

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + + +
+ + +

Enable the reset filter option as first item

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ isCustom: * +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Tooltip text appearing on multiple select

+
+
+
+ + +
+ public + + + + + +
+

+ nonEmptyText: String +

+
+
+ + +

Non empty option text

+
+
+
+ + +
+ public + + + + + +
+

+ opts: * +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ optsTxt: * +

+
+
+ + + +
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ addFirstOption(slc: Object): * +

+
+
+ + +

Add drop-down header option

+
+
+
+ + +
+ public + + + + + +
+

+ addOptions(colIndex: Number, slc: Object, isLinked: Boolean, excludedOpts: Array) +

+
+
+ + +

Add drop-down options

+
+
+
+ + +
+ public + + + + + +
+

+ build(colIndex: Number, isLinked: Boolean) +

+
+
+ + +

Build drop-down filter UI

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy Dropdown instance

+
+
+
+ + +
+ public + + + + + +
+

+ getValues(colIndex: Number): Array +

+
+
+ + +

Get filter values for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ init(colIndex: Number, isExternal: Boolean, container: DOMElement) +

+
+
+ + +

Initialize drop-down filter

+
+
+
+ + +
+ public + + + + + +
+

+ refreshAll() +

+
+
+ + +

Refresh all drop-down filters

+
+
+
+ + +
+ public + + + + + +
+

+ selectOptions(colIndex: Number, values: Array) +

+
+
+ + +

Select filter options programmatically

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+ + + + + + + + + + + +
From class BaseDropdown
+ public + + + + + +
+

+ customSorter: Object +

+
+
+ + +

Filter options custom sorter on a column basis

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of Dropdown

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + enableSlcResetFilter: Boolean + + + + source + +

+ + + + +

Enable the reset filter option as first item

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isCustom: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + multipleSlcTooltip: String + + + + source + +

+ + + + +

Tooltip text appearing on multiple select

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + nonEmptyText: String + + + + source + +

+ + + + +

Non empty option text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + opts: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + optsTxt: * + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + addFirstOption(slc: Object): * + + + + source + +

+ + + + +

Add drop-down header option

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
slcObject

Select DOM element

+
+
+
+ +
+

Return:

+ + + + + +
*
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + addOptions(colIndex: Number, slc: Object, isLinked: Boolean, excludedOpts: Array) + + + + source + +

+ + + + +

Add drop-down options

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
slcObject

Select Dom element

+
isLinkedBoolean

Enable linked refresh behaviour

+
excludedOptsArray

Array of excluded options

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + build(colIndex: Number, isLinked: Boolean) + + + + source + +

+ + + + +

Build drop-down filter UI

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
isLinkedBoolean

Enable linked filters behaviour

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy Dropdown instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getValues(colIndex: Number): Array + + + + source + +

+ + + + +

Get filter values for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Array

values Array of selected values

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + init(colIndex: Number, isExternal: Boolean, container: DOMElement) + + + + source + +

+ + + + +

Initialize drop-down filter

+
+ +

Override:

Feature#init
+ +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
isExternalBoolean

External filter flag

+
containerDOMElement

Dom element containing the filter

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + refreshAll() + + + + source + +

+ + + + +

Refresh all drop-down filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + selectOptions(colIndex: Number, values: Array) + + + + source + +

+ + + + +

Select filter options programmatically

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
valuesArray

Array of option values to select

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/gridLayout.js~GridLayout.html b/docs/class/src/modules/gridLayout.js~GridLayout.html new file mode 100644 index 00000000..6c161109 --- /dev/null +++ b/docs/class/src/modules/gridLayout.js~GridLayout.html @@ -0,0 +1,1564 @@ + + + + + + GridLayout | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {GridLayout} from 'tablefilter/src/modules/gridLayout.js'
+ public + class + + + + | source +
+ +
+

GridLayout

+ + + + + +

Extends:

Feature → GridLayout
+ + + + + + + + + +

Grid layout, table with fixed headers

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of GridLayout

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ contCssClass: String +

+
+
+ + +

Css class for body table container element

+
+
+
+ + +
+ public + + + + + + +
+ + +

Grid-layout default column widht as CSS string

+
+
+
+ + +
+ public + + + + + +
+

+ filters: Boolean +

+
+
+ + +

Enable or disable column filters generation, default: true

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for headers table container element

+
+
+
+ + +
+ public + + + + + +
+

+ headRowIndex: Number +

+
+
+ + +

Index of the headers row, default: 0

+
+
+
+ + +
+ public + + + + + +
+

+ headRows: Array +

+
+
+ + +

Collection of the header row indexes to be moved into headers table

+
+
+
+ + +
+ public + + + + + +
+

+ height: String +

+
+
+ + +

Grid-layout container height as CSS string

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for toolbar container element (rows counter, paging etc.)

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Css class for main container element

+
+
+
+ + +
+ public + + + + + +
+

+ noHeaders: Boolean +

+
+
+ + +

Enable or disable column headers, default: false

+
+
+
+ + +
+ public + + + + + +
+

+ width: String +

+
+
+ + +

Grid-layout container width as CSS string

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Removes the grid layout

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

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

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of GridLayout

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + contCssClass: String + + + + source + +

+ + + + +

Css class for body table container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + defaultColWidth: String + + + + source + +

+ + + + +

Grid-layout default column widht as CSS string

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + filters: Boolean + + + + source + +

+ + + + +

Enable or disable column filters generation, default: true

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headContCssClass: String + + + + source + +

+ + + + +

Css class for headers table container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headRowIndex: Number + + + + source + +

+ + + + +

Index of the headers row, default: 0

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + headRows: Array + + + + source + +

+ + + + +

Collection of the header row indexes to be moved into headers table

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + height: String + + + + source + +

+ + + + +

Grid-layout container height as CSS string

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + infDivCssClass: String + + + + source + +

+ + + + +

Css class for toolbar container element (rows counter, paging etc.)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + mainContCssClass: String + + + + source + +

+ + + + +

Css class for main container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + noHeaders: Boolean + + + + source + +

+ + + + +

Enable or disable column headers, default: false

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + width: String + + + + source + +

+ + + + +

Grid-layout container width as CSS string

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Removes the grid layout

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

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 new file mode 100644 index 00000000..78d9f746 --- /dev/null +++ b/docs/class/src/modules/hash.js~Hash.html @@ -0,0 +1,822 @@ + + + + + + Hash | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Hash} from 'tablefilter/src/modules/hash.js'
+ public + class + + + + | source +
+ +
+

Hash

+ + + + + + + + + + + + + + + +

Manages state via URL hash changes

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(state: State) +

+
+
+ + +

Creates an instance of Hash

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

Application event emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ state: State +

+
+
+ + +

State object

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Release Hash event subscriptions and clear fields

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes the Hash object

+
+
+
+ + +
+ public + + + + + +
+

+ parse(hash: String): Object +

+
+
+ + +

Converts a URL hash into a state JSON object

+
+
+
+ + +
+ public + + + + + +
+

+ sync() +

+
+
+ + +

Applies current hash state to features

+
+
+
+ + +
+ public + + + + + +
+

+ update(state: State) +

+
+
+ + +

Updates the URL hash based on a state change

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor(state: State) + + + + source + +

+ + + + +

Creates an instance of Hash

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
stateState

Instance of State

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + emitter: Emitter + + + + source + +

+ + + + +

Application event emitter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + state: State + + + + source + +

+ + + + +

State object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Release Hash event subscriptions and clear fields

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes the Hash object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + parse(hash: String): Object + + + + source + +

+ + + + +

Converts a URL hash into a state JSON object

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
hashString

URL hash fragment

+
+
+
+ +
+

Return:

+ + + + + +
Object

JSON object

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + sync() + + + + source + +

+ + + + +

Applies current hash state to features

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + update(state: State) + + + + source + +

+ + + + +

Updates the URL hash based on a state change

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
stateState

Instance of State

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/help.js~Help.html b/docs/class/src/modules/help.js~Help.html new file mode 100644 index 00000000..ba0768e3 --- /dev/null +++ b/docs/class/src/modules/help.js~Help.html @@ -0,0 +1,1629 @@ + + + + + + Help | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Help} from 'tablefilter/src/modules/help.js'
+ public + class + + + + | source +
+ +
+

Help

+ + + + + +

Extends:

Feature → Help
+ + + + + + + + + +

Help UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of Help

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ btn: DOMElement +

+
+
+ + +

Button DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ btnCssClass: String +

+
+
+ + +

Css class for help button

+
+
+
+ + +
+ public + + + + + +
+

+ btnHtml: String +

+
+
+ + +

Custom help button HTML

+
+
+
+ + +
+ public + + + + + +
+

+ btnText: String +

+
+
+ + +

Help button text ('?')

+
+
+
+ + +
+ public + + + + + +
+

+ cont: DOMElement +

+
+
+ + +

Help container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ contCssClass: String +

+
+
+ + +

Css class for help container element

+
+
+
+ + +
+ public + + + + + +
+

+ contTgtId: String +

+
+
+ + +

ID of custom container element for instructions

+
+
+
+ + +
+ public + + + + + +
+

+ defaultHtml: String +

+
+
+ + +

Default HTML appended to instructions text

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ instrHtml: String +

+
+
+ + +

Instructions HTML

+
+
+
+ + +
+ public + + + + + +
+

+ instrText: String +

+
+
+ + +

Instructions text (accepts HTML)

+
+
+
+ + +
+ public + + + + + +
+

+ tgtId: String +

+
+
+ + +

ID of main custom container element

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove help UI

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialise Help instance

+
+
+
+ + +
+ public + + + + + +
+

+ toggle() +

+
+
+ + +

Toggle help pop-up

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of Help

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + btn: DOMElement + + + + source + +

+ + + + +

Button DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCssClass: String + + + + source + +

+ + + + +

Css class for help button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnHtml: String + + + + source + +

+ + + + +

Custom help button HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnText: String + + + + source + +

+ + + + +

Help button text ('?')

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + cont: DOMElement + + + + source + +

+ + + + +

Help container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + contCssClass: String + + + + source + +

+ + + + +

Css class for help container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + contTgtId: String + + + + source + +

+ + + + +

ID of custom container element for instructions

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + defaultHtml: String + + + + source + +

+ + + + +

Default HTML appended to instructions text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + instrHtml: String + + + + source + +

+ + + + +

Instructions HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + instrText: String + + + + source + +

+ + + + +

Instructions text (accepts HTML)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tgtId: String + + + + source + +

+ + + + +

ID of main custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove help UI

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialise Help instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggle() + + + + source + +

+ + + + +

Toggle help pop-up

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html new file mode 100644 index 00000000..ee10e1e1 --- /dev/null +++ b/docs/class/src/modules/highlightKeywords.js~HighlightKeyword.html @@ -0,0 +1,898 @@ + + + + + + HighlightKeyword | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {HighlightKeyword} from 'tablefilter/src/modules/highlightKeywords.js'
+ public + class + + + + | source +
+ +
+

HighlightKeyword

+ + + + + + + + + + + + + + + +

Highlight matched keywords upon filtering

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of HighlightKeyword

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter's emitter instance

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for highlighted term

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove feature

+
+
+
+ + +
+ public + + + + + +
+

+ highlight(node: Node, term: String, cssClass: String) +

+
+
+ + +

Highlight occurences of searched term in passed node

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes HighlightKeyword instance

+
+
+
+ + +
+ public + + + + + +
+

+ unhighlight(term: String, cssClass: String) +

+
+
+ + +

Removes highlight to nodes matching passed string

+
+
+
+ + +
+ public + + + + + +
+

+ unhighlightAll() +

+
+
+ + +

Clear all occurrences of highlighted nodes

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of HighlightKeyword

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + emitter: Emitter + + + + source + +

+ + + + +

TableFilter's emitter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + highlightCssClass: String + + + + source + +

+ + + + +

Css class for highlighted term

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tf: TableFilter + + + + source + +

+ + + + +

TableFilter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + highlight(node: Node, term: String, cssClass: String) + + + + source + +

+ + + + +

Highlight occurences of searched term in passed node

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
nodeNode
termString

Searched term

+
cssClassString

Css class name

+

TODO: refactor this method

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes HighlightKeyword instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + unhighlight(term: String, cssClass: String) + + + + source + +

+ + + + +

Removes highlight to nodes matching passed string

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
termString
cssClassString

Css class to remove

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + unhighlightAll() + + + + source + +

+ + + + +

Clear all occurrences of highlighted nodes

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/loader.js~Loader.html b/docs/class/src/modules/loader.js~Loader.html new file mode 100644 index 00000000..fc909f8b --- /dev/null +++ b/docs/class/src/modules/loader.js~Loader.html @@ -0,0 +1,1445 @@ + + + + + + Loader | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Loader} from 'tablefilter/src/modules/loader.js'
+ public + class + + + + | source +
+ +
+

Loader

+ + + + + +

Extends:

Feature → Loader
+ + + + + + + + + +

Activity indicator

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of Loader.

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ closeDelay: Number +

+
+
+ + +

Close delay in milliseconds

+
+
+
+ + +
+ public + + + + + +
+

+ cont: DOMElement +

+
+
+ + +

Loader container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ cssClass: String +

+
+
+ + +

Css class for Loader's container element

+
+
+
+ + +
+ public + + + + + +
+

+ html: String +

+
+
+ + +

Custom HTML injected in Loader's container element

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ onHide: Function +

+
+
+ + +

Callback fired when loader is closed

+
+
+
+ + +
+ public + + + + + +
+

+ onShow: Function +

+
+
+ + +

Callback fired when loader is displayed

+
+
+
+ + +
+ public + + + + + +
+

+ targetId: String +

+
+
+ + +

ID of custom container element

+
+
+
+ + +
+ public + + + + + +
+

+ text: String +

+
+
+ + +

Text displayed when indicator is visible

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Removes feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes Loader instance

+
+
+
+ + +
+ public + + + + + +
+

+ show(Two: String) +

+
+
+ + +

Shows or hides activity indicator

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of Loader.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + closeDelay: Number + + + + source + +

+ + + + +

Close delay in milliseconds

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + cont: DOMElement + + + + source + +

+ + + + +

Loader container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + cssClass: String + + + + source + +

+ + + + +

Css class for Loader's container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + html: String + + + + source + +

+ + + + +

Custom HTML injected in Loader's container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onHide: Function + + + + source + +

+ + + + +

Callback fired when loader is closed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onShow: Function + + + + source + +

+ + + + +

Callback fired when loader is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + targetId: String + + + + source + +

+ + + + +

ID of custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + text: String + + + + source + +

+ + + + +

Text displayed when indicator is visible

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Removes feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes Loader instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + show(Two: String) + + + + source + +

+ + + + +

Shows or hides activity indicator

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
TwoString

possible values: '' or 'none'

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/markActiveColumns.js~MarkActiveColumns.html b/docs/class/src/modules/markActiveColumns.js~MarkActiveColumns.html new file mode 100644 index 00000000..03a14375 --- /dev/null +++ b/docs/class/src/modules/markActiveColumns.js~MarkActiveColumns.html @@ -0,0 +1,1177 @@ + + + + + + MarkActiveColumns | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {MarkActiveColumns} from 'tablefilter/src/modules/markActiveColumns.js'
+ public + class + + + + | source +
+ +
+

MarkActiveColumns

+ + + + + +

Extends:

Feature → MarkActiveColumns
+ + + + + + + + + +

Visual indicator for filtered columns

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Create an instance of MarkActiveColumns

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + + +
+ + +

Css class for filtered (active) columns

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a column is marked as filtered

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a column is marked as filtered

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ clearActiveColumns() +

+
+
+ + +

Clear filtered columns visual indicator (background color)

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialise MarkActiveColumns instance

+
+
+
+ + +
+ public + + + + + +
+

+ markActiveColumn(colIndex: Number) +

+
+
+ + +

Mark currently filtered column

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Create an instance of MarkActiveColumns

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + headerCssClass: String + + + + source + +

+ + + + +

Css class for filtered (active) columns

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterActiveColumn: Function + + + + source + +

+ + + + +

Callback fired after a column is marked as filtered

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeActiveColumn: Function + + + + source + +

+ + + + +

Callback fired before a column is marked as filtered

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + clearActiveColumns() + + + + source + +

+ + + + +

Clear filtered columns visual indicator (background color)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialise MarkActiveColumns instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + markActiveColumn(colIndex: Number) + + + + source + +

+ + + + +

Mark currently filtered column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/noResults.js~NoResults.html b/docs/class/src/modules/noResults.js~NoResults.html new file mode 100644 index 00000000..09dc6b5b --- /dev/null +++ b/docs/class/src/modules/noResults.js~NoResults.html @@ -0,0 +1,1629 @@ + + + + + + NoResults | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {NoResults} from 'tablefilter/src/modules/noResults.js'
+ public + class + + + + | source +
+ +
+

NoResults

+ + + + + +

Extends:

Feature → NoResults
+ + + + + + + + + +

UI when filtering yields no matches

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of NoResults

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ cont: DOMElement +

+
+
+ + +

Stores container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ content: String +

+
+
+ + +

Text (accepts HTML)

+
+
+
+ + +
+ public + + + + + +
+

+ cssClass: String +

+
+
+ + +

Css class assigned to container element

+
+
+
+ + +
+ public + + + + + +
+

+ customContainer: DOMElement +

+
+
+ + +

Custom container DOM element

+
+
+
+ + +
+ public + + + + + + +
+ + +

ID of custom container element

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the message is hidden

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the message is displayed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the message is hidden

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the message is displayed

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove feature

+
+
+
+ + +
+ public + + + + + +
+

+ hide() +

+
+
+ + +

Hide no results message

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes NoResults instance

+
+
+
+ + +
+ public + + + + + +
+

+ show() +

+
+
+ + +

Show no results message

+
+
+
+ + +
+ public + + + + + +
+

+ toggle() +

+
+
+ + +

Toggle no results message

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of NoResults

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + cont: DOMElement + + + + source + +

+ + + + +

Stores container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + content: String + + + + source + +

+ + + + +

Text (accepts HTML)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + cssClass: String + + + + source + +

+ + + + +

Css class assigned to container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + customContainer: DOMElement + + + + source + +

+ + + + +

Custom container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + customContainerId: String + + + + source + +

+ + + + +

ID of custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterHide: Function + + + + source + +

+ + + + +

Callback fired after the message is hidden

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterShow: Function + + + + source + +

+ + + + +

Callback fired after the message is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeHide: Function + + + + source + +

+ + + + +

Callback fired before the message is hidden

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeShow: Function + + + + source + +

+ + + + +

Callback fired before the message is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + hide() + + + + source + +

+ + + + +

Hide no results message

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes NoResults instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + show() + + + + source + +

+ + + + +

Show no results message

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggle() + + + + source + +

+ + + + +

Toggle no results message

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/paging.js~Paging.html b/docs/class/src/modules/paging.js~Paging.html new file mode 100644 index 00000000..e51f6a8e --- /dev/null +++ b/docs/class/src/modules/paging.js~Paging.html @@ -0,0 +1,3623 @@ + + + + + + Paging | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Paging} from 'tablefilter/src/modules/paging.js'
+ public + class + + + + | source +
+ +
+

Paging

+ + + + + +

Extends:

Feature → Paging
+ + + + + + + + + +

Paging UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of Paging

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ btnCssClass: String +

+
+
+ + +

Css class for the paging buttons (previous, next, etc.)

+
+
+
+ + +
+ public + + + + + + +
+ + +

First page button HTML

+
+
+
+ + +
+ public + + + + + + +
+ + +

First page button text

+
+
+
+ + +
+ public + + + + + + +
+ + +

Last page button HTML

+
+
+
+ + +
+ public + + + + + + +
+ + +

Last page button text

+
+
+
+ + +
+ public + + + + + + +
+ + +

Next page button HTML

+
+
+
+ + +
+ public + + + + + + +
+ + +

Next page button text

+
+
+
+ + +
+ public + + + + + + +
+ + +

Previous page button HTML

+
+
+
+ + +
+ public + + + + + + +
+ + +

Previous page button text

+
+
+
+ + +
+ public + + + + + +
+

+ hasBtns: Boolean +

+
+
+ + +

Determines if paging buttons are enabled (default: true)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Determines if results per page is configured

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Css class for the span containing total number of pages

+
+
+
+ + +
+ public + + + + + +
+

+ ofText: String +

+
+
+ + +

Text after page selector drop-down

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the page is changed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the page is changed

+
+
+
+ + +
+ public + + + + + +
+

+ pageLength: Number +

+
+
+ + +

Number of rows contained in a page

+
+
+
+ + +
+ public + + + + + +
+

+ pageLengthSlc: DOMElement +

+
+
+ + +

Results per page select DOM element

+
+
+
+ + +
+ public + + + + + + +
+ + +

ID of custom container element for the results per page selector

+
+
+
+ + +
+ public + + + + + + +
+ + +

Defines page selector type, two possible values: 'select', 'input'

+
+
+
+ + +
+ public + + + + + +
+

+ pageSlc: DOMElement +

+
+
+ + +

Main select DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ pageText: String +

+
+
+ + +

Text preceeding page selector drop-down

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the paging input element

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the paging select element

+
+
+
+ + +
+ public + + + + + + +
+ + +

Label and values for the results per page select, example of usage: +['Records: ', [10,25,50,100]]

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the results per page select

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the label preceding results per page select

+
+
+
+ + +
+ public + + + + + +
+

+ tgtId: String +

+
+
+ + +

ID of custom container element

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ changePage(index: Number) +

+
+
+ + +

Change the page based on passed index

+
+
+
+ + +
+ public + + + + + + +
+ + +

Change the number of results per page based on passed value

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove paging feature

+
+
+
+ + +
+ public + + + + + +
+

+ getPage(): Number +

+
+
+ + +

Return the current page number

+
+
+
+ + +
+ public + + + + + +
+

+ groupByPage(validRows: Array) +

+
+
+ + +

Group table rows by page and display valid rows

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize DOM elements

+
+
+
+ + +
+ public + + + + + + +
+ + +

Change rows according to page results drop-down

+
+
+
+ + +
+ public + + + + + + +
+ + +

Remove number of results per page UI elements

+
+
+
+ + +
+ public + + + + + +
+

+ reset(filterTable: Boolean) +

+
+
+ + +

Reset paging when filters are already instantiated

+
+
+
+ + +
+ public + + + + + +
+

+ resetPage() +

+
+
+ + +

Re-set page nb at page re-load

+
+
+
+ + +
+ public + + + + + +
+

+ resetPageLength() +

+
+
+ + +

Re-set page length value at page re-load

+
+
+
+ + +
+ public + + + + + +
+

+ resetPagingInfo() +

+
+
+ + +

Reset paging info from scratch after a filtering process

+
+
+
+ + +
+ public + + + + + +
+

+ setPage(cmd: String}/{Number) +

+
+
+ + +

Show page defined by passed argument (string or number):

+
+
+
+ + +
+ public + + + + + +
+

+ setPagingInfo(validRows: Array) +

+
+
+ + +

Calculate number of pages based on valid rows +Refresh paging select according to number of pages

+
+
+
+ + +
+ public + + + + + +
+

+ setResultsPerPage() +

+
+
+ + +

Generates UI elements for the number of results per page drop-down

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of Paging

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + btnCssClass: String + + + + source + +

+ + + + +

Css class for the paging buttons (previous, next, etc.)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnFirstPageHtml: String + + + + source + +

+ + + + +

First page button HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnFirstPageText: String + + + + source + +

+ + + + +

First page button text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnLastPageHtml: String + + + + source + +

+ + + + +

Last page button HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnLastPageText: String + + + + source + +

+ + + + +

Last page button text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnNextPageHtml: String + + + + source + +

+ + + + +

Next page button HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnNextPageText: String + + + + source + +

+ + + + +

Next page button text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnPrevPageHtml: String + + + + source + +

+ + + + +

Previous page button HTML

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnPrevPageText: String + + + + source + +

+ + + + +

Previous page button text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + hasBtns: Boolean + + + + source + +

+ + + + +

Determines if paging buttons are enabled (default: true)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + hasResultsPerPage: Boolean + + + + source + +

+ + + + +

Determines if results per page is configured

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + nbPgSpanCssClass: String + + + + source + +

+ + + + +

Css class for the span containing total number of pages

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + ofText: String + + + + source + +

+ + + + +

Text after page selector drop-down

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterChangePage: Function + + + + source + +

+ + + + +

Callback fired after the page is changed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeChangePage: Function + + + + source + +

+ + + + +

Callback fired before the page is changed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageLength: Number + + + + source + +

+ + + + +

Number of rows contained in a page

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageLengthSlc: DOMElement + + + + source + +

+ + + + +

Results per page select DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageLengthTgtId: String + + + + source + +

+ + + + +

ID of custom container element for the results per page selector

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageSelectorType: String + + + + source + +

+ + + + +

Defines page selector type, two possible values: 'select', 'input'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageSlc: DOMElement + + + + source + +

+ + + + +

Main select DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pageText: String + + + + source + +

+ + + + +

Text preceeding page selector drop-down

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pgInpCssClass: String + + + + source + +

+ + + + +

Css class for the paging input element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + pgSlcCssClass: String + + + + source + +

+ + + + +

Css class for the paging select element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resultsPerPage: Array + + + + source + +

+ + + + +

Label and values for the results per page select, example of usage: +['Records: ', [10,25,50,100]]

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resultsSlcCssClass: String + + + + source + +

+ + + + +

Css class for the results per page select

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resultsSpanCssClass: String + + + + source + +

+ + + + +

Css class for the label preceding results per page select

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + tgtId: String + + + + source + +

+ + + + +

ID of custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + changePage(index: Number) + + + + source + +

+ + + + +

Change the page based on passed index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
indexNumber

Index of the page (0-n)

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + changeResultsPerPage(val: String) + + + + source + +

+ + + + +

Change the number of results per page based on passed value

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
valString

The number of results per page

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove paging feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getPage(): Number + + + + source + +

+ + + + +

Return the current page number

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number

Page number

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + groupByPage(validRows: Array) + + + + source + +

+ + + + +

Group table rows by page and display valid rows

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
validRowsArray

Collection of valid rows

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialize DOM elements

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onChangeResultsPerPage() + + + + source + +

+ + + + +

Change rows according to page results drop-down

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + removeResultsPerPage() + + + + source + +

+ + + + +

Remove number of results per page UI elements

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + reset(filterTable: Boolean) + + + + source + +

+ + + + +

Reset paging when filters are already instantiated

+
+ +

Override:

Feature#reset
+ +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
filterTableBoolean

Execute filtering once paging instanciated

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resetPage() + + + + source + +

+ + + + +

Re-set page nb at page re-load

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resetPageLength() + + + + source + +

+ + + + +

Re-set page length value at page re-load

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + resetPagingInfo() + + + + source + +

+ + + + +

Reset paging info from scratch after a filtering process

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setPage(cmd: String}/{Number) + + + + source + +

+ + + + +

Show page defined by passed argument (string or number):

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
cmdString}/{Number

possible string values: 'next', + 'previous', 'last', 'first' or page number as per param

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setPagingInfo(validRows: Array) + + + + source + +

+ + + + +

Calculate number of pages based on valid rows +Refresh paging select according to number of pages

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
validRowsArray

Collection of valid rows

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setResultsPerPage() + + + + source + +

+ + + + +

Generates UI elements for the number of results per page drop-down

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/popupFilter.js~PopupFilter.html b/docs/class/src/modules/popupFilter.js~PopupFilter.html new file mode 100644 index 00000000..4facb540 --- /dev/null +++ b/docs/class/src/modules/popupFilter.js~PopupFilter.html @@ -0,0 +1,2444 @@ + + + + + + PopupFilter | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {PopupFilter} from 'tablefilter/src/modules/popupFilter.js'
+ public + class + + + + | source +
+ +
+

PopupFilter

+ + + + + +

Extends:

Feature → PopupFilter
+ + + + + + + + + +

Pop-up filter component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of PopupFilter

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + + +
+ + +

Active filter icon path

+
+
+
+ + +
+ public + + + + + + +
+ + +

Ensure filter's container element width matches column width, enabled +by default

+
+
+
+ + +
+ public + + + + + + +
+ + +

Close active popup filter upon filtering, enabled by default

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class assigned to filter container element

+
+
+
+ + +
+ public + + + + + +
+

+ iconHtml: string +

+
+
+ + +

HTML for the filter icon

+
+
+
+ + +
+ public + + + + + +
+

+ iconPath: String +

+
+
+ + +

Filter icon path

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a popup filter is closed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a popup filter is opened

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a popup filter is closed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before a popup filter is opened

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class assigned to the popup container element

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ build(colIndex: Number, div: Object) +

+
+
+ + +

Build a specified pop-up filter elements

+
+
+
+ + +
+ public + + + + + +
+

+ buildAll() +

+
+
+ + +

Build all pop-up filters elements

+
+
+
+ + +
+ public + + + + + +
+

+ buildIcons() +

+
+
+ + +

Build all filters icons

+
+
+
+ + +
+ public + + + + + +
+

+ changeState(colIndex: Number, active: Boolean) +

+
+
+ + +

Apply specified icon state

+
+
+
+ + +
+ public + + + + + +
+

+ close(colIndex: Number) +

+
+
+ + +

Close popup filter of specified column

+
+
+
+ + +
+ public + + + + + +
+

+ closeAll(exceptIdx: Number) +

+
+
+ + +

Close all filters excepted for the specified one if any

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove pop-up filters

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize DOM elements

+
+
+
+ + +
+ public + + + + + +
+

+ isOpen(colIndex: Number): Boolean +

+
+
+ + +

Check if popup filter for specified column is open

+
+
+
+ + +
+ public + + + + + +
+

+ open(colIndex: Number) +

+
+
+ + +

Open popup filter of specified column

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset previously destroyed feature

+
+
+
+ + +
+ public + + + + + +
+

+ setIconsState() +

+
+
+ + +

Build all the icons representing the pop-up filters

+
+
+
+ + +
+ public + + + + + +
+

+ toggle(colIndex: Number) +

+
+
+ + +

Toggle visibility of specified filter

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of PopupFilter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + activeIconPath: string + + + + source + +

+ + + + +

Active filter icon path

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + adjustToContainer: Boolean + + + + source + +

+ + + + +

Ensure filter's container element width matches column width, enabled +by default

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + closeOnFiltering: Boolean + + + + source + +

+ + + + +

Close active popup filter upon filtering, enabled by default

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + containerCssClass: String + + + + source + +

+ + + + +

Css class assigned to filter container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + iconHtml: string + + + + source + +

+ + + + +

HTML for the filter icon

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + iconPath: String + + + + source + +

+ + + + +

Filter icon path

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterClose: Function + + + + source + +

+ + + + +

Callback fired after a popup filter is closed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterOpen: Function + + + + source + +

+ + + + +

Callback fired after a popup filter is opened

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeClose: Function + + + + source + +

+ + + + +

Callback fired before a popup filter is closed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeOpen: Function + + + + source + +

+ + + + +

Callback fired before a popup filter is opened

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + placeholderCssClass: String + + + + source + +

+ + + + +

Css class assigned to the popup container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + build(colIndex: Number, div: Object) + + + + source + +

+ + + + +

Build a specified pop-up filter elements

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
divObject

Optional container DOM element

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + buildAll() + + + + source + +

+ + + + +

Build all pop-up filters elements

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + buildIcons() + + + + source + +

+ + + + +

Build all filters icons

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + changeState(colIndex: Number, active: Boolean) + + + + source + +

+ + + + +

Apply specified icon state

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
activeBoolean

Apply active state

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + close(colIndex: Number) + + + + source + +

+ + + + +

Close popup filter of specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + closeAll(exceptIdx: Number) + + + + source + +

+ + + + +

Close all filters excepted for the specified one if any

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
exceptIdxNumber

Column index of the filter to not close

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove pop-up filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialize DOM elements

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isOpen(colIndex: Number): Boolean + + + + source + +

+ + + + +

Check if popup filter for specified column is open

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + open(colIndex: Number) + + + + source + +

+ + + + +

Open popup filter of specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + reset() + + + + source + +

+ + + + +

Reset previously destroyed feature

+
+ +

Override:

Feature#reset
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setIconsState() + + + + source + +

+ + + + +

Build all the icons representing the pop-up filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toggle(colIndex: Number) + + + + source + +

+ + + + +

Toggle visibility of specified filter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/rowsCounter.js~RowsCounter.html b/docs/class/src/modules/rowsCounter.js~RowsCounter.html new file mode 100644 index 00000000..55a4f8bb --- /dev/null +++ b/docs/class/src/modules/rowsCounter.js~RowsCounter.html @@ -0,0 +1,1384 @@ + + + + + + RowsCounter | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {RowsCounter} from 'tablefilter/src/modules/rowsCounter.js'
+ public + class + + + + | source +
+ +
+

RowsCounter

+ + + + + +

Extends:

Feature → RowsCounter
+ + + + + + + + + +

Rows counter UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of RowsCounter

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ cssClass: String +

+
+
+ + +

Css class for container element

+
+
+
+ + +
+ public + + + + + + +
+ + +

Separator symbol appearing between the first and last visible rows of +current page when paging is enabled.

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the counter is refreshed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the counter is refreshed

+
+
+
+ + +
+ public + + + + + +
+

+ overText: String +

+
+
+ + +

Separator symbol appearing between the first and last visible rows of +current page and the total number of filterable rows when paging is +enabled.

+
+
+
+ + +
+ public + + + + + +
+

+ targetId: String +

+
+
+ + +

ID of custom container element

+
+
+
+ + +
+ public + + + + + +
+

+ text: String +

+
+
+ + +

Text preceding the total number of rows

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Remove feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes RowsCounter instance

+
+
+
+ + +
+ public + + + + + +
+

+ refresh(p: Number) +

+
+
+ + +

Refreshes the rows counter

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of RowsCounter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + cssClass: String + + + + source + +

+ + + + +

Css class for container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fromToTextSeparator: String + + + + source + +

+ + + + +

Separator symbol appearing between the first and last visible rows of +current page when paging is enabled. ie: Rows: 31-40 / 70

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterRefreshCounter: Function + + + + source + +

+ + + + +

Callback fired after the counter is refreshed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeRefreshCounter: Function + + + + source + +

+ + + + +

Callback fired before the counter is refreshed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + overText: String + + + + source + +

+ + + + +

Separator symbol appearing between the first and last visible rows of +current page and the total number of filterable rows when paging is +enabled. ie: Rows: 31-40 / 70

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + targetId: String + + + + source + +

+ + + + +

ID of custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + text: String + + + + source + +

+ + + + +

Text preceding the total number of rows

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Remove feature

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes RowsCounter instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + refresh(p: Number) + + + + source + +

+ + + + +

Refreshes the rows counter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pNumber

Optional parameter the total number of rows to display

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/state.js~State.html b/docs/class/src/modules/state.js~State.html new file mode 100644 index 00000000..9582cb39 --- /dev/null +++ b/docs/class/src/modules/state.js~State.html @@ -0,0 +1,2224 @@ + + + + + + State | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {State} from 'tablefilter/src/modules/state.js'
+ public + class + + + + | source +
+ +
+

State

+ + + + + +

Extends:

Feature → State
+ + + + + + + + + +

Features state object persistable with localStorage, cookie or URL hash

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of State

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + + +
+ + +

Cookie duration in hours

+
+
+
+ + +
+ public + + + + + + +
+ + +

Determines whether state is persisted with localStorage

+
+
+
+ + +
+ public + + + + + +
+

+ enableHash: Boolean +

+
+
+ + +

Determines whether state is persisted with URL hash

+
+
+
+ + +
+ public + + + + + + +
+ + +

Determines whether state is persisted with localStorage

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Persist columns visibility

+
+
+
+ + +
+ public + + + + + + +
+ + +

Persist filters values, enabled by default

+
+
+
+ + +
+ public + + + + + + +
+ + +

Persist filters row visibility

+
+
+
+ + +
+ public + + + + + + +
+ + +

Persist page length when paging is enabled

+
+
+
+ + +
+ public + + + + + + +
+ + +

Persist current page number when paging is enabled

+
+
+
+ + +
+ public + + + + + +
+

+ persistSort: Boolean +

+
+
+ + +

Persist column sorting

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy State instance

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes State instance

+
+
+
+ + +
+ public + + + + + +
+

+ override(state: *) +

+
+
+ + +

Override state field

+
+
+
+ + +
+ public + + + + + +
+

+ overrideAndSync(state: Object) +

+
+
+ + +

Override current state with passed one and sync features

+
+
+
+ + +
+ public + + + + + +
+

+ sync() +

+
+
+ + +

Sync stored features state

+
+
+
+ + +
+ public + + + + + +
+

+ update() +

+
+
+ + +

Update state object based on current features state

+
+
+
+ + +
+ public + + + + + +
+

+ updateColsVisibility(hiddenCols: Array) +

+
+
+ + +

Refresh hidden columns information on columns visibility changes

+
+
+
+ + +
+ public + + + + + +
+

+ updateFiltersVisibility(visible: Boolean) +

+
+
+ + +

Refresh filters visibility on filters visibility change

+
+
+
+ + +
+ public + + + + + +
+

+ updatePage(pageNb: Number) +

+
+
+ + +

Refresh page number field on page number changes

+
+
+
+ + +
+ public + + + + + +
+

+ updatePageLength(pageLength: Number) +

+
+
+ + +

Refresh page length field on page length changes

+
+
+
+ + +
+ public + + + + + +
+

+ updateSort(index: *, descending: Boolean) +

+
+
+ + +

Refresh column sorting information on sort changes

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of State

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + cookieDuration: Boolean + + + + source + +

+ + + + +

Cookie duration in hours

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableCookie: Boolean + + + + source + +

+ + + + +

Determines whether state is persisted with localStorage

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableHash: Boolean + + + + source + +

+ + + + +

Determines whether state is persisted with URL hash

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableLocalStorage: Boolean + + + + source + +

+ + + + +

Determines whether state is persisted with localStorage

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistColsVisibility: Boolean + + + + source + +

+ + + + +

Persist columns visibility

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistFilters: Boolean + + + + source + +

+ + + + +

Persist filters values, enabled by default

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistFiltersVisibility: Boolean + + + + source + +

+ + + + +

Persist filters row visibility

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistPageLength: Boolean + + + + source + +

+ + + + +

Persist page length when paging is enabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistPageNumber: Boolean + + + + source + +

+ + + + +

Persist current page number when paging is enabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + persistSort: Boolean + + + + source + +

+ + + + +

Persist column sorting

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy State instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes State instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + override(state: *) + + + + source + +

+ + + + +

Override state field

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
state*

State object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + overrideAndSync(state: Object) + + + + source + +

+ + + + +

Override current state with passed one and sync features

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
stateObject

State object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sync() + + + + source + +

+ + + + +

Sync stored features state

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + update() + + + + source + +

+ + + + +

Update state object based on current features state

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + updateColsVisibility(hiddenCols: Array) + + + + source + +

+ + + + +

Refresh hidden columns information on columns visibility changes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
hiddenColsArray

Columns indexes

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + updateFiltersVisibility(visible: Boolean) + + + + source + +

+ + + + +

Refresh filters visibility on filters visibility change

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
visibleBoolean

Visibility flad

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + updatePage(pageNb: Number) + + + + source + +

+ + + + +

Refresh page number field on page number changes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pageNbNumber

Current page number

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + updatePageLength(pageLength: Number) + + + + source + +

+ + + + +

Refresh page length field on page length changes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pageLengthNumber

Current page length value

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + updateSort(index: *, descending: Boolean) + + + + source + +

+ + + + +

Refresh column sorting information on sort changes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
index*

{Number} Column index

+
descendingBoolean

Descending manner

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/statusBar.js~StatusBar.html b/docs/class/src/modules/statusBar.js~StatusBar.html new file mode 100644 index 00000000..e90d1802 --- /dev/null +++ b/docs/class/src/modules/statusBar.js~StatusBar.html @@ -0,0 +1,1982 @@ + + + + + + StatusBar | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {StatusBar} from 'tablefilter/src/modules/statusBar.js'
+ public + class + + + + | source +
+ +
+

StatusBar

+ + + + + +

Extends:

Feature → StatusBar
+ + + + + + + + + +

Status bar UI component

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(tf: TableFilter) +

+
+
+ + +

Creates an instance of StatusBar

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + +
+

+ cssClass: String +

+
+
+ + +

Css class for container element

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when a pagination page is changed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when the page length is changed

+
+
+
+ + +
+ public + + + + + +
+

+ msgClear: String +

+
+
+ + +

Message appearing when filters are cleared

+
+
+
+ + +
+ public + + + + + +
+

+ msgFilter: String +

+
+
+ + +

Message appearing upon filtering

+
+
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when extensions are loading

+
+
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when themes are loading

+
+
+
+ + +
+ public + + + + + +
+

+ msgPopulate: String +

+
+
+ + +

Message appearing when a drop-down filter is populated

+
+
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when a checklist filter is populated

+
+
+
+ + +
+ public + + + + + +
+

+ msgResetPage: String +

+
+
+ + +

Message appearing when the page is re-set

+
+
+
+ + +
+ public + + + + + + +
+ + +

Message appearing when the page length is re-set

+
+
+
+ + +
+ public + + + + + +
+

+ msgSort: String +

+
+
+ + +

Message appearing upon column sorting

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after the message is displayed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before the message is displayed

+
+
+
+ + +
+ public + + + + + +
+

+ targetId: String +

+
+
+ + +

ID of custom container element

+
+
+
+ + +
+ public + + + + + +
+

+ text: String +

+
+
+ + +

Text preceding status message

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy StatusBar instance

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes StatusBar instance

+
+
+
+ + +
+ public + + + + + +
+

+ message(t: String) +

+
+
+ + +

Display status message

+
+
+
+ + +
+
+ +

Inherited Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
From class Feature
+ public + + + + + +
+

+ config: Object +

+
+
+ + +

TableFilter configuration

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

TableFilter emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ enabled: Boolean +

+
+
+ + +

TableFilter feature setting

+
+
+
+ + +
+ public + + + + + +
+

+ feature: String +

+
+
+ + +

Feature name

+
+
+
+ + +
+ public + + + + + +
+

+ initialized: Boolean +

+
+
+ + +

Field indicating whether Feature is initialized

+
+
+
+ + +
+ public + + + + + +
+

+ tf: TableFilter +

+
+
+ + +

TableFilter instance

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy the feature

+
+
+
+ + +
+ public + + + + + +
+

+ disable() +

+
+
+ + +

Disable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ enable() +

+
+
+ + +

Enable the feature

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialize the feature

+
+
+
+ + +
+ public + + + + + +
+

+ isEnabled(): Boolean +

+
+
+ + +

Indicate whether the feature is enabled or not

+
+
+
+ + +
+ public + + + + + +
+

+ reset() +

+
+
+ + +

Reset the feature after being disabled

+
+
+
+ + +
+
+ + + +

Public Constructors

+ +
+

+ public + + + + + constructor(tf: TableFilter) + + + + source + +

+ + + + +

Creates an instance of StatusBar

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tfTableFilter

TableFilter instance

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + cssClass: String + + + + source + +

+ + + + +

Css class for container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initialized: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgChangePage: String + + + + source + +

+ + + + +

Message appearing when a pagination page is changed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgChangeResults: String + + + + source + +

+ + + + +

Message appearing when the page length is changed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgClear: String + + + + source + +

+ + + + +

Message appearing when filters are cleared

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgFilter: String + + + + source + +

+ + + + +

Message appearing upon filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgLoadExtensions: String + + + + source + +

+ + + + +

Message appearing when extensions are loading

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgLoadThemes: String + + + + source + +

+ + + + +

Message appearing when themes are loading

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgPopulate: String + + + + source + +

+ + + + +

Message appearing when a drop-down filter is populated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgPopulateCheckList: String + + + + source + +

+ + + + +

Message appearing when a checklist filter is populated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgResetPage: String + + + + source + +

+ + + + +

Message appearing when the page is re-set

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgResetPageLength: String + + + + source + +

+ + + + +

Message appearing when the page length is re-set

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + msgSort: String + + + + source + +

+ + + + +

Message appearing upon column sorting

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterShowMsg: Function + + + + source + +

+ + + + +

Callback fired after the message is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeShowMsg: Function + + + + source + +

+ + + + +

Callback fired before the message is displayed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + targetId: String + + + + source + +

+ + + + +

ID of custom container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + text: String + + + + source + +

+ + + + +

Text preceding status message

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy StatusBar instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes StatusBar instance

+
+ +

Override:

Feature#init
+ +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + message(t: String) + + + + source + +

+ + + + +

Display status message

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tString
  • optional
  • +
  • default: ''

Message to be displayed

+
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/modules/storage.js~Storage.html b/docs/class/src/modules/storage.js~Storage.html new file mode 100644 index 00000000..631aeb64 --- /dev/null +++ b/docs/class/src/modules/storage.js~Storage.html @@ -0,0 +1,808 @@ + + + + + + Storage | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {Storage} from 'tablefilter/src/modules/storage.js'
+ public + class + + + + | source +
+ +
+

Storage

+ + + + + + + + + + + + + + + +

Stores the features state in browser's local storage or cookie

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(state: State) +

+
+
+ + +

Creates an instance of Storage

+
+
+
+ + +
+
+ +

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Release Storage event subscriptions and clear fields

+
+
+
+ + +
+ public + + + + + +
+

+ getKey(): String +

+
+
+ + +

Returns the storage key

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initializes the Storage object

+
+
+
+ + +
+ public + + + + + +
+

+ remove() +

+
+
+ + +

Removes persisted state from storage

+
+
+
+ + +
+ public + + + + + +
+

+ retrieve(): Object +

+
+
+ + +

Turns stored string into a State JSON object

+
+
+
+ + +
+ public + + + + + +
+

+ save(state: State) +

+
+
+ + +

Persists the features state on state changes

+
+
+
+ + +
+ public + + + + + +
+

+ sync() +

+
+
+ + +

Applies persisted state to features

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor(state: State) + + + + source + +

+ + + + +

Creates an instance of Storage

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
stateState

Instance of State

+
+
+
+ + + + + + + + + + + + + + + +
+
+ +

Public Methods

+ +
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Release Storage event subscriptions and clear fields

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getKey(): String + + + + source + +

+ + + + +

Returns the storage key

+
+ + + +
+
+ +
+

Return:

+ + + + + +
String

Key

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initializes the Storage object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + remove() + + + + source + +

+ + + + +

Removes persisted state from storage

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + retrieve(): Object + + + + source + +

+ + + + +

Turns stored string into a State JSON object

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Object

JSON object

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + save(state: State) + + + + source + +

+ + + + +

Persists the features state on state changes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
stateState

Instance of State

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sync() + + + + source + +

+ + + + +

Applies persisted state to features

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/class/src/tablefilter.js~TableFilter.html b/docs/class/src/tablefilter.js~TableFilter.html new file mode 100644 index 00000000..9fe191cd --- /dev/null +++ b/docs/class/src/tablefilter.js~TableFilter.html @@ -0,0 +1,13428 @@ + + + + + + TableFilter | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +
+
import {TableFilter} from 'tablefilter/src/tablefilter.js'
+ public + class + + + + | source +
+ +
+

TableFilter

+ + + + + + + + + + + + + + + +

Makes HTML tables filterable and a bit more :)

+
+ + + + + + + + +
+ + + +

Constructor Summary

+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ constructor(table: HTMLTableElement, id: String, row: Number, configuration: Object) +

+
+
+ + +

Creates an instance of TableFilter +requires table or id arguments, row and configuration optional

+
+
+
+ + +
+
+

Member Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Members
+ public + + + + + + +
+ + +

Enable/disable alternating rows

+
+
+
+ + +
+ public + + + + + +
+

+ anOperator: String +

+
+
+ + +

Logical AND operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ autoFilter: Boolean +

+
+
+ + +

Enable auto-filter behaviour, table is filtered when a user +stops typing

+
+
+
+ + +
+ public + + + + + + +
+ + +

Auto-filter delay in msecs

+
+
+
+ + +
+ public + + + + + +
+

+ basePath: String +

+
+
+ + +

Base path for static assets

+
+
+
+ + +
+ public + + + + + +
+

+ btnCssClass: String +

+
+
+ + +

Css class for filters submission button

+
+
+
+ + +
+ public + + + + + +
+

+ btnReset: Boolean +

+
+
+ + +

Enable clear button

+
+
+
+ + +
+ public + + + + + +
+

+ btnText: String +

+
+
+ + +

Define filters submission button text

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable case sensitivity filtering

+
+
+
+ + +
+ public + + + + + +
+

+ cellParser: Object +

+
+
+ + +

Specify which column implements a custom cell parser to retrieve the +cell value: +cell_parser: { + cols: [0, 2], + parse: function(tf, cell, colIndex) { + // custom cell parser logic here + return cellValue; + } +}

+
+
+
+ + +
+ public + + + + + + +
+ + +

Text for clear option in drop-down filter types (1st option)

+
+
+
+ + +
+ public + + + + + +
+

+ colTypes: Array +

+
+
+ + +

Define data types on a column basis, possible values 'string', +'number', 'formatted-number', 'date', 'ipaddress' ie: +col_types : [ + 'string', 'date', 'number', + { type: 'formatted-number', decimal: ',', thousands: '.' }, + { type: 'date', locale: 'en-gb' }, + { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] } +]

+
+
+
+ + +
+ public + + + + + +
+

+ colWidths: Array +

+
+
+ + +

Columns widths array

+
+
+
+ + +
+ public + + + + + + +
+ + +

Custom options definition of a per column basis, ie: +custom_options: { + cols:[0, 1], + texts: [ + ['a0', 'b0', 'c0'], + ['a1', 'b1', 'c1'] + ], + values: [ + ['a0', 'b0', 'c0'], + ['a1', 'b1', 'c1'] + ], + sorts: [false, true] + }

+
+
+
+ + +
+ public + + + + + + +
+ + +

Define decimal separator ',' or '.', defaults to '.'

+
+
+
+ + +
+ public + + + + + +
+

+ dfOperator: String +

+
+
+ + +

Inequality operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable readonly state for excluded options when +linked filters filtering mode is on

+
+
+
+ + +
+ public + + + + + +
+

+ displayBtn: Boolean +

+
+
+ + +

Enable filters submission button

+
+
+
+ + +
+ public + + + + + +
+

+ emOperator: String +

+
+
+ + +

Empty cells operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ emitter: Emitter +

+
+
+ + +

Event emitter instance

+
+
+
+ + +
+ public + + + + + +
+

+ emptyText: String +

+
+
+ + +

Text for empty option in drop-down filter types

+
+
+
+ + +
+ public + + + + + +
+

+ enOperator: String +

+
+
+ + +

Ends with operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable default theme

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether empty option is enabled in drop-down filter types

+
+
+
+ + +
+ public + + + + + +
+

+ enableIcons: Boolean +

+
+
+ + +

Enable/disable icons (paging, reset button)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether non-empty option is enabled in drop-down filter +types

+
+
+
+ + +
+ public + + + + + +
+

+ enterKey: Boolean +

+
+
+ + +

Enable/disable enter key for input type filters

+
+
+
+ + +
+ public + + + + + +
+

+ eqOperator: String +

+
+
+ + +

Strict equality operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ exactMatch: Boolean +

+
+
+ + +

Globally enable/disable exact match filtering

+
+
+
+ + +
+ public + + + + + + +
+ + +

Exact match filtering per column array

+
+
+
+ + +
+ public + + + + + +
+

+ extensions: Array +

+
+
+ + +

List of loaded extensions

+
+
+
+ + +
+ public + + + + + + +
+ + +

List of containers IDs where external filters will be generated

+
+
+
+ + +
+ public + + + + + + +
+ + +

Filters row index

+
+
+
+ + +
+ public + + + + + +
+

+ fltCellTag: String +

+
+
+ + +

Define the type of cell containing a filter (td/th)

+
+
+
+ + +
+ public + + + + + +
+

+ fltCssClass: String +

+
+
+ + +

Css class for a filter element

+
+
+
+ + +
+ public + + + + + +
+

+ fltGrid: Boolean +

+
+
+ + +

Enable/disable filters

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for multiple select filters

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for small filter (when submit button is active)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for the filters row

+
+
+
+ + +
+ public + + + + + +
+

+ geOperator: String +

+
+
+ + +

Greater than or equal operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ grOperator: String +

+
+
+ + +

Greater than operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable grid layout (fixed headers)

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether custom drop-down filter options are implemented

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable always visible rows, excluded from filtering

+
+
+
+ + +
+ public + + + + + +
+

+ help: Boolean +

+
+
+ + +

Indicate whether help UI component is disabled

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable keyword highlighting behaviour

+
+
+
+ + +
+ public + + + + + + +
+ + +

Ignore diacritics globally or on a column basis

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for toolbar's container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ lDivCssClass: String +

+
+
+ + +

Css class for left-side inner container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ leOperator: String +

+
+
+ + +

Lower than or equal operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable linked filters filtering mode

+
+
+
+ + +
+ public + + + + + +
+

+ lkOperator: String +

+
+
+ + +

Like operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether drop-down filter types are populated on demand at +first usage

+
+
+
+ + +
+ public + + + + + +
+

+ loader: Boolean | Object +

+
+
+ + +

Enable activity/spinner indicator UI component

+
+
+
+ + +
+ public + + + + + +
+

+ locale: String +

+
+
+ + +

Define default locale, default to 'en' as per Sugar Date module: +https://sugarjs.com/docs/#/DateLocales

+
+
+
+ + +
+ public + + + + + +
+

+ lwOperator: String +

+
+
+ + +

Lower than operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ mDivCssClass: String +

+
+
+ + +

Css class for middle inner container DOM element

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether filtered (active) columns indicator is enabled

+
+
+
+ + +
+ public + + + + + +
+

+ nmOperator: String +

+
+
+ + +

Non-empty cells operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ noResults: Object | Boolean +

+
+
+ + +

Enable no results message UI component

+
+
+
+ + +
+ public + + + + + +
+

+ nonEmptyText: String +

+
+
+ + +

Text for non-empty option in drop-down filter types

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after filtering process is completed

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after filters are cleared

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before filtering process starts

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired before filters are cleared

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after filters are generated

+
+
+
+ + +
+ public + + + + + + +
+ + +

Callback fired after a row is validated during filtering

+
+
+
+ + +
+ public + + + + + +
+

+ onSlcChange: Boolean +

+
+
+ + +

Indicate whether drop-down filter types filter the table by default +on change event

+
+
+
+ + +
+ public + + + + + +
+

+ orOperator: String +

+
+
+ + +

Logical OR operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ paging: Object | Boolean +

+
+
+ + +

Enable paging component

+
+
+
+ + +
+ public + + + + + + +
+ + +

Indicate whether pop-up filters UI is enabled

+
+
+
+ + +
+ public + + + + + +
+

+ rDivCssClass: String +

+
+
+ + +

Css class for right-side inner container DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ refRow: Number +

+
+
+ + +

Calculated row's index from which starts filtering once filters +are generated

+
+
+
+ + +
+ public + + + + + +
+

+ responsive: Boolean +

+
+
+ + +

Enable responsive layout

+
+
+
+ + +
+ public + + + + + +
+

+ rgxOperator: String +

+
+
+ + +

Regular expression operator for input filter.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable rows counter UI component

+
+
+
+ + +
+ public + + + + + +
+

+ separator: String +

+
+
+ + +

Stored values separator

+
+
+
+ + +
+ public + + + + + + +
+ + +

Css class for single filter type

+
+
+
+ + +
+ public + + + + + + +
+ + +

Enable/disable single filter filtering all columns

+
+
+
+ + +
+ public + + + + + +
+

+ sortNumAsc: Array +

+
+
+ + +

List of columns implementing options sorting in a ascending numeric +manner

+
+
+
+ + +
+ public + + + + + +
+

+ sortNumDesc: Array +

+
+
+ + +

List of columns implementing options sorting in a descending numeric +manner

+
+
+
+ + +
+ public + + + + + +
+

+ sortSlc: Boolean | Array +

+
+
+ + +

Make drop-down filter types options sorted in alpha-numeric manner +by default globally or on a column basis

+
+
+
+ + +
+ public + + + + + +
+

+ stOperator: String +

+
+
+ + +

Starts with operator for input filter.

+
+
+
+ + +
+ public + + + + + +
+

+ state: Object | Boolean +

+
+
+ + +

Enable state persistence

+
+
+
+ + +
+ public + + + + + +
+

+ statusBar: Boolean | Object +

+
+
+ + +

Enable status bar UI component

+
+
+
+ + +
+ public + + + + + +
+

+ stylePath: String +

+
+
+ + +

Path for stylesheets

+
+
+
+ + +
+ public + + + + + +
+

+ stylesheet: String +

+
+
+ + +

Main stylesheet path

+
+
+
+ + +
+ public + + + + + +
+

+ themes: Array +

+
+
+ + +

List of themes, ie: +themes: [{ name: 'skyblue' }]

+
+
+
+ + +
+ public + + + + + +
+

+ themesPath: Array +

+
+
+ + +

Define path to themes assets, defaults to +'tablefilter/style/themes/'.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Define thousands separator ',' or '.', defaults to ','

+
+
+
+ + +
+ public + + + + + +
+

+ toolBarTgtId: String +

+
+
+ + +

Toolbar's custom container ID

+
+
+
+ + +
+ public + + + + + +
+

+ version: String +

+
+
+ + +

Current version

+
+
+
+ + +
+ public + + + + + +
+

+ visibleRows: Array +

+
+
+ + +

List of row indexes to be excluded from filtering

+
+
+
+ + +
+ public + + + + + +
+

+ watermark: String | Array +

+
+
+ + +

Global watermark text for input filter type or watermark for each +filter if an array is supplied

+
+
+
+ + +
+
+

Method Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ activateFilter(colIndex: *) +

+
+
+ + +

Make specified column's filter active

+
+
+
+ + +
+ public + + + + + +
+

+ clearFilters() +

+
+
+ + +

Clear all the filters' values

+
+
+
+ + +
+ public + + + + + +
+

+ config(): Object +

+
+
+ + +

Get the configuration object (literal object)

+
+
+
+ + +
+ public + + + + + +
+

+ destroy() +

+
+
+ + +

Destroy filter grid

+
+
+
+ + +
+ public + + + + + +
+

+ destroyExtensions() +

+
+
+ + +

Destroy all the extensions store in extensions registry

+
+
+
+ + +
+ public + + + + + +
+

+ detectKey(evt: Event) +

+
+
+ + +

Detect <enter> key

+
+
+
+ + +
+ public + + + + + +
+

+ dom(): HTMLTableElement +

+
+
+ + +

Return the working DOM element

+
+
+
+ + +
+ public + + + + + +
+

+ enforceVisibility() +

+
+
+ + +

Make defined rows always visible

+
+
+
+ + +
+ public + + + + + +
+

+ extension(name: String): Object +

+
+
+ + +

Get an extension instance

+
+
+
+ + +
+ public + + + + + +
+

+ feature(name: String): Object +

+
+
+ + +

Return a feature instance for a given name

+
+
+
+ + +
+ public + + + + + +
+

+ filter() +

+
+
+ + +

Filter the table by retrieving the data from each cell in every single +row and comparing it to the search term for current column.

+
+
+
+ + +
+ public + + + + + + +
+ + +

Return the ID of the current active filter

+
+
+
+ + +
+ public + + + + + +
+

+ getCellData(cell: DOMElement): String | Number | Date +

+
+
+ + +

Return the typed data of a given cell based on the column type definition

+
+
+
+ + +
+ public + + + + + +
+

+ getCellValue(Cell's: DOMElement): String +

+
+
+ + +

Return the text content of a given cell

+
+
+
+ + +
+ public + + + + + +
+

+ getCellsNb(rowIndex: Number): Number +

+
+
+ + +

Return the number of cells for a given row index

+
+
+
+ + +
+ public + + + + + +
+

+ getClearFilterText(colIndex: Number): String +

+
+
+ + +

Return clear all text for specified filter column

+
+
+
+ + +
+ public + + + + + +
+

+ getColumnData(colIndex: Number, includeHeaders: Boolean, exclude: Arrat): * +

+
+
+ + +

Return the data of a specified column

+
+
+
+ + +
+ public + + + + + + +
+ + +

Return the column index for a given filter ID

+
+
+
+ + +
+ public + + + + + +
+

+ getColumnValues(colIndex: Number, includeHeaders: Boolean, exclude: Arrat): * +

+
+
+ + +

Return the values of a specified column

+
+
+
+ + +
+ public + + + + + +
+

+ getCustomOptions(colIndex: Number): Array +

+
+
+ + +

Returns an array [[value0, value1 ...],[text0, text1 ...]] with the +custom options values and texts

+
+
+
+ + +
+ public + + + + + +
+

+ getData(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array +

+
+
+ + +

Return the table data based on its columns data type definitions +with following structure: +[ + [rowIndex, [data0, data1...]], + [rowIndex, [data0, data1...]] +]

+
+
+
+ + +
+ public + + + + + +
+

+ getDecimal(colIndex: Number): String +

+
+
+ + +

Return the decimal separator for supplied column as per column type +configuration or global setting

+
+
+
+ + +
+ public + + + + + +
+

+ getFilterElement(index: Number): DOMElement +

+
+
+ + +

Return the filter's DOM element for a given column

+
+
+
+ + +
+ public + + + + + +
+

+ getFilterId(index: Number): String +

+
+
+ + +

Return the ID of a specified column's filter

+
+
+
+ + +
+ public + + + + + +
+

+ getFilterType(colIndex: Number): String +

+
+
+ + +

Return the filter type for a specified column

+
+
+
+ + +
+ public + + + + + +
+

+ getFilterValue(index: Number): String +

+
+
+ + +

Return the filter's value of a specified column

+
+
+
+ + +
+ public + + + + + + +
+ + +

Get the total number of filterable rows

+
+
+
+ + +
+ public + + + + + +
+

+ getFilteredColumnData(colIndex: any, includeHeaders: boolean, exclude: any): Array +

+
+
+ + +

Return the filtered data for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ getFilteredColumnValues(colIndex: any, includeHeaders: boolean, exclude: any): Array +

+
+
+ + +

Return the filtered values for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ getFilteredData(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array +

+
+
+ + +

Return the filtered table data based on its columns data type definitions +with following structure: +[ + [rowIndex, [data0, data1...]], + [rowIndex, [data0, data1...]] +]

+
+
+
+ + +
+ public + + + + + +
+

+ getFilteredValues(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array +

+
+
+ + +

Return the filtered table values with following structure: +[ + [rowIndex, [value0, value1...]], + [rowIndex, [value0, value1...]] +]

+
+
+
+ + +
+ public + + + + + +
+

+ getFiltersByType(type: String, bool: Boolean): [type] +

+
+
+ + +

Return the list of ids of filters matching a specified type.

+
+
+
+ + +
+ public + + + + + +
+

+ getFiltersId(): Array +

+
+
+ + +

Get list of filter IDs

+
+
+
+ + +
+ public + + + + + + +
+ + +

Get the index of the row containing the filters

+
+
+
+ + +
+ public + + + + + +
+

+ getFiltersValue(): Array +

+
+
+ + +

Return the filters' values

+
+
+
+ + +
+ public + + + + + +
+

+ getHeaderElement(colIndex: Number): Element +

+
+
+ + +

Get the header DOM element for a given column index

+
+
+
+ + +
+ public + + + + + + +
+ + +

Get the index of the headers row

+
+
+
+ + +
+ public + + + + + +
+

+ getHeadersText(excludeHiddenCols: Boolean): Array +

+
+
+ + +

Return the list of headers' text

+
+
+
+ + +
+ public + + + + + +
+

+ getLastRowIndex(): Number +

+
+
+ + +

Get the index of the last row

+
+
+
+ + +
+ public + + + + + +
+

+ getRowDisplay(row: HTMLTableRowElement): String +

+
+
+ + +

Get the display value of a row

+
+
+
+ + +
+ public + + + + + +
+

+ getRowsNb(includeHeaders: Boolean): Number +

+
+
+ + +

Return the number of filterable rows starting from reference row if +defined

+
+
+
+ + +
+ public + + + + + + +
+ + +

Get the row index from where the filtering process start (1st filterable +row)

+
+
+
+ + +
+ public + + + + + +
+

+ getStylesheet(name: string): DOMElement +

+
+
+ + +

Return stylesheet DOM element for a given theme name

+
+
+
+ + +
+ public + + + + + +
+

+ getValidRows(reCalc: Boolean): Array +

+
+
+ + +

Get filtered (valid) rows indexes

+
+
+
+ + +
+ public + + + + + +
+

+ getValidRowsNb(reCalc: Boolean): Number +

+
+
+ + +

Return the total number of valid rows

+
+
+
+ + +
+ public + + + + + +
+

+ getValues(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array +

+
+
+ + +

Return the table values with following structure: +[ + [rowIndex, [value0, value1...]], + [rowIndex, [value0, value1...]] +]

+
+
+
+ + +
+ public + + + + + +
+

+ getVisibleColumnData(colIndex: any, includeHeaders: boolean, exclude: any): Array +

+
+
+ + +

Return the filtered and visible data for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ getVisibleColumnValues(colIndex: any, includeHeaders: boolean, exclude: any): Array +

+
+
+ + +

Return the filtered and visible values for a given column index

+
+
+
+ + +
+ public + + + + + +
+

+ hasExtension(name: String): Boolean +

+
+
+ + +

Check passed extension name exists

+
+
+
+ + +
+ public + + + + + +
+

+ hasType(colIndex: Number, types: Array): Boolean +

+
+
+ + +

Determine whether the specified column has one of the passed types

+
+
+
+ + +
+ public + + + + + +
+

+ ignoresDiacritics(colIndex: Number): Boolean +

+
+
+ + +

Check if specified column filter ignores diacritics.

+
+
+
+ + +
+ public + + + + + +
+

+ import(fileId: String, filePath: String, callback: Function, type: String) +

+
+
+ + +

Import script or stylesheet

+
+
+
+ + +
+ public + + + + + +
+

+ init() +

+
+
+ + +

Initialise features and layout

+
+
+
+ + +
+ public + + + + + +
+

+ initExtensions() +

+
+
+ + +

Initialise all the extensions defined in the configuration object

+
+
+
+ + +
+ public + + + + + +
+

+ isCustomOptions(colIndex: Number): Boolean +

+
+
+ + +

Check if given column implements a filter with custom options

+
+
+
+ + +
+ public + + + + + +
+

+ isExactMatch(colIndex: Number): Boolean +

+
+
+ + +

Determine if passed filter column implements exact query match

+
+
+
+ + +
+ public + + + + + +
+

+ isImported(filePath: String, type: String): Boolean +

+
+
+ + +

Check if passed script or stylesheet is already imported

+
+
+
+ + +
+ public + + + + + +
+

+ isInitialized(): Boolean +

+
+
+ + +

Check if table has filters grid

+
+
+
+ + +
+ public + + + + + +
+

+ isRowDisplayed(rowIndex: Number): Boolean +

+
+
+ + +

Check if passed row is visible

+
+
+
+ + +
+ public + + + + + +
+

+ isRowValid(rowIndex: Number): Boolean +

+
+
+ + +

Check if passed row is valid

+
+
+
+ + +
+ public + + + + + +
+

+ linkFilters() +

+
+
+ + +

Refresh the filters subject to linking ('select', 'multiple', +'checklist' type)

+
+
+
+ + +
+ public + + + + + +
+

+ loadExtension(ext: Object) +

+
+
+ + +

Load an extension module

+
+
+
+ + +
+ public + + + + + +
+

+ loadThemes() +

+
+
+ + +

Load themes defined in the configuration object

+
+
+
+ + +
+ public + + + + + +
+

+ onInpBlur() +

+
+
+ + +

Filter's blur event: if auto-filter on, clear interval on filter blur

+
+
+
+ + +
+ public + + + + + +
+

+ onInpFocus(evt: Event) +

+
+
+ + +

Filter's focus event

+
+
+
+ + +
+ public + + + + + +
+

+ onKeyDown() +

+
+
+ + +

Filter's keydown event: if auto-filter on, detect user is typing

+
+
+
+ + +
+ public + + + + + +
+

+ onKeyUp(evt: Event) +

+
+
+ + +

Filter's keyup event: if auto-filter on, detect user is typing and filter +columns

+
+
+
+ + +
+ public + + + + + +
+

+ registerExtension(inst: Object, name: String) +

+
+
+ + +

Register the passed extension instance with associated name

+
+
+
+ + +
+ public + + + + + +
+

+ removeExternalFlts() +

+
+
+ + +

Remove all the external column filters

+
+
+
+ + +
+ public + + + + + +
+

+ removeToolbar() +

+
+
+ + +

Remove toolbar container element

+
+
+
+ + +
+ public + + + + + +
+

+ setActiveFilterId(filterId: String) +

+
+
+ + +

Set the ID of the current active filter

+
+
+
+ + +
+ public + + + + + +
+

+ setColWidths(tbl: Element) +

+
+
+ + +

Set them columns' widths as per configuration

+
+
+
+ + +
+ public + + + + + +
+

+ setFilterValue(index: Number, query: String or Array) +

+
+
+ + +

Set search value to a given filter

+
+
+
+ + +
+ public + + + + + +
+

+ setToolbar() +

+
+
+ + +

Generate container element for paging, reset button, rows counter etc.

+
+
+
+ + +
+ public + + + + + +
+

+ validateAllRows() +

+
+
+ + +

Validate all filterable rows

+
+
+
+ + +
+ public + + + + + +
+

+ validateRow(rowIndex: Number, isValid: Boolean) +

+
+
+ + +

Validate/invalidate row by setting the 'validRow' attribute on the row

+
+
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + constructor(table: HTMLTableElement, id: String, row: Number, configuration: Object) + + + + source + +

+ + + + +

Creates an instance of TableFilter +requires table or id arguments, row and configuration optional

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
tableHTMLTableElement

Table DOM element

+
idString

Table id

+
rowNumber

index indicating the 1st row

+
configurationObject

object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

Public Members

+ +
+

+ public + + + + + alternateRows: Boolean + + + + source + +

+ + + + +

Enable/disable alternating rows

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + anOperator: String + + + + source + +

+ + + + +

Logical AND operator for input filter. Defaults to '&&'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + autoFilter: Boolean + + + + source + +

+ + + + +

Enable auto-filter behaviour, table is filtered when a user +stops typing

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + autoFilterDelay: Number + + + + source + +

+ + + + +

Auto-filter delay in msecs

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + basePath: String + + + + source + +

+ + + + +

Base path for static assets

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnCssClass: String + + + + source + +

+ + + + +

Css class for filters submission button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnReset: Boolean + + + + source + +

+ + + + +

Enable clear button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + btnText: String + + + + source + +

+ + + + +

Define filters submission button text

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + caseSensitive: Boolean + + + + source + +

+ + + + +

Enable/disable case sensitivity filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + cellParser: Object + + + + source + +

+ + + + +

Specify which column implements a custom cell parser to retrieve the +cell value: +cell_parser: { + cols: [0, 2], + parse: function(tf, cell, colIndex) { + // custom cell parser logic here + return cellValue; + } +}

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + clearFilterText: String | Array + + + + source + +

+ + + + +

Text for clear option in drop-down filter types (1st option)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + colTypes: Array + + + + source + +

+ + + + +

Define data types on a column basis, possible values 'string', +'number', 'formatted-number', 'date', 'ipaddress' ie: +col_types : [ + 'string', 'date', 'number', + { type: 'formatted-number', decimal: ',', thousands: '.' }, + { type: 'date', locale: 'en-gb' }, + { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] } +]

+

Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive +information on date parsing formats supported by Sugar Date

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + colWidths: Array + + + + source + +

+ + + + +

Columns widths array

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + customOptions: Object + + + + source + +

+ + + + +

Custom options definition of a per column basis, ie: +custom_options: { + cols:[0, 1], + texts: [ + ['a0', 'b0', 'c0'], + ['a1', 'b1', 'c1'] + ], + values: [ + ['a0', 'b0', 'c0'], + ['a1', 'b1', 'c1'] + ], + sorts: [false, true] + }

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + decimalSeparator: String + + + + source + +

+ + + + +

Define decimal separator ',' or '.', defaults to '.'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + dfOperator: String + + + + source + +

+ + + + +

Inequality operator for input filter. Defaults to '!'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + disableExcludedOptions: Boolean + + + + source + +

+ + + + +

Enable/disable readonly state for excluded options when +linked filters filtering mode is on

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + displayBtn: Boolean + + + + source + +

+ + + + +

Enable filters submission button

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + emOperator: String + + + + source + +

+ + + + +

Empty cells operator for input filter. Defaults to '[empty]'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + emitter: Emitter + + + + source + +

+ + + + +

Event emitter instance

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + emptyText: String + + + + source + +

+ + + + +

Text for empty option in drop-down filter types

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enOperator: String + + + + source + +

+ + + + +

Ends with operator for input filter. Defaults to '='

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableDefaultTheme: Boolean + + + + source + +

+ + + + +

Enable default theme

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableEmptyOption: Boolean + + + + source + +

+ + + + +

Indicate whether empty option is enabled in drop-down filter types

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableIcons: Boolean + + + + source + +

+ + + + +

Enable/disable icons (paging, reset button)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enableNonEmptyOption: Boolean + + + + source + +

+ + + + +

Indicate whether non-empty option is enabled in drop-down filter +types

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + enterKey: Boolean + + + + source + +

+ + + + +

Enable/disable enter key for input type filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + eqOperator: String + + + + source + +

+ + + + +

Strict equality operator for input filter. Defaults to '='

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + exactMatch: Boolean + + + + source + +

+ + + + +

Globally enable/disable exact match filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + exactMatchByCol: Array + + + + source + +

+ + + + +

Exact match filtering per column array

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + extensions: Array + + + + source + +

+ + + + +

List of loaded extensions

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + externalFltTgtIds: Array + + + + source + +

+ + + + +

List of containers IDs where external filters will be generated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + filtersRowIndex: Number + + + + source + +

+ + + + +

Filters row index

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltCellTag: String + + + + source + +

+ + + + +

Define the type of cell containing a filter (td/th)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltCssClass: String + + + + source + +

+ + + + +

Css class for a filter element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltGrid: Boolean + + + + source + +

+ + + + +

Enable/disable filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltMultiCssClass: String + + + + source + +

+ + + + +

Css class for multiple select filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltSmallCssClass: String + + + + source + +

+ + + + +

Css class for small filter (when submit button is active)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + fltsRowCssClass: String + + + + source + +

+ + + + +

Css class for the filters row

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + geOperator: String + + + + source + +

+ + + + +

Greater than or equal operator for input filter. Defaults to '>='

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + grOperator: String + + + + source + +

+ + + + +

Greater than operator for input filter. Defaults to '>'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + gridLayout: Object | Boolean + + + + source + +

+ + + + +

Enable/disable grid layout (fixed headers)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + hasCustomOptions: Boolean + + + + source + +

+ + + + +

Indicate whether custom drop-down filter options are implemented

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + hasVisibleRows: Boolean + + + + source + +

+ + + + +

Enable/disable always visible rows, excluded from filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + help: Boolean + + + + source + +

+ + + + +

Indicate whether help UI component is disabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + highlightKeywords: Boolean + + + + source + +

+ + + + +

Enable keyword highlighting behaviour

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + ignoreDiacritics: Boolean | Array + + + + source + +

+ + + + +

Ignore diacritics globally or on a column basis

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + infDivCssClass: String + + + + source + +

+ + + + +

Css class for toolbar's container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + lDivCssClass: String + + + + source + +

+ + + + +

Css class for left-side inner container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + leOperator: String + + + + source + +

+ + + + +

Lower than or equal operator for input filter. Defaults to '<='

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + linkedFilters: Boolean + + + + source + +

+ + + + +

Enable/disable linked filters filtering mode

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + lkOperator: String + + + + source + +

+ + + + +

Like operator for input filter. Defaults to '*'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + loadFltOnDemand: Boolean + + + + source + +

+ + + + +

Indicate whether drop-down filter types are populated on demand at +first usage

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + loader: Boolean | Object + + + + source + +

+ + + + +

Enable activity/spinner indicator UI component

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + locale: String + + + + source + +

+ + + + +

Define default locale, default to 'en' as per Sugar Date module: +https://sugarjs.com/docs/#/DateLocales

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + lwOperator: String + + + + source + +

+ + + + +

Lower than operator for input filter. Defaults to '<'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + mDivCssClass: String + + + + source + +

+ + + + +

Css class for middle inner container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + markActiveColumns: Boolean + + + + source + +

+ + + + +

Indicate whether filtered (active) columns indicator is enabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + nmOperator: String + + + + source + +

+ + + + +

Non-empty cells operator for input filter. Defaults to '[nonempty]'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + noResults: Object | Boolean + + + + source + +

+ + + + +

Enable no results message UI component

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + nonEmptyText: String + + + + source + +

+ + + + +

Text for non-empty option in drop-down filter types

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterFilter: Function + + + + source + +

+ + + + +

Callback fired after filtering process is completed

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onAfterReset: Function + + + + source + +

+ + + + +

Callback fired after filters are cleared

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeFilter: Function + + + + source + +

+ + + + +

Callback fired before filtering process starts

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onBeforeReset: Function + + + + source + +

+ + + + +

Callback fired before filters are cleared

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onFiltersLoaded: Function + + + + source + +

+ + + + +

Callback fired after filters are generated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onRowValidated: Function + + + + source + +

+ + + + +

Callback fired after a row is validated during filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onSlcChange: Boolean + + + + source + +

+ + + + +

Indicate whether drop-down filter types filter the table by default +on change event

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + orOperator: String + + + + source + +

+ + + + +

Logical OR operator for input filter. Defaults to '||'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + paging: Object | Boolean + + + + source + +

+ + + + +

Enable paging component

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + popupFilters: Boolean + + + + source + +

+ + + + +

Indicate whether pop-up filters UI is enabled

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + rDivCssClass: String + + + + source + +

+ + + + +

Css class for right-side inner container DOM element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + refRow: Number + + + + source + +

+ + + + +

Calculated row's index from which starts filtering once filters +are generated

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + responsive: Boolean + + + + source + +

+ + + + +

Enable responsive layout

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + rgxOperator: String + + + + source + +

+ + + + +

Regular expression operator for input filter. Defaults to 'rgx:'

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + rowsCounter: Boolean | Object + + + + source + +

+ + + + +

Enable rows counter UI component

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + separator: String + + + + source + +

+ + + + +

Stored values separator

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + singleFltCssClass: String + + + + source + +

+ + + + +

Css class for single filter type

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + singleSearchFlt: Boolean + + + + source + +

+ + + + +

Enable/disable single filter filtering all columns

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortNumAsc: Array + + + + source + +

+ + + + +

List of columns implementing options sorting in a ascending numeric +manner

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortNumDesc: Array + + + + source + +

+ + + + +

List of columns implementing options sorting in a descending numeric +manner

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + sortSlc: Boolean | Array + + + + source + +

+ + + + +

Make drop-down filter types options sorted in alpha-numeric manner +by default globally or on a column basis

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stOperator: String + + + + source + +

+ + + + +

Starts with operator for input filter. Defaults to '='

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + state: Object | Boolean + + + + source + +

+ + + + +

Enable state persistence

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + statusBar: Boolean | Object + + + + source + +

+ + + + +

Enable status bar UI component

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stylePath: String + + + + source + +

+ + + + +

Path for stylesheets

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + stylesheet: String + + + + source + +

+ + + + +

Main stylesheet path

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + themes: Array + + + + source + +

+ + + + +

List of themes, ie: +themes: [{ name: 'skyblue' }]

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + themesPath: Array + + + + source + +

+ + + + +

Define path to themes assets, defaults to +'tablefilter/style/themes/'. Usage: +themes: [{ name: 'skyblue' }]

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + thousandsSeparator: String + + + + source + +

+ + + + +

Define thousands separator ',' or '.', defaults to ','

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + toolBarTgtId: String + + + + source + +

+ + + + +

Toolbar's custom container ID

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + version: String + + + + source + +

+ + + + +

Current version

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + visibleRows: Array + + + + source + +

+ + + + +

List of row indexes to be excluded from filtering

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + watermark: String | Array + + + + source + +

+ + + + +

Global watermark text for input filter type or watermark for each +filter if an array is supplied

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

Public Methods

+ +
+

+ public + + + + + activateFilter(colIndex: *) + + + + source + +

+ + + + +

Make specified column's filter active

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndex*

Index of a column

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + clearFilters() + + + + source + +

+ + + + +

Clear all the filters' values

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + config(): Object + + + + source + +

+ + + + +

Get the configuration object (literal object)

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Object
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + destroy() + + + + source + +

+ + + + +

Destroy filter grid

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + destroyExtensions() + + + + source + +

+ + + + +

Destroy all the extensions store in extensions registry

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + detectKey(evt: Event) + + + + source + +

+ + + + +

Detect <enter> key

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
evtEvent
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + dom(): HTMLTableElement + + + + source + +

+ + + + +

Return the working DOM element

+
+ + + +
+
+ +
+

Return:

+ + + + + +
HTMLTableElement
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + enforceVisibility() + + + + source + +

+ + + + +

Make defined rows always visible

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + extension(name: String): Object + + + + source + +

+ + + + +

Get an extension instance

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nameString

Name of the extension

+
+
+
+ +
+

Return:

+ + + + + +
Object

Extension instance

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + feature(name: String): Object + + + + source + +

+ + + + +

Return a feature instance for a given name

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nameString

Name of the feature

+
+
+
+ +
+

Return:

+ + + + + +
Object
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + filter() + + + + source + +

+ + + + +

Filter the table by retrieving the data from each cell in every single +row and comparing it to the search term for current column. A row is +hidden when all the search terms are not found in inspected row.

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + getActiveFilterId(): String + + + + source + +

+ + + + +

Return the ID of the current active filter

+
+ + + +
+
+ +
+

Return:

+ + + + + +
String
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getCellData(cell: DOMElement): String | Number | Date + + + + source + +

+ + + + +

Return the typed data of a given cell based on the column type definition

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
cellDOMElement

Cell's DOM element

+
+
+
+ +
+

Return:

+ + + + + +
String | Number | Date
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getCellValue(Cell's: DOMElement): String + + + + source + +

+ + + + +

Return the text content of a given cell

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
Cell'sDOMElement

DOM element

+
+
+
+ +
+

Return:

+ + + + + +
String
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getCellsNb(rowIndex: Number): Number + + + + source + +

+ + + + +

Return the number of cells for a given row index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
rowIndexNumber

Index of the row

+
+
+
+ +
+

Return:

+ + + + + +
Number

Number of cells

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getClearFilterText(colIndex: Number): String + + + + source + +

+ + + + +

Return clear all text for specified filter column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
String
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getColumnData(colIndex: Number, includeHeaders: Boolean, exclude: Arrat): * + + + + source + +

+ + + + +

Return the data of a specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeArrat
  • optional
  • +
  • default: []

List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
*

Flat list of data for a column

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getColumnIndexFromFilterId(filterId: string): Number + + + + source + +

+ + + + +

Return the column index for a given filter ID

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
filterIdstring
  • optional
  • +
  • default: ''

Filter ID

+
+
+
+ +
+

Return:

+ + + + + +
Number

Column index

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getColumnValues(colIndex: Number, includeHeaders: Boolean, exclude: Arrat): * + + + + source + +

+ + + + +

Return the values of a specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeArrat
  • optional
  • +
  • default: []

List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
*

Flat list of values for a column

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getCustomOptions(colIndex: Number): Array + + + + source + +

+ + + + +

Returns an array [[value0, value1 ...],[text0, text1 ...]] with the +custom options values and texts

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column's index

+
+
+
+ +
+

Return:

+ + + + + +
Array
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getData(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array + + + + source + +

+ + + + +

Return the table data based on its columns data type definitions +with following structure: +[ + [rowIndex, [data0, data1...]], + [rowIndex, [data0, data1...]] +]

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeHiddenColsBoolean
  • optional
  • +
  • default: false

Exclude hidden columns

+
+
+
+ +
+

Return:

+ + + + + +
Array
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getDecimal(colIndex: Number): String + + + + source + +

+ + + + +

Return the decimal separator for supplied column as per column type +configuration or global setting

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
String

'.' or ','

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilterElement(index: Number): DOMElement + + + + source + +

+ + + + +

Return the filter's DOM element for a given column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
indexNumber

Column's index

+
+
+
+ +
+

Return:

+ + + + + +
DOMElement
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilterId(index: Number): String + + + + source + +

+ + + + +

Return the ID of a specified column's filter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
indexNumber

Column's index

+
+
+
+ +
+

Return:

+ + + + + +
String

ID of the filter element

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilterType(colIndex: Number): String + + + + source + +

+ + + + +

Return the filter type for a specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column's index

+
+
+
+ +
+

Return:

+ + + + + +
String
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilterValue(index: Number): String + + + + source + +

+ + + + +

Return the filter's value of a specified column

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
indexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
String

Filter value

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilterableRowsNb(): Number + + + + source + +

+ + + + +

Get the total number of filterable rows

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilteredColumnData(colIndex: any, includeHeaders: boolean, exclude: any): Array + + + + source + +

+ + + + +

Return the filtered data for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexany

Colmun's index

+
includeHeadersboolean
  • optional
  • +
  • default: false

Optional Include headers row

+
excludeany
  • optional
  • +
  • default: []

Optional List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
Array

Flat list of typed values [data0, data1, data2...]

+

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilteredColumnValues(colIndex: any, includeHeaders: boolean, exclude: any): Array + + + + source + +

+ + + + +

Return the filtered values for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexany

Colmun's index

+
includeHeadersboolean
  • optional
  • +
  • default: false

Optional Include headers row

+
excludeany
  • optional
  • +
  • default: []

Optional List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
Array

Flat list of values ['value0', 'value1', 'value2'...]

+

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilteredData(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array + + + + source + +

+ + + + +

Return the filtered table data based on its columns data type definitions +with following structure: +[ + [rowIndex, [data0, data1...]], + [rowIndex, [data0, data1...]] +]

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeHiddenColsBoolean
  • optional
  • +
  • default: false

Exclude hidden columns

+
+
+
+ +
+

Return:

+ + + + + +
Array

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFilteredValues(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array + + + + source + +

+ + + + +

Return the filtered table values with following structure: +[ + [rowIndex, [value0, value1...]], + [rowIndex, [value0, value1...]] +]

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeHiddenColsBoolean
  • optional
  • +
  • default: false

Exclude hidden columns

+
+
+
+ +
+

Return:

+ + + + + +
Array

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFiltersByType(type: String, bool: Boolean): [type] + + + + source + +

+ + + + +

Return the list of ids of filters matching a specified type. +Note: hidden filters are also returned

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
typeString

Filter type string ('input', 'select', 'multiple', + 'checklist')

+
boolBoolean

If true returns columns indexes instead of IDs

+
+
+
+ +
+

Return:

+ + + + + +
[type]

List of element IDs or column indexes

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFiltersId(): Array + + + + source + +

+ + + + +

Get list of filter IDs

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Array

List of filters ids

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFiltersRowIndex(): Number + + + + source + +

+ + + + +

Get the index of the row containing the filters

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getFiltersValue(): Array + + + + source + +

+ + + + +

Return the filters' values

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Array

List of filters' values

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getHeaderElement(colIndex: Number): Element + + + + source + +

+ + + + +

Get the header DOM element for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Element
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getHeadersRowIndex(): Number + + + + source + +

+ + + + +

Get the index of the headers row

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getHeadersText(excludeHiddenCols: Boolean): Array + + + + source + +

+ + + + +

Return the list of headers' text

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
excludeHiddenColsBoolean

Optional: exclude hidden columns

+
+
+
+ +
+

Return:

+ + + + + +
Array

list of headers' text

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getLastRowIndex(): Number + + + + source + +

+ + + + +

Get the index of the last row

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getRowDisplay(row: HTMLTableRowElement): String + + + + source + +

+ + + + +

Get the display value of a row

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
rowHTMLTableRowElement

DOM element of the row

+
+
+
+ +
+

Return:

+ + + + + +
String

Usually 'none' or ''

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getRowsNb(includeHeaders: Boolean): Number + + + + source + +

+ + + + +

Return the number of filterable rows starting from reference row if +defined

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
includeHeadersBoolean

Include the headers row

+
+
+
+ +
+

Return:

+ + + + + +
Number

Number of filterable rows

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getStartRowIndex(): Number + + + + source + +

+ + + + +

Get the row index from where the filtering process start (1st filterable +row)

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getStylesheet(name: string): DOMElement + + + + source + +

+ + + + +

Return stylesheet DOM element for a given theme name

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
namestring
  • optional
  • +
  • default: default
+
+
+ +
+

Return:

+ + + + + +
DOMElement

stylesheet element

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getValidRows(reCalc: Boolean): Array + + + + source + +

+ + + + +

Get filtered (valid) rows indexes

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
reCalcBoolean

Force calculation of filtered rows list

+
+
+
+ +
+

Return:

+ + + + + +
Array

List of row indexes

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getValidRowsNb(reCalc: Boolean): Number + + + + source + +

+ + + + +

Return the total number of valid rows

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
reCalcBoolean
  • optional
  • +
  • default: false

Forces calculation of filtered rows

+
+
+
+ +
+

Return:

+ + + + + +
Number
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getValues(includeHeaders: Boolean, excludeHiddenCols: Boolean): Array + + + + source + +

+ + + + +

Return the table values with following structure: +[ + [rowIndex, [value0, value1...]], + [rowIndex, [value0, value1...]] +]

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
includeHeadersBoolean
  • optional
  • +
  • default: false

Include headers row

+
excludeHiddenColsBoolean
  • optional
  • +
  • default: false

Exclude hidden columns

+
+
+
+ +
+

Return:

+ + + + + +
Array
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getVisibleColumnData(colIndex: any, includeHeaders: boolean, exclude: any): Array + + + + source + +

+ + + + +

Return the filtered and visible data for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexany

Colmun's index

+
includeHeadersboolean
  • optional
  • +
  • default: false

Optional Include headers row

+
excludeany
  • optional
  • +
  • default: []

Optional List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
Array

Flat list of typed values [data0, data1, data2...]

+

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + getVisibleColumnValues(colIndex: any, includeHeaders: boolean, exclude: any): Array + + + + source + +

+ + + + +

Return the filtered and visible values for a given column index

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexany

Colmun's index

+
includeHeadersboolean
  • optional
  • +
  • default: false

Optional Include headers row

+
excludeany
  • optional
  • +
  • default: []

Optional List of row indexes to be excluded

+
+
+
+ +
+

Return:

+ + + + + +
Array

Flat list of values ['value0', 'value1', 'value2'...]

+

TODO: provide an API returning data in JSON format

+
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + hasExtension(name: String): Boolean + + + + source + +

+ + + + +

Check passed extension name exists

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nameString

Name of the extension

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + hasType(colIndex: Number, types: Array): Boolean + + + + source + +

+ + + + +

Determine whether the specified column has one of the passed types

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
typesArray
  • optional
  • +
  • default: []

List of column types

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + ignoresDiacritics(colIndex: Number): Boolean + + + + source + +

+ + + + +

Check if specified column filter ignores diacritics. +Note this is only applicable to input filter types.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + import(fileId: String, filePath: String, callback: Function, type: String) + + + + source + +

+ + + + +

Import script or stylesheet

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
fileIdString

Ressource ID

+
filePathString

Ressource path

+
callbackFunction

Callback

+
typeString

Possible values: 'script' or 'link'

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + init() + + + + source + +

+ + + + +

Initialise features and layout

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + initExtensions() + + + + source + +

+ + + + +

Initialise all the extensions defined in the configuration object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + isCustomOptions(colIndex: Number): Boolean + + + + source + +

+ + + + +

Check if given column implements a filter with custom options

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column's index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + isExactMatch(colIndex: Number): Boolean + + + + source + +

+ + + + +

Determine if passed filter column implements exact query match

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
colIndexNumber

Column index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + isImported(filePath: String, type: String): Boolean + + + + source + +

+ + + + +

Check if passed script or stylesheet is already imported

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
filePathString

Ressource path

+
typeString

Possible values: 'script' or 'link'

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + isInitialized(): Boolean + + + + source + +

+ + + + +

Check if table has filters grid

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + isRowDisplayed(rowIndex: Number): Boolean + + + + source + +

+ + + + +

Check if passed row is visible

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
rowIndexNumber

Row index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + isRowValid(rowIndex: Number): Boolean + + + + source + +

+ + + + +

Check if passed row is valid

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
rowIndexNumber

Row index

+
+
+
+ +
+

Return:

+ + + + + +
Boolean
+
+
+
+ + + + + + + + + + + + + +
+
+

+ public + + + + + linkFilters() + + + + source + +

+ + + + +

Refresh the filters subject to linking ('select', 'multiple', +'checklist' type)

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + loadExtension(ext: Object) + + + + source + +

+ + + + +

Load an extension module

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
extObject

Extension config object

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + loadThemes() + + + + source + +

+ + + + +

Load themes defined in the configuration object

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onInpBlur() + + + + source + +

+ + + + +

Filter's blur event: if auto-filter on, clear interval on filter blur

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onInpFocus(evt: Event) + + + + source + +

+ + + + +

Filter's focus event

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
evtEvent
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onKeyDown() + + + + source + +

+ + + + +

Filter's keydown event: if auto-filter on, detect user is typing

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + onKeyUp(evt: Event) + + + + source + +

+ + + + +

Filter's keyup event: if auto-filter on, detect user is typing and filter +columns

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
evtEvent
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + registerExtension(inst: Object, name: String) + + + + source + +

+ + + + +

Register the passed extension instance with associated name

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
instObject

Extension instance

+
nameString

Name of the extension

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + removeExternalFlts() + + + + source + +

+ + + + +

Remove all the external column filters

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + removeToolbar() + + + + source + +

+ + + + +

Remove toolbar container element

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setActiveFilterId(filterId: String) + + + + source + +

+ + + + +

Set the ID of the current active filter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
filterIdString

Element ID

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setColWidths(tbl: Element) + + + + source + +

+ + + + +

Set them columns' widths as per configuration

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
tblElement

DOM element

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setFilterValue(index: Number, query: String or Array) + + + + source + +

+ + + + +

Set search value to a given filter

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
indexNumber

Column's index

+
queryString or Array

searcharg Search term

+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + setToolbar() + + + + source + +

+ + + + +

Generate container element for paging, reset button, rows counter etc.

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + validateAllRows() + + + + source + +

+ + + + +

Validate all filterable rows

+
+ + + +
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + validateRow(rowIndex: Number, isValid: Boolean) + + + + source + +

+ + + + +

Validate/invalidate row by setting the 'validRow' attribute on the row

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
rowIndexNumber

Index of the row

+
isValidBoolean
+
+
+ + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/coverage.json b/docs/coverage.json new file mode 100644 index 00000000..0fef7f01 --- /dev/null +++ b/docs/coverage.json @@ -0,0 +1,187 @@ +{ + "coverage": "100%", + "expectCount": 677, + "actualCount": 677, + "files": { + "src/const.js": { + "expectCount": 19, + "actualCount": 19, + "undocumentLines": [] + }, + "src/extensions/advancedGrid/adapterEzEditTable.js": { + "expectCount": 13, + "actualCount": 13, + "undocumentLines": [] + }, + "src/extensions/sort/adapterSortabletable.js": { + "expectCount": 23, + "actualCount": 23, + "undocumentLines": [] + }, + "src/modules/alternateRows.js": { + "expectCount": 9, + "actualCount": 9, + "undocumentLines": [] + }, + "src/modules/baseDropdown.js": { + "expectCount": 3, + "actualCount": 3, + "undocumentLines": [] + }, + "src/modules/checkList.js": { + "expectCount": 21, + "actualCount": 21, + "undocumentLines": [] + }, + "src/modules/clearButton.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/extensions/colOps/colOps.js": { + "expectCount": 26, + "actualCount": 26, + "undocumentLines": [] + }, + "src/extensions/colsVisibility/colsVisibility.js": { + "expectCount": 49, + "actualCount": 49, + "undocumentLines": [] + }, + "src/modules/dateType.js": { + "expectCount": 12, + "actualCount": 12, + "undocumentLines": [] + }, + "src/modules/dropdown.js": { + "expectCount": 17, + "actualCount": 17, + "undocumentLines": [] + }, + "src/types.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/emitter.js": { + "expectCount": 6, + "actualCount": 6, + "undocumentLines": [] + }, + "src/feature.js": { + "expectCount": 14, + "actualCount": 14, + "undocumentLines": [] + }, + "src/modules/gridLayout.js": { + "expectCount": 16, + "actualCount": 16, + "undocumentLines": [] + }, + "src/modules/hash.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/modules/help.js": { + "expectCount": 17, + "actualCount": 17, + "undocumentLines": [] + }, + "src/modules/highlightKeywords.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/modules/loader.js": { + "expectCount": 14, + "actualCount": 14, + "undocumentLines": [] + }, + "src/modules/markActiveColumns.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/modules/noResults.js": { + "expectCount": 17, + "actualCount": 17, + "undocumentLines": [] + }, + "src/modules/paging.js": { + "expectCount": 45, + "actualCount": 45, + "undocumentLines": [] + }, + "src/modules/popupFilter.js": { + "expectCount": 27, + "actualCount": 27, + "undocumentLines": [] + }, + "src/modules/rowsCounter.js": { + "expectCount": 13, + "actualCount": 13, + "undocumentLines": [] + }, + "src/modules/state.js": { + "expectCount": 24, + "actualCount": 24, + "undocumentLines": [] + }, + "src/modules/statusBar.js": { + "expectCount": 22, + "actualCount": 22, + "undocumentLines": [] + }, + "src/modules/storage.js": { + "expectCount": 10, + "actualCount": 10, + "undocumentLines": [] + }, + "src/tablefilter.js": { + "expectCount": 172, + "actualCount": 172, + "undocumentLines": [] + }, + "src/dom.js": { + "expectCount": 12, + "actualCount": 12, + "undocumentLines": [] + }, + "src/event.js": { + "expectCount": 6, + "actualCount": 6, + "undocumentLines": [] + }, + "src/string.js": { + "expectCount": 5, + "actualCount": 5, + "undocumentLines": [] + }, + "src/sort.js": { + "expectCount": 7, + "actualCount": 7, + "undocumentLines": [] + }, + "src/settings.js": { + "expectCount": 5, + "actualCount": 5, + "undocumentLines": [] + }, + "src/array.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/number.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/root.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + } + } +} \ No newline at end of file diff --git a/docs/css/prettify-tomorrow.css b/docs/css/prettify-tomorrow.css new file mode 100644 index 00000000..b6f92a78 --- /dev/null +++ b/docs/css/prettify-tomorrow.css @@ -0,0 +1,132 @@ +/* Tomorrow Theme */ +/* Original theme - https://github.com/chriskempson/tomorrow-theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #4d4d4c; } + +@media screen { + /* string content */ + .str { + color: #718c00; } + + /* a keyword */ + .kwd { + color: #8959a8; } + + /* a comment */ + .com { + color: #8e908c; } + + /* a type name */ + .typ { + color: #4271ae; } + + /* a literal value */ + .lit { + color: #f5871f; } + + /* punctuation */ + .pun { + color: #4d4d4c; } + + /* lisp open bracket */ + .opn { + color: #4d4d4c; } + + /* lisp close bracket */ + .clo { + color: #4d4d4c; } + + /* a markup tag name */ + .tag { + color: #c82829; } + + /* a markup attribute name */ + .atn { + color: #f5871f; } + + /* a markup attribute value */ + .atv { + color: #3e999f; } + + /* a declaration */ + .dec { + color: #f5871f; } + + /* a variable name */ + .var { + color: #c82829; } + + /* a function name */ + .fun { + color: #4271ae; } } +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #060; } + + .kwd { + color: #006; + font-weight: bold; } + + .com { + color: #600; + font-style: italic; } + + .typ { + color: #404; + font-weight: bold; } + + .lit { + color: #044; } + + .pun, .opn, .clo { + color: #440; } + + .tag { + color: #006; + font-weight: bold; } + + .atn { + color: #404; } + + .atv { + color: #060; } } +/* Style */ +/* +pre.prettyprint { + background: white; + font-family: Consolas, Monaco, 'Andale Mono', monospace; + font-size: 12px; + line-height: 1.5; + border: 1px solid #ccc; + padding: 10px; } +*/ + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; } + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ } + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ } diff --git a/docs/css/style.css b/docs/css/style.css new file mode 100644 index 00000000..baf349f5 --- /dev/null +++ b/docs/css/style.css @@ -0,0 +1,944 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); + +* { + margin: 0; + padding: 0; + text-decoration: none; +} + +html +{ + font-family: 'Roboto', sans-serif; + overflow: auto; + font-size: 14px; + /*color: #4d4e53;*/ + color: rgba(0, 0, 0, .68); + background-color: #fff; +} + +a { + /*color: #0095dd;*/ + /*color:rgb(37, 138, 175);*/ + color: #039BE5; +} + +code a:hover { + text-decoration: underline; +} + +ul, ol { + padding-left: 20px; +} + +ul li { + list-style: disc; + margin: 4px 0; +} + +ol li { + margin: 4px 0; +} + +h1 { + margin-bottom: 10px; + font-size: 34px; + font-weight: 300; + border-bottom: solid 1px #ddd; +} + +h2 { + margin-top: 24px; + margin-bottom: 10px; + font-size: 20px; + border-bottom: solid 1px #ddd; + font-weight: 300; +} + +h3 { + position: relative; + font-size: 16px; + margin-bottom: 12px; + background-color: #E2E2E2; + padding: 4px; + font-weight: 300; +} + +del { + text-decoration: line-through; +} + +p { + margin-bottom: 15px; + line-height: 1.5; +} + +p > code { + background-color: #f5f5f5; + border-radius: 3px; +} + +pre > code { + display: block; +} + +pre.prettyprint, pre > code { + padding: 4px; + margin: 1em 0; + background-color: #f5f5f5; + border-radius: 3px; +} + +pre.prettyprint > code { + margin: 0; +} + +p > code, +li > code { + padding: 0 4px; + border-radius: 3px; +} + +.import-path pre.prettyprint, +.import-path pre.prettyprint code { + margin: 0; + padding: 0; + border: none; + background: white; +} + +.layout-container { + /*display: flex;*/ + /*flex-direction: row;*/ + /*justify-content: flex-start;*/ + /*align-items: stretch;*/ +} + +.layout-container > header { + height: 40px; + line-height: 40px; + font-size: 16px; + padding: 0 10px; + margin: 0; + position: fixed; + width: 100%; + z-index: 1; + background-color: white; + top: 0; + border-bottom: solid 1px #E02130; +} +.layout-container > header > a{ + margin: 0 5px; +} + +.layout-container > header > a.repo-url-github { + font-size: 0; + display: inline-block; + width: 20px; + height: 38px; + background: url("../image/github.png") no-repeat center; + background-size: 20px; + vertical-align: top; +} + +.navigation { + position: fixed; + top: 0; + left: 0; + box-sizing: border-box; + width: 250px; + height: 100%; + padding-top: 40px; + padding-left: 15px; + padding-bottom: 2em; + margin-top:1em; + overflow-x: scroll; + box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; + border-right: 1px solid rgba(0, 0, 0, 0.1); +} + +.navigation ul { + padding: 0; +} + +.navigation li { + list-style: none; + margin: 4px 0; + white-space: nowrap; +} + +.navigation .nav-dir-path { + margin-top: 0.7em; + margin-bottom: 0.25em; + font-size: 0.8em; + color: #aaa; +} + +.kind-class, +.kind-interface, +.kind-function, +.kind-typedef, +.kind-variable, +.kind-external { + margin-left: 0.75em; + width: 1.2em; + height: 1.2em; + display: inline-block; + text-align: center; + border-radius: 0.2em; + margin-right: 0.2em; + font-weight: bold; +} + +.kind-class { + color: #009800; + background-color: #bfe5bf; +} + +.kind-interface { + color: #fbca04; + background-color: #fef2c0; +} + +.kind-function { + color: #6b0090; + background-color: #d6bdde; +} + +.kind-variable { + color: #eb6420; + background-color: #fad8c7; +} + +.kind-typedef { + color: #db001e; + background-color: #edbec3; +} + +.kind-external { + color: #0738c3; + background-color: #bbcbea; +} + +h1 .version, +h1 .url a { + font-size: 14px; + color: #aaa; +} + +.content { + margin-top: 40px; + margin-left: 250px; + padding: 10px 50px 10px 20px; +} + +.header-notice { + font-size: 14px; + color: #aaa; + margin: 0; +} + +.expression-extends .prettyprint { + margin-left: 10px; + background: white; +} + +.extends-chain { + border-bottom: 1px solid#ddd; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.extends-chain span:nth-of-type(1) { + padding-left: 10px; +} + +.extends-chain > div { + margin: 5px 0; +} + +.description table { + font-size: 14px; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +.description thead { + background: #999; + color: white; +} + +.description table td, +.description table th { + border: solid 1px #ddd; + padding: 4px; + font-weight: normal; +} + +.flat-list ul { + padding-left: 0; +} + +.flat-list li { + display: inline; + list-style: none; +} + +table.summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.summary thead { + background: #999; + color: white; +} + +table.summary td { + border: solid 1px #ddd; + padding: 4px 10px; +} + +table.summary tbody td:nth-child(1) { + text-align: right; + white-space: nowrap; + min-width: 64px; + vertical-align: top; +} + +table.summary tbody td:nth-child(2) { + width: 100%; + border-right: none; +} + +table.summary tbody td:nth-child(3) { + white-space: nowrap; + border-left: none; + vertical-align: top; +} + +table.summary td > div:nth-of-type(2) { + padding-top: 4px; + padding-left: 15px; +} + +table.summary td p { + margin-bottom: 0; +} + +.inherited-summary thead td { + padding-left: 2px; +} + +.inherited-summary thead a { + color: white; +} + +.inherited-summary .summary tbody { + display: none; +} + +.inherited-summary .summary .toggle { + padding: 0 4px; + font-size: 12px; + cursor: pointer; +} +.inherited-summary .summary .toggle.closed:before { + content: "â–¶"; +} +.inherited-summary .summary .toggle.opened:before { + content: "â–¼"; +} + +.member, .method { + margin-bottom: 24px; +} + +table.params { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.params thead { + background: #eee; + color: #aaa; +} + +table.params td { + padding: 4px; + border: solid 1px #ddd; +} + +table.params td p { + margin: 0; +} + +.content .detail > * { + margin: 15px 0; +} + +.content .detail > h3 { + color: black; +} + +.content .detail > div { + margin-left: 10px; +} + +.content .detail > .import-path { + margin-top: -8px; +} + +.content .detail + .detail { + margin-top: 30px; +} + +.content .detail .throw td:first-child { + padding-right: 10px; +} + +.content .detail h4 + :not(pre) { + padding-left: 0; + margin-left: 10px; +} + +.content .detail h4 + ul li { + list-style: none; +} + +.return-param * { + display: inline; +} + +.argument-params { + margin-bottom: 20px; +} + +.return-type { + padding-right: 10px; + font-weight: normal; +} + +.return-desc { + margin-left: 10px; + margin-top: 4px; +} + +.return-desc p { + margin: 0; +} + +.deprecated, .experimental, .instance-docs { + border-left: solid 5px orange; + padding-left: 4px; + margin: 4px 0; +} + +tr.listen p, +tr.throw p, +tr.emit p{ + margin-bottom: 10px; +} + +.version, .since { + color: #aaa; +} + +h3 .right-info { + position: absolute; + right: 4px; + font-size: 14px; +} + +.version + .since:before { + content: '| '; +} + +.see { + margin-top: 10px; +} + +.see h4 { + margin: 4px 0; +} + +.content .detail h4 + .example-doc { + margin: 6px 0; +} + +.example-caption { + position: relative; + bottom: -1px; + display: inline-block; + padding: 4px; + font-style: italic; + background-color: #f5f5f5; + font-weight: bold; + border-radius: 3px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +.example-caption + pre.source-code { + margin-top: 0; + border-top-left-radius: 0; +} + +footer, .file-footer { + text-align: right; + font-style: italic; + font-weight: 100; + font-size: 13px; + margin-right: 50px; + margin-left: 270px; + border-top: 1px solid #ddd; + padding-top: 30px; + margin-top: 20px; + padding-bottom: 10px; +} + +pre.source-code { + background: #f5f5f5; + padding: 4px; +} + +pre.raw-source-code > code { + padding: 0; + margin: 0; +} + +pre.source-code.line-number { + padding: 0; +} + +pre.source-code ol { + background: #eee; + padding-left: 40px; +} + +pre.source-code li { + background: white; + padding-left: 4px; + list-style: decimal; + margin: 0; +} + +pre.source-code.line-number li.active { + background: rgb(255, 255, 150); +} + +pre.source-code.line-number li.error-line { + background: #ffb8bf; +} + +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #999; + color: white; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} + +table.test-summary thead { + background: #999; + color: white; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-describe .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; +} + +table.test-summary tr.test-describe .toggle.opened:before { + content: 'â–¼'; +} + +table.test-summary tr.test-describe .toggle.closed:before { + content: 'â–¶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} + +.inner-link-active { + background: rgb(255, 255, 150); +} + +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + +/* coverage badge */ +.esdoc-coverage { + display: inline-block; + height: 20px; + vertical-align: top; +} + +h1 .esdoc-coverage { + position: relative; + top: -4px; +} + +.esdoc-coverage-wrap { + color: white; + font-size: 12px; + font-weight: 500; +} + +.esdoc-coverage-label { + padding: 3px 4px 3px 6px; + background: linear-gradient(to bottom, #5e5e5e 0%,#4c4c4c 100%); + border-radius: 4px 0 0 4px; + display: inline-block; + height: 20px; + box-sizing: border-box; + line-height: 14px; +} + +.esdoc-coverage-ratio { + padding: 3px 6px 3px 4px; + border-radius: 0 4px 4px 0; + display: inline-block; + height: 20px; + box-sizing: border-box; + line-height: 14px; +} + +.esdoc-coverage-low { + background: linear-gradient(to bottom, #db654f 0%,#c9533d 100%); +} + +.esdoc-coverage-middle { + background: linear-gradient(to bottom, #dab226 0%,#c9a179 100%); +} + +.esdoc-coverage-high { + background: linear-gradient(to bottom, #4fc921 0%,#3eb810 100%); +} + +.github-markdown .manual-toc { + padding-left: 0; +} + +/** manual */ + +.manual-root .navigation { + padding-left: 0; +} + +.navigation .manual-toc-title { + margin: 0; + padding: 0.5em 0 0.5em 1em; + border: none; + font-size: 1em; + font-weight: normal; +} + +.navigation .manual-toc-title:first-child { + margin-top: 0; +} + +.navigation .manual-toc { + display: none; + margin-left: 0.5em; + margin-top: -0.25em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.manual-toc .indent-h1 { + margin-left: 0; +} +.manual-toc .indent-h2 { + margin-left: 1em; +} +.manual-toc .indent-h3 { + margin-left: 3em; +} +.manual-toc .indent-h4 { + margin-left: 4em; +} +.manual-toc .indent-h5 { + margin-left: 5em; +} + +.manual-nav li { + margin: 0.75em 0; +} + +.manual-dot { + margin-left: 0.75em; + width: 0.6em; + height: 0.6em; + display: inline-block; + border-radius: 0.3em; + margin-right: 0.3em; + background-color: #bfe5bf; +} + +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; + background-color: transparent; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/docs/dump.json b/docs/dump.json new file mode 100644 index 00000000..e94a60c3 --- /dev/null +++ b/docs/dump.json @@ -0,0 +1,25272 @@ +[ + { + "__docId__": 0, + "kind": "file", + "static": true, + "variation": null, + "name": "src/array.js", + "memberof": null, + "longname": "src/array.js", + "access": null, + "description": null, + "lineNumber": 5, + "content": "/**\n * Array utilities\n */\n\nimport {matchCase} from './string';\n\n/**\n * Checks if given item can be found in the passed collection\n * @param {Array} arr collection\n * @param {Any} val item to search\n * @param {Boolean} caseSensitive respects case if true\n * @return {Boolean}\n */\nexport const has = (arr, val, caseSensitive) => {\n let sCase = Boolean(caseSensitive);\n for (var i = 0, l = arr.length; i < l; i++) {\n if (matchCase(arr[i].toString(), sCase) === val) {\n return true;\n }\n }\n return false;\n};\n" + }, + { + "__docId__": 1, + "kind": "variable", + "static": true, + "variation": null, + "name": "has", + "memberof": "src/array.js", + "longname": "src/array.js~has", + "access": null, + "export": true, + "importPath": "tablefilter/src/array.js", + "importStyle": "{has}", + "description": "Checks if given item can be found in the passed collection", + "lineNumber": 14, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "arr", + "description": "collection" + }, + { + "nullable": null, + "types": [ + "Any" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "item to search" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "caseSensitive", + "description": "respects case if true" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 2, + "kind": "file", + "static": true, + "variation": null, + "name": "src/const.js", + "memberof": null, + "longname": "src/const.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {DateType} from './modules/dateType';\nimport {Help} from './modules/help';\nimport {State} from './modules/state';\nimport {GridLayout} from './modules/gridLayout';\nimport {Loader} from './modules/loader';\nimport {HighlightKeyword} from './modules/highlightKeywords';\nimport {PopupFilter} from './modules/popupFilter';\nimport {MarkActiveColumns} from './modules/markActiveColumns';\nimport {RowsCounter} from './modules/rowsCounter';\nimport {StatusBar} from './modules/statusBar';\nimport {ClearButton} from './modules/clearButton';\nimport {AlternateRows} from './modules/alternateRows';\nimport {NoResults} from './modules/noResults';\nimport {Paging} from './modules/paging';\n\n/**\n * Filter types\n */\n\n/**\n * Input filter type\n * @type {String}\n */\nexport const INPUT = 'input';\n/**\n * Select filter type\n * @type {String}\n */\nexport const SELECT = 'select';\n/**\n * Multiple select filter type\n * @type {String}\n */\nexport const MULTIPLE = 'multiple';\n/**\n * Checklist filter type\n * @type {String}\n */\nexport const CHECKLIST = 'checklist';\n/**\n * None filter type\n * @type {String}\n */\nexport const NONE = 'none';\n\n/**\n * Key codes\n */\n\n/**\n * Enter key code\n * @type {Number}\n */\nexport const ENTER_KEY = 13;\n/**\n * Tab key code\n * @type {Number}\n */\nexport const TAB_KEY = 9;\n/**\n * Escape key code\n * @type {Number}\n */\nexport const ESC_KEY = 27;\n/**\n * Up arrow key code\n * @type {Number}\n */\nexport const UP_ARROW_KEY = 38;\n/**\n * Down arrow key code\n * @type {Number}\n */\nexport const DOWN_ARROW_KEY = 40;\n\n/**\n * HTML tags\n */\n\n/**\n * Header cell tag\n * @type {String}\n */\nexport const HEADER_TAG = 'TH';\n/**\n * Cell tag\n * @type {String}\n */\nexport const CELL_TAG = 'TD';\n\n/**\n * Data types\n */\n\n/**\n * String\n * @type {String}\n */\nexport const STRING = 'string';\n\n/**\n * Number\n * @type {String}\n */\nexport const NUMBER = 'number';\n\n/**\n * Formatted number\n * @type {String}\n */\nexport const FORMATTED_NUMBER = 'formatted-number';\n\n/**\n * Date\n * @type {String}\n */\nexport const DATE = 'date';\n\n/**\n * IP address\n * @type {String}\n */\nexport const IP_ADDRESS = 'ipaddress';\n\n/**\n * Default values\n */\n\n/**\n * Auto filter delay in milliseconds\n * @type {Number}\n */\nexport const AUTO_FILTER_DELAY = 750;\n\n/**\n * TableFilter features definitions\n * @type {Object}\n */\nexport const FEATURES = {\n dateType: {\n class: DateType,\n name: 'dateType'\n },\n help: {\n class: Help,\n name: 'help',\n enforce: true\n },\n state: {\n class: State,\n name: 'state'\n },\n markActiveColumns: {\n class: MarkActiveColumns,\n name: 'markActiveColumns'\n },\n gridLayout: {\n class: GridLayout,\n name: 'gridLayout'\n },\n loader: {\n class: Loader,\n name: 'loader'\n },\n highlightKeyword: {\n class: HighlightKeyword,\n name: 'highlightKeyword',\n property: 'highlightKeywords'\n },\n popupFilter: {\n class: PopupFilter,\n name: 'popupFilter',\n property: 'popupFilters'\n },\n rowsCounter: {\n class: RowsCounter,\n name: 'rowsCounter'\n },\n statusBar: {\n class: StatusBar,\n name: 'statusBar'\n },\n clearButton: {\n class: ClearButton,\n name: 'clearButton',\n property: 'btnReset'\n },\n alternateRows: {\n class: AlternateRows,\n name: 'alternateRows'\n },\n noResults: {\n class: NoResults,\n name: 'noResults'\n },\n paging: {\n class: Paging,\n name: 'paging'\n }\n};\n" + }, + { + "__docId__": 3, + "kind": "variable", + "static": true, + "variation": null, + "name": "INPUT", + "memberof": "src/const.js", + "longname": "src/const.js~INPUT", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{INPUT}", + "description": "Input filter type", + "lineNumber": 24, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 4, + "kind": "variable", + "static": true, + "variation": null, + "name": "SELECT", + "memberof": "src/const.js", + "longname": "src/const.js~SELECT", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{SELECT}", + "description": "Select filter type", + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 5, + "kind": "variable", + "static": true, + "variation": null, + "name": "MULTIPLE", + "memberof": "src/const.js", + "longname": "src/const.js~MULTIPLE", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{MULTIPLE}", + "description": "Multiple select filter type", + "lineNumber": 34, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 6, + "kind": "variable", + "static": true, + "variation": null, + "name": "CHECKLIST", + "memberof": "src/const.js", + "longname": "src/const.js~CHECKLIST", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{CHECKLIST}", + "description": "Checklist filter type", + "lineNumber": 39, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 7, + "kind": "variable", + "static": true, + "variation": null, + "name": "NONE", + "memberof": "src/const.js", + "longname": "src/const.js~NONE", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{NONE}", + "description": "None filter type", + "lineNumber": 44, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 8, + "kind": "variable", + "static": true, + "variation": null, + "name": "ENTER_KEY", + "memberof": "src/const.js", + "longname": "src/const.js~ENTER_KEY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{ENTER_KEY}", + "description": "Enter key code", + "lineNumber": 54, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 9, + "kind": "variable", + "static": true, + "variation": null, + "name": "TAB_KEY", + "memberof": "src/const.js", + "longname": "src/const.js~TAB_KEY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{TAB_KEY}", + "description": "Tab key code", + "lineNumber": 59, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 10, + "kind": "variable", + "static": true, + "variation": null, + "name": "ESC_KEY", + "memberof": "src/const.js", + "longname": "src/const.js~ESC_KEY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{ESC_KEY}", + "description": "Escape key code", + "lineNumber": 64, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 11, + "kind": "variable", + "static": true, + "variation": null, + "name": "UP_ARROW_KEY", + "memberof": "src/const.js", + "longname": "src/const.js~UP_ARROW_KEY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{UP_ARROW_KEY}", + "description": "Up arrow key code", + "lineNumber": 69, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 12, + "kind": "variable", + "static": true, + "variation": null, + "name": "DOWN_ARROW_KEY", + "memberof": "src/const.js", + "longname": "src/const.js~DOWN_ARROW_KEY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{DOWN_ARROW_KEY}", + "description": "Down arrow key code", + "lineNumber": 74, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 13, + "kind": "variable", + "static": true, + "variation": null, + "name": "HEADER_TAG", + "memberof": "src/const.js", + "longname": "src/const.js~HEADER_TAG", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{HEADER_TAG}", + "description": "Header cell tag", + "lineNumber": 84, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 14, + "kind": "variable", + "static": true, + "variation": null, + "name": "CELL_TAG", + "memberof": "src/const.js", + "longname": "src/const.js~CELL_TAG", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{CELL_TAG}", + "description": "Cell tag", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 15, + "kind": "variable", + "static": true, + "variation": null, + "name": "STRING", + "memberof": "src/const.js", + "longname": "src/const.js~STRING", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{STRING}", + "description": "String", + "lineNumber": 99, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 16, + "kind": "variable", + "static": true, + "variation": null, + "name": "NUMBER", + "memberof": "src/const.js", + "longname": "src/const.js~NUMBER", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{NUMBER}", + "description": "Number", + "lineNumber": 105, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 17, + "kind": "variable", + "static": true, + "variation": null, + "name": "FORMATTED_NUMBER", + "memberof": "src/const.js", + "longname": "src/const.js~FORMATTED_NUMBER", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{FORMATTED_NUMBER}", + "description": "Formatted number", + "lineNumber": 111, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 18, + "kind": "variable", + "static": true, + "variation": null, + "name": "DATE", + "memberof": "src/const.js", + "longname": "src/const.js~DATE", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{DATE}", + "description": "Date", + "lineNumber": 117, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 19, + "kind": "variable", + "static": true, + "variation": null, + "name": "IP_ADDRESS", + "memberof": "src/const.js", + "longname": "src/const.js~IP_ADDRESS", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{IP_ADDRESS}", + "description": "IP address", + "lineNumber": 123, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 20, + "kind": "variable", + "static": true, + "variation": null, + "name": "AUTO_FILTER_DELAY", + "memberof": "src/const.js", + "longname": "src/const.js~AUTO_FILTER_DELAY", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{AUTO_FILTER_DELAY}", + "description": "Auto filter delay in milliseconds", + "lineNumber": 133, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 21, + "kind": "variable", + "static": true, + "variation": null, + "name": "FEATURES", + "memberof": "src/const.js", + "longname": "src/const.js~FEATURES", + "access": null, + "export": true, + "importPath": "tablefilter/src/const.js", + "importStyle": "{FEATURES}", + "description": "TableFilter features definitions", + "lineNumber": 139, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 22, + "kind": "file", + "static": true, + "variation": null, + "name": "src/cookie.js", + "memberof": null, + "longname": "src/cookie.js", + "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 /**\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__": 23, + "kind": "variable", + "static": true, + "variation": null, + "name": "doc", + "memberof": "src/cookie.js", + "longname": "src/cookie.js~doc", + "access": null, + "export": false, + "importPath": "tablefilter/src/cookie.js", + "importStyle": null, + "description": "Cookie utilities", + "lineNumber": 7, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 24, + "kind": "file", + "static": true, + "variation": null, + "name": "src/dom.js", + "memberof": null, + "longname": "src/dom.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {root} from './root';\nimport {isArray, isString, isUndef} from './types';\nimport {trim} from './string';\n\n/**\n * DOM utilities\n */\n\nconst doc = root.document;\n\n/**\n * Returns text + text of children of given node\n * @param {NodeElement} node\n * @return {String}\n */\nexport const getText = (node) => {\n if (isUndef(node.textContent)) {\n return trim(node.innerText);\n }\n return trim(node.textContent);\n};\n\n/**\n * Returns the first text node contained in the supplied node\n * @param {NodeElement} node node\n * @return {String}\n */\nexport const getFirstTextNode = (node) => {\n for (let i = 0; i < node.childNodes.length; i++) {\n let n = node.childNodes[i];\n if (n.nodeType === 3) {\n return n.data;\n }\n }\n};\n\n/**\n * Creates an html element with given collection of attributes\n * @param {String} tag a string of the html tag to create\n * @param {Array} an undetermined number of arrays containing the with 2\n * items, the attribute name and its value ['id','myId']\n * @return {Object} created element\n */\nexport const createElm = (...args) => {\n let tag = args[0];\n if (!isString(tag)) {\n return null;\n }\n\n let el = doc.createElement(tag);\n for (let i = 0; i < args.length; i++) {\n let arg = args[i];\n\n if (isArray(arg) && arg.length === 2) {\n el.setAttribute(arg[0], arg[1]);\n }\n }\n return el;\n};\n\n/**\n * Removes passed node from DOM\n * @param {DOMElement} node\n * @return {DOMElement} old node reference\n */\nexport const removeElm = (node) => node.parentNode.removeChild(node);\n\n/**\n * Returns a text node with given text\n * @param {String} txt\n * @return {Object}\n */\nexport const createText = (txt) => doc.createTextNode(txt);\n\n/**\n * Determine whether the passed elements is assigned the given class\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n * @returns {Boolean}\n */\nexport const hasClass = (ele, cls) => {\n if (isUndef(ele)) {\n return false;\n }\n\n if (supportsClassList()) {\n return ele.classList.contains(cls);\n }\n return ele.className.match(new RegExp('(\\\\s|^)' + cls + '(\\\\s|$)'));\n};\n\n/**\n * Adds the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n */\nexport const addClass = (ele, cls) => {\n if (isUndef(ele)) {\n return;\n }\n\n if (supportsClassList()) {\n ele.classList.add(cls);\n return;\n }\n\n if (ele.className === '') {\n ele.className = cls;\n }\n else if (!hasClass(ele, cls)) {\n ele.className += ' ' + cls;\n }\n};\n\n/**\n * Removes the specified class to the passed element\n * @param {DOMElement} ele DOM element\n * @param {String} cls CSS class name\n */\nexport const removeClass = (ele, cls) => {\n if (isUndef(ele)) {\n return;\n }\n\n if (supportsClassList()) {\n ele.classList.remove(cls);\n return;\n }\n let reg = new RegExp('(\\\\s|^)' + cls + '(\\\\s|$)', 'g');\n ele.className = ele.className.replace(reg, '');\n};\n\n/**\n * Creates and returns an option element\n * @param {String} text option text\n * @param {String} value option value\n * @param {Boolean} isSel whether option is selected\n * @return {Object} option element\n */\nexport const createOpt = (text, value, isSel) => {\n let isSelected = isSel ? true : false;\n let opt = isSelected ?\n createElm('option', ['value', value], ['selected', 'true']) :\n createElm('option', ['value', value]);\n opt.appendChild(createText(text));\n return opt;\n};\n\n/**\n * Creates and returns a checklist item\n * @param {String} id index of check item\n * @param {String} chkValue check item value\n * @param {String} labelText check item label text\n * @return {Object} li DOM element\n */\nexport const createCheckItem = (id, chkValue, labelText) => {\n let li = createElm('li');\n let label = createElm('label', ['for', id]);\n let check = createElm('input',\n ['id', id],\n ['name', id],\n ['type', 'checkbox'],\n ['value', chkValue]\n );\n label.appendChild(check);\n label.appendChild(createText(labelText));\n li.appendChild(label);\n li.label = label;\n li.check = check;\n return li;\n};\n\n/**\n * Returns the element matching the supplied Id\n * @param {String} id Element identifier\n * @return {DOMElement}\n */\nexport const elm = (id) => doc.getElementById(id);\n\n/**\n * Returns list of element matching the supplied tag name\n * @param {String} tagname Tag name\n * @return {NodeList}\n */\nexport const tag = (o, tagname) => o.getElementsByTagName(tagname);\n\n// HTML5 classList API\nfunction supportsClassList() {\n return doc.documentElement.classList;\n}\n" + }, + { + "__docId__": 25, + "kind": "variable", + "static": true, + "variation": null, + "name": "doc", + "memberof": "src/dom.js", + "longname": "src/dom.js~doc", + "access": null, + "export": false, + "importPath": "tablefilter/src/dom.js", + "importStyle": null, + "description": "DOM utilities", + "lineNumber": 9, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 26, + "kind": "variable", + "static": true, + "variation": null, + "name": "getText", + "memberof": "src/dom.js", + "longname": "src/dom.js~getText", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{getText}", + "description": "Returns text + text of children of given node", + "lineNumber": 16, + "params": [ + { + "nullable": null, + "types": [ + "NodeElement" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 27, + "kind": "variable", + "static": true, + "variation": null, + "name": "getFirstTextNode", + "memberof": "src/dom.js", + "longname": "src/dom.js~getFirstTextNode", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{getFirstTextNode}", + "description": "Returns the first text node contained in the supplied node", + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "NodeElement" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "node" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 28, + "kind": "variable", + "static": true, + "variation": null, + "name": "createElm", + "memberof": "src/dom.js", + "longname": "src/dom.js~createElm", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{createElm}", + "description": "Creates an html element with given collection of attributes", + "lineNumber": 44, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "tag", + "description": "a string of the html tag to create" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "an", + "description": "undetermined number of arrays containing the with 2\n items, the attribute name and its value ['id','myId']" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "created element" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 29, + "kind": "variable", + "static": true, + "variation": null, + "name": "removeElm", + "memberof": "src/dom.js", + "longname": "src/dom.js~removeElm", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{removeElm}", + "description": "Removes passed node from DOM", + "lineNumber": 66, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "old node reference" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 30, + "kind": "variable", + "static": true, + "variation": null, + "name": "createText", + "memberof": "src/dom.js", + "longname": "src/dom.js~createText", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{createText}", + "description": "Returns a text node with given text", + "lineNumber": 73, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "txt", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 31, + "kind": "variable", + "static": true, + "variation": null, + "name": "hasClass", + "memberof": "src/dom.js", + "longname": "src/dom.js~hasClass", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{hasClass}", + "description": "Determine whether the passed elements is assigned the given class", + "lineNumber": 81, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "ele", + "description": "DOM element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cls", + "description": "CSS class name" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 32, + "kind": "variable", + "static": true, + "variation": null, + "name": "addClass", + "memberof": "src/dom.js", + "longname": "src/dom.js~addClass", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{addClass}", + "description": "Adds the specified class to the passed element", + "lineNumber": 97, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "ele", + "description": "DOM element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cls", + "description": "CSS class name" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 33, + "kind": "variable", + "static": true, + "variation": null, + "name": "removeClass", + "memberof": "src/dom.js", + "longname": "src/dom.js~removeClass", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{removeClass}", + "description": "Removes the specified class to the passed element", + "lineNumber": 120, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "ele", + "description": "DOM element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cls", + "description": "CSS class name" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 34, + "kind": "variable", + "static": true, + "variation": null, + "name": "createOpt", + "memberof": "src/dom.js", + "longname": "src/dom.js~createOpt", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{createOpt}", + "description": "Creates and returns an option element", + "lineNumber": 140, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "text", + "description": "option text" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "option value" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isSel", + "description": "whether option is selected" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "option element" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 35, + "kind": "variable", + "static": true, + "variation": null, + "name": "createCheckItem", + "memberof": "src/dom.js", + "longname": "src/dom.js~createCheckItem", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{createCheckItem}", + "description": "Creates and returns a checklist item", + "lineNumber": 156, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "index of check item" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "chkValue", + "description": "check item value" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "labelText", + "description": "check item label text" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "li DOM element" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 36, + "kind": "variable", + "static": true, + "variation": null, + "name": "elm", + "memberof": "src/dom.js", + "longname": "src/dom.js~elm", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{elm}", + "description": "Returns the element matching the supplied Id", + "lineNumber": 178, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "Element identifier" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 37, + "kind": "variable", + "static": true, + "variation": null, + "name": "tag", + "memberof": "src/dom.js", + "longname": "src/dom.js~tag", + "access": null, + "export": true, + "importPath": "tablefilter/src/dom.js", + "importStyle": "{tag}", + "description": "Returns list of element matching the supplied tag name", + "lineNumber": 185, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "tagname", + "description": "Tag name" + } + ], + "return": { + "nullable": null, + "types": [ + "NodeList" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 38, + "kind": "function", + "static": true, + "variation": null, + "name": "supportsClassList", + "memberof": "src/dom.js", + "longname": "src/dom.js~supportsClassList", + "access": null, + "export": false, + "importPath": "tablefilter/src/dom.js", + "importStyle": null, + "description": null, + "lineNumber": 188, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 39, + "kind": "file", + "static": true, + "variation": null, + "name": "src/emitter.js", + "memberof": null, + "longname": "src/emitter.js", + "access": null, + "description": null, + "lineNumber": 4, + "content": "/**\n * Event emitter class\n */\nexport class Emitter {\n /**\n * Creates an instance of Emitter.\n */\n constructor() {\n /**\n * Events object\n * @type {Object}\n */\n this.events = {};\n }\n\n /**\n * Subscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n */\n on(evts, fn) {\n evts.forEach((evt) => {\n this.events[evt] = this.events[evt] || [];\n this.events[evt].push(fn);\n });\n }\n\n /**\n * Unsubscribe to an event\n * @param {Array} evts Collection of event names\n * @param {Function} fn Function invoked when event is emitted\n */\n off(evts, fn) {\n evts.forEach((evt) => {\n if (evt in this.events) {\n this.events[evt].splice(this.events[evt].indexOf(fn), 1);\n }\n });\n }\n\n /**\n * Emit an event\n * @param {String} evt Event name followed by any other argument passed to\n * the invoked function\n */\n emit(evt /*, args...*/) {\n if (evt in this.events) {\n for (let i = 0; i < this.events[evt].length; i++) {\n this.events[evt][i].apply(this, [].slice.call(arguments, 1));\n }\n }\n }\n}\n" + }, + { + "__docId__": 40, + "kind": "class", + "static": true, + "variation": null, + "name": "Emitter", + "memberof": "src/emitter.js", + "longname": "src/emitter.js~Emitter", + "access": null, + "export": true, + "importPath": "tablefilter/src/emitter.js", + "importStyle": "{Emitter}", + "description": "Event emitter class", + "lineNumber": 4, + "interface": false + }, + { + "__docId__": 41, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/emitter.js~Emitter", + "longname": "src/emitter.js~Emitter#constructor", + "access": null, + "description": "Creates an instance of Emitter.", + "lineNumber": 8, + "params": [], + "generator": false + }, + { + "__docId__": 42, + "kind": "member", + "static": false, + "variation": null, + "name": "events", + "memberof": "src/emitter.js~Emitter", + "longname": "src/emitter.js~Emitter#events", + "access": null, + "description": "Events object", + "lineNumber": 13, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 43, + "kind": "method", + "static": false, + "variation": null, + "name": "on", + "memberof": "src/emitter.js~Emitter", + "longname": "src/emitter.js~Emitter#on", + "access": null, + "description": "Subscribe to an event", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "evts", + "description": "Collection of event names" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "Function invoked when event is emitted" + } + ], + "generator": false + }, + { + "__docId__": 44, + "kind": "method", + "static": false, + "variation": null, + "name": "off", + "memberof": "src/emitter.js~Emitter", + "longname": "src/emitter.js~Emitter#off", + "access": null, + "description": "Unsubscribe to an event", + "lineNumber": 33, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "evts", + "description": "Collection of event names" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "Function invoked when event is emitted" + } + ], + "generator": false + }, + { + "__docId__": 45, + "kind": "method", + "static": false, + "variation": null, + "name": "emit", + "memberof": "src/emitter.js~Emitter", + "longname": "src/emitter.js~Emitter#emit", + "access": null, + "description": "Emit an event", + "lineNumber": 46, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "Event name followed by any other argument passed to\nthe invoked function" + } + ], + "generator": false + }, + { + "__docId__": 46, + "kind": "file", + "static": true, + "variation": null, + "name": "src/event.js", + "memberof": null, + "longname": "src/event.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {root} from './root';\n\n/**\n * DOM event utilities\n */\n\n/**\n * Add event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n */\nexport const addEvt = (obj, type, func, capture) => {\n if (obj.addEventListener) {\n obj.addEventListener(type, func, capture);\n }\n else if (obj.attachEvent) {\n obj.attachEvent('on' + type, func);\n } else {\n obj['on' + type] = func;\n }\n};\n\n/**\n * Remove event handler for specified event on passed element\n *\n * @param {DOMElement} obj Element\n * @param {String} type Event type\n * @param {Function} Handler\n * @param {Boolean} capture Specifiy whether the event should be executed in\n * the capturing or in the bubbling phase\n */\nexport const removeEvt = (obj, type, func, capture) => {\n if (obj.removeEventListener) {\n obj.removeEventListener(type, func, capture);\n } else if (obj.detachEvent) {\n obj.detachEvent('on' + type, func);\n } else {\n obj['on' + type] = null;\n }\n};\n\n/**\n * Prevents further propagation of the current event in the bubbling phase\n *\n * @param {Event} evt Event on the DOM\n */\nexport const stopEvt = (evt) => {\n if (!evt) {\n evt = root.event;\n }\n if (evt.stopPropagation) {\n evt.stopPropagation();\n } else {\n evt.cancelBubble = true;\n }\n};\n\n/**\n * Cancels the event if it is cancelable, without stopping further\n * propagation of the event.\n *\n * @param {Event} evt Event on the DOM\n */\nexport const cancelEvt = (evt) => {\n if (!evt) {\n evt = root.event;\n }\n if (evt.preventDefault) {\n evt.preventDefault();\n } else {\n evt.returnValue = false;\n }\n};\n\n/**\n * Reference to the object that dispatched the event\n *\n * @param {Event} evt Event on the DOM\n * @returns {DOMElement}\n */\nexport const targetEvt = (evt) => {\n if (!evt) {\n evt = root.event;\n }\n return evt.target || evt.srcElement;\n};\n\n/**\n * Returns the Unicode value of pressed key\n *\n * @param {Event} evt Event on the DOM\n * @returns {Number}\n */\nexport const keyCode = (evt) => {\n return evt.charCode ? evt.charCode :\n (evt.keyCode ? evt.keyCode : (evt.which ? evt.which : 0));\n};\n" + }, + { + "__docId__": 47, + "kind": "variable", + "static": true, + "variation": null, + "name": "addEvt", + "memberof": "src/event.js", + "longname": "src/event.js~addEvt", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{addEvt}", + "description": "Add event handler for specified event on passed element", + "lineNumber": 16, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "Element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "Event type" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "Handler", + "description": "" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "capture", + "description": "Specifiy whether the event should be executed in\nthe capturing or in the bubbling phase" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 48, + "kind": "variable", + "static": true, + "variation": null, + "name": "removeEvt", + "memberof": "src/event.js", + "longname": "src/event.js~removeEvt", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{removeEvt}", + "description": "Remove event handler for specified event on passed element", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "Element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "Event type" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "Handler", + "description": "" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "capture", + "description": "Specifiy whether the event should be executed in\nthe capturing or in the bubbling phase" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 49, + "kind": "variable", + "static": true, + "variation": null, + "name": "stopEvt", + "memberof": "src/event.js", + "longname": "src/event.js~stopEvt", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{stopEvt}", + "description": "Prevents further propagation of the current event in the bubbling phase", + "lineNumber": 51, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "Event on the DOM" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 50, + "kind": "variable", + "static": true, + "variation": null, + "name": "cancelEvt", + "memberof": "src/event.js", + "longname": "src/event.js~cancelEvt", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{cancelEvt}", + "description": "Cancels the event if it is cancelable, without stopping further\npropagation of the event.", + "lineNumber": 68, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "Event on the DOM" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 51, + "kind": "variable", + "static": true, + "variation": null, + "name": "targetEvt", + "memberof": "src/event.js", + "longname": "src/event.js~targetEvt", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{targetEvt}", + "description": "Reference to the object that dispatched the event", + "lineNumber": 85, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{DOMElement}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "Event on the DOM" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 52, + "kind": "variable", + "static": true, + "variation": null, + "name": "keyCode", + "memberof": "src/event.js", + "longname": "src/event.js~keyCode", + "access": null, + "export": true, + "importPath": "tablefilter/src/event.js", + "importStyle": "{keyCode}", + "description": "Returns the Unicode value of pressed key", + "lineNumber": 98, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "Event on the DOM" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 53, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/advancedGrid/adapterEzEditTable.js", + "memberof": null, + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../../feature';\nimport {tag} from '../../dom';\nimport {INPUT} from '../../const';\nimport {defaultsStr} from '../../settings';\nimport {root} from '../../root';\n\nconst INSTANTIATION_ERROR = `Failed to instantiate EditTable object.\n \\n\"ezEditTable\" dependency not found.`;\n\n/**\n * Adapter module for ezEditTable, an external library providing advanced\n * grid features (selection and edition):\n * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus\n */\nexport default class AdapterEzEditTable extends Feature {\n\n /**\n * Creates an instance of AdapterEzEditTable\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} cfg Configuration options for ezEditTable library\n */\n constructor(tf, cfg) {\n super(tf, cfg.name);\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = defaultsStr(cfg.description, 'ezEditTable adapter');\n\n /**\n * Filename of ezEditTable library\n * @type {String}\n */\n this.filename = defaultsStr(cfg.filename, 'ezEditTable.js');\n\n /**\n * Path to ezEditTable library\n * @type {String}\n */\n this.vendorPath = cfg.vendor_path;\n\n /**\n * Load ezEditTable stylesheet\n * @type {Boolean}\n */\n this.loadStylesheet = Boolean(cfg.load_stylesheet);\n\n /**\n * Path to ezEditTable stylesheet\n * @type {String}\n */\n this.stylesheet = defaultsStr(cfg.stylesheet,\n this.vendorPath + 'ezEditTable.css');\n\n /**\n * Name of ezEditTable stylesheet\n * @type {String}\n */\n this.stylesheetName = defaultsStr(cfg.stylesheet_name,\n 'ezEditTableCss');\n\n // Enable the ezEditTable's scroll into view behaviour if grid layout on\n cfg.scroll_into_view = cfg.scroll_into_view === false ?\n false : tf.gridLayout;\n\n /**\n * ezEditTable instance\n * @type {EditTable}\n * @private\n */\n this._ezEditTable = null;\n\n /**\n * ezEditTable configuration\n * @private\n */\n this.cfg = cfg;\n\n this.enable();\n }\n\n /**\n * Conditionally load ezEditTable library and set advanced grid\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n if (root.EditTable) {\n this._setAdvancedGrid();\n } else {\n let path = this.vendorPath + this.filename;\n tf.import(this.filename, path, () => this._setAdvancedGrid());\n }\n if (this.loadStylesheet && !tf.isImported(this.stylesheet, 'link')) {\n tf.import(this.stylesheetName, this.stylesheet, null, 'link');\n }\n\n // TODO: hack to prevent ezEditTable enter key event hijaking.\n // Needs to be fixed in the vendor's library\n this.emitter.on(['filter-focus', 'filter-blur'],\n () => this._toggleForInputFilter());\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Instantiate ezEditTable component for advanced grid features\n * @private\n */\n _setAdvancedGrid() {\n let tf = this.tf;\n\n //start row for EditTable constructor needs to be calculated\n let startRow,\n cfg = this.cfg,\n thead = tag(tf.dom(), 'thead');\n\n //if thead exists and startRow not specified, startRow is calculated\n //automatically by EditTable\n if (thead.length > 0 && !cfg.startRow) {\n startRow = undefined;\n }\n //otherwise startRow config property if any or TableFilter refRow\n else {\n startRow = cfg.startRow || tf.refRow;\n }\n\n cfg.base_path = cfg.base_path || tf.basePath + 'ezEditTable/';\n let editable = cfg.editable;\n let selectable = cfg.selection;\n\n if (selectable) {\n cfg.default_selection = cfg.default_selection || 'row';\n }\n //CSS Styles\n cfg.active_cell_css = cfg.active_cell_css || 'ezETSelectedCell';\n\n let _lastValidRowIndex = 0;\n let _lastRowIndex = 0;\n\n if (selectable) {\n //Row navigation needs to be calculated according to TableFilter's\n //validRowsIndex array\n let onAfterSelection = function (et, selectedElm, e) {\n let slc = et.Selection;\n //Next valid filtered row needs to be selected\n let doSelect = function (nextRowIndex) {\n if (et.defaultSelection === 'row') {\n /* eslint-disable */\n slc.SelectRowByIndex(nextRowIndex);\n /* eslint-enable */\n } else {\n /* eslint-disable */\n et.ClearSelections();\n /* eslint-enable */\n let cellIndex = selectedElm.cellIndex,\n row = tf.dom().rows[nextRowIndex];\n if (et.defaultSelection === 'both') {\n /* eslint-disable */\n slc.SelectRowByIndex(nextRowIndex);\n /* eslint-enable */\n }\n if (row) {\n /* eslint-disable */\n slc.SelectCell(row.cells[cellIndex]);\n /* eslint-enable */\n }\n }\n //Table is filtered\n if (tf.validRowsIndex.length !== tf.getRowsNb()) {\n let r = tf.dom().rows[nextRowIndex];\n if (r) {\n r.scrollIntoView(false);\n }\n if (cell) {\n if (cell.cellIndex === (tf.getCellsNb() - 1) &&\n tf.gridLayout) {\n tf.tblCont.scrollLeft = 100000000;\n }\n else if (cell.cellIndex === 0 && tf.gridLayout) {\n tf.tblCont.scrollLeft = 0;\n } else {\n cell.scrollIntoView(false);\n }\n }\n }\n };\n\n //table is not filtered\n if (!tf.validRowsIndex) {\n return;\n }\n let validIndexes = tf.validRowsIndex,\n validIdxLen = validIndexes.length,\n row = et.defaultSelection !== 'row' ?\n selectedElm.parentNode : selectedElm,\n //cell for default_selection = 'both' or 'cell'\n cell = selectedElm.nodeName === 'TD' ? selectedElm : null,\n /* eslint-disable */\n keyCode = e !== undefined ? et.Event.GetKey(e) : 0,\n /* eslint-enable */\n isRowValid = validIndexes.indexOf(row.rowIndex) !== -1,\n nextRowIndex,\n paging = tf.feature('paging'),\n //pgup/pgdown keys\n d = keyCode === 34 || keyCode === 33 ?\n (paging && paging.pageLength || et.nbRowsPerPage) :\n 1;\n\n //If next row is not valid, next valid filtered row needs to be\n //calculated\n if (!isRowValid) {\n //Selection direction up/down\n if (row.rowIndex > _lastRowIndex) {\n //last row\n if (row.rowIndex >= validIndexes[validIdxLen - 1]) {\n nextRowIndex = validIndexes[validIdxLen - 1];\n } else {\n let calcRowIndex = (_lastValidRowIndex + d);\n if (calcRowIndex > (validIdxLen - 1)) {\n nextRowIndex = validIndexes[validIdxLen - 1];\n } else {\n nextRowIndex = validIndexes[calcRowIndex];\n }\n }\n } else {\n //first row\n if (row.rowIndex <= validIndexes[0]) {\n nextRowIndex = validIndexes[0];\n } else {\n let v = validIndexes[_lastValidRowIndex - d];\n nextRowIndex = v ? v : validIndexes[0];\n }\n }\n _lastRowIndex = row.rowIndex;\n doSelect(nextRowIndex);\n } else {\n //If filtered row is valid, special calculation for\n //pgup/pgdown keys\n if (keyCode !== 34 && keyCode !== 33) {\n _lastValidRowIndex = validIndexes.indexOf(row.rowIndex);\n _lastRowIndex = row.rowIndex;\n } else {\n if (keyCode === 34) { //pgdown\n //last row\n if ((_lastValidRowIndex + d) <= (validIdxLen - 1)) {\n nextRowIndex = validIndexes[\n _lastValidRowIndex + d];\n } else {\n nextRowIndex = [validIdxLen - 1];\n }\n } else { //pgup\n //first row\n if ((_lastValidRowIndex - d) <= validIndexes[0]) {\n nextRowIndex = validIndexes[0];\n } else {\n nextRowIndex = validIndexes[\n _lastValidRowIndex - d];\n }\n }\n _lastRowIndex = nextRowIndex;\n _lastValidRowIndex = validIndexes.indexOf(nextRowIndex);\n doSelect(nextRowIndex);\n }\n }\n };\n\n //Page navigation has to be enforced whenever selected row is out of\n //the current page range\n let onBeforeSelection = function (et, selectedElm) {\n let row = et.defaultSelection !== 'row' ?\n selectedElm.parentNode : selectedElm;\n if (tf.paging) {\n if (tf.feature('paging').nbPages > 1) {\n let paging = tf.feature('paging');\n //page length is re-assigned in case it has changed\n et.nbRowsPerPage = paging.pageLength;\n let validIndexes = tf.validRowsIndex,\n validIdxLen = validIndexes.length,\n pagingEndRow = parseInt(paging.startPagingRow, 10) +\n parseInt(paging.pageLength, 10);\n let rowIndex = row.rowIndex;\n\n if ((rowIndex === validIndexes[validIdxLen - 1]) &&\n paging.currentPageNb !== paging.nbPages) {\n paging.setPage('last');\n }\n else if ((rowIndex === validIndexes[0]) &&\n paging.currentPageNb !== 1) {\n paging.setPage('first');\n }\n else if (rowIndex > validIndexes[pagingEndRow - 1] &&\n rowIndex < validIndexes[validIdxLen - 1]) {\n paging.setPage('next');\n }\n else if (\n rowIndex < validIndexes[paging.startPagingRow] &&\n rowIndex > validIndexes[0]) {\n paging.setPage('previous');\n }\n }\n }\n };\n\n //Selected row needs to be visible when paging is activated\n if (tf.paging) {\n tf.feature('paging').onAfterChangePage = function (paging) {\n let advGrid = paging.tf.extension('advancedGrid');\n let et = advGrid._ezEditTable;\n let slc = et.Selection;\n /* eslint-disable */\n let row = slc.GetActiveRow();\n /* eslint-enable */\n if (row) {\n row.scrollIntoView(false);\n }\n /* eslint-disable */\n let cell = slc.GetActiveCell();\n /* eslint-enable */\n if (cell) {\n cell.scrollIntoView(false);\n }\n };\n }\n\n //Rows navigation when rows are filtered is performed with the\n //EditTable row selection callback events\n if (cfg.default_selection === 'row') {\n let fnB = cfg.on_before_selected_row;\n cfg.on_before_selected_row = function () {\n var args = arguments;\n onBeforeSelection(args[0], args[1], args[2]);\n if (fnB) {\n fnB.call(null, args[0], args[1], args[2]);\n }\n };\n let fnA = cfg.on_after_selected_row;\n cfg.on_after_selected_row = function () {\n var args = arguments;\n onAfterSelection(args[0], args[1], args[2]);\n if (fnA) {\n fnA.call(null, args[0], args[1], args[2]);\n }\n };\n } else {\n let fnD = cfg.on_before_selected_cell;\n cfg.on_before_selected_cell = function () {\n var args = arguments;\n onBeforeSelection(args[0], args[1], args[2]);\n if (fnD) {\n fnD.call(null, args[0], args[1], args[2]);\n }\n };\n let fnC = cfg.on_after_selected_cell;\n cfg.on_after_selected_cell = function () {\n var args = arguments;\n onAfterSelection(args[0], args[1], args[2]);\n if (fnC) {\n fnC.call(null, args[0], args[1], args[2]);\n }\n };\n }\n }\n if (editable) {\n //Added or removed rows, TF rows number needs to be re-calculated\n let fnE = cfg.on_added_dom_row;\n cfg.on_added_dom_row = function () {\n var args = arguments;\n tf.nbFilterableRows++;\n if (!tf.paging) {\n tf.emitter.emit('rows-changed', tf, this);\n } else {\n tf.nbFilterableRows++;\n tf.paging = false;\n tf.feature('paging').destroy();\n tf.feature('paging').reset();\n }\n if (tf.alternateRows) {\n tf.feature('alternateRows').init();\n }\n if (fnE) {\n fnE.call(null, args[0], args[1], args[2]);\n }\n };\n if (cfg.actions && cfg.actions['delete']) {\n let fnF = cfg.actions['delete'].on_after_submit;\n cfg.actions['delete'].on_after_submit = function () {\n var args = arguments;\n tf.nbFilterableRows--;\n if (!tf.paging) {\n tf.emitter.emit('rows-changed', tf, this);\n } else {\n tf.nbFilterableRows--;\n tf.paging = false;\n tf.feature('paging').destroy();\n tf.feature('paging').reset(false);\n }\n if (tf.alternateRows) {\n tf.feature('alternateRows').init();\n }\n if (fnF) {\n fnF.call(null, args[0], args[1]);\n }\n };\n }\n }\n\n try {\n /* eslint-disable */\n this._ezEditTable = new EditTable(tf.id, cfg, startRow);\n this._ezEditTable.Init();\n /* eslint-enable */\n } catch (e) { throw new Error(INSTANTIATION_ERROR); }\n\n this.initialized = true;\n }\n\n /**\n * Reset advanced grid when previously removed\n */\n reset() {\n let ezEditTable = this._ezEditTable;\n if (ezEditTable) {\n if (this.cfg.selection) {\n /* eslint-disable */\n ezEditTable.Selection.Set();\n /* eslint-enable */\n }\n if (this.cfg.editable) {\n /* eslint-disable */\n ezEditTable.Editable.Set();\n /* eslint-enable */\n }\n }\n }\n\n /**\n * Toggle behaviour\n */\n toggle() {\n let ezEditTable = this._ezEditTable;\n if (ezEditTable.editable) {\n /* eslint-disable */\n ezEditTable.Editable.Remove();\n /* eslint-enable */\n } else {\n /* eslint-disable */\n ezEditTable.Editable.Set();\n /* eslint-enable */\n }\n if (ezEditTable.selection) {\n /* eslint-disable */\n ezEditTable.Selection.Remove();\n /* eslint-enable */\n } else {\n /* eslint-disable */\n ezEditTable.Selection.Set();\n /* eslint-enable */\n }\n }\n\n _toggleForInputFilter() {\n let tf = this.tf;\n if (!tf.getActiveFilterId()) {\n return;\n }\n let colIndex = tf.getColumnIndexFromFilterId(tf.getActiveFilterId());\n let filterType = tf.getFilterType(colIndex);\n if (filterType === INPUT) {\n this.toggle();\n }\n }\n\n /**\n * Remove advanced grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let ezEditTable = this._ezEditTable;\n if (ezEditTable) {\n if (this.cfg.selection) {\n /* eslint-disable */\n ezEditTable.Selection.ClearSelections();\n ezEditTable.Selection.Remove();\n /* eslint-enable */\n }\n if (this.cfg.editable) {\n /* eslint-disable */\n ezEditTable.Editable.Remove();\n /* eslint-enable */\n }\n }\n\n this.emitter.off(['filter-focus', 'filter-blur'],\n () => this._toggleForInputFilter());\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 54, + "kind": "variable", + "static": true, + "variation": null, + "name": "INSTANTIATION_ERROR", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~INSTANTIATION_ERROR", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/advancedGrid/adapterEzEditTable.js", + "importStyle": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 55, + "kind": "class", + "static": true, + "variation": null, + "name": "AdapterEzEditTable", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "access": null, + "export": true, + "importPath": "tablefilter/src/extensions/advancedGrid/adapterEzEditTable.js", + "importStyle": "AdapterEzEditTable", + "description": "Adapter module for ezEditTable, an external library providing advanced\ngrid features (selection and edition):\nhttp://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus", + "lineNumber": 15, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 56, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#constructor", + "access": null, + "description": "Creates an instance of AdapterEzEditTable", + "lineNumber": 23, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "cfg", + "description": "Configuration options for ezEditTable library" + } + ], + "generator": false + }, + { + "__docId__": 57, + "kind": "member", + "static": false, + "variation": null, + "name": "desc", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#desc", + "access": null, + "description": "Module description", + "lineNumber": 30, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 58, + "kind": "member", + "static": false, + "variation": null, + "name": "filename", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#filename", + "access": null, + "description": "Filename of ezEditTable library", + "lineNumber": 36, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 59, + "kind": "member", + "static": false, + "variation": null, + "name": "vendorPath", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#vendorPath", + "access": null, + "description": "Path to ezEditTable library", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 60, + "kind": "member", + "static": false, + "variation": null, + "name": "loadStylesheet", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#loadStylesheet", + "access": null, + "description": "Load ezEditTable stylesheet", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 61, + "kind": "member", + "static": false, + "variation": null, + "name": "stylesheet", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#stylesheet", + "access": null, + "description": "Path to ezEditTable stylesheet", + "lineNumber": 54, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 62, + "kind": "member", + "static": false, + "variation": null, + "name": "stylesheetName", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#stylesheetName", + "access": null, + "description": "Name of ezEditTable stylesheet", + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 63, + "kind": "member", + "static": false, + "variation": null, + "name": "_ezEditTable", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#_ezEditTable", + "access": "private", + "description": "ezEditTable instance", + "lineNumber": 73, + "type": { + "nullable": null, + "types": [ + "EditTable" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 64, + "kind": "member", + "static": false, + "variation": null, + "name": "cfg", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#cfg", + "access": "private", + "description": "ezEditTable configuration", + "lineNumber": 79, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 65, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#init", + "access": null, + "description": "Conditionally load ezEditTable library and set advanced grid", + "lineNumber": 87, + "params": [], + "generator": false + }, + { + "__docId__": 66, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#initialized", + "access": null, + "description": "", + "lineNumber": 110, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 67, + "kind": "method", + "static": false, + "variation": null, + "name": "_setAdvancedGrid", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#_setAdvancedGrid", + "access": "private", + "description": "Instantiate ezEditTable component for advanced grid features", + "lineNumber": 117, + "params": [], + "generator": false + }, + { + "__docId__": 68, + "kind": "member", + "static": false, + "variation": null, + "name": "_ezEditTable", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#_ezEditTable", + "access": null, + "description": null, + "lineNumber": 417, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 69, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#initialized", + "access": null, + "description": null, + "lineNumber": 422, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 70, + "kind": "method", + "static": false, + "variation": null, + "name": "reset", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#reset", + "access": null, + "description": "Reset advanced grid when previously removed", + "lineNumber": 428, + "params": [], + "generator": false + }, + { + "__docId__": 71, + "kind": "method", + "static": false, + "variation": null, + "name": "toggle", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#toggle", + "access": null, + "description": "Toggle behaviour", + "lineNumber": 447, + "params": [], + "generator": false + }, + { + "__docId__": 72, + "kind": "method", + "static": false, + "variation": null, + "name": "_toggleForInputFilter", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#_toggleForInputFilter", + "access": null, + "description": null, + "lineNumber": 469, + "undocument": true, + "params": [], + "generator": false + }, + { + "__docId__": 73, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#destroy", + "access": null, + "description": "Remove advanced grid", + "lineNumber": 484, + "params": [], + "generator": false + }, + { + "__docId__": 74, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable", + "longname": "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#initialized", + "access": null, + "description": null, + "lineNumber": 505, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 75, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/advancedGrid/advancedGrid.js", + "memberof": null, + "longname": "src/extensions/advancedGrid/advancedGrid.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import AdapterEzEditTable from './adapterEzEditTable';\n\nexport default AdapterEzEditTable;" + }, + { + "__docId__": 76, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/colOps/colOps.js", + "memberof": null, + "longname": "src/extensions/colOps/colOps.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../../feature';\nimport {createText, elm} from '../../dom';\nimport {isArray, isEmpty, EMPTY_FN} from '../../types';\nimport {numSortAsc} from '../../sort';\nimport {FORMATTED_NUMBER} from '../../const';\nimport formatNumber from 'format-number';\nimport {defaultsFn, defaultsArr} from '../../settings';\n\nconst EVENTS = [\n 'after-filtering',\n 'after-page-change',\n 'after-page-length-change'\n];\n\nconst SUM = 'sum';\nconst MEAN = 'mean';\nconst MIN = 'min';\nconst MAX = 'max';\nconst MEDIAN = 'median';\nconst Q1 = 'q1';\nconst Q3 = 'q3';\n\n/**\n * Column calculations extension\n */\nexport default class ColOps extends Feature {\n\n /**\n * Creates an instance of ColOps\n *\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n */\n constructor(tf, opts) {\n super(tf, opts.name);\n\n /**\n * Callback fired before columns operations start\n * @type {Function}\n */\n this.onBeforeOperation = defaultsFn(opts.on_before_operation, EMPTY_FN);\n\n /**\n * Callback fired after columns operations are completed\n * @type {Function}\n */\n this.onAfterOperation = defaultsFn(opts.on_after_operation, EMPTY_FN);\n\n /**\n * Configuration options\n * @type {Object}\n */\n this.opts = opts;\n\n /**\n * List of DOM element IDs containing column's calculation result\n * @type {Array}\n */\n this.labelIds = defaultsArr(opts.id, []);\n\n /**\n * List of columns' indexes for calculations\n * @type {Array}\n */\n this.colIndexes = defaultsArr(opts.col, []);\n\n /**\n * List of operations - possible values: 'sum', 'mean', 'min', 'max',\n * 'median', 'q1', 'q3'\n * @type {Array}\n */\n this.operations = defaultsArr(opts.operation, []);\n\n /**\n * List of write methods used to write the result - possible values:\n * 'innerHTML', 'setValue', 'createTextNode'\n * @type {Array}\n */\n this.outputTypes = defaultsArr(opts.write_method, []);\n\n /**\n * List of format objects used for formatting the result -\n * refer to https://github.com/componitable/format-number to check\n * configuration options\n * @type {Array}\n */\n this.formatResults = defaultsArr(opts.format_result, []);\n\n /**\n * List of row indexes displaying the results\n * @type {Array}\n */\n this.totRowIndexes = defaultsArr(opts.tot_row_index, []);\n\n /**\n * List of row indexes excluded from calculations\n * @type {Array}\n */\n this.excludeRows = defaultsArr(opts.exclude_row, []);\n\n /**\n * List of decimal precision for calculation results\n * @type {Array}\n */\n this.decimalPrecisions = defaultsArr(opts.decimal_precision, 2);\n\n this.enable();\n }\n\n /**\n * Initializes ColOps instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n // subscribe to events\n this.emitter.on(EVENTS, () => this.calcAll());\n\n this.calcAll();\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Calculates columns' values\n * Configuration options are stored in 'opts' property\n * - 'id' contains ids of elements showing result (array)\n * - 'col' contains the columns' indexes (array)\n * - 'operation' contains operation type (array, values: 'sum', 'mean',\n * 'min', 'max', 'median', 'q1', 'q3')\n * - 'write_method' array defines which method to use for displaying the\n * result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\n * - 'tot_row_index' defines in which row results are displayed\n * (integers array)\n *\n * - changes made by Nuovella:\n * (1) optimized the routine (now it will only process each column once),\n * (2) added calculations for the median, lower and upper quartile.\n */\n calcAll() {\n let tf = this.tf;\n if (!tf.isInitialized()) {\n return;\n }\n\n this.onBeforeOperation(tf, this);\n this.emitter.emit('before-column-operation', tf, this);\n\n let { colIndexes, operations: colOperations, outputTypes,\n totRowIndexes, excludeRows, formatResults,\n decimalPrecisions } = this;\n\n //nuovella: determine unique list of columns to operate on\n let uIndexes = [];\n colIndexes.forEach((val) => {\n if (uIndexes.indexOf(val) === -1) {\n uIndexes.push(val);\n }\n });\n\n let nbCols = uIndexes.length,\n rows = tf.dom().rows,\n colValues = [];\n\n for (let u = 0; u < nbCols; u++) {\n //this retrieves col values\n //use uIndexes because we only want to pass through this loop\n //once for each column get the values in this unique column\n colValues.push(\n tf.getVisibleColumnData(uIndexes[u], false, excludeRows)\n );\n\n let curValues = colValues[u];\n\n //next: calculate all operations for this column\n let result = 0,\n operations = [],\n precisions = [],\n labels = [],\n writeType,\n formatResult = [],\n idx = 0;\n\n for (let k = 0; k < colIndexes.length; k++) {\n if (colIndexes[k] !== uIndexes[u]) {\n continue;\n }\n operations[idx] = (colOperations[k] || 'sum').toLowerCase();\n precisions[idx] = decimalPrecisions[k];\n labels[idx] = this.labelIds[k];\n writeType = isArray(outputTypes) ? outputTypes[k] : null;\n formatResult[idx] =\n this.configureFormat(uIndexes[u], formatResults[k]);\n idx++;\n }\n\n for (let i = 0; i < idx; i++) {\n // emit values before column calculation\n this.emitter.emit(\n 'before-column-calc',\n tf,\n this,\n uIndexes[u],\n curValues,\n operations[i],\n precisions[i]\n );\n\n result = Number(this.calc(curValues, operations[i], null));\n\n // emit column calculation result\n this.emitter.emit(\n 'column-calc',\n tf,\n this,\n uIndexes[u],\n result,\n operations[i],\n precisions[i]\n );\n\n // write result in expected DOM element\n this.writeResult(\n result,\n labels[i],\n writeType,\n precisions[i],\n formatResult[i]\n );\n\n }//for i\n\n // row(s) with result are always visible\n let totRow = totRowIndexes && totRowIndexes[u] ?\n rows[totRowIndexes[u]] : null;\n if (totRow) {\n totRow.style.display = '';\n }\n }//for u\n\n this.onAfterOperation(tf, this);\n this.emitter.emit('after-column-operation', tf, this);\n }\n\n /**\n * Make desired calculation on specified column.\n * @param {Number} colIndex Column index\n * @param {String} [operation=SUM] Operation type\n * @param {Number} precision Decimal precision\n * @returns {Number}\n */\n columnCalc(colIndex, operation = SUM, precision) {\n let excludeRows = this.excludeRows || [];\n let colValues = tf.getVisibleColumnData(colIndex, false, excludeRows);\n\n return Number(this.calc(colValues, operation, precision));\n }\n\n /**\n * Make calculation on passed values.\n * @param {Array} values List of values\n * @param {String} [operation=SUM] Optional operation type\n * @param {Number} precision Optional result precision\n * @returns {Number}\n * @private\n */\n calc(colValues, operation = SUM, precision) {\n let result = 0;\n\n if (operation === Q1 || operation === Q3 || operation === MEDIAN) {\n colValues = this.sortColumnValues(colValues, numSortAsc);\n }\n\n switch (operation) {\n case MEAN:\n result = this.calcMean(colValues);\n break;\n case SUM:\n result = this.calcSum(colValues);\n break;\n case MIN:\n result = this.calcMin(colValues);\n break;\n case MAX:\n result = this.calcMax(colValues);\n break;\n case MEDIAN:\n result = this.calcMedian(colValues);\n break;\n case Q1:\n result = this.calcQ1(colValues);\n break;\n case Q3:\n result = this.calcQ3(colValues);\n break;\n }\n\n return isEmpty(precision) ? result : result.toFixed(precision);\n }\n\n /**\n * Calculate the sum of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcSum(values = []) {\n if (isEmpty(values)) {\n return 0;\n }\n let result = values.reduce((x, y) => Number(x) + Number(y));\n return result;\n }\n\n /**\n * Calculate the mean of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcMean(values = []) {\n let result = this.calcSum(values) / values.length;\n return Number(result);\n }\n\n /**\n * Calculate the max value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcMax(values = []) {\n return Math.max.apply(null, values);\n }\n\n /**\n * Calculate the min value of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcMin(values = []) {\n return Math.min.apply(null, values);\n }\n\n /**\n * Calculate the median of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcMedian(values = []) {\n let nbValues = values.length;\n let aux = 0;\n if (nbValues % 2 === 1) {\n aux = Math.floor(nbValues / 2);\n return Number(values[aux]);\n }\n return (Number(values[nbValues / 2]) +\n Number(values[((nbValues / 2) - 1)])) / 2;\n }\n\n /**\n * Calculate the lower quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcQ1(values = []) {\n let nbValues = values.length;\n let posa = 0.0;\n posa = Math.floor(nbValues / 4);\n if (4 * posa === nbValues) {\n return (Number(values[posa - 1]) +\n Number(values[posa])) / 2;\n }\n return Number(values[posa]);\n }\n\n /**\n * Calculate the upper quartile of passed values.\n * @param {Array} [values=[]] List of values\n * @returns {Number}\n */\n calcQ3(values = []) {\n let nbValues = values.length;\n let posa = 0.0;\n let posb = 0.0;\n posa = Math.floor(nbValues / 4);\n if (4 * posa === nbValues) {\n posb = 3 * posa;\n return (Number(values[posb]) +\n Number(values[posb - 1])) / 2;\n }\n return Number(values[nbValues - posa - 1]);\n }\n\n /**\n * Sort passed values with supplied sorter function.\n * @param {Array} [values=[]] List of values to be sorted\n * @param {Function} sorter Sorter function\n * @returns {Array}\n */\n sortColumnValues(values = [], sorter) {\n return values.sort(sorter);\n }\n\n /**\n * Write calculation result in passed DOM element with supplied write method\n * and decimal precision.\n * @param {Number} [result=0] Calculation result\n * @param {DOMElement} label DOM element\n * @param {String} [writeType='innerhtml'] Write method\n * @param {Number} [precision=2] Applied decimal precision\n * @private\n */\n writeResult(result = 0, label, writeType = 'innerhtml',\n precision = 2, format = {}) {\n let labelElm = elm(label);\n\n if (!labelElm) {\n return;\n }\n\n result = result.toFixed(precision);\n if (isNaN(result) || !isFinite(result)) {\n result = '';\n } else {\n result = formatNumber(format)(result);\n }\n\n switch (writeType.toLowerCase()) {\n case 'innerhtml':\n labelElm.innerHTML = result;\n break;\n case 'setvalue':\n labelElm.value = result;\n break;\n case 'createtextnode':\n let oldNode = labelElm.firstChild;\n let txtNode = createText(result);\n labelElm.replaceChild(txtNode, oldNode);\n break;\n }\n }\n\n /**\n * Configure the format options used to format the operation result based\n * on column type.\n * @param {Number} colIndex Column index\n * @param {Object} [format={}] Format object\n * @returns {Object}\n * @private\n */\n configureFormat(colIndex, format = {}) {\n let tf = this.tf;\n if (tf.hasType(colIndex, [FORMATTED_NUMBER])) {\n let colType = tf.colTypes[colIndex];\n if (colType.decimal && !format.decimal) {\n format.decimal = colType.decimal;\n }\n if (colType.thousands && !format.integerSeparator) {\n format.integerSeparator = colType.thousands;\n }\n } else {\n format.decimal = format.decimal || '';\n format.integerSeparator = format.integerSeparator || '';\n }\n return format;\n }\n\n /** Remove extension */\n destroy() {\n if (!this.initialized) {\n return;\n }\n // unsubscribe to events\n this.emitter.off(EVENTS, () => this.calcAll());\n\n this.initialized = false;\n }\n\n}\n" + }, + { + "__docId__": 77, + "kind": "variable", + "static": true, + "variation": null, + "name": "EVENTS", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~EVENTS", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 9, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 78, + "kind": "variable", + "static": true, + "variation": null, + "name": "SUM", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~SUM", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 15, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 79, + "kind": "variable", + "static": true, + "variation": null, + "name": "MEAN", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~MEAN", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 16, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 80, + "kind": "variable", + "static": true, + "variation": null, + "name": "MIN", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~MIN", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 17, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 81, + "kind": "variable", + "static": true, + "variation": null, + "name": "MAX", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~MAX", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 18, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 82, + "kind": "variable", + "static": true, + "variation": null, + "name": "MEDIAN", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~MEDIAN", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 19, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 83, + "kind": "variable", + "static": true, + "variation": null, + "name": "Q1", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~Q1", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 20, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 84, + "kind": "variable", + "static": true, + "variation": null, + "name": "Q3", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~Q3", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": null, + "description": null, + "lineNumber": 21, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 85, + "kind": "class", + "static": true, + "variation": null, + "name": "ColOps", + "memberof": "src/extensions/colOps/colOps.js", + "longname": "src/extensions/colOps/colOps.js~ColOps", + "access": null, + "export": true, + "importPath": "tablefilter/src/extensions/colOps/colOps.js", + "importStyle": "ColOps", + "description": "Column calculations extension", + "lineNumber": 26, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 86, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#constructor", + "access": null, + "description": "Creates an instance of ColOps", + "lineNumber": 34, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "opts", + "description": "Configuration object" + } + ], + "generator": false + }, + { + "__docId__": 87, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeOperation", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#onBeforeOperation", + "access": null, + "description": "Callback fired before columns operations start", + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 88, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterOperation", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#onAfterOperation", + "access": null, + "description": "Callback fired after columns operations are completed", + "lineNumber": 47, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 89, + "kind": "member", + "static": false, + "variation": null, + "name": "opts", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#opts", + "access": null, + "description": "Configuration options", + "lineNumber": 53, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 90, + "kind": "member", + "static": false, + "variation": null, + "name": "labelIds", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#labelIds", + "access": null, + "description": "List of DOM element IDs containing column's calculation result", + "lineNumber": 59, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 91, + "kind": "member", + "static": false, + "variation": null, + "name": "colIndexes", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#colIndexes", + "access": null, + "description": "List of columns' indexes for calculations", + "lineNumber": 65, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 92, + "kind": "member", + "static": false, + "variation": null, + "name": "operations", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#operations", + "access": null, + "description": "List of operations - possible values: 'sum', 'mean', 'min', 'max',\n'median', 'q1', 'q3'", + "lineNumber": 72, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 93, + "kind": "member", + "static": false, + "variation": null, + "name": "outputTypes", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#outputTypes", + "access": null, + "description": "List of write methods used to write the result - possible values:\n'innerHTML', 'setValue', 'createTextNode'", + "lineNumber": 79, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 94, + "kind": "member", + "static": false, + "variation": null, + "name": "formatResults", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#formatResults", + "access": null, + "description": "List of format objects used for formatting the result -\nrefer to https://github.com/componitable/format-number to check\nconfiguration options", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 95, + "kind": "member", + "static": false, + "variation": null, + "name": "totRowIndexes", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#totRowIndexes", + "access": null, + "description": "List of row indexes displaying the results", + "lineNumber": 93, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 96, + "kind": "member", + "static": false, + "variation": null, + "name": "excludeRows", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#excludeRows", + "access": null, + "description": "List of row indexes excluded from calculations", + "lineNumber": 99, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 97, + "kind": "member", + "static": false, + "variation": null, + "name": "decimalPrecisions", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#decimalPrecisions", + "access": null, + "description": "List of decimal precision for calculation results", + "lineNumber": 105, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 98, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#init", + "access": null, + "description": "Initializes ColOps instance", + "lineNumber": 113, + "params": [], + "generator": false + }, + { + "__docId__": 99, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#initialized", + "access": null, + "description": null, + "lineNumber": 123, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 100, + "kind": "method", + "static": false, + "variation": null, + "name": "calcAll", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcAll", + "access": null, + "description": "Calculates columns' values\nConfiguration options are stored in 'opts' property\n- 'id' contains ids of elements showing result (array)\n- 'col' contains the columns' indexes (array)\n- 'operation' contains operation type (array, values: 'sum', 'mean',\n 'min', 'max', 'median', 'q1', 'q3')\n- 'write_method' array defines which method to use for displaying the\n result (innerHTML, setValue, createTextNode) - default: 'innerHTML'\n- 'tot_row_index' defines in which row results are displayed\n (integers array)\n\n- changes made by Nuovella:\n(1) optimized the routine (now it will only process each column once),\n(2) added calculations for the median, lower and upper quartile.", + "lineNumber": 142, + "params": [], + "generator": false + }, + { + "__docId__": 101, + "kind": "method", + "static": false, + "variation": null, + "name": "columnCalc", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#columnCalc", + "access": null, + "description": "Make desired calculation on specified column.", + "lineNumber": 254, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "SUM", + "defaultRaw": "SUM", + "name": "operation", + "description": "Operation type" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "precision", + "description": "Decimal precision" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 102, + "kind": "method", + "static": false, + "variation": null, + "name": "calc", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calc", + "access": "private", + "description": "Make calculation on passed values.", + "lineNumber": 269, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "values", + "description": "List of values" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "SUM", + "defaultRaw": "SUM", + "name": "operation", + "description": "Optional operation type" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "precision", + "description": "Optional result precision" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 103, + "kind": "method", + "static": false, + "variation": null, + "name": "calcSum", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcSum", + "access": null, + "description": "Calculate the sum of passed values.", + "lineNumber": 308, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 104, + "kind": "method", + "static": false, + "variation": null, + "name": "calcMean", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcMean", + "access": null, + "description": "Calculate the mean of passed values.", + "lineNumber": 321, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 105, + "kind": "method", + "static": false, + "variation": null, + "name": "calcMax", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcMax", + "access": null, + "description": "Calculate the max value of passed values.", + "lineNumber": 331, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 106, + "kind": "method", + "static": false, + "variation": null, + "name": "calcMin", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcMin", + "access": null, + "description": "Calculate the min value of passed values.", + "lineNumber": 340, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 107, + "kind": "method", + "static": false, + "variation": null, + "name": "calcMedian", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcMedian", + "access": null, + "description": "Calculate the median of passed values.", + "lineNumber": 349, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 108, + "kind": "method", + "static": false, + "variation": null, + "name": "calcQ1", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcQ1", + "access": null, + "description": "Calculate the lower quartile of passed values.", + "lineNumber": 365, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 109, + "kind": "method", + "static": false, + "variation": null, + "name": "calcQ3", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#calcQ3", + "access": null, + "description": "Calculate the upper quartile of passed values.", + "lineNumber": 381, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 110, + "kind": "method", + "static": false, + "variation": null, + "name": "sortColumnValues", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#sortColumnValues", + "access": null, + "description": "Sort passed values with supplied sorter function.", + "lineNumber": 400, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Array}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "values", + "description": "List of values to be sorted" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "sorter", + "description": "Sorter function" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 111, + "kind": "method", + "static": false, + "variation": null, + "name": "writeResult", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#writeResult", + "access": "private", + "description": "Write calculation result in passed DOM element with supplied write method\nand decimal precision.", + "lineNumber": 413, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": "0", + "defaultRaw": 0, + "name": "result", + "description": "Calculation result" + }, + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "label", + "description": "DOM element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "'innerhtml'", + "defaultRaw": "'innerhtml'", + "name": "writeType", + "description": "Write method" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": "2", + "defaultRaw": 2, + "name": "precision", + "description": "Applied decimal precision" + } + ], + "generator": false + }, + { + "__docId__": 112, + "kind": "method", + "static": false, + "variation": null, + "name": "configureFormat", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#configureFormat", + "access": "private", + "description": "Configure the format options used to format the operation result based\non column type.", + "lineNumber": 451, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "defaultValue": "{}", + "defaultRaw": {}, + "name": "format", + "description": "Format object" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 113, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#destroy", + "access": null, + "description": "Remove extension", + "lineNumber": 469, + "params": [], + "generator": false + }, + { + "__docId__": 114, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/colOps/colOps.js~ColOps", + "longname": "src/extensions/colOps/colOps.js~ColOps#initialized", + "access": null, + "description": null, + "lineNumber": 476, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 115, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/colsVisibility/colsVisibility.js", + "memberof": null, + "longname": "src/extensions/colsVisibility/colsVisibility.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../../feature';\nimport {\n addClass, removeClass, createCheckItem, createElm, elm, removeElm,\n getText\n} from '../../dom';\nimport {isUndef, EMPTY_FN} from '../../types';\nimport {addEvt, targetEvt, removeEvt} from '../../event';\nimport {root} from '../../root';\nimport {NONE} from '../../const';\nimport {\n defaultsBool, defaultsStr, defaultsFn,\n defaultsNb, defaultsArr\n} from '../../settings';\n\n/**\n * Columns Visibility extension\n */\nexport default class ColsVisibility extends Feature {\n\n /**\n * Creates an instance of ColsVisibility\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} Configuration object\n */\n constructor(tf, f) {\n super(tf, f.name);\n\n // Configuration object\n let cfg = this.config;\n\n /**\n * Module name\n * @type {String}\n */\n this.name = f.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = defaultsStr(f.description, 'Columns visibility manager');\n\n /**\n * show/hide columns container element\n * @private\n */\n this.spanEl = null;\n\n /**\n * show/hide columns button element\n * @private\n */\n this.btnEl = null;\n\n /**\n * show/hide columns main container element\n * @private\n */\n this.contEl = null;\n\n /**\n * Enable tick to hide a column, defaults to true\n * @type {Boolean}\n */\n this.tickToHide = defaultsBool(f.tick_to_hide, true);\n\n /**\n * Enable columns manager UI, defaults to true\n * @type {Boolean}\n */\n this.manager = defaultsBool(f.manager, true);\n\n /**\n * Headers HTML table reference only if headers are external\n * @type {DOMElement}\n */\n this.headersTbl = f.headers_table || null;\n\n /**\n * Headers row index only if headers are external\n * @type {Number}\n */\n this.headersIndex = defaultsNb(f.headers_index, 1);\n\n /**\n * ID of main container element\n * @type {String}\n */\n this.contElTgtId = defaultsStr(f.container_target_id, null);\n\n /**\n * Alternative text for column headers in column manager UI\n * @type {Array}\n */\n this.headersText = defaultsArr(f.headers_text, []);\n\n /**\n * ID of button's container element\n * @type {String}\n */\n this.btnTgtId = defaultsStr(f.btn_target_id, null);\n\n /**\n * Button's text, defaults to Columns▼\n * @type {String}\n */\n this.btnText = defaultsStr(f.btn_text, 'Columns▼');\n\n /**\n * Button's inner HTML\n * @type {String}\n */\n this.btnHtml = defaultsStr(f.btn_html, null);\n\n /**\n * Css class for button\n * @type {String}\n */\n this.btnCssClass = defaultsStr(f.btn_css_class, 'colVis');\n\n /**\n * Columns manager UI close link text, defaults to 'Close'\n * @type {String}\n */\n this.btnCloseText = defaultsStr(f.btn_close_text, 'Close');\n\n /**\n * Columns manager UI close link HTML\n * @type {String}\n */\n this.btnCloseHtml = defaultsStr(f.btn_close_html, null);\n\n /**\n * Css for columns manager UI close link\n * @type {String}\n */\n this.btnCloseCssClass = defaultsStr(f.btn_close_css_class,\n this.btnCssClass);\n\n /**\n * Extension's stylesheet filename\n * @type {String}\n */\n this.stylesheet = defaultsStr(f.stylesheet, 'colsVisibility.css');\n\n /**\n * Css for columns manager UI span\n * @type {String}\n */\n this.spanCssClass = defaultsStr(f.span_css_class, 'colVisSpan');\n\n /**\n * Css for columns manager UI main container\n * @type {String}\n */\n this.contCssClass = defaultsStr(f.cont_css_class, 'colVisCont');\n\n /**\n * Css for columns manager UI checklist (ul)\n * @type {String}\n */\n this.listCssClass = defaultsStr(cfg.list_css_class, 'cols_checklist');\n\n /**\n * Css for columns manager UI checklist item (li)\n * @type {String}\n */\n this.listItemCssClass = defaultsStr(cfg.checklist_item_css_class,\n 'cols_checklist_item');\n\n /**\n * Css for columns manager UI checklist item selected state (li)\n * @type {String}\n */\n this.listSlcItemCssClass = defaultsStr(\n cfg.checklist_selected_item_css_class,\n 'cols_checklist_slc_item'\n );\n\n /**\n * Text preceding the columns list, defaults to 'Hide' or 'Show'\n * depending on tick mode (tick_to_hide option)\n * @type {String}\n */\n this.text = defaultsStr(f.text, this.tickToHide ? 'Hide: ' : 'Show: ');\n\n /**\n * List of columns indexes to be hidden at initialization\n * @type {Array}\n */\n this.atStart = defaultsArr(f.at_start, []);\n\n /**\n * Enable hover behaviour on columns manager button/link\n * @type {Boolean}\n */\n this.enableHover = Boolean(f.enable_hover);\n\n /**\n * Enable select all option, disabled by default\n * @type {Boolean}\n */\n this.enableTickAll = Boolean(f.enable_tick_all);\n\n /**\n * Text for select all option, defaults to 'Select all:'\n * @type {String}\n */\n this.tickAllText = defaultsStr(f.tick_all_text, 'Select all:');\n\n /**\n * List of indexes of hidden columns\n * @private\n */\n this.hiddenCols = [];\n\n /**\n * Bound mouseup wrapper\n * @private\n */\n this.boundMouseup = null;\n\n /**\n * Callback fired when the extension is initialized\n * @type {Function}\n */\n this.onLoaded = defaultsFn(f.on_loaded, EMPTY_FN);\n\n /**\n * Callback fired before the columns manager is opened\n * @type {Function}\n */\n this.onBeforeOpen = defaultsFn(f.on_before_open, EMPTY_FN);\n\n /**\n * Callback fired after the columns manager is opened\n * @type {Function}\n */\n this.onAfterOpen = defaultsFn(f.on_after_open, EMPTY_FN);\n\n /**\n * Callback fired before the columns manager is closed\n * @type {Function}\n */\n this.onBeforeClose = defaultsFn(f.on_before_close, EMPTY_FN);\n\n /**\n * Callback fired after the columns manager is closed\n * @type {Function}\n */\n this.onAfterClose = defaultsFn(f.on_after_close, EMPTY_FN);\n\n /**\n * Callback fired before a column is hidden\n * @type {Function}\n */\n this.onBeforeColHidden = defaultsFn(f.on_before_col_hidden, EMPTY_FN);\n\n /**\n * Callback fired after a column is hidden\n * @type {Function}\n */\n this.onAfterColHidden = defaultsFn(f.on_after_col_hidden, EMPTY_FN);\n\n /**\n * Callback fired before a column is displayed\n * @type {Function}\n */\n this.onBeforeColDisplayed = defaultsFn(f.on_before_col_displayed,\n EMPTY_FN);\n\n /**\n * Callback fired after a column is displayed\n * @type {Function}\n */\n this.onAfterColDisplayed = defaultsFn(f.on_after_col_displayed,\n EMPTY_FN);\n\n //Grid layout support\n if (tf.gridLayout) {\n this.headersTbl = tf.feature('gridLayout').headTbl; //headers table\n this.headersIndex = 0; //headers index\n }\n\n //Loads extension stylesheet\n tf.import(f.name + 'Style', tf.getStylePath() + this.stylesheet, null,\n 'link');\n\n this.enable();\n }\n\n /**\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n let targetElm = targetEvt(evt);\n\n while (targetElm && targetElm !== this.contEl\n && targetElm !== this.btnEl) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== this.contEl && targetElm !== this.btnEl) {\n this.toggle();\n }\n\n return;\n }\n\n /**\n * Toggle columns manager UI\n */\n toggle() {\n // ensure mouseup event handler is removed\n removeEvt(root, 'mouseup', this.boundMouseup);\n\n let contDisplay = this.contEl.style.display;\n\n if (contDisplay !== 'inline') {\n this.onBeforeOpen(this);\n }\n if (contDisplay === 'inline') {\n this.onBeforeClose(this);\n }\n\n this.contEl.style.display = contDisplay === 'inline' ?\n NONE : 'inline';\n\n if (contDisplay !== 'inline') {\n this.onAfterOpen(this);\n addEvt(root, 'mouseup', this.boundMouseup);\n }\n if (contDisplay === 'inline') {\n this.onAfterClose(this);\n }\n }\n\n /**\n * Check an item in columns manager UI\n * @private\n */\n checkItem(lbl) {\n let li = lbl.parentNode;\n if (!li || !lbl) {\n return;\n }\n let isChecked = lbl.firstChild.checked;\n let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];\n colIndex = parseInt(colIndex, 10);\n if (isChecked) {\n addClass(li, this.listSlcItemCssClass);\n } else {\n removeClass(li, this.listSlcItemCssClass);\n }\n\n let hide = false;\n if ((this.tickToHide && isChecked) ||\n (!this.tickToHide && !isChecked)) {\n hide = true;\n }\n this.setHidden(colIndex, hide);\n }\n\n /**\n * Initializes ColsVisibility instance\n */\n init() {\n if (this.initialized || !this.manager) {\n return;\n }\n\n this.emitter.on(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.buildBtn();\n this.buildManager();\n\n /** @inherited */\n this.initialized = true;\n\n this.boundMouseup = this.onMouseup.bind(this);\n\n this.emitter.emit('columns-visibility-initialized', this.tf, this);\n\n // Hide columns at start at very end of initialization, do not move\n // as order is important\n this._hideAtStart();\n }\n\n /**\n * Build main button UI\n */\n buildBtn() {\n if (this.btnEl) {\n return;\n }\n let tf = this.tf;\n let span = createElm('span');\n span.className = this.spanCssClass;\n\n //Container element (rdiv or custom element)\n if (!this.btnTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);\n\n if (!this.btnTgtId) {\n let firstChild = targetEl.firstChild;\n firstChild.parentNode.insertBefore(span, firstChild);\n } else {\n targetEl.appendChild(span);\n }\n\n if (!this.btnHtml) {\n let btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCssClass;\n btn.title = this.desc;\n\n btn.innerHTML = this.btnText;\n span.appendChild(btn);\n if (!this.enableHover) {\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(btn, 'mouseover', (evt) => this.toggle(evt));\n }\n } else { //Custom html\n span.innerHTML = this.btnHtml;\n let colVisEl = span.firstChild;\n if (!this.enableHover) {\n addEvt(colVisEl, 'click', (evt) => this.toggle(evt));\n } else {\n addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));\n }\n }\n\n this.spanEl = span;\n this.btnEl = this.spanEl.firstChild;\n\n this.onLoaded(this);\n }\n\n /**\n * Build columns manager UI\n */\n buildManager() {\n let tf = this.tf;\n\n let container = !this.contElTgtId ?\n createElm('div') :\n elm(this.contElTgtId);\n container.className = this.contCssClass;\n\n //Extension description\n let extNameLabel = createElm('p');\n extNameLabel.innerHTML = this.text;\n container.appendChild(extNameLabel);\n\n //Headers list\n let ul = createElm('ul');\n ul.className = this.listCssClass;\n\n let tbl = this.headersTbl || tf.dom();\n let headerIndex = this.headersTbl ?\n this.headersIndex : tf.getHeadersRowIndex();\n let headerRow = tbl.rows[headerIndex];\n\n //Tick all option\n if (this.enableTickAll) {\n let li = createCheckItem('col__' + tf.id, this.tickAllText,\n this.tickAllText);\n addClass(li, this.listItemCssClass);\n ul.appendChild(li);\n li.check.checked = !this.tickToHide;\n\n addEvt(li.check, 'click', () => {\n for (let h = 0; h < headerRow.cells.length; h++) {\n let itm = elm('col_' + h + '_' + tf.id);\n if (itm && li.check.checked !== itm.checked) {\n itm.click();\n itm.checked = li.check.checked;\n }\n }\n });\n }\n\n for (let i = 0; i < headerRow.cells.length; i++) {\n let cell = headerRow.cells[i];\n let cellText = this.headersText[i] || this._getHeaderText(cell);\n let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,\n cellText);\n addClass(liElm, this.listItemCssClass);\n if (!this.tickToHide) {\n addClass(liElm, this.listSlcItemCssClass);\n }\n ul.appendChild(liElm);\n if (!this.tickToHide) {\n liElm.check.checked = true;\n }\n\n addEvt(liElm.check, 'click', (evt) => {\n let elm = targetEvt(evt);\n let lbl = elm.parentNode;\n this.checkItem(lbl);\n });\n }\n\n //separator\n let p = createElm('p', ['align', 'center']);\n let btn;\n //Close link\n if (!this.btnCloseHtml) {\n btn = createElm('a', ['href', 'javascript:;']);\n btn.className = this.btnCloseCssClass;\n btn.innerHTML = this.btnCloseText;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n p.appendChild(btn);\n } else {\n p.innerHTML = this.btnCloseHtml;\n btn = p.firstChild;\n addEvt(btn, 'click', (evt) => this.toggle(evt));\n }\n\n container.appendChild(ul);\n container.appendChild(p);\n\n this.btnEl.parentNode.insertBefore(container, this.btnEl);\n this.contEl = container;\n }\n\n /**\n * Hide or show specified columns\n * @param {Number} colIndex Column index\n * @param {Boolean} hide Hide column if true or show if false\n */\n setHidden(colIndex, hide) {\n let tf = this.tf;\n let tbl = tf.dom();\n\n if (hide) {\n this.onBeforeColHidden(this, colIndex);\n }\n if (!hide) {\n this.onBeforeColDisplayed(this, colIndex);\n }\n\n this._hideCells(tbl, colIndex, hide);\n if (this.headersTbl) {\n this._hideCells(this.headersTbl, colIndex, hide);\n }\n\n let hiddenCols = this.hiddenCols;\n let itemIndex = hiddenCols.indexOf(colIndex);\n if (hide) {\n if (itemIndex === -1) {\n this.hiddenCols.push(colIndex);\n }\n } else {\n if (itemIndex !== -1) {\n this.hiddenCols.splice(itemIndex, 1);\n }\n }\n\n if (hide) {\n this.onAfterColHidden(this, colIndex);\n this.emitter.emit('column-hidden', tf, this, colIndex,\n this.hiddenCols);\n }\n\n if (!hide) {\n this.onAfterColDisplayed(this, colIndex);\n this.emitter.emit('column-shown', tf, this, colIndex,\n this.hiddenCols);\n }\n }\n\n /**\n * Show specified column\n * @param {Number} colIndex Column index\n */\n showCol(colIndex) {\n if (isUndef(colIndex) || !this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, false);\n }\n }\n\n /**\n * Hide specified column\n * @param {Number} colIndex Column index\n */\n hideCol(colIndex) {\n if (isUndef(colIndex) || this.isColHidden(colIndex)) {\n return;\n }\n if (this.manager && this.contEl) {\n let itm = elm('col_' + colIndex + '_' + this.tf.id);\n if (itm) {\n itm.click();\n }\n } else {\n this.setHidden(colIndex, true);\n }\n }\n\n /**\n * Determine if specified column is hidden\n * @param {Number} colIndex Column index\n */\n isColHidden(colIndex) {\n if (this.hiddenCols.indexOf(colIndex) !== -1) {\n return true;\n }\n return false;\n }\n\n /**\n * Toggle visibility of specified column\n * @param {Number} colIndex Column index\n */\n toggleCol(colIndex) {\n if (isUndef(colIndex) || this.isColHidden(colIndex)) {\n this.showCol(colIndex);\n } else {\n this.hideCol(colIndex);\n }\n }\n\n /**\n * Return the indexes of the columns currently hidden\n * @return {Array} column indexes\n */\n getHiddenCols() {\n return this.hiddenCols;\n }\n\n /**\n * Remove the columns manager\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n if (elm(this.contElTgtId)) {\n elm(this.contElTgtId).innerHTML = '';\n } else {\n this.contEl.innerHTML = '';\n removeElm(this.contEl);\n this.contEl = null;\n }\n this.btnEl.innerHTML = '';\n removeElm(this.btnEl);\n this.btnEl = null;\n\n this.emitter.off(['hide-column'],\n (tf, colIndex) => this.hideCol(colIndex));\n\n this.boundMouseup = null;\n\n this.initialized = false;\n }\n\n _getHeaderText(cell) {\n if (!cell.hasChildNodes) {\n return '';\n }\n\n for (let i = 0; i < cell.childNodes.length; i++) {\n let n = cell.childNodes[i];\n if (n.nodeType === 3) {\n return n.nodeValue;\n } else if (n.nodeType === 1) {\n if (n.id && n.id.indexOf('popUp') !== -1) {\n continue;\n } else {\n return getText(n);\n }\n }\n continue;\n }\n return '';\n }\n\n _hideCells(tbl, colIndex, hide) {\n for (let i = 0; i < tbl.rows.length; i++) {\n let row = tbl.rows[i];\n let cell = row.cells[colIndex];\n if (cell) {\n cell.style.display = hide ? NONE : '';\n }\n }\n }\n\n _hideAtStart() {\n this.atStart.forEach((colIdx) => {\n this.hideCol(colIdx);\n });\n }\n}\n" + }, + { + "__docId__": 116, + "kind": "class", + "static": true, + "variation": null, + "name": "ColsVisibility", + "memberof": "src/extensions/colsVisibility/colsVisibility.js", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "access": null, + "export": true, + "importPath": "tablefilter/src/extensions/colsVisibility/colsVisibility.js", + "importStyle": "ColsVisibility", + "description": "Columns Visibility extension", + "lineNumber": 18, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 117, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#constructor", + "access": null, + "description": "Creates an instance of ColsVisibility", + "lineNumber": 25, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "Configuration", + "description": "object" + } + ], + "generator": false + }, + { + "__docId__": 118, + "kind": "member", + "static": false, + "variation": null, + "name": "name", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#name", + "access": null, + "description": "Module name", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 119, + "kind": "member", + "static": false, + "variation": null, + "name": "desc", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#desc", + "access": null, + "description": "Module description", + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 120, + "kind": "member", + "static": false, + "variation": null, + "name": "spanEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", + "access": "private", + "description": "show/hide columns container element", + "lineNumber": 47, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 121, + "kind": "member", + "static": false, + "variation": null, + "name": "btnEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "access": "private", + "description": "show/hide columns button element", + "lineNumber": 53, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 122, + "kind": "member", + "static": false, + "variation": null, + "name": "contEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": "private", + "description": "show/hide columns main container element", + "lineNumber": 59, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 123, + "kind": "member", + "static": false, + "variation": null, + "name": "tickToHide", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickToHide", + "access": null, + "description": "Enable tick to hide a column, defaults to true", + "lineNumber": 65, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 124, + "kind": "member", + "static": false, + "variation": null, + "name": "manager", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#manager", + "access": null, + "description": "Enable columns manager UI, defaults to true", + "lineNumber": 71, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 125, + "kind": "member", + "static": false, + "variation": null, + "name": "headersTbl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", + "access": null, + "description": "Headers HTML table reference only if headers are external", + "lineNumber": 77, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 126, + "kind": "member", + "static": false, + "variation": null, + "name": "headersIndex", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", + "access": null, + "description": "Headers row index only if headers are external", + "lineNumber": 83, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 127, + "kind": "member", + "static": false, + "variation": null, + "name": "contElTgtId", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contElTgtId", + "access": null, + "description": "ID of main container element", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 128, + "kind": "member", + "static": false, + "variation": null, + "name": "headersText", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", + "access": null, + "description": "Alternative text for column headers in column manager UI", + "lineNumber": 95, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 129, + "kind": "member", + "static": false, + "variation": null, + "name": "btnTgtId", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnTgtId", + "access": null, + "description": "ID of button's container element", + "lineNumber": 101, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 130, + "kind": "member", + "static": false, + "variation": null, + "name": "btnText", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnText", + "access": null, + "description": "Button's text, defaults to Columns▼", + "lineNumber": 107, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 131, + "kind": "member", + "static": false, + "variation": null, + "name": "btnHtml", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnHtml", + "access": null, + "description": "Button's inner HTML", + "lineNumber": 113, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 132, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", + "access": null, + "description": "Css class for button", + "lineNumber": 119, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 133, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCloseText", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseText", + "access": null, + "description": "Columns manager UI close link text, defaults to 'Close'", + "lineNumber": 125, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 134, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCloseHtml", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseHtml", + "access": null, + "description": "Columns manager UI close link HTML", + "lineNumber": 131, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 135, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCloseCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseCssClass", + "access": null, + "description": "Css for columns manager UI close link", + "lineNumber": 137, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 136, + "kind": "member", + "static": false, + "variation": null, + "name": "stylesheet", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", + "access": null, + "description": "Extension's stylesheet filename", + "lineNumber": 144, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 137, + "kind": "member", + "static": false, + "variation": null, + "name": "spanCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", + "access": null, + "description": "Css for columns manager UI span", + "lineNumber": 150, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 138, + "kind": "member", + "static": false, + "variation": null, + "name": "contCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", + "access": null, + "description": "Css for columns manager UI main container", + "lineNumber": 156, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 139, + "kind": "member", + "static": false, + "variation": null, + "name": "listCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listCssClass", + "access": null, + "description": "Css for columns manager UI checklist (ul)", + "lineNumber": 162, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 140, + "kind": "member", + "static": false, + "variation": null, + "name": "listItemCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listItemCssClass", + "access": null, + "description": "Css for columns manager UI checklist item (li)", + "lineNumber": 168, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 141, + "kind": "member", + "static": false, + "variation": null, + "name": "listSlcItemCssClass", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listSlcItemCssClass", + "access": null, + "description": "Css for columns manager UI checklist item selected state (li)", + "lineNumber": 175, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 142, + "kind": "member", + "static": false, + "variation": null, + "name": "text", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#text", + "access": null, + "description": "Text preceding the columns list, defaults to 'Hide' or 'Show'\ndepending on tick mode (tick_to_hide option)", + "lineNumber": 185, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 143, + "kind": "member", + "static": false, + "variation": null, + "name": "atStart", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#atStart", + "access": null, + "description": "List of columns indexes to be hidden at initialization", + "lineNumber": 191, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 144, + "kind": "member", + "static": false, + "variation": null, + "name": "enableHover", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableHover", + "access": null, + "description": "Enable hover behaviour on columns manager button/link", + "lineNumber": 197, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 145, + "kind": "member", + "static": false, + "variation": null, + "name": "enableTickAll", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableTickAll", + "access": null, + "description": "Enable select all option, disabled by default", + "lineNumber": 203, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 146, + "kind": "member", + "static": false, + "variation": null, + "name": "tickAllText", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickAllText", + "access": null, + "description": "Text for select all option, defaults to 'Select all:'", + "lineNumber": 209, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 147, + "kind": "member", + "static": false, + "variation": null, + "name": "hiddenCols", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hiddenCols", + "access": "private", + "description": "List of indexes of hidden columns", + "lineNumber": 215, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 148, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", + "access": "private", + "description": "Bound mouseup wrapper", + "lineNumber": 221, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 149, + "kind": "member", + "static": false, + "variation": null, + "name": "onLoaded", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", + "access": null, + "description": "Callback fired when the extension is initialized", + "lineNumber": 227, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 150, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeOpen", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", + "access": null, + "description": "Callback fired before the columns manager is opened", + "lineNumber": 233, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 151, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterOpen", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", + "access": null, + "description": "Callback fired after the columns manager is opened", + "lineNumber": 239, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 152, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeClose", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", + "access": null, + "description": "Callback fired before the columns manager is closed", + "lineNumber": 245, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 153, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterClose", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", + "access": null, + "description": "Callback fired after the columns manager is closed", + "lineNumber": 251, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 154, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeColHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", + "access": null, + "description": "Callback fired before a column is hidden", + "lineNumber": 257, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 155, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterColHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", + "access": null, + "description": "Callback fired after a column is hidden", + "lineNumber": 263, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 156, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeColDisplayed", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", + "access": null, + "description": "Callback fired before a column is displayed", + "lineNumber": 269, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 157, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterColDisplayed", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", + "access": null, + "description": "Callback fired after a column is displayed", + "lineNumber": 276, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 158, + "kind": "member", + "static": false, + "variation": null, + "name": "headersTbl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", + "access": null, + "description": null, + "lineNumber": 281, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 159, + "kind": "member", + "static": false, + "variation": null, + "name": "headersIndex", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", + "access": null, + "description": null, + "lineNumber": 282, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 160, + "kind": "method", + "static": false, + "variation": null, + "name": "onMouseup", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onMouseup", + "access": "private", + "description": "Mouse-up event handler handling popup auto-close behaviour", + "lineNumber": 296, + "params": [ + { + "name": "evt", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 161, + "kind": "method", + "static": false, + "variation": null, + "name": "toggle", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggle", + "access": null, + "description": "Toggle columns manager UI", + "lineNumber": 314, + "params": [], + "generator": false + }, + { + "__docId__": 162, + "kind": "method", + "static": false, + "variation": null, + "name": "checkItem", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#checkItem", + "access": "private", + "description": "Check an item in columns manager UI", + "lineNumber": 343, + "params": [ + { + "name": "lbl", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 163, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#init", + "access": null, + "description": "Initializes ColsVisibility instance", + "lineNumber": 368, + "params": [], + "generator": false + }, + { + "__docId__": 164, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", + "access": null, + "description": null, + "lineNumber": 380, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 165, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", + "access": null, + "description": null, + "lineNumber": 382, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 166, + "kind": "method", + "static": false, + "variation": null, + "name": "buildBtn", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildBtn", + "access": null, + "description": "Build main button UI", + "lineNumber": 394, + "params": [], + "generator": false + }, + { + "__docId__": 167, + "kind": "member", + "static": false, + "variation": null, + "name": "spanEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanEl", + "access": null, + "description": null, + "lineNumber": 437, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 168, + "kind": "member", + "static": false, + "variation": null, + "name": "btnEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "access": null, + "description": null, + "lineNumber": 438, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 169, + "kind": "method", + "static": false, + "variation": null, + "name": "buildManager", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", + "access": null, + "description": "Build columns manager UI", + "lineNumber": 446, + "params": [], + "generator": false + }, + { + "__docId__": 170, + "kind": "member", + "static": false, + "variation": null, + "name": "contEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": null, + "description": null, + "lineNumber": 528, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 171, + "kind": "method", + "static": false, + "variation": null, + "name": "setHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#setHidden", + "access": null, + "description": "Hide or show specified columns", + "lineNumber": 536, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "hide", + "description": "Hide column if true or show if false" + } + ], + "generator": false + }, + { + "__docId__": 172, + "kind": "method", + "static": false, + "variation": null, + "name": "showCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#showCol", + "access": null, + "description": "Show specified column", + "lineNumber": 581, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 173, + "kind": "method", + "static": false, + "variation": null, + "name": "hideCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hideCol", + "access": null, + "description": "Hide specified column", + "lineNumber": 599, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 174, + "kind": "method", + "static": false, + "variation": null, + "name": "isColHidden", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", + "access": null, + "description": "Determine if specified column is hidden", + "lineNumber": 617, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "types": [ + "boolean" + ] + }, + "generator": false + }, + { + "__docId__": 175, + "kind": "method", + "static": false, + "variation": null, + "name": "toggleCol", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", + "access": null, + "description": "Toggle visibility of specified column", + "lineNumber": 628, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 176, + "kind": "method", + "static": false, + "variation": null, + "name": "getHiddenCols", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#getHiddenCols", + "access": null, + "description": "Return the indexes of the columns currently hidden", + "lineNumber": 640, + "params": [], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "column indexes" + }, + "generator": false + }, + { + "__docId__": 177, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#destroy", + "access": null, + "description": "Remove the columns manager", + "lineNumber": 647, + "params": [], + "generator": false + }, + { + "__docId__": 178, + "kind": "member", + "static": false, + "variation": null, + "name": "contEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contEl", + "access": null, + "description": null, + "lineNumber": 656, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 179, + "kind": "member", + "static": false, + "variation": null, + "name": "btnEl", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnEl", + "access": null, + "description": null, + "lineNumber": 660, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 180, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#boundMouseup", + "access": null, + "description": null, + "lineNumber": 665, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 181, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", + "access": null, + "description": null, + "lineNumber": 667, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 182, + "kind": "method", + "static": false, + "variation": null, + "name": "_getHeaderText", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_getHeaderText", + "access": null, + "description": null, + "lineNumber": 670, + "undocument": true, + "params": [ + { + "name": "cell", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "string" + ] + }, + "generator": false + }, + { + "__docId__": 183, + "kind": "method", + "static": false, + "variation": null, + "name": "_hideCells", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideCells", + "access": null, + "description": null, + "lineNumber": 691, + "undocument": true, + "params": [ + { + "name": "tbl", + "types": [ + "*" + ] + }, + { + "name": "colIndex", + "types": [ + "*" + ] + }, + { + "name": "hide", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 184, + "kind": "method", + "static": false, + "variation": null, + "name": "_hideAtStart", + "memberof": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility", + "longname": "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#_hideAtStart", + "access": null, + "description": null, + "lineNumber": 701, + "undocument": true, + "params": [], + "generator": false + }, + { + "__docId__": 185, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/sort/adapterSortabletable.js", + "memberof": null, + "longname": "src/extensions/sort/adapterSortabletable.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../../feature';\nimport {isUndef, isObj, EMPTY_FN} from '../../types';\nimport {createElm, elm, getText, tag} from '../../dom';\nimport {addEvt} from '../../event';\nimport {parse as parseNb} from '../../number';\nimport {\n NONE, CELL_TAG, HEADER_TAG, STRING, NUMBER, DATE, FORMATTED_NUMBER,\n IP_ADDRESS\n} from '../../const';\nimport {defaultsStr, defaultsFn, defaultsArr} from '../../settings';\n\n/**\n * SortableTable Adapter module\n */\nexport default class AdapterSortableTable extends Feature {\n\n /**\n * Creates an instance of AdapterSortableTable\n * @param {TableFilter} tf TableFilter instance\n * @param {Object} opts Configuration object\n */\n constructor(tf, opts) {\n super(tf, opts.name);\n\n /**\n * Module name\n * @type {String}\n */\n this.name = opts.name;\n\n /**\n * Module description\n * @type {String}\n */\n this.desc = defaultsStr(opts.description, 'Sortable table');\n\n /**\n * Indicate whether table previously sorted\n * @type {Boolean}\n * @private\n */\n this.sorted = false;\n\n /**\n * List of sort type per column basis\n * @type {Array}\n */\n this.sortTypes = defaultsArr(opts.types, tf.colTypes);\n\n /**\n * Column to be sorted at initialization, ie:\n * sort_col_at_start: [1, true]\n * @type {Array}\n */\n this.sortColAtStart = defaultsArr(opts.sort_col_at_start, null);\n\n /**\n * Enable asynchronous sort, if triggers are external\n * @type {Boolean}\n */\n this.asyncSort = Boolean(opts.async_sort);\n\n /**\n * List of element IDs triggering sort on a per column basis\n * @type {Array}\n */\n this.triggerIds = defaultsArr(opts.trigger_ids, []);\n\n // edit .sort-arrow.descending / .sort-arrow.ascending in\n // tablefilter.css to reflect any path change\n /**\n * Path to images\n * @type {String}\n */\n this.imgPath = defaultsStr(opts.images_path, tf.themesPath);\n\n /**\n * Blank image file name\n * @type {String}\n */\n this.imgBlank = defaultsStr(opts.image_blank, 'blank.png');\n\n /**\n * Css class for sort indicator image\n * @type {String}\n */\n this.imgClassName = defaultsStr(opts.image_class_name, 'sort-arrow');\n\n /**\n * Css class for ascending sort indicator image\n * @type {String}\n */\n this.imgAscClassName = defaultsStr(opts.image_asc_class_name,\n 'ascending');\n\n /**\n * Css class for descending sort indicator image\n * @type {String}\n */\n this.imgDescClassName = defaultsStr(opts.image_desc_class_name,\n 'descending');\n\n /**\n * Cell attribute key storing custom value used for sorting\n * @type {String}\n */\n this.customKey = defaultsStr(opts.custom_key, 'data-tf-sortKey');\n\n /**\n * Callback fired when sort extension is instanciated\n * @type {Function}\n */\n this.onSortLoaded = defaultsFn(opts.on_sort_loaded, EMPTY_FN);\n\n /**\n * Callback fired before a table column is sorted\n * @type {Function}\n */\n this.onBeforeSort = defaultsFn(opts.on_before_sort, EMPTY_FN);\n\n /**\n * Callback fired after a table column is sorted\n * @type {Function}\n */\n this.onAfterSort = defaultsFn(opts.on_after_sort, EMPTY_FN);\n\n /**\n * SortableTable instance\n * @private\n */\n this.stt = null;\n\n this.enable();\n }\n\n /**\n * Initializes AdapterSortableTable instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let adpt = this;\n\n // SortableTable class sanity check (sortabletable.js)\n if (isUndef(SortableTable)) {\n throw new Error('SortableTable class not found.');\n }\n\n // Add any date format if needed\n this.emitter.emit('add-date-type-formats', this.tf, this.sortTypes);\n\n this.overrideSortableTable();\n this.setSortTypes();\n\n this.onSortLoaded(tf, this);\n\n /*** SortableTable callbacks ***/\n this.stt.onbeforesort = function () {\n adpt.onBeforeSort(tf, adpt.stt.sortColumn);\n\n /*** sort behaviour for paging ***/\n if (tf.paging) {\n tf.feature('paging').disable();\n }\n };\n\n this.stt.onsort = function () {\n adpt.sorted = true;\n\n //sort behaviour for paging\n if (tf.paging) {\n let paginator = tf.feature('paging');\n // recalculate valid rows index as sorting may have change it\n tf.getValidRows(true);\n paginator.enable();\n paginator.setPage(paginator.getPage());\n }\n\n adpt.onAfterSort(tf, adpt.stt.sortColumn, adpt.stt.descending);\n adpt.emitter.emit('column-sorted', tf, adpt.stt.sortColumn,\n adpt.stt.descending);\n };\n\n // Column sort at start\n let sortColAtStart = adpt.sortColAtStart;\n if (sortColAtStart) {\n this.stt.sort(sortColAtStart[0], sortColAtStart[1]);\n }\n\n this.emitter.on(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n\n /** @inherited */\n this.initialized = true;\n\n this.emitter.emit('sort-initialized', tf, this);\n }\n\n /**\n * Sort specified column\n * @param {Number} colIdx Column index\n * @param {Boolean} desc Optional: descending manner\n */\n sortByColumnIndex(colIdx, desc) {\n this.stt.sort(colIdx, desc);\n }\n\n /**\n * Set SortableTable overrides for TableFilter integration\n */\n overrideSortableTable() {\n let adpt = this,\n tf = this.tf;\n\n /**\n * Overrides headerOnclick method in order to handle th event\n * @param {Object} e [description]\n */\n SortableTable.prototype.headerOnclick = function (evt) {\n if (!adpt.initialized) {\n return;\n }\n\n // find Header element\n let el = evt.target || evt.srcElement;\n\n while (el.tagName !== CELL_TAG && el.tagName !== HEADER_TAG) {\n el = el.parentNode;\n }\n\n this.sort(\n SortableTable.msie ?\n SortableTable.getCellIndex(el) : el.cellIndex\n );\n };\n\n /**\n * Overrides getCellIndex IE returns wrong cellIndex when columns are\n * hidden\n * @param {Object} oTd TD element\n * @return {Number} Cell index\n */\n SortableTable.getCellIndex = function (oTd) {\n let cells = oTd.parentNode.cells,\n l = cells.length, i;\n for (i = 0; cells[i] !== oTd && i < l; i++) { }\n return i;\n };\n\n /**\n * Overrides initHeader in order to handle filters row position\n * @param {Array} oSortTypes\n */\n SortableTable.prototype.initHeader = function (oSortTypes) {\n let stt = this;\n if (!stt.tHead) {\n if (tf.gridLayout) {\n stt.tHead = tf.feature('gridLayout').headTbl.tHead;\n } else {\n return;\n }\n }\n\n stt.headersRow = tf.headersRow;\n let cells = stt.tHead.rows[stt.headersRow].cells;\n stt.sortTypes = oSortTypes || [];\n let l = cells.length;\n let img, c;\n\n for (let i = 0; i < l; i++) {\n c = cells[i];\n if (stt.sortTypes[i] !== null && stt.sortTypes[i] !== 'None') {\n c.style.cursor = 'pointer';\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n c.appendChild(img);\n if (stt.sortTypes[i] !== null) {\n c.setAttribute('_sortType', stt.sortTypes[i]);\n }\n addEvt(c, 'click', stt._headerOnclick);\n } else {\n c.setAttribute('_sortType', oSortTypes[i]);\n c._sortType = 'None';\n }\n }\n stt.updateHeaderArrows();\n };\n\n /**\n * Overrides updateHeaderArrows in order to handle arrows indicators\n */\n SortableTable.prototype.updateHeaderArrows = function () {\n let stt = this;\n let cells, l, img;\n\n // external headers\n if (adpt.asyncSort && adpt.triggerIds.length > 0) {\n let triggers = adpt.triggerIds;\n cells = [];\n l = triggers.length;\n for (let j = 0; j < l; j++) {\n cells.push(elm(triggers[j]));\n }\n } else {\n if (!this.tHead) {\n return;\n }\n cells = stt.tHead.rows[stt.headersRow].cells;\n l = cells.length;\n }\n for (let i = 0; i < l; i++) {\n let cell = cells[i];\n if (!cell) {\n continue;\n }\n let cellAttr = cell.getAttribute('_sortType');\n if (cellAttr !== null && cellAttr !== 'None') {\n img = cell.lastChild || cell;\n if (img.nodeName.toLowerCase() !== 'img') {\n img = createElm('img',\n ['src', adpt.imgPath + adpt.imgBlank]);\n cell.appendChild(img);\n }\n if (i === stt.sortColumn) {\n img.className = adpt.imgClassName + ' ' +\n (this.descending ?\n adpt.imgDescClassName :\n adpt.imgAscClassName);\n } else {\n img.className = adpt.imgClassName;\n }\n }\n }\n };\n\n /**\n * Overrides getRowValue for custom key value feature\n * @param {Object} oRow Row element\n * @param {String} sType\n * @param {Number} nColumn\n * @return {String}\n */\n SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {\n let stt = this;\n // if we have defined a custom getRowValue use that\n let sortTypeInfo = stt._sortTypeInfo[sType];\n if (sortTypeInfo && sortTypeInfo.getRowValue) {\n return sortTypeInfo.getRowValue(oRow, nColumn);\n }\n let c = oRow.cells[nColumn];\n let s = SortableTable.getInnerText(c);\n return stt.getValueFromString(s, sType);\n };\n\n /**\n * Overrides getInnerText in order to avoid Firefox unexpected sorting\n * behaviour with untrimmed text elements\n * @param {Object} oNode DOM element\n * @return {String} DOM element inner text\n */\n SortableTable.getInnerText = function (oNode) {\n if (!oNode) {\n return;\n }\n if (oNode.getAttribute(adpt.customKey)) {\n return oNode.getAttribute(adpt.customKey);\n } else {\n return getText(oNode);\n }\n };\n }\n\n /**\n * Adds a sort type\n */\n addSortType(...args) {\n // Extract the arguments\n let [id, caster, sorter] = args;\n SortableTable.prototype.addSortType(id, caster, sorter);\n }\n\n /**\n * Sets the sort types on a column basis\n * @private\n */\n setSortTypes() {\n let tf = this.tf,\n sortTypes = this.sortTypes,\n _sortTypes = [];\n\n for (let i = 0; i < tf.nbCells; i++) {\n let colType;\n if (sortTypes[i]) {\n colType = sortTypes[i];\n if (isObj(colType)) {\n if (colType.type === DATE) {\n colType = this._addDateType(i, sortTypes);\n }\n else if (colType.type === FORMATTED_NUMBER) {\n let decimal = colType.decimal || tf.decimalSeparator;\n colType = this._addNumberType(i, decimal);\n }\n } else {\n colType = colType.toLowerCase();\n if (colType === DATE) {\n colType = this._addDateType(i, sortTypes);\n }\n else if (colType === FORMATTED_NUMBER ||\n colType === NUMBER) {\n colType = this._addNumberType(i, tf.decimalSeparator);\n }\n else if (colType === NONE) {\n // TODO: normalise 'none' vs 'None'\n colType = 'None';\n }\n }\n } else {\n colType = STRING;\n }\n _sortTypes.push(colType);\n }\n\n //Public TF method to add sort type\n\n //Custom sort types\n this.addSortType('caseinsensitivestring', SortableTable.toUpperCase);\n this.addSortType(STRING);\n this.addSortType(IP_ADDRESS, ipAddress, sortIP);\n\n this.stt = new SortableTable(tf.dom(), _sortTypes);\n\n /*** external table headers adapter ***/\n if (this.asyncSort && this.triggerIds.length > 0) {\n let triggers = this.triggerIds;\n for (let j = 0; j < triggers.length; j++) {\n if (triggers[j] === null) {\n continue;\n }\n let trigger = elm(triggers[j]);\n if (trigger) {\n trigger.style.cursor = 'pointer';\n\n addEvt(trigger, 'click', (evt) => {\n let elm = evt.target;\n if (!this.tf.sort) {\n return;\n }\n this.stt.asyncSort(triggers.indexOf(elm.id));\n });\n trigger.setAttribute('_sortType', _sortTypes[j]);\n }\n }\n }\n }\n\n _addDateType(colIndex, types) {\n let tf = this.tf;\n let dateType = tf.feature('dateType');\n let locale = dateType.getOptions(colIndex, types).locale || tf.locale;\n let colType = `${DATE}-${locale}`;\n\n this.addSortType(colType, (value) => {\n let parsedDate = dateType.parse(value, locale);\n // Invalid date defaults to Wed Feb 04 -768 11:00:00\n return isNaN(+parsedDate) ? new Date(-86400000000000) : parsedDate;\n });\n return colType;\n }\n\n _addNumberType(colIndex, decimal) {\n let colType = `${FORMATTED_NUMBER}${decimal === '.' ? '' : '-custom'}`;\n\n this.addSortType(colType, (value) => {\n return parseNb(value, decimal);\n });\n return colType;\n }\n\n /**\n * Remove extension\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let tf = this.tf;\n this.emitter.off(['sort'],\n (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));\n this.sorted = false;\n this.stt.destroy();\n\n let ids = tf.getFiltersId();\n for (let idx = 0; idx < ids.length; idx++) {\n let header = tf.getHeaderElement(idx);\n let img = tag(header, 'img');\n\n if (img.length === 1) {\n header.removeChild(img[0]);\n }\n }\n this.initialized = false;\n }\n\n}\n\n//Converters\nfunction ipAddress(value) {\n let vals = value.split('.');\n for (let x in vals) {\n let val = vals[x];\n while (3 > val.length) {\n val = '0' + val;\n }\n vals[x] = val;\n }\n return vals.join('.');\n}\n\nfunction sortIP(a, b) {\n let aa = ipAddress(a.value.toLowerCase());\n let bb = ipAddress(b.value.toLowerCase());\n if (aa === bb) {\n return 0;\n } else if (aa < bb) {\n return -1;\n } else {\n return 1;\n }\n}\n" + }, + { + "__docId__": 186, + "kind": "class", + "static": true, + "variation": null, + "name": "AdapterSortableTable", + "memberof": "src/extensions/sort/adapterSortabletable.js", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "access": null, + "export": true, + "importPath": "tablefilter/src/extensions/sort/adapterSortabletable.js", + "importStyle": "AdapterSortableTable", + "description": "SortableTable Adapter module", + "lineNumber": 15, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 187, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#constructor", + "access": null, + "description": "Creates an instance of AdapterSortableTable", + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "opts", + "description": "Configuration object" + } + ], + "generator": false + }, + { + "__docId__": 188, + "kind": "member", + "static": false, + "variation": null, + "name": "name", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#name", + "access": null, + "description": "Module name", + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 189, + "kind": "member", + "static": false, + "variation": null, + "name": "desc", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#desc", + "access": null, + "description": "Module description", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 190, + "kind": "member", + "static": false, + "variation": null, + "name": "sorted", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sorted", + "access": "private", + "description": "Indicate whether table previously sorted", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 191, + "kind": "member", + "static": false, + "variation": null, + "name": "sortTypes", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortTypes", + "access": null, + "description": "List of sort type per column basis", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 192, + "kind": "member", + "static": false, + "variation": null, + "name": "sortColAtStart", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortColAtStart", + "access": null, + "description": "Column to be sorted at initialization, ie:\nsort_col_at_start: [1, true]", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 193, + "kind": "member", + "static": false, + "variation": null, + "name": "asyncSort", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#asyncSort", + "access": null, + "description": "Enable asynchronous sort, if triggers are external", + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 194, + "kind": "member", + "static": false, + "variation": null, + "name": "triggerIds", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#triggerIds", + "access": null, + "description": "List of element IDs triggering sort on a per column basis", + "lineNumber": 67, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 195, + "kind": "member", + "static": false, + "variation": null, + "name": "imgPath", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgPath", + "access": null, + "description": "Path to images", + "lineNumber": 75, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 196, + "kind": "member", + "static": false, + "variation": null, + "name": "imgBlank", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgBlank", + "access": null, + "description": "Blank image file name", + "lineNumber": 81, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 197, + "kind": "member", + "static": false, + "variation": null, + "name": "imgClassName", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgClassName", + "access": null, + "description": "Css class for sort indicator image", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 198, + "kind": "member", + "static": false, + "variation": null, + "name": "imgAscClassName", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgAscClassName", + "access": null, + "description": "Css class for ascending sort indicator image", + "lineNumber": 93, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 199, + "kind": "member", + "static": false, + "variation": null, + "name": "imgDescClassName", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgDescClassName", + "access": null, + "description": "Css class for descending sort indicator image", + "lineNumber": 100, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 200, + "kind": "member", + "static": false, + "variation": null, + "name": "customKey", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#customKey", + "access": null, + "description": "Cell attribute key storing custom value used for sorting", + "lineNumber": 107, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 201, + "kind": "member", + "static": false, + "variation": null, + "name": "onSortLoaded", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onSortLoaded", + "access": null, + "description": "Callback fired when sort extension is instanciated", + "lineNumber": 113, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 202, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeSort", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onBeforeSort", + "access": null, + "description": "Callback fired before a table column is sorted", + "lineNumber": 119, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 203, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterSort", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onAfterSort", + "access": null, + "description": "Callback fired after a table column is sorted", + "lineNumber": 125, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 204, + "kind": "member", + "static": false, + "variation": null, + "name": "stt", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#stt", + "access": "private", + "description": "SortableTable instance", + "lineNumber": 131, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 205, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#init", + "access": null, + "description": "Initializes AdapterSortableTable instance", + "lineNumber": 139, + "params": [], + "generator": false + }, + { + "__docId__": 206, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#initialized", + "access": null, + "description": null, + "lineNumber": 196, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 207, + "kind": "method", + "static": false, + "variation": null, + "name": "sortByColumnIndex", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortByColumnIndex", + "access": null, + "description": "Sort specified column", + "lineNumber": 206, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIdx", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "desc", + "description": "Optional: descending manner" + } + ], + "generator": false + }, + { + "__docId__": 208, + "kind": "method", + "static": false, + "variation": null, + "name": "overrideSortableTable", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#overrideSortableTable", + "access": null, + "description": "Set SortableTable overrides for TableFilter integration", + "lineNumber": 213, + "params": [], + "generator": false + }, + { + "__docId__": 209, + "kind": "method", + "static": false, + "variation": null, + "name": "addSortType", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#addSortType", + "access": null, + "description": "Adds a sort type", + "lineNumber": 378, + "params": [ + { + "name": "args", + "types": [ + "...*" + ], + "spread": true + } + ], + "generator": false + }, + { + "__docId__": 210, + "kind": "method", + "static": false, + "variation": null, + "name": "setSortTypes", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#setSortTypes", + "access": "private", + "description": "Sets the sort types on a column basis", + "lineNumber": 388, + "params": [], + "generator": false + }, + { + "__docId__": 211, + "kind": "member", + "static": false, + "variation": null, + "name": "stt", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#stt", + "access": null, + "description": null, + "lineNumber": 432, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 212, + "kind": "method", + "static": false, + "variation": null, + "name": "_addDateType", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#_addDateType", + "access": null, + "description": null, + "lineNumber": 458, + "undocument": true, + "params": [ + { + "name": "colIndex", + "types": [ + "*" + ] + }, + { + "name": "types", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 213, + "kind": "method", + "static": false, + "variation": null, + "name": "_addNumberType", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#_addNumberType", + "access": null, + "description": null, + "lineNumber": 472, + "undocument": true, + "params": [ + { + "name": "colIndex", + "types": [ + "*" + ] + }, + { + "name": "decimal", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 214, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#destroy", + "access": null, + "description": "Remove extension", + "lineNumber": 484, + "params": [], + "generator": false + }, + { + "__docId__": 215, + "kind": "member", + "static": false, + "variation": null, + "name": "sorted", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sorted", + "access": null, + "description": null, + "lineNumber": 491, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 216, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable", + "longname": "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#initialized", + "access": null, + "description": null, + "lineNumber": 503, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 217, + "kind": "function", + "static": true, + "variation": null, + "name": "ipAddress", + "memberof": "src/extensions/sort/adapterSortabletable.js", + "longname": "src/extensions/sort/adapterSortabletable.js~ipAddress", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/sort/adapterSortabletable.js", + "importStyle": null, + "description": null, + "lineNumber": 509, + "undocument": true, + "params": [ + { + "name": "value", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 218, + "kind": "function", + "static": true, + "variation": null, + "name": "sortIP", + "memberof": "src/extensions/sort/adapterSortabletable.js", + "longname": "src/extensions/sort/adapterSortabletable.js~sortIP", + "access": null, + "export": false, + "importPath": "tablefilter/src/extensions/sort/adapterSortabletable.js", + "importStyle": null, + "description": null, + "lineNumber": 521, + "undocument": true, + "params": [ + { + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "number" + ] + }, + "generator": false + }, + { + "__docId__": 219, + "kind": "file", + "static": true, + "variation": null, + "name": "src/extensions/sort/sort.js", + "memberof": null, + "longname": "src/extensions/sort/sort.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import AdapterSortableTable from './adapterSortabletable';\nimport {root} from '../../root';\n\nif (!root.SortableTable) {\n require('script-loader!sortabletable');\n}\n\nexport default AdapterSortableTable;\n" + }, + { + "__docId__": 220, + "kind": "file", + "static": true, + "variation": null, + "name": "src/feature.js", + "memberof": null, + "longname": "src/feature.js", + "access": null, + "description": null, + "lineNumber": 2, + "content": "\nconst NOT_IMPLEMENTED = 'Not implemented.';\n\n/**\n * Base class defining the interface of a TableFilter feature\n */\nexport class Feature {\n /**\n * Creates an instance of Feature\n * @param {Object} tf TableFilter instance\n * @param {String} feature Feature name known by TableFilter\n */\n constructor(tf, feature) {\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * Feature name\n * @type {String}\n */\n this.feature = feature;\n\n /**\n * TableFilter feature setting\n * @type {Boolean}\n */\n this.enabled = tf[feature];\n\n /**\n * TableFilter configuration\n * @type {Object}\n */\n this.config = tf.config();\n\n /**\n * TableFilter emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n\n /**\n * Field indicating whether Feature is initialized\n * @type {Boolean}\n */\n this.initialized = false;\n\n /** Subscribe to destroy event */\n this.emitter.on(['destroy'], () => this.destroy());\n }\n\n /**\n * Initialize the feature\n */\n init() {\n throw new Error(NOT_IMPLEMENTED);\n }\n\n /**\n * Reset the feature after being disabled\n */\n reset() {\n this.enable();\n this.init();\n }\n\n /**\n * Destroy the feature\n */\n destroy() {\n throw new Error(NOT_IMPLEMENTED);\n }\n\n /**\n * Enable the feature\n */\n enable() {\n this.enabled = true;\n }\n\n /**\n * Disable the feature\n */\n disable() {\n this.enabled = false;\n }\n\n /**\n * Indicate whether the feature is enabled or not\n * @returns {Boolean}\n */\n isEnabled() {\n return this.enabled === true;\n }\n}\n" + }, + { + "__docId__": 221, + "kind": "variable", + "static": true, + "variation": null, + "name": "NOT_IMPLEMENTED", + "memberof": "src/feature.js", + "longname": "src/feature.js~NOT_IMPLEMENTED", + "access": null, + "export": false, + "importPath": "tablefilter/src/feature.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 222, + "kind": "class", + "static": true, + "variation": null, + "name": "Feature", + "memberof": "src/feature.js", + "longname": "src/feature.js~Feature", + "access": null, + "export": true, + "importPath": "tablefilter/src/feature.js", + "importStyle": "{Feature}", + "description": "Base class defining the interface of a TableFilter feature", + "lineNumber": 7, + "interface": false + }, + { + "__docId__": 223, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#constructor", + "access": null, + "description": "Creates an instance of Feature", + "lineNumber": 13, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "feature", + "description": "Feature name known by TableFilter" + } + ], + "generator": false + }, + { + "__docId__": 224, + "kind": "member", + "static": false, + "variation": null, + "name": "tf", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#tf", + "access": null, + "description": "TableFilter instance", + "lineNumber": 18, + "type": { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 225, + "kind": "member", + "static": false, + "variation": null, + "name": "feature", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#feature", + "access": null, + "description": "Feature name", + "lineNumber": 24, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 226, + "kind": "member", + "static": false, + "variation": null, + "name": "enabled", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#enabled", + "access": null, + "description": "TableFilter feature setting", + "lineNumber": 30, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 227, + "kind": "member", + "static": false, + "variation": null, + "name": "config", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#config", + "access": null, + "description": "TableFilter configuration", + "lineNumber": 36, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 228, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#emitter", + "access": null, + "description": "TableFilter emitter instance", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "Emitter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 229, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#initialized", + "access": null, + "description": "Field indicating whether Feature is initialized", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 230, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#init", + "access": null, + "description": "Initialize the feature", + "lineNumber": 57, + "params": [], + "generator": false + }, + { + "__docId__": 231, + "kind": "method", + "static": false, + "variation": null, + "name": "reset", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#reset", + "access": null, + "description": "Reset the feature after being disabled", + "lineNumber": 64, + "params": [], + "generator": false + }, + { + "__docId__": 232, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#destroy", + "access": null, + "description": "Destroy the feature", + "lineNumber": 72, + "params": [], + "generator": false + }, + { + "__docId__": 233, + "kind": "method", + "static": false, + "variation": null, + "name": "enable", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#enable", + "access": null, + "description": "Enable the feature", + "lineNumber": 79, + "params": [], + "generator": false + }, + { + "__docId__": 234, + "kind": "member", + "static": false, + "variation": null, + "name": "enabled", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#enabled", + "access": null, + "description": null, + "lineNumber": 80, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 235, + "kind": "method", + "static": false, + "variation": null, + "name": "disable", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#disable", + "access": null, + "description": "Disable the feature", + "lineNumber": 86, + "params": [], + "generator": false + }, + { + "__docId__": 236, + "kind": "member", + "static": false, + "variation": null, + "name": "enabled", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#enabled", + "access": null, + "description": null, + "lineNumber": 87, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 237, + "kind": "method", + "static": false, + "variation": null, + "name": "isEnabled", + "memberof": "src/feature.js~Feature", + "longname": "src/feature.js~Feature#isEnabled", + "access": null, + "description": "Indicate whether the feature is enabled or not", + "lineNumber": 94, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 238, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/alternateRows.js", + "memberof": null, + "longname": "src/modules/alternateRows.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {addClass, removeClass} from '../dom';\nimport {defaultsStr} from '../settings';\n\n/**\n * Rows with alternating background color for improved readability\n */\nexport class AlternateRows extends Feature {\n\n /**\n * Creates an instance of AlternateRows.\n *\n * @param {Object} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'alternateRows');\n\n let config = this.config;\n /**\n * Css class for even rows (default: 'even')\n * @type {String}\n */\n this.evenCss = defaultsStr(config.even_row_css_class, 'even');\n\n /**\n * Css class for odd rows (default: 'odd')\n * @type {String}\n */\n this.oddCss = defaultsStr(config.odd_row_css_class, 'odd');\n }\n\n /**\n * Sets alternating rows color\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.processAll();\n\n // Subscribe to events\n this.emitter.on(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.on(['column-sorted', 'rows-changed'],\n () => this.processAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Apply background to all valid rows\n */\n processAll() {\n if (!this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n let validRowsIndex = tf.getValidRows(true);\n let indexLen = validRowsIndex.length;\n let idx = 0;\n\n //alternates bg color\n for (let j = 0; j < indexLen; j++) {\n let rowIdx = validRowsIndex[j];\n this.setRowBg(rowIdx, idx);\n idx++;\n }\n }\n\n /**\n * Set/remove row background based on row validation\n * @param {Number} rowIdx Row index\n * @param {Number} arrIdx Array index\n * @param {Boolean} isValid Valid row flag\n */\n processRow(rowIdx, arrIdx, isValid) {\n if (isValid) {\n this.setRowBg(rowIdx, arrIdx);\n } else {\n this.removeRowBg(rowIdx);\n }\n }\n\n /**\n * Sets row background color\n * @param {Number} rowIdx Row index\n * @param {Number} idx Valid rows collection index needed to calculate bg\n * color\n * @private\n */\n setRowBg(rowIdx, idx) {\n if (!this.isEnabled() || isNaN(rowIdx)) {\n return;\n }\n let rows = this.tf.dom().rows;\n let i = isNaN(idx) ? rowIdx : idx;\n this.removeRowBg(rowIdx);\n\n addClass(rows[rowIdx], (i % 2) ? this.evenCss : this.oddCss);\n }\n\n /**\n * Removes row background color\n * @param {Number} idx Row index\n * @private\n */\n removeRowBg(idx) {\n if (isNaN(idx)) {\n return;\n }\n let rows = this.tf.dom().rows;\n removeClass(rows[idx], this.oddCss);\n removeClass(rows[idx], this.evenCss);\n }\n\n /**\n * Removes all alternating backgrounds\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n let nbRows = this.tf.getRowsNb(true);\n for (let i = 0; i < nbRows; i++) {\n this.removeRowBg(i);\n }\n\n // Unsubscribe to events\n this.emitter.off(['row-processed', 'row-paged'],\n (tf, rowIndex, arrIndex, isValid) =>\n this.processRow(rowIndex, arrIndex, isValid));\n this.emitter.off(['column-sorted', 'rows-changed'],\n () => this.processAll());\n\n this.initialized = false;\n }\n\n}\n" + }, + { + "__docId__": 239, + "kind": "class", + "static": true, + "variation": null, + "name": "AlternateRows", + "memberof": "src/modules/alternateRows.js", + "longname": "src/modules/alternateRows.js~AlternateRows", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/alternateRows.js", + "importStyle": "{AlternateRows}", + "description": "Rows with alternating background color for improved readability", + "lineNumber": 8, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 240, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#constructor", + "access": null, + "description": "Creates an instance of AlternateRows.", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 241, + "kind": "member", + "static": false, + "variation": null, + "name": "evenCss", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#evenCss", + "access": null, + "description": "Css class for even rows (default: 'even')", + "lineNumber": 23, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 242, + "kind": "member", + "static": false, + "variation": null, + "name": "oddCss", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#oddCss", + "access": null, + "description": "Css class for odd rows (default: 'odd')", + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 243, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#init", + "access": null, + "description": "Sets alternating rows color", + "lineNumber": 35, + "params": [], + "generator": false + }, + { + "__docId__": 244, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#initialized", + "access": null, + "description": null, + "lineNumber": 50, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 245, + "kind": "method", + "static": false, + "variation": null, + "name": "processAll", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#processAll", + "access": null, + "description": "Apply background to all valid rows", + "lineNumber": 56, + "params": [], + "generator": false + }, + { + "__docId__": 246, + "kind": "method", + "static": false, + "variation": null, + "name": "processRow", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#processRow", + "access": null, + "description": "Set/remove row background based on row validation", + "lineNumber": 79, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIdx", + "description": "Row index" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "arrIdx", + "description": "Array index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isValid", + "description": "Valid row flag" + } + ], + "generator": false + }, + { + "__docId__": 247, + "kind": "method", + "static": false, + "variation": null, + "name": "setRowBg", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#setRowBg", + "access": "private", + "description": "Sets row background color", + "lineNumber": 94, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIdx", + "description": "Row index" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "idx", + "description": "Valid rows collection index needed to calculate bg\ncolor" + } + ], + "generator": false + }, + { + "__docId__": 248, + "kind": "method", + "static": false, + "variation": null, + "name": "removeRowBg", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#removeRowBg", + "access": "private", + "description": "Removes row background color", + "lineNumber": 110, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "idx", + "description": "Row index" + } + ], + "generator": false + }, + { + "__docId__": 249, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#destroy", + "access": null, + "description": "Removes all alternating backgrounds", + "lineNumber": 122, + "params": [], + "generator": false + }, + { + "__docId__": 250, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/alternateRows.js~AlternateRows", + "longname": "src/modules/alternateRows.js~AlternateRows#initialized", + "access": null, + "description": null, + "lineNumber": 138, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 251, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/baseDropdown.js", + "memberof": null, + "longname": "src/modules/baseDropdown.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {\n ignoreCase, numSortAsc, numSortDesc,\n dateSortAsc, sortNumberStr, sortDateStr\n} from '../sort';\nimport {isArray, isObj} from '../types';\nimport {NUMBER, FORMATTED_NUMBER, DATE} from '../const';\n\n/**\n * Base class for Dropdown and CheckList UI components\n * @export\n * @class BaseDropdown\n * @extends {Feature}\n */\nexport class BaseDropdown extends Feature {\n\n /**\n * Creates an instance of BaseDropdown\n * @param {TableFilter} tf\n */\n constructor(tf) {\n super(tf, 'baseDropdown');\n\n let f = this.config;\n\n /**\n * Filter options custom sorter on a column basis\n * @type {Object}\n */\n this.customSorter = isObj(f.filter_options_sorter) &&\n isArray(f.filter_options_sorter.col) &&\n isArray(f.filter_options_sorter.comparer) ?\n f.filter_options_sorter :\n null;\n\n // TODO: move here all properties shared by Dropdown CheckList\n\n /**\n * Has custom options\n * @type {Boolean}\n * @private\n */\n this.isCustom = false;\n\n /**\n * List of options values\n * @type {Array}\n * @private\n */\n this.opts = [];\n\n /**\n * List of options texts for custom values\n * @type {Array}\n * @private\n */\n this.optsTxt = [];\n\n /**\n * List of options to be excluded from the checklist filter\n * @type {Array}\n * @private\n */\n this.excludedOpts = [];\n }\n\n /**\n * Sort passed options based on the type of the specified column\n * @param {Number} colIndex Column index\n * @param {Array} [options=[]] Collection of values\n * @return {Array} Sorted values\n * @private\n */\n sortOptions(colIndex, options = []) {\n let tf = this.tf;\n\n if (tf.isCustomOptions(colIndex) || !tf.sortSlc ||\n (isArray(tf.sortSlc) && tf.sortSlc.indexOf(colIndex) === -1)) {\n return options;\n }\n\n let { caseSensitive, sortNumDesc } = tf;\n let compareFn;\n\n if (this.customSorter &&\n this.customSorter.col.indexOf(colIndex) !== -1) {\n var idx = this.customSorter.col.indexOf(colIndex);\n compareFn = this.customSorter.comparer[idx];\n }\n else if (tf.hasType(colIndex, [NUMBER, FORMATTED_NUMBER])) {\n let decimal = tf.getDecimal(colIndex);\n let comparer = numSortAsc;\n if (sortNumDesc === true || sortNumDesc.indexOf(colIndex) !== -1) {\n comparer = numSortDesc;\n }\n compareFn = sortNumberStr(comparer, decimal);\n }\n else if (tf.hasType(colIndex, [DATE])) {\n let locale = tf.feature('dateType').getLocale(colIndex);\n let comparer = dateSortAsc;\n compareFn = sortDateStr(comparer, locale);\n } else { // string\n compareFn = caseSensitive ? undefined : ignoreCase;\n }\n\n return options.sort(compareFn);\n }\n\n /**\n * Regenerate filters of specified columns and maintain selection if any\n * @param {Array} colIndexes Collection of column indexes\n * @private\n */\n refreshFilters(colIndexes) {\n colIndexes.forEach((colIdx) => {\n let values = this.getValues(colIdx);\n this.build(colIdx, this.tf.linkedFilters);\n this.selectOptions(colIdx, values);\n });\n }\n}\n" + }, + { + "__docId__": 252, + "kind": "class", + "static": true, + "variation": null, + "name": "BaseDropdown", + "memberof": "src/modules/baseDropdown.js", + "longname": "src/modules/baseDropdown.js~BaseDropdown", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/baseDropdown.js", + "importStyle": "{BaseDropdown}", + "description": "Base class for Dropdown and CheckList UI components", + "lineNumber": 15, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "BaseDropdown" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 253, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#constructor", + "access": null, + "description": "Creates an instance of BaseDropdown", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 254, + "kind": "member", + "static": false, + "variation": null, + "name": "customSorter", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#customSorter", + "access": null, + "description": "Filter options custom sorter on a column basis", + "lineNumber": 30, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 255, + "kind": "member", + "static": false, + "variation": null, + "name": "isCustom", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#isCustom", + "access": "private", + "description": "Has custom options", + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 256, + "kind": "member", + "static": false, + "variation": null, + "name": "opts", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#opts", + "access": "private", + "description": "List of options values", + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 257, + "kind": "member", + "static": false, + "variation": null, + "name": "optsTxt", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#optsTxt", + "access": "private", + "description": "List of options texts for custom values", + "lineNumber": 57, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 258, + "kind": "member", + "static": false, + "variation": null, + "name": "excludedOpts", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#excludedOpts", + "access": "private", + "description": "List of options to be excluded from the checklist filter", + "lineNumber": 64, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 259, + "kind": "method", + "static": false, + "variation": null, + "name": "sortOptions", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#sortOptions", + "access": "private", + "description": "Sort passed options based on the type of the specified column", + "lineNumber": 74, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "options", + "description": "Collection of values" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Sorted values" + }, + "generator": false + }, + { + "__docId__": 260, + "kind": "method", + "static": false, + "variation": null, + "name": "refreshFilters", + "memberof": "src/modules/baseDropdown.js~BaseDropdown", + "longname": "src/modules/baseDropdown.js~BaseDropdown#refreshFilters", + "access": "private", + "description": "Regenerate filters of specified columns and maintain selection if any", + "lineNumber": 114, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "colIndexes", + "description": "Collection of column indexes" + } + ], + "generator": false + }, + { + "__docId__": 261, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/checkList.js", + "memberof": null, + "longname": "src/modules/checkList.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {BaseDropdown} from './baseDropdown';\nimport {\n addClass, createCheckItem, createText, createElm, elm, getText,\n removeClass, tag\n} from '../dom';\nimport {has} from '../array';\nimport {matchCase, trim, rgxEsc} from '../string';\nimport {addEvt, removeEvt, targetEvt} from '../event';\nimport {isEmpty} from '../types';\nimport {CHECKLIST, NONE} from '../const';\nimport {defaultsStr, defaultsBool} from '../settings';\n\n/**\n * Checklist filter UI component\n * @export\n * @class CheckList\n * @extends {BaseDropdown}\n */\nexport class CheckList extends BaseDropdown {\n\n /**\n * Creates an instance of CheckList\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'checkList');\n\n let f = this.config;\n\n /**\n * List of container DOM elements\n * @type {Array}\n */\n this.containers = [];\n\n /**\n * Css class for the container of the checklist filter (div)\n * @type {String}\n */\n this.containerCssClass = defaultsStr(f.div_checklist_css_class,\n 'div_checklist');\n\n /**\n * Css class for the checklist filter element (ul)\n * @type {String}\n */\n this.filterCssClass = defaultsStr(f.checklist_css_class,\n 'flt_checklist');\n\n /**\n * Css class for the item of a checklist (li)\n * @type {String}\n */\n this.itemCssClass = defaultsStr(f.checklist_item_css_class,\n 'flt_checklist_item');\n\n /**\n * Css class for a selected item of a checklist (li)\n * @type {String}\n */\n this.selectedItemCssClass = defaultsStr(\n f.checklist_selected_item_css_class,\n 'flt_checklist_slc_item'\n );\n\n /**\n * Text placed in the filter's container when load filter on demand\n * feature is enabled\n * @type {String}\n */\n this.activateText = defaultsStr(\n f.activate_checklist_text,\n 'Click to load filter data'\n );\n\n /**\n * Css class for a disabled item of a checklist (li)\n * @type {String}\n */\n this.disabledItemCssClass = defaultsStr(\n f.checklist_item_disabled_css_class,\n 'flt_checklist_item_disabled'\n );\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableResetOption = defaultsBool(f.enable_checklist_reset_filter,\n true);\n\n /**\n * Prefix for container element ID\n * @type {String}\n * @private\n */\n this.prfx = 'chkdiv_';\n }\n\n /**\n * Checklist option click event handler\n * @param {Event} evt\n * @private\n */\n optionClick(evt) {\n let elm = targetEvt(evt);\n let tf = this.tf;\n\n this.emitter.emit('filter-focus', tf, elm);\n this.setCheckListValues(elm);\n tf.filter();\n }\n\n /**\n * Checklist container click event handler for load-on-demand feature\n * @param {Event} evt\n * @private\n */\n onCheckListClick(evt) {\n let elm = targetEvt(evt);\n if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n let div = this.containers[ct];\n this.build(ct);\n removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));\n }\n }\n\n /**\n * Refresh all checklist filters\n */\n refreshAll() {\n let colIdxs = this.tf.getFiltersByType(CHECKLIST, true);\n this.refreshFilters(colIdxs);\n }\n\n /**\n * Initialize checklist filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let divCont = createElm('div',\n ['id', `${this.prfx}${colIndex}_${tf.id}`],\n ['ct', colIndex], ['filled', '0']);\n divCont.className = this.containerCssClass;\n\n //filter is appended in desired element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(divCont);\n } else {\n container.appendChild(divCont);\n }\n\n this.containers[colIndex] = divCont;\n tf.fltIds.push(tf.buildFilterId(colIndex));\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));\n divCont.appendChild(createText(this.activateText));\n }\n\n this.emitter.on(\n ['build-checklist-filter'],\n (tf, colIndex, isLinked) => this.build(colIndex, isLinked)\n );\n\n this.emitter.on(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n\n this.emitter.on(['rows-changed'], () => this.refreshAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Build checklist UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n /** @inherited */\n this.opts = [];\n /** @inherited */\n this.optsTxt = [];\n\n let flt = this.containers[colIndex];\n let ul = createElm('ul',\n ['id', tf.fltIds[colIndex]],\n ['colIndex', colIndex]);\n ul.className = this.filterCssClass;\n\n let rows = tf.dom().rows;\n let nbRows = tf.getRowsNb(true);\n let caseSensitive = tf.caseSensitive;\n /** @inherited */\n this.isCustom = tf.isCustomOptions(colIndex);\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 let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let filteredDataCol = [];\n if (isLinked && tf.disableExcludedOptions) {\n /** @inherited */\n this.excludedOpts = [];\n }\n\n flt.innerHTML = '';\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cells = rows[k].cells;\n let ncells = cells.length;\n\n // checks if row has exact cell #\n if (ncells !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < ncells; j++) {\n if (colIndex !== j) {\n continue;\n }\n if (isLinked && !tf.disableExcludedOptions &&\n (!tf.paging && !tf.isRowDisplayed(k)) ||\n (tf.paging && activeIdx && !tf.isRowValid(k))) {\n continue;\n }\n\n let cellValue = tf.getCellValue(cells[j]);\n //Vary Peter's patch\n let cellString = matchCase(cellValue, caseSensitive);\n // checks if celldata is already in array\n if (!has(this.opts, cellString, caseSensitive)) {\n this.opts.push(cellValue);\n }\n let filteredCol = filteredDataCol[j];\n if (isLinked && tf.disableExcludedOptions) {\n if (!filteredCol) {\n filteredCol = tf.getVisibleColumnValues(j);\n }\n if (!has(filteredCol, cellString, caseSensitive) &&\n !has(this.excludedOpts, cellString,\n caseSensitive)) {\n this.excludedOpts.push(cellValue);\n }\n }\n }\n }\n\n //sort options\n this.opts = this.sortOptions(colIndex, this.opts);\n if (this.excludedOpts) {\n this.excludedOpts = this.sortOptions(colIndex, this.excludedOpts);\n }\n\n this.addChecks(colIndex, ul);\n\n if (tf.loadFltOnDemand) {\n flt.innerHTML = '';\n }\n flt.appendChild(ul);\n flt.setAttribute('filled', '1');\n\n this.emitter.emit('after-populating-filter', tf, colIndex, flt);\n }\n\n /**\n * Add checklist options\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n */\n addChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = this.addTChecks(colIndex, ul);\n\n for (let y = 0; y < this.opts.length; y++) {\n let val = this.opts[y]; //item value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //item text\n let fltId = tf.fltIds[colIndex];\n let li = createCheckItem(`${fltId}_${(y + chkCt)}`, val, lbl);\n li.className = this.itemCssClass;\n\n if (tf.linkedFilters && tf.disableExcludedOptions &&\n has(this.excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n addClass(li, this.disabledItemCssClass);\n li.check.disabled = true;\n li.disabled = true;\n } else {\n addEvt(li.check, 'click', evt => this.optionClick(evt));\n }\n ul.appendChild(li);\n\n if (val === '') {\n //item is hidden\n li.style.display = NONE;\n }\n }\n }\n\n /**\n * Add checklist header option\n * @param {Number} colIndex Column index\n * @param {Object} ul Ul element\n * @private\n */\n addTChecks(colIndex, ul) {\n let tf = this.tf;\n let chkCt = 1;\n let fltId = tf.fltIds[colIndex];\n let li0 = createCheckItem(`${fltId}_0`, '',\n tf.getClearFilterText(colIndex));\n li0.className = this.itemCssClass;\n ul.appendChild(li0);\n\n addEvt(li0.check, 'click', evt => this.optionClick(evt));\n\n if (!this.enableResetOption) {\n li0.style.display = NONE;\n }\n\n if (tf.enableEmptyOption) {\n let li1 = createCheckItem(`${fltId}_1`, tf.emOperator,\n tf.emptyText);\n li1.className = this.itemCssClass;\n ul.appendChild(li1);\n addEvt(li1.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n\n if (tf.enableNonEmptyOption) {\n let li2 = createCheckItem(`${fltId}_2`, tf.nmOperator,\n tf.nonEmptyText);\n li2.className = this.itemCssClass;\n ul.appendChild(li2);\n addEvt(li2.check, 'click', evt => this.optionClick(evt));\n chkCt++;\n }\n return chkCt;\n }\n\n /**\n * Store checked options in DOM element attribute\n * @param {Object} o checklist option DOM element\n * @private\n */\n setCheckListValues(o) {\n if (!o) {\n return;\n }\n\n let tf = this.tf;\n let chkValue = o.value; //checked item value\n // TODO: provide helper to extract column index, ugly!\n let chkIndex = parseInt(o.id.split('_')[2], 10);\n let colIdx = tf.getColumnIndexFromFilterId(o.id);\n let itemTag = 'LI';\n\n let n = tf.getFilterElement(parseInt(colIdx, 10));\n let li = n.childNodes[chkIndex];\n let colIndex = n.getAttribute('colIndex');\n let fltValue = n.getAttribute('value'); //filter value (ul tag)\n let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)\n\n if (o.checked) {\n //show all item\n if (chkValue === '') {\n if ((fltIndexes && fltIndexes !== '')) {\n //items indexes\n let indSplit = fltIndexes.split(tf.separator);\n //checked items loop\n for (let u = 0; u < indSplit.length; u++) {\n //checked item\n let cChk = elm(tf.fltIds[colIndex] + '_' +\n indSplit[u]);\n if (cChk) {\n cChk.checked = false;\n removeClass(n.childNodes[indSplit[u]],\n this.selectedItemCssClass);\n }\n }\n }\n n.setAttribute('value', '');\n n.setAttribute('indexes', '');\n\n } else {\n fltValue = (fltValue) ? fltValue : '';\n chkValue = trim(fltValue + ' ' + chkValue + ' ' +\n tf.orOperator);\n chkIndex = fltIndexes + chkIndex + tf.separator;\n n.setAttribute('value', chkValue);\n n.setAttribute('indexes', chkIndex);\n //1st option unchecked\n if (elm(tf.fltIds[colIndex] + '_0')) {\n elm(tf.fltIds[colIndex] + '_0').checked = false;\n }\n }\n\n if (li.nodeName === itemTag) {\n removeClass(n.childNodes[0], this.selectedItemCssClass);\n addClass(li, this.selectedItemCssClass);\n }\n } else { //removes values and indexes\n if (chkValue !== '') {\n let replaceValue = new RegExp(\n rgxEsc(chkValue + ' ' + tf.orOperator));\n fltValue = fltValue.replace(replaceValue, '');\n n.setAttribute('value', trim(fltValue));\n\n let replaceIndex = new RegExp(\n rgxEsc(chkIndex + tf.separator));\n fltIndexes = fltIndexes.replace(replaceIndex, '');\n n.setAttribute('indexes', fltIndexes);\n }\n if (li.nodeName === itemTag) {\n removeClass(li, this.selectedItemCssClass);\n }\n }\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n if (tf.getFilterType(colIndex) !== CHECKLIST || !flt ||\n values.length === 0) {\n return;\n }\n\n let lisNb = tag(flt, 'li').length;\n\n flt.setAttribute('value', '');\n flt.setAttribute('indexes', '');\n\n for (let k = 0; k < lisNb; k++) {\n let li = tag(flt, 'li')[k];\n let lbl = tag(li, 'label')[0];\n let chk = tag(li, 'input')[0];\n let lblTxt = matchCase(getText(lbl), tf.caseSensitive);\n\n if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n // Check non-empty-text or empty-text option\n if (values.indexOf(tf.nmOperator) !== -1 &&\n lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {\n chk.checked = true;\n }\n else if (values.indexOf(tf.emOperator) !== -1 &&\n lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {\n chk.checked = true;\n } else {\n chk.checked = false;\n }\n }\n this.setCheckListValues(chk);\n }\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Collection of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let flt = tf.getFilterElement(colIndex);\n let fltAttr = flt.getAttribute('value');\n let values = isEmpty(fltAttr) ? '' : fltAttr;\n //removes last operator ||\n values = values.substr(0, values.length - 3);\n //turn || separated values into array\n values = values.split(' ' + tf.orOperator + ' ');\n\n return values;\n }\n\n /**\n * Destroy CheckList instance\n */\n destroy() {\n this.emitter.off(\n ['build-checklist-filter'],\n (tf, colIndex, isLinked) => this.build(colIndex, isLinked)\n );\n this.emitter.off(\n ['select-checklist-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.off(['rows-changed'], () => this.refreshAll());\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 262, + "kind": "class", + "static": true, + "variation": null, + "name": "CheckList", + "memberof": "src/modules/checkList.js", + "longname": "src/modules/checkList.js~CheckList", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/checkList.js", + "importStyle": "{CheckList}", + "description": "Checklist filter UI component", + "lineNumber": 19, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "CheckList" + } + ], + "interface": false, + "extends": [ + "BaseDropdown" + ] + }, + { + "__docId__": 263, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#constructor", + "access": null, + "description": "Creates an instance of CheckList", + "lineNumber": 25, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 264, + "kind": "member", + "static": false, + "variation": null, + "name": "containers", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#containers", + "access": null, + "description": "List of container DOM elements", + "lineNumber": 34, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 265, + "kind": "member", + "static": false, + "variation": null, + "name": "containerCssClass", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#containerCssClass", + "access": null, + "description": "Css class for the container of the checklist filter (div)", + "lineNumber": 40, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 266, + "kind": "member", + "static": false, + "variation": null, + "name": "filterCssClass", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#filterCssClass", + "access": null, + "description": "Css class for the checklist filter element (ul)", + "lineNumber": 47, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 267, + "kind": "member", + "static": false, + "variation": null, + "name": "itemCssClass", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#itemCssClass", + "access": null, + "description": "Css class for the item of a checklist (li)", + "lineNumber": 54, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 268, + "kind": "member", + "static": false, + "variation": null, + "name": "selectedItemCssClass", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#selectedItemCssClass", + "access": null, + "description": "Css class for a selected item of a checklist (li)", + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 269, + "kind": "member", + "static": false, + "variation": null, + "name": "activateText", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#activateText", + "access": null, + "description": "Text placed in the filter's container when load filter on demand\nfeature is enabled", + "lineNumber": 71, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 270, + "kind": "member", + "static": false, + "variation": null, + "name": "disabledItemCssClass", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#disabledItemCssClass", + "access": null, + "description": "Css class for a disabled item of a checklist (li)", + "lineNumber": 80, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 271, + "kind": "member", + "static": false, + "variation": null, + "name": "enableResetOption", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#enableResetOption", + "access": null, + "description": "Enable the reset filter option as first item", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 272, + "kind": "member", + "static": false, + "variation": null, + "name": "prfx", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#prfx", + "access": "private", + "description": "Prefix for container element ID", + "lineNumber": 97, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 273, + "kind": "method", + "static": false, + "variation": null, + "name": "optionClick", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#optionClick", + "access": "private", + "description": "Checklist option click event handler", + "lineNumber": 105, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 274, + "kind": "method", + "static": false, + "variation": null, + "name": "onCheckListClick", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#onCheckListClick", + "access": "private", + "description": "Checklist container click event handler for load-on-demand feature", + "lineNumber": 119, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 275, + "kind": "method", + "static": false, + "variation": null, + "name": "refreshAll", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#refreshAll", + "access": null, + "description": "Refresh all checklist filters", + "lineNumber": 132, + "params": [], + "generator": false + }, + { + "__docId__": 276, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#init", + "access": null, + "description": "Initialize checklist filter", + "lineNumber": 143, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isExternal", + "description": "External filter flag" + }, + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "container", + "description": "Dom element containing the filter" + } + ], + "generator": false + }, + { + "__docId__": 277, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#initialized", + "access": null, + "description": null, + "lineNumber": 183, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 278, + "kind": "method", + "static": false, + "variation": null, + "name": "build", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#build", + "access": null, + "description": "Build checklist UI", + "lineNumber": 191, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isLinked", + "description": "Enable linked filters behaviour" + } + ], + "generator": false + }, + { + "__docId__": 279, + "kind": "member", + "static": false, + "variation": null, + "name": "opts", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#opts", + "access": null, + "description": null, + "lineNumber": 198, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 280, + "kind": "member", + "static": false, + "variation": null, + "name": "optsTxt", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#optsTxt", + "access": null, + "description": null, + "lineNumber": 200, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 281, + "kind": "member", + "static": false, + "variation": null, + "name": "isCustom", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#isCustom", + "access": null, + "description": null, + "lineNumber": 212, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 282, + "kind": "member", + "static": false, + "variation": null, + "name": "opts", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#opts", + "access": null, + "description": null, + "lineNumber": 217, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 283, + "kind": "member", + "static": false, + "variation": null, + "name": "optsTxt", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#optsTxt", + "access": null, + "description": null, + "lineNumber": 218, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 284, + "kind": "member", + "static": false, + "variation": null, + "name": "excludedOpts", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#excludedOpts", + "access": null, + "description": null, + "lineNumber": 230, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 285, + "kind": "member", + "static": false, + "variation": null, + "name": "opts", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#opts", + "access": null, + "description": null, + "lineNumber": 283, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 286, + "kind": "member", + "static": false, + "variation": null, + "name": "excludedOpts", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#excludedOpts", + "access": null, + "description": null, + "lineNumber": 285, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 287, + "kind": "method", + "static": false, + "variation": null, + "name": "addChecks", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#addChecks", + "access": "private", + "description": "Add checklist options", + "lineNumber": 305, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "ul", + "description": "Ul element" + } + ], + "generator": false + }, + { + "__docId__": 288, + "kind": "method", + "static": false, + "variation": null, + "name": "addTChecks", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#addTChecks", + "access": "private", + "description": "Add checklist header option", + "lineNumber": 340, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "ul", + "description": "Ul element" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 289, + "kind": "method", + "static": false, + "variation": null, + "name": "setCheckListValues", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#setCheckListValues", + "access": "private", + "description": "Store checked options in DOM element attribute", + "lineNumber": 380, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "o", + "description": "checklist option DOM element" + } + ], + "generator": false + }, + { + "__docId__": 290, + "kind": "method", + "static": false, + "variation": null, + "name": "selectOptions", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#selectOptions", + "access": null, + "description": "Select filter options programmatically", + "lineNumber": 459, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "values", + "description": "Array of option values to select" + } + ], + "generator": false + }, + { + "__docId__": 291, + "kind": "method", + "static": false, + "variation": null, + "name": "getValues", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#getValues", + "access": null, + "description": "Get filter values for a given column index", + "lineNumber": 502, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Array} values Collection of selected values" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "values Collection of selected values" + }, + "generator": false + }, + { + "__docId__": 292, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#destroy", + "access": null, + "description": "Destroy CheckList instance", + "lineNumber": 518, + "params": [], + "generator": false + }, + { + "__docId__": 293, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/checkList.js~CheckList", + "longname": "src/modules/checkList.js~CheckList#initialized", + "access": null, + "description": null, + "lineNumber": 529, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 294, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/clearButton.js", + "memberof": null, + "longname": "src/modules/clearButton.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt} from '../event';\nimport {defaultsStr} from '../settings';\n\n/**\n * Clear button UI component\n */\nexport class ClearButton extends Feature {\n\n /**\n * Creates an instance of ClearButton\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'btnReset');\n\n let f = this.config;\n\n /**\n * Container element ID\n * @type {String}\n */\n this.targetId = defaultsStr(f.btn_reset_target_id, null);\n\n /**\n * Clear button container element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Clear button element\n * @type {DOMElement}\n * @private\n */\n this.element = null;\n\n /**\n * Text for the clear button\n * @type {String}\n */\n this.text = defaultsStr(f.btn_reset_text, 'Reset');\n\n /**\n * Css class for reset button\n * @type {String}\n */\n this.cssClass = defaultsStr(f.btn_reset_css_class, 'reset');\n\n /**\n * Tooltip text for the clear button\n * @type {String}\n */\n this.tooltip = f.btn_reset_tooltip || 'Clear filters';\n\n /**\n * Custom Html string for the clear button\n * @type {String}\n */\n this.html = defaultsStr(f.btn_reset_html,\n (!tf.enableIcons ? null :\n ''));\n }\n\n /**\n * Click event handler for clear button\n * @private\n */\n onClick() {\n if (!this.isEnabled()) {\n return;\n }\n this.tf.clearFilters();\n }\n\n /**\n * Initialize clear button component\n */\n init() {\n let tf = this.tf;\n\n if (this.initialized) {\n return;\n }\n\n let cont = createElm('span');\n\n // reset button is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);\n targetEl.appendChild(cont);\n\n if (!this.html) {\n let fltReset = createElm('a', ['href', 'javascript:void(0);']);\n fltReset.className = this.cssClass;\n fltReset.appendChild(createText(this.text));\n cont.appendChild(fltReset);\n addEvt(fltReset, 'click', () => this.onClick());\n } else {\n cont.innerHTML = this.html;\n let resetEl = cont.firstChild;\n addEvt(resetEl, 'click', () => this.onClick());\n }\n this.element = cont.firstChild;\n this.container = cont;\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Destroy ClearButton instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.element);\n removeElm(this.container);\n this.element = null;\n this.container = null;\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 295, + "kind": "class", + "static": true, + "variation": null, + "name": "ClearButton", + "memberof": "src/modules/clearButton.js", + "longname": "src/modules/clearButton.js~ClearButton", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/clearButton.js", + "importStyle": "{ClearButton}", + "description": "Clear button UI component", + "lineNumber": 9, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 296, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#constructor", + "access": null, + "description": "Creates an instance of ClearButton", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 297, + "kind": "member", + "static": false, + "variation": null, + "name": "targetId", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#targetId", + "access": null, + "description": "Container element ID", + "lineNumber": 24, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 298, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#container", + "access": "private", + "description": "Clear button container element", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 299, + "kind": "member", + "static": false, + "variation": null, + "name": "element", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#element", + "access": "private", + "description": "Clear button element", + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 300, + "kind": "member", + "static": false, + "variation": null, + "name": "text", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#text", + "access": null, + "description": "Text for the clear button", + "lineNumber": 44, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 301, + "kind": "member", + "static": false, + "variation": null, + "name": "cssClass", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#cssClass", + "access": null, + "description": "Css class for reset button", + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 302, + "kind": "member", + "static": false, + "variation": null, + "name": "tooltip", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#tooltip", + "access": null, + "description": "Tooltip text for the clear button", + "lineNumber": 56, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 303, + "kind": "member", + "static": false, + "variation": null, + "name": "html", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#html", + "access": null, + "description": "Custom Html string for the clear button", + "lineNumber": 62, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 304, + "kind": "method", + "static": false, + "variation": null, + "name": "onClick", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#onClick", + "access": "private", + "description": "Click event handler for clear button", + "lineNumber": 72, + "params": [], + "generator": false + }, + { + "__docId__": 305, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#init", + "access": null, + "description": "Initialize clear button component", + "lineNumber": 82, + "params": [], + "generator": false + }, + { + "__docId__": 306, + "kind": "member", + "static": false, + "variation": null, + "name": "element", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#element", + "access": null, + "description": null, + "lineNumber": 109, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 307, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#container", + "access": null, + "description": null, + "lineNumber": 110, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 308, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#initialized", + "access": null, + "description": null, + "lineNumber": 113, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 309, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#destroy", + "access": null, + "description": "Destroy ClearButton instance", + "lineNumber": 119, + "params": [], + "generator": false + }, + { + "__docId__": 310, + "kind": "member", + "static": false, + "variation": null, + "name": "element", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#element", + "access": null, + "description": null, + "lineNumber": 125, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 311, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#container", + "access": null, + "description": null, + "lineNumber": 126, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 312, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/clearButton.js~ClearButton", + "longname": "src/modules/clearButton.js~ClearButton#initialized", + "access": null, + "description": null, + "lineNumber": 127, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 313, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/dateType.js", + "memberof": null, + "longname": "src/modules/dateType.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Date as SugarDate} from 'sugar-date';\nimport 'sugar-date/locales';\nimport {Feature} from '../feature';\nimport {isObj, isArray} from '../types';\nimport {DATE} from '../const';\nimport {root} from '../root';\n\n/**\n * Wrapper for Sugar Date module providing datetime helpers and locales\n * @export\n * @class DateType\n */\nexport class DateType extends Feature {\n\n /**\n * Creates an instance of DateType\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dateType');\n\n /**\n * Global locale\n * @type {String}\n */\n this.locale = tf.locale;\n\n /**\n * Sugar Date instance\n * @type {Object}\n */\n this.datetime = SugarDate;\n\n this.enable();\n }\n\n /**\n * Initialize DateType instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n // Set global locale\n this.datetime.setLocale(this.locale);\n\n // Add formats from column types configuration if any\n this.addConfigFormats(this.tf.colTypes);\n\n this.emitter.on(\n ['add-date-type-formats'],\n (tf, types) => this.addConfigFormats(types)\n );\n\n // Broadcast date-type initialization\n this.emitter.emit('date-type-initialized', this.tf, this);\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Parse a string representation of a date for a specified locale and return\n * a date object\n * @param {String} dateStr String representation of a date\n * @param {String} localeCode Locale code (ie 'en-us')\n * @returns {Date}\n */\n parse(dateStr, localeCode) {\n return this.datetime.create(dateStr, localeCode);\n }\n\n /**\n * Check string representation of a date for a specified locale is valid\n * @param {any} dateStr String representation of a date\n * @param {any} localeCode Locale code (ie 'en-us')\n * @returns {Boolean}\n */\n isValid(dateStr, localeCode) {\n return this.datetime.isValid(this.parse(dateStr, localeCode));\n }\n\n /**\n * Return the type object of a specified column as per configuration or\n * passed collection\n * @param {Number} colIndex Column index\n * @param {Array} types Collection of column types, optional\n * @returns {Object}\n */\n getOptions(colIndex, types) {\n types = types || this.tf.colTypes;\n let colType = types[colIndex];\n return isObj(colType) ? colType : {};\n }\n\n /**\n * Return the locale code for supplied column index as per configuration\n * or global setting\n * @param {Number} colIndex Column index\n * @returns {String} Locale code (ie: 'en-us')\n */\n getLocale(colIndex) {\n return this.getOptions(colIndex).locale || this.locale;\n }\n\n /**\n * Add date time format(s) to a locale as specified by the passed\n * collection of column types, ie:\n * [\n * 'string',\n * 'number',\n * { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n * ]\n *\n * @param {Array} [types=[]] Collection of column types\n */\n addConfigFormats(types=[]) {\n types.forEach((type, idx) => {\n let options = this.getOptions(idx, types);\n if (options.type === DATE && options.hasOwnProperty('format')) {\n let locale = this.datetime.getLocale(\n options.locale || this.locale\n );\n let formats = isArray(options.format) ?\n options.format : [options.format];\n\n // Sugar date module throws exceptions with locale.addFormat\n try {\n formats.forEach((format) => {\n locale.addFormat(format);\n });\n } catch (ex) {\n root.console.error(ex);\n }\n }\n });\n }\n\n /**\n * Remove DateType instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n // TODO: remove added formats\n\n this.emitter.off(\n ['add-date-type-formats'],\n (tf, types) => this.addConfigFormats(types)\n );\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 314, + "kind": "class", + "static": true, + "variation": null, + "name": "DateType", + "memberof": "src/modules/dateType.js", + "longname": "src/modules/dateType.js~DateType", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/dateType.js", + "importStyle": "{DateType}", + "description": "Wrapper for Sugar Date module providing datetime helpers and locales", + "lineNumber": 13, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "DateType" + } + ], + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 315, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#constructor", + "access": null, + "description": "Creates an instance of DateType", + "lineNumber": 19, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 316, + "kind": "member", + "static": false, + "variation": null, + "name": "locale", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#locale", + "access": null, + "description": "Global locale", + "lineNumber": 26, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 317, + "kind": "member", + "static": false, + "variation": null, + "name": "datetime", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#datetime", + "access": null, + "description": "Sugar Date instance", + "lineNumber": 32, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 318, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#init", + "access": null, + "description": "Initialize DateType instance", + "lineNumber": 40, + "params": [], + "generator": false + }, + { + "__docId__": 319, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#initialized", + "access": null, + "description": null, + "lineNumber": 60, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 320, + "kind": "method", + "static": false, + "variation": null, + "name": "parse", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#parse", + "access": null, + "description": "Parse a string representation of a date for a specified locale and return\na date object", + "lineNumber": 70, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Date}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "dateStr", + "description": "String representation of a date" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "localeCode", + "description": "Locale code (ie 'en-us')" + } + ], + "return": { + "nullable": null, + "types": [ + "Date" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 321, + "kind": "method", + "static": false, + "variation": null, + "name": "isValid", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#isValid", + "access": null, + "description": "Check string representation of a date for a specified locale is valid", + "lineNumber": 80, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "dateStr", + "description": "String representation of a date" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "localeCode", + "description": "Locale code (ie 'en-us')" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 322, + "kind": "method", + "static": false, + "variation": null, + "name": "getOptions", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#getOptions", + "access": null, + "description": "Return the type object of a specified column as per configuration or\npassed collection", + "lineNumber": 91, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "types", + "description": "Collection of column types, optional" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 323, + "kind": "method", + "static": false, + "variation": null, + "name": "getLocale", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#getLocale", + "access": null, + "description": "Return the locale code for supplied column index as per configuration\nor global setting", + "lineNumber": 103, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String} Locale code (ie: 'en-us')" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "Locale code (ie: 'en-us')" + }, + "generator": false + }, + { + "__docId__": 324, + "kind": "method", + "static": false, + "variation": null, + "name": "addConfigFormats", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#addConfigFormats", + "access": null, + "description": "Add date time format(s) to a locale as specified by the passed\ncollection of column types, ie:\n [\n 'string',\n 'number',\n { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}\n]", + "lineNumber": 118, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "types", + "description": "Collection of column types" + } + ], + "generator": false + }, + { + "__docId__": 325, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#destroy", + "access": null, + "description": "Remove DateType instance", + "lineNumber": 143, + "params": [], + "generator": false + }, + { + "__docId__": 326, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/dateType.js~DateType", + "longname": "src/modules/dateType.js~DateType#initialized", + "access": null, + "description": null, + "lineNumber": 155, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 327, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/dropdown.js", + "memberof": null, + "longname": "src/modules/dropdown.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {BaseDropdown} from './baseDropdown';\nimport {createElm, createOpt, elm} from '../dom';\nimport {has} from '../array';\nimport {matchCase} from '../string';\nimport {addEvt, targetEvt} from '../event';\nimport {SELECT, MULTIPLE, NONE} from '../const';\nimport {defaultsStr, defaultsBool} from '../settings';\n\n/**\n * Dropdown filter UI component\n * @export\n * @class Dropdown\n * @extends {BaseDropdown}\n */\nexport class Dropdown extends BaseDropdown {\n\n /**\n * Creates an instance of Dropdown\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'dropdown');\n\n // Configuration object\n let f = this.config;\n\n /**\n * Enable the reset filter option as first item\n * @type {Boolean}\n */\n this.enableSlcResetFilter =\n defaultsBool(f.enable_slc_reset_filter, true);\n\n /**\n * Non empty option text\n * @type {String}\n */\n this.nonEmptyText = defaultsStr(f.non_empty_text, '(Non empty)');\n\n /**\n * Tooltip text appearing on multiple select\n * @type {String}\n */\n this.multipleSlcTooltip = defaultsStr(f.multiple_slc_tooltip,\n 'Use Ctrl/Cmd key for multiple selections');\n }\n\n\n /**\n * Drop-down filter focus event handler\n * @param {Event} e DOM Event\n * @private\n */\n onSlcFocus(e) {\n let elm = targetEvt(e);\n let tf = this.tf;\n // select is populated when element has focus\n if (tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {\n let ct = elm.getAttribute('ct');\n this.build(ct);\n }\n this.emitter.emit('filter-focus', tf, elm);\n }\n\n /**\n * Drop-down filter change event handler\n * @private\n */\n onSlcChange() {\n if (this.tf.onSlcChange) {\n this.tf.filter();\n }\n }\n\n /**\n * Refresh all drop-down filters\n */\n refreshAll() {\n let selectFlts = this.tf.getFiltersByType(SELECT, true);\n let multipleFlts = this.tf.getFiltersByType(MULTIPLE, true);\n let colIdxs = selectFlts.concat(multipleFlts);\n this.refreshFilters(colIdxs);\n }\n\n /**\n * Initialize drop-down filter\n * @param {Number} colIndex Column index\n * @param {Boolean} isExternal External filter flag\n * @param {DOMElement} container Dom element containing the filter\n */\n init(colIndex, isExternal, container) {\n let tf = this.tf;\n let col = tf.getFilterType(colIndex);\n let externalFltTgtId = isExternal ?\n tf.externalFltTgtIds[colIndex] : null;\n\n let slc = createElm(SELECT,\n ['id', tf.buildFilterId(colIndex)],\n ['ct', colIndex], ['filled', '0']\n );\n\n if (col === MULTIPLE) {\n slc.multiple = MULTIPLE;\n slc.title = this.multipleSlcTooltip;\n }\n slc.className = col.toLowerCase() === SELECT ?\n tf.fltCssClass : tf.fltMultiCssClass;\n\n //filter is appended in container element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(slc);\n } else {\n container.appendChild(slc);\n }\n\n tf.fltIds.push(slc.id);\n\n if (!tf.loadFltOnDemand) {\n this.build(colIndex);\n } else {\n //1st option is created here since build isn't invoked\n let opt0 = createOpt(tf.getClearFilterText(colIndex), '');\n slc.appendChild(opt0);\n }\n\n addEvt(slc, 'change', () => this.onSlcChange());\n addEvt(slc, 'focus', (e) => this.onSlcFocus(e));\n\n this.emitter.on(\n ['build-select-filter'],\n (tf, colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.on(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.on(['rows-changed'], () => this.refreshAll());\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Build drop-down filter UI\n * @param {Number} colIndex Column index\n * @param {Boolean} isLinked Enable linked filters behaviour\n */\n build(colIndex, isLinked = false) {\n let tf = this.tf;\n colIndex = parseInt(colIndex, 10);\n\n this.emitter.emit('before-populating-filter', tf, colIndex);\n\n /** @inherited */\n this.opts = [];\n /** @inherited */\n this.optsTxt = [];\n\n let slcId = tf.fltIds[colIndex];\n let slc = elm(slcId);\n let rows = tf.dom().rows;\n let nbRows = tf.getRowsNb(true);\n\n //custom select test\n /** @inherited */\n this.isCustom = tf.isCustomOptions(colIndex);\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 //custom selects text\n let activeIdx;\n let activeFilterId = tf.getActiveFilterId();\n if (isLinked && activeFilterId) {\n activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);\n }\n\n let excludedOpts = null,\n filteredDataCol = null;\n if (isLinked && tf.disableExcludedOptions) {\n excludedOpts = [];\n filteredDataCol = [];\n }\n\n for (let k = tf.refRow; k < nbRows; k++) {\n // always visible rows don't need to appear on selects as always\n // valid\n if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {\n continue;\n }\n\n let cell = rows[k].cells,\n nchilds = cell.length;\n\n // checks if row has exact cell #\n if (nchilds !== tf.nbCells || this.isCustom) {\n continue;\n }\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n if (colIndex !== j) {\n continue;\n }\n if (isLinked && !tf.disableExcludedOptions &&\n (!tf.paging && !tf.isRowDisplayed(k)) ||\n (tf.paging && activeIdx && !tf.isRowValid(k))) {\n continue;\n }\n\n let cellValue = tf.getCellValue(cell[j]),\n //Vary Peter's patch\n cellString = matchCase(cellValue, tf.caseSensitive);\n\n // checks if celldata is already in array\n if (!has(this.opts, cellString, tf.caseSensitive)) {\n this.opts.push(cellValue);\n }\n\n if (isLinked && tf.disableExcludedOptions) {\n let filteredCol = filteredDataCol[j];\n if (!filteredCol) {\n filteredCol = tf.getVisibleColumnValues(j);\n }\n if (!has(filteredCol, cellString, tf.caseSensitive) &&\n !has(excludedOpts, cellString, tf.caseSensitive)) {\n excludedOpts.push(cellValue);\n }\n }\n }//for j\n }//for k\n\n //sort options\n this.opts = this.sortOptions(colIndex, this.opts);\n if (excludedOpts) {\n excludedOpts = this.sortOptions(colIndex, excludedOpts);\n }\n\n //populates drop-down\n this.addOptions(colIndex, slc, isLinked, excludedOpts);\n\n this.emitter.emit('after-populating-filter', tf, colIndex, slc);\n }\n\n /**\n * Add drop-down options\n * @param {Number} colIndex Column index\n * @param {Object} slc Select Dom element\n * @param {Boolean} isLinked Enable linked refresh behaviour\n * @param {Array} excludedOpts Array of excluded options\n */\n addOptions(colIndex, slc, isLinked, excludedOpts) {\n let tf = this.tf,\n slcValue = slc.value;\n\n slc.innerHTML = '';\n slc = this.addFirstOption(slc);\n\n for (let y = 0; y < this.opts.length; y++) {\n if (this.opts[y] === '') {\n continue;\n }\n let val = this.opts[y]; //option value\n let lbl = this.isCustom ? this.optsTxt[y] : val; //option text\n let isDisabled = false;\n if (isLinked && tf.disableExcludedOptions &&\n has(excludedOpts, matchCase(val, tf.caseSensitive),\n tf.caseSensitive)) {\n isDisabled = true;\n }\n\n let opt;\n //fill select on demand\n if (tf.loadFltOnDemand && slcValue === this.opts[y] &&\n tf.getFilterType(colIndex) === SELECT) {\n opt = createOpt(lbl, val, true);\n } else {\n opt = createOpt(lbl, val, false);\n }\n if (isDisabled) {\n opt.disabled = true;\n }\n slc.appendChild(opt);\n }// for y\n\n slc.setAttribute('filled', '1');\n }\n\n /**\n * Add drop-down header option\n * @param {Object} slc Select DOM element\n */\n addFirstOption(slc) {\n let tf = this.tf;\n let colIdx = tf.getColumnIndexFromFilterId(slc.id);\n let opt0 = createOpt((!this.enableSlcResetFilter ?\n '' : tf.getClearFilterText(colIdx)), '');\n if (!this.enableSlcResetFilter) {\n opt0.style.display = NONE;\n }\n slc.appendChild(opt0);\n if (tf.enableEmptyOption) {\n let opt1 = createOpt(tf.emptyText, tf.emOperator);\n slc.appendChild(opt1);\n }\n if (tf.enableNonEmptyOption) {\n let opt2 = createOpt(tf.nonEmptyText, tf.nmOperator);\n slc.appendChild(opt2);\n }\n return slc;\n }\n\n /**\n * Select filter options programmatically\n * @param {Number} colIndex Column index\n * @param {Array} values Array of option values to select\n */\n selectOptions(colIndex, values = []) {\n let tf = this.tf;\n if (values.length === 0) {\n return;\n }\n let slc = tf.getFilterElement(colIndex);\n [].forEach.call(slc.options, (option) => {\n // Empty value means clear all selections and first option is the\n // clear all option\n if (values[0] === '' || option.value === '') {\n option.selected = false;\n }\n\n if (option.value !== '' && has(values, option.value, true)) {\n option.selected = true;\n }//if\n });\n }\n\n /**\n * Get filter values for a given column index\n * @param {Number} colIndex Column index\n * @returns {Array} values Array of selected values\n */\n getValues(colIndex) {\n let tf = this.tf;\n let slc = tf.getFilterElement(colIndex);\n let values = [];\n\n // IE >= 9 does not support the selectedOptions property :(\n if (slc.selectedOptions) {\n [].forEach.call(slc.selectedOptions,\n option => values.push(option.value));\n } else {\n [].forEach.call(slc.options, (option) => {\n if (option.selected) {\n values.push(option.value);\n }\n });\n }\n\n return values;\n }\n\n /**\n * Destroy Dropdown instance\n */\n destroy() {\n this.emitter.off(\n ['build-select-filter'],\n (colIndex, isLinked, isExternal) =>\n this.build(colIndex, isLinked, isExternal)\n );\n this.emitter.off(\n ['select-options'],\n (tf, colIndex, values) => this.selectOptions(colIndex, values)\n );\n this.emitter.off(['rows-changed'], () => this.refreshAll());\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 328, + "kind": "class", + "static": true, + "variation": null, + "name": "Dropdown", + "memberof": "src/modules/dropdown.js", + "longname": "src/modules/dropdown.js~Dropdown", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/dropdown.js", + "importStyle": "{Dropdown}", + "description": "Dropdown filter UI component", + "lineNumber": 15, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "Dropdown" + } + ], + "interface": false, + "extends": [ + "BaseDropdown" + ] + }, + { + "__docId__": 329, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#constructor", + "access": null, + "description": "Creates an instance of Dropdown", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 330, + "kind": "member", + "static": false, + "variation": null, + "name": "enableSlcResetFilter", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#enableSlcResetFilter", + "access": null, + "description": "Enable the reset filter option as first item", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 331, + "kind": "member", + "static": false, + "variation": null, + "name": "nonEmptyText", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#nonEmptyText", + "access": null, + "description": "Non empty option text", + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 332, + "kind": "member", + "static": false, + "variation": null, + "name": "multipleSlcTooltip", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#multipleSlcTooltip", + "access": null, + "description": "Tooltip text appearing on multiple select", + "lineNumber": 44, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 333, + "kind": "method", + "static": false, + "variation": null, + "name": "onSlcFocus", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#onSlcFocus", + "access": "private", + "description": "Drop-down filter focus event handler", + "lineNumber": 54, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "e", + "description": "DOM Event" + } + ], + "generator": false + }, + { + "__docId__": 334, + "kind": "method", + "static": false, + "variation": null, + "name": "onSlcChange", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#onSlcChange", + "access": "private", + "description": "Drop-down filter change event handler", + "lineNumber": 69, + "params": [], + "generator": false + }, + { + "__docId__": 335, + "kind": "method", + "static": false, + "variation": null, + "name": "refreshAll", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#refreshAll", + "access": null, + "description": "Refresh all drop-down filters", + "lineNumber": 78, + "params": [], + "generator": false + }, + { + "__docId__": 336, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#init", + "access": null, + "description": "Initialize drop-down filter", + "lineNumber": 91, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isExternal", + "description": "External filter flag" + }, + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "container", + "description": "Dom element containing the filter" + } + ], + "generator": false + }, + { + "__docId__": 337, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#initialized", + "access": null, + "description": null, + "lineNumber": 141, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 338, + "kind": "method", + "static": false, + "variation": null, + "name": "build", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#build", + "access": null, + "description": "Build drop-down filter UI", + "lineNumber": 149, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isLinked", + "description": "Enable linked filters behaviour" + } + ], + "generator": false + }, + { + "__docId__": 339, + "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": 156, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 340, + "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": 158, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 341, + "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": 167, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 342, + "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": 172, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 343, + "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": 173, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 344, + "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": 239, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 345, + "kind": "method", + "static": false, + "variation": null, + "name": "addOptions", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#addOptions", + "access": null, + "description": "Add drop-down options", + "lineNumber": 257, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "slc", + "description": "Select Dom element" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isLinked", + "description": "Enable linked refresh behaviour" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "excludedOpts", + "description": "Array of excluded options" + } + ], + "generator": false + }, + { + "__docId__": 346, + "kind": "method", + "static": false, + "variation": null, + "name": "addFirstOption", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#addFirstOption", + "access": null, + "description": "Add drop-down header option", + "lineNumber": 298, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "slc", + "description": "Select DOM element" + } + ], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 347, + "kind": "method", + "static": false, + "variation": null, + "name": "selectOptions", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#selectOptions", + "access": null, + "description": "Select filter options programmatically", + "lineNumber": 323, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "values", + "description": "Array of option values to select" + } + ], + "generator": false + }, + { + "__docId__": 348, + "kind": "method", + "static": false, + "variation": null, + "name": "getValues", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#getValues", + "access": null, + "description": "Get filter values for a given column index", + "lineNumber": 347, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Array} values Array of selected values" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "values Array of selected values" + }, + "generator": false + }, + { + "__docId__": 349, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#destroy", + "access": null, + "description": "Destroy Dropdown instance", + "lineNumber": 370, + "params": [], + "generator": false + }, + { + "__docId__": 350, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/dropdown.js~Dropdown", + "longname": "src/modules/dropdown.js~Dropdown#initialized", + "access": null, + "description": null, + "lineNumber": 381, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 351, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/gridLayout.js", + "memberof": null, + "longname": "src/modules/gridLayout.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, removeElm, elm, tag} from '../dom';\nimport {addEvt, targetEvt} from '../event';\nimport {contains} from '../string';\nimport {NONE} from '../const';\nimport {\n defaultsBool, defaultsStr, defaultsNb, defaultsArr\n} from '../settings';\n\n/**\n * Grid layout, table with fixed headers\n */\nexport class GridLayout extends Feature {\n\n /**\n * Creates an instance of GridLayout\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'gridLayout');\n\n let f = this.config.grid_layout || {};\n\n /**\n * Grid-layout container width as CSS string\n * @type {String}\n */\n this.width = defaultsStr(f.width, null);\n\n /**\n * Grid-layout container height as CSS string\n * @type {String}\n */\n this.height = defaultsStr(f.height, null);\n\n /**\n * Css class for main container element\n * @type {String}\n */\n this.mainContCssClass = defaultsStr(f.cont_css_class, 'grd_Cont');\n\n /**\n * Css class for body table container element\n * @type {String}\n */\n this.contCssClass = defaultsStr(f.tbl_cont_css_class, 'grd_tblCont');\n\n /**\n * Css class for headers table container element\n * @type {String}\n */\n this.headContCssClass = defaultsStr(f.tbl_head_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 = defaultsStr(f.inf_grid_css_class, 'grd_inf');\n\n /**\n * Index of the headers row, default: 0\n * @type {Number}\n */\n this.headRowIndex = defaultsNb(f.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 = defaultsArr(f.headers_rows, [0]);\n\n /**\n * Enable or disable column filters generation, default: true\n * @type {Boolean}\n */\n this.filters = defaultsBool(f.filters, true);\n\n /**\n * Enable or disable column headers, default: false\n * @type {Boolean}\n */\n this.noHeaders = Boolean(f.no_headers);\n\n /**\n * Grid-layout default column widht as CSS string\n * @type {String}\n */\n this.defaultColWidth = defaultsStr(f.default_col_width, '100px');\n\n /**\n * List of column elements\n * @type {Array}\n * @private\n */\n this.colElms = [];\n\n /**\n * Prefix for grid-layout filter's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridFltTd = '_td_';\n\n /**\n * Prefix for grid-layout header's cell ID\n * @type {String}\n * @private\n */\n this.prfxGridTh = 'tblHeadTh_';\n\n /**\n * Mark-up of original HTML table\n * @type {String}\n * @private\n */\n this.sourceTblHtml = tf.dom().outerHTML;\n\n /**\n * Indicates if working table has column elements\n * @type {Boolean}\n * @private\n */\n this.tblHasColTag = tag(tf.dom(), 'col').length > 0 ? true : false;\n\n /**\n * Main container element\n * @private\n */\n this.tblMainCont = null;\n\n /**\n * Table container element\n * @private\n */\n this.tblCont = null;\n\n /**\n * Headers' table container element\n * @private\n */\n this.headTblCont = null;\n\n /**\n * Headers' table element\n * @private\n */\n this.headTbl = null;\n\n // filters flag at TF level\n tf.fltGrid = this.filters;\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.dom();\n\n if (this.initialized) {\n return;\n }\n\n // Override relevant TableFilter properties\n this.setOverrides();\n\n // Assign default column widths\n this.setDefaultColWidths();\n\n // Initial table width\n let tblW = this.initialTableWidth();\n\n //Main container: it will contain all the elements\n this.tblMainCont = this.createContainer(\n 'div', this.mainContCssClass);\n if (this.width) {\n this.tblMainCont.style.width = this.width;\n }\n tbl.parentNode.insertBefore(this.tblMainCont, tbl);\n\n //Table container: div wrapping content table\n this.tblCont = this.createContainer('div', this.contCssClass);\n this.setConfigWidth(this.tblCont);\n if (this.height) {\n this.tblCont.style.height = this.height;\n }\n tbl.parentNode.insertBefore(this.tblCont, tbl);\n let t = removeElm(tbl);\n this.tblCont.appendChild(t);\n\n //In case table width is expressed in %\n if (tbl.style.width === '') {\n tbl.style.width = (contains('%', tblW) ?\n tbl.clientWidth : tblW) + 'px';\n }\n\n let d = removeElm(this.tblCont);\n this.tblMainCont.appendChild(d);\n\n //Headers table container: div wrapping headers table\n this.headTblCont = this.createContainer(\n 'div', this.headContCssClass);\n\n //Headers table\n this.headTbl = createElm('table');\n let tH = createElm('tHead');\n\n //1st row should be headers row, ids are added if not set\n //Those ids are used by the sort feature\n let hRow = tbl.rows[this.headRowIndex];\n let sortTriggers = this.getSortTriggerIds(hRow);\n\n //Filters row is created\n let filtersRow = this.createFiltersRow();\n\n //Headers row are moved from content table to headers table\n this.setHeadersRow(tH);\n\n this.headTbl.appendChild(tH);\n if (tf.filtersRowIndex === 0) {\n tH.insertBefore(filtersRow, hRow);\n } else {\n tH.appendChild(filtersRow);\n }\n\n this.headTblCont.appendChild(this.headTbl);\n this.tblCont.parentNode.insertBefore(this.headTblCont, this.tblCont);\n\n //THead needs to be removed in content table for sort feature\n let thead = tag(tbl, 'thead');\n if (thead.length > 0) {\n tbl.removeChild(thead[0]);\n }\n\n // ensure table layout is always set even if already set in css\n // definitions, potentially with custom css class this could be lost\n this.headTbl.style.tableLayout = 'fixed';\n tbl.style.tableLayout = 'fixed';\n\n //content table without headers needs col widths to be reset\n tf.setColWidths(this.headTbl);\n\n //Headers container width\n this.headTbl.style.width = tbl.style.width;\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 /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Overrides TableFilter instance properties to adjust to grid layout mode\n * @private\n */\n setOverrides() {\n let tf = this.tf;\n tf.refRow = 0;\n tf.headersRow = 0;\n tf.filtersRowIndex = 1;\n }\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.colWidths.length > 0) {\n return;\n }\n for (let k = 0, len = tf.getCellsNb(); k < len; k++) {\n let colW;\n let cell = tf.dom().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.setColWidths();\n }\n\n /**\n * Initial table width\n * @returns {Number}\n * @private\n */\n initialTableWidth() {\n let tbl = this.tf.dom();\n let width; //initial table width\n\n if (tbl.width !== '') {\n width = tbl.width;\n }\n else if (tbl.style.width !== '') {\n width = tbl.style.width;\n } else {\n width = tbl.clientWidth;\n }\n return parseInt(width, 10);\n }\n\n /**\n * Creates container element\n * @param {String} tag Tag name\n * @param {String} className Css class to assign to element\n * @returns {DOMElement}\n * @private\n */\n createContainer(tag, className) {\n let element = createElm(tag);\n element.className = className;\n return element;\n }\n\n /**\n * Creates filters row with cells\n * @returns {HTMLTableRowElement}\n * @private\n */\n createFiltersRow() {\n let tf = this.tf;\n let filtersRow = createElm('tr');\n if (this.filters && 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.dom(), 'col');\n this.tblHasColTag = cols.length > 0;\n\n for (let k = (tf.nbCells - 1); k >= 0; k--) {\n let col;\n\n if (!this.tblHasColTag) {\n col = createElm('col');\n tf.dom().insertBefore(col, tf.dom().firstChild);\n } else {\n col = cols[k];\n }\n col.style.width = tf.colWidths[k];\n this.colElms[k] = col;\n }\n this.tblHasColTag = true;\n }\n\n /**\n * Sets headers row in headers table\n * @param {HTMLHeadElement} tableHead Table head element\n * @private\n */\n setHeadersRow(tableHead) {\n if (this.noHeaders) {\n // Handle table with no headers, assuming here headers do not\n // exist\n tableHead.appendChild(createElm('tr'));\n } else {\n // Headers row are moved from content table to headers table\n for (let i = 0; i < this.headRows.length; i++) {\n let row = this.tf.dom().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.dom();\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__": 352, + "kind": "class", + "static": true, + "variation": null, + "name": "GridLayout", + "memberof": "src/modules/gridLayout.js", + "longname": "src/modules/gridLayout.js~GridLayout", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/gridLayout.js", + "importStyle": "{GridLayout}", + "description": "Grid layout, table with fixed headers", + "lineNumber": 13, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 353, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#constructor", + "access": null, + "description": "Creates an instance of GridLayout", + "lineNumber": 19, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 354, + "kind": "member", + "static": false, + "variation": null, + "name": "width", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#width", + "access": null, + "description": "Grid-layout container width as CSS string", + "lineNumber": 28, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 355, + "kind": "member", + "static": false, + "variation": null, + "name": "height", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#height", + "access": null, + "description": "Grid-layout container height as CSS string", + "lineNumber": 34, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 356, + "kind": "member", + "static": false, + "variation": null, + "name": "mainContCssClass", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#mainContCssClass", + "access": null, + "description": "Css class for main container element", + "lineNumber": 40, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 357, + "kind": "member", + "static": false, + "variation": null, + "name": "contCssClass", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#contCssClass", + "access": null, + "description": "Css class for body table container element", + "lineNumber": 46, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 358, + "kind": "member", + "static": false, + "variation": null, + "name": "headContCssClass", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headContCssClass", + "access": null, + "description": "Css class for headers table container element", + "lineNumber": 52, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 359, + "kind": "member", + "static": false, + "variation": null, + "name": "infDivCssClass", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#infDivCssClass", + "access": null, + "description": "Css class for toolbar container element (rows counter, paging etc.)", + "lineNumber": 59, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 360, + "kind": "member", + "static": false, + "variation": null, + "name": "headRowIndex", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headRowIndex", + "access": null, + "description": "Index of the headers row, default: 0", + "lineNumber": 65, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 361, + "kind": "member", + "static": false, + "variation": null, + "name": "headRows", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headRows", + "access": null, + "description": "Collection of the header row indexes to be moved into headers table", + "lineNumber": 71, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 362, + "kind": "member", + "static": false, + "variation": null, + "name": "filters", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#filters", + "access": null, + "description": "Enable or disable column filters generation, default: true", + "lineNumber": 77, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 363, + "kind": "member", + "static": false, + "variation": null, + "name": "noHeaders", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#noHeaders", + "access": null, + "description": "Enable or disable column headers, default: false", + "lineNumber": 83, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 364, + "kind": "member", + "static": false, + "variation": null, + "name": "defaultColWidth", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#defaultColWidth", + "access": null, + "description": "Grid-layout default column widht as CSS string", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 365, + "kind": "member", + "static": false, + "variation": null, + "name": "colElms", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#colElms", + "access": "private", + "description": "List of column elements", + "lineNumber": 96, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 366, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxGridFltTd", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#prfxGridFltTd", + "access": "private", + "description": "Prefix for grid-layout filter's cell ID", + "lineNumber": 103, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 367, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxGridTh", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#prfxGridTh", + "access": "private", + "description": "Prefix for grid-layout header's cell ID", + "lineNumber": 110, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 368, + "kind": "member", + "static": false, + "variation": null, + "name": "sourceTblHtml", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#sourceTblHtml", + "access": "private", + "description": "Mark-up of original HTML table", + "lineNumber": 117, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 369, + "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": 124, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 370, + "kind": "member", + "static": false, + "variation": null, + "name": "tblMainCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblMainCont", + "access": "private", + "description": "Main container element", + "lineNumber": 130, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 371, + "kind": "member", + "static": false, + "variation": null, + "name": "tblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#tblCont", + "access": "private", + "description": "Table container element", + "lineNumber": 136, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 372, + "kind": "member", + "static": false, + "variation": null, + "name": "headTblCont", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#headTblCont", + "access": "private", + "description": "Headers' table container element", + "lineNumber": 142, + "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": "private", + "description": "Headers' table element", + "lineNumber": 148, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 374, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#init", + "access": null, + "description": "Generates a grid with fixed headers\nTODO: reduce size of init by extracting single purposed methods", + "lineNumber": 158, + "params": [], + "generator": false + }, + { + "__docId__": 375, + "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": 176, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 376, + "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": 184, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 377, + "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": 203, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 378, + "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": 207, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 379, + "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": 287, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 380, + "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": 294, + "params": [], + "generator": false + }, + { + "__docId__": 381, + "kind": "method", + "static": false, + "variation": null, + "name": "setDefaultColWidths", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#setDefaultColWidths", + "access": "private", + "description": "Set grid-layout default column widths if column widths are not defined", + "lineNumber": 305, + "params": [], + "generator": false + }, + { + "__docId__": 382, + "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": 330, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Number}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 383, + "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": 352, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{DOMElement}" + } + ], + "params": [ + { + "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__": 384, + "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": 363, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{HTMLTableRowElement}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "HTMLTableRowElement" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 385, + "kind": "method", + "static": false, + "variation": null, + "name": "setColumnElements", + "memberof": "src/modules/gridLayout.js~GridLayout", + "longname": "src/modules/gridLayout.js~GridLayout#setColumnElements", + "access": "private", + "description": "Generates column elements if necessary and assigns their widths", + "lineNumber": 382, + "params": [], + "generator": false + }, + { + "__docId__": 386, + "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": 385, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 387, + "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": 399, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 388, + "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": 407, + "params": [ + { + "nullable": null, + "types": [ + "HTMLHeadElement" + ], + "spread": false, + "optional": false, + "name": "tableHead", + "description": "Table head element" + } + ], + "generator": false + }, + { + "__docId__": 389, + "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": 426, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "element", + "description": "DOM element" + } + ], + "generator": false + }, + { + "__docId__": 390, + "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": 443, + "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__": 391, + "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": 461, + "params": [], + "generator": false + }, + { + "__docId__": 392, + "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": 472, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 393, + "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": 473, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 394, + "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": 474, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 395, + "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": 475, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 396, + "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": 481, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 397, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/hash.js", + "memberof": null, + "longname": "src/modules/hash.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {addEvt, removeEvt} from '../event';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst location = root.location;\nconst decodeURIComponent = root.decodeURIComponent;\nconst encodeURIComponent = root.encodeURIComponent;\n\n/**\n * Checks if browser has onhashchange event\n */\nexport const hasHashChange = () => {\n let docMode = root.documentMode;\n return ('onhashchange' in root) && (docMode === undefined || docMode > 7);\n};\n\n/**\n * Manages state via URL hash changes\n *\n * @export\n * @class Hash\n */\nexport class Hash {\n\n /**\n * Creates an instance of Hash\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n /**\n * State object\n * @type {State}\n */\n this.state = state;\n\n /**\n * Cached URL hash\n * @type {String} Hash string\n * @private\n */\n this.lastHash = null;\n\n /**\n * Application event emitter instance\n * @type {Emitter}\n */\n this.emitter = state.emitter;\n\n /**\n * Bound sync wrapper for future use\n * @private\n */\n this.boundSync = null;\n }\n\n /**\n * Initializes the Hash object\n */\n init() {\n if (!hasHashChange()) {\n return;\n }\n\n this.lastHash = location.hash;\n //Store a bound sync wrapper\n this.boundSync = this.sync.bind(this);\n this.emitter.on(['state-changed'], (tf, state) => this.update(state));\n this.emitter.on(['initialized'], this.boundSync);\n addEvt(root, 'hashchange', this.boundSync);\n }\n\n /**\n * Updates the URL hash based on a state change\n *\n * @param {State} state Instance of State\n */\n update(state) {\n let hash = `#${encodeURIComponent(JSON.stringify(state))}`;\n if (this.lastHash === hash) {\n return;\n }\n\n location.hash = hash;\n this.lastHash = hash;\n }\n\n /**\n * Converts a URL hash into a state JSON object\n *\n * @param {String} hash URL hash fragment\n * @returns {Object} JSON object\n */\n parse(hash) {\n if (hash.indexOf('#') === -1) {\n return null;\n }\n hash = hash.substr(1);\n return JSON.parse(decodeURIComponent(hash));\n }\n\n /**\n * Applies current hash state to features\n */\n sync() {\n let state = this.parse(location.hash);\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Release Hash event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.update(state));\n this.emitter.off(['initialized'], this.boundSync);\n removeEvt(root, 'hashchange', this.boundSync);\n\n this.state = null;\n this.lastHash = null;\n this.emitter = null;\n }\n}\n" + }, + { + "__docId__": 398, + "kind": "variable", + "static": true, + "variation": null, + "name": "JSON", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~JSON", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 399, + "kind": "variable", + "static": true, + "variation": null, + "name": "location", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~location", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": null, + "description": null, + "lineNumber": 5, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 400, + "kind": "variable", + "static": true, + "variation": null, + "name": "decodeURIComponent", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~decodeURIComponent", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 401, + "kind": "variable", + "static": true, + "variation": null, + "name": "encodeURIComponent", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~encodeURIComponent", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 402, + "kind": "variable", + "static": true, + "variation": null, + "name": "hasHashChange", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~hasHashChange", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": "{hasHashChange}", + "description": "Checks if browser has onhashchange event", + "lineNumber": 12, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 403, + "kind": "class", + "static": true, + "variation": null, + "name": "Hash", + "memberof": "src/modules/hash.js", + "longname": "src/modules/hash.js~Hash", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/hash.js", + "importStyle": "{Hash}", + "description": "Manages state via URL hash changes", + "lineNumber": 23, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "Hash" + } + ], + "interface": false + }, + { + "__docId__": 404, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#constructor", + "access": null, + "description": "Creates an instance of Hash", + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "Instance of State" + } + ], + "generator": false + }, + { + "__docId__": 405, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#state", + "access": null, + "description": "State object", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 406, + "kind": "member", + "static": false, + "variation": null, + "name": "lastHash", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#lastHash", + "access": "private", + "description": "Cached URL hash", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 407, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#emitter", + "access": null, + "description": "Application event emitter instance", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Emitter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 408, + "kind": "member", + "static": false, + "variation": null, + "name": "boundSync", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#boundSync", + "access": "private", + "description": "Bound sync wrapper for future use", + "lineNumber": 54, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 409, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#init", + "access": null, + "description": "Initializes the Hash object", + "lineNumber": 60, + "params": [], + "generator": false + }, + { + "__docId__": 410, + "kind": "member", + "static": false, + "variation": null, + "name": "lastHash", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#lastHash", + "access": null, + "description": null, + "lineNumber": 65, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 411, + "kind": "member", + "static": false, + "variation": null, + "name": "boundSync", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#boundSync", + "access": null, + "description": null, + "lineNumber": 67, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 412, + "kind": "method", + "static": false, + "variation": null, + "name": "update", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#update", + "access": null, + "description": "Updates the URL hash based on a state change", + "lineNumber": 78, + "params": [ + { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "Instance of State" + } + ], + "generator": false + }, + { + "__docId__": 413, + "kind": "member", + "static": false, + "variation": null, + "name": "lastHash", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#lastHash", + "access": null, + "description": null, + "lineNumber": 85, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 414, + "kind": "method", + "static": false, + "variation": null, + "name": "parse", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#parse", + "access": null, + "description": "Converts a URL hash into a state JSON object", + "lineNumber": 94, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object} JSON object" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "hash", + "description": "URL hash fragment" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "JSON object" + }, + "generator": false + }, + { + "__docId__": 415, + "kind": "method", + "static": false, + "variation": null, + "name": "sync", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#sync", + "access": null, + "description": "Applies current hash state to features", + "lineNumber": 105, + "params": [], + "generator": false + }, + { + "__docId__": 416, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#destroy", + "access": null, + "description": "Release Hash event subscriptions and clear fields", + "lineNumber": 117, + "params": [], + "generator": false + }, + { + "__docId__": 417, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#state", + "access": null, + "description": null, + "lineNumber": 122, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 418, + "kind": "member", + "static": false, + "variation": null, + "name": "lastHash", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#lastHash", + "access": null, + "description": null, + "lineNumber": 123, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 419, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/modules/hash.js~Hash", + "longname": "src/modules/hash.js~Hash#emitter", + "access": null, + "description": null, + "lineNumber": 124, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 420, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/help.js", + "memberof": null, + "longname": "src/modules/help.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {addEvt, targetEvt, removeEvt} from '../event';\nimport {NONE} from '../const';\nimport {root} from '../root';\nimport {isEmpty} from '../types';\nimport {defaultsStr} from '../settings';\n\nconst WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +\n '4.-Filter-operators';\nconst WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';\n\n/**\n * Help UI component\n */\nexport class Help extends Feature {\n\n /**\n * Creates an instance of Help\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'help');\n\n let f = this.config.help_instructions || {};\n\n /**\n * ID of main custom container element\n * @type {String}\n */\n this.tgtId = defaultsStr(f.target_id, null);\n\n /**\n * ID of custom container element for instructions\n * @type {String}\n */\n this.contTgtId = defaultsStr(f.container_target_id, null);\n\n /**\n * Instructions text (accepts HTML)\n * @type {String}\n */\n this.instrText = !isEmpty(f.text) ? f.text :\n 'Use the filters above each column to filter and limit table ' +\n 'data. Advanced searches can be performed by using the following ' +\n 'operators:
<, <=, >, ' +\n '>=, =, *, !, {, }, ' +\n '||,&&, [empty], [nonempty], ' +\n 'rgx:
' +\n 'Learn more
';\n\n /**\n * Instructions HTML\n * @type {String}\n */\n this.instrHtml = defaultsStr(f.html, null);\n\n /**\n * Help button text ('?')\n * @type {String}\n */\n this.btnText = defaultsStr(f.btn_text, '?');\n\n /**\n * Custom help button HTML\n * @type {String}\n */\n this.btnHtml = defaultsStr(f.btn_html, null);\n\n /**\n * Css class for help button\n * @type {String}\n */\n this.btnCssClass = defaultsStr(f.btn_css_class, 'helpBtn');\n\n /**\n * Css class for help container element\n * @type {String}\n */\n this.contCssClass = defaultsStr(f.container_css_class, 'helpCont');\n\n /**\n * Button DOM element\n * @type {DOMElement}\n */\n this.btn = null;\n\n /**\n * Help container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Bound mouseup wrapper\n * @private\n */\n this.boundMouseup = null;\n\n /**\n * Default HTML appended to instructions text\n * @type {String}\n */\n this.defaultHtml = '

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

' + '' + WEBSITE_URL + '' +\n '
©2015-' + tf.year + ' {AUTHOR}' +\n '
' +\n 'Close
';\n\n this.emitter.on(['init-help'], () => this.init());\n }\n\n /**\n * Mouse-up event handler handling popup auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n let targetElm = targetEvt(evt);\n\n while (targetElm && targetElm !== this.cont && targetElm !== this.btn) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== this.cont && targetElm !== this.btn) {\n this.toggle();\n }\n\n return;\n }\n\n /**\n * Initialise Help instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n let btn = createElm('span');\n let cont = createElm('div');\n\n this.boundMouseup = this.onMouseup.bind(this);\n\n //help button is added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);\n targetEl.appendChild(btn);\n\n let divContainer = !this.contTgtId ? btn : elm(this.contTgtId);\n\n if (!this.btnHtml) {\n divContainer.appendChild(cont);\n let helplink = createElm('a', ['href', 'javascript:void(0);']);\n helplink.className = this.btnCssClass;\n helplink.appendChild(createText(this.btnText));\n btn.appendChild(helplink);\n addEvt(helplink, 'click', () => this.toggle());\n } else {\n btn.innerHTML = this.btnHtml;\n let helpEl = btn.firstChild;\n addEvt(helpEl, 'click', () => this.toggle());\n divContainer.appendChild(cont);\n }\n\n if (!this.instrHtml) {\n cont.innerHTML = this.instrText;\n cont.className = this.contCssClass;\n } else {\n if (this.contTgtId) {\n divContainer.appendChild(cont);\n }\n cont.innerHTML = this.instrHtml;\n if (!this.contTgtId) {\n cont.className = this.contCssClass;\n }\n }\n cont.innerHTML += this.defaultHtml;\n addEvt(cont, 'click', () => this.toggle());\n\n this.cont = cont;\n this.btn = btn;\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Toggle help pop-up\n */\n toggle() {\n // check only if explicitily disabled as in this case undefined\n // signifies the help feature is enabled by default\n if (!this.isEnabled()) {\n return;\n }\n\n // ensure mouseup event handler is removed\n removeEvt(root, 'mouseup', this.boundMouseup);\n\n let divDisplay = this.cont.style.display;\n if (divDisplay === '' || divDisplay === NONE) {\n this.cont.style.display = 'inline';\n addEvt(root, 'mouseup', this.boundMouseup);\n } else {\n this.cont.style.display = NONE;\n }\n }\n\n /**\n * Remove help UI\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.btn);\n this.btn = null;\n\n removeElm(this.cont);\n this.cont = null;\n\n this.boundMouseup = null;\n this.initialized = false;\n }\n\n}\n" + }, + { + "__docId__": 421, + "kind": "variable", + "static": true, + "variation": null, + "name": "WIKI_URL", + "memberof": "src/modules/help.js", + "longname": "src/modules/help.js~WIKI_URL", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/help.js", + "importStyle": null, + "description": null, + "lineNumber": 9, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 422, + "kind": "variable", + "static": true, + "variation": null, + "name": "WEBSITE_URL", + "memberof": "src/modules/help.js", + "longname": "src/modules/help.js~WEBSITE_URL", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/help.js", + "importStyle": null, + "description": null, + "lineNumber": 11, + "undocument": true, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 423, + "kind": "class", + "static": true, + "variation": null, + "name": "Help", + "memberof": "src/modules/help.js", + "longname": "src/modules/help.js~Help", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/help.js", + "importStyle": "{Help}", + "description": "Help UI component", + "lineNumber": 16, + "interface": false, + "extends": [ + "src/feature.js~Feature" + ] + }, + { + "__docId__": 424, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#constructor", + "access": null, + "description": "Creates an instance of Help", + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 425, + "kind": "member", + "static": false, + "variation": null, + "name": "tgtId", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#tgtId", + "access": null, + "description": "ID of main custom container element", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 426, + "kind": "member", + "static": false, + "variation": null, + "name": "contTgtId", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#contTgtId", + "access": null, + "description": "ID of custom container element for instructions", + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 427, + "kind": "member", + "static": false, + "variation": null, + "name": "instrText", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#instrText", + "access": null, + "description": "Instructions text (accepts HTML)", + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 428, + "kind": "member", + "static": false, + "variation": null, + "name": "instrHtml", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#instrHtml", + "access": null, + "description": "Instructions HTML", + "lineNumber": 56, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 429, + "kind": "member", + "static": false, + "variation": null, + "name": "btnText", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btnText", + "access": null, + "description": "Help button text ('?')", + "lineNumber": 62, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 430, + "kind": "member", + "static": false, + "variation": null, + "name": "btnHtml", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btnHtml", + "access": null, + "description": "Custom help button HTML", + "lineNumber": 68, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 431, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCssClass", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btnCssClass", + "access": null, + "description": "Css class for help button", + "lineNumber": 74, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 432, + "kind": "member", + "static": false, + "variation": null, + "name": "contCssClass", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#contCssClass", + "access": null, + "description": "Css class for help container element", + "lineNumber": 80, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 433, + "kind": "member", + "static": false, + "variation": null, + "name": "btn", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btn", + "access": null, + "description": "Button DOM element", + "lineNumber": 86, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 434, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#cont", + "access": null, + "description": "Help container DOM element", + "lineNumber": 92, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 435, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#boundMouseup", + "access": "private", + "description": "Bound mouseup wrapper", + "lineNumber": 98, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 436, + "kind": "member", + "static": false, + "variation": null, + "name": "defaultHtml", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#defaultHtml", + "access": null, + "description": "Default HTML appended to instructions text", + "lineNumber": 104, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 437, + "kind": "method", + "static": false, + "variation": null, + "name": "onMouseup", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#onMouseup", + "access": "private", + "description": "Mouse-up event handler handling popup auto-close behaviour", + "lineNumber": 118, + "params": [ + { + "name": "evt", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 438, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#init", + "access": null, + "description": "Initialise Help instance", + "lineNumber": 135, + "params": [], + "generator": false + }, + { + "__docId__": 439, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#boundMouseup", + "access": null, + "description": null, + "lineNumber": 145, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 440, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#cont", + "access": null, + "description": null, + "lineNumber": 185, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 441, + "kind": "member", + "static": false, + "variation": null, + "name": "btn", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btn", + "access": null, + "description": null, + "lineNumber": 186, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 442, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#initialized", + "access": null, + "description": null, + "lineNumber": 188, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 443, + "kind": "method", + "static": false, + "variation": null, + "name": "toggle", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#toggle", + "access": null, + "description": "Toggle help pop-up", + "lineNumber": 194, + "params": [], + "generator": false + }, + { + "__docId__": 444, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#destroy", + "access": null, + "description": "Remove help UI", + "lineNumber": 216, + "params": [], + "generator": false + }, + { + "__docId__": 445, + "kind": "member", + "static": false, + "variation": null, + "name": "btn", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#btn", + "access": null, + "description": null, + "lineNumber": 221, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 446, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#cont", + "access": null, + "description": null, + "lineNumber": 224, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 447, + "kind": "member", + "static": false, + "variation": null, + "name": "boundMouseup", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#boundMouseup", + "access": null, + "description": null, + "lineNumber": 226, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 448, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/help.js~Help", + "longname": "src/modules/help.js~Help#initialized", + "access": null, + "description": null, + "lineNumber": 227, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 449, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/highlightKeywords.js", + "memberof": null, + "longname": "src/modules/highlightKeywords.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {createText, createElm, getText} from '../dom';\nimport {isArray} from '../types';\nimport {rgxEsc} from '../string';\nimport {defaultsStr} from '../settings';\n\n/**\n * Highlight matched keywords upon filtering\n *\n * @export\n * @class HighlightKeyword\n */\nexport class HighlightKeyword {\n\n /**\n * Creates an instance of HighlightKeyword\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n let f = tf.config();\n\n /**\n * Css class for highlighted term\n * @type {String}\n */\n this.highlightCssClass = defaultsStr(f.highlight_css_class, 'keyword');\n\n /**\n * TableFilter instance\n * @type {TableFilter}\n */\n this.tf = tf;\n\n /**\n * TableFilter's emitter instance\n * @type {Emitter}\n */\n this.emitter = tf.emitter;\n }\n\n /**\n * Initializes HighlightKeyword instance\n */\n init() {\n this.emitter.on(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.on(\n ['highlight-keyword'],\n (tf, cell, term) => this._processTerm(cell, term)\n );\n }\n\n /**\n * Highlight occurences of searched term in passed node\n * @param {Node} node\n * @param {String} term Searched term\n * @param {String} cssClass Css class name\n *\n * TODO: refactor this method\n */\n highlight(node, term, cssClass) {\n // Iterate into this nodes childNodes\n if (node.hasChildNodes) {\n let children = node.childNodes;\n for (let i = 0; i < children.length; i++) {\n this.highlight(children[i], term, cssClass);\n }\n }\n\n if (node.nodeType === 3) {\n let nodeVal = node.nodeValue.toLowerCase();\n let termIdx = nodeVal.indexOf(term.toLowerCase());\n\n if (termIdx !== -1) {\n let pn = node.parentNode;\n if (pn && pn.className !== cssClass) {\n // term not highlighted yet\n let nv = node.nodeValue,\n // Create a load of replacement nodes\n before = createText(nv.substr(0, termIdx)),\n value = nv.substr(termIdx, term.length),\n after = createText(nv.substr(termIdx + term.length)),\n text = createText(value),\n container = createElm('span');\n container.className = cssClass;\n container.appendChild(text);\n pn.insertBefore(before, node);\n pn.insertBefore(container, node);\n pn.insertBefore(after, node);\n pn.removeChild(node);\n }\n }\n }\n }\n\n /**\n * Removes highlight to nodes matching passed string\n * @param {String} term\n * @param {String} cssClass Css class to remove\n */\n unhighlight(term, cssClass) {\n let highlightedNodes = this.tf.dom().querySelectorAll(`.${cssClass}`);\n for (let i = 0; i < highlightedNodes.length; i++) {\n let n = highlightedNodes[i];\n let nodeVal = getText(n);\n\n if (nodeVal.toLowerCase().indexOf(term.toLowerCase()) !== -1) {\n let parentNode = n.parentNode;\n parentNode.replaceChild(createText(nodeVal), n);\n parentNode.normalize();\n }\n }\n }\n\n /**\n * Clear all occurrences of highlighted nodes\n */\n unhighlightAll() {\n if (!this.tf.highlightKeywords) {\n return;\n }\n // iterate filters values to unhighlight all values\n this.tf.getFiltersValue().forEach((val) => {\n if (isArray(val)) {\n val.forEach((item) =>\n this.unhighlight(item, this.highlightCssClass));\n } else {\n this.unhighlight(val, this.highlightCssClass);\n }\n });\n }\n\n /** Remove feature */\n destroy() {\n this.emitter.off(\n ['before-filtering', 'destroy'],\n () => this.unhighlightAll()\n );\n this.emitter.off(\n ['highlight-keyword'],\n (tf, cell, term) => this._processTerm(cell, term)\n );\n }\n\n /**\n * Ensure filtering operators are handled before highlighting any match\n * @param {any} Table cell to look searched term into\n * @param {any} Searched termIdx\n */\n _processTerm(cell, term) {\n let tf = this.tf;\n let reLk = new RegExp(rgxEsc(tf.lkOperator));\n let reEq = new RegExp(tf.eqOperator);\n let reSt = new RegExp(tf.stOperator);\n let reEn = new RegExp(tf.enOperator);\n let reLe = new RegExp(tf.leOperator);\n let reGe = new RegExp(tf.geOperator);\n let reL = new RegExp(tf.lwOperator);\n let reG = new RegExp(tf.grOperator);\n let reD = new RegExp(tf.dfOperator);\n\n term = term\n .replace(reLk, '')\n .replace(reEq, '')\n .replace(reSt, '')\n .replace(reEn, '');\n\n if (reLe.test(term) || reGe.test(term) || reL.test(term) ||\n reG.test(term) || reD.test(term)) {\n term = getText(cell);\n }\n\n if (term === '') {\n return;\n }\n\n this.highlight(cell, term, this.highlightCssClass);\n }\n}\n" + }, + { + "__docId__": 450, + "kind": "class", + "static": true, + "variation": null, + "name": "HighlightKeyword", + "memberof": "src/modules/highlightKeywords.js", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/highlightKeywords.js", + "importStyle": "{HighlightKeyword}", + "description": "Highlight matched keywords upon filtering", + "lineNumber": 12, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "HighlightKeyword" + } + ], + "interface": false + }, + { + "__docId__": 451, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#constructor", + "access": null, + "description": "Creates an instance of HighlightKeyword", + "lineNumber": 18, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 452, + "kind": "member", + "static": false, + "variation": null, + "name": "highlightCssClass", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#highlightCssClass", + "access": null, + "description": "Css class for highlighted term", + "lineNumber": 25, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 453, + "kind": "member", + "static": false, + "variation": null, + "name": "tf", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#tf", + "access": null, + "description": "TableFilter instance", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 454, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#emitter", + "access": null, + "description": "TableFilter's emitter instance", + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "Emitter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 455, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#init", + "access": null, + "description": "Initializes HighlightKeyword instance", + "lineNumber": 43, + "params": [], + "generator": false + }, + { + "__docId__": 456, + "kind": "method", + "static": false, + "variation": null, + "name": "highlight", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#highlight", + "access": null, + "description": "Highlight occurences of searched term in passed node", + "lineNumber": 62, + "params": [ + { + "nullable": null, + "types": [ + "Node" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "term", + "description": "Searched term" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cssClass", + "description": "Css class name\n\nTODO: refactor this method" + } + ], + "generator": false + }, + { + "__docId__": 457, + "kind": "method", + "static": false, + "variation": null, + "name": "unhighlight", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#unhighlight", + "access": null, + "description": "Removes highlight to nodes matching passed string", + "lineNumber": 102, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "term", + "description": "" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cssClass", + "description": "Css class to remove" + } + ], + "generator": false + }, + { + "__docId__": 458, + "kind": "method", + "static": false, + "variation": null, + "name": "unhighlightAll", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#unhighlightAll", + "access": null, + "description": "Clear all occurrences of highlighted nodes", + "lineNumber": 119, + "params": [], + "generator": false + }, + { + "__docId__": 459, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#destroy", + "access": null, + "description": " Remove feature", + "lineNumber": 135, + "params": [], + "generator": false + }, + { + "__docId__": 460, + "kind": "method", + "static": false, + "variation": null, + "name": "_processTerm", + "memberof": "src/modules/highlightKeywords.js~HighlightKeyword", + "longname": "src/modules/highlightKeywords.js~HighlightKeyword#_processTerm", + "access": null, + "description": "Ensure filtering operators are handled before highlighting any match", + "lineNumber": 151, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "Table", + "description": "cell to look searched term into" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "Searched", + "description": "termIdx" + } + ], + "generator": false + }, + { + "__docId__": 461, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/loader.js", + "memberof": null, + "longname": "src/modules/loader.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {EMPTY_FN} from '../types';\nimport {root} from '../root';\nimport {NONE} from '../const';\nimport {defaultsStr, defaultsFn} from '../settings';\n\nconst EVENTS = [\n 'before-filtering',\n 'before-populating-filter',\n 'before-page-change',\n 'before-clearing-filters',\n 'before-page-length-change',\n 'before-reset-page',\n 'before-reset-page-length',\n 'before-loading-extensions',\n 'before-loading-themes'\n];\n\n/**\n * Activity indicator\n *\n * @export\n * @class Loader\n * @extends {Feature}\n */\nexport class Loader extends Feature {\n\n /**\n * Creates an instance of Loader.\n *\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'loader');\n\n let f = this.config.loader || {};\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = defaultsStr(f.target_id, null);\n\n /**\n * Loader container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Text displayed when indicator is visible\n * @type {String}\n */\n this.text = defaultsStr(f.text, 'Loading...');\n\n /**\n * Custom HTML injected in Loader's container element\n * @type {String}\n */\n this.html = defaultsStr(f.html, null);\n\n /**\n * Css class for Loader's container element\n * @type {String}\n */\n this.cssClass = defaultsStr(f.css_class, 'loader');\n\n /**\n * Close delay in milliseconds\n * @type {Number}\n */\n this.closeDelay = 250;\n\n /**\n * Callback fired when loader is displayed\n * @type {Function}\n */\n this.onShow = defaultsFn(f.on_show_loader, EMPTY_FN);\n\n /**\n * Callback fired when loader is closed\n * @type {Function}\n */\n this.onHide = defaultsFn(f.on_hide_loader, EMPTY_FN);\n }\n\n /**\n * Initializes Loader instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n let containerDiv = createElm('div');\n containerDiv.className = this.cssClass;\n\n let targetEl = !this.targetId ?\n tf.dom().parentNode : elm(this.targetId);\n if (!this.targetId) {\n targetEl.insertBefore(containerDiv, tf.dom());\n } else {\n targetEl.appendChild(containerDiv);\n }\n this.cont = containerDiv;\n if (!this.html) {\n this.cont.appendChild(createText(this.text));\n } else {\n this.cont.innerHTML = this.html;\n }\n\n this.show(NONE);\n\n // Subscribe to events\n emitter.on(EVENTS, () => this.show(''));\n emitter.on(EVENTS, () => this.show(NONE));\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Shows or hides activity indicator\n * @param {String} Two possible values: '' or 'none'\n */\n show(p) {\n if (!this.isEnabled()) {\n return;\n }\n\n let displayLoader = () => {\n if (!this.cont) {\n return;\n }\n if (p !== NONE) {\n this.onShow(this);\n }\n this.cont.style.display = p;\n if (p === NONE) {\n this.onHide(this);\n }\n };\n\n let t = p === NONE ? this.closeDelay : 1;\n root.setTimeout(displayLoader, t);\n }\n\n /**\n * Removes feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n removeElm(this.cont);\n this.cont = null;\n\n // Unsubscribe to events\n emitter.off(EVENTS, () => this.show(''));\n emitter.off(EVENTS, () => this.show(NONE));\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 462, + "kind": "variable", + "static": true, + "variation": null, + "name": "EVENTS", + "memberof": "src/modules/loader.js", + "longname": "src/modules/loader.js~EVENTS", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/loader.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 463, + "kind": "class", + "static": true, + "variation": null, + "name": "Loader", + "memberof": "src/modules/loader.js", + "longname": "src/modules/loader.js~Loader", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/loader.js", + "importStyle": "{Loader}", + "description": "Activity indicator", + "lineNumber": 27, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "Loader" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 464, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#constructor", + "access": null, + "description": "Creates an instance of Loader.", + "lineNumber": 34, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 465, + "kind": "member", + "static": false, + "variation": null, + "name": "targetId", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#targetId", + "access": null, + "description": "ID of custom container element", + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 466, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#cont", + "access": null, + "description": "Loader container DOM element", + "lineNumber": 49, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 467, + "kind": "member", + "static": false, + "variation": null, + "name": "text", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#text", + "access": null, + "description": "Text displayed when indicator is visible", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 468, + "kind": "member", + "static": false, + "variation": null, + "name": "html", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#html", + "access": null, + "description": "Custom HTML injected in Loader's container element", + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 469, + "kind": "member", + "static": false, + "variation": null, + "name": "cssClass", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#cssClass", + "access": null, + "description": "Css class for Loader's container element", + "lineNumber": 67, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 470, + "kind": "member", + "static": false, + "variation": null, + "name": "closeDelay", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#closeDelay", + "access": null, + "description": "Close delay in milliseconds", + "lineNumber": 73, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 471, + "kind": "member", + "static": false, + "variation": null, + "name": "onShow", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#onShow", + "access": null, + "description": "Callback fired when loader is displayed", + "lineNumber": 79, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 472, + "kind": "member", + "static": false, + "variation": null, + "name": "onHide", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#onHide", + "access": null, + "description": "Callback fired when loader is closed", + "lineNumber": 85, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 473, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#init", + "access": null, + "description": "Initializes Loader instance", + "lineNumber": 91, + "params": [], + "generator": false + }, + { + "__docId__": 474, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#cont", + "access": null, + "description": null, + "lineNumber": 109, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 475, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#initialized", + "access": null, + "description": null, + "lineNumber": 123, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 476, + "kind": "method", + "static": false, + "variation": null, + "name": "show", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#show", + "access": null, + "description": "Shows or hides activity indicator", + "lineNumber": 130, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "Two", + "description": "possible values: '' or 'none'" + } + ], + "generator": false + }, + { + "__docId__": 477, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#destroy", + "access": null, + "description": "Removes feature", + "lineNumber": 155, + "params": [], + "generator": false + }, + { + "__docId__": 478, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#cont", + "access": null, + "description": null, + "lineNumber": 163, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 479, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/loader.js~Loader", + "longname": "src/modules/loader.js~Loader#initialized", + "access": null, + "description": null, + "lineNumber": 169, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 480, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/markActiveColumns.js", + "memberof": null, + "longname": "src/modules/markActiveColumns.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {addClass, removeClass, hasClass} from '../dom';\nimport {EMPTY_FN} from '../types';\nimport {defaultsStr, defaultsFn} from '../settings';\n\n/**\n * Visual indicator for filtered columns\n * @export\n * @class MarkActiveColumns\n * @extends {Feature}\n */\nexport class MarkActiveColumns extends Feature {\n\n /**\n * Create an instance of MarkActiveColumns\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'markActiveColumns');\n\n let config = this.config.mark_active_columns || {};\n\n /**\n * Css class for filtered (active) columns\n * @type {String}\n */\n this.headerCssClass = defaultsStr(config.header_css_class,\n 'activeHeader');\n\n /**\n * Callback fired before a column is marked as filtered\n * @type {Function}\n */\n this.onBeforeActiveColumn = defaultsFn(config.on_before_active_column,\n EMPTY_FN);\n\n /**\n * Callback fired after a column is marked as filtered\n * @type {Function}\n */\n this.onAfterActiveColumn = defaultsFn(config.on_after_active_column,\n EMPTY_FN);\n }\n\n /**\n * Initialise MarkActiveColumns instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.emitter.on(['before-filtering'], () => this.clearActiveColumns());\n this.emitter.on(\n ['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex)\n );\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Clear filtered columns visual indicator (background color)\n */\n clearActiveColumns() {\n let tf = this.tf;\n let len = tf.getCellsNb();\n for (let i = 0; i < len; i++) {\n removeClass(tf.getHeaderElement(i), this.headerCssClass);\n }\n }\n\n /**\n * Mark currently filtered column\n * @param {Number} colIndex Column index\n */\n markActiveColumn(colIndex) {\n let header = this.tf.getHeaderElement(colIndex);\n if (hasClass(header, this.headerCssClass)) {\n return;\n }\n this.onBeforeActiveColumn(this, colIndex);\n\n addClass(header, this.headerCssClass);\n\n this.onAfterActiveColumn(this, colIndex);\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.clearActiveColumns();\n this.emitter.off(['before-filtering'], () => this.clearActiveColumns());\n this.emitter.off(\n ['cell-processed'],\n (tf, colIndex) => this.markActiveColumn(colIndex)\n );\n\n /** @inherited */\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 481, + "kind": "class", + "static": true, + "variation": null, + "name": "MarkActiveColumns", + "memberof": "src/modules/markActiveColumns.js", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/markActiveColumns.js", + "importStyle": "{MarkActiveColumns}", + "description": "Visual indicator for filtered columns", + "lineNumber": 12, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "MarkActiveColumns" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 482, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#constructor", + "access": null, + "description": "Create an instance of MarkActiveColumns", + "lineNumber": 18, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 483, + "kind": "member", + "static": false, + "variation": null, + "name": "headerCssClass", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#headerCssClass", + "access": null, + "description": "Css class for filtered (active) columns", + "lineNumber": 27, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 484, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeActiveColumn", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#onBeforeActiveColumn", + "access": null, + "description": "Callback fired before a column is marked as filtered", + "lineNumber": 34, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 485, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterActiveColumn", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#onAfterActiveColumn", + "access": null, + "description": "Callback fired after a column is marked as filtered", + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 486, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#init", + "access": null, + "description": "Initialise MarkActiveColumns instance", + "lineNumber": 48, + "params": [], + "generator": false + }, + { + "__docId__": 487, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#initialized", + "access": null, + "description": null, + "lineNumber": 60, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 488, + "kind": "method", + "static": false, + "variation": null, + "name": "clearActiveColumns", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#clearActiveColumns", + "access": null, + "description": "Clear filtered columns visual indicator (background color)", + "lineNumber": 66, + "params": [], + "generator": false + }, + { + "__docId__": 489, + "kind": "method", + "static": false, + "variation": null, + "name": "markActiveColumn", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#markActiveColumn", + "access": null, + "description": "Mark currently filtered column", + "lineNumber": 78, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 490, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#destroy", + "access": null, + "description": "Remove feature", + "lineNumber": 93, + "params": [], + "generator": false + }, + { + "__docId__": 491, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/markActiveColumns.js~MarkActiveColumns", + "longname": "src/modules/markActiveColumns.js~MarkActiveColumns#initialized", + "access": null, + "description": null, + "lineNumber": 106, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 492, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/noResults.js", + "memberof": null, + "longname": "src/modules/noResults.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, elm, removeElm} from '../dom';\nimport {isEmpty, EMPTY_FN} from '../types';\nimport {NONE} from '../const';\nimport {defaultsStr, defaultsFn} from '../settings';\n\n/**\n * UI when filtering yields no matches\n * @export\n * @class NoResults\n * @extends {Feature}\n */\nexport class NoResults extends Feature {\n\n /**\n * Creates an instance of NoResults\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'noResults');\n\n //configuration object\n let f = this.config.no_results_message || {};\n\n /**\n * Text (accepts HTML)\n * @type {String}\n */\n this.content = defaultsStr(f.content, 'No results');\n\n /**\n * Custom container DOM element\n * @type {DOMElement}\n */\n this.customContainer = defaultsStr(f.custom_container, null);\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.customContainerId = defaultsStr(f.custom_container_id, null);\n\n /**\n * Indicates if UI is contained in a external element\n * @type {Boolean}\n * @private\n */\n this.isExternal = !isEmpty(this.customContainer) ||\n !isEmpty(this.customContainerId);\n\n /**\n * Css class assigned to container element\n * @type {String}\n */\n this.cssClass = defaultsStr(f.css_class, 'no-results');\n\n /**\n * Stores container DOM element\n * @type {DOMElement}\n */\n this.cont = null;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShow = defaultsFn(f.on_before_show_msg, EMPTY_FN);\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShow = defaultsFn(f.on_after_show_msg, EMPTY_FN);\n\n /**\n * Callback fired before the message is hidden\n * @type {Function}\n */\n this.onBeforeHide = defaultsFn(f.on_before_hide_msg, EMPTY_FN);\n\n /**\n * Callback fired after the message is hidden\n * @type {Function}\n */\n this.onAfterHide = defaultsFn(f.on_after_hide_msg, EMPTY_FN);\n }\n\n /**\n * Initializes NoResults instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n let tf = this.tf;\n let target = this.customContainer || elm(this.customContainerId) ||\n tf.dom();\n\n //container\n let cont = createElm('div');\n cont.className = this.cssClass;\n cont.innerHTML = this.content;\n\n if (this.isExternal) {\n target.appendChild(cont);\n } else {\n target.parentNode.insertBefore(cont, target.nextSibling);\n }\n\n this.cont = cont;\n\n // subscribe to after-filtering event\n this.emitter.on(['after-filtering'], () => this.toggle());\n\n /** @inherited */\n this.initialized = true;\n\n this.hide();\n }\n\n /**\n * Toggle no results message\n */\n toggle() {\n if (this.tf.getValidRowsNb() > 0) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n /**\n * Show no results message\n */\n show() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n this.onBeforeShow(this.tf, this);\n\n this.setWidth();\n this.cont.style.display = 'block';\n\n this.onAfterShow(this.tf, this);\n }\n\n /**\n * Hide no results message\n */\n hide() {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n this.onBeforeHide(this.tf, this);\n\n this.cont.style.display = NONE;\n\n this.onAfterHide(this.tf, this);\n }\n\n /**\n * Sets no results container width\n * @private\n */\n setWidth() {\n if (!this.initialized || this.isExternal || !this.isEnabled()) {\n return;\n }\n let tf = this.tf;\n if (tf.gridLayout) {\n let gridLayout = tf.feature('gridLayout');\n this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';\n } else {\n this.cont.style.width = (tf.dom().tHead ?\n tf.dom().tHead.clientWidth :\n tf.dom().tBodies[0].clientWidth) + 'px';\n }\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n removeElm(this.cont);\n this.cont = null;\n // unsubscribe to after-filtering event\n this.emitter.off(['after-filtering'], () => this.toggle());\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 493, + "kind": "class", + "static": true, + "variation": null, + "name": "NoResults", + "memberof": "src/modules/noResults.js", + "longname": "src/modules/noResults.js~NoResults", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/noResults.js", + "importStyle": "{NoResults}", + "description": "UI when filtering yields no matches", + "lineNumber": 13, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "NoResults" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 494, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#constructor", + "access": null, + "description": "Creates an instance of NoResults", + "lineNumber": 19, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 495, + "kind": "member", + "static": false, + "variation": null, + "name": "content", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#content", + "access": null, + "description": "Text (accepts HTML)", + "lineNumber": 29, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 496, + "kind": "member", + "static": false, + "variation": null, + "name": "customContainer", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#customContainer", + "access": null, + "description": "Custom container DOM element", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 497, + "kind": "member", + "static": false, + "variation": null, + "name": "customContainerId", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#customContainerId", + "access": null, + "description": "ID of custom container element", + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 498, + "kind": "member", + "static": false, + "variation": null, + "name": "isExternal", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#isExternal", + "access": "private", + "description": "Indicates if UI is contained in a external element", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 499, + "kind": "member", + "static": false, + "variation": null, + "name": "cssClass", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#cssClass", + "access": null, + "description": "Css class assigned to container element", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 500, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#cont", + "access": null, + "description": "Stores container DOM element", + "lineNumber": 61, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 501, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeShow", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#onBeforeShow", + "access": null, + "description": "Callback fired before the message is displayed", + "lineNumber": 67, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 502, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterShow", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#onAfterShow", + "access": null, + "description": "Callback fired after the message is displayed", + "lineNumber": 73, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 503, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeHide", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#onBeforeHide", + "access": null, + "description": "Callback fired before the message is hidden", + "lineNumber": 79, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 504, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterHide", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#onAfterHide", + "access": null, + "description": "Callback fired after the message is hidden", + "lineNumber": 85, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 505, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#init", + "access": null, + "description": "Initializes NoResults instance", + "lineNumber": 91, + "params": [], + "generator": false + }, + { + "__docId__": 506, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#cont", + "access": null, + "description": null, + "lineNumber": 110, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 507, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#initialized", + "access": null, + "description": null, + "lineNumber": 116, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 508, + "kind": "method", + "static": false, + "variation": null, + "name": "toggle", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#toggle", + "access": null, + "description": "Toggle no results message", + "lineNumber": 124, + "params": [], + "generator": false + }, + { + "__docId__": 509, + "kind": "method", + "static": false, + "variation": null, + "name": "show", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#show", + "access": null, + "description": "Show no results message", + "lineNumber": 135, + "params": [], + "generator": false + }, + { + "__docId__": 510, + "kind": "method", + "static": false, + "variation": null, + "name": "hide", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#hide", + "access": null, + "description": "Hide no results message", + "lineNumber": 150, + "params": [], + "generator": false + }, + { + "__docId__": 511, + "kind": "method", + "static": false, + "variation": null, + "name": "setWidth", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#setWidth", + "access": "private", + "description": "Sets no results container width", + "lineNumber": 165, + "params": [], + "generator": false + }, + { + "__docId__": 512, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#destroy", + "access": null, + "description": "Remove feature", + "lineNumber": 183, + "params": [], + "generator": false + }, + { + "__docId__": 513, + "kind": "member", + "static": false, + "variation": null, + "name": "cont", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#cont", + "access": null, + "description": null, + "lineNumber": 188, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 514, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/noResults.js~NoResults", + "longname": "src/modules/noResults.js~NoResults#initialized", + "access": null, + "description": null, + "lineNumber": 192, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 515, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/paging.js", + "memberof": null, + "longname": "src/modules/paging.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, createOpt, createText, elm, removeElm} from '../dom';\nimport {isArray, isNull, EMPTY_FN} from '../types';\nimport {addEvt, keyCode, removeEvt} from '../event';\nimport {INPUT, SELECT, NONE, ENTER_KEY} from '../const';\nimport {\n defaultsStr, defaultsNb, defaultsBool, defaultsArr, defaultsFn\n} from '../settings';\n\n/**\n * Paging UI component\n * @export\n * @class Paging\n * @extends {Feature}\n */\nexport class Paging extends Feature {\n\n /**\n * Creates an instance of Paging\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'paging');\n\n // Configuration object\n let f = this.config.paging || {};\n\n /**\n * Css class for the paging buttons (previous, next, etc.)\n * @type {String}\n */\n this.btnCssClass = defaultsStr(f.btn_css_class, 'pgInp');\n\n /**\n * Main select DOM element\n * @type {DOMElement}\n */\n this.pageSlc = null;\n\n /**\n * Results per page select DOM element\n * @type {DOMElement}\n */\n this.pageLengthSlc = null;\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.tgtId = defaultsStr(f.target_id, null);\n\n /**\n * Number of rows contained in a page\n * @type {Number}\n */\n this.pageLength = defaultsNb(f.length, 10);\n\n /**\n * ID of custom container element for the results per page selector\n * @type {String}\n */\n this.pageLengthTgtId = defaultsStr(f.results_per_page_target_id, null);\n\n /**\n * Css class for the paging select element\n * @type {String}\n */\n this.pgSlcCssClass = defaultsStr(f.slc_css_class, 'pgSlc');\n\n /**\n * Css class for the paging input element\n * @type {String}\n */\n this.pgInpCssClass = defaultsStr(f.inp_css_class, 'pgNbInp');\n\n /**\n * Label and values for the results per page select, example of usage:\n * ['Records: ', [10,25,50,100]]\n * @type {Array}\n */\n this.resultsPerPage = defaultsArr(f.results_per_page, null);\n\n /**\n * Determines if results per page is configured\n * @type {Boolean}\n */\n this.hasResultsPerPage = isArray(this.resultsPerPage);\n\n /**\n * Css class for the results per page select\n * @type {String}\n */\n this.resultsSlcCssClass = defaultsStr(f.results_slc_css_class, 'rspg');\n\n /**\n * Css class for the label preceding results per page select\n * @type {String}\n */\n this.resultsSpanCssClass = defaultsStr(f.results_span_css_class,\n 'rspgSpan');\n\n /**\n * Index of the first row of current page\n * @type {Number}\n * @private\n */\n this.startPagingRow = 0;\n\n /**\n * Total number of pages\n * @type {Number}\n * @private\n */\n this.nbPages = 0;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.currentPageNb = 1;\n\n /**\n * Next page button text\n * @type {String}\n */\n this.btnNextPageText = defaultsStr(f.btn_next_page_text, '>');\n\n /**\n * Previous page button text\n * @type {String}\n */\n this.btnPrevPageText = defaultsStr(f.btn_prev_page_text, '<');\n\n /**\n * Last page button text\n * @type {String}\n */\n this.btnLastPageText = defaultsStr(f.btn_last_page_text, '>|');\n\n /**\n * First page button text\n * @type {String}\n */\n this.btnFirstPageText = defaultsStr(f.btn_first_page_text, '|<');\n\n /**\n * Next page button HTML\n * @type {String}\n */\n this.btnNextPageHtml = defaultsStr(f.btn_next_page_html,\n (!tf.enableIcons ? null :\n ''));\n\n /**\n * Previous page button HTML\n * @type {String}\n */\n this.btnPrevPageHtml = defaultsStr(f.btn_prev_page_html,\n (!tf.enableIcons ? null :\n ''));\n\n /**\n * First page button HTML\n * @type {String}\n */\n this.btnFirstPageHtml = defaultsStr(f.btn_first_page_html,\n (!tf.enableIcons ? null :\n ''));\n\n /**\n * Last page button HTML\n * @type {String}\n */\n this.btnLastPageHtml = defaultsStr(f.btn_last_page_html,\n (!tf.enableIcons ? null :\n ''));\n\n /**\n * Text preceeding page selector drop-down\n * @type {String}\n */\n this.pageText = defaultsStr(f.page_text, ' Page ');\n\n /**\n * Text after page selector drop-down\n * @type {String}\n */\n this.ofText = defaultsStr(f.of_text, ' of ');\n\n /**\n * Css class for the span containing total number of pages\n * @type {String}\n */\n this.nbPgSpanCssClass = defaultsStr(f.nb_pages_css_class, 'nbpg');\n\n /**\n * Determines if paging buttons are enabled (default: true)\n * @type {Boolean}\n */\n this.hasBtns = defaultsBool(f.btns, true);\n\n /**\n * Defines page selector type, two possible values: 'select', 'input'\n * @type {String}\n */\n this.pageSelectorType = defaultsStr(f.page_selector_type, SELECT);\n\n /**\n * Callback fired before the page is changed\n * @type {Function}\n */\n this.onBeforeChangePage = defaultsFn(f.on_before_change_page, EMPTY_FN);\n\n /**\n * Callback fired after the page is changed\n * @type {Function}\n */\n this.onAfterChangePage = defaultsFn(f.on_after_change_page, EMPTY_FN);\n\n /**\n * Label preciding results per page select\n * @type {DOMElement}\n * @private\n */\n this.slcResultsTxt = null;\n /**\n * Span containing next page button\n * @type {DOMElement}\n * @private\n */\n this.btnNextCont = null;\n /**\n * Span containing previous page button\n * @type {DOMElement}\n * @private\n */\n this.btnPrevCont = null;\n /**\n * Span containing last page button\n * @type {DOMElement}\n * @private\n */\n this.btnLastCont = null;\n /**\n * Span containing first page button\n * @type {DOMElement}\n * @private\n */\n this.btnFirstCont = null;\n /**\n * Span for tot nb pages\n * @type {DOMElement}\n * @private\n */\n this.pgCont = null;\n /**\n * Span preceding pages select (contains 'Page')\n * @type {DOMElement}\n * @private\n */\n this.pgBefore = null;\n /**\n * Span following pages select (contains ' of ')\n * @type {DOMElement}\n * @private\n */\n this.pgAfter = null;\n\n let startRow = tf.refRow;\n let nrows = tf.getRowsNb(true);\n //calculates page nb\n this.nbPages = Math.ceil((nrows - startRow) / this.pageLength);\n\n let o = this;\n /**\n * Paging DOM events handlers\n * @type {String}\n * @private\n */\n this.evt = {\n slcIndex() {\n return (o.pageSelectorType === SELECT) ?\n o.pageSlc.options.selectedIndex :\n parseInt(o.pageSlc.value, 10) - 1;\n },\n nbOpts() {\n return (o.pageSelectorType === SELECT) ?\n parseInt(o.pageSlc.options.length, 10) - 1 :\n (o.nbPages - 1);\n },\n next() {\n let nextIndex = o.evt.slcIndex() < o.evt.nbOpts() ?\n o.evt.slcIndex() + 1 : 0;\n o.changePage(nextIndex);\n },\n prev() {\n let 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 let 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 let slcPages;\n let tf = this.tf;\n let 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.pageLength = this.resultsPerPage[1][0];\n this.setResultsPerPage();\n }\n }\n\n evt.slcPagesChange = (event) => {\n let slc = event.target;\n this.changePage(slc.selectedIndex);\n };\n\n // Paging drop-down list selector\n if (this.pageSelectorType === SELECT) {\n slcPages = createElm(SELECT);\n slcPages.className = this.pgSlcCssClass;\n addEvt(slcPages, 'change', evt.slcPagesChange);\n }\n\n // Paging input selector\n if (this.pageSelectorType === INPUT) {\n slcPages = createElm(INPUT, ['value', this.currentPageNb]);\n slcPages.className = this.pgInpCssClass;\n addEvt(slcPages, 'keypress', evt._detectKey);\n }\n\n // btns containers\n let btnNextSpan = createElm('span');\n let btnPrevSpan = createElm('span');\n let btnLastSpan = createElm('span');\n let btnFirstSpan = createElm('span');\n\n if (this.hasBtns) {\n // Next button\n if (!this.btnNextPageHtml) {\n let btnNext = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnNextPageText],\n ['title', 'Next']\n );\n btnNext.className = this.btnCssClass;\n addEvt(btnNext, 'click', evt.next);\n btnNextSpan.appendChild(btnNext);\n } else {\n btnNextSpan.innerHTML = this.btnNextPageHtml;\n addEvt(btnNextSpan, 'click', evt.next);\n }\n // Previous button\n if (!this.btnPrevPageHtml) {\n let btnPrev = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnPrevPageText],\n ['title', 'Previous']\n );\n btnPrev.className = this.btnCssClass;\n addEvt(btnPrev, 'click', evt.prev);\n btnPrevSpan.appendChild(btnPrev);\n } else {\n btnPrevSpan.innerHTML = this.btnPrevPageHtml;\n addEvt(btnPrevSpan, 'click', evt.prev);\n }\n // Last button\n if (!this.btnLastPageHtml) {\n let btnLast = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnLastPageText],\n ['title', 'Last']\n );\n btnLast.className = this.btnCssClass;\n addEvt(btnLast, 'click', evt.last);\n btnLastSpan.appendChild(btnLast);\n } else {\n btnLastSpan.innerHTML = this.btnLastPageHtml;\n addEvt(btnLastSpan, 'click', evt.last);\n }\n // First button\n if (!this.btnFirstPageHtml) {\n let btnFirst = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnFirstPageText],\n ['title', 'First']\n );\n btnFirst.className = this.btnCssClass;\n addEvt(btnFirst, 'click', evt.first);\n btnFirstSpan.appendChild(btnFirst);\n } else {\n btnFirstSpan.innerHTML = this.btnFirstPageHtml;\n addEvt(btnFirstSpan, 'click', evt.first);\n }\n }\n\n // paging elements (buttons+drop-down list) are added to defined element\n if (!this.tgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.tgtId ? tf.mDiv : elm(this.tgtId);\n targetEl.appendChild(btnFirstSpan);\n targetEl.appendChild(btnPrevSpan);\n\n let pgBeforeSpan = createElm('span');\n pgBeforeSpan.appendChild(createText(this.pageText));\n pgBeforeSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgBeforeSpan);\n targetEl.appendChild(slcPages);\n let pgAfterSpan = createElm('span');\n pgAfterSpan.appendChild(createText(this.ofText));\n pgAfterSpan.className = this.nbPgSpanCssClass;\n targetEl.appendChild(pgAfterSpan);\n let pgSpan = createElm('span');\n pgSpan.className = this.nbPgSpanCssClass;\n pgSpan.appendChild(createText(' ' + this.nbPages + ' '));\n targetEl.appendChild(pgSpan);\n targetEl.appendChild(btnNextSpan);\n targetEl.appendChild(btnLastSpan);\n\n this.btnNextCont = btnNextSpan;\n this.btnPrevCont = btnPrevSpan;\n this.btnLastCont = btnLastSpan;\n this.btnFirstCont = btnFirstSpan;\n this.pgCont = pgSpan;\n this.pgBefore = pgBeforeSpan;\n this.pgAfter = pgAfterSpan;\n this.pageSlc = slcPages;\n\n this.setPagingInfo();\n\n if (!tf.fltGrid) {\n tf.validateAllRows();\n this.setPagingInfo(tf.validRowsIndex);\n }\n\n this.emitter.on(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.on(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.on(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Reset paging when filters are already instantiated\n * @param {Boolean} filterTable Execute filtering once paging instanciated\n */\n reset(filterTable = false) {\n this.enable();\n this.init();\n\n if (filterTable) {\n this.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 let tf = this.tf;\n let mdiv = !this.tgtId ? tf.mDiv : elm(this.tgtId);\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.pageLength);\n //refresh page nb span\n this.pgCont.innerHTML = this.nbPages;\n //select clearing shortcut\n if (this.pageSelectorType === SELECT) {\n this.pageSlc.innerHTML = '';\n }\n\n if (this.nbPages > 0) {\n mdiv.style.visibility = 'visible';\n if (this.pageSelectorType === SELECT) {\n for (let z = 0; z < this.nbPages; z++) {\n let opt = createOpt(z + 1, z * this.pageLength, false);\n this.pageSlc.options[z] = opt;\n }\n } else {\n //input type\n this.pageSlc.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 let tf = this.tf;\n let rows = tf.dom().rows;\n let startPagingRow = parseInt(this.startPagingRow, 10);\n let endPagingRow = startPagingRow + parseInt(this.pageLength, 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 (let h = 0, len = tf.getValidRowsNb(true); h < len; h++) {\n let validRowIdx = tf.validRowsIndex[h];\n let r = rows[validRowIdx];\n let isRowValid = r.getAttribute('validRow');\n let 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 let tf = this.tf;\n if (!tf.isInitialized() || !this.isEnabled()) {\n return;\n }\n let 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 let tf = this.tf;\n let evt = this.evt;\n\n if (this.pageLengthSlc || !this.resultsPerPage) {\n return;\n }\n\n evt.slcResultsChange = (ev) => {\n this.onChangeResultsPerPage();\n ev.target.blur();\n };\n\n let slcR = createElm(SELECT);\n slcR.className = this.resultsSlcCssClass;\n let slcRText = this.resultsPerPage[0],\n slcROpts = this.resultsPerPage[1];\n let slcRSpan = createElm('span');\n slcRSpan.className = this.resultsSpanCssClass;\n\n // results per page select is added to external element\n if (!this.pageLengthTgtId) {\n tf.setToolbar();\n }\n let targetEl = !this.pageLengthTgtId ?\n tf.rDiv : elm(this.pageLengthTgtId);\n slcRSpan.appendChild(createText(slcRText));\n\n let 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 (let r = 0; r < slcROpts.length; r++) {\n let currOpt = new Option(slcROpts[r], slcROpts[r], false, false);\n slcR.options[r] = currOpt;\n }\n addEvt(slcR, 'change', evt.slcResultsChange);\n this.slcResultsTxt = slcRSpan;\n this.pageLengthSlc = slcR;\n }\n\n /**\n * Remove number of results per page UI elements\n */\n removeResultsPerPage() {\n let tf = this.tf;\n if (!tf.isInitialized() || !this.pageLengthSlc ||\n !this.resultsPerPage) {\n return;\n }\n if (this.pageLengthSlc) {\n removeElm(this.pageLengthSlc);\n }\n if (this.slcResultsTxt) {\n removeElm(this.slcResultsTxt);\n }\n this.pageLengthSlc = null;\n this.slcResultsTxt = null;\n }\n\n /**\n * Change the page based on passed index\n * @param {Number} index Index of the page (0-n)\n */\n changePage(index) {\n let 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.pageSlc.options.selectedIndex : this.pageSlc.value - 1;\n }\n if (index >= 0 && index <= (this.nbPages - 1)) {\n this.onBeforeChangePage(this, (index + 1));\n\n this.currentPageNb = parseInt(index, 10) + 1;\n if (this.pageSelectorType === SELECT) {\n this.pageSlc.options[index].selected = true;\n } else {\n this.pageSlc.value = this.currentPageNb;\n }\n\n this.startPagingRow = (this.pageSelectorType === SELECT) ?\n this.pageSlc.value : (index * this.pageLength);\n\n this.groupByPage();\n\n this.onAfterChangePage(this, (index + 1));\n }\n\n this.emitter.emit('after-page-change', tf, (index + 1));\n }\n\n /**\n * Change the number of results per page based on passed value\n * @param {String} val The number of results per page\n */\n changeResultsPerPage(val) {\n if (!this.isEnabled() || isNaN(val)) {\n return;\n }\n\n this.pageLengthSlc.value = val;\n this.onChangeResultsPerPage();\n }\n\n /**\n * Change rows according to page results drop-down\n */\n onChangeResultsPerPage() {\n let tf = this.tf;\n\n if (!this.isEnabled() || tf.getValidRowsNb() === 0) {\n return;\n }\n\n let {\n pageLengthSlc: slcR, pageSelectorType, pageSlc, emitter\n } = this;\n\n emitter.emit('before-page-length-change', tf);\n\n let slcIndex = slcR.selectedIndex;\n let slcPagesSelIndex = (pageSelectorType === SELECT) ?\n pageSlc.selectedIndex : parseInt(pageSlc.value - 1, 10);\n this.pageLength = parseInt(slcR.options[slcIndex].value, 10);\n this.startPagingRow = this.pageLength * slcPagesSelIndex;\n\n if (!isNaN(this.pageLength)) {\n if (this.startPagingRow >= tf.nbFilterableRows) {\n this.startPagingRow = (tf.nbFilterableRows - this.pageLength);\n }\n this.setPagingInfo();\n\n if (pageSelectorType === SELECT) {\n let slcIdx = (pageSlc.options.length - 1 <= slcPagesSelIndex) ?\n (pageSlc.options.length - 1) :\n slcPagesSelIndex;\n pageSlc.options[slcIdx].selected = true;\n }\n }\n\n emitter.emit('after-page-length-change', tf, this.pageLength);\n }\n\n /**\n * Re-set page nb at page re-load\n */\n resetPage() {\n let tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page', tf);\n let 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 let tf = this.tf;\n if (!this.isEnabled()) {\n return;\n }\n this.emitter.emit('before-reset-page-length', tf);\n let pglenIndex = tf.feature('store').getPageLength();\n\n if (pglenIndex !== '') {\n this.pageLengthSlc.options[pglenIndex].selected = true;\n this.changeResultsPerPage();\n }\n this.emitter.emit('after-reset-page-length', tf, pglenIndex);\n }\n\n /**\n * Remove paging feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let evt = this.evt;\n\n if (this.pageSlc) {\n if (this.pageSelectorType === SELECT) {\n removeEvt(this.pageSlc, 'change', evt.slcPagesChange);\n }\n else if (this.pageSelectorType === INPUT) {\n removeEvt(this.pageSlc, 'keypress', evt._detectKey);\n }\n removeElm(this.pageSlc);\n }\n\n if (this.btnNextCont) {\n removeEvt(this.btnNextCont, 'click', evt.next);\n removeElm(this.btnNextCont);\n this.btnNextCont = null;\n }\n\n if (this.btnPrevCont) {\n removeEvt(this.btnPrevCont, 'click', evt.prev);\n removeElm(this.btnPrevCont);\n this.btnPrevCont = null;\n }\n\n if (this.btnLastCont) {\n removeEvt(this.btnLastCont, 'click', evt.last);\n removeElm(this.btnLastCont);\n this.btnLastCont = null;\n }\n\n if (this.btnFirstCont) {\n removeEvt(this.btnFirstCont, 'click', evt.first);\n removeElm(this.btnFirstCont);\n this.btnFirstCont = null;\n }\n\n if (this.pgBefore) {\n removeElm(this.pgBefore);\n this.pgBefore = null;\n }\n\n if (this.pgAfter) {\n removeElm(this.pgAfter);\n this.pgAfter = null;\n }\n\n if (this.pgCont) {\n removeElm(this.pgCont);\n this.pgCont = null;\n }\n\n if (this.hasResultsPerPage) {\n this.removeResultsPerPage();\n }\n\n this.emitter.off(['after-filtering'], () => this.resetPagingInfo());\n this.emitter.off(['change-page'],\n (tf, pageNumber) => this.setPage(pageNumber));\n this.emitter.off(['change-page-results'],\n (tf, pageLength) => this.changeResultsPerPage(pageLength));\n\n this.pageSlc = null;\n this.nbPages = 0;\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 516, + "kind": "class", + "static": true, + "variation": null, + "name": "Paging", + "memberof": "src/modules/paging.js", + "longname": "src/modules/paging.js~Paging", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/paging.js", + "importStyle": "{Paging}", + "description": "Paging UI component", + "lineNumber": 16, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "Paging" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 517, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#constructor", + "access": null, + "description": "Creates an instance of Paging", + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 518, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnCssClass", + "access": null, + "description": "Css class for the paging buttons (previous, next, etc.)", + "lineNumber": 32, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 519, + "kind": "member", + "static": false, + "variation": null, + "name": "pageSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageSlc", + "access": null, + "description": "Main select DOM element", + "lineNumber": 38, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 520, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLengthSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLengthSlc", + "access": null, + "description": "Results per page select DOM element", + "lineNumber": 44, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 521, + "kind": "member", + "static": false, + "variation": null, + "name": "tgtId", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#tgtId", + "access": null, + "description": "ID of custom container element", + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 522, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLength", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLength", + "access": null, + "description": "Number of rows contained in a page", + "lineNumber": 56, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 523, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLengthTgtId", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLengthTgtId", + "access": null, + "description": "ID of custom container element for the results per page selector", + "lineNumber": 62, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 524, + "kind": "member", + "static": false, + "variation": null, + "name": "pgSlcCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgSlcCssClass", + "access": null, + "description": "Css class for the paging select element", + "lineNumber": 68, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 525, + "kind": "member", + "static": false, + "variation": null, + "name": "pgInpCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgInpCssClass", + "access": null, + "description": "Css class for the paging input element", + "lineNumber": 74, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 526, + "kind": "member", + "static": false, + "variation": null, + "name": "resultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resultsPerPage", + "access": null, + "description": "Label and values for the results per page select, example of usage:\n['Records: ', [10,25,50,100]]", + "lineNumber": 81, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 527, + "kind": "member", + "static": false, + "variation": null, + "name": "hasResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#hasResultsPerPage", + "access": null, + "description": "Determines if results per page is configured", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 528, + "kind": "member", + "static": false, + "variation": null, + "name": "resultsSlcCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resultsSlcCssClass", + "access": null, + "description": "Css class for the results per page select", + "lineNumber": 93, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 529, + "kind": "member", + "static": false, + "variation": null, + "name": "resultsSpanCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resultsSpanCssClass", + "access": null, + "description": "Css class for the label preceding results per page select", + "lineNumber": 99, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 530, + "kind": "member", + "static": false, + "variation": null, + "name": "startPagingRow", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#startPagingRow", + "access": "private", + "description": "Index of the first row of current page", + "lineNumber": 107, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 531, + "kind": "member", + "static": false, + "variation": null, + "name": "nbPages", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#nbPages", + "access": "private", + "description": "Total number of pages", + "lineNumber": 114, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 532, + "kind": "member", + "static": false, + "variation": null, + "name": "currentPageNb", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#currentPageNb", + "access": "private", + "description": "Current page number", + "lineNumber": 121, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 533, + "kind": "member", + "static": false, + "variation": null, + "name": "btnNextPageText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnNextPageText", + "access": null, + "description": "Next page button text", + "lineNumber": 127, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 534, + "kind": "member", + "static": false, + "variation": null, + "name": "btnPrevPageText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnPrevPageText", + "access": null, + "description": "Previous page button text", + "lineNumber": 133, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 535, + "kind": "member", + "static": false, + "variation": null, + "name": "btnLastPageText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnLastPageText", + "access": null, + "description": "Last page button text", + "lineNumber": 139, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 536, + "kind": "member", + "static": false, + "variation": null, + "name": "btnFirstPageText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnFirstPageText", + "access": null, + "description": "First page button text", + "lineNumber": 145, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 537, + "kind": "member", + "static": false, + "variation": null, + "name": "btnNextPageHtml", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnNextPageHtml", + "access": null, + "description": "Next page button HTML", + "lineNumber": 151, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 538, + "kind": "member", + "static": false, + "variation": null, + "name": "btnPrevPageHtml", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnPrevPageHtml", + "access": null, + "description": "Previous page button HTML", + "lineNumber": 160, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 539, + "kind": "member", + "static": false, + "variation": null, + "name": "btnFirstPageHtml", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnFirstPageHtml", + "access": null, + "description": "First page button HTML", + "lineNumber": 169, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 540, + "kind": "member", + "static": false, + "variation": null, + "name": "btnLastPageHtml", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnLastPageHtml", + "access": null, + "description": "Last page button HTML", + "lineNumber": 178, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 541, + "kind": "member", + "static": false, + "variation": null, + "name": "pageText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageText", + "access": null, + "description": "Text preceeding page selector drop-down", + "lineNumber": 187, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 542, + "kind": "member", + "static": false, + "variation": null, + "name": "ofText", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#ofText", + "access": null, + "description": "Text after page selector drop-down", + "lineNumber": 193, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 543, + "kind": "member", + "static": false, + "variation": null, + "name": "nbPgSpanCssClass", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#nbPgSpanCssClass", + "access": null, + "description": "Css class for the span containing total number of pages", + "lineNumber": 199, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 544, + "kind": "member", + "static": false, + "variation": null, + "name": "hasBtns", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#hasBtns", + "access": null, + "description": "Determines if paging buttons are enabled (default: true)", + "lineNumber": 205, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 545, + "kind": "member", + "static": false, + "variation": null, + "name": "pageSelectorType", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageSelectorType", + "access": null, + "description": "Defines page selector type, two possible values: 'select', 'input'", + "lineNumber": 211, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 546, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeChangePage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#onBeforeChangePage", + "access": null, + "description": "Callback fired before the page is changed", + "lineNumber": 217, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 547, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterChangePage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#onAfterChangePage", + "access": null, + "description": "Callback fired after the page is changed", + "lineNumber": 223, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 548, + "kind": "member", + "static": false, + "variation": null, + "name": "slcResultsTxt", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#slcResultsTxt", + "access": "private", + "description": "Label preciding results per page select", + "lineNumber": 230, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 549, + "kind": "member", + "static": false, + "variation": null, + "name": "btnNextCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnNextCont", + "access": "private", + "description": "Span containing next page button", + "lineNumber": 236, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 550, + "kind": "member", + "static": false, + "variation": null, + "name": "btnPrevCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnPrevCont", + "access": "private", + "description": "Span containing previous page button", + "lineNumber": 242, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 551, + "kind": "member", + "static": false, + "variation": null, + "name": "btnLastCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnLastCont", + "access": "private", + "description": "Span containing last page button", + "lineNumber": 248, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 552, + "kind": "member", + "static": false, + "variation": null, + "name": "btnFirstCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnFirstCont", + "access": "private", + "description": "Span containing first page button", + "lineNumber": 254, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 553, + "kind": "member", + "static": false, + "variation": null, + "name": "pgCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgCont", + "access": "private", + "description": "Span for tot nb pages", + "lineNumber": 260, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 554, + "kind": "member", + "static": false, + "variation": null, + "name": "pgBefore", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgBefore", + "access": "private", + "description": "Span preceding pages select (contains 'Page')", + "lineNumber": 266, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 555, + "kind": "member", + "static": false, + "variation": null, + "name": "pgAfter", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgAfter", + "access": "private", + "description": "Span following pages select (contains ' of ')", + "lineNumber": 272, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 556, + "kind": "member", + "static": false, + "variation": null, + "name": "nbPages", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#nbPages", + "access": null, + "description": null, + "lineNumber": 277, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 557, + "kind": "member", + "static": false, + "variation": null, + "name": "evt", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#evt", + "access": "private", + "description": "Paging DOM events handlers", + "lineNumber": 285, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 558, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#init", + "access": null, + "description": "Initialize DOM elements", + "lineNumber": 335, + "params": [], + "generator": false + }, + { + "__docId__": 559, + "kind": "member", + "static": false, + "variation": null, + "name": "hasResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#hasResultsPerPage", + "access": null, + "description": null, + "lineNumber": 348, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 560, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLength", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLength", + "access": null, + "description": null, + "lineNumber": 350, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 561, + "kind": "member", + "static": false, + "variation": null, + "name": "btnNextCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnNextCont", + "access": null, + "description": null, + "lineNumber": 463, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 562, + "kind": "member", + "static": false, + "variation": null, + "name": "btnPrevCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnPrevCont", + "access": null, + "description": null, + "lineNumber": 464, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 563, + "kind": "member", + "static": false, + "variation": null, + "name": "btnLastCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnLastCont", + "access": null, + "description": null, + "lineNumber": 465, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 564, + "kind": "member", + "static": false, + "variation": null, + "name": "btnFirstCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnFirstCont", + "access": null, + "description": null, + "lineNumber": 466, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 565, + "kind": "member", + "static": false, + "variation": null, + "name": "pgCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgCont", + "access": null, + "description": null, + "lineNumber": 467, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 566, + "kind": "member", + "static": false, + "variation": null, + "name": "pgBefore", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgBefore", + "access": null, + "description": null, + "lineNumber": 468, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 567, + "kind": "member", + "static": false, + "variation": null, + "name": "pgAfter", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgAfter", + "access": null, + "description": null, + "lineNumber": 469, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 568, + "kind": "member", + "static": false, + "variation": null, + "name": "pageSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageSlc", + "access": null, + "description": null, + "lineNumber": 470, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 569, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#initialized", + "access": null, + "description": null, + "lineNumber": 486, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 570, + "kind": "method", + "static": false, + "variation": null, + "name": "reset", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#reset", + "access": null, + "description": "Reset paging when filters are already instantiated", + "lineNumber": 493, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "filterTable", + "description": "Execute filtering once paging instanciated" + } + ], + "generator": false + }, + { + "__docId__": 571, + "kind": "method", + "static": false, + "variation": null, + "name": "resetPagingInfo", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resetPagingInfo", + "access": null, + "description": "Reset paging info from scratch after a filtering process", + "lineNumber": 505, + "params": [], + "generator": false + }, + { + "__docId__": 572, + "kind": "member", + "static": false, + "variation": null, + "name": "startPagingRow", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#startPagingRow", + "access": null, + "description": null, + "lineNumber": 506, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 573, + "kind": "member", + "static": false, + "variation": null, + "name": "currentPageNb", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#currentPageNb", + "access": null, + "description": null, + "lineNumber": 507, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 574, + "kind": "method", + "static": false, + "variation": null, + "name": "setPagingInfo", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#setPagingInfo", + "access": null, + "description": "Calculate number of pages based on valid rows\nRefresh paging select according to number of pages", + "lineNumber": 516, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "validRows", + "description": "Collection of valid rows" + } + ], + "generator": false + }, + { + "__docId__": 575, + "kind": "member", + "static": false, + "variation": null, + "name": "nbPages", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#nbPages", + "access": null, + "description": null, + "lineNumber": 524, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 576, + "kind": "method", + "static": false, + "variation": null, + "name": "groupByPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#groupByPage", + "access": null, + "description": "Group table rows by page and display valid rows", + "lineNumber": 555, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "validRows", + "description": "Collection of valid rows" + } + ], + "generator": false + }, + { + "__docId__": 577, + "kind": "method", + "static": false, + "variation": null, + "name": "getPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#getPage", + "access": null, + "description": "Return the current page number", + "lineNumber": 592, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Page number" + }, + "generator": false + }, + { + "__docId__": 578, + "kind": "method", + "static": false, + "variation": null, + "name": "setPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#setPage", + "access": null, + "description": "Show page defined by passed argument (string or number):", + "lineNumber": 601, + "params": [ + { + "nullable": null, + "types": [ + "String}/{Number" + ], + "spread": false, + "optional": false, + "name": "cmd", + "description": "possible string values: 'next',\n 'previous', 'last', 'first' or page number as per param" + } + ], + "generator": false + }, + { + "__docId__": 579, + "kind": "method", + "static": false, + "variation": null, + "name": "setResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#setResultsPerPage", + "access": null, + "description": "Generates UI elements for the number of results per page drop-down", + "lineNumber": 635, + "params": [], + "generator": false + }, + { + "__docId__": 580, + "kind": "member", + "static": false, + "variation": null, + "name": "slcResultsTxt", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#slcResultsTxt", + "access": null, + "description": null, + "lineNumber": 677, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 581, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLengthSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLengthSlc", + "access": null, + "description": null, + "lineNumber": 678, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 582, + "kind": "method", + "static": false, + "variation": null, + "name": "removeResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#removeResultsPerPage", + "access": null, + "description": "Remove number of results per page UI elements", + "lineNumber": 684, + "params": [], + "generator": false + }, + { + "__docId__": 583, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLengthSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLengthSlc", + "access": null, + "description": null, + "lineNumber": 696, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 584, + "kind": "member", + "static": false, + "variation": null, + "name": "slcResultsTxt", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#slcResultsTxt", + "access": null, + "description": null, + "lineNumber": 697, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 585, + "kind": "method", + "static": false, + "variation": null, + "name": "changePage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#changePage", + "access": null, + "description": "Change the page based on passed index", + "lineNumber": 704, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "Index of the page (0-n)" + } + ], + "generator": false + }, + { + "__docId__": 586, + "kind": "member", + "static": false, + "variation": null, + "name": "currentPageNb", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#currentPageNb", + "access": null, + "description": null, + "lineNumber": 720, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 587, + "kind": "member", + "static": false, + "variation": null, + "name": "startPagingRow", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#startPagingRow", + "access": null, + "description": null, + "lineNumber": 727, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 588, + "kind": "method", + "static": false, + "variation": null, + "name": "changeResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#changeResultsPerPage", + "access": null, + "description": "Change the number of results per page based on passed value", + "lineNumber": 742, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "val", + "description": "The number of results per page" + } + ], + "generator": false + }, + { + "__docId__": 589, + "kind": "method", + "static": false, + "variation": null, + "name": "onChangeResultsPerPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#onChangeResultsPerPage", + "access": null, + "description": "Change rows according to page results drop-down", + "lineNumber": 754, + "params": [], + "generator": false + }, + { + "__docId__": 590, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLength", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageLength", + "access": null, + "description": null, + "lineNumber": 770, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 591, + "kind": "member", + "static": false, + "variation": null, + "name": "startPagingRow", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#startPagingRow", + "access": null, + "description": null, + "lineNumber": 771, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 592, + "kind": "member", + "static": false, + "variation": null, + "name": "startPagingRow", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#startPagingRow", + "access": null, + "description": null, + "lineNumber": 775, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 593, + "kind": "method", + "static": false, + "variation": null, + "name": "resetPage", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resetPage", + "access": null, + "description": "Re-set page nb at page re-load", + "lineNumber": 793, + "params": [], + "generator": false + }, + { + "__docId__": 594, + "kind": "method", + "static": false, + "variation": null, + "name": "resetPageLength", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#resetPageLength", + "access": null, + "description": "Re-set page length value at page re-load", + "lineNumber": 809, + "params": [], + "generator": false + }, + { + "__docId__": 595, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#destroy", + "access": null, + "description": "Remove paging feature", + "lineNumber": 827, + "params": [], + "generator": false + }, + { + "__docId__": 596, + "kind": "member", + "static": false, + "variation": null, + "name": "btnNextCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnNextCont", + "access": null, + "description": null, + "lineNumber": 847, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 597, + "kind": "member", + "static": false, + "variation": null, + "name": "btnPrevCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnPrevCont", + "access": null, + "description": null, + "lineNumber": 853, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 598, + "kind": "member", + "static": false, + "variation": null, + "name": "btnLastCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnLastCont", + "access": null, + "description": null, + "lineNumber": 859, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 599, + "kind": "member", + "static": false, + "variation": null, + "name": "btnFirstCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#btnFirstCont", + "access": null, + "description": null, + "lineNumber": 865, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 600, + "kind": "member", + "static": false, + "variation": null, + "name": "pgBefore", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgBefore", + "access": null, + "description": null, + "lineNumber": 870, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 601, + "kind": "member", + "static": false, + "variation": null, + "name": "pgAfter", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgAfter", + "access": null, + "description": null, + "lineNumber": 875, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 602, + "kind": "member", + "static": false, + "variation": null, + "name": "pgCont", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pgCont", + "access": null, + "description": null, + "lineNumber": 880, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 603, + "kind": "member", + "static": false, + "variation": null, + "name": "pageSlc", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#pageSlc", + "access": null, + "description": null, + "lineNumber": 893, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 604, + "kind": "member", + "static": false, + "variation": null, + "name": "nbPages", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#nbPages", + "access": null, + "description": null, + "lineNumber": 894, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 605, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/paging.js~Paging", + "longname": "src/modules/paging.js~Paging#initialized", + "access": null, + "description": null, + "lineNumber": 896, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 606, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/popupFilter.js", + "memberof": null, + "longname": "src/modules/popupFilter.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {isUndef, EMPTY_FN} from '../types';\nimport {createElm, removeElm} from '../dom';\nimport {addEvt, cancelEvt, stopEvt, targetEvt, removeEvt} from '../event';\nimport {INPUT, NONE, CHECKLIST, MULTIPLE} from '../const';\nimport {root} from '../root';\nimport {defaultsStr, defaultsBool, defaultsArr, defaultsFn} from '../settings';\n\n/**\n * Pop-up filter component\n * @export\n * @class PopupFilter\n * @extends {Feature}\n */\nexport class PopupFilter extends Feature {\n\n /**\n * Creates an instance of PopupFilter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'popupFilters');\n\n // Configuration object\n let f = this.config.popup_filters || {};\n\n /**\n * Close active popup filter upon filtering, enabled by default\n * @type {Boolean}\n */\n this.closeOnFiltering = defaultsBool(f.close_on_filtering, true);\n\n /**\n * Filter icon path\n * @type {String}\n */\n this.iconPath = defaultsStr(f.image, tf.themesPath + 'icn_filter.gif');\n\n /**\n * Active filter icon path\n * @type {string}\n */\n this.activeIconPath = defaultsStr(f.image_active,\n tf.themesPath + 'icn_filterActive.gif');\n\n /**\n * HTML for the filter icon\n * @type {string}\n */\n this.iconHtml = defaultsStr(f.image_html,\n '\"Column');\n\n /**\n * Css class assigned to the popup container element\n * @type {String}\n */\n this.placeholderCssClass = defaultsStr(f.placeholder_css_class,\n 'popUpPlaceholder');\n\n /**\n * Css class assigned to filter container element\n * @type {String}\n */\n this.containerCssClass = defaultsStr(f.div_css_class, 'popUpFilter');\n\n /**\n * Ensure filter's container element width matches column width, enabled\n * by default\n * @type {Boolean}\n */\n this.adjustToContainer = defaultsBool(f.adjust_to_container, true);\n\n /**\n * Callback fired before a popup filter is opened\n * @type {Function}\n */\n this.onBeforeOpen = defaultsFn(f.on_before_popup_filter_open, EMPTY_FN);\n\n /**\n * Callback fired after a popup filter is opened\n * @type {Function}\n */\n this.onAfterOpen = defaultsFn(f.on_after_popup_filter_open, EMPTY_FN);\n\n /**\n * Callback fired before a popup filter is closed\n * @type {Function}\n */\n this.onBeforeClose = defaultsFn(f.on_before_popup_filter_close,\n EMPTY_FN);\n\n /**\n * Callback fired after a popup filter is closed\n * @type {Function}\n */\n this.onAfterClose = defaultsFn(f.on_after_popup_filter_close, EMPTY_FN);\n\n /**\n * Collection of filters spans\n * @type {Array}\n * @private\n */\n this.fltSpans = [];\n\n /**\n * Collection of filters icons\n * @type {Array}\n * @private\n */\n this.fltIcons = [];\n\n /**\n * Collection of filters icons cached after pop-up filters are removed\n * @type {Array}\n * @private\n */\n this.filtersCache = null;\n\n /**\n * Collection of filters containers\n * @type {Array}\n * @private\n */\n this.fltElms = defaultsArr(this.filtersCache, []);\n\n /**\n * Prefix for pop-up filter container ID\n * @type {String}\n * @private\n */\n this.prfxDiv = 'popup_';\n\n /**\n * Column index of popup filter currently active\n * @type {Number}\n * @private\n */\n this.activeFilterIdx = -1;\n }\n\n /**\n * Click event handler for pop-up filter icon\n * @private\n */\n onClick(evt) {\n let elm = targetEvt(evt).parentNode;\n let colIndex = parseInt(elm.getAttribute('ci'), 10);\n\n this.closeAll(colIndex);\n this.toggle(colIndex);\n\n if (this.adjustToContainer) {\n let cont = this.fltElms[colIndex],\n header = this.tf.getHeaderElement(colIndex),\n headerWidth = header.clientWidth * 0.95;\n cont.style.width = parseInt(headerWidth, 10) + 'px';\n }\n cancelEvt(evt);\n stopEvt(evt);\n }\n\n /**\n * Mouse-up event handler handling popup filter auto-close behaviour\n * @private\n */\n onMouseup(evt) {\n if (this.activeFilterIdx === -1) {\n return;\n }\n let targetElm = targetEvt(evt);\n let activeFlt = this.fltElms[this.activeFilterIdx];\n let icon = this.fltIcons[this.activeFilterIdx];\n\n if (icon === targetElm) {\n return;\n }\n\n while (targetElm && targetElm !== activeFlt) {\n targetElm = targetElm.parentNode;\n }\n\n if (targetElm !== activeFlt) {\n this.close(this.activeFilterIdx);\n }\n\n return;\n }\n\n /**\n * Initialize DOM elements\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n // Enable external filters\n tf.externalFltTgtIds = [''];\n\n // Override headers row index if no grouped headers\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.headersRow <= 1 && isNaN(tf.config().headers_row_index)) {\n tf.headersRow = 0;\n }\n\n // Adjust headers row index for grid-layout mode\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n if (tf.gridLayout) {\n tf.headersRow--;\n this.buildIcons();\n }\n\n // subscribe to events\n this.emitter.on(['before-filtering'], () => this.setIconsState());\n this.emitter.on(['after-filtering'], () => this.closeAll());\n this.emitter.on(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.on(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.on(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n /** @inherited */\n this.initialized = true;\n }\n\n /**\n * Reset previously destroyed feature\n */\n reset() {\n this.enable();\n this.init();\n this.buildIcons();\n this.buildAll();\n }\n\n /**\n * Build all filters icons\n */\n buildIcons() {\n let tf = this.tf;\n\n // TODO: Because of the filters row generation, headers row index needs\n // adjusting: prevent useless row generation\n tf.headersRow++;\n\n for (let i = 0; i < tf.nbCells; i++) {\n if (tf.getFilterType(i) === NONE) {\n continue;\n }\n let icon = createElm('span', ['ci', i]);\n icon.innerHTML = this.iconHtml;\n let header = tf.getHeaderElement(i);\n header.appendChild(icon);\n addEvt(icon, 'click', (evt) => this.onClick(evt));\n this.fltSpans[i] = icon;\n this.fltIcons[i] = icon.firstChild;\n }\n }\n\n /**\n * Build all pop-up filters elements\n */\n buildAll() {\n for (let i = 0; i < this.filtersCache.length; i++) {\n this.build(i, this.filtersCache[i]);\n }\n }\n\n /**\n * Build a specified pop-up filter elements\n * @param {Number} colIndex Column index\n * @param {Object} div Optional container DOM element\n */\n build(colIndex, div) {\n let tf = this.tf;\n let contId = `${this.prfxDiv}${tf.id}_${colIndex}`;\n let placeholder = createElm('div', ['class', this.placeholderCssClass]);\n let cont = div ||\n createElm('div', ['id', contId], ['class', this.containerCssClass]);\n tf.externalFltTgtIds[colIndex] = cont.id;\n placeholder.appendChild(cont);\n\n let header = tf.getHeaderElement(colIndex);\n header.insertBefore(placeholder, header.firstChild);\n addEvt(cont, 'click', (evt) => stopEvt(evt));\n this.fltElms[colIndex] = cont;\n }\n\n /**\n * Toggle visibility of specified filter\n * @param {Number} colIndex Column index\n */\n toggle(colIndex) {\n if (!this.isOpen(colIndex)) {\n this.open(colIndex);\n } else {\n this.close(colIndex);\n }\n }\n\n /**\n * Open popup filter of specified column\n * @param {Number} colIndex Column index\n */\n open(colIndex) {\n let tf = this.tf,\n container = this.fltElms[colIndex];\n\n this.onBeforeOpen(this, container, colIndex);\n\n container.style.display = 'block';\n this.activeFilterIdx = colIndex;\n addEvt(root, 'mouseup', (evt) => this.onMouseup(evt));\n\n if (tf.getFilterType(colIndex) === INPUT) {\n let flt = tf.getFilterElement(colIndex);\n if (flt) {\n flt.focus();\n }\n }\n\n this.onAfterOpen(this, container, colIndex);\n }\n\n /**\n * Close popup filter of specified column\n * @param {Number} colIndex Column index\n */\n close(colIndex) {\n let container = this.fltElms[colIndex];\n\n this.onBeforeClose(this, container, colIndex);\n\n container.style.display = NONE;\n if (this.activeFilterIdx === colIndex) {\n this.activeFilterIdx = -1;\n }\n removeEvt(root, 'mouseup', (evt) => this.onMouseup(evt));\n\n this.onAfterClose(this, container, colIndex);\n }\n\n /**\n * Check if popup filter for specified column is open\n * @param {Number} colIndex Column index\n * @returns {Boolean}\n */\n isOpen(colIndex) {\n return this.fltElms[colIndex].style.display === 'block';\n }\n\n /**\n * Close all filters excepted for the specified one if any\n * @param {Number} exceptIdx Column index of the filter to not close\n */\n closeAll(exceptIdx) {\n // Do not close filters only if argument is undefined and close on\n // filtering option is disabled\n if (isUndef(exceptIdx) && !this.closeOnFiltering) {\n return;\n }\n for (let i = 0; i < this.fltElms.length; i++) {\n if (i === exceptIdx) {\n continue;\n }\n let fltType = this.tf.getFilterType(i);\n let isMultipleFilter =\n (fltType === CHECKLIST || fltType === MULTIPLE);\n\n // Always hide all single selection filter types but hide multiple\n // selection filter types only if index set\n if (!isMultipleFilter || !isUndef(exceptIdx)) {\n this.close(i);\n }\n }\n }\n\n /**\n * Build all the icons representing the pop-up filters\n */\n setIconsState() {\n for (let i = 0; i < this.fltIcons.length; i++) {\n this.changeState(i, false);\n }\n }\n\n /**\n * Apply specified icon state\n * @param {Number} colIndex Column index\n * @param {Boolean} active Apply active state\n */\n changeState(colIndex, active) {\n let icon = this.fltIcons[colIndex];\n if (icon) {\n icon.src = active ? this.activeIconPath : this.iconPath;\n }\n }\n\n /**\n * Remove pop-up filters\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.filtersCache = [];\n for (let i = 0; i < this.fltElms.length; i++) {\n let container = this.fltElms[i],\n placeholder = container.parentNode,\n icon = this.fltSpans[i],\n iconImg = this.fltIcons[i];\n if (container) {\n removeElm(container);\n this.filtersCache[i] = container;\n }\n container = null;\n if (placeholder) {\n removeElm(placeholder);\n }\n placeholder = null;\n if (icon) {\n removeElm(icon);\n }\n icon = null;\n if (iconImg) {\n removeElm(iconImg);\n }\n iconImg = null;\n }\n this.fltElms = [];\n this.fltSpans = [];\n this.fltIcons = [];\n\n // TODO: expose an API to handle external filter IDs\n this.tf.externalFltTgtIds = [];\n\n // unsubscribe to events\n this.emitter.off(['before-filtering'], () => this.setIconsState());\n this.emitter.off(['after-filtering'], () => this.closeAll());\n this.emitter.off(['cell-processed'],\n (tf, cellIndex) => this.changeState(cellIndex, true));\n this.emitter.off(['filters-row-inserted'], () => this.buildIcons());\n this.emitter.off(['before-filter-init'],\n (tf, colIndex) => this.build(colIndex));\n\n this.initialized = false;\n }\n\n}\n" + }, + { + "__docId__": 607, + "kind": "class", + "static": true, + "variation": null, + "name": "PopupFilter", + "memberof": "src/modules/popupFilter.js", + "longname": "src/modules/popupFilter.js~PopupFilter", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/popupFilter.js", + "importStyle": "{PopupFilter}", + "description": "Pop-up filter component", + "lineNumber": 15, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "PopupFilter" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 608, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#constructor", + "access": null, + "description": "Creates an instance of PopupFilter", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 609, + "kind": "member", + "static": false, + "variation": null, + "name": "closeOnFiltering", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#closeOnFiltering", + "access": null, + "description": "Close active popup filter upon filtering, enabled by default", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 610, + "kind": "member", + "static": false, + "variation": null, + "name": "iconPath", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#iconPath", + "access": null, + "description": "Filter icon path", + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 611, + "kind": "member", + "static": false, + "variation": null, + "name": "activeIconPath", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#activeIconPath", + "access": null, + "description": "Active filter icon path", + "lineNumber": 43, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 612, + "kind": "member", + "static": false, + "variation": null, + "name": "iconHtml", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#iconHtml", + "access": null, + "description": "HTML for the filter icon", + "lineNumber": 50, + "type": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 613, + "kind": "member", + "static": false, + "variation": null, + "name": "placeholderCssClass", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#placeholderCssClass", + "access": null, + "description": "Css class assigned to the popup container element", + "lineNumber": 57, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 614, + "kind": "member", + "static": false, + "variation": null, + "name": "containerCssClass", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#containerCssClass", + "access": null, + "description": "Css class assigned to filter container element", + "lineNumber": 64, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 615, + "kind": "member", + "static": false, + "variation": null, + "name": "adjustToContainer", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#adjustToContainer", + "access": null, + "description": "Ensure filter's container element width matches column width, enabled\nby default", + "lineNumber": 71, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 616, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeOpen", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onBeforeOpen", + "access": null, + "description": "Callback fired before a popup filter is opened", + "lineNumber": 77, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 617, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterOpen", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onAfterOpen", + "access": null, + "description": "Callback fired after a popup filter is opened", + "lineNumber": 83, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 618, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeClose", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onBeforeClose", + "access": null, + "description": "Callback fired before a popup filter is closed", + "lineNumber": 89, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 619, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterClose", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onAfterClose", + "access": null, + "description": "Callback fired after a popup filter is closed", + "lineNumber": 96, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 620, + "kind": "member", + "static": false, + "variation": null, + "name": "fltSpans", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltSpans", + "access": "private", + "description": "Collection of filters spans", + "lineNumber": 103, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 621, + "kind": "member", + "static": false, + "variation": null, + "name": "fltIcons", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltIcons", + "access": "private", + "description": "Collection of filters icons", + "lineNumber": 110, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 622, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersCache", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#filtersCache", + "access": "private", + "description": "Collection of filters icons cached after pop-up filters are removed", + "lineNumber": 117, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 623, + "kind": "member", + "static": false, + "variation": null, + "name": "fltElms", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltElms", + "access": "private", + "description": "Collection of filters containers", + "lineNumber": 124, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 624, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxDiv", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#prfxDiv", + "access": "private", + "description": "Prefix for pop-up filter container ID", + "lineNumber": 131, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 625, + "kind": "member", + "static": false, + "variation": null, + "name": "activeFilterIdx", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#activeFilterIdx", + "access": "private", + "description": "Column index of popup filter currently active", + "lineNumber": 138, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 626, + "kind": "method", + "static": false, + "variation": null, + "name": "onClick", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onClick", + "access": "private", + "description": "Click event handler for pop-up filter icon", + "lineNumber": 145, + "params": [ + { + "name": "evt", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 627, + "kind": "method", + "static": false, + "variation": null, + "name": "onMouseup", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#onMouseup", + "access": "private", + "description": "Mouse-up event handler handling popup filter auto-close behaviour", + "lineNumber": 166, + "params": [ + { + "name": "evt", + "types": [ + "*" + ] + } + ], + "generator": false + }, + { + "__docId__": 628, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#init", + "access": null, + "description": "Initialize DOM elements", + "lineNumber": 192, + "params": [], + "generator": false + }, + { + "__docId__": 629, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#initialized", + "access": null, + "description": null, + "lineNumber": 227, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 630, + "kind": "method", + "static": false, + "variation": null, + "name": "reset", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#reset", + "access": null, + "description": "Reset previously destroyed feature", + "lineNumber": 233, + "params": [], + "generator": false + }, + { + "__docId__": 631, + "kind": "method", + "static": false, + "variation": null, + "name": "buildIcons", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#buildIcons", + "access": null, + "description": "Build all filters icons", + "lineNumber": 243, + "params": [], + "generator": false + }, + { + "__docId__": 632, + "kind": "method", + "static": false, + "variation": null, + "name": "buildAll", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#buildAll", + "access": null, + "description": "Build all pop-up filters elements", + "lineNumber": 267, + "params": [], + "generator": false + }, + { + "__docId__": 633, + "kind": "method", + "static": false, + "variation": null, + "name": "build", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#build", + "access": null, + "description": "Build a specified pop-up filter elements", + "lineNumber": 278, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "div", + "description": "Optional container DOM element" + } + ], + "generator": false + }, + { + "__docId__": 634, + "kind": "method", + "static": false, + "variation": null, + "name": "toggle", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#toggle", + "access": null, + "description": "Toggle visibility of specified filter", + "lineNumber": 297, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 635, + "kind": "method", + "static": false, + "variation": null, + "name": "open", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#open", + "access": null, + "description": "Open popup filter of specified column", + "lineNumber": 309, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 636, + "kind": "member", + "static": false, + "variation": null, + "name": "activeFilterIdx", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#activeFilterIdx", + "access": null, + "description": null, + "lineNumber": 316, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 637, + "kind": "method", + "static": false, + "variation": null, + "name": "close", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#close", + "access": null, + "description": "Close popup filter of specified column", + "lineNumber": 333, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "generator": false + }, + { + "__docId__": 638, + "kind": "member", + "static": false, + "variation": null, + "name": "activeFilterIdx", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#activeFilterIdx", + "access": null, + "description": null, + "lineNumber": 340, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 639, + "kind": "method", + "static": false, + "variation": null, + "name": "isOpen", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#isOpen", + "access": null, + "description": "Check if popup filter for specified column is open", + "lineNumber": 352, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 640, + "kind": "method", + "static": false, + "variation": null, + "name": "closeAll", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#closeAll", + "access": null, + "description": "Close all filters excepted for the specified one if any", + "lineNumber": 360, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "exceptIdx", + "description": "Column index of the filter to not close" + } + ], + "generator": false + }, + { + "__docId__": 641, + "kind": "method", + "static": false, + "variation": null, + "name": "setIconsState", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#setIconsState", + "access": null, + "description": "Build all the icons representing the pop-up filters", + "lineNumber": 385, + "params": [], + "generator": false + }, + { + "__docId__": 642, + "kind": "method", + "static": false, + "variation": null, + "name": "changeState", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#changeState", + "access": null, + "description": "Apply specified icon state", + "lineNumber": 396, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "active", + "description": "Apply active state" + } + ], + "generator": false + }, + { + "__docId__": 643, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#destroy", + "access": null, + "description": "Remove pop-up filters", + "lineNumber": 406, + "params": [], + "generator": false + }, + { + "__docId__": 644, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersCache", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#filtersCache", + "access": null, + "description": null, + "lineNumber": 411, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 645, + "kind": "member", + "static": false, + "variation": null, + "name": "fltElms", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltElms", + "access": null, + "description": null, + "lineNumber": 435, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 646, + "kind": "member", + "static": false, + "variation": null, + "name": "fltSpans", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltSpans", + "access": null, + "description": null, + "lineNumber": 436, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 647, + "kind": "member", + "static": false, + "variation": null, + "name": "fltIcons", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#fltIcons", + "access": null, + "description": null, + "lineNumber": 437, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 648, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/popupFilter.js~PopupFilter", + "longname": "src/modules/popupFilter.js~PopupFilter#initialized", + "access": null, + "description": null, + "lineNumber": 451, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 649, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/rowsCounter.js", + "memberof": null, + "longname": "src/modules/rowsCounter.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {EMPTY_FN} from '../types';\nimport {defaultsStr, defaultsFn} from '../settings';\n\n/**\n * Rows counter UI component\n * @export\n * @class RowsCounter\n * @extends {Feature}\n */\nexport class RowsCounter extends Feature {\n\n /**\n * Creates an instance of RowsCounter\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'rowsCounter');\n\n // TableFilter configuration\n let f = this.config.rows_counter || {};\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = defaultsStr(f.target_id, null);\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Container DOM element for label displaying the total number of rows\n * @type {DOMElement}\n * @private\n */\n this.label = null;\n\n /**\n * Text preceding the total number of rows\n * @type {String}\n */\n this.text = defaultsStr(f.text, 'Rows: ');\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page when paging is enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.fromToTextSeparator = defaultsStr(f.separator, '-');\n\n /**\n * Separator symbol appearing between the first and last visible rows of\n * current page and the total number of filterable rows when paging is\n * enabled. ie: Rows: 31-40 / 70\n * @type {String}\n */\n this.overText = defaultsStr(f.over_text, ' / ');\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = defaultsStr(f.css_class, 'tot');\n\n /**\n * Callback fired before the counter is refreshed\n * @type {Function}\n */\n this.onBeforeRefreshCounter = defaultsFn(f.on_before_refresh_counter,\n EMPTY_FN);\n\n /**\n * Callback fired after the counter is refreshed\n * @type {Function}\n */\n this.onAfterRefreshCounter = defaultsFn(f.on_after_refresh_counter,\n EMPTY_FN);\n }\n\n /**\n * Initializes RowsCounter instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n\n //rows counter container\n let countDiv = createElm('div');\n countDiv.className = this.cssClass;\n //rows counter label\n let countSpan = createElm('span');\n let countText = createElm('span');\n countText.appendChild(createText(this.text));\n\n // counter is added to defined element\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n countDiv.appendChild(countText);\n countDiv.appendChild(countSpan);\n targetEl.appendChild(countDiv);\n } else {\n //custom container, no need to append statusDiv\n targetEl.appendChild(countText);\n targetEl.appendChild(countSpan);\n }\n this.container = countDiv;\n this.label = countSpan;\n\n // subscribe to events\n this.emitter.on(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.on(['rows-changed'], () => this.refresh());\n\n /** @inherited */\n this.initialized = true;\n this.refresh();\n }\n\n /**\n * Refreshes the rows counter\n * @param {Number} p Optional parameter the total number of rows to display\n */\n refresh(p) {\n if (!this.initialized || !this.isEnabled()) {\n return;\n }\n\n let tf = this.tf;\n\n this.onBeforeRefreshCounter(tf, this.label);\n\n let totTxt;\n if (!tf.paging) {\n if (p && p !== '') {\n totTxt = p;\n } else {\n totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;\n }\n } else {\n let paging = tf.feature('paging');\n if (paging) {\n let nbValidRows = tf.getValidRowsNb();\n //paging start row\n let pagingStartRow = parseInt(paging.startPagingRow, 10) +\n ((nbValidRows > 0) ? 1 : 0);\n let pagingEndRow =\n (pagingStartRow + paging.pageLength) - 1 <=\n nbValidRows ?\n pagingStartRow + paging.pageLength - 1 :\n nbValidRows;\n totTxt = pagingStartRow + this.fromToTextSeparator +\n pagingEndRow + this.overText + nbValidRows;\n }\n }\n\n this.label.innerHTML = totTxt;\n this.onAfterRefreshCounter(tf, this.label, totTxt);\n }\n\n /**\n * Remove feature\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n if (!this.targetId && this.container) {\n removeElm(this.container);\n } else {\n elm(this.targetId).innerHTML = '';\n }\n this.label = null;\n this.container = null;\n\n // unsubscribe to events\n this.emitter.off(['after-filtering', 'grouped-by-page'],\n () => this.refresh(tf.getValidRowsNb()));\n this.emitter.off(['rows-changed'], () => this.refresh());\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 650, + "kind": "class", + "static": true, + "variation": null, + "name": "RowsCounter", + "memberof": "src/modules/rowsCounter.js", + "longname": "src/modules/rowsCounter.js~RowsCounter", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/rowsCounter.js", + "importStyle": "{RowsCounter}", + "description": "Rows counter UI component", + "lineNumber": 12, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "RowsCounter" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 651, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#constructor", + "access": null, + "description": "Creates an instance of RowsCounter", + "lineNumber": 18, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 652, + "kind": "member", + "static": false, + "variation": null, + "name": "targetId", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#targetId", + "access": null, + "description": "ID of custom container element", + "lineNumber": 28, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 653, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#container", + "access": "private", + "description": "Container DOM element", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 654, + "kind": "member", + "static": false, + "variation": null, + "name": "label", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#label", + "access": "private", + "description": "Container DOM element for label displaying the total number of rows", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 655, + "kind": "member", + "static": false, + "variation": null, + "name": "text", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#text", + "access": null, + "description": "Text preceding the total number of rows", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 656, + "kind": "member", + "static": false, + "variation": null, + "name": "fromToTextSeparator", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#fromToTextSeparator", + "access": null, + "description": "Separator symbol appearing between the first and last visible rows of\ncurrent page when paging is enabled. ie: Rows: 31-40 / 70", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 657, + "kind": "member", + "static": false, + "variation": null, + "name": "overText", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#overText", + "access": null, + "description": "Separator symbol appearing between the first and last visible rows of\ncurrent page and the total number of filterable rows when paging is\nenabled. ie: Rows: 31-40 / 70", + "lineNumber": 63, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 658, + "kind": "member", + "static": false, + "variation": null, + "name": "cssClass", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#cssClass", + "access": null, + "description": "Css class for container element", + "lineNumber": 69, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 659, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeRefreshCounter", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#onBeforeRefreshCounter", + "access": null, + "description": "Callback fired before the counter is refreshed", + "lineNumber": 75, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 660, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterRefreshCounter", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#onAfterRefreshCounter", + "access": null, + "description": "Callback fired after the counter is refreshed", + "lineNumber": 82, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 661, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#init", + "access": null, + "description": "Initializes RowsCounter instance", + "lineNumber": 89, + "params": [], + "generator": false + }, + { + "__docId__": 662, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#container", + "access": null, + "description": null, + "lineNumber": 120, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 663, + "kind": "member", + "static": false, + "variation": null, + "name": "label", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#label", + "access": null, + "description": null, + "lineNumber": 121, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 664, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#initialized", + "access": null, + "description": null, + "lineNumber": 129, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 665, + "kind": "method", + "static": false, + "variation": null, + "name": "refresh", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#refresh", + "access": null, + "description": "Refreshes the rows counter", + "lineNumber": 137, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "p", + "description": "Optional parameter the total number of rows to display" + } + ], + "generator": false + }, + { + "__docId__": 666, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#destroy", + "access": null, + "description": "Remove feature", + "lineNumber": 177, + "params": [], + "generator": false + }, + { + "__docId__": 667, + "kind": "member", + "static": false, + "variation": null, + "name": "label", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#label", + "access": null, + "description": null, + "lineNumber": 187, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 668, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#container", + "access": null, + "description": null, + "lineNumber": 188, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 669, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/rowsCounter.js~RowsCounter", + "longname": "src/modules/rowsCounter.js~RowsCounter#initialized", + "access": null, + "description": null, + "lineNumber": 195, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 670, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/state.js", + "memberof": null, + "longname": "src/modules/state.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {Hash} from './hash';\nimport {Storage} from './storage';\nimport {isEmpty} from '../string';\nimport {isArray, isNull, isString, isUndef} from '../types';\nimport {defaultsBool, defaultsNb} from '../settings';\n\n/**\n * Features state object persistable with localStorage, cookie or URL hash\n *\n * @export\n * @class State\n * @extends {Feature}\n */\nexport class State extends Feature {\n\n /**\n * Creates an instance of State\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'state');\n\n let cfg = this.config.state || {};\n\n /**\n * Determines whether state is persisted with URL hash\n * @type {Boolean}\n */\n this.enableHash = cfg === true ||\n (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableLocalStorage = isArray(cfg.types) &&\n cfg.types.indexOf('local_storage') !== -1;\n\n /**\n * Determines whether state is persisted with localStorage\n * @type {Boolean}\n */\n this.enableCookie = isArray(cfg.types) &&\n cfg.types.indexOf('cookie') !== -1;\n\n /**\n * Persist filters values, enabled by default\n * @type {Boolean}\n */\n this.persistFilters = defaultsBool(cfg.filters, true);\n\n /**\n * Persist current page number when paging is enabled\n * @type {Boolean}\n */\n this.persistPageNumber = Boolean(cfg.page_number);\n\n /**\n * Persist page length when paging is enabled\n * @type {Boolean}\n */\n this.persistPageLength = Boolean(cfg.page_length);\n\n /**\n * Persist column sorting\n * @type {Boolean}\n */\n this.persistSort = Boolean(cfg.sort);\n\n /**\n * Persist columns visibility\n * @type {Boolean}\n */\n this.persistColsVisibility = Boolean(cfg.columns_visibility);\n\n /**\n * Persist filters row visibility\n * @type {Boolean}\n */\n this.persistFiltersVisibility = Boolean(cfg.filters_visibility);\n\n /**\n * Cookie duration in hours\n * @type {Boolean}\n */\n this.cookieDuration = defaultsNb(parseInt(cfg.cookie_duration, 10),\n 87600);\n\n /**\n * Enable Storage if localStorage or cookie is required\n * @type {Boolean}\n * @private\n */\n this.enableStorage = this.enableLocalStorage || this.enableCookie;\n\n /**\n * Storage instance if storage is required\n * @type {Storage}\n * @private\n */\n this.storage = null;\n\n /**\n * Hash instance if URL hash is required\n * @type {Boolean}\n * @private\n */\n this.hash = null;\n\n /**\n * Current page number\n * @type {Number}\n * @private\n */\n this.pageNb = null;\n\n /**\n * Current page length\n * @type {Number}\n * @private\n */\n this.pageLength = null;\n\n /**\n * Current column sorting\n * @type {Object}\n * @private\n */\n this.sort = null;\n\n /**\n * Current hidden columns\n * @type {Object}\n * @private\n */\n this.hiddenCols = null;\n\n /**\n * Filters row visibility\n * @type {Boolean}\n * @private\n */\n this.filtersVisibility = null;\n\n /**\n * State object\n * @type {Object}\n * @private\n */\n this.state = {};\n\n /**\n * Prefix for column ID\n * @type {String}\n * @private\n */\n this.prfxCol = 'col_';\n\n /**\n * Prefix for page number ID\n * @type {String}\n * @private\n */\n this.pageNbKey = 'page';\n\n /**\n * Prefix for page length ID\n * @type {String}\n * @private\n */\n this.pageLengthKey = 'page_length';\n\n /**\n * Prefix for filters visibility ID\n * @type {String}\n * @private\n */\n this.filtersVisKey = 'filters_visibility';\n }\n\n /**\n * Initializes State instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n this.emitter.on(['after-filtering'], () => this.update());\n this.emitter.on(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.on(['after-page-length-change'],\n (tf, pageLength) => this.updatePageLength(pageLength));\n this.emitter.on(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.on(['sort-initialized'], () => this._syncSort());\n this.emitter.on(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.on(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.on(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.on(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash = new Hash(this);\n this.hash.init();\n }\n if (this.enableStorage) {\n this.storage = new Storage(this);\n this.storage.init();\n }\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n\n /**\n * Update state object based on current features state\n */\n update() {\n if (!this.isEnabled()) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n if (this.persistFilters) {\n let filterValues = tf.getFiltersValue();\n\n filterValues.forEach((val, idx) => {\n let key = `${this.prfxCol}${idx}`;\n\n if (isString(val) && isEmpty(val)) {\n if (state.hasOwnProperty(key)) {\n state[key].flt = undefined;\n }\n } else {\n state[key] = state[key] || {};\n state[key].flt = val;\n }\n });\n }\n\n if (this.persistPageNumber) {\n if (isNull(this.pageNb)) {\n state[this.pageNbKey] = undefined;\n } else {\n state[this.pageNbKey] = this.pageNb;\n }\n }\n\n if (this.persistPageLength) {\n if (isNull(this.pageLength)) {\n state[this.pageLengthKey] = undefined;\n } else {\n state[this.pageLengthKey] = this.pageLength;\n }\n }\n\n if (this.persistSort) {\n if (!isNull(this.sort)) {\n // Remove previuosly sorted column\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].sort = undefined;\n }\n });\n\n let key = `${this.prfxCol}${this.sort.column}`;\n state[key] = state[key] || {};\n state[key].sort = { descending: this.sort.descending };\n }\n }\n\n if (this.persistColsVisibility) {\n if (!isNull(this.hiddenCols)) {\n // Clear previuosly hidden columns\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1 && state[key]) {\n state[key].hidden = undefined;\n }\n });\n\n this.hiddenCols.forEach((colIdx) => {\n let key = `${this.prfxCol}${colIdx}`;\n state[key] = state[key] || {};\n state[key].hidden = true;\n });\n }\n }\n\n if (this.persistFiltersVisibility) {\n if (isNull(this.filtersVisibility)) {\n state[this.filtersVisKey] = undefined;\n } else {\n state[this.filtersVisKey] = this.filtersVisibility;\n }\n }\n\n this.emitter.emit('state-changed', tf, state);\n }\n\n /**\n * Refresh page number field on page number changes\n *\n * @param {Number} pageNb Current page number\n */\n updatePage(pageNb) {\n this.pageNb = pageNb;\n this.update();\n }\n\n /**\n * Refresh page length field on page length changes\n *\n * @param {Number} pageLength Current page length value\n */\n updatePageLength(pageLength) {\n this.pageLength = pageLength;\n this.update();\n }\n\n /**\n * Refresh column sorting information on sort changes\n *\n * @param index {Number} Column index\n * @param {Boolean} descending Descending manner\n */\n updateSort(index, descending) {\n this.sort = {\n column: index,\n descending: descending\n };\n this.update();\n }\n\n /**\n * Refresh hidden columns information on columns visibility changes\n *\n * @param {Array} hiddenCols Columns indexes\n */\n updateColsVisibility(hiddenCols) {\n this.hiddenCols = hiddenCols;\n this.update();\n }\n\n /**\n * Refresh filters visibility on filters visibility change\n *\n * @param {Boolean} visible Visibility flad\n */\n updateFiltersVisibility(visible) {\n this.filtersVisibility = visible;\n this.update();\n }\n\n /**\n * Override state field\n *\n * @param state State object\n */\n override(state) {\n this.state = state;\n }\n\n /**\n * Sync stored features state\n */\n sync() {\n let state = this.state;\n let tf = this.tf;\n\n this._syncFilters();\n\n if (this.persistPageNumber) {\n let pageNumber = state[this.pageNbKey];\n this.emitter.emit('change-page', tf, pageNumber);\n }\n\n if (this.persistPageLength) {\n let pageLength = state[this.pageLengthKey];\n this.emitter.emit('change-page-results', tf, pageLength);\n }\n\n this._syncSort();\n this._syncColsVisibility();\n this._syncFiltersVisibility();\n }\n\n /**\n * Override current state with passed one and sync features\n *\n * @param {Object} state State object\n */\n overrideAndSync(state) {\n // To prevent state to react to features changes, state is temporarily\n // disabled\n this.disable();\n // State is overriden with passed state object\n this.override(state);\n // New hash state is applied to features\n this.sync();\n // State is re-enabled\n this.enable();\n }\n\n /**\n * Sync filters with stored values and filter table\n *\n * @private\n */\n _syncFilters() {\n if (!this.persistFilters) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n let val = state[key].flt;\n tf.setFilterValue(colIdx, val);\n }\n });\n\n tf.filter();\n }\n\n /**\n * Sync sorted column with stored sorting information and sort table\n *\n * @private\n */\n _syncSort() {\n if (!this.persistSort) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].sort)) {\n let sort = state[key].sort;\n this.emitter.emit('sort', tf, colIdx, sort.descending);\n }\n }\n });\n }\n\n /**\n * Sync hidden columns with stored information\n *\n * @private\n */\n _syncColsVisibility() {\n if (!this.persistColsVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let hiddenCols = [];\n\n Object.keys(state).forEach((key) => {\n if (key.indexOf(this.prfxCol) !== -1) {\n let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);\n if (!isUndef(state[key].hidden)) {\n hiddenCols.push(colIdx);\n }\n }\n });\n\n hiddenCols.forEach((colIdx) => {\n this.emitter.emit('hide-column', tf, colIdx);\n });\n }\n\n /**\n * Sync filters visibility with stored information\n *\n * @private\n */\n _syncFiltersVisibility() {\n if (!this.persistFiltersVisibility) {\n return;\n }\n let state = this.state;\n let tf = this.tf;\n let filtersVisibility = state[this.filtersVisKey];\n\n this.filtersVisibility = filtersVisibility;\n this.emitter.emit('show-filters', tf, filtersVisibility);\n }\n\n /**\n * Destroy State instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n this.state = {};\n\n this.emitter.off(['after-filtering'], () => this.update());\n this.emitter.off(['after-page-change', 'after-clearing-filters'],\n (tf, pageNb) => this.updatePage(pageNb));\n this.emitter.off(['after-page-length-change'],\n (tf, index) => this.updatePageLength(index));\n this.emitter.off(['column-sorted'],\n (tf, index, descending) => this.updateSort(index, descending));\n this.emitter.off(['sort-initialized'], () => this._syncSort());\n this.emitter.off(['columns-visibility-initialized'],\n () => this._syncColsVisibility());\n this.emitter.off(['column-shown', 'column-hidden'], (tf, feature,\n colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));\n this.emitter.off(['filters-visibility-initialized'],\n () => this._syncFiltersVisibility());\n this.emitter.off(['filters-toggled'],\n (tf, extension, visible) => this.updateFiltersVisibility(visible));\n\n if (this.enableHash) {\n this.hash.destroy();\n this.hash = null;\n }\n\n if (this.enableStorage) {\n this.storage.destroy();\n this.storage = null;\n }\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 671, + "kind": "class", + "static": true, + "variation": null, + "name": "State", + "memberof": "src/modules/state.js", + "longname": "src/modules/state.js~State", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/state.js", + "importStyle": "{State}", + "description": "Features state object persistable with localStorage, cookie or URL hash", + "lineNumber": 15, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "State" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 672, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#constructor", + "access": null, + "description": "Creates an instance of State", + "lineNumber": 21, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 673, + "kind": "member", + "static": false, + "variation": null, + "name": "enableHash", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#enableHash", + "access": null, + "description": "Determines whether state is persisted with URL hash", + "lineNumber": 30, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 674, + "kind": "member", + "static": false, + "variation": null, + "name": "enableLocalStorage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#enableLocalStorage", + "access": null, + "description": "Determines whether state is persisted with localStorage", + "lineNumber": 37, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 675, + "kind": "member", + "static": false, + "variation": null, + "name": "enableCookie", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#enableCookie", + "access": null, + "description": "Determines whether state is persisted with localStorage", + "lineNumber": 44, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 676, + "kind": "member", + "static": false, + "variation": null, + "name": "persistFilters", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistFilters", + "access": null, + "description": "Persist filters values, enabled by default", + "lineNumber": 51, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 677, + "kind": "member", + "static": false, + "variation": null, + "name": "persistPageNumber", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistPageNumber", + "access": null, + "description": "Persist current page number when paging is enabled", + "lineNumber": 57, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 678, + "kind": "member", + "static": false, + "variation": null, + "name": "persistPageLength", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistPageLength", + "access": null, + "description": "Persist page length when paging is enabled", + "lineNumber": 63, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 679, + "kind": "member", + "static": false, + "variation": null, + "name": "persistSort", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistSort", + "access": null, + "description": "Persist column sorting", + "lineNumber": 69, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 680, + "kind": "member", + "static": false, + "variation": null, + "name": "persistColsVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistColsVisibility", + "access": null, + "description": "Persist columns visibility", + "lineNumber": 75, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 681, + "kind": "member", + "static": false, + "variation": null, + "name": "persistFiltersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#persistFiltersVisibility", + "access": null, + "description": "Persist filters row visibility", + "lineNumber": 81, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 682, + "kind": "member", + "static": false, + "variation": null, + "name": "cookieDuration", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#cookieDuration", + "access": null, + "description": "Cookie duration in hours", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 683, + "kind": "member", + "static": false, + "variation": null, + "name": "enableStorage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#enableStorage", + "access": "private", + "description": "Enable Storage if localStorage or cookie is required", + "lineNumber": 95, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 684, + "kind": "member", + "static": false, + "variation": null, + "name": "storage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#storage", + "access": "private", + "description": "Storage instance if storage is required", + "lineNumber": 102, + "type": { + "nullable": null, + "types": [ + "Storage" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 685, + "kind": "member", + "static": false, + "variation": null, + "name": "hash", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#hash", + "access": "private", + "description": "Hash instance if URL hash is required", + "lineNumber": 109, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 686, + "kind": "member", + "static": false, + "variation": null, + "name": "pageNb", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageNb", + "access": "private", + "description": "Current page number", + "lineNumber": 116, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 687, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLength", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageLength", + "access": "private", + "description": "Current page length", + "lineNumber": 123, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 688, + "kind": "member", + "static": false, + "variation": null, + "name": "sort", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#sort", + "access": "private", + "description": "Current column sorting", + "lineNumber": 130, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 689, + "kind": "member", + "static": false, + "variation": null, + "name": "hiddenCols", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#hiddenCols", + "access": "private", + "description": "Current hidden columns", + "lineNumber": 137, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 690, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#filtersVisibility", + "access": "private", + "description": "Filters row visibility", + "lineNumber": 144, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 691, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#state", + "access": "private", + "description": "State object", + "lineNumber": 151, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 692, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxCol", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#prfxCol", + "access": "private", + "description": "Prefix for column ID", + "lineNumber": 158, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 693, + "kind": "member", + "static": false, + "variation": null, + "name": "pageNbKey", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageNbKey", + "access": "private", + "description": "Prefix for page number ID", + "lineNumber": 165, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 694, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLengthKey", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageLengthKey", + "access": "private", + "description": "Prefix for page length ID", + "lineNumber": 172, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 695, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersVisKey", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#filtersVisKey", + "access": "private", + "description": "Prefix for filters visibility ID", + "lineNumber": 179, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 696, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#init", + "access": null, + "description": "Initializes State instance", + "lineNumber": 185, + "params": [], + "generator": false + }, + { + "__docId__": 697, + "kind": "member", + "static": false, + "variation": null, + "name": "hash", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#hash", + "access": null, + "description": null, + "lineNumber": 208, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 698, + "kind": "member", + "static": false, + "variation": null, + "name": "storage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#storage", + "access": null, + "description": null, + "lineNumber": 212, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 699, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#initialized", + "access": null, + "description": "", + "lineNumber": 219, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 700, + "kind": "method", + "static": false, + "variation": null, + "name": "update", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#update", + "access": null, + "description": "Update state object based on current features state", + "lineNumber": 226, + "params": [], + "generator": false + }, + { + "__docId__": 701, + "kind": "method", + "static": false, + "variation": null, + "name": "updatePage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#updatePage", + "access": null, + "description": "Refresh page number field on page number changes", + "lineNumber": 314, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "pageNb", + "description": "Current page number" + } + ], + "generator": false + }, + { + "__docId__": 702, + "kind": "member", + "static": false, + "variation": null, + "name": "pageNb", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageNb", + "access": null, + "description": null, + "lineNumber": 315, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 703, + "kind": "method", + "static": false, + "variation": null, + "name": "updatePageLength", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#updatePageLength", + "access": null, + "description": "Refresh page length field on page length changes", + "lineNumber": 324, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "pageLength", + "description": "Current page length value" + } + ], + "generator": false + }, + { + "__docId__": 704, + "kind": "member", + "static": false, + "variation": null, + "name": "pageLength", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#pageLength", + "access": null, + "description": null, + "lineNumber": 325, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 705, + "kind": "method", + "static": false, + "variation": null, + "name": "updateSort", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#updateSort", + "access": null, + "description": "Refresh column sorting information on sort changes", + "lineNumber": 335, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "{Number} Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "descending", + "description": "Descending manner" + } + ], + "generator": false + }, + { + "__docId__": 706, + "kind": "member", + "static": false, + "variation": null, + "name": "sort", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#sort", + "access": null, + "description": null, + "lineNumber": 336, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 707, + "kind": "method", + "static": false, + "variation": null, + "name": "updateColsVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#updateColsVisibility", + "access": null, + "description": "Refresh hidden columns information on columns visibility changes", + "lineNumber": 348, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "hiddenCols", + "description": "Columns indexes" + } + ], + "generator": false + }, + { + "__docId__": 708, + "kind": "member", + "static": false, + "variation": null, + "name": "hiddenCols", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#hiddenCols", + "access": null, + "description": null, + "lineNumber": 349, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 709, + "kind": "method", + "static": false, + "variation": null, + "name": "updateFiltersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#updateFiltersVisibility", + "access": null, + "description": "Refresh filters visibility on filters visibility change", + "lineNumber": 358, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "visible", + "description": "Visibility flad" + } + ], + "generator": false + }, + { + "__docId__": 710, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#filtersVisibility", + "access": null, + "description": null, + "lineNumber": 359, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 711, + "kind": "method", + "static": false, + "variation": null, + "name": "override", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#override", + "access": null, + "description": "Override state field", + "lineNumber": 368, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "State object" + } + ], + "generator": false + }, + { + "__docId__": 712, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#state", + "access": null, + "description": null, + "lineNumber": 369, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 713, + "kind": "method", + "static": false, + "variation": null, + "name": "sync", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#sync", + "access": null, + "description": "Sync stored features state", + "lineNumber": 375, + "params": [], + "generator": false + }, + { + "__docId__": 714, + "kind": "method", + "static": false, + "variation": null, + "name": "overrideAndSync", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#overrideAndSync", + "access": null, + "description": "Override current state with passed one and sync features", + "lineNumber": 401, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "State object" + } + ], + "generator": false + }, + { + "__docId__": 715, + "kind": "method", + "static": false, + "variation": null, + "name": "_syncFilters", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#_syncFilters", + "access": "private", + "description": "Sync filters with stored values and filter table", + "lineNumber": 418, + "params": [], + "generator": false + }, + { + "__docId__": 716, + "kind": "method", + "static": false, + "variation": null, + "name": "_syncSort", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#_syncSort", + "access": "private", + "description": "Sync sorted column with stored sorting information and sort table", + "lineNumber": 441, + "params": [], + "generator": false + }, + { + "__docId__": 717, + "kind": "method", + "static": false, + "variation": null, + "name": "_syncColsVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#_syncColsVisibility", + "access": "private", + "description": "Sync hidden columns with stored information", + "lineNumber": 464, + "params": [], + "generator": false + }, + { + "__docId__": 718, + "kind": "method", + "static": false, + "variation": null, + "name": "_syncFiltersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#_syncFiltersVisibility", + "access": "private", + "description": "Sync filters visibility with stored information", + "lineNumber": 491, + "params": [], + "generator": false + }, + { + "__docId__": 719, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersVisibility", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#filtersVisibility", + "access": null, + "description": null, + "lineNumber": 499, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 720, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#destroy", + "access": null, + "description": "Destroy State instance", + "lineNumber": 506, + "params": [], + "generator": false + }, + { + "__docId__": 721, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#state", + "access": null, + "description": null, + "lineNumber": 511, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 722, + "kind": "member", + "static": false, + "variation": null, + "name": "hash", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#hash", + "access": null, + "description": null, + "lineNumber": 532, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 723, + "kind": "member", + "static": false, + "variation": null, + "name": "storage", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#storage", + "access": null, + "description": null, + "lineNumber": 537, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 724, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/state.js~State", + "longname": "src/modules/state.js~State#initialized", + "access": null, + "description": null, + "lineNumber": 540, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 725, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/statusBar.js", + "memberof": null, + "longname": "src/modules/statusBar.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {Feature} from '../feature';\nimport {root} from '../root';\nimport {createElm, createText, elm, removeElm} from '../dom';\nimport {EMPTY_FN} from '../types';\nimport {defaultsStr, defaultsFn} from '../settings';\n\nconst EVENTS = [\n 'after-filtering',\n 'after-populating-filter',\n 'after-page-change',\n 'after-clearing-filters',\n 'after-page-length-change',\n 'after-reset-page',\n 'after-reset-page-length',\n 'after-loading-extensions',\n 'after-loading-themes'\n];\n\n/**\n * Status bar UI component\n * @export\n * @class StatusBar\n * @extends {Feature}\n */\nexport class StatusBar extends Feature {\n\n /**\n * Creates an instance of StatusBar\n * @param {TableFilter} tf TableFilter instance\n */\n constructor(tf) {\n super(tf, 'statusBar');\n\n // Configuration object\n let f = this.config.status_bar || {};\n\n /**\n * ID of custom container element\n * @type {String}\n */\n this.targetId = defaultsStr(f.target_id, null);\n\n /**\n * Container DOM element\n * @type {DOMElement}\n * @private\n */\n this.container = null;\n\n /**\n * Message container DOM element\n * @type {DOMElement}\n * @private\n */\n this.msgContainer = null;\n\n /**\n * Label container DOM element\n * @type {DOMElement}\n * @private\n */\n this.labelContainer = null;\n\n /**\n * Text preceding status message\n * @type {String}\n */\n this.text = defaultsStr(f.text, '');\n\n /**\n * Css class for container element\n * @type {String}\n */\n this.cssClass = defaultsStr(f.css_class, 'status');\n\n /**\n * Message visibility duration in milliseconds\n * @type {Number}\n * @private\n */\n this.delay = 250;\n\n /**\n * Callback fired before the message is displayed\n * @type {Function}\n */\n this.onBeforeShowMsg = defaultsFn(f.on_before_show_msg, EMPTY_FN);\n\n /**\n * Callback fired after the message is displayed\n * @type {Function}\n */\n this.onAfterShowMsg = defaultsFn(f.on_after_show_msg, EMPTY_FN);\n\n /**\n * Message appearing upon filtering\n * @type {String}\n */\n this.msgFilter = defaultsStr(f.msg_filter, 'Filtering data...');\n\n /**\n * Message appearing when a drop-down filter is populated\n * @type {String}\n */\n this.msgPopulate = defaultsStr(f.msg_populate, 'Populating filter...');\n\n /**\n * Message appearing when a checklist filter is populated\n * @type {String}\n */\n this.msgPopulateCheckList = defaultsStr(f.msg_populate_checklist,\n 'Populating list...');\n\n /**\n * Message appearing when a pagination page is changed\n * @type {String}\n */\n this.msgChangePage = defaultsStr(f.msg_change_page,\n 'Collecting paging data...');\n\n /**\n * Message appearing when filters are cleared\n * @type {String}\n */\n this.msgClear = defaultsStr(f.msg_clear, 'Clearing filters...');\n\n /**\n * Message appearing when the page length is changed\n * @type {String}\n */\n this.msgChangeResults = defaultsStr(f.msg_change_results,\n 'Changing results per page...');\n\n /**\n * Message appearing when the page is re-set\n * @type {String}\n */\n this.msgResetPage = defaultsStr(f.msg_reset_page, 'Re-setting page...');\n\n /**\n * Message appearing when the page length is re-set\n * @type {String}\n */\n this.msgResetPageLength = defaultsStr(f.msg_reset_page_length,\n 'Re-setting page length...');\n\n /**\n * Message appearing upon column sorting\n * @type {String}\n */\n this.msgSort = defaultsStr(f.msg_sort, 'Sorting data...');\n\n /**\n * Message appearing when extensions are loading\n * @type {String}\n */\n this.msgLoadExtensions = defaultsStr(f.msg_load_extensions,\n 'Loading extensions...');\n\n /**\n * Message appearing when themes are loading\n * @type {String}\n */\n this.msgLoadThemes = defaultsStr(f.msg_load_themes,\n 'Loading theme(s)...');\n }\n\n /**\n * Initializes StatusBar instance\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n let tf = this.tf;\n let emitter = this.emitter;\n\n //status bar container\n let statusDiv = createElm('div');\n statusDiv.className = this.cssClass;\n\n //status bar label\n let statusSpan = createElm('span');\n //preceding text\n let statusSpanText = createElm('span');\n statusSpanText.appendChild(createText(this.text));\n\n // target element container\n if (!this.targetId) {\n tf.setToolbar();\n }\n let targetEl = (!this.targetId) ? tf.lDiv : elm(this.targetId);\n\n //default container: 'lDiv'\n if (!this.targetId) {\n statusDiv.appendChild(statusSpanText);\n statusDiv.appendChild(statusSpan);\n targetEl.appendChild(statusDiv);\n } else {\n // custom container, no need to append statusDiv\n targetEl.appendChild(statusSpanText);\n targetEl.appendChild(statusSpan);\n }\n\n this.container = statusDiv;\n this.msgContainer = statusSpan;\n this.labelContainer = statusSpanText;\n\n // Subscribe to events\n emitter.on(['before-filtering'], () => this.message(this.msgFilter));\n emitter.on(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.on(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.on(['before-clearing-filters'], () =>\n this.message(this.msgClear));\n emitter.on(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.on(['before-reset-page'],\n () => this.message(this.msgResetPage));\n emitter.on(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.on(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.on(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.on(EVENTS, () => this.message(''));\n\n /**\n * @inherited\n */\n this.initialized = true;\n }\n\n /**\n * Display status message\n * @param {String} [t=''] Message to be displayed\n */\n message(t = '') {\n if (!this.isEnabled()) {\n return;\n }\n\n this.onBeforeShowMsg(this.tf, t);\n\n let d = t === '' ? this.delay : 1;\n root.setTimeout(() => {\n if (!this.initialized) {\n return;\n }\n this.msgContainer.innerHTML = t;\n\n this.onAfterShowMsg(this.tf, t);\n }, d);\n }\n\n /**\n * Destroy StatusBar instance\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n this.container.innerHTML = '';\n if (!this.targetId) {\n removeElm(this.container);\n }\n this.labelContainer = null;\n this.msgContainer = null;\n this.container = null;\n\n // Unsubscribe to events\n emitter.off(['before-filtering'], () => this.message(this.msgFilter));\n emitter.off(['before-populating-filter'],\n () => this.message(this.msgPopulate));\n emitter.off(['before-page-change'],\n () => this.message(this.msgChangePage));\n emitter.off(['before-clearing-filters'],\n () => this.message(this.msgClear));\n emitter.off(['before-page-length-change'],\n () => this.message(this.msgChangeResults));\n emitter.off(['before-reset-page'], () =>\n this.message(this.msgResetPage));\n emitter.off(['before-reset-page-length'],\n () => this.message(this.msgResetPageLength));\n emitter.off(['before-loading-extensions'],\n () => this.message(this.msgLoadExtensions));\n emitter.off(['before-loading-themes'],\n () => this.message(this.msgLoadThemes));\n\n emitter.off(EVENTS, () => this.message(''));\n\n this.initialized = false;\n }\n}\n" + }, + { + "__docId__": 726, + "kind": "variable", + "static": true, + "variation": null, + "name": "EVENTS", + "memberof": "src/modules/statusBar.js", + "longname": "src/modules/statusBar.js~EVENTS", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/statusBar.js", + "importStyle": null, + "description": null, + "lineNumber": 7, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 727, + "kind": "class", + "static": true, + "variation": null, + "name": "StatusBar", + "memberof": "src/modules/statusBar.js", + "longname": "src/modules/statusBar.js~StatusBar", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/statusBar.js", + "importStyle": "{StatusBar}", + "description": "Status bar UI component", + "lineNumber": 25, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "StatusBar" + } + ], + "interface": false, + "extends": [ + "Feature" + ] + }, + { + "__docId__": 728, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#constructor", + "access": null, + "description": "Creates an instance of StatusBar", + "lineNumber": 31, + "params": [ + { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "optional": false, + "name": "tf", + "description": "TableFilter instance" + } + ], + "generator": false + }, + { + "__docId__": 729, + "kind": "member", + "static": false, + "variation": null, + "name": "targetId", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#targetId", + "access": null, + "description": "ID of custom container element", + "lineNumber": 41, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 730, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#container", + "access": "private", + "description": "Container DOM element", + "lineNumber": 48, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 731, + "kind": "member", + "static": false, + "variation": null, + "name": "msgContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgContainer", + "access": "private", + "description": "Message container DOM element", + "lineNumber": 55, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 732, + "kind": "member", + "static": false, + "variation": null, + "name": "labelContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#labelContainer", + "access": "private", + "description": "Label container DOM element", + "lineNumber": 62, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 733, + "kind": "member", + "static": false, + "variation": null, + "name": "text", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#text", + "access": null, + "description": "Text preceding status message", + "lineNumber": 68, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 734, + "kind": "member", + "static": false, + "variation": null, + "name": "cssClass", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#cssClass", + "access": null, + "description": "Css class for container element", + "lineNumber": 74, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 735, + "kind": "member", + "static": false, + "variation": null, + "name": "delay", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#delay", + "access": "private", + "description": "Message visibility duration in milliseconds", + "lineNumber": 81, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 736, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeShowMsg", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#onBeforeShowMsg", + "access": null, + "description": "Callback fired before the message is displayed", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 737, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterShowMsg", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#onAfterShowMsg", + "access": null, + "description": "Callback fired after the message is displayed", + "lineNumber": 93, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 738, + "kind": "member", + "static": false, + "variation": null, + "name": "msgFilter", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgFilter", + "access": null, + "description": "Message appearing upon filtering", + "lineNumber": 99, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 739, + "kind": "member", + "static": false, + "variation": null, + "name": "msgPopulate", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgPopulate", + "access": null, + "description": "Message appearing when a drop-down filter is populated", + "lineNumber": 105, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 740, + "kind": "member", + "static": false, + "variation": null, + "name": "msgPopulateCheckList", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgPopulateCheckList", + "access": null, + "description": "Message appearing when a checklist filter is populated", + "lineNumber": 111, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 741, + "kind": "member", + "static": false, + "variation": null, + "name": "msgChangePage", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgChangePage", + "access": null, + "description": "Message appearing when a pagination page is changed", + "lineNumber": 118, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 742, + "kind": "member", + "static": false, + "variation": null, + "name": "msgClear", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgClear", + "access": null, + "description": "Message appearing when filters are cleared", + "lineNumber": 125, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 743, + "kind": "member", + "static": false, + "variation": null, + "name": "msgChangeResults", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgChangeResults", + "access": null, + "description": "Message appearing when the page length is changed", + "lineNumber": 131, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 744, + "kind": "member", + "static": false, + "variation": null, + "name": "msgResetPage", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgResetPage", + "access": null, + "description": "Message appearing when the page is re-set", + "lineNumber": 138, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 745, + "kind": "member", + "static": false, + "variation": null, + "name": "msgResetPageLength", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgResetPageLength", + "access": null, + "description": "Message appearing when the page length is re-set", + "lineNumber": 144, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 746, + "kind": "member", + "static": false, + "variation": null, + "name": "msgSort", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgSort", + "access": null, + "description": "Message appearing upon column sorting", + "lineNumber": 151, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 747, + "kind": "member", + "static": false, + "variation": null, + "name": "msgLoadExtensions", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgLoadExtensions", + "access": null, + "description": "Message appearing when extensions are loading", + "lineNumber": 157, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 748, + "kind": "member", + "static": false, + "variation": null, + "name": "msgLoadThemes", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgLoadThemes", + "access": null, + "description": "Message appearing when themes are loading", + "lineNumber": 164, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 749, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#init", + "access": null, + "description": "Initializes StatusBar instance", + "lineNumber": 171, + "params": [], + "generator": false + }, + { + "__docId__": 750, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#container", + "access": null, + "description": null, + "lineNumber": 206, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 751, + "kind": "member", + "static": false, + "variation": null, + "name": "msgContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgContainer", + "access": null, + "description": null, + "lineNumber": 207, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 752, + "kind": "member", + "static": false, + "variation": null, + "name": "labelContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#labelContainer", + "access": null, + "description": null, + "lineNumber": 208, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 753, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#initialized", + "access": null, + "description": "", + "lineNumber": 234, + "unknown": [ + { + "tagName": "@inherited", + "tagValue": "" + } + ], + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 754, + "kind": "method", + "static": false, + "variation": null, + "name": "message", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#message", + "access": null, + "description": "Display status message", + "lineNumber": 241, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "''", + "defaultRaw": "''", + "name": "t", + "description": "Message to be displayed" + } + ], + "generator": false + }, + { + "__docId__": 755, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#destroy", + "access": null, + "description": "Destroy StatusBar instance", + "lineNumber": 262, + "params": [], + "generator": false + }, + { + "__docId__": 756, + "kind": "member", + "static": false, + "variation": null, + "name": "labelContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#labelContainer", + "access": null, + "description": null, + "lineNumber": 273, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 757, + "kind": "member", + "static": false, + "variation": null, + "name": "msgContainer", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#msgContainer", + "access": null, + "description": null, + "lineNumber": 274, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 758, + "kind": "member", + "static": false, + "variation": null, + "name": "container", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#container", + "access": null, + "description": null, + "lineNumber": 275, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 759, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/modules/statusBar.js~StatusBar", + "longname": "src/modules/statusBar.js~StatusBar#initialized", + "access": null, + "description": null, + "lineNumber": 298, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 760, + "kind": "file", + "static": true, + "variation": null, + "name": "src/modules/storage.js", + "memberof": null, + "longname": "src/modules/storage.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import Cookie from '../cookie';\nimport {root} from '../root';\n\nconst JSON = root.JSON;\nconst localStorage = root.localStorage;\nconst location = root.location;\n\n/**\n * Checks if browser has Storage feature\n */\nexport const hasStorage = () => {\n return 'Storage' in root;\n};\n\n/**\n * Stores the features state in browser's local storage or cookie\n *\n * @export\n * @class Storage\n */\nexport class Storage {\n\n /**\n * Creates an instance of Storage\n *\n * @param {State} state Instance of State\n */\n constructor(state) {\n\n /**\n * State object\n * @type {State}\n * @private\n */\n this.state = state;\n\n /**\n * TableFilter object\n * @type {TableFilter}\n * @private\n */\n this.tf = state.tf;\n\n /**\n * Persist with local storage\n * @type {Boolean}\n * @private\n */\n this.enableLocalStorage = state.enableLocalStorage && hasStorage();\n\n /**\n * Persist with cookie\n * @type {Boolean}\n * @private\n */\n this.enableCookie = state.enableCookie && !this.enableLocalStorage;\n\n /**\n * Emitter object\n * @type {Emitter}\n * @private\n */\n this.emitter = state.emitter;\n\n /**\n * Cookie duration in hours from state object\n * @type {Number}\n * @private\n */\n this.duration = state.cookieDuration;\n }\n\n\n /**\n * Initializes the Storage object\n */\n init() {\n this.emitter.on(['state-changed'], (tf, state) => this.save(state));\n this.emitter.on(['initialized'], () => this.sync());\n }\n\n /**\n * Persists the features state on state changes\n *\n * @param {State} state Instance of State\n */\n save(state) {\n if (this.enableLocalStorage) {\n localStorage[this.getKey()] = JSON.stringify(state);\n } else {\n Cookie.write(this.getKey(), JSON.stringify(state), this.duration);\n }\n }\n\n /**\n * Turns stored string into a State JSON object\n *\n * @returns {Object} JSON object\n */\n retrieve() {\n let state = null;\n if (this.enableLocalStorage) {\n state = localStorage[this.getKey()];\n } else {\n state = Cookie.read(this.getKey());\n }\n\n if (!state) {\n return null;\n }\n return JSON.parse(state);\n }\n\n /**\n * Removes persisted state from storage\n */\n remove() {\n if (this.enableLocalStorage) {\n localStorage.removeItem(this.getKey());\n } else {\n Cookie.remove(this.getKey());\n }\n }\n\n /**\n * Applies persisted state to features\n */\n sync() {\n let state = this.retrieve();\n if (!state) {\n return;\n }\n // override current state with persisted one and sync features\n this.state.overrideAndSync(state);\n }\n\n /**\n * Returns the storage key\n *\n * @returns {String} Key\n */\n getKey() {\n return JSON.stringify({\n key: `${this.tf.prfxTf}_${this.tf.id}`,\n path: location.pathname\n });\n }\n\n /**\n * Release Storage event subscriptions and clear fields\n */\n destroy() {\n this.emitter.off(['state-changed'], (tf, state) => this.save(state));\n this.emitter.off(['initialized'], () => this.sync());\n\n this.remove();\n\n this.state = null;\n this.emitter = null;\n }\n}\n" + }, + { + "__docId__": 761, + "kind": "variable", + "static": true, + "variation": null, + "name": "JSON", + "memberof": "src/modules/storage.js", + "longname": "src/modules/storage.js~JSON", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/storage.js", + "importStyle": null, + "description": null, + "lineNumber": 4, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 762, + "kind": "variable", + "static": true, + "variation": null, + "name": "localStorage", + "memberof": "src/modules/storage.js", + "longname": "src/modules/storage.js~localStorage", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/storage.js", + "importStyle": null, + "description": null, + "lineNumber": 5, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 763, + "kind": "variable", + "static": true, + "variation": null, + "name": "location", + "memberof": "src/modules/storage.js", + "longname": "src/modules/storage.js~location", + "access": null, + "export": false, + "importPath": "tablefilter/src/modules/storage.js", + "importStyle": null, + "description": null, + "lineNumber": 6, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 764, + "kind": "variable", + "static": true, + "variation": null, + "name": "hasStorage", + "memberof": "src/modules/storage.js", + "longname": "src/modules/storage.js~hasStorage", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/storage.js", + "importStyle": "{hasStorage}", + "description": "Checks if browser has Storage feature", + "lineNumber": 11, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 765, + "kind": "class", + "static": true, + "variation": null, + "name": "Storage", + "memberof": "src/modules/storage.js", + "longname": "src/modules/storage.js~Storage", + "access": null, + "export": true, + "importPath": "tablefilter/src/modules/storage.js", + "importStyle": "{Storage}", + "description": "Stores the features state in browser's local storage or cookie", + "lineNumber": 21, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "Storage" + } + ], + "interface": false + }, + { + "__docId__": 766, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#constructor", + "access": null, + "description": "Creates an instance of Storage", + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "Instance of State" + } + ], + "generator": false + }, + { + "__docId__": 767, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#state", + "access": "private", + "description": "State object", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 768, + "kind": "member", + "static": false, + "variation": null, + "name": "tf", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#tf", + "access": "private", + "description": "TableFilter object", + "lineNumber": 42, + "type": { + "nullable": null, + "types": [ + "TableFilter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 769, + "kind": "member", + "static": false, + "variation": null, + "name": "enableLocalStorage", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#enableLocalStorage", + "access": "private", + "description": "Persist with local storage", + "lineNumber": 49, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 770, + "kind": "member", + "static": false, + "variation": null, + "name": "enableCookie", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#enableCookie", + "access": "private", + "description": "Persist with cookie", + "lineNumber": 56, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 771, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#emitter", + "access": "private", + "description": "Emitter object", + "lineNumber": 63, + "type": { + "nullable": null, + "types": [ + "Emitter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 772, + "kind": "member", + "static": false, + "variation": null, + "name": "duration", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#duration", + "access": "private", + "description": "Cookie duration in hours from state object", + "lineNumber": 70, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 773, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#init", + "access": null, + "description": "Initializes the Storage object", + "lineNumber": 77, + "params": [], + "generator": false + }, + { + "__docId__": 774, + "kind": "method", + "static": false, + "variation": null, + "name": "save", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#save", + "access": null, + "description": "Persists the features state on state changes", + "lineNumber": 87, + "params": [ + { + "nullable": null, + "types": [ + "State" + ], + "spread": false, + "optional": false, + "name": "state", + "description": "Instance of State" + } + ], + "generator": false + }, + { + "__docId__": 775, + "kind": "method", + "static": false, + "variation": null, + "name": "retrieve", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#retrieve", + "access": null, + "description": "Turns stored string into a State JSON object", + "lineNumber": 100, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Object} JSON object" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "JSON object" + }, + "generator": false + }, + { + "__docId__": 776, + "kind": "method", + "static": false, + "variation": null, + "name": "remove", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#remove", + "access": null, + "description": "Removes persisted state from storage", + "lineNumber": 117, + "params": [], + "generator": false + }, + { + "__docId__": 777, + "kind": "method", + "static": false, + "variation": null, + "name": "sync", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#sync", + "access": null, + "description": "Applies persisted state to features", + "lineNumber": 128, + "params": [], + "generator": false + }, + { + "__docId__": 778, + "kind": "method", + "static": false, + "variation": null, + "name": "getKey", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#getKey", + "access": null, + "description": "Returns the storage key", + "lineNumber": 142, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String} Key" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "Key" + }, + "generator": false + }, + { + "__docId__": 779, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#destroy", + "access": null, + "description": "Release Storage event subscriptions and clear fields", + "lineNumber": 152, + "params": [], + "generator": false + }, + { + "__docId__": 780, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#state", + "access": null, + "description": null, + "lineNumber": 158, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 781, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/modules/storage.js~Storage", + "longname": "src/modules/storage.js~Storage#emitter", + "access": null, + "description": null, + "lineNumber": 159, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 782, + "kind": "file", + "static": true, + "variation": null, + "name": "src/number.js", + "memberof": null, + "longname": "src/number.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {isNumber} from './types';\n\n/**\n * Takes a string, removes all formatting/cruft and returns the raw float value\n * @param {String} Formatted number\n * @param {String} Decimal type '.' or ','\n * @return {Number} Unformatted number\n *\n * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js\n */\nexport const parse = (value, decimal = '.') => {\n // Return the value as-is if it's already a number\n if (isNumber(value)) {\n return value;\n }\n\n // Build regex to strip out everything except digits, decimal point and\n // minus sign\n let regex = new RegExp('[^0-9-' + decimal + ']', ['g']);\n let unformatted = parseFloat(\n ('' + value)\n // replace bracketed values with negatives\n .replace(/\\((.*)\\)/, '-$1')\n // strip out any cruft\n .replace(regex, '')\n // make sure decimal point is standard\n .replace(decimal, '.')\n );\n\n // This will fail silently\n return !isNaN(unformatted) ? unformatted : 0;\n};\n" + }, + { + "__docId__": 783, + "kind": "variable", + "static": true, + "variation": null, + "name": "parse", + "memberof": "src/number.js", + "longname": "src/number.js~parse", + "access": null, + "export": true, + "importPath": "tablefilter/src/number.js", + "importStyle": "{parse}", + "description": "Takes a string, removes all formatting/cruft and returns the raw float value", + "lineNumber": 11, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "Formatted", + "description": "number" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "Decimal", + "description": "type '.' or ','" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Unformatted number\n\nhttps://github.com/openexchangerates/accounting.js/blob/master/accounting.js" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 784, + "kind": "file", + "static": true, + "variation": null, + "name": "src/root.js", + "memberof": null, + "longname": "src/root.js", + "access": null, + "description": null, + "lineNumber": 4, + "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__": 785, + "kind": "variable", + "static": true, + "variation": null, + "name": "root", + "memberof": "src/root.js", + "longname": "src/root.js~root", + "access": null, + "export": true, + "importPath": "tablefilter/src/root.js", + "importStyle": "{root}", + "description": "Export window or global object depending on the environment", + "lineNumber": 4, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 786, + "kind": "file", + "static": true, + "variation": null, + "name": "src/settings.js", + "memberof": null, + "longname": "src/settings.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {isBoolean, isString, isFn, isArray} from './types';\n\n/** Configuration settings helpers */\n\n/**\n * If passed value is not of boolean type return the default value\n * otherwise return the value itself\n * @param {Boolean|Any} value\n * @param {Boolean} default value\n * @return {Boolean|Any}\n */\nexport const defaultsBool =\n (val, defaultVal) => isBoolean(val) ? val : defaultVal;\n\n/**\n * If passed value is not of string type return the default value\n * otherwise return the value itself\n * @param {String|Any} value\n * @param {String} default value\n * @return {String|Any}\n */\nexport const defaultsStr =\n (val, defaultVal) => isString(val) ? val : defaultVal;\n\n/**\n * If passed value is not of number type return the default value\n * otherwise return the value itself\n * @param {Number|Any} value\n * @param {Number} default value\n * @return {Number|Any}\n */\nexport const defaultsNb =\n (val, defaultVal) => isNaN(val) ? defaultVal : val;\n\n/**\n * If passed value is not of array type return the default value\n * otherwise return the value itself\n * @param {Array|Any} value\n * @param {Array} default value\n * @return {Array|Any}\n */\nexport const defaultsArr =\n (val, defaultVal) => isArray(val) ? val : defaultVal;\n\n/**\n * If passed value is not of function type return the default value\n * otherwise return the value itself\n * @param {Function|Any} value\n * @param {Function} default value\n * @return {Function|Any}\n */\nexport const defaultsFn =\n (val, defaultVal) => isFn(val) ? val : defaultVal;\n" + }, + { + "__docId__": 787, + "kind": "variable", + "static": true, + "variation": null, + "name": "defaultsBool", + "memberof": "src/settings.js", + "longname": "src/settings.js~defaultsBool", + "access": null, + "export": true, + "importPath": "tablefilter/src/settings.js", + "importStyle": "{defaultsBool}", + "description": "If passed value is not of boolean type return the default value\notherwise return the value itself", + "lineNumber": 12, + "params": [ + { + "nullable": null, + "types": [ + "Boolean", + "Any" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "default", + "description": "value" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean", + "Any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 788, + "kind": "variable", + "static": true, + "variation": null, + "name": "defaultsStr", + "memberof": "src/settings.js", + "longname": "src/settings.js~defaultsStr", + "access": null, + "export": true, + "importPath": "tablefilter/src/settings.js", + "importStyle": "{defaultsStr}", + "description": "If passed value is not of string type return the default value\notherwise return the value itself", + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "String", + "Any" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "default", + "description": "value" + } + ], + "return": { + "nullable": null, + "types": [ + "String", + "Any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 789, + "kind": "variable", + "static": true, + "variation": null, + "name": "defaultsNb", + "memberof": "src/settings.js", + "longname": "src/settings.js~defaultsNb", + "access": null, + "export": true, + "importPath": "tablefilter/src/settings.js", + "importStyle": "{defaultsNb}", + "description": "If passed value is not of number type return the default value\notherwise return the value itself", + "lineNumber": 32, + "params": [ + { + "nullable": null, + "types": [ + "Number", + "Any" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "default", + "description": "value" + } + ], + "return": { + "nullable": null, + "types": [ + "Number", + "Any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 790, + "kind": "variable", + "static": true, + "variation": null, + "name": "defaultsArr", + "memberof": "src/settings.js", + "longname": "src/settings.js~defaultsArr", + "access": null, + "export": true, + "importPath": "tablefilter/src/settings.js", + "importStyle": "{defaultsArr}", + "description": "If passed value is not of array type return the default value\notherwise return the value itself", + "lineNumber": 42, + "params": [ + { + "nullable": null, + "types": [ + "Array", + "Any" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "default", + "description": "value" + } + ], + "return": { + "nullable": null, + "types": [ + "Array", + "Any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 791, + "kind": "variable", + "static": true, + "variation": null, + "name": "defaultsFn", + "memberof": "src/settings.js", + "longname": "src/settings.js~defaultsFn", + "access": null, + "export": true, + "importPath": "tablefilter/src/settings.js", + "importStyle": "{defaultsFn}", + "description": "If passed value is not of function type return the default value\notherwise return the value itself", + "lineNumber": 52, + "params": [ + { + "nullable": null, + "types": [ + "Function", + "Any" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "default", + "description": "value" + } + ], + "return": { + "nullable": null, + "types": [ + "Function", + "Any" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 792, + "kind": "file", + "static": true, + "variation": null, + "name": "src/sort.js", + "memberof": null, + "longname": "src/sort.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {parse as parseNb} from './number';\nimport {Date as SugarDate} from 'sugar-date';\n\n/** Sorting utilities */\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 * Compare function for sorting passed numbers in ascending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n */\nexport const numSortAsc = (a, b) => (a - b);\n\n/**\n * Compare function for sorting passed numbers in descending manner\n * @param {Number} First number\n * @param {Number} Second number\n * @return {Number} Negative, zero or positive number\n */\nexport const numSortDesc = (a, b) => (b - a);\n\n/**\n * Compare function for sorting passed dates in ascending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n */\nexport const dateSortAsc = (date1, date2) => date1.getTime() - date2.getTime();\n\n/**\n * Compare function for sorting passed dates in descending manner according to\n * the corresponding UTC numeric value (returned by getTime)\n * @param {Date} First date object\n * @param {Date} Second date object\n * @return {Number} Negative, zero or positive number\n */\nexport const dateSortDesc = (date1, date2) => date2.getTime() - date1.getTime();\n\n/**\n * Curried compare function for sorting passed formatted numbers in desired\n * fashion according to supplied compare function and decimal separator\n * @param {Function} Compare function\n * @param {String} [decimal=','] Decimal separator\n * @return {Function} Compare function receiving parsed numeric arguments\n */\nexport const sortNumberStr = (compareFn, decimal = ',') => {\n return (numStr1, numStr2) => {\n let num1 = parseNb(numStr1, decimal);\n let num2 = parseNb(numStr2, decimal);\n return compareFn(num1, num2);\n };\n};\n\n/**\n * Curried compare function for sorting passed formatted dates in desired\n * fashion according to supplied compare function and locale\n * @param {Function} Compare function\n * @param {String} [locale='en-us'] Locale code\n * @return {Function} Compare function receiving parsed date arguments\n */\nexport const sortDateStr = (compareFn, locale = 'en-us') => {\n return (dateStr1, dateStr2) => {\n let date1 = SugarDate.create(dateStr1, locale);\n let date2 = SugarDate.create(dateStr2, locale);\n return compareFn(date1, date2);\n };\n};\n" + }, + { + "__docId__": 793, + "kind": "variable", + "static": true, + "variation": null, + "name": "ignoreCase", + "memberof": "src/sort.js", + "longname": "src/sort.js~ignoreCase", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{ignoreCase}", + "description": "Case insensitive compare function for passed strings", + "lineNumber": 14, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "First", + "description": "string" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "Second", + "description": "string" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "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" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 794, + "kind": "variable", + "static": true, + "variation": null, + "name": "numSortAsc", + "memberof": "src/sort.js", + "longname": "src/sort.js~numSortAsc", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{numSortAsc}", + "description": "Compare function for sorting passed numbers in ascending manner", + "lineNumber": 26, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "First", + "description": "number" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "Second", + "description": "number" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Negative, zero or positive number" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 795, + "kind": "variable", + "static": true, + "variation": null, + "name": "numSortDesc", + "memberof": "src/sort.js", + "longname": "src/sort.js~numSortDesc", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{numSortDesc}", + "description": "Compare function for sorting passed numbers in descending manner", + "lineNumber": 34, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "First", + "description": "number" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "Second", + "description": "number" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Negative, zero or positive number" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 796, + "kind": "variable", + "static": true, + "variation": null, + "name": "dateSortAsc", + "memberof": "src/sort.js", + "longname": "src/sort.js~dateSortAsc", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{dateSortAsc}", + "description": "Compare function for sorting passed dates in ascending manner according to\nthe corresponding UTC numeric value (returned by getTime)", + "lineNumber": 43, + "params": [ + { + "nullable": null, + "types": [ + "Date" + ], + "spread": false, + "optional": false, + "name": "First", + "description": "date object" + }, + { + "nullable": null, + "types": [ + "Date" + ], + "spread": false, + "optional": false, + "name": "Second", + "description": "date object" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Negative, zero or positive number" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 797, + "kind": "variable", + "static": true, + "variation": null, + "name": "dateSortDesc", + "memberof": "src/sort.js", + "longname": "src/sort.js~dateSortDesc", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{dateSortDesc}", + "description": "Compare function for sorting passed dates in descending manner according to\nthe corresponding UTC numeric value (returned by getTime)", + "lineNumber": 52, + "params": [ + { + "nullable": null, + "types": [ + "Date" + ], + "spread": false, + "optional": false, + "name": "First", + "description": "date object" + }, + { + "nullable": null, + "types": [ + "Date" + ], + "spread": false, + "optional": false, + "name": "Second", + "description": "date object" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Negative, zero or positive number" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 798, + "kind": "variable", + "static": true, + "variation": null, + "name": "sortNumberStr", + "memberof": "src/sort.js", + "longname": "src/sort.js~sortNumberStr", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{sortNumberStr}", + "description": "Curried compare function for sorting passed formatted numbers in desired\nfashion according to supplied compare function and decimal separator", + "lineNumber": 61, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "Compare", + "description": "function" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "','", + "defaultRaw": "','", + "name": "decimal", + "description": "Decimal separator" + } + ], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "Compare function receiving parsed numeric arguments" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 799, + "kind": "variable", + "static": true, + "variation": null, + "name": "sortDateStr", + "memberof": "src/sort.js", + "longname": "src/sort.js~sortDateStr", + "access": null, + "export": true, + "importPath": "tablefilter/src/sort.js", + "importStyle": "{sortDateStr}", + "description": "Curried compare function for sorting passed formatted dates in desired\nfashion according to supplied compare function and locale", + "lineNumber": 76, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "Compare", + "description": "function" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": "'en-us'", + "defaultRaw": "'en-us'", + "name": "locale", + "description": "Locale code" + } + ], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "Compare function receiving parsed date arguments" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 800, + "kind": "file", + "static": true, + "variation": null, + "name": "src/string.js", + "memberof": null, + "longname": "src/string.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {remove as removeDiacritics} from 'diacritics';\n\n/**\n * String utilities\n */\n\n/**\n * Removes whitespace from both sides of passed string\n * @param {String} text\n * @return {String}\n */\nexport const trim = (text) => {\n if (text.trim) {\n return text.trim();\n }\n return text.replace(/^\\s*|\\s*$/g, '');\n};\n\n/**\n * Checks if passed string is empty\n * @param {String} text\n * @return {Boolean}\n */\nexport const isEmpty = (text) => trim(text) === '';\n\n/**\n * Makes regex safe string by escaping special characters from passed string\n * @param {String} text\n * @return {String} escaped string\n */\nexport const rgxEsc = (text) => {\n let chars = /[-\\/\\\\^$*+?.()|[\\]{}]/g;\n let escMatch = '\\\\$&';\n return String(text).replace(chars, escMatch);\n};\n\n/**\n * Returns passed string as lowercase if caseSensitive flag set false. By\n * default it returns the string with no casing changes.\n * @param {String} text\n * @return {String} string\n */\nexport const matchCase = (text, caseSensitive = false) => {\n if (!caseSensitive) {\n return text.toLowerCase();\n }\n return text;\n};\n\n/**\n * Checks if passed data contains the searched term\n * @param {String} term Searched term\n * @param {String} data Data string\n * @param {Boolean} exactMatch Exact match\n * @param {Boolean} caseSensitive Case sensitive\n * @param {Boolean} ignoreDiacritics Ignore diacritics\n * @return {Boolean}\n */\nexport const contains = (term, data, exactMatch = false, caseSensitive = false,\n ignoreDiacritics = false) => {\n // Improved by Cedric Wartel (cwl) automatic exact match for selects and\n // special characters are now filtered\n let regexp;\n let modifier = caseSensitive ? 'g' : 'gi';\n if (ignoreDiacritics) {\n term = removeDiacritics(term);\n data = removeDiacritics(data);\n }\n if (exactMatch) {\n regexp = new RegExp('(^\\\\s*)' + rgxEsc(term) + '(\\\\s*$)',\n modifier);\n } else {\n regexp = new RegExp(rgxEsc(term), modifier);\n }\n return regexp.test(data);\n};\n" + }, + { + "__docId__": 801, + "kind": "variable", + "static": true, + "variation": null, + "name": "trim", + "memberof": "src/string.js", + "longname": "src/string.js~trim", + "access": null, + "export": true, + "importPath": "tablefilter/src/string.js", + "importStyle": "{trim}", + "description": "Removes whitespace from both sides of passed string", + "lineNumber": 12, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "text", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 802, + "kind": "variable", + "static": true, + "variation": null, + "name": "isEmpty", + "memberof": "src/string.js", + "longname": "src/string.js~isEmpty", + "access": null, + "export": true, + "importPath": "tablefilter/src/string.js", + "importStyle": "{isEmpty}", + "description": "Checks if passed string is empty", + "lineNumber": 24, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "text", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 803, + "kind": "variable", + "static": true, + "variation": null, + "name": "rgxEsc", + "memberof": "src/string.js", + "longname": "src/string.js~rgxEsc", + "access": null, + "export": true, + "importPath": "tablefilter/src/string.js", + "importStyle": "{rgxEsc}", + "description": "Makes regex safe string by escaping special characters from passed string", + "lineNumber": 31, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "text", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "escaped string" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 804, + "kind": "variable", + "static": true, + "variation": null, + "name": "matchCase", + "memberof": "src/string.js", + "longname": "src/string.js~matchCase", + "access": null, + "export": true, + "importPath": "tablefilter/src/string.js", + "importStyle": "{matchCase}", + "description": "Returns passed string as lowercase if caseSensitive flag set false. By\ndefault it returns the string with no casing changes.", + "lineNumber": 43, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "text", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "string" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 805, + "kind": "variable", + "static": true, + "variation": null, + "name": "contains", + "memberof": "src/string.js", + "longname": "src/string.js~contains", + "access": null, + "export": true, + "importPath": "tablefilter/src/string.js", + "importStyle": "{contains}", + "description": "Checks if passed data contains the searched term", + "lineNumber": 59, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "term", + "description": "Searched term" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "data", + "description": "Data string" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "exactMatch", + "description": "Exact match" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "caseSensitive", + "description": "Case sensitive" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "ignoreDiacritics", + "description": "Ignore diacritics" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 806, + "kind": "file", + "static": true, + "variation": null, + "name": "src/tablefilter.js", + "memberof": null, + "longname": "src/tablefilter.js", + "access": null, + "description": null, + "lineNumber": 1, + "content": "import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';\nimport {\n addClass, createElm, createOpt, elm, getText, getFirstTextNode,\n removeClass, removeElm, tag\n} from './dom';\nimport {contains, matchCase, rgxEsc, trim} from './string';\nimport {isEmpty as isEmptyString} from './string';\nimport {\n isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef, EMPTY_FN\n} from './types';\nimport {parse as parseNb} from './number';\nimport {\n defaultsBool, defaultsStr, defaultsFn,\n defaultsNb, defaultsArr\n} from './settings';\n\nimport {root} from './root';\nimport {Emitter} from './emitter';\nimport {Dropdown} from './modules/dropdown';\nimport {CheckList} from './modules/checkList';\n\nimport {\n INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,\n ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,\n CELL_TAG, AUTO_FILTER_DELAY, NUMBER, DATE, FORMATTED_NUMBER,\n FEATURES\n} from './const';\n\nlet doc = root.document;\n\n/**\n * Makes HTML tables filterable and a bit more :)\n *\n * @export\n * @class TableFilter\n */\nexport class TableFilter {\n\n /**\n * Creates an instance of TableFilter\n * requires `table` or `id` arguments, `row` and `configuration` optional\n * @param {HTMLTableElement} table Table DOM element\n * @param {String} id Table id\n * @param {Number} row index indicating the 1st row\n * @param {Object} configuration object\n */\n constructor(...args) {\n /**\n * ID of current instance\n * @type {String}\n * @private\n */\n this.id = null;\n\n /**\n * Current version\n * @type {String}\n */\n this.version = '{VERSION}';\n\n /**\n * Current year\n * @type {Number}\n * @private\n */\n this.year = new Date().getFullYear();\n\n /**\n * HTML Table DOM element\n * @type {DOMElement}\n * @private\n */\n this.tbl = null;\n\n /**\n * Calculated row's index from which starts filtering once filters\n * are generated\n * @type {Number}\n */\n this.refRow = null;\n\n /**\n * Index of the headers row\n * @type {Number}\n * @private\n */\n this.headersRow = null;\n\n /**\n * Configuration object\n * @type {Object}\n * @private\n */\n this.cfg = {};\n\n /**\n * Number of rows that can be filtered\n * @type {Number}\n * @private\n */\n this.nbFilterableRows = 0;\n\n /**\n * Number of cells in the reference row\n * @type {Number}\n * @private\n */\n this.nbCells = null;\n\n /**\n * Has a configuration object\n * @type {Object}\n * @private\n */\n this.hasConfig = false;\n\n /** @private */\n this.initialized = false;\n\n let startRow;\n\n // TODO: use for-of\n args.forEach((arg) => {\n if (typeof arg === 'object' && arg.nodeName === 'TABLE') {\n this.tbl = arg;\n this.id = arg.id || `tf_${new Date().getTime()}_`;\n } else if (isString(arg)) {\n this.id = arg;\n this.tbl = elm(arg);\n } else if (isNumber(arg)) {\n startRow = arg;\n } else if (isObj(arg)) {\n this.cfg = arg;\n this.hasConfig = true;\n }\n });\n\n if (!this.tbl || this.tbl.nodeName !== 'TABLE') {\n throw new Error(`Could not instantiate TableFilter: HTML table\n DOM element not found.`);\n }\n\n if (this.getRowsNb() === 0) {\n throw new Error(`Could not instantiate TableFilter: HTML table\n requires at least 1 row.`);\n }\n\n // configuration object\n let f = this.cfg;\n\n /**\n * Event emitter instance\n * @type {Emitter}\n */\n this.emitter = new Emitter();\n\n //Start row\n this.refRow = isUndef(startRow) ? 2 : (startRow + 1);\n\n /**\n * Collection of filter type by column\n * @type {Array}\n * @private\n */\n this.filterTypes = [].map.call(\n (this.dom().rows[this.refRow] || this.dom().rows[0]).cells,\n (cell, idx) => {\n let colType = this.cfg[`col_${idx}`];\n return !colType ? INPUT : colType.toLowerCase();\n });\n\n /**\n * Base path for static assets\n * @type {String}\n */\n this.basePath = defaultsStr(f.base_path, 'tablefilter/');\n\n /*** filters' grid properties ***/\n\n /**\n * Enable/disable filters\n * @type {Boolean}\n */\n this.fltGrid = defaultsBool(f.grid, true);\n\n /**\n * Enable/disable grid layout (fixed headers)\n * @type {Object|Boolean}\n */\n this.gridLayout = isObj(f.grid_layout) || Boolean(f.grid_layout);\n\n /**\n * Filters row index\n * @type {Number}\n */\n this.filtersRowIndex = defaultsNb(f.filters_row_index, 0);\n\n /**\n * Headers row index\n * @type {Number}\n */\n this.headersRow = defaultsNb(f.headers_row_index,\n (this.filtersRowIndex === 0 ? 1 : 0));\n\n /**\n * Define the type of cell containing a filter (td/th)\n * @type {String}\n */\n this.fltCellTag = defaultsStr(f.filters_cell_tag, CELL_TAG);\n\n /**\n * List of filters IDs\n * @type {Array}\n * @private\n */\n this.fltIds = [];\n\n /**\n * List of valid rows indexes (rows visible upon filtering)\n * @type {Array}\n * @private\n */\n this.validRowsIndex = [];\n\n /**\n * Toolbar's container DOM element\n * @type {DOMElement}\n * @private\n */\n this.infDiv = null;\n\n /**\n * Left-side inner container DOM element (rows counter in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.lDiv = null;\n\n /**\n * Right-side inner container DOM element (reset button,\n * page length selector in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.rDiv = null;\n\n /**\n * Middle inner container DOM element (paging elements in toolbar)\n * @type {DOMElement}\n * @private\n */\n this.mDiv = null;\n\n /**\n * Css class for toolbar's container DOM element\n * @type {String}\n */\n this.infDivCssClass = defaultsStr(f.inf_div_css_class, 'inf');\n\n /**\n * Css class for left-side inner container DOM element\n * @type {String}\n */\n this.lDivCssClass = defaultsStr(f.left_div_css_class, 'ldiv');\n\n /**\n * Css class for right-side inner container DOM element\n * @type {String}\n */\n this.rDivCssClass = defaultsStr(f.right_div_css_class, 'rdiv');\n\n /**\n * Css class for middle inner container DOM element\n * @type {String}\n */\n this.mDivCssClass = defaultsStr(f.middle_div_css_class, 'mdiv');\n\n /*** filters' grid appearance ***/\n /**\n * Path for stylesheets\n * @type {String}\n */\n this.stylePath = this.getStylePath();\n\n /**\n * Main stylesheet path\n * @type {String}\n */\n this.stylesheet = this.getStylesheetPath();\n\n /**\n * Main stylesheet ID\n * @type {String}\n * @private\n */\n this.stylesheetId = this.id + '_style';\n\n /**\n * Css class for the filters row\n * @type {String}\n */\n this.fltsRowCssClass = defaultsStr(f.flts_row_css_class, 'fltrow');\n\n /**\n * Enable/disable icons (paging, reset button)\n * @type {Boolean}\n */\n this.enableIcons = defaultsBool(f.enable_icons, true);\n\n /**\n * Enable/disable alternating rows\n * @type {Boolean}\n */\n this.alternateRows = Boolean(f.alternate_rows);\n\n /**\n * Columns widths array\n * @type {Array}\n */\n this.colWidths = defaultsArr(f.col_widths, []);\n\n /**\n * Css class for a filter element\n * @type {String}\n */\n this.fltCssClass = defaultsStr(f.flt_css_class, 'flt');\n\n /**\n * Css class for multiple select filters\n * @type {String}\n */\n this.fltMultiCssClass = defaultsStr(f.flt_multi_css_class, 'flt_multi');\n\n /**\n * Css class for small filter (when submit button is active)\n * @type {String}\n */\n this.fltSmallCssClass = defaultsStr(f.flt_small_css_class, 'flt_s');\n\n /**\n * Css class for single filter type\n * @type {String}\n */\n this.singleFltCssClass = defaultsStr(f.single_flt_css_class,\n 'single_flt');\n\n /*** filters' grid behaviours ***/\n\n /**\n * Enable/disable enter key for input type filters\n * @type {Boolean}\n */\n this.enterKey = defaultsBool(f.enter_key, true);\n\n /**\n * Callback fired before filtering process starts\n * @type {Function}\n */\n this.onBeforeFilter = defaultsFn(f.on_before_filter, EMPTY_FN);\n\n /**\n * Callback fired after filtering process is completed\n * @type {Function}\n */\n this.onAfterFilter = defaultsFn(f.on_after_filter, EMPTY_FN);\n\n /**\n * Enable/disable case sensitivity filtering\n * @type {Boolean}\n */\n this.caseSensitive = Boolean(f.case_sensitive);\n\n /**\n * Indicate whether exact match filtering is enabled on a per column\n * basis\n * @type {Boolean}\n * @private\n */\n this.hasExactMatchByCol = isArray(f.columns_exact_match);\n\n /**\n * Exact match filtering per column array\n * @type {Array}\n */\n this.exactMatchByCol = this.hasExactMatchByCol ?\n f.columns_exact_match : [];\n\n /**\n * Globally enable/disable exact match filtering\n * @type {Boolean}\n */\n this.exactMatch = Boolean(f.exact_match);\n\n /**\n * Ignore diacritics globally or on a column basis\n * @type {Boolean|Array}\n */\n this.ignoreDiacritics = f.ignore_diacritics;\n\n /**\n * Enable/disable linked filters filtering mode\n * @type {Boolean}\n */\n this.linkedFilters = Boolean(f.linked_filters);\n\n /**\n * Enable/disable readonly state for excluded options when\n * linked filters filtering mode is on\n * @type {Boolean}\n */\n this.disableExcludedOptions = Boolean(f.disable_excluded_options);\n\n /**\n * Active filter ID\n * @type {String}\n * @private\n */\n this.activeFilterId = null;\n\n /**\n * Enable/disable always visible rows, excluded from filtering\n * @type {Boolean}\n */\n this.hasVisibleRows = Boolean(f.rows_always_visible);\n\n /**\n * List of row indexes to be excluded from filtering\n * @type {Array}\n */\n this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];\n\n /**\n * List of containers IDs where external filters will be generated\n * @type {Array}\n */\n this.externalFltTgtIds = defaultsArr(f.external_flt_grid_ids, []);\n\n /**\n * Callback fired after filters are generated\n * @type {Function}\n */\n this.onFiltersLoaded = defaultsFn(f.on_filters_loaded, EMPTY_FN);\n\n /**\n * Enable/disable single filter filtering all columns\n * @type {Boolean}\n */\n this.singleSearchFlt = Boolean(f.single_filter);\n\n /**\n * Callback fired after a row is validated during filtering\n * @type {Function}\n */\n this.onRowValidated = defaultsFn(f.on_row_validated, EMPTY_FN);\n\n /**\n * Specify which column implements a custom cell parser to retrieve the\n * cell value:\n * cell_parser: {\n * cols: [0, 2],\n * parse: function(tf, cell, colIndex) {\n * // custom cell parser logic here\n * return cellValue;\n * }\n * }\n * @type {Object}\n */\n this.cellParser = isObj(f.cell_parser) && isFn(f.cell_parser.parse) &&\n isArray(f.cell_parser.cols) ?\n f.cell_parser : { cols: [], parse: EMPTY_FN };\n\n /**\n * Global watermark text for input filter type or watermark for each\n * filter if an array is supplied\n * @type {String|Array}\n */\n this.watermark = f.watermark || '';\n\n /**\n * Indicate whether watermark is on a per column basis\n * @type {Boolean}\n * @private\n */\n this.isWatermarkArray = isArray(this.watermark);\n\n /**\n * Toolbar's custom container ID\n * @type {String}\n */\n this.toolBarTgtId = defaultsStr(f.toolbar_target_id, null);\n\n /**\n * Indicate whether help UI component is disabled\n * @type {Boolean}\n */\n this.help = isUndef(f.help_instructions) ? undefined :\n (isObj(f.help_instructions) || Boolean(f.help_instructions));\n\n /**\n * Indicate whether pop-up filters UI is enabled\n * @type {Boolean}\n */\n this.popupFilters = isObj(f.popup_filters) || Boolean(f.popup_filters);\n\n /**\n * Indicate whether filtered (active) columns indicator is enabled\n * @type {Boolean}\n */\n this.markActiveColumns = isObj(f.mark_active_columns) ||\n Boolean(f.mark_active_columns);\n\n /*** select filter's customisation and behaviours ***/\n /**\n * Text for clear option in drop-down filter types (1st option)\n * @type {String|Array}\n */\n this.clearFilterText = defaultsStr(f.clear_filter_text, 'Clear');\n\n /**\n * Indicate whether empty option is enabled in drop-down filter types\n * @type {Boolean}\n */\n this.enableEmptyOption = Boolean(f.enable_empty_option);\n\n /**\n * Text for empty option in drop-down filter types\n * @type {String}\n */\n this.emptyText = defaultsStr(f.empty_text, '(Empty)');\n\n /**\n * Indicate whether non-empty option is enabled in drop-down filter\n * types\n * @type {Boolean}\n */\n this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);\n\n /**\n * Text for non-empty option in drop-down filter types\n * @type {String}\n */\n this.nonEmptyText = defaultsStr(f.non_empty_text, '(Non empty)');\n\n /**\n * Indicate whether drop-down filter types filter the table by default\n * on change event\n * @type {Boolean}\n */\n this.onSlcChange = defaultsBool(f.on_change, true);\n\n /**\n * Make drop-down filter types options sorted in alpha-numeric manner\n * by default globally or on a column basis\n * @type {Boolean|Array}\n */\n this.sortSlc = isUndef(f.sort_select) ? true :\n isArray(f.sort_select) ? f.sort_select : Boolean(f.sort_select);\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * ascending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumAsc = Boolean(f.sort_num_asc);\n\n /**\n * List of columns implementing options sorting in a ascending numeric\n * manner\n * @type {Array}\n */\n this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];\n\n /**\n * Indicate whether options in drop-down filter types are sorted in a\n * descending numeric manner\n * @type {Boolean}\n * @private\n */\n this.isSortNumDesc = Boolean(f.sort_num_desc);\n\n /**\n * List of columns implementing options sorting in a descending numeric\n * manner\n * @type {Array}\n */\n this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];\n\n /**\n * Indicate whether drop-down filter types are populated on demand at\n * first usage\n * @type {Boolean}\n */\n this.loadFltOnDemand = Boolean(f.load_filters_on_demand);\n\n /**\n * Indicate whether custom drop-down filter options are implemented\n * @type {Boolean}\n */\n this.hasCustomOptions = isObj(f.custom_options);\n\n /**\n * Custom options definition of a per column basis, ie:\n *\tcustom_options: {\n * cols:[0, 1],\n * texts: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * values: [\n * ['a0', 'b0', 'c0'],\n * ['a1', 'b1', 'c1']\n * ],\n * sorts: [false, true]\n * }\n *\n * @type {Object}\n */\n this.customOptions = f.custom_options;\n\n /*** Filter operators ***/\n /**\n * Regular expression operator for input filter. Defaults to 'rgx:'\n * @type {String}\n */\n this.rgxOperator = defaultsStr(f.regexp_operator, 'rgx:');\n\n /**\n * Empty cells operator for input filter. Defaults to '[empty]'\n * @type {String}\n */\n this.emOperator = defaultsStr(f.empty_operator, '[empty]');\n\n /**\n * Non-empty cells operator for input filter. Defaults to '[nonempty]'\n * @type {String}\n */\n this.nmOperator = defaultsStr(f.nonempty_operator, '[nonempty]');\n\n /**\n * Logical OR operator for input filter. Defaults to '||'\n * @type {String}\n */\n this.orOperator = defaultsStr(f.or_operator, '||');\n\n /**\n * Logical AND operator for input filter. Defaults to '&&'\n * @type {String}\n */\n this.anOperator = defaultsStr(f.and_operator, '&&');\n\n /**\n * Greater than operator for input filter. Defaults to '>'\n * @type {String}\n */\n this.grOperator = defaultsStr(f.greater_operator, '>');\n\n /**\n * Lower than operator for input filter. Defaults to '<'\n * @type {String}\n */\n this.lwOperator = defaultsStr(f.lower_operator, '<');\n\n /**\n * Lower than or equal operator for input filter. Defaults to '<='\n * @type {String}\n */\n this.leOperator = defaultsStr(f.lower_equal_operator, '<=');\n\n /**\n * Greater than or equal operator for input filter. Defaults to '>='\n * @type {String}\n */\n this.geOperator = defaultsStr(f.greater_equal_operator, '>=');\n\n /**\n * Inequality operator for input filter. Defaults to '!'\n * @type {String}\n */\n this.dfOperator = defaultsStr(f.different_operator, '!');\n\n /**\n * Like operator for input filter. Defaults to '*'\n * @type {String}\n */\n this.lkOperator = defaultsStr(f.like_operator, '*');\n\n /**\n * Strict equality operator for input filter. Defaults to '='\n * @type {String}\n */\n this.eqOperator = defaultsStr(f.equal_operator, '=');\n\n /**\n * Starts with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.stOperator = defaultsStr(f.start_with_operator, '{');\n\n /**\n * Ends with operator for input filter. Defaults to '='\n * @type {String}\n */\n this.enOperator = defaultsStr(f.end_with_operator, '}');\n\n // this.curExp = f.cur_exp || '^[¥£€$]';\n\n /**\n * Stored values separator\n * @type {String}\n */\n this.separator = defaultsStr(f.separator, ',');\n\n /**\n * Enable rows counter UI component\n * @type {Boolean|Object}\n */\n this.rowsCounter = isObj(f.rows_counter) || Boolean(f.rows_counter);\n\n /**\n * Enable status bar UI component\n * @type {Boolean|Object}\n */\n this.statusBar = isObj(f.status_bar) || Boolean(f.status_bar);\n\n /**\n * Enable activity/spinner indicator UI component\n * @type {Boolean|Object}\n */\n this.loader = isObj(f.loader) || Boolean(f.loader);\n\n /*** validation - reset buttons/links ***/\n /**\n * Enable filters submission button\n * @type {Boolean}\n */\n this.displayBtn = Boolean(f.btn);\n\n /**\n * Define filters submission button text\n * @type {String}\n */\n this.btnText = defaultsStr(f.btn_text, (!this.enableIcons ? 'Go' : ''));\n\n /**\n * Css class for filters submission button\n * @type {String}\n */\n this.btnCssClass = defaultsStr(f.btn_css_class,\n (!this.enableIcons ? 'btnflt' : 'btnflt_icon'));\n\n /**\n * Enable clear button\n * @type {Boolean}\n */\n this.btnReset = Boolean(f.btn_reset);\n\n /**\n * Callback fired before filters are cleared\n * @type {Function}\n */\n this.onBeforeReset = defaultsFn(f.on_before_reset, EMPTY_FN);\n\n /**\n * Callback fired after filters are cleared\n * @type {Function}\n */\n this.onAfterReset = defaultsFn(f.on_after_reset, EMPTY_FN);\n\n /**\n * Enable paging component\n * @type {Object|Boolean}\n */\n this.paging = isObj(f.paging) || Boolean(f.paging);\n\n /**\n * Number of hidden rows\n * @type {Number}\n * @private\n */\n this.nbHiddenRows = 0;\n\n /**\n * Enable auto-filter behaviour, table is filtered when a user\n * stops typing\n * @type {Boolean}\n */\n this.autoFilter = Boolean(f.auto_filter);\n\n /**\n * Auto-filter delay in msecs\n * @type {Number}\n */\n this.autoFilterDelay =\n defaultsNb(f.auto_filter_delay, AUTO_FILTER_DELAY);\n\n /**\n * Indicate whether user is typing\n * @type {Boolean}\n * @private\n */\n this.isUserTyping = null;\n\n /**\n * Auto-filter interval ID\n * @type {String}\n * @private\n */\n this.autoFilterTimer = null;\n\n /**\n * Enable keyword highlighting behaviour\n * @type {Boolean}\n */\n this.highlightKeywords = Boolean(f.highlight_keywords);\n\n /**\n * Enable no results message UI component\n * @type {Object|Boolean}\n */\n this.noResults = isObj(f.no_results_message) ||\n Boolean(f.no_results_message);\n\n /**\n * Enable state persistence\n * @type {Object|Boolean}\n */\n this.state = isObj(f.state) || Boolean(f.state);\n\n /*** data types ***/\n\n /**\n * Enable date type module\n * @type {Boolean}\n * @private\n */\n this.dateType = true;\n\n /**\n * Define default locale, default to 'en' as per Sugar Date module:\n * https://sugarjs.com/docs/#/DateLocales\n * @type {String}\n */\n this.locale = defaultsStr(f.locale, 'en');\n\n /**\n * Define thousands separator ',' or '.', defaults to ','\n * @type {String}\n */\n this.thousandsSeparator = defaultsStr(f.thousands_separator, ',');\n\n /**\n * Define decimal separator ',' or '.', defaults to '.'\n * @type {String}\n */\n this.decimalSeparator = defaultsStr(f.decimal_separator, '.');\n\n /**\n * Define data types on a column basis, possible values 'string',\n * 'number', 'formatted-number', 'date', 'ipaddress' ie:\n * col_types : [\n * 'string', 'date', 'number',\n * { type: 'formatted-number', decimal: ',', thousands: '.' },\n * { type: 'date', locale: 'en-gb' },\n * { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n * ]\n *\n * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive\n * information on date parsing formats supported by Sugar Date\n * @type {Array}\n */\n this.colTypes = isArray(f.col_types) ? f.col_types : [];\n\n /*** ids prefixes ***/\n /**\n * Main prefix\n * @private\n */\n this.prfxTf = 'TF';\n\n /**\n * Filter's ID prefix (inputs - selects)\n * @private\n */\n this.prfxFlt = 'flt';\n\n /**\n * Button's ID prefix\n * @private\n */\n this.prfxValButton = 'btn';\n\n /**\n * Toolbar container ID prefix\n * @private\n */\n this.prfxInfDiv = 'inf_';\n\n /**\n * Toolbar left element ID prefix\n * @private\n */\n this.prfxLDiv = 'ldiv_';\n\n /**\n * Toolbar right element ID prefix\n * @private\n */\n this.prfxRDiv = 'rdiv_';\n\n /**\n * Toolbar middle element ID prefix\n * @private\n */\n this.prfxMDiv = 'mdiv_';\n\n /**\n * Responsive Css class\n * @private\n */\n this.prfxResponsive = 'resp';\n\n /*** extensions ***/\n /**\n * List of loaded extensions\n * @type {Array}\n */\n this.extensions = defaultsArr(f.extensions, []);\n\n /*** themes ***/\n /**\n * Enable default theme\n * @type {Boolean}\n */\n this.enableDefaultTheme = Boolean(f.enable_default_theme);\n\n /**\n * Determine whether themes are enables\n * @type {Boolean}\n * @private\n */\n this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));\n\n /**\n * List of themes, ie:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themes = defaultsArr(f.themes, []);\n\n /**\n * Define path to themes assets, defaults to\n * 'tablefilter/style/themes/'. Usage:\n * themes: [{ name: 'skyblue' }]\n * @type {Array}\n */\n this.themesPath = this.getThemesPath();\n\n /**\n * Enable responsive layout\n * @type {Boolean}\n */\n this.responsive = Boolean(f.responsive);\n\n /**\n * Features registry\n * @private\n */\n this.Mod = {};\n\n /**\n * Extensions registry\n * @private\n */\n this.ExtRegistry = {};\n\n //conditionally instantiate required features\n this.instantiateFeatures(\n Object.keys(FEATURES).map((item) => FEATURES[item])\n );\n }\n\n /**\n * Initialise features and layout\n */\n init() {\n if (this.initialized) {\n return;\n }\n\n // import main stylesheet\n this.import(this.stylesheetId, this.getStylesheetPath(), null, 'link');\n\n this.nbCells = this.getCellsNb(this.refRow);\n let Mod = this.Mod;\n let n = this.singleSearchFlt ? 1 : this.nbCells;\n let inpclass;\n\n //loads theme\n this.loadThemes();\n\n const { dateType, help, state, markActiveColumns, gridLayout, loader,\n highlightKeyword, popupFilter, rowsCounter, statusBar, clearButton,\n alternateRows, noResults, paging } = FEATURES;\n\n //explicitly initialise features in given order\n this.initFeatures([\n dateType,\n help,\n state,\n markActiveColumns,\n gridLayout,\n loader,\n highlightKeyword,\n popupFilter\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 Mod.dropdown = Mod.dropdown || new Dropdown(this);\n Mod.dropdown.init(i, this.isExternalFlt(), fltcell);\n }\n // checklist\n else if (col === CHECKLIST) {\n Mod.checkList = Mod.checkList || new CheckList(this);\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\n this.initFeatures([\n rowsCounter,\n statusBar,\n clearButton,\n alternateRows,\n noResults,\n paging\n ]);\n\n this.setColWidths();\n\n //TF css class is added to table\n if (!this.gridLayout) {\n addClass(this.dom(), this.prfxTf);\n if (this.responsive) {\n addClass(this.dom(), this.prfxResponsive);\n }\n }\n\n /* Load extensions */\n this.initExtensions();\n\n // Subscribe to events\n if (this.linkedFilters) {\n this.emitter.on(['after-filtering'], () => this.linkFilters());\n }\n\n this.initialized = true;\n\n this.onFiltersLoaded(this);\n\n this.emitter.emit('initialized', this);\n }\n\n /**\n * Detect key\n * @param {Event} evt\n */\n detectKey(evt) {\n if (!this.enterKey) {\n return;\n }\n if (evt) {\n let key = keyCode(evt);\n if (key === ENTER_KEY) {\n this.filter();\n cancelEvt(evt);\n stopEvt(evt);\n } else {\n this.isUserTyping = true;\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n }\n\n /**\n * Filter's keyup event: if auto-filter on, detect user is typing and filter\n * columns\n * @param {Event} evt\n */\n onKeyUp(evt) {\n if (!this.autoFilter) {\n return;\n }\n let key = keyCode(evt);\n this.isUserTyping = false;\n\n function filter() {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n if (!this.isUserTyping) {\n this.filter();\n this.isUserTyping = null;\n }\n }\n\n if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&\n key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {\n if (this.autoFilterTimer === null) {\n this.autoFilterTimer = root.setInterval(filter.bind(this),\n this.autoFilterDelay);\n }\n } else {\n root.clearInterval(this.autoFilterTimer);\n this.autoFilterTimer = null;\n }\n }\n\n /**\n * Filter's keydown event: if auto-filter on, detect user is typing\n */\n onKeyDown() {\n if (this.autoFilter) {\n this.isUserTyping = true;\n }\n }\n\n /**\n * Filter's focus event\n * @param {Event} evt\n */\n onInpFocus(evt) {\n let elm = targetEvt(evt);\n this.emitter.emit('filter-focus', this, elm);\n }\n\n /**\n * Filter's blur event: if auto-filter on, clear interval on filter blur\n */\n onInpBlur() {\n if (this.autoFilter) {\n this.isUserTyping = false;\n root.clearInterval(this.autoFilterTimer);\n }\n this.emitter.emit('filter-blur', this);\n }\n\n /**\n * Insert filters row at initialization\n */\n _insertFiltersRow() {\n // TODO: prevent filters row generation for popup filters too,\n // to reduce and simplify headers row index adjusting across lib modules\n // (GridLayout, PopupFilter etc)\n if (this.gridLayout) {\n return;\n }\n let fltrow;\n\n let thead = tag(this.dom(), 'thead');\n if (thead.length > 0) {\n fltrow = thead[0].insertRow(this.filtersRowIndex);\n } else {\n fltrow = this.dom().insertRow(this.filtersRowIndex);\n }\n\n fltrow.className = this.fltsRowCssClass;\n\n if (this.isExternalFlt()) {\n fltrow.style.display = NONE;\n }\n\n this.emitter.emit('filters-row-inserted', this, fltrow);\n return fltrow;\n }\n\n /**\n * Initialize filtersless table\n */\n _initNoFilters() {\n if (this.fltGrid) {\n return;\n }\n this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;\n this.nbFilterableRows = this.getRowsNb();\n }\n\n /**\n * Build input filter type\n * @param {Number} colIndex Column index\n * @param {String} cssClass Css class applied to filter\n * @param {DOMElement} container Container DOM element\n */\n _buildInputFilter(colIndex, cssClass, container) {\n let col = this.getFilterType(colIndex);\n let externalFltTgtId = this.isExternalFlt() ?\n this.externalFltTgtIds[colIndex] : null;\n let inpType = col === INPUT ? 'text' : 'hidden';\n let inp = createElm(INPUT,\n ['id', this.buildFilterId(colIndex)],\n ['type', inpType], ['ct', colIndex]);\n\n if (inpType !== 'hidden' && this.watermark) {\n inp.setAttribute('placeholder',\n this.isWatermarkArray ? (this.watermark[colIndex] || '') :\n this.watermark\n );\n }\n inp.className = cssClass || this.fltCssClass;\n addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(inp);\n } else {\n container.appendChild(inp);\n }\n\n this.fltIds.push(inp.id);\n\n addEvt(inp, 'keypress', (evt) => this.detectKey(evt));\n addEvt(inp, 'keydown', () => this.onKeyDown());\n addEvt(inp, 'keyup', (evt) => this.onKeyUp(evt));\n addEvt(inp, 'blur', () => this.onInpBlur());\n }\n\n /**\n * Build submit button\n * @param {Number} colIndex Column index\n * @param {DOMElement} container Container DOM element\n */\n _buildSubmitButton(colIndex, container) {\n let externalFltTgtId = this.isExternalFlt() ?\n this.externalFltTgtIds[colIndex] : null;\n let btn = createElm(INPUT,\n ['type', 'button'],\n ['value', this.btnText]\n );\n btn.className = this.btnCssClass;\n\n //filter is appended in custom element\n if (externalFltTgtId) {\n elm(externalFltTgtId).appendChild(btn);\n } else {\n container.appendChild(btn);\n }\n\n addEvt(btn, 'click', () => this.filter());\n }\n\n /**\n * Istantiate the collection of features required by the\n * configuration and add them to the features registry. A feature is\n * described by a `class` and `name` fields and and optional `property`\n * field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n */\n instantiateFeatures(features = []) {\n features.forEach((feature) => {\n // TODO: remove the property field.\n // Due to naming convention inconsistencies, a `property`\n // field is added to allow a conditional instanciation based\n // on that property on TableFilter, if supplied.\n feature.property = feature.property || feature.name;\n if (!this.hasConfig || this[feature.property] === true ||\n feature.enforce === true) {\n let {class: Cls, name} = feature;\n\n this.Mod[name] = this.Mod[name] || new Cls(this);\n }\n });\n }\n\n /**\n * Initialise the passed features collection. A feature is described by a\n * `class` and `name` fields and and optional `property` field:\n * {\n * class: AClass,\n * name: 'aClass'\n * }\n * @param {Array} [features=[]]\n * @private\n */\n initFeatures(features = []) {\n features.forEach((feature) => {\n let {property, name} = feature;\n if (this[property] === true && this.Mod[name]) {\n this.Mod[name].init();\n }\n });\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 if (exts.length === 0) {\n return;\n }\n\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 this.loadExtension(ext);\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 || this.hasExtension(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 * Register the passed extension instance with associated name\n * @param {Object} inst Extension instance\n * @param {String} name Name of the extension\n */\n registerExtension(inst, name) {\n this.ExtRegistry[name] = inst;\n }\n\n /**\n * Destroy all the extensions store in extensions registry\n */\n destroyExtensions() {\n let reg = this.ExtRegistry;\n\n Object.keys(reg).forEach((key) => {\n reg[key].destroy();\n reg[key] = undefined;\n });\n }\n\n /**\n * Load themes defined in the configuration object\n */\n loadThemes() {\n if (!this.hasThemes) {\n return;\n }\n\n let themes = this.themes;\n this.emitter.emit('before-loading-themes', this);\n\n //Default theme config\n if (this.enableDefaultTheme) {\n let defaultTheme = { name: 'default' };\n this.themes.push(defaultTheme);\n }\n if (isArray(themes)) {\n for (let i = 0, len = themes.length; i < len; i++) {\n let theme = themes[i];\n let name = theme.name;\n let path = theme.path;\n let styleId = this.prfxTf + name;\n if (name && !path) {\n path = this.themesPath + name + '/' + name + '.css';\n }\n else if (!name && theme.path) {\n name = 'theme{0}'.replace('{0}', i);\n }\n\n if (!this.isImported(path, 'link')) {\n this.import(styleId, path, null, 'link');\n }\n }\n }\n\n // Enable loader indicator\n this.loader = true;\n\n this.emitter.emit('after-loading-themes', this);\n }\n\n /**\n * Return stylesheet DOM element for a given theme name\n * @return {DOMElement} stylesheet element\n */\n getStylesheet(name = 'default') {\n return elm(this.prfxTf + name);\n }\n\n /**\n * Destroy filter grid\n */\n destroy() {\n if (!this.initialized) {\n return;\n }\n\n let emitter = this.emitter;\n\n if (this.isExternalFlt() && !this.popupFilters) {\n this.removeExternalFlts();\n }\n\n this.removeToolbar();\n\n this.destroyExtensions();\n\n this.validateAllRows();\n\n // broadcast destroy event modules and extensions are subscribed to\n emitter.emit('destroy', this);\n\n if (this.fltGrid && !this.gridLayout) {\n this.dom().deleteRow(this.filtersRowIndex);\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.dom(), this.prfxTf);\n removeClass(this.dom(), this.prfxResponsive);\n\n this.nbHiddenRows = 0;\n this.validRowsIndex = [];\n this.fltIds = [];\n this.initialized = false;\n }\n\n /**\n * Generate container element for paging, reset button, rows counter etc.\n */\n setToolbar() {\n if (this.infDiv) {\n return;\n }\n\n /*** container div ***/\n let infDiv = createElm('div');\n infDiv.className = this.infDivCssClass;\n\n //custom container\n if (this.toolBarTgtId) {\n elm(this.toolBarTgtId).appendChild(infDiv);\n }\n //grid-layout\n else if (this.gridLayout) {\n let gridLayout = this.Mod.gridLayout;\n gridLayout.tblMainCont.appendChild(infDiv);\n infDiv.className = gridLayout.infDivCssClass;\n }\n //default location: just above the table\n else {\n let cont = createElm('caption');\n cont.appendChild(infDiv);\n this.dom().insertBefore(cont, this.dom().firstChild);\n }\n this.infDiv = infDiv;\n\n /*** left div containing rows # displayer ***/\n let lDiv = createElm('div');\n lDiv.className = this.lDivCssClass;\n infDiv.appendChild(lDiv);\n this.lDiv = lDiv;\n\n /*** right div containing reset button\n + nb results per page select ***/\n let rDiv = createElm('div');\n rDiv.className = this.rDivCssClass;\n infDiv.appendChild(rDiv);\n this.rDiv = rDiv;\n\n /*** mid div containing paging elements ***/\n let mDiv = createElm('div');\n mDiv.className = this.mDivCssClass;\n infDiv.appendChild(mDiv);\n this.mDiv = mDiv;\n\n // emit help initialisation only if undefined\n if (isUndef(this.help)) {\n // explicitily enable help to initialise feature by\n // default, only if setting is undefined\n this.Mod.help.enable();\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.dom();\n let captions = tag(tbl, 'caption');\n [].forEach.call(captions, (elm) => removeElm(elm));\n }\n\n /**\n * Remove all the external column filters\n */\n removeExternalFlts() {\n if (!this.isExternalFlt()) {\n return;\n }\n let ids = this.externalFltTgtIds,\n len = ids.length;\n for (let ct = 0; ct < len; ct++) {\n let externalFltTgtId = ids[ct],\n externalFlt = elm(externalFltTgtId);\n if (externalFlt) {\n externalFlt.innerHTML = '';\n }\n }\n }\n\n /**\n * Check if given column implements a filter with custom options\n * @param {Number} colIndex Column's index\n * @return {Boolean}\n */\n isCustomOptions(colIndex) {\n return this.hasCustomOptions &&\n this.customOptions.cols.indexOf(colIndex) !== -1;\n }\n\n /**\n * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\n * custom options values and texts\n * @param {Number} colIndex Column's index\n * @return {Array}\n */\n getCustomOptions(colIndex) {\n if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {\n return;\n }\n\n let customOptions = this.customOptions;\n let cols = customOptions.cols;\n let optTxt = [], optArray = [];\n let index = cols.indexOf(colIndex);\n let slcValues = customOptions.values[index];\n let slcTexts = customOptions.texts[index];\n let slcSort = customOptions.sorts[index];\n\n for (let r = 0, len = slcValues.length; r < len; r++) {\n optArray.push(slcValues[r]);\n if (slcTexts[r]) {\n optTxt.push(slcTexts[r]);\n } else {\n optTxt.push(slcValues[r]);\n }\n }\n if (slcSort) {\n optArray.sort();\n optTxt.sort();\n }\n return [optArray, optTxt];\n }\n\n /**\n * Filter the table by retrieving the data from each cell in every single\n * row and comparing it to the search term for current column. A row is\n * hidden when all the search terms are not found in inspected row.\n */\n filter() {\n if (!this.fltGrid || !this.initialized) {\n return;\n }\n //fire onbefore callback\n this.onBeforeFilter(this);\n this.emitter.emit('before-filtering', this);\n\n let row = this.dom().rows,\n nbRows = this.getRowsNb(true),\n hiddenRows = 0;\n\n this.validRowsIndex = [];\n // search args re-init\n let searchArgs = this.getFiltersValue();\n\n for (let k = this.refRow; k < nbRows; k++) {\n // already filtered rows display re-init\n row[k].style.display = '';\n\n let cells = row[k].cells;\n let nchilds = cells.length;\n\n // checks if row has exact cell #\n if (nchilds !== this.nbCells) {\n continue;\n }\n\n let occurence = [],\n isRowValid = true,\n //only for single filter search\n singleFltRowValid = false;\n\n // this loop retrieves cell data\n for (let j = 0; j < nchilds; j++) {\n //searched keyword\n let sA = searchArgs[this.singleSearchFlt ? 0 : j];\n\n if (sA === '') {\n continue;\n }\n\n let cellValue = matchCase(this.getCellValue(cells[j]),\n this.caseSensitive);\n\n //multiple search parameter operator ||\n let sAOrSplit = sA.toString().split(this.orOperator),\n //multiple search || parameter boolean\n hasMultiOrSA = sAOrSplit.length > 1,\n //multiple search parameter operator &&\n sAAndSplit = sA.toString().split(this.anOperator),\n //multiple search && parameter boolean\n hasMultiAndSA = sAAndSplit.length > 1;\n\n //detect operators or array query\n if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {\n let cS,\n s,\n occur = false;\n if (isArray(sA)) {\n s = sA;\n } else {\n s = hasMultiOrSA ? sAOrSplit : sAAndSplit;\n }\n // isolate search term and check occurence in cell data\n for (let w = 0, len = s.length; w < len; w++) {\n cS = trim(s[w]);\n occur = this._testTerm(cS, cellValue, j);\n\n if (occur) {\n this.emitter.emit('highlight-keyword', this,\n cells[j], cS);\n }\n if ((hasMultiOrSA && occur) ||\n (hasMultiAndSA && !occur)) {\n break;\n }\n if (isArray(sA) && occur) {\n break;\n }\n }\n occurence[j] = occur;\n\n }\n //single search parameter\n else {\n occurence[j] = this._testTerm(trim(sA), cellValue, j);\n if (occurence[j]) {\n this.emitter.emit('highlight-keyword', this, cells[j],\n sA);\n }\n }//else single param\n\n if (!occurence[j]) {\n isRowValid = false;\n }\n if (this.singleSearchFlt && occurence[j]) {\n singleFltRowValid = true;\n }\n\n this.emitter.emit('cell-processed', this, j, cells[j]);\n }//for j\n\n if (this.singleSearchFlt && singleFltRowValid) {\n isRowValid = true;\n }\n\n this.validateRow(k, isRowValid);\n if (!isRowValid) {\n hiddenRows++;\n }\n\n this.emitter.emit('row-processed', this, k,\n this.validRowsIndex.length, isRowValid);\n }// for k\n\n this.nbHiddenRows = hiddenRows;\n\n //fire onafterfilter callback\n this.onAfterFilter(this);\n\n this.emitter.emit('after-filtering', this, searchArgs);\n }\n\n /**\n * Test for a match of search term in cell data\n * @param {String} term Search term\n * @param {String} cellValue Cell data\n * @param {Number} colIdx Column index\n * @return {Boolean}\n */\n _testTerm(term, cellValue, colIdx) {\n let numData;\n let decimal = this.getDecimal(colIdx);\n let reLe = new RegExp(this.leOperator),\n reGe = new RegExp(this.geOperator),\n reL = new RegExp(this.lwOperator),\n reG = new RegExp(this.grOperator),\n reD = new RegExp(this.dfOperator),\n reLk = new RegExp(rgxEsc(this.lkOperator)),\n reEq = new RegExp(this.eqOperator),\n reSt = new RegExp(this.stOperator),\n reEn = new RegExp(this.enOperator),\n // re_an = new RegExp(this.anOperator),\n // re_cr = new RegExp(this.curExp),\n reEm = this.emOperator,\n reNm = this.nmOperator,\n reRe = new RegExp(rgxEsc(this.rgxOperator));\n\n term = matchCase(term, this.caseSensitive);\n\n let occurence = false;\n\n //Search arg operator tests\n let hasLO = reL.test(term),\n hasLE = reLe.test(term),\n hasGR = reG.test(term),\n hasGE = reGe.test(term),\n hasDF = reD.test(term),\n hasEQ = reEq.test(term),\n hasLK = reLk.test(term),\n // hatermN = re_an.test(term),\n hasST = reSt.test(term),\n hasEN = reEn.test(term),\n hasEM = (reEm === term),\n hasNM = (reNm === term),\n hasRE = reRe.test(term);\n\n // Check for dates or resolve date type\n if (this.hasType(colIdx, [DATE])) {\n let dte1, dte2;\n\n let dateType = this.Mod.dateType;\n let isValidDate = dateType.isValid.bind(dateType);\n let parseDate = dateType.parse.bind(dateType);\n let locale = dateType.getLocale(colIdx);\n\n // Search arg dates tests\n let isLDate = hasLO &&\n isValidDate(term.replace(reL, ''), locale);\n let isLEDate = hasLE &&\n isValidDate(term.replace(reLe, ''), locale);\n let isGDate = hasGR &&\n isValidDate(term.replace(reG, ''), locale);\n let isGEDate = hasGE &&\n isValidDate(term.replace(reGe, ''), locale);\n let isDFDate = hasDF &&\n isValidDate(term.replace(reD, ''), locale);\n let isEQDate = hasEQ &&\n isValidDate(term.replace(reEq, ''), locale);\n\n dte1 = parseDate(cellValue, locale);\n\n // lower equal date\n if (isLEDate) {\n dte2 = parseDate(term.replace(reLe, ''), locale);\n occurence = dte1 <= dte2;\n }\n // lower date\n else if (isLDate) {\n dte2 = parseDate(term.replace(reL, ''), locale);\n occurence = dte1 < dte2;\n }\n // greater equal date\n else if (isGEDate) {\n dte2 = parseDate(term.replace(reGe, ''), locale);\n occurence = dte1 >= dte2;\n }\n // greater date\n else if (isGDate) {\n dte2 = parseDate(term.replace(reG, ''), locale);\n occurence = dte1 > dte2;\n }\n // different date\n else if (isDFDate) {\n dte2 = parseDate(term.replace(reD, ''), locale);\n occurence = dte1.toString() !== dte2.toString();\n }\n // equal date\n else if (isEQDate) {\n dte2 = parseDate(term.replace(reEq, ''), locale);\n occurence = dte1.toString() === dte2.toString();\n }\n // searched keyword with * operator doesn't have to be a date\n else if (reLk.test(term)) {// like date\n occurence = contains(term.replace(reLk, ''), cellValue,\n false, this.caseSensitive);\n }\n else if (isValidDate(term)) {\n dte2 = parseDate(term, locale);\n occurence = dte1.toString() === dte2.toString();\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellValue);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellValue);\n } else {\n occurence = contains(term, cellValue,\n this.isExactMatch(colIdx), this.caseSensitive);\n }\n }\n\n else {\n // Convert to number anyways to auto-resolve type in case not\n // defined by configuration\n numData = Number(cellValue) || parseNb(cellValue, decimal);\n\n // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},\n // rgx:)\n // lower equal\n if (hasLE) {\n occurence = numData <= parseNb(\n term.replace(reLe, ''),\n decimal\n );\n }\n //greater equal\n else if (hasGE) {\n occurence = numData >= parseNb(\n term.replace(reGe, ''),\n decimal\n );\n }\n //lower\n else if (hasLO) {\n occurence = numData < parseNb(\n term.replace(reL, ''),\n decimal\n );\n }\n //greater\n else if (hasGR) {\n occurence = numData > parseNb(\n term.replace(reG, ''),\n decimal\n );\n }\n //different\n else if (hasDF) {\n occurence = contains(term.replace(reD, ''), cellValue,\n false, this.caseSensitive) ? false : true;\n }\n //like\n else if (hasLK) {\n occurence = contains(term.replace(reLk, ''), cellValue,\n false, this.caseSensitive);\n }\n //equal\n else if (hasEQ) {\n occurence = contains(term.replace(reEq, ''), cellValue,\n true, this.caseSensitive);\n }\n //starts with\n else if (hasST) {\n occurence = cellValue.indexOf(term.replace(reSt, '')) === 0 ?\n true : false;\n }\n //ends with\n else if (hasEN) {\n let searchArg = term.replace(reEn, '');\n occurence =\n cellValue.lastIndexOf(searchArg, cellValue.length - 1) ===\n (cellValue.length - 1) - (searchArg.length - 1) &&\n cellValue.lastIndexOf(searchArg, cellValue.length - 1)\n > -1 ? true : false;\n }\n //empty\n else if (hasEM) {\n occurence = isEmptyString(cellValue);\n }\n //non-empty\n else if (hasNM) {\n occurence = !isEmptyString(cellValue);\n }\n //regexp\n else if (hasRE) {\n //in case regexp throws\n try {\n //operator is removed\n let srchArg = term.replace(reRe, '');\n let rgx = new RegExp(srchArg);\n occurence = rgx.test(cellValue);\n } catch (ex) {\n occurence = false;\n }\n } else {\n // If numeric type data, perform a strict equality test and\n // fallback to unformatted number string comparison\n if (numData &&\n this.hasType(colIdx, [NUMBER, FORMATTED_NUMBER]) &&\n !this.singleSearchFlt) {\n // parseNb can return 0 for strings which are not\n // formatted numbers, in that case return the original\n // string. TODO: handle this in parseNb\n term = parseNb(term, decimal) || term;\n occurence = numData === term ||\n contains(term.toString(), numData.toString(),\n this.isExactMatch(colIdx), this.caseSensitive);\n } else {\n // Finally test search term is contained in cell data\n occurence = contains(\n term,\n cellValue,\n this.isExactMatch(colIdx),\n this.caseSensitive,\n this.ignoresDiacritics(colIdx)\n );\n }\n }\n\n }//else\n\n return occurence;\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of data for a column\n */\n getColumnData(colIndex, includeHeaders = false, exclude = []) {\n return this.getColValues(colIndex, includeHeaders, true, exclude);\n }\n\n /**\n * Return the values of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Arrat} [exclude=[]] List of row indexes to be excluded\n * @return Flat list of values for a column\n */\n getColumnValues(colIndex, includeHeaders = false, exclude = []) {\n return this.getColValues(colIndex, includeHeaders, false, exclude);\n }\n\n /**\n * Return the data of a specified column\n * @param {Number} colIndex Column index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return a typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @return {Array} Flat list of data for a column\n * @private\n */\n getColValues(\n colIndex,\n includeHeaders = false,\n typed = false,\n exclude = []\n ) {\n let row = this.dom().rows;\n let nbRows = this.getRowsNb(true);\n let colValues = [];\n let getContent = typed ? this.getCellData.bind(this) :\n this.getCellValue.bind(this);\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 let data = getContent(cell[colIndex]);\n colValues.push(data);\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.dom().rows[rowIndex >= 0 ? rowIndex : 0];\n return tr ? tr.cells.length : 0;\n }\n\n /**\n * Return the number of filterable rows starting from reference row if\n * defined\n * @param {Boolean} includeHeaders Include the headers row\n * @return {Number} Number of filterable rows\n */\n getRowsNb(includeHeaders) {\n let s = isUndef(this.refRow) ? 0 : this.refRow;\n let ntrs = this.dom().rows.length;\n if (includeHeaders) {\n s = 0;\n }\n return parseInt(ntrs - s, 10);\n }\n\n\n /**\n * Return the text content of a given cell\n * @param {DOMElement} Cell's DOM element\n * @return {String}\n */\n getCellValue(cell) {\n let idx = cell.cellIndex;\n let cellParser = this.cellParser;\n // Invoke cellParser for this column if any\n if (cellParser.cols.indexOf(idx) !== -1) {\n return cellParser.parse(this, cell, idx);\n } else {\n return getText(cell);\n }\n }\n\n /**\n * Return the typed data of a given cell based on the column type definition\n * @param {DOMElement} cell Cell's DOM element\n * @return {String|Number|Date}\n */\n getCellData(cell) {\n let colIndex = cell.cellIndex;\n let value = this.getCellValue(cell);\n\n if (this.hasType(colIndex, [FORMATTED_NUMBER])) {\n return parseNb(value, this.getDecimal(colIndex));\n }\n else if (this.hasType(colIndex, [NUMBER])) {\n return Number(value) || parseNb(value);\n }\n else if (this.hasType(colIndex, [DATE])){\n let dateType = this.Mod.dateType;\n return dateType.parse(value, dateType.getLocale(colIndex));\n }\n\n return value;\n }\n\n /**\n * Return the table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n */\n getData(includeHeaders = false, excludeHiddenCols = false) {\n return this.getTableData(includeHeaders, excludeHiddenCols, true);\n }\n\n /**\n * Return the table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n */\n getValues(includeHeaders = false, excludeHiddenCols = false) {\n return this.getTableData(includeHeaders, excludeHiddenCols, false);\n }\n\n /**\n * Return the table data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n */\n getTableData(\n includeHeaders = false,\n excludeHiddenCols = false,\n typed = false\n ) {\n let rows = this.dom().rows;\n let nbRows = this.getRowsNb(true);\n let tblData = [];\n let getContent = typed ? this.getCellData.bind(this) :\n this.getCellValue.bind(this);\n\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 cellValue = getContent(cells[j]);\n rowData[1].push(cellValue);\n }\n tblData.push(rowData);\n }\n return tblData;\n }\n\n /**\n * Return the filtered table data based on its columns data type definitions\n * with following structure:\n * [\n * [rowIndex, [data0, data1...]],\n * [rowIndex, [data0, data1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] 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 return this.filteredData(includeHeaders, excludeHiddenCols, true);\n }\n\n /**\n * Return the filtered table values with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @return {Array}\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredValues(includeHeaders = false, excludeHiddenCols = false) {\n return this.filteredData(includeHeaders, excludeHiddenCols, false);\n }\n\n /**\n * Return the filtered data with following structure:\n * [\n * [rowIndex, [value0, value1...]],\n * [rowIndex, [value0, value1...]]\n * ]\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns\n * @param {Boolean} [typed=false] Return typed value\n * @return {Array}\n * @private\n *\n * TODO: provide an API returning data in JSON format\n */\n filteredData(\n includeHeaders = false,\n excludeHiddenCols = false,\n typed = false\n ) {\n if (this.validRowsIndex.length === 0) {\n return [];\n }\n let rows = this.dom().rows,\n filteredData = [];\n let getContent = typed ? this.getCellData.bind(this) :\n this.getCellValue.bind(this);\n\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 cellValue = getContent(cells[k]);\n rData[1].push(cellValue);\n }\n filteredData.push(rData);\n }\n return filteredData;\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredColumnData(colIndex, includeHeaders = false, exclude = []) {\n return this.getFilteredDataCol(\n colIndex, includeHeaders, true, exclude, false);\n }\n\n /**\n * Return the filtered and visible data for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of typed values [data0, data1, data2...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getVisibleColumnData(colIndex, includeHeaders = false, exclude = []) {\n return this.getFilteredDataCol(\n colIndex, includeHeaders, true, exclude, true);\n }\n\n /**\n * Return the filtered values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredColumnValues(colIndex, includeHeaders = false, exclude = []) {\n return this.getFilteredDataCol(\n colIndex, includeHeaders, false, exclude, false);\n }\n\n /**\n * Return the filtered and visible values for a given column index\n * @param {any} colIndex Colmun's index\n * @param {boolean} [includeHeaders=false] Optional Include headers row\n * @param {any} [exclude=[]] Optional List of row indexes to be excluded\n * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]\n *\n * TODO: provide an API returning data in JSON format\n */\n getVisibleColumnValues(colIndex, includeHeaders = false, exclude = []) {\n return this.getFilteredDataCol(\n colIndex, includeHeaders, false, exclude, true);\n }\n\n /**\n * Return the filtered data for a given column index\n * @param {Number} colIndex Colmun's index\n * @param {Boolean} [includeHeaders=false] Include headers row\n * @param {Boolean} [typed=false] Return typed value\n * @param {Array} [exclude=[]] List of row indexes to be excluded\n * @param {Boolean} [visible=true] Return only filtered and visible data\n * (relevant for paging)\n * @return {Array} Flat list of values ['val0','val1','val2'...]\n * @private\n *\n * TODO: provide an API returning data in JSON format\n */\n getFilteredDataCol(\n colIndex,\n includeHeaders = false,\n typed = false,\n exclude = [],\n visible = true\n ) {\n if (isUndef(colIndex)) {\n return [];\n }\n\n let rows = this.dom().rows;\n let getContent = typed ? this.getCellData.bind(this) :\n this.getCellValue.bind(this);\n\n // ensure valid rows index do not contain excluded rows and row is\n // displayed\n let validRows = this.getValidRows(true).filter((rowIdx) => {\n return exclude.indexOf(rowIdx) === -1 &&\n (visible ?\n this.getRowDisplay(rows[rowIdx]) !== 'none' :\n true);\n });\n\n // convert column value to expected type if necessary\n let validColValues = validRows.map((rowIdx) => {\n return getContent(rows[rowIdx].cells[colIndex]);\n });\n\n if (includeHeaders) {\n validColValues.unshift(this.getHeadersText()[colIndex]);\n }\n\n return validColValues;\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.dom().rows[rowIndex];\n if (!row || typeof isValid !== 'boolean') {\n return;\n }\n\n // always visible rows are valid\n if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {\n isValid = true;\n }\n\n let displayFlag = isValid ? '' : NONE,\n validFlag = isValid ? 'true' : 'false';\n row.style.display = displayFlag;\n\n if (this.paging) {\n row.setAttribute('validRow', validFlag);\n }\n\n if (isValid) {\n if (this.validRowsIndex.indexOf(rowIndex) === -1) {\n this.validRowsIndex.push(rowIndex);\n }\n\n this.onRowValidated(this, rowIndex);\n\n this.emitter.emit('row-validated', this, rowIndex);\n }\n }\n\n /**\n * Validate all filterable rows\n */\n validateAllRows() {\n if (!this.initialized) {\n return;\n }\n this.validRowsIndex = [];\n for (let k = this.refRow; k < this.nbFilterableRows; k++) {\n this.validateRow(k, true);\n }\n }\n\n /**\n * Set search value to a given filter\n * @param {Number} index Column's index\n * @param {String or Array} query searcharg Search term\n */\n setFilterValue(index, query = '') {\n if (!this.fltGrid) {\n return;\n }\n let slc = this.getFilterElement(index),\n fltColType = this.getFilterType(index);\n\n if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt());\n }\n slc.value = query;\n }\n //multiple selects\n else if (fltColType === MULTIPLE) {\n let values = isArray(query) ? query :\n query.split(' ' + this.orOperator + ' ');\n\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-select-filter', this, index,\n this.linkedFilters, this.isExternalFlt());\n }\n\n this.emitter.emit('select-options', this, index, values);\n }\n //checklist\n else if (fltColType === CHECKLIST) {\n let values = [];\n if (this.loadFltOnDemand && !this.initialized) {\n this.emitter.emit('build-checklist-filter', this, index,\n this.linkedFilters);\n }\n if (isArray(query)) {\n values = query;\n } else {\n query = matchCase(query, this.caseSensitive);\n values = query.split(' ' + this.orOperator + ' ');\n }\n\n this.emitter.emit('select-checklist-options', this, index, values);\n }\n }\n\n /**\n * Set them columns' widths as per configuration\n * @param {Element} tbl DOM element\n */\n setColWidths(tbl) {\n let colWidths = this.colWidths;\n if (colWidths.length === 0) {\n return;\n }\n\n tbl = tbl || this.dom();\n\n let nbCols = this.nbCells;\n let colTags = tag(tbl, 'col');\n let tblHasColTag = colTags.length > 0;\n let frag = !tblHasColTag ? doc.createDocumentFragment() : null;\n for (let k = 0; k < nbCols; k++) {\n let col;\n if (tblHasColTag) {\n col = colTags[k];\n } else {\n col = createElm('col');\n frag.appendChild(col);\n }\n col.style.width = colWidths[k];\n }\n if (!tblHasColTag) {\n tbl.insertBefore(frag, tbl.firstChild);\n }\n }\n\n /**\n * Make defined rows always visible\n */\n enforceVisibility() {\n if (!this.hasVisibleRows) {\n return;\n }\n let nbRows = this.getRowsNb(true);\n for (let i = 0, len = this.visibleRows.length; i < len; i++) {\n let row = this.visibleRows[i];\n //row index cannot be > nrows\n if (row <= nbRows) {\n this.validateRow(row, true);\n }\n }\n }\n\n /**\n * Clear all the filters' values\n */\n clearFilters() {\n if (!this.fltGrid) {\n return;\n }\n\n this.emitter.emit('before-clearing-filters', this);\n this.onBeforeReset(this, this.getFiltersValue());\n\n for (let i = 0, len = this.fltIds.length; i < len; i++) {\n this.setFilterValue(i, '');\n }\n\n this.filter();\n\n this.onAfterReset(this);\n this.emitter.emit('after-clearing-filters', this);\n }\n\n /**\n * Return the ID of the current active filter\n * @return {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 * @return {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 * Build filter element ID for a given column index\n * @param {any} colIndex\n * @return {String} Filter element ID string\n * @private\n */\n buildFilterId(colIndex) {\n return `${this.prfxFlt}${colIndex}_${this.id}`;\n }\n\n /**\n * Check if has external filters\n * @returns {Boolean}\n * @private\n */\n isExternalFlt() {\n return this.externalFltTgtIds.length > 0;\n }\n\n /**\n * Returns styles path\n * @returns {String}\n * @private\n */\n getStylePath() {\n return defaultsStr(this.config.style_path, this.basePath + 'style/');\n }\n\n /**\n * Returns main stylesheet path\n * @returns {String}\n * @private\n */\n getStylesheetPath() {\n return defaultsStr(this.config.stylesheet,\n this.getStylePath() + 'tablefilter.css');\n }\n\n /**\n * Returns themes path\n * @returns {String}\n * @private\n */\n getThemesPath() {\n return defaultsStr(this.config.themes_path,\n this.getStylePath() + 'themes/');\n }\n\n /**\n * Make specified column's filter active\n * @param colIndex Index of a column\n */\n activateFilter(colIndex) {\n if (isUndef(colIndex)) {\n return;\n }\n this.setActiveFilterId(this.getFilterId(colIndex));\n }\n\n /**\n * Refresh the filters subject to linking ('select', 'multiple',\n * 'checklist' type)\n */\n linkFilters() {\n if (!this.linkedFilters || !this.activeFilterId) {\n return;\n }\n let slcA1 = this.getFiltersByType(SELECT, true),\n slcA2 = this.getFiltersByType(MULTIPLE, true),\n slcA3 = this.getFiltersByType(CHECKLIST, true),\n slcIndex = slcA1.concat(slcA2);\n slcIndex = slcIndex.concat(slcA3);\n\n let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);\n\n for (let i = 0, len = slcIndex.length; i < len; i++) {\n let colIdx = slcIndex[i];\n let curSlc = elm(this.fltIds[colIdx]);\n let slcSelectedValue = this.getFilterValue(colIdx);\n\n // Welcome to cyclomatic complexity hell :)\n // TODO: simplify/refactor if statement\n if (activeIdx !== colIdx ||\n (this.paging && slcA1.indexOf(colIdx) !== -1 &&\n activeIdx === colIdx) ||\n (!this.paging && (slcA3.indexOf(colIdx) !== -1 ||\n slcA2.indexOf(colIdx) !== -1)) ||\n slcSelectedValue === this.getClearFilterText(colIdx)) {\n\n //1st option needs to be inserted\n if (this.loadFltOnDemand) {\n let opt0 = createOpt(this.getClearFilterText(colIdx), '');\n curSlc.innerHTML = '';\n curSlc.appendChild(opt0);\n }\n\n if (slcA3.indexOf(colIdx) !== -1) {\n this.emitter.emit('build-checklist-filter', this, colIdx,\n true);\n } else {\n this.emitter.emit('build-select-filter', this, colIdx,\n true);\n }\n\n this.setFilterValue(colIdx, slcSelectedValue);\n }\n }\n }\n\n /**\n * Determine if passed filter column implements exact query match\n * @param {Number} colIndex Column index\n * @return {Boolean}\n */\n isExactMatch(colIndex) {\n let fltType = this.getFilterType(colIndex);\n return this.exactMatchByCol[colIndex] || this.exactMatch ||\n fltType !== INPUT;\n }\n\n /**\n * Check if passed row is valid\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n */\n isRowValid(rowIndex) {\n return this.getValidRows().indexOf(rowIndex) !== -1;\n }\n\n /**\n * Check if passed row is visible\n * @param {Number} rowIndex Row index\n * @return {Boolean}\n */\n isRowDisplayed(rowIndex) {\n let row = this.dom().rows[rowIndex];\n return this.getRowDisplay(row) === '';\n }\n\n /**\n * Check if specified column filter ignores diacritics.\n * Note this is only applicable to input filter types.\n * @param {Number} colIndex Column index\n * @return {Boolean}\n */\n ignoresDiacritics(colIndex) {\n let ignoreDiac = this.ignoreDiacritics;\n if (isArray(ignoreDiac)) {\n return ignoreDiac[colIndex];\n }\n return Boolean(ignoreDiac);\n }\n\n /**\n * Return clear all text for specified filter column\n * @param {Number} colIndex Column index\n * @return {String}\n */\n getClearFilterText(colIndex) {\n let clearText = this.clearFilterText;\n if (isArray(clearText)) {\n return clearText[colIndex];\n }\n return clearText;\n }\n\n /**\n * Check if passed script or stylesheet is already imported\n * @param {String} filePath Ressource path\n * @param {String} type Possible values: 'script' or 'link'\n * @return {Boolean}\n */\n isImported(filePath, type = 'script') {\n let imported = false,\n attr = type === 'script' ? 'src' : 'href',\n files = tag(doc, type);\n for (let i = 0, len = files.length; i < len; i++) {\n if (isUndef(files[i][attr])) {\n continue;\n }\n if (files[i][attr].match(filePath)) {\n imported = true;\n break;\n }\n }\n return imported;\n }\n\n /**\n * Import script or stylesheet\n * @param {String} fileId Ressource ID\n * @param {String} filePath Ressource path\n * @param {Function} callback Callback\n * @param {String} type Possible values: 'script' or 'link'\n */\n import(fileId, filePath, callback, type = 'script') {\n if (this.isImported(filePath, type)) {\n return;\n }\n let o = this,\n isLoaded = false,\n file,\n head = tag(doc, 'head')[0];\n\n if (type.toLowerCase() === 'link') {\n file = createElm('link',\n ['id', fileId], ['type', 'text/css'],\n ['rel', 'stylesheet'], ['href', filePath]\n );\n } else {\n file = createElm('script',\n ['id', fileId],\n ['type', 'text/javascript'], ['src', filePath]\n );\n }\n\n //Browser <> IE onload event works only for scripts, not for stylesheets\n file.onload = file.onreadystatechange = () => {\n if (!isLoaded &&\n (!this.readyState || this.readyState === 'loaded' ||\n this.readyState === 'complete')) {\n isLoaded = true;\n if (typeof callback === 'function') {\n callback.call(null, o);\n }\n }\n };\n file.onerror = function () {\n throw new Error(`TableFilter could not load: ${filePath}`);\n };\n head.appendChild(file);\n }\n\n /**\n * Check if table has filters grid\n * @return {Boolean}\n */\n isInitialized() {\n return this.initialized;\n }\n\n /**\n * Get list of filter IDs\n * @return {Array} List of filters ids\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.dom().rows[k];\n if (!this.paging) {\n if (this.getRowDisplay(r) !== NONE) {\n this.validRowsIndex.push(r.rowIndex);\n }\n } else {\n if (r.getAttribute('validRow') === 'true' ||\n r.getAttribute('validRow') === null) {\n this.validRowsIndex.push(r.rowIndex);\n }\n }\n }\n return this.validRowsIndex;\n }\n\n /**\n * Get the index of the row containing the filters\n * @return {Number}\n */\n getFiltersRowIndex() {\n return this.filtersRowIndex;\n }\n\n /**\n * Get the index of the headers row\n * @return {Number}\n */\n getHeadersRowIndex() {\n return this.headersRow;\n }\n\n /**\n * Get the row index from where the filtering process start (1st filterable\n * row)\n * @return {Number}\n */\n getStartRowIndex() {\n return this.refRow;\n }\n\n /**\n * Get the index of the last row\n * @return {Number}\n */\n getLastRowIndex() {\n let nbRows = this.getRowsNb(true);\n return (nbRows - 1);\n }\n\n /**\n * Determine whether the specified column has one of the passed types\n * @param {Number} colIndex Column index\n * @param {Array} [types=[]] List of column types\n * @return {Boolean}\n */\n hasType(colIndex, types = []) {\n if (this.colTypes.length === 0) {\n return false;\n }\n let colType = this.colTypes[colIndex];\n if (isObj(colType)) {\n colType = colType.type;\n }\n return types.indexOf(colType) !== -1;\n }\n\n /**\n * Get the header DOM element for a given column index\n * @param {Number} colIndex Column index\n * @return {Element}\n */\n getHeaderElement(colIndex) {\n let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.dom();\n let tHead = tag(table, 'thead');\n let rowIdx = this.getHeadersRowIndex();\n let header;\n if (tHead.length === 0) {\n header = table.rows[rowIdx].cells[colIndex];\n }\n if (tHead.length === 1) {\n header = tHead[0].rows[rowIdx].cells[colIndex];\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 return this.filterTypes[colIndex];\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 * @return {Number}\n */\n getValidRowsNb(reCalc = false) {\n return this.getValidRows(reCalc).length;\n }\n\n /**\n * Return the working DOM element\n * @return {HTMLTableElement}\n */\n dom() {\n return this.tbl;\n }\n\n /**\n * Return the decimal separator for supplied column as per column type\n * configuration or global setting\n * @param {Number} colIndex Column index\n * @returns {String} '.' or ','\n */\n getDecimal(colIndex) {\n let decimal = this.decimalSeparator;\n if (this.hasType(colIndex, [FORMATTED_NUMBER])) {\n let colType = this.colTypes[colIndex];\n if (colType.hasOwnProperty('decimal')) {\n decimal = colType.decimal;\n }\n }\n return decimal;\n }\n\n /**\n * Get the configuration object (literal object)\n * @return {Object}\n */\n config() {\n return this.cfg;\n }\n}\n" + }, + { + "__docId__": 807, + "kind": "variable", + "static": true, + "variation": null, + "name": "doc", + "memberof": "src/tablefilter.js", + "longname": "src/tablefilter.js~doc", + "access": null, + "export": false, + "importPath": "tablefilter/src/tablefilter.js", + "importStyle": null, + "description": null, + "lineNumber": 29, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 808, + "kind": "class", + "static": true, + "variation": null, + "name": "TableFilter", + "memberof": "src/tablefilter.js", + "longname": "src/tablefilter.js~TableFilter", + "access": null, + "export": true, + "importPath": "tablefilter/src/tablefilter.js", + "importStyle": "{TableFilter}", + "description": "Makes HTML tables filterable and a bit more :)", + "lineNumber": 37, + "unknown": [ + { + "tagName": "@export", + "tagValue": "" + }, + { + "tagName": "@class", + "tagValue": "TableFilter" + } + ], + "interface": false + }, + { + "__docId__": 809, + "kind": "constructor", + "static": false, + "variation": null, + "name": "constructor", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#constructor", + "access": null, + "description": "Creates an instance of TableFilter\nrequires `table` or `id` arguments, `row` and `configuration` optional", + "lineNumber": 47, + "params": [ + { + "nullable": null, + "types": [ + "HTMLTableElement" + ], + "spread": false, + "optional": false, + "name": "table", + "description": "Table DOM element" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "id", + "description": "Table id" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "row", + "description": "index indicating the 1st row" + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "configuration", + "description": "object" + } + ], + "generator": false + }, + { + "__docId__": 810, + "kind": "member", + "static": false, + "variation": null, + "name": "id", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#id", + "access": "private", + "description": "ID of current instance", + "lineNumber": 53, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 811, + "kind": "member", + "static": false, + "variation": null, + "name": "version", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#version", + "access": null, + "description": "Current version", + "lineNumber": 59, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 812, + "kind": "member", + "static": false, + "variation": null, + "name": "year", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#year", + "access": "private", + "description": "Current year", + "lineNumber": 66, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 813, + "kind": "member", + "static": false, + "variation": null, + "name": "tbl", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#tbl", + "access": "private", + "description": "HTML Table DOM element", + "lineNumber": 73, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 814, + "kind": "member", + "static": false, + "variation": null, + "name": "refRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#refRow", + "access": null, + "description": "Calculated row's index from which starts filtering once filters\nare generated", + "lineNumber": 80, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 815, + "kind": "member", + "static": false, + "variation": null, + "name": "headersRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#headersRow", + "access": "private", + "description": "Index of the headers row", + "lineNumber": 87, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 816, + "kind": "member", + "static": false, + "variation": null, + "name": "cfg", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#cfg", + "access": "private", + "description": "Configuration object", + "lineNumber": 94, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 817, + "kind": "member", + "static": false, + "variation": null, + "name": "nbFilterableRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbFilterableRows", + "access": "private", + "description": "Number of rows that can be filtered", + "lineNumber": 101, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 818, + "kind": "member", + "static": false, + "variation": null, + "name": "nbCells", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbCells", + "access": "private", + "description": "Number of cells in the reference row", + "lineNumber": 108, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 819, + "kind": "member", + "static": false, + "variation": null, + "name": "hasConfig", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasConfig", + "access": "private", + "description": "Has a configuration object", + "lineNumber": 115, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 820, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#initialized", + "access": "private", + "description": null, + "lineNumber": 118, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 821, + "kind": "member", + "static": false, + "variation": null, + "name": "tbl", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#tbl", + "access": null, + "description": null, + "lineNumber": 125, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 822, + "kind": "member", + "static": false, + "variation": null, + "name": "id", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#id", + "access": null, + "description": null, + "lineNumber": 126, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 823, + "kind": "member", + "static": false, + "variation": null, + "name": "id", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#id", + "access": null, + "description": null, + "lineNumber": 128, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 824, + "kind": "member", + "static": false, + "variation": null, + "name": "tbl", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#tbl", + "access": null, + "description": null, + "lineNumber": 129, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 825, + "kind": "member", + "static": false, + "variation": null, + "name": "cfg", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#cfg", + "access": null, + "description": null, + "lineNumber": 133, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 826, + "kind": "member", + "static": false, + "variation": null, + "name": "hasConfig", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasConfig", + "access": null, + "description": null, + "lineNumber": 134, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 827, + "kind": "member", + "static": false, + "variation": null, + "name": "emitter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#emitter", + "access": null, + "description": "Event emitter instance", + "lineNumber": 155, + "type": { + "nullable": null, + "types": [ + "Emitter" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 828, + "kind": "member", + "static": false, + "variation": null, + "name": "refRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#refRow", + "access": null, + "description": null, + "lineNumber": 158, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 829, + "kind": "member", + "static": false, + "variation": null, + "name": "filterTypes", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#filterTypes", + "access": "private", + "description": "Collection of filter type by column", + "lineNumber": 165, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 830, + "kind": "member", + "static": false, + "variation": null, + "name": "basePath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#basePath", + "access": null, + "description": "Base path for static assets", + "lineNumber": 176, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 831, + "kind": "member", + "static": false, + "variation": null, + "name": "fltGrid", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltGrid", + "access": null, + "description": "Enable/disable filters", + "lineNumber": 184, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 832, + "kind": "member", + "static": false, + "variation": null, + "name": "gridLayout", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#gridLayout", + "access": null, + "description": "Enable/disable grid layout (fixed headers)", + "lineNumber": 190, + "type": { + "nullable": null, + "types": [ + "Object", + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 833, + "kind": "member", + "static": false, + "variation": null, + "name": "filtersRowIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#filtersRowIndex", + "access": null, + "description": "Filters row index", + "lineNumber": 196, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 834, + "kind": "member", + "static": false, + "variation": null, + "name": "headersRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#headersRow", + "access": null, + "description": "Headers row index", + "lineNumber": 202, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 835, + "kind": "member", + "static": false, + "variation": null, + "name": "fltCellTag", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltCellTag", + "access": null, + "description": "Define the type of cell containing a filter (td/th)", + "lineNumber": 209, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 836, + "kind": "member", + "static": false, + "variation": null, + "name": "fltIds", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltIds", + "access": "private", + "description": "List of filters IDs", + "lineNumber": 216, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 837, + "kind": "member", + "static": false, + "variation": null, + "name": "validRowsIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validRowsIndex", + "access": "private", + "description": "List of valid rows indexes (rows visible upon filtering)", + "lineNumber": 223, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 838, + "kind": "member", + "static": false, + "variation": null, + "name": "infDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#infDiv", + "access": "private", + "description": "Toolbar's container DOM element", + "lineNumber": 230, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 839, + "kind": "member", + "static": false, + "variation": null, + "name": "lDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#lDiv", + "access": "private", + "description": "Left-side inner container DOM element (rows counter in toolbar)", + "lineNumber": 237, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 840, + "kind": "member", + "static": false, + "variation": null, + "name": "rDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#rDiv", + "access": "private", + "description": "Right-side inner container DOM element (reset button,\npage length selector in toolbar)", + "lineNumber": 245, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 841, + "kind": "member", + "static": false, + "variation": null, + "name": "mDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#mDiv", + "access": "private", + "description": "Middle inner container DOM element (paging elements in toolbar)", + "lineNumber": 252, + "type": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 842, + "kind": "member", + "static": false, + "variation": null, + "name": "infDivCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#infDivCssClass", + "access": null, + "description": "Css class for toolbar's container DOM element", + "lineNumber": 258, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 843, + "kind": "member", + "static": false, + "variation": null, + "name": "lDivCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#lDivCssClass", + "access": null, + "description": "Css class for left-side inner container DOM element", + "lineNumber": 264, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 844, + "kind": "member", + "static": false, + "variation": null, + "name": "rDivCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#rDivCssClass", + "access": null, + "description": "Css class for right-side inner container DOM element", + "lineNumber": 270, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 845, + "kind": "member", + "static": false, + "variation": null, + "name": "mDivCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#mDivCssClass", + "access": null, + "description": "Css class for middle inner container DOM element", + "lineNumber": 276, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 846, + "kind": "member", + "static": false, + "variation": null, + "name": "stylePath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#stylePath", + "access": null, + "description": "Path for stylesheets", + "lineNumber": 283, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 847, + "kind": "member", + "static": false, + "variation": null, + "name": "stylesheet", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#stylesheet", + "access": null, + "description": "Main stylesheet path", + "lineNumber": 289, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 848, + "kind": "member", + "static": false, + "variation": null, + "name": "stylesheetId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#stylesheetId", + "access": "private", + "description": "Main stylesheet ID", + "lineNumber": 296, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 849, + "kind": "member", + "static": false, + "variation": null, + "name": "fltsRowCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltsRowCssClass", + "access": null, + "description": "Css class for the filters row", + "lineNumber": 302, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 850, + "kind": "member", + "static": false, + "variation": null, + "name": "enableIcons", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enableIcons", + "access": null, + "description": "Enable/disable icons (paging, reset button)", + "lineNumber": 308, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 851, + "kind": "member", + "static": false, + "variation": null, + "name": "alternateRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#alternateRows", + "access": null, + "description": "Enable/disable alternating rows", + "lineNumber": 314, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 852, + "kind": "member", + "static": false, + "variation": null, + "name": "colWidths", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#colWidths", + "access": null, + "description": "Columns widths array", + "lineNumber": 320, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 853, + "kind": "member", + "static": false, + "variation": null, + "name": "fltCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltCssClass", + "access": null, + "description": "Css class for a filter element", + "lineNumber": 326, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 854, + "kind": "member", + "static": false, + "variation": null, + "name": "fltMultiCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltMultiCssClass", + "access": null, + "description": "Css class for multiple select filters", + "lineNumber": 332, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 855, + "kind": "member", + "static": false, + "variation": null, + "name": "fltSmallCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltSmallCssClass", + "access": null, + "description": "Css class for small filter (when submit button is active)", + "lineNumber": 338, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 856, + "kind": "member", + "static": false, + "variation": null, + "name": "singleFltCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#singleFltCssClass", + "access": null, + "description": "Css class for single filter type", + "lineNumber": 344, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 857, + "kind": "member", + "static": false, + "variation": null, + "name": "enterKey", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enterKey", + "access": null, + "description": "Enable/disable enter key for input type filters", + "lineNumber": 353, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 858, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeFilter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onBeforeFilter", + "access": null, + "description": "Callback fired before filtering process starts", + "lineNumber": 359, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 859, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterFilter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onAfterFilter", + "access": null, + "description": "Callback fired after filtering process is completed", + "lineNumber": 365, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 860, + "kind": "member", + "static": false, + "variation": null, + "name": "caseSensitive", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#caseSensitive", + "access": null, + "description": "Enable/disable case sensitivity filtering", + "lineNumber": 371, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 861, + "kind": "member", + "static": false, + "variation": null, + "name": "hasExactMatchByCol", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasExactMatchByCol", + "access": "private", + "description": "Indicate whether exact match filtering is enabled on a per column\nbasis", + "lineNumber": 379, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 862, + "kind": "member", + "static": false, + "variation": null, + "name": "exactMatchByCol", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#exactMatchByCol", + "access": null, + "description": "Exact match filtering per column array", + "lineNumber": 385, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 863, + "kind": "member", + "static": false, + "variation": null, + "name": "exactMatch", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#exactMatch", + "access": null, + "description": "Globally enable/disable exact match filtering", + "lineNumber": 392, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 864, + "kind": "member", + "static": false, + "variation": null, + "name": "ignoreDiacritics", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#ignoreDiacritics", + "access": null, + "description": "Ignore diacritics globally or on a column basis", + "lineNumber": 398, + "type": { + "nullable": null, + "types": [ + "Boolean", + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 865, + "kind": "member", + "static": false, + "variation": null, + "name": "linkedFilters", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#linkedFilters", + "access": null, + "description": "Enable/disable linked filters filtering mode", + "lineNumber": 404, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 866, + "kind": "member", + "static": false, + "variation": null, + "name": "disableExcludedOptions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#disableExcludedOptions", + "access": null, + "description": "Enable/disable readonly state for excluded options when\nlinked filters filtering mode is on", + "lineNumber": 411, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 867, + "kind": "member", + "static": false, + "variation": null, + "name": "activeFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#activeFilterId", + "access": "private", + "description": "Active filter ID", + "lineNumber": 418, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 868, + "kind": "member", + "static": false, + "variation": null, + "name": "hasVisibleRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasVisibleRows", + "access": null, + "description": "Enable/disable always visible rows, excluded from filtering", + "lineNumber": 424, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 869, + "kind": "member", + "static": false, + "variation": null, + "name": "visibleRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#visibleRows", + "access": null, + "description": "List of row indexes to be excluded from filtering", + "lineNumber": 430, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 870, + "kind": "member", + "static": false, + "variation": null, + "name": "externalFltTgtIds", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#externalFltTgtIds", + "access": null, + "description": "List of containers IDs where external filters will be generated", + "lineNumber": 436, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 871, + "kind": "member", + "static": false, + "variation": null, + "name": "onFiltersLoaded", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onFiltersLoaded", + "access": null, + "description": "Callback fired after filters are generated", + "lineNumber": 442, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 872, + "kind": "member", + "static": false, + "variation": null, + "name": "singleSearchFlt", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#singleSearchFlt", + "access": null, + "description": "Enable/disable single filter filtering all columns", + "lineNumber": 448, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 873, + "kind": "member", + "static": false, + "variation": null, + "name": "onRowValidated", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onRowValidated", + "access": null, + "description": "Callback fired after a row is validated during filtering", + "lineNumber": 454, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 874, + "kind": "member", + "static": false, + "variation": null, + "name": "cellParser", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#cellParser", + "access": null, + "description": "Specify which column implements a custom cell parser to retrieve the\ncell value:\ncell_parser: {\n cols: [0, 2],\n parse: function(tf, cell, colIndex) {\n // custom cell parser logic here\n return cellValue;\n }\n}", + "lineNumber": 468, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 875, + "kind": "member", + "static": false, + "variation": null, + "name": "watermark", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#watermark", + "access": null, + "description": "Global watermark text for input filter type or watermark for each\nfilter if an array is supplied", + "lineNumber": 477, + "type": { + "nullable": null, + "types": [ + "String", + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 876, + "kind": "member", + "static": false, + "variation": null, + "name": "isWatermarkArray", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isWatermarkArray", + "access": "private", + "description": "Indicate whether watermark is on a per column basis", + "lineNumber": 484, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 877, + "kind": "member", + "static": false, + "variation": null, + "name": "toolBarTgtId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#toolBarTgtId", + "access": null, + "description": "Toolbar's custom container ID", + "lineNumber": 490, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 878, + "kind": "member", + "static": false, + "variation": null, + "name": "help", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#help", + "access": null, + "description": "Indicate whether help UI component is disabled", + "lineNumber": 496, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 879, + "kind": "member", + "static": false, + "variation": null, + "name": "popupFilters", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#popupFilters", + "access": null, + "description": "Indicate whether pop-up filters UI is enabled", + "lineNumber": 503, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 880, + "kind": "member", + "static": false, + "variation": null, + "name": "markActiveColumns", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#markActiveColumns", + "access": null, + "description": "Indicate whether filtered (active) columns indicator is enabled", + "lineNumber": 509, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 881, + "kind": "member", + "static": false, + "variation": null, + "name": "clearFilterText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#clearFilterText", + "access": null, + "description": "Text for clear option in drop-down filter types (1st option)", + "lineNumber": 517, + "type": { + "nullable": null, + "types": [ + "String", + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 882, + "kind": "member", + "static": false, + "variation": null, + "name": "enableEmptyOption", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enableEmptyOption", + "access": null, + "description": "Indicate whether empty option is enabled in drop-down filter types", + "lineNumber": 523, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 883, + "kind": "member", + "static": false, + "variation": null, + "name": "emptyText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#emptyText", + "access": null, + "description": "Text for empty option in drop-down filter types", + "lineNumber": 529, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 884, + "kind": "member", + "static": false, + "variation": null, + "name": "enableNonEmptyOption", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enableNonEmptyOption", + "access": null, + "description": "Indicate whether non-empty option is enabled in drop-down filter\ntypes", + "lineNumber": 536, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 885, + "kind": "member", + "static": false, + "variation": null, + "name": "nonEmptyText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nonEmptyText", + "access": null, + "description": "Text for non-empty option in drop-down filter types", + "lineNumber": 542, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 886, + "kind": "member", + "static": false, + "variation": null, + "name": "onSlcChange", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onSlcChange", + "access": null, + "description": "Indicate whether drop-down filter types filter the table by default\non change event", + "lineNumber": 549, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 887, + "kind": "member", + "static": false, + "variation": null, + "name": "sortSlc", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#sortSlc", + "access": null, + "description": "Make drop-down filter types options sorted in alpha-numeric manner\nby default globally or on a column basis", + "lineNumber": 556, + "type": { + "nullable": null, + "types": [ + "Boolean", + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 888, + "kind": "member", + "static": false, + "variation": null, + "name": "isSortNumAsc", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isSortNumAsc", + "access": "private", + "description": "Indicate whether options in drop-down filter types are sorted in a\nascending numeric manner", + "lineNumber": 565, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 889, + "kind": "member", + "static": false, + "variation": null, + "name": "sortNumAsc", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#sortNumAsc", + "access": null, + "description": "List of columns implementing options sorting in a ascending numeric\nmanner", + "lineNumber": 572, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 890, + "kind": "member", + "static": false, + "variation": null, + "name": "isSortNumDesc", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isSortNumDesc", + "access": "private", + "description": "Indicate whether options in drop-down filter types are sorted in a\ndescending numeric manner", + "lineNumber": 580, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 891, + "kind": "member", + "static": false, + "variation": null, + "name": "sortNumDesc", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#sortNumDesc", + "access": null, + "description": "List of columns implementing options sorting in a descending numeric\nmanner", + "lineNumber": 587, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 892, + "kind": "member", + "static": false, + "variation": null, + "name": "loadFltOnDemand", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#loadFltOnDemand", + "access": null, + "description": "Indicate whether drop-down filter types are populated on demand at\nfirst usage", + "lineNumber": 594, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 893, + "kind": "member", + "static": false, + "variation": null, + "name": "hasCustomOptions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasCustomOptions", + "access": null, + "description": "Indicate whether custom drop-down filter options are implemented", + "lineNumber": 600, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 894, + "kind": "member", + "static": false, + "variation": null, + "name": "customOptions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#customOptions", + "access": null, + "description": "Custom options definition of a per column basis, ie:\ncustom_options: {\n cols:[0, 1],\n texts: [\n ['a0', 'b0', 'c0'],\n ['a1', 'b1', 'c1']\n ],\n values: [\n ['a0', 'b0', 'c0'],\n ['a1', 'b1', 'c1']\n ],\n sorts: [false, true]\n }", + "lineNumber": 619, + "type": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 895, + "kind": "member", + "static": false, + "variation": null, + "name": "rgxOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#rgxOperator", + "access": null, + "description": "Regular expression operator for input filter. Defaults to 'rgx:'", + "lineNumber": 626, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 896, + "kind": "member", + "static": false, + "variation": null, + "name": "emOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#emOperator", + "access": null, + "description": "Empty cells operator for input filter. Defaults to '[empty]'", + "lineNumber": 632, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 897, + "kind": "member", + "static": false, + "variation": null, + "name": "nmOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nmOperator", + "access": null, + "description": "Non-empty cells operator for input filter. Defaults to '[nonempty]'", + "lineNumber": 638, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 898, + "kind": "member", + "static": false, + "variation": null, + "name": "orOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#orOperator", + "access": null, + "description": "Logical OR operator for input filter. Defaults to '||'", + "lineNumber": 644, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 899, + "kind": "member", + "static": false, + "variation": null, + "name": "anOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#anOperator", + "access": null, + "description": "Logical AND operator for input filter. Defaults to '&&'", + "lineNumber": 650, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 900, + "kind": "member", + "static": false, + "variation": null, + "name": "grOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#grOperator", + "access": null, + "description": "Greater than operator for input filter. Defaults to '>'", + "lineNumber": 656, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 901, + "kind": "member", + "static": false, + "variation": null, + "name": "lwOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#lwOperator", + "access": null, + "description": "Lower than operator for input filter. Defaults to '<'", + "lineNumber": 662, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 902, + "kind": "member", + "static": false, + "variation": null, + "name": "leOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#leOperator", + "access": null, + "description": "Lower than or equal operator for input filter. Defaults to '<='", + "lineNumber": 668, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 903, + "kind": "member", + "static": false, + "variation": null, + "name": "geOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#geOperator", + "access": null, + "description": "Greater than or equal operator for input filter. Defaults to '>='", + "lineNumber": 674, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 904, + "kind": "member", + "static": false, + "variation": null, + "name": "dfOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#dfOperator", + "access": null, + "description": "Inequality operator for input filter. Defaults to '!'", + "lineNumber": 680, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 905, + "kind": "member", + "static": false, + "variation": null, + "name": "lkOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#lkOperator", + "access": null, + "description": "Like operator for input filter. Defaults to '*'", + "lineNumber": 686, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 906, + "kind": "member", + "static": false, + "variation": null, + "name": "eqOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#eqOperator", + "access": null, + "description": "Strict equality operator for input filter. Defaults to '='", + "lineNumber": 692, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 907, + "kind": "member", + "static": false, + "variation": null, + "name": "stOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#stOperator", + "access": null, + "description": "Starts with operator for input filter. Defaults to '='", + "lineNumber": 698, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 908, + "kind": "member", + "static": false, + "variation": null, + "name": "enOperator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enOperator", + "access": null, + "description": "Ends with operator for input filter. Defaults to '='", + "lineNumber": 704, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 909, + "kind": "member", + "static": false, + "variation": null, + "name": "separator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#separator", + "access": null, + "description": "Stored values separator", + "lineNumber": 712, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 910, + "kind": "member", + "static": false, + "variation": null, + "name": "rowsCounter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#rowsCounter", + "access": null, + "description": "Enable rows counter UI component", + "lineNumber": 718, + "type": { + "nullable": null, + "types": [ + "Boolean", + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 911, + "kind": "member", + "static": false, + "variation": null, + "name": "statusBar", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#statusBar", + "access": null, + "description": "Enable status bar UI component", + "lineNumber": 724, + "type": { + "nullable": null, + "types": [ + "Boolean", + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 912, + "kind": "member", + "static": false, + "variation": null, + "name": "loader", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#loader", + "access": null, + "description": "Enable activity/spinner indicator UI component", + "lineNumber": 730, + "type": { + "nullable": null, + "types": [ + "Boolean", + "Object" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 913, + "kind": "member", + "static": false, + "variation": null, + "name": "displayBtn", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#displayBtn", + "access": null, + "description": "Enable filters submission button", + "lineNumber": 737, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 914, + "kind": "member", + "static": false, + "variation": null, + "name": "btnText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#btnText", + "access": null, + "description": "Define filters submission button text", + "lineNumber": 743, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 915, + "kind": "member", + "static": false, + "variation": null, + "name": "btnCssClass", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#btnCssClass", + "access": null, + "description": "Css class for filters submission button", + "lineNumber": 749, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 916, + "kind": "member", + "static": false, + "variation": null, + "name": "btnReset", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#btnReset", + "access": null, + "description": "Enable clear button", + "lineNumber": 756, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 917, + "kind": "member", + "static": false, + "variation": null, + "name": "onBeforeReset", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onBeforeReset", + "access": null, + "description": "Callback fired before filters are cleared", + "lineNumber": 762, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 918, + "kind": "member", + "static": false, + "variation": null, + "name": "onAfterReset", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onAfterReset", + "access": null, + "description": "Callback fired after filters are cleared", + "lineNumber": 768, + "type": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 919, + "kind": "member", + "static": false, + "variation": null, + "name": "paging", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#paging", + "access": null, + "description": "Enable paging component", + "lineNumber": 774, + "type": { + "nullable": null, + "types": [ + "Object", + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 920, + "kind": "member", + "static": false, + "variation": null, + "name": "nbHiddenRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbHiddenRows", + "access": "private", + "description": "Number of hidden rows", + "lineNumber": 781, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 921, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilter", + "access": null, + "description": "Enable auto-filter behaviour, table is filtered when a user\nstops typing", + "lineNumber": 788, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 922, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterDelay", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterDelay", + "access": null, + "description": "Auto-filter delay in msecs", + "lineNumber": 794, + "type": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 923, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": "private", + "description": "Indicate whether user is typing", + "lineNumber": 802, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 924, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterTimer", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterTimer", + "access": "private", + "description": "Auto-filter interval ID", + "lineNumber": 809, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 925, + "kind": "member", + "static": false, + "variation": null, + "name": "highlightKeywords", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#highlightKeywords", + "access": null, + "description": "Enable keyword highlighting behaviour", + "lineNumber": 815, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 926, + "kind": "member", + "static": false, + "variation": null, + "name": "noResults", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#noResults", + "access": null, + "description": "Enable no results message UI component", + "lineNumber": 821, + "type": { + "nullable": null, + "types": [ + "Object", + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 927, + "kind": "member", + "static": false, + "variation": null, + "name": "state", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#state", + "access": null, + "description": "Enable state persistence", + "lineNumber": 828, + "type": { + "nullable": null, + "types": [ + "Object", + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 928, + "kind": "member", + "static": false, + "variation": null, + "name": "dateType", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#dateType", + "access": "private", + "description": "Enable date type module", + "lineNumber": 837, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 929, + "kind": "member", + "static": false, + "variation": null, + "name": "locale", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#locale", + "access": null, + "description": "Define default locale, default to 'en' as per Sugar Date module:\nhttps://sugarjs.com/docs/#/DateLocales", + "lineNumber": 844, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 930, + "kind": "member", + "static": false, + "variation": null, + "name": "thousandsSeparator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#thousandsSeparator", + "access": null, + "description": "Define thousands separator ',' or '.', defaults to ','", + "lineNumber": 850, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 931, + "kind": "member", + "static": false, + "variation": null, + "name": "decimalSeparator", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#decimalSeparator", + "access": null, + "description": "Define decimal separator ',' or '.', defaults to '.'", + "lineNumber": 856, + "type": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 932, + "kind": "member", + "static": false, + "variation": null, + "name": "colTypes", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#colTypes", + "access": null, + "description": "Define data types on a column basis, possible values 'string',\n'number', 'formatted-number', 'date', 'ipaddress' ie:\ncol_types : [\n 'string', 'date', 'number',\n { type: 'formatted-number', decimal: ',', thousands: '.' },\n { type: 'date', locale: 'en-gb' },\n { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }\n]\n\nRefer to https://sugarjs.com/docs/#/DateParsing for exhaustive\ninformation on date parsing formats supported by Sugar Date", + "lineNumber": 872, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 933, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxTf", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxTf", + "access": "private", + "description": "Main prefix", + "lineNumber": 879, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 934, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxFlt", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxFlt", + "access": "private", + "description": "Filter's ID prefix (inputs - selects)", + "lineNumber": 885, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 935, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxValButton", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxValButton", + "access": "private", + "description": "Button's ID prefix", + "lineNumber": 891, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 936, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxInfDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxInfDiv", + "access": "private", + "description": "Toolbar container ID prefix", + "lineNumber": 897, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 937, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxLDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxLDiv", + "access": "private", + "description": "Toolbar left element ID prefix", + "lineNumber": 903, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 938, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxRDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxRDiv", + "access": "private", + "description": "Toolbar right element ID prefix", + "lineNumber": 909, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 939, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxMDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxMDiv", + "access": "private", + "description": "Toolbar middle element ID prefix", + "lineNumber": 915, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 940, + "kind": "member", + "static": false, + "variation": null, + "name": "prfxResponsive", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#prfxResponsive", + "access": "private", + "description": "Responsive Css class", + "lineNumber": 921, + "type": { + "types": [ + "string" + ] + } + }, + { + "__docId__": 941, + "kind": "member", + "static": false, + "variation": null, + "name": "extensions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#extensions", + "access": null, + "description": "List of loaded extensions", + "lineNumber": 928, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 942, + "kind": "member", + "static": false, + "variation": null, + "name": "enableDefaultTheme", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enableDefaultTheme", + "access": null, + "description": "Enable default theme", + "lineNumber": 935, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 943, + "kind": "member", + "static": false, + "variation": null, + "name": "hasThemes", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasThemes", + "access": "private", + "description": "Determine whether themes are enables", + "lineNumber": 942, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 944, + "kind": "member", + "static": false, + "variation": null, + "name": "themes", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#themes", + "access": null, + "description": "List of themes, ie:\nthemes: [{ name: 'skyblue' }]", + "lineNumber": 949, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 945, + "kind": "member", + "static": false, + "variation": null, + "name": "themesPath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#themesPath", + "access": null, + "description": "Define path to themes assets, defaults to\n'tablefilter/style/themes/'. Usage:\nthemes: [{ name: 'skyblue' }]", + "lineNumber": 957, + "type": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 946, + "kind": "member", + "static": false, + "variation": null, + "name": "responsive", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#responsive", + "access": null, + "description": "Enable responsive layout", + "lineNumber": 963, + "type": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 947, + "kind": "member", + "static": false, + "variation": null, + "name": "Mod", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#Mod", + "access": "private", + "description": "Features registry", + "lineNumber": 969, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 948, + "kind": "member", + "static": false, + "variation": null, + "name": "ExtRegistry", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#ExtRegistry", + "access": "private", + "description": "Extensions registry", + "lineNumber": 975, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 949, + "kind": "method", + "static": false, + "variation": null, + "name": "init", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#init", + "access": null, + "description": "Initialise features and layout", + "lineNumber": 986, + "params": [], + "generator": false + }, + { + "__docId__": 950, + "kind": "member", + "static": false, + "variation": null, + "name": "nbCells", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbCells", + "access": null, + "description": null, + "lineNumber": 994, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 951, + "kind": "member", + "static": false, + "variation": null, + "name": "nbFilterableRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbFilterableRows", + "access": null, + "description": null, + "lineNumber": 1024, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 952, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#initialized", + "access": null, + "description": null, + "lineNumber": 1108, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 953, + "kind": "method", + "static": false, + "variation": null, + "name": "detectKey", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#detectKey", + "access": null, + "description": "Detect key", + "lineNumber": 1119, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 954, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": null, + "description": null, + "lineNumber": 1130, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 955, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterTimer", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterTimer", + "access": null, + "description": null, + "lineNumber": 1132, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 956, + "kind": "method", + "static": false, + "variation": null, + "name": "onKeyUp", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onKeyUp", + "access": null, + "description": "Filter's keyup event: if auto-filter on, detect user is typing and filter\ncolumns", + "lineNumber": 1142, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 957, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": null, + "description": null, + "lineNumber": 1147, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 958, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterTimer", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterTimer", + "access": null, + "description": null, + "lineNumber": 1151, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 959, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": null, + "description": null, + "lineNumber": 1154, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 960, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterTimer", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterTimer", + "access": null, + "description": null, + "lineNumber": 1161, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 961, + "kind": "member", + "static": false, + "variation": null, + "name": "autoFilterTimer", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#autoFilterTimer", + "access": null, + "description": null, + "lineNumber": 1166, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 962, + "kind": "method", + "static": false, + "variation": null, + "name": "onKeyDown", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onKeyDown", + "access": null, + "description": "Filter's keydown event: if auto-filter on, detect user is typing", + "lineNumber": 1173, + "params": [], + "generator": false + }, + { + "__docId__": 963, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": null, + "description": null, + "lineNumber": 1175, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 964, + "kind": "method", + "static": false, + "variation": null, + "name": "onInpFocus", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onInpFocus", + "access": null, + "description": "Filter's focus event", + "lineNumber": 1183, + "params": [ + { + "nullable": null, + "types": [ + "Event" + ], + "spread": false, + "optional": false, + "name": "evt", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 965, + "kind": "method", + "static": false, + "variation": null, + "name": "onInpBlur", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#onInpBlur", + "access": null, + "description": "Filter's blur event: if auto-filter on, clear interval on filter blur", + "lineNumber": 1191, + "params": [], + "generator": false + }, + { + "__docId__": 966, + "kind": "member", + "static": false, + "variation": null, + "name": "isUserTyping", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isUserTyping", + "access": null, + "description": null, + "lineNumber": 1193, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 967, + "kind": "method", + "static": false, + "variation": null, + "name": "_insertFiltersRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#_insertFiltersRow", + "access": null, + "description": "Insert filters row at initialization", + "lineNumber": 1202, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "generator": false + }, + { + "__docId__": 968, + "kind": "method", + "static": false, + "variation": null, + "name": "_initNoFilters", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#_initNoFilters", + "access": null, + "description": "Initialize filtersless table", + "lineNumber": 1231, + "params": [], + "generator": false + }, + { + "__docId__": 969, + "kind": "member", + "static": false, + "variation": null, + "name": "refRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#refRow", + "access": null, + "description": null, + "lineNumber": 1235, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 970, + "kind": "member", + "static": false, + "variation": null, + "name": "nbFilterableRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbFilterableRows", + "access": null, + "description": null, + "lineNumber": 1236, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 971, + "kind": "method", + "static": false, + "variation": null, + "name": "_buildInputFilter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#_buildInputFilter", + "access": null, + "description": "Build input filter type", + "lineNumber": 1245, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cssClass", + "description": "Css class applied to filter" + }, + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "container", + "description": "Container DOM element" + } + ], + "generator": false + }, + { + "__docId__": 972, + "kind": "method", + "static": false, + "variation": null, + "name": "_buildSubmitButton", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#_buildSubmitButton", + "access": null, + "description": "Build submit button", + "lineNumber": 1283, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "container", + "description": "Container DOM element" + } + ], + "generator": false + }, + { + "__docId__": 973, + "kind": "method", + "static": false, + "variation": null, + "name": "instantiateFeatures", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#instantiateFeatures", + "access": "private", + "description": "Istantiate the collection of features required by the\nconfiguration and add them to the features registry. A feature is\ndescribed by a `class` and `name` fields and and optional `property`\nfield:\n{\n class: AClass,\n name: 'aClass'\n}", + "lineNumber": 1314, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "features", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 974, + "kind": "method", + "static": false, + "variation": null, + "name": "initFeatures", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#initFeatures", + "access": "private", + "description": "Initialise the passed features collection. A feature is described by a\n`class` and `name` fields and and optional `property` field:\n{\n class: AClass,\n name: 'aClass'\n}", + "lineNumber": 1340, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "features", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 975, + "kind": "method", + "static": false, + "variation": null, + "name": "feature", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#feature", + "access": null, + "description": "Return a feature instance for a given name", + "lineNumber": 1354, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "Name of the feature" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 976, + "kind": "method", + "static": false, + "variation": null, + "name": "initExtensions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#initExtensions", + "access": null, + "description": "Initialise all the extensions defined in the configuration object", + "lineNumber": 1361, + "params": [], + "generator": false + }, + { + "__docId__": 977, + "kind": "method", + "static": false, + "variation": null, + "name": "loadExtension", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#loadExtension", + "access": null, + "description": "Load an extension module", + "lineNumber": 1382, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "ext", + "description": "Extension config object" + } + ], + "generator": false + }, + { + "__docId__": 978, + "kind": "method", + "static": false, + "variation": null, + "name": "extension", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#extension", + "access": null, + "description": "Get an extension instance", + "lineNumber": 1413, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "Name of the extension" + } + ], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "Extension instance" + }, + "generator": false + }, + { + "__docId__": 979, + "kind": "method", + "static": false, + "variation": null, + "name": "hasExtension", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasExtension", + "access": null, + "description": "Check passed extension name exists", + "lineNumber": 1422, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "Name of the extension" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 980, + "kind": "method", + "static": false, + "variation": null, + "name": "registerExtension", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#registerExtension", + "access": null, + "description": "Register the passed extension instance with associated name", + "lineNumber": 1431, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "inst", + "description": "Extension instance" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "Name of the extension" + } + ], + "generator": false + }, + { + "__docId__": 981, + "kind": "method", + "static": false, + "variation": null, + "name": "destroyExtensions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#destroyExtensions", + "access": null, + "description": "Destroy all the extensions store in extensions registry", + "lineNumber": 1438, + "params": [], + "generator": false + }, + { + "__docId__": 982, + "kind": "method", + "static": false, + "variation": null, + "name": "loadThemes", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#loadThemes", + "access": null, + "description": "Load themes defined in the configuration object", + "lineNumber": 1450, + "params": [], + "generator": false + }, + { + "__docId__": 983, + "kind": "member", + "static": false, + "variation": null, + "name": "loader", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#loader", + "access": null, + "description": null, + "lineNumber": 1483, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 984, + "kind": "method", + "static": false, + "variation": null, + "name": "getStylesheet", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getStylesheet", + "access": null, + "description": "Return stylesheet DOM element for a given theme name", + "lineNumber": 1492, + "params": [ + { + "name": "name", + "optional": true, + "types": [ + "string" + ], + "defaultRaw": "default", + "defaultValue": "default" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "stylesheet element" + }, + "generator": false + }, + { + "__docId__": 985, + "kind": "method", + "static": false, + "variation": null, + "name": "destroy", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#destroy", + "access": null, + "description": "Destroy filter grid", + "lineNumber": 1499, + "params": [], + "generator": false + }, + { + "__docId__": 986, + "kind": "member", + "static": false, + "variation": null, + "name": "nbHiddenRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbHiddenRows", + "access": null, + "description": null, + "lineNumber": 1536, + "undocument": true, + "type": { + "types": [ + "number" + ] + } + }, + { + "__docId__": 987, + "kind": "member", + "static": false, + "variation": null, + "name": "validRowsIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validRowsIndex", + "access": null, + "description": null, + "lineNumber": 1537, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 988, + "kind": "member", + "static": false, + "variation": null, + "name": "fltIds", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#fltIds", + "access": null, + "description": null, + "lineNumber": 1538, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 989, + "kind": "member", + "static": false, + "variation": null, + "name": "initialized", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#initialized", + "access": null, + "description": null, + "lineNumber": 1539, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + } + }, + { + "__docId__": 990, + "kind": "method", + "static": false, + "variation": null, + "name": "setToolbar", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#setToolbar", + "access": null, + "description": "Generate container element for paging, reset button, rows counter etc.", + "lineNumber": 1545, + "params": [], + "generator": false + }, + { + "__docId__": 991, + "kind": "member", + "static": false, + "variation": null, + "name": "infDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#infDiv", + "access": null, + "description": null, + "lineNumber": 1570, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 992, + "kind": "member", + "static": false, + "variation": null, + "name": "lDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#lDiv", + "access": null, + "description": null, + "lineNumber": 1576, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 993, + "kind": "member", + "static": false, + "variation": null, + "name": "rDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#rDiv", + "access": null, + "description": null, + "lineNumber": 1583, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 994, + "kind": "member", + "static": false, + "variation": null, + "name": "mDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#mDiv", + "access": null, + "description": null, + "lineNumber": 1589, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 995, + "kind": "method", + "static": false, + "variation": null, + "name": "removeToolbar", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#removeToolbar", + "access": null, + "description": "Remove toolbar container element", + "lineNumber": 1603, + "params": [], + "generator": false + }, + { + "__docId__": 996, + "kind": "member", + "static": false, + "variation": null, + "name": "infDiv", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#infDiv", + "access": null, + "description": null, + "lineNumber": 1608, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 997, + "kind": "method", + "static": false, + "variation": null, + "name": "removeExternalFlts", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#removeExternalFlts", + "access": null, + "description": "Remove all the external column filters", + "lineNumber": 1618, + "params": [], + "generator": false + }, + { + "__docId__": 998, + "kind": "method", + "static": false, + "variation": null, + "name": "isCustomOptions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isCustomOptions", + "access": null, + "description": "Check if given column implements a filter with custom options", + "lineNumber": 1638, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column's index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 999, + "kind": "method", + "static": false, + "variation": null, + "name": "getCustomOptions", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getCustomOptions", + "access": null, + "description": "Returns an array [[value0, value1 ...],[text0, text1 ...]] with the\ncustom options values and texts", + "lineNumber": 1649, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column's index" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1000, + "kind": "method", + "static": false, + "variation": null, + "name": "filter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#filter", + "access": null, + "description": "Filter the table by retrieving the data from each cell in every single\nrow and comparing it to the search term for current column. A row is\nhidden when all the search terms are not found in inspected row.", + "lineNumber": 1682, + "params": [], + "generator": false + }, + { + "__docId__": 1001, + "kind": "member", + "static": false, + "variation": null, + "name": "validRowsIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validRowsIndex", + "access": null, + "description": null, + "lineNumber": 1694, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1002, + "kind": "member", + "static": false, + "variation": null, + "name": "nbHiddenRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#nbHiddenRows", + "access": null, + "description": null, + "lineNumber": 1798, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1003, + "kind": "method", + "static": false, + "variation": null, + "name": "_testTerm", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#_testTerm", + "access": null, + "description": "Test for a match of search term in cell data", + "lineNumber": 1813, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "term", + "description": "Search term" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "cellValue", + "description": "Cell data" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIdx", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1004, + "kind": "method", + "static": false, + "variation": null, + "name": "getColumnData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getColumnData", + "access": null, + "description": "Return the data of a specified column", + "lineNumber": 2047, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Arrat" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "Flat list of data for a column" + }, + "generator": false + }, + { + "__docId__": 1005, + "kind": "method", + "static": false, + "variation": null, + "name": "getColumnValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getColumnValues", + "access": null, + "description": "Return the values of a specified column", + "lineNumber": 2058, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Arrat" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "Flat list of values for a column" + }, + "generator": false + }, + { + "__docId__": 1006, + "kind": "method", + "static": false, + "variation": null, + "name": "getColValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getColValues", + "access": "private", + "description": "Return the data of a specified column", + "lineNumber": 2071, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "typed", + "description": "Return a typed value" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of data for a column" + }, + "generator": false + }, + { + "__docId__": 1007, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilterValue", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilterValue", + "access": null, + "description": "Return the filter's value of a specified column", + "lineNumber": 2110, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "Filter value" + }, + "generator": false + }, + { + "__docId__": 1008, + "kind": "method", + "static": false, + "variation": null, + "name": "getFiltersValue", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFiltersValue", + "access": null, + "description": "Return the filters' values", + "lineNumber": 2146, + "params": [], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "List of filters' values" + }, + "generator": false + }, + { + "__docId__": 1009, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilterId", + "access": null, + "description": "Return the ID of a specified column's filter", + "lineNumber": 2167, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "Column's index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "ID of the filter element" + }, + "generator": false + }, + { + "__docId__": 1010, + "kind": "method", + "static": false, + "variation": null, + "name": "getFiltersByType", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFiltersByType", + "access": null, + "description": "Return the list of ids of filters matching a specified type.\nNote: hidden filters are also returned", + "lineNumber": 2183, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "Filter type string ('input', 'select', 'multiple',\n 'checklist')" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "bool", + "description": "If true returns columns indexes instead of IDs" + } + ], + "return": { + "nullable": null, + "types": [ + "[type]" + ], + "spread": false, + "description": "List of element IDs or column indexes" + }, + "generator": false + }, + { + "__docId__": 1011, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilterElement", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilterElement", + "access": null, + "description": "Return the filter's DOM element for a given column", + "lineNumber": 2203, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "Column's index" + } + ], + "return": { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1012, + "kind": "method", + "static": false, + "variation": null, + "name": "getCellsNb", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getCellsNb", + "access": null, + "description": "Return the number of cells for a given row index", + "lineNumber": 2213, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIndex", + "description": "Index of the row" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Number of cells" + }, + "generator": false + }, + { + "__docId__": 1013, + "kind": "method", + "static": false, + "variation": null, + "name": "getRowsNb", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getRowsNb", + "access": null, + "description": "Return the number of filterable rows starting from reference row if\ndefined", + "lineNumber": 2224, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "includeHeaders", + "description": "Include the headers row" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Number of filterable rows" + }, + "generator": false + }, + { + "__docId__": 1014, + "kind": "method", + "static": false, + "variation": null, + "name": "getCellValue", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getCellValue", + "access": null, + "description": "Return the text content of a given cell", + "lineNumber": 2239, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "Cell's", + "description": "DOM element" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1015, + "kind": "method", + "static": false, + "variation": null, + "name": "getCellData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getCellData", + "access": null, + "description": "Return the typed data of a given cell based on the column type definition", + "lineNumber": 2255, + "params": [ + { + "nullable": null, + "types": [ + "DOMElement" + ], + "spread": false, + "optional": false, + "name": "cell", + "description": "Cell's DOM element" + } + ], + "return": { + "nullable": null, + "types": [ + "String", + "Number", + "Date" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1016, + "kind": "method", + "static": false, + "variation": null, + "name": "getData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getData", + "access": null, + "description": "Return the table data based on its columns data type definitions\nwith following structure:\n[\n [rowIndex, [data0, data1...]],\n [rowIndex, [data0, data1...]]\n]", + "lineNumber": 2284, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1017, + "kind": "method", + "static": false, + "variation": null, + "name": "getValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getValues", + "access": null, + "description": "Return the table values with following structure:\n[\n [rowIndex, [value0, value1...]],\n [rowIndex, [value0, value1...]]\n]", + "lineNumber": 2298, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1018, + "kind": "method", + "static": false, + "variation": null, + "name": "getTableData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getTableData", + "access": "private", + "description": "Return the table data with following structure:\n[\n [rowIndex, [value0, value1...]],\n [rowIndex, [value0, value1...]]\n]", + "lineNumber": 2316, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "typed", + "description": "Return typed value" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1019, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilteredData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilteredData", + "access": null, + "description": "Return the filtered table data based on its columns data type definitions\nwith following structure:\n[\n [rowIndex, [data0, data1...]],\n [rowIndex, [data0, data1...]]\n]", + "lineNumber": 2361, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "TODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1020, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilteredValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilteredValues", + "access": null, + "description": "Return the filtered table values with following structure:\n[\n [rowIndex, [value0, value1...]],\n [rowIndex, [value0, value1...]]\n]", + "lineNumber": 2377, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "TODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1021, + "kind": "method", + "static": false, + "variation": null, + "name": "filteredData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#filteredData", + "access": "private", + "description": "Return the filtered data with following structure:\n[\n [rowIndex, [value0, value1...]],\n [rowIndex, [value0, value1...]]\n]", + "lineNumber": 2395, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "excludeHiddenCols", + "description": "Exclude hidden columns" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "typed", + "description": "Return typed value" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1022, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilteredColumnData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilteredColumnData", + "access": null, + "description": "Return the filtered data for a given column index", + "lineNumber": 2440, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Colmun's index" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Optional Include headers row" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "Optional List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of typed values [data0, data1, data2...]\n\nTODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1023, + "kind": "method", + "static": false, + "variation": null, + "name": "getVisibleColumnData", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getVisibleColumnData", + "access": null, + "description": "Return the filtered and visible data for a given column index", + "lineNumber": 2454, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Colmun's index" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Optional Include headers row" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "Optional List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of typed values [data0, data1, data2...]\n\nTODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1024, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilteredColumnValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilteredColumnValues", + "access": null, + "description": "Return the filtered values for a given column index", + "lineNumber": 2468, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Colmun's index" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Optional Include headers row" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "Optional List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of values ['value0', 'value1', 'value2'...]\n\nTODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1025, + "kind": "method", + "static": false, + "variation": null, + "name": "getVisibleColumnValues", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getVisibleColumnValues", + "access": null, + "description": "Return the filtered and visible values for a given column index", + "lineNumber": 2482, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Colmun's index" + }, + { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Optional Include headers row" + }, + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "Optional List of row indexes to be excluded" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of values ['value0', 'value1', 'value2'...]\n\nTODO: provide an API returning data in JSON format" + }, + "generator": false + }, + { + "__docId__": 1026, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilteredDataCol", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilteredDataCol", + "access": "private", + "description": "Return the filtered data for a given column index", + "lineNumber": 2500, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Colmun's index" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "includeHeaders", + "description": "Include headers row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "typed", + "description": "Return typed value" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "exclude", + "description": "List of row indexes to be excluded" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "true", + "defaultRaw": true, + "name": "visible", + "description": "Return only filtered and visible data\n (relevant for paging)" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "Flat list of values ['val0','val1','val2'...]" + }, + "generator": false + }, + { + "__docId__": 1027, + "kind": "method", + "static": false, + "variation": null, + "name": "getRowDisplay", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getRowDisplay", + "access": null, + "description": "Get the display value of a row", + "lineNumber": 2541, + "params": [ + { + "nullable": null, + "types": [ + "HTMLTableRowElement" + ], + "spread": false, + "optional": false, + "name": "row", + "description": "DOM element of the row" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "Usually 'none' or ''" + }, + "generator": false + }, + { + "__docId__": 1028, + "kind": "method", + "static": false, + "variation": null, + "name": "validateRow", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validateRow", + "access": null, + "description": "Validate/invalidate row by setting the 'validRow' attribute on the row", + "lineNumber": 2550, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIndex", + "description": "Index of the row" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "isValid", + "description": "" + } + ], + "generator": false + }, + { + "__docId__": 1029, + "kind": "method", + "static": false, + "variation": null, + "name": "validateAllRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validateAllRows", + "access": null, + "description": "Validate all filterable rows", + "lineNumber": 2583, + "params": [], + "generator": false + }, + { + "__docId__": 1030, + "kind": "member", + "static": false, + "variation": null, + "name": "validRowsIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validRowsIndex", + "access": null, + "description": null, + "lineNumber": 2587, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1031, + "kind": "method", + "static": false, + "variation": null, + "name": "setFilterValue", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#setFilterValue", + "access": null, + "description": "Set search value to a given filter", + "lineNumber": 2598, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "Column's index" + }, + { + "nullable": null, + "types": [ + "String or Array" + ], + "spread": false, + "optional": false, + "name": "query", + "description": "searcharg Search term" + } + ], + "generator": false + }, + { + "__docId__": 1032, + "kind": "method", + "static": false, + "variation": null, + "name": "setColWidths", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#setColWidths", + "access": null, + "description": "Set them columns' widths as per configuration", + "lineNumber": 2646, + "params": [ + { + "nullable": null, + "types": [ + "Element" + ], + "spread": false, + "optional": false, + "name": "tbl", + "description": "DOM element" + } + ], + "generator": false + }, + { + "__docId__": 1033, + "kind": "method", + "static": false, + "variation": null, + "name": "enforceVisibility", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#enforceVisibility", + "access": null, + "description": "Make defined rows always visible", + "lineNumber": 2676, + "params": [], + "generator": false + }, + { + "__docId__": 1034, + "kind": "method", + "static": false, + "variation": null, + "name": "clearFilters", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#clearFilters", + "access": null, + "description": "Clear all the filters' values", + "lineNumber": 2693, + "params": [], + "generator": false + }, + { + "__docId__": 1035, + "kind": "method", + "static": false, + "variation": null, + "name": "getActiveFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getActiveFilterId", + "access": null, + "description": "Return the ID of the current active filter", + "lineNumber": 2715, + "params": [], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1036, + "kind": "method", + "static": false, + "variation": null, + "name": "setActiveFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#setActiveFilterId", + "access": null, + "description": "Set the ID of the current active filter", + "lineNumber": 2723, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "filterId", + "description": "Element ID" + } + ], + "generator": false + }, + { + "__docId__": 1037, + "kind": "member", + "static": false, + "variation": null, + "name": "activeFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#activeFilterId", + "access": null, + "description": null, + "lineNumber": 2724, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1038, + "kind": "method", + "static": false, + "variation": null, + "name": "getColumnIndexFromFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getColumnIndexFromFilterId", + "access": null, + "description": "Return the column index for a given filter ID", + "lineNumber": 2732, + "params": [ + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": true, + "defaultValue": "''", + "defaultRaw": "''", + "name": "filterId", + "description": "Filter ID" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "Column index" + }, + "generator": false + }, + { + "__docId__": 1039, + "kind": "method", + "static": false, + "variation": null, + "name": "buildFilterId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#buildFilterId", + "access": "private", + "description": "Build filter element ID for a given column index", + "lineNumber": 2744, + "params": [ + { + "nullable": null, + "types": [ + "any" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "Filter element ID string" + }, + "generator": false + }, + { + "__docId__": 1040, + "kind": "method", + "static": false, + "variation": null, + "name": "isExternalFlt", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isExternalFlt", + "access": "private", + "description": "Check if has external filters", + "lineNumber": 2753, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1041, + "kind": "method", + "static": false, + "variation": null, + "name": "getStylePath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getStylePath", + "access": "private", + "description": "Returns styles path", + "lineNumber": 2762, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1042, + "kind": "method", + "static": false, + "variation": null, + "name": "getStylesheetPath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getStylesheetPath", + "access": "private", + "description": "Returns main stylesheet path", + "lineNumber": 2771, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1043, + "kind": "method", + "static": false, + "variation": null, + "name": "getThemesPath", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getThemesPath", + "access": "private", + "description": "Returns themes path", + "lineNumber": 2781, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String}" + } + ], + "params": [], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1044, + "kind": "method", + "static": false, + "variation": null, + "name": "activateFilter", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#activateFilter", + "access": null, + "description": "Make specified column's filter active", + "lineNumber": 2790, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Index of a column" + } + ], + "generator": false + }, + { + "__docId__": 1045, + "kind": "method", + "static": false, + "variation": null, + "name": "linkFilters", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#linkFilters", + "access": null, + "description": "Refresh the filters subject to linking ('select', 'multiple',\n'checklist' type)", + "lineNumber": 2801, + "params": [], + "generator": false + }, + { + "__docId__": 1046, + "kind": "method", + "static": false, + "variation": null, + "name": "isExactMatch", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isExactMatch", + "access": null, + "description": "Determine if passed filter column implements exact query match", + "lineNumber": 2852, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1047, + "kind": "method", + "static": false, + "variation": null, + "name": "isRowValid", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isRowValid", + "access": null, + "description": "Check if passed row is valid", + "lineNumber": 2863, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIndex", + "description": "Row index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1048, + "kind": "method", + "static": false, + "variation": null, + "name": "isRowDisplayed", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isRowDisplayed", + "access": null, + "description": "Check if passed row is visible", + "lineNumber": 2872, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "rowIndex", + "description": "Row index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1049, + "kind": "method", + "static": false, + "variation": null, + "name": "ignoresDiacritics", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#ignoresDiacritics", + "access": null, + "description": "Check if specified column filter ignores diacritics.\nNote this is only applicable to input filter types.", + "lineNumber": 2883, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1050, + "kind": "method", + "static": false, + "variation": null, + "name": "getClearFilterText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getClearFilterText", + "access": null, + "description": "Return clear all text for specified filter column", + "lineNumber": 2896, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1051, + "kind": "method", + "static": false, + "variation": null, + "name": "isImported", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isImported", + "access": null, + "description": "Check if passed script or stylesheet is already imported", + "lineNumber": 2910, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "filePath", + "description": "Ressource path" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "Possible values: 'script' or 'link'" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1052, + "kind": "method", + "static": false, + "variation": null, + "name": "import", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#import", + "access": null, + "description": "Import script or stylesheet", + "lineNumber": 2933, + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "fileId", + "description": "Ressource ID" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "filePath", + "description": "Ressource path" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "callback", + "description": "Callback" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "type", + "description": "Possible values: 'script' or 'link'" + } + ], + "generator": false + }, + { + "__docId__": 1053, + "kind": "method", + "static": false, + "variation": null, + "name": "isInitialized", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#isInitialized", + "access": null, + "description": "Check if table has filters grid", + "lineNumber": 2975, + "params": [], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1054, + "kind": "method", + "static": false, + "variation": null, + "name": "getFiltersId", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFiltersId", + "access": null, + "description": "Get list of filter IDs", + "lineNumber": 2983, + "params": [], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "List of filters ids" + }, + "generator": false + }, + { + "__docId__": 1055, + "kind": "method", + "static": false, + "variation": null, + "name": "getValidRows", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getValidRows", + "access": null, + "description": "Get filtered (valid) rows indexes", + "lineNumber": 2992, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "reCalc", + "description": "Force calculation of filtered rows list" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "List of row indexes" + }, + "generator": false + }, + { + "__docId__": 1056, + "kind": "member", + "static": false, + "variation": null, + "name": "validRowsIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#validRowsIndex", + "access": null, + "description": null, + "lineNumber": 2998, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1057, + "kind": "method", + "static": false, + "variation": null, + "name": "getFiltersRowIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFiltersRowIndex", + "access": null, + "description": "Get the index of the row containing the filters", + "lineNumber": 3019, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1058, + "kind": "method", + "static": false, + "variation": null, + "name": "getHeadersRowIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getHeadersRowIndex", + "access": null, + "description": "Get the index of the headers row", + "lineNumber": 3027, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1059, + "kind": "method", + "static": false, + "variation": null, + "name": "getStartRowIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getStartRowIndex", + "access": null, + "description": "Get the row index from where the filtering process start (1st filterable\nrow)", + "lineNumber": 3036, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1060, + "kind": "method", + "static": false, + "variation": null, + "name": "getLastRowIndex", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getLastRowIndex", + "access": null, + "description": "Get the index of the last row", + "lineNumber": 3044, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1061, + "kind": "method", + "static": false, + "variation": null, + "name": "hasType", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#hasType", + "access": null, + "description": "Determine whether the specified column has one of the passed types", + "lineNumber": 3055, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + }, + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": "[]", + "defaultRaw": [], + "name": "types", + "description": "List of column types" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1062, + "kind": "method", + "static": false, + "variation": null, + "name": "getHeaderElement", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getHeaderElement", + "access": null, + "description": "Get the header DOM element for a given column index", + "lineNumber": 3071, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "Element" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1063, + "kind": "method", + "static": false, + "variation": null, + "name": "getHeadersText", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getHeadersText", + "access": null, + "description": "Return the list of headers' text", + "lineNumber": 3090, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "excludeHiddenCols", + "description": "Optional: exclude hidden columns" + } + ], + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "list of headers' text" + }, + "generator": false + }, + { + "__docId__": 1064, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilterType", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilterType", + "access": null, + "description": "Return the filter type for a specified column", + "lineNumber": 3110, + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column's index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1065, + "kind": "method", + "static": false, + "variation": null, + "name": "getFilterableRowsNb", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getFilterableRowsNb", + "access": null, + "description": "Get the total number of filterable rows", + "lineNumber": 3118, + "params": [], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1066, + "kind": "method", + "static": false, + "variation": null, + "name": "getValidRowsNb", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getValidRowsNb", + "access": null, + "description": "Return the total number of valid rows", + "lineNumber": 3127, + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "false", + "defaultRaw": false, + "name": "reCalc", + "description": "Forces calculation of filtered rows" + } + ], + "return": { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1067, + "kind": "method", + "static": false, + "variation": null, + "name": "dom", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#dom", + "access": null, + "description": "Return the working DOM element", + "lineNumber": 3135, + "params": [], + "return": { + "nullable": null, + "types": [ + "HTMLTableElement" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1068, + "kind": "method", + "static": false, + "variation": null, + "name": "getDecimal", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#getDecimal", + "access": null, + "description": "Return the decimal separator for supplied column as per column type\nconfiguration or global setting", + "lineNumber": 3145, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{String} '.' or ','" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "colIndex", + "description": "Column index" + } + ], + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "'.' or ','" + }, + "generator": false + }, + { + "__docId__": 1069, + "kind": "method", + "static": false, + "variation": null, + "name": "config", + "memberof": "src/tablefilter.js~TableFilter", + "longname": "src/tablefilter.js~TableFilter#config", + "access": null, + "description": "Get the configuration object (literal object)", + "lineNumber": 3160, + "params": [], + "return": { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1070, + "kind": "file", + "static": true, + "variation": null, + "name": "src/types.js", + "memberof": null, + "longname": "src/types.js", + "access": null, + "description": null, + "lineNumber": 6, + "content": "\n/**\n * Types utilities\n */\n\nconst UNDEFINED = void 0;\n\n/**\n * Return an empty function\n * @return {Function}\n */\nexport const EMPTY_FN = function() {};\n\n/**\n * Check passed argument is an object\n * @param {Object} obj\n * @return {Boolean}\n */\nexport const isObj =\n (obj) => Object.prototype.toString.call(obj) === '[object Object]';\n\n/**\n * Check passed argument is a function\n * @param {Function} obj\n * @return {Boolean}\n */\nexport const isFn =\n (obj) => Object.prototype.toString.call(obj) === '[object Function]';\n\n/**\n * Check passed argument is an array\n * @param {Array} obj\n * @return {Boolean}\n */\nexport const isArray =\n (obj) => Object.prototype.toString.call(obj) === '[object Array]';\n\n/**\n * Check passed argument is a string\n * @param {String} obj obj\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 a boolean\n * @param {Boolean} obj\n * @returns {Boolean}\n */\nexport const isBoolean =\n (obj) => Object.prototype.toString.call(obj) === '[object Boolean]';\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__": 1071, + "kind": "variable", + "static": true, + "variation": null, + "name": "UNDEFINED", + "memberof": "src/types.js", + "longname": "src/types.js~UNDEFINED", + "access": null, + "export": false, + "importPath": "tablefilter/src/types.js", + "importStyle": null, + "description": "Types utilities", + "lineNumber": 6, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1072, + "kind": "function", + "static": true, + "variation": null, + "name": "EMPTY_FN", + "memberof": "src/types.js", + "longname": "src/types.js~EMPTY_FN", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{EMPTY_FN}", + "description": "Return an empty function", + "lineNumber": 12, + "params": [], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "" + }, + "generator": false + }, + { + "__docId__": 1073, + "kind": "variable", + "static": true, + "variation": null, + "name": "isObj", + "memberof": "src/types.js", + "longname": "src/types.js~isObj", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isObj}", + "description": "Check passed argument is an object", + "lineNumber": 19, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1074, + "kind": "variable", + "static": true, + "variation": null, + "name": "isFn", + "memberof": "src/types.js", + "longname": "src/types.js~isFn", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isFn}", + "description": "Check passed argument is a function", + "lineNumber": 27, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1075, + "kind": "variable", + "static": true, + "variation": null, + "name": "isArray", + "memberof": "src/types.js", + "longname": "src/types.js~isArray", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isArray}", + "description": "Check passed argument is an array", + "lineNumber": 35, + "params": [ + { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1076, + "kind": "variable", + "static": true, + "variation": null, + "name": "isString", + "memberof": "src/types.js", + "longname": "src/types.js~isString", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isString}", + "description": "Check passed argument is a string", + "lineNumber": 43, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "obj" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1077, + "kind": "variable", + "static": true, + "variation": null, + "name": "isNumber", + "memberof": "src/types.js", + "longname": "src/types.js~isNumber", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isNumber}", + "description": "Check passed argument is a number", + "lineNumber": 51, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1078, + "kind": "variable", + "static": true, + "variation": null, + "name": "isBoolean", + "memberof": "src/types.js", + "longname": "src/types.js~isBoolean", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isBoolean}", + "description": "Check passed argument is a boolean", + "lineNumber": 59, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Boolean}" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1079, + "kind": "variable", + "static": true, + "variation": null, + "name": "isUndef", + "memberof": "src/types.js", + "longname": "src/types.js~isUndef", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isUndef}", + "description": "Check passed argument is undefined", + "lineNumber": 67, + "params": [ + { + "nullable": null, + "types": [ + "Any" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1080, + "kind": "variable", + "static": true, + "variation": null, + "name": "isNull", + "memberof": "src/types.js", + "longname": "src/types.js~isNull", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isNull}", + "description": "Check passed argument is null", + "lineNumber": 74, + "params": [ + { + "nullable": null, + "types": [ + "Any" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1081, + "kind": "variable", + "static": true, + "variation": null, + "name": "isEmpty", + "memberof": "src/types.js", + "longname": "src/types.js~isEmpty", + "access": null, + "export": true, + "importPath": "tablefilter/src/types.js", + "importStyle": "{isEmpty}", + "description": "Check passed argument is empty (undefined, null or empty string)", + "lineNumber": 81, + "params": [ + { + "nullable": null, + "types": [ + "Any" + ], + "spread": false, + "optional": false, + "name": "obj", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "description": "" + }, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 1083, + "kind": "external", + "static": true, + "variation": null, + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1084, + "kind": "external", + "static": true, + "variation": null, + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1085, + "kind": "external", + "static": true, + "variation": null, + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1086, + "kind": "external", + "static": true, + "variation": null, + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~null", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1087, + "kind": "external", + "static": true, + "variation": null, + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1088, + "kind": "external", + "static": true, + "variation": null, + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~object", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1089, + "kind": "external", + "static": true, + "variation": null, + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1090, + "kind": "external", + "static": true, + "variation": null, + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~function", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1091, + "kind": "external", + "static": true, + "variation": null, + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1092, + "kind": "external", + "static": true, + "variation": null, + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1093, + "kind": "external", + "static": true, + "variation": null, + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1094, + "kind": "external", + "static": true, + "variation": null, + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1095, + "kind": "external", + "static": true, + "variation": null, + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1096, + "kind": "external", + "static": true, + "variation": null, + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1097, + "kind": "external", + "static": true, + "variation": null, + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1098, + "kind": "external", + "static": true, + "variation": null, + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1099, + "kind": "external", + "static": true, + "variation": null, + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1100, + "kind": "external", + "static": true, + "variation": null, + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1101, + "kind": "external", + "static": true, + "variation": null, + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1102, + "kind": "external", + "static": true, + "variation": null, + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1103, + "kind": "external", + "static": true, + "variation": null, + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~number", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1104, + "kind": "external", + "static": true, + "variation": null, + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1105, + "kind": "external", + "static": true, + "variation": null, + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~String", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1106, + "kind": "external", + "static": true, + "variation": null, + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~string", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1107, + "kind": "external", + "static": true, + "variation": null, + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1108, + "kind": "external", + "static": true, + "variation": null, + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1109, + "kind": "external", + "static": true, + "variation": null, + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1110, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1111, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1112, + "kind": "external", + "static": true, + "variation": null, + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1113, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1114, + "kind": "external", + "static": true, + "variation": null, + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1115, + "kind": "external", + "static": true, + "variation": null, + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1116, + "kind": "external", + "static": true, + "variation": null, + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1117, + "kind": "external", + "static": true, + "variation": null, + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1118, + "kind": "external", + "static": true, + "variation": null, + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1119, + "kind": "external", + "static": true, + "variation": null, + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1120, + "kind": "external", + "static": true, + "variation": null, + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1121, + "kind": "external", + "static": true, + "variation": null, + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1122, + "kind": "external", + "static": true, + "variation": null, + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1123, + "kind": "external", + "static": true, + "variation": null, + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1124, + "kind": "external", + "static": true, + "variation": null, + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1125, + "kind": "external", + "static": true, + "variation": null, + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1126, + "kind": "external", + "static": true, + "variation": null, + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1127, + "kind": "external", + "static": true, + "variation": null, + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1128, + "kind": "external", + "static": true, + "variation": null, + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1129, + "kind": "external", + "static": true, + "variation": null, + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "BuiltinExternal/ECMAScriptExternal.js", + "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1131, + "kind": "external", + "static": true, + "variation": null, + "name": "CanvasRenderingContext2D", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1132, + "kind": "external", + "static": true, + "variation": null, + "name": "DocumentFragment", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1133, + "kind": "external", + "static": true, + "variation": null, + "name": "Element", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Element", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1134, + "kind": "external", + "static": true, + "variation": null, + "name": "Event", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Event", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1135, + "kind": "external", + "static": true, + "variation": null, + "name": "Node", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~Node", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1136, + "kind": "external", + "static": true, + "variation": null, + "name": "NodeList", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1137, + "kind": "external", + "static": true, + "variation": null, + "name": "XMLHttpRequest", + "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", + "access": null, + "description": "", + "builtinExternal": true + }, + { + "__docId__": 1138, + "kind": "external", + "static": true, + "variation": null, + "name": "AudioContext", + "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", + "memberof": "BuiltinExternal/WebAPIExternal.js", + "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", + "access": null, + "description": "", + "builtinExternal": true + } +] \ No newline at end of file diff --git a/docs/file/src/array.js.html b/docs/file/src/array.js.html new file mode 100644 index 00000000..06aec788 --- /dev/null +++ b/docs/file/src/array.js.html @@ -0,0 +1,173 @@ + + + + + + src/array.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/array.js

+
/**
+ * Array utilities
+ */
+
+import {matchCase} from './string';
+
+/**
+ * Checks if given item can be found in the passed collection
+ * @param  {Array} arr  collection
+ * @param  {Any} val  item to search
+ * @param  {Boolean} caseSensitive respects case if true
+ * @return {Boolean}
+ */
+export const has = (arr, val, caseSensitive) => {
+    let sCase = Boolean(caseSensitive);
+    for (var i = 0, l = arr.length; i < l; i++) {
+        if (matchCase(arr[i].toString(), sCase) === val) {
+            return true;
+        }
+    }
+    return false;
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/const.js.html b/docs/file/src/const.js.html new file mode 100644 index 00000000..392f6053 --- /dev/null +++ b/docs/file/src/const.js.html @@ -0,0 +1,351 @@ + + + + + + src/const.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/const.js

+
import {DateType} from './modules/dateType';
+import {Help} from './modules/help';
+import {State} from './modules/state';
+import {GridLayout} from './modules/gridLayout';
+import {Loader} from './modules/loader';
+import {HighlightKeyword} from './modules/highlightKeywords';
+import {PopupFilter} from './modules/popupFilter';
+import {MarkActiveColumns} from './modules/markActiveColumns';
+import {RowsCounter} from './modules/rowsCounter';
+import {StatusBar} from './modules/statusBar';
+import {ClearButton} from './modules/clearButton';
+import {AlternateRows} from './modules/alternateRows';
+import {NoResults} from './modules/noResults';
+import {Paging} from './modules/paging';
+
+/**
+ * Filter types
+ */
+
+/**
+ * Input filter type
+ * @type {String}
+ */
+export const INPUT = 'input';
+/**
+ * Select filter type
+ * @type {String}
+ */
+export const SELECT = 'select';
+/**
+ * Multiple select filter type
+ * @type {String}
+ */
+export const MULTIPLE = 'multiple';
+/**
+ * Checklist filter type
+ * @type {String}
+ */
+export const CHECKLIST = 'checklist';
+/**
+ * None filter type
+ * @type {String}
+ */
+export const NONE = 'none';
+
+/**
+ * Key codes
+ */
+
+/**
+ * Enter key code
+ * @type {Number}
+ */
+export const ENTER_KEY = 13;
+/**
+ * Tab key code
+ * @type {Number}
+ */
+export const TAB_KEY = 9;
+/**
+ * Escape key code
+ * @type {Number}
+ */
+export const ESC_KEY = 27;
+/**
+ * Up arrow key code
+ * @type {Number}
+ */
+export const UP_ARROW_KEY = 38;
+/**
+ * Down arrow key code
+ * @type {Number}
+ */
+export const DOWN_ARROW_KEY = 40;
+
+/**
+ * HTML tags
+ */
+
+/**
+ * Header cell tag
+ * @type {String}
+ */
+export const HEADER_TAG = 'TH';
+/**
+ * Cell tag
+ * @type {String}
+ */
+export const CELL_TAG = 'TD';
+
+/**
+ * Data types
+ */
+
+/**
+ * String
+ * @type {String}
+ */
+export const STRING = 'string';
+
+/**
+ * Number
+ * @type {String}
+ */
+export const NUMBER = 'number';
+
+/**
+ * Formatted number
+ * @type {String}
+ */
+export const FORMATTED_NUMBER = 'formatted-number';
+
+/**
+ * Date
+ * @type {String}
+ */
+export const DATE = 'date';
+
+/**
+ * IP address
+ * @type {String}
+ */
+export const IP_ADDRESS = 'ipaddress';
+
+/**
+ * Default values
+ */
+
+/**
+ * Auto filter delay in milliseconds
+ * @type {Number}
+ */
+export const AUTO_FILTER_DELAY = 750;
+
+/**
+ * TableFilter features definitions
+ * @type {Object}
+ */
+export const FEATURES = {
+    dateType: {
+        class: DateType,
+        name: 'dateType'
+    },
+    help: {
+        class: Help,
+        name: 'help',
+        enforce: true
+    },
+    state: {
+        class: State,
+        name: 'state'
+    },
+    markActiveColumns: {
+        class: MarkActiveColumns,
+        name: 'markActiveColumns'
+    },
+    gridLayout: {
+        class: GridLayout,
+        name: 'gridLayout'
+    },
+    loader: {
+        class: Loader,
+        name: 'loader'
+    },
+    highlightKeyword: {
+        class: HighlightKeyword,
+        name: 'highlightKeyword',
+        property: 'highlightKeywords'
+    },
+    popupFilter: {
+        class: PopupFilter,
+        name: 'popupFilter',
+        property: 'popupFilters'
+    },
+    rowsCounter: {
+        class: RowsCounter,
+        name: 'rowsCounter'
+    },
+    statusBar: {
+        class: StatusBar,
+        name: 'statusBar'
+    },
+    clearButton: {
+        class: ClearButton,
+        name: 'clearButton',
+        property: 'btnReset'
+    },
+    alternateRows: {
+        class: AlternateRows,
+        name: 'alternateRows'
+    },
+    noResults: {
+        class: NoResults,
+        name: 'noResults'
+    },
+    paging: {
+        class: Paging,
+        name: 'paging'
+    }
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/cookie.js.html b/docs/file/src/cookie.js.html new file mode 100644 index 00000000..a7ad6aa4 --- /dev/null +++ b/docs/file/src/cookie.js.html @@ -0,0 +1,208 @@ + + + + + + src/cookie.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/cookie.js

+
import {root} from './root';
+
+/**
+ * Cookie utilities
+ */
+
+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) {
+            expire = new Date((new Date()).getTime() + hours * 3600000);
+            expire = '; expires=' + expire.toGMTString();
+        }
+        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 + '=';
+        if (doc.cookie.length > 0) {
+            let cookie = doc.cookie,
+                offset = cookie.indexOf(search);
+            if (offset !== -1) {
+                offset += search.length;
+                let end = cookie.indexOf(';', offset);
+                if (end === -1) {
+                    end = cookie.length;
+                }
+                cookieValue = unescape(cookie.substring(offset, end));
+            }
+        }
+        return cookieValue;
+    },
+
+    /**
+     * Remove a cookie
+     * @param {String} name Name of the cookie
+     */
+    remove(name) {
+        this.write(name, '', -1);
+    }
+
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/dom.js.html b/docs/file/src/dom.js.html new file mode 100644 index 00000000..e5c31410 --- /dev/null +++ b/docs/file/src/dom.js.html @@ -0,0 +1,341 @@ + + + + + + src/dom.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/dom.js

+
import {root} from './root';
+import {isArray, isString, isUndef} from './types';
+import {trim} from './string';
+
+/**
+ * DOM utilities
+ */
+
+const doc = root.document;
+
+/**
+ * Returns text + text of children of given node
+ * @param  {NodeElement} node
+ * @return {String}
+ */
+export const getText = (node) => {
+    if (isUndef(node.textContent)) {
+        return trim(node.innerText);
+    }
+    return trim(node.textContent);
+};
+
+/**
+ * Returns the first text node contained in the supplied node
+ * @param  {NodeElement} node node
+ * @return {String}
+ */
+export const getFirstTextNode = (node) => {
+    for (let i = 0; i < node.childNodes.length; i++) {
+        let n = node.childNodes[i];
+        if (n.nodeType === 3) {
+            return n.data;
+        }
+    }
+};
+
+/**
+ * Creates an html element with given collection of attributes
+ * @param  {String} tag a string of the html tag to create
+ * @param  {Array} an undetermined number of arrays containing the with 2
+ *                    items, the attribute name and its value ['id','myId']
+ * @return {Object}     created element
+ */
+export const createElm = (...args) => {
+    let tag = args[0];
+    if (!isString(tag)) {
+        return null;
+    }
+
+    let el = doc.createElement(tag);
+    for (let i = 0; i < args.length; i++) {
+        let arg = args[i];
+
+        if (isArray(arg) && arg.length === 2) {
+            el.setAttribute(arg[0], arg[1]);
+        }
+    }
+    return el;
+};
+
+/**
+ * Removes passed node from DOM
+ * @param  {DOMElement} node
+ * @return {DOMElement} old node reference
+ */
+export const removeElm = (node) => node.parentNode.removeChild(node);
+
+/**
+ * Returns a text node with given text
+ * @param  {String} txt
+ * @return {Object}
+ */
+export const createText = (txt) => doc.createTextNode(txt);
+
+/**
+ * Determine whether the passed elements is assigned the given class
+ * @param {DOMElement} ele DOM element
+ * @param {String} cls CSS class name
+ * @returns {Boolean}
+ */
+export const hasClass = (ele, cls) => {
+    if (isUndef(ele)) {
+        return false;
+    }
+
+    if (supportsClassList()) {
+        return ele.classList.contains(cls);
+    }
+    return ele.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)'));
+};
+
+/**
+ * Adds the specified class to the passed element
+ * @param {DOMElement} ele DOM element
+ * @param {String} cls CSS class name
+ */
+export const addClass = (ele, cls) => {
+    if (isUndef(ele)) {
+        return;
+    }
+
+    if (supportsClassList()) {
+        ele.classList.add(cls);
+        return;
+    }
+
+    if (ele.className === '') {
+        ele.className = cls;
+    }
+    else if (!hasClass(ele, cls)) {
+        ele.className += ' ' + cls;
+    }
+};
+
+/**
+ * Removes the specified class to the passed element
+ * @param {DOMElement} ele DOM element
+ * @param {String} cls CSS class name
+ */
+export const removeClass = (ele, cls) => {
+    if (isUndef(ele)) {
+        return;
+    }
+
+    if (supportsClassList()) {
+        ele.classList.remove(cls);
+        return;
+    }
+    let reg = new RegExp('(\\s|^)' + cls + '(\\s|$)', 'g');
+    ele.className = ele.className.replace(reg, '');
+};
+
+/**
+ * Creates and returns an option element
+ * @param  {String}  text  option text
+ * @param  {String}  value option value
+ * @param  {Boolean} isSel whether option is selected
+ * @return {Object}        option element
+ */
+export const createOpt = (text, value, isSel) => {
+    let isSelected = isSel ? true : false;
+    let opt = isSelected ?
+        createElm('option', ['value', value], ['selected', 'true']) :
+        createElm('option', ['value', value]);
+    opt.appendChild(createText(text));
+    return opt;
+};
+
+/**
+ * Creates and returns a checklist item
+ * @param  {String} id  index of check item
+ * @param  {String} chkValue  check item value
+ * @param  {String} labelText check item label text
+ * @return {Object}           li DOM element
+ */
+export const createCheckItem = (id, chkValue, labelText) => {
+    let li = createElm('li');
+    let label = createElm('label', ['for', id]);
+    let check = createElm('input',
+        ['id', id],
+        ['name', id],
+        ['type', 'checkbox'],
+        ['value', chkValue]
+    );
+    label.appendChild(check);
+    label.appendChild(createText(labelText));
+    li.appendChild(label);
+    li.label = label;
+    li.check = check;
+    return li;
+};
+
+/**
+ * Returns the element matching the supplied Id
+ * @param  {String} id  Element identifier
+ * @return {DOMElement}
+ */
+export const elm = (id) => doc.getElementById(id);
+
+/**
+ * Returns list of element matching the supplied tag name
+ * @param  {String} tagname  Tag name
+ * @return {NodeList}
+ */
+export const tag = (o, tagname) => o.getElementsByTagName(tagname);
+
+// HTML5 classList API
+function supportsClassList() {
+    return doc.documentElement.classList;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/emitter.js.html b/docs/file/src/emitter.js.html new file mode 100644 index 00000000..ecab1523 --- /dev/null +++ b/docs/file/src/emitter.js.html @@ -0,0 +1,204 @@ + + + + + + src/emitter.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/emitter.js

+
/**
+ * Event emitter class
+ */
+export class Emitter {
+    /**
+     * Creates an instance of Emitter.
+     */
+    constructor() {
+        /**
+         * Events object
+         * @type {Object}
+         */
+        this.events = {};
+    }
+
+    /**
+     * Subscribe to an event
+     * @param  {Array}   evts Collection of event names
+     * @param  {Function} fn  Function invoked when event is emitted
+     */
+    on(evts, fn) {
+        evts.forEach((evt) => {
+            this.events[evt] = this.events[evt] || [];
+            this.events[evt].push(fn);
+        });
+    }
+
+    /**
+     * Unsubscribe to an event
+     * @param  {Array}   evts Collection of event names
+     * @param  {Function} fn  Function invoked when event is emitted
+     */
+    off(evts, fn) {
+        evts.forEach((evt) => {
+            if (evt in this.events) {
+                this.events[evt].splice(this.events[evt].indexOf(fn), 1);
+            }
+        });
+    }
+
+    /**
+     * Emit an event
+     * @param  {String} evt Event name followed by any other argument passed to
+     * the invoked function
+     */
+    emit(evt /*, args...*/) {
+        if (evt in this.events) {
+            for (let i = 0; i < this.events[evt].length; i++) {
+                this.events[evt][i].apply(this, [].slice.call(arguments, 1));
+            }
+        }
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/event.js.html b/docs/file/src/event.js.html new file mode 100644 index 00000000..67a54ab8 --- /dev/null +++ b/docs/file/src/event.js.html @@ -0,0 +1,252 @@ + + + + + + src/event.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/event.js

+
import {root} from './root';
+
+/**
+ * DOM event utilities
+ */
+
+/**
+ * Add event handler for specified event on passed element
+ *
+ * @param {DOMElement} obj Element
+ * @param {String} type Event type
+ * @param {Function} Handler
+ * @param {Boolean} capture Specifiy whether the event should be executed in
+ * the capturing or in the bubbling phase
+ */
+export const addEvt = (obj, type, func, capture) => {
+    if (obj.addEventListener) {
+        obj.addEventListener(type, func, capture);
+    }
+    else if (obj.attachEvent) {
+        obj.attachEvent('on' + type, func);
+    } else {
+        obj['on' + type] = func;
+    }
+};
+
+/**
+ * Remove event handler for specified event on passed element
+ *
+ * @param {DOMElement} obj Element
+ * @param {String} type Event type
+ * @param {Function} Handler
+ * @param {Boolean} capture Specifiy whether the event should be executed in
+ * the capturing or in the bubbling phase
+ */
+export const removeEvt = (obj, type, func, capture) => {
+    if (obj.removeEventListener) {
+        obj.removeEventListener(type, func, capture);
+    } else if (obj.detachEvent) {
+        obj.detachEvent('on' + type, func);
+    } else {
+        obj['on' + type] = null;
+    }
+};
+
+/**
+ * Prevents further propagation of the current event in the bubbling phase
+ *
+ * @param {Event} evt Event on the DOM
+ */
+export const stopEvt = (evt) => {
+    if (!evt) {
+        evt = root.event;
+    }
+    if (evt.stopPropagation) {
+        evt.stopPropagation();
+    } else {
+        evt.cancelBubble = true;
+    }
+};
+
+/**
+ * Cancels the event if it is cancelable, without stopping further
+ * propagation of the event.
+ *
+ * @param {Event} evt Event on the DOM
+ */
+export const cancelEvt = (evt) => {
+    if (!evt) {
+        evt = root.event;
+    }
+    if (evt.preventDefault) {
+        evt.preventDefault();
+    } else {
+        evt.returnValue = false;
+    }
+};
+
+/**
+ * Reference to the object that dispatched the event
+ *
+ * @param {Event} evt Event on the DOM
+ * @returns {DOMElement}
+ */
+export const targetEvt = (evt) => {
+    if (!evt) {
+        evt = root.event;
+    }
+    return evt.target || evt.srcElement;
+};
+
+/**
+ * Returns the Unicode value of pressed key
+ *
+ * @param {Event} evt Event on the DOM
+ * @returns {Number}
+ */
+export const keyCode = (evt) => {
+    return evt.charCode ? evt.charCode :
+        (evt.keyCode ? evt.keyCode : (evt.which ? evt.which : 0));
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html new file mode 100644 index 00000000..934be3cc --- /dev/null +++ b/docs/file/src/extensions/advancedGrid/adapterEzEditTable.js.html @@ -0,0 +1,658 @@ + + + + + + src/extensions/advancedGrid/adapterEzEditTable.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/advancedGrid/adapterEzEditTable.js

+
import {Feature} from '../../feature';
+import {tag} from '../../dom';
+import {INPUT} from '../../const';
+import {defaultsStr} from '../../settings';
+import {root} from '../../root';
+
+const INSTANTIATION_ERROR = `Failed to instantiate EditTable object.
+    \n"ezEditTable" dependency not found.`;
+
+/**
+ * Adapter module for ezEditTable, an external library providing advanced
+ * grid features (selection and edition):
+ * http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus
+ */
+export default class AdapterEzEditTable extends Feature {
+
+    /**
+     * Creates an instance of AdapterEzEditTable
+     *
+     * @param {TableFilter} tf TableFilter instance
+     * @param {Object} cfg Configuration options for ezEditTable library
+     */
+    constructor(tf, cfg) {
+        super(tf, cfg.name);
+
+        /**
+         * Module description
+         * @type {String}
+         */
+        this.desc = defaultsStr(cfg.description, 'ezEditTable adapter');
+
+        /**
+         * Filename of ezEditTable library
+         * @type {String}
+         */
+        this.filename = defaultsStr(cfg.filename, 'ezEditTable.js');
+
+        /**
+         * Path to ezEditTable library
+         * @type {String}
+         */
+        this.vendorPath = cfg.vendor_path;
+
+        /**
+         * Load ezEditTable stylesheet
+         * @type {Boolean}
+         */
+        this.loadStylesheet = Boolean(cfg.load_stylesheet);
+
+        /**
+         * Path to ezEditTable stylesheet
+         * @type {String}
+         */
+        this.stylesheet = defaultsStr(cfg.stylesheet,
+            this.vendorPath + 'ezEditTable.css');
+
+        /**
+         * Name of ezEditTable stylesheet
+         * @type {String}
+         */
+        this.stylesheetName = defaultsStr(cfg.stylesheet_name,
+            'ezEditTableCss');
+
+        // Enable the ezEditTable's scroll into view behaviour if grid layout on
+        cfg.scroll_into_view = cfg.scroll_into_view === false ?
+            false : tf.gridLayout;
+
+        /**
+         * ezEditTable instance
+         * @type {EditTable}
+         * @private
+         */
+        this._ezEditTable = null;
+
+        /**
+         * ezEditTable configuration
+         * @private
+         */
+        this.cfg = cfg;
+
+        this.enable();
+    }
+
+    /**
+     * Conditionally load ezEditTable library and set advanced grid
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+        let tf = this.tf;
+        if (root.EditTable) {
+            this._setAdvancedGrid();
+        } else {
+            let path = this.vendorPath + this.filename;
+            tf.import(this.filename, path, () => this._setAdvancedGrid());
+        }
+        if (this.loadStylesheet && !tf.isImported(this.stylesheet, 'link')) {
+            tf.import(this.stylesheetName, this.stylesheet, null, 'link');
+        }
+
+        // TODO: hack to prevent ezEditTable enter key event hijaking.
+        // Needs to be fixed in the vendor's library
+        this.emitter.on(['filter-focus', 'filter-blur'],
+            () => this._toggleForInputFilter());
+
+        /**
+         * @inherited
+         */
+        this.initialized = true;
+    }
+
+    /**
+     * Instantiate ezEditTable component for advanced grid features
+     * @private
+     */
+    _setAdvancedGrid() {
+        let tf = this.tf;
+
+        //start row for EditTable constructor needs to be calculated
+        let startRow,
+            cfg = this.cfg,
+            thead = tag(tf.dom(), 'thead');
+
+        //if thead exists and startRow not specified, startRow is calculated
+        //automatically by EditTable
+        if (thead.length > 0 && !cfg.startRow) {
+            startRow = undefined;
+        }
+        //otherwise startRow config property if any or TableFilter refRow
+        else {
+            startRow = cfg.startRow || tf.refRow;
+        }
+
+        cfg.base_path = cfg.base_path || tf.basePath + 'ezEditTable/';
+        let editable = cfg.editable;
+        let selectable = cfg.selection;
+
+        if (selectable) {
+            cfg.default_selection = cfg.default_selection || 'row';
+        }
+        //CSS Styles
+        cfg.active_cell_css = cfg.active_cell_css || 'ezETSelectedCell';
+
+        let _lastValidRowIndex = 0;
+        let _lastRowIndex = 0;
+
+        if (selectable) {
+            //Row navigation needs to be calculated according to TableFilter's
+            //validRowsIndex array
+            let onAfterSelection = function (et, selectedElm, e) {
+                let slc = et.Selection;
+                //Next valid filtered row needs to be selected
+                let doSelect = function (nextRowIndex) {
+                    if (et.defaultSelection === 'row') {
+                        /* eslint-disable */
+                        slc.SelectRowByIndex(nextRowIndex);
+                        /* eslint-enable */
+                    } else {
+                        /* eslint-disable */
+                        et.ClearSelections();
+                        /* eslint-enable */
+                        let cellIndex = selectedElm.cellIndex,
+                            row = tf.dom().rows[nextRowIndex];
+                        if (et.defaultSelection === 'both') {
+                            /* eslint-disable */
+                            slc.SelectRowByIndex(nextRowIndex);
+                            /* eslint-enable */
+                        }
+                        if (row) {
+                            /* eslint-disable */
+                            slc.SelectCell(row.cells[cellIndex]);
+                            /* eslint-enable */
+                        }
+                    }
+                    //Table is filtered
+                    if (tf.validRowsIndex.length !== tf.getRowsNb()) {
+                        let r = tf.dom().rows[nextRowIndex];
+                        if (r) {
+                            r.scrollIntoView(false);
+                        }
+                        if (cell) {
+                            if (cell.cellIndex === (tf.getCellsNb() - 1) &&
+                                tf.gridLayout) {
+                                tf.tblCont.scrollLeft = 100000000;
+                            }
+                            else if (cell.cellIndex === 0 && tf.gridLayout) {
+                                tf.tblCont.scrollLeft = 0;
+                            } else {
+                                cell.scrollIntoView(false);
+                            }
+                        }
+                    }
+                };
+
+                //table is not filtered
+                if (!tf.validRowsIndex) {
+                    return;
+                }
+                let validIndexes = tf.validRowsIndex,
+                    validIdxLen = validIndexes.length,
+                    row = et.defaultSelection !== 'row' ?
+                        selectedElm.parentNode : selectedElm,
+                    //cell for default_selection = 'both' or 'cell'
+                    cell = selectedElm.nodeName === 'TD' ? selectedElm : null,
+                    /* eslint-disable */
+                    keyCode = e !== undefined ? et.Event.GetKey(e) : 0,
+                    /* eslint-enable */
+                    isRowValid = validIndexes.indexOf(row.rowIndex) !== -1,
+                    nextRowIndex,
+                    paging = tf.feature('paging'),
+                    //pgup/pgdown keys
+                    d = keyCode === 34 || keyCode === 33 ?
+                        (paging && paging.pageLength || et.nbRowsPerPage) :
+                        1;
+
+                //If next row is not valid, next valid filtered row needs to be
+                //calculated
+                if (!isRowValid) {
+                    //Selection direction up/down
+                    if (row.rowIndex > _lastRowIndex) {
+                        //last row
+                        if (row.rowIndex >= validIndexes[validIdxLen - 1]) {
+                            nextRowIndex = validIndexes[validIdxLen - 1];
+                        } else {
+                            let calcRowIndex = (_lastValidRowIndex + d);
+                            if (calcRowIndex > (validIdxLen - 1)) {
+                                nextRowIndex = validIndexes[validIdxLen - 1];
+                            } else {
+                                nextRowIndex = validIndexes[calcRowIndex];
+                            }
+                        }
+                    } else {
+                        //first row
+                        if (row.rowIndex <= validIndexes[0]) {
+                            nextRowIndex = validIndexes[0];
+                        } else {
+                            let v = validIndexes[_lastValidRowIndex - d];
+                            nextRowIndex = v ? v : validIndexes[0];
+                        }
+                    }
+                    _lastRowIndex = row.rowIndex;
+                    doSelect(nextRowIndex);
+                } else {
+                    //If filtered row is valid, special calculation for
+                    //pgup/pgdown keys
+                    if (keyCode !== 34 && keyCode !== 33) {
+                        _lastValidRowIndex = validIndexes.indexOf(row.rowIndex);
+                        _lastRowIndex = row.rowIndex;
+                    } else {
+                        if (keyCode === 34) { //pgdown
+                            //last row
+                            if ((_lastValidRowIndex + d) <= (validIdxLen - 1)) {
+                                nextRowIndex = validIndexes[
+                                    _lastValidRowIndex + d];
+                            } else {
+                                nextRowIndex = [validIdxLen - 1];
+                            }
+                        } else { //pgup
+                            //first row
+                            if ((_lastValidRowIndex - d) <= validIndexes[0]) {
+                                nextRowIndex = validIndexes[0];
+                            } else {
+                                nextRowIndex = validIndexes[
+                                    _lastValidRowIndex - d];
+                            }
+                        }
+                        _lastRowIndex = nextRowIndex;
+                        _lastValidRowIndex = validIndexes.indexOf(nextRowIndex);
+                        doSelect(nextRowIndex);
+                    }
+                }
+            };
+
+            //Page navigation has to be enforced whenever selected row is out of
+            //the current page range
+            let onBeforeSelection = function (et, selectedElm) {
+                let row = et.defaultSelection !== 'row' ?
+                    selectedElm.parentNode : selectedElm;
+                if (tf.paging) {
+                    if (tf.feature('paging').nbPages > 1) {
+                        let paging = tf.feature('paging');
+                        //page length is re-assigned in case it has changed
+                        et.nbRowsPerPage = paging.pageLength;
+                        let validIndexes = tf.validRowsIndex,
+                            validIdxLen = validIndexes.length,
+                            pagingEndRow = parseInt(paging.startPagingRow, 10) +
+                                parseInt(paging.pageLength, 10);
+                        let rowIndex = row.rowIndex;
+
+                        if ((rowIndex === validIndexes[validIdxLen - 1]) &&
+                            paging.currentPageNb !== paging.nbPages) {
+                            paging.setPage('last');
+                        }
+                        else if ((rowIndex === validIndexes[0]) &&
+                            paging.currentPageNb !== 1) {
+                            paging.setPage('first');
+                        }
+                        else if (rowIndex > validIndexes[pagingEndRow - 1] &&
+                            rowIndex < validIndexes[validIdxLen - 1]) {
+                            paging.setPage('next');
+                        }
+                        else if (
+                            rowIndex < validIndexes[paging.startPagingRow] &&
+                            rowIndex > validIndexes[0]) {
+                            paging.setPage('previous');
+                        }
+                    }
+                }
+            };
+
+            //Selected row needs to be visible when paging is activated
+            if (tf.paging) {
+                tf.feature('paging').onAfterChangePage = function (paging) {
+                    let advGrid = paging.tf.extension('advancedGrid');
+                    let et = advGrid._ezEditTable;
+                    let slc = et.Selection;
+                    /* eslint-disable */
+                    let row = slc.GetActiveRow();
+                    /* eslint-enable */
+                    if (row) {
+                        row.scrollIntoView(false);
+                    }
+                    /* eslint-disable */
+                    let cell = slc.GetActiveCell();
+                    /* eslint-enable */
+                    if (cell) {
+                        cell.scrollIntoView(false);
+                    }
+                };
+            }
+
+            //Rows navigation when rows are filtered is performed with the
+            //EditTable row selection callback events
+            if (cfg.default_selection === 'row') {
+                let fnB = cfg.on_before_selected_row;
+                cfg.on_before_selected_row = function () {
+                    var args = arguments;
+                    onBeforeSelection(args[0], args[1], args[2]);
+                    if (fnB) {
+                        fnB.call(null, args[0], args[1], args[2]);
+                    }
+                };
+                let fnA = cfg.on_after_selected_row;
+                cfg.on_after_selected_row = function () {
+                    var args = arguments;
+                    onAfterSelection(args[0], args[1], args[2]);
+                    if (fnA) {
+                        fnA.call(null, args[0], args[1], args[2]);
+                    }
+                };
+            } else {
+                let fnD = cfg.on_before_selected_cell;
+                cfg.on_before_selected_cell = function () {
+                    var args = arguments;
+                    onBeforeSelection(args[0], args[1], args[2]);
+                    if (fnD) {
+                        fnD.call(null, args[0], args[1], args[2]);
+                    }
+                };
+                let fnC = cfg.on_after_selected_cell;
+                cfg.on_after_selected_cell = function () {
+                    var args = arguments;
+                    onAfterSelection(args[0], args[1], args[2]);
+                    if (fnC) {
+                        fnC.call(null, args[0], args[1], args[2]);
+                    }
+                };
+            }
+        }
+        if (editable) {
+            //Added or removed rows, TF rows number needs to be re-calculated
+            let fnE = cfg.on_added_dom_row;
+            cfg.on_added_dom_row = function () {
+                var args = arguments;
+                tf.nbFilterableRows++;
+                if (!tf.paging) {
+                    tf.emitter.emit('rows-changed', tf, this);
+                } else {
+                    tf.nbFilterableRows++;
+                    tf.paging = false;
+                    tf.feature('paging').destroy();
+                    tf.feature('paging').reset();
+                }
+                if (tf.alternateRows) {
+                    tf.feature('alternateRows').init();
+                }
+                if (fnE) {
+                    fnE.call(null, args[0], args[1], args[2]);
+                }
+            };
+            if (cfg.actions && cfg.actions['delete']) {
+                let fnF = cfg.actions['delete'].on_after_submit;
+                cfg.actions['delete'].on_after_submit = function () {
+                    var args = arguments;
+                    tf.nbFilterableRows--;
+                    if (!tf.paging) {
+                        tf.emitter.emit('rows-changed', tf, this);
+                    } else {
+                        tf.nbFilterableRows--;
+                        tf.paging = false;
+                        tf.feature('paging').destroy();
+                        tf.feature('paging').reset(false);
+                    }
+                    if (tf.alternateRows) {
+                        tf.feature('alternateRows').init();
+                    }
+                    if (fnF) {
+                        fnF.call(null, args[0], args[1]);
+                    }
+                };
+            }
+        }
+
+        try {
+            /* eslint-disable */
+            this._ezEditTable = new EditTable(tf.id, cfg, startRow);
+            this._ezEditTable.Init();
+            /* eslint-enable */
+        } catch (e) { throw new Error(INSTANTIATION_ERROR); }
+
+        this.initialized = true;
+    }
+
+    /**
+     * Reset advanced grid when previously removed
+     */
+    reset() {
+        let ezEditTable = this._ezEditTable;
+        if (ezEditTable) {
+            if (this.cfg.selection) {
+                /* eslint-disable */
+                ezEditTable.Selection.Set();
+                /* eslint-enable */
+            }
+            if (this.cfg.editable) {
+                /* eslint-disable */
+                ezEditTable.Editable.Set();
+                /* eslint-enable */
+            }
+        }
+    }
+
+    /**
+     * Toggle behaviour
+     */
+    toggle() {
+        let ezEditTable = this._ezEditTable;
+        if (ezEditTable.editable) {
+            /* eslint-disable */
+            ezEditTable.Editable.Remove();
+            /* eslint-enable */
+        } else {
+            /* eslint-disable */
+            ezEditTable.Editable.Set();
+            /* eslint-enable */
+        }
+        if (ezEditTable.selection) {
+            /* eslint-disable */
+            ezEditTable.Selection.Remove();
+            /* eslint-enable */
+        } else {
+            /* eslint-disable */
+            ezEditTable.Selection.Set();
+            /* eslint-enable */
+        }
+    }
+
+    _toggleForInputFilter() {
+        let tf = this.tf;
+        if (!tf.getActiveFilterId()) {
+            return;
+        }
+        let colIndex = tf.getColumnIndexFromFilterId(tf.getActiveFilterId());
+        let filterType = tf.getFilterType(colIndex);
+        if (filterType === INPUT) {
+            this.toggle();
+        }
+    }
+
+    /**
+     * Remove advanced grid
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        let ezEditTable = this._ezEditTable;
+        if (ezEditTable) {
+            if (this.cfg.selection) {
+                /* eslint-disable */
+                ezEditTable.Selection.ClearSelections();
+                ezEditTable.Selection.Remove();
+                /* eslint-enable */
+            }
+            if (this.cfg.editable) {
+                /* eslint-disable */
+                ezEditTable.Editable.Remove();
+                /* eslint-enable */
+            }
+        }
+
+        this.emitter.off(['filter-focus', 'filter-blur'],
+            () => this._toggleForInputFilter());
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/advancedGrid/advancedGrid.js.html b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html new file mode 100644 index 00000000..6c0abd5d --- /dev/null +++ b/docs/file/src/extensions/advancedGrid/advancedGrid.js.html @@ -0,0 +1,153 @@ + + + + + + src/extensions/advancedGrid/advancedGrid.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/advancedGrid/advancedGrid.js

+
import AdapterEzEditTable from './adapterEzEditTable';
+
+export default AdapterEzEditTable;
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/colOps/colOps.js.html b/docs/file/src/extensions/colOps/colOps.js.html new file mode 100644 index 00000000..04f0bbe6 --- /dev/null +++ b/docs/file/src/extensions/colOps/colOps.js.html @@ -0,0 +1,630 @@ + + + + + + src/extensions/colOps/colOps.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/colOps/colOps.js

+
import {Feature} from '../../feature';
+import {createText, elm} from '../../dom';
+import {isArray, isEmpty, EMPTY_FN} from '../../types';
+import {numSortAsc} from '../../sort';
+import {FORMATTED_NUMBER} from '../../const';
+import formatNumber from 'format-number';
+import {defaultsFn, defaultsArr} from '../../settings';
+
+const EVENTS = [
+    'after-filtering',
+    'after-page-change',
+    'after-page-length-change'
+];
+
+const SUM = 'sum';
+const MEAN = 'mean';
+const MIN = 'min';
+const MAX = 'max';
+const MEDIAN = 'median';
+const Q1 = 'q1';
+const Q3 = 'q3';
+
+/**
+ * Column calculations extension
+ */
+export default class ColOps extends Feature {
+
+    /**
+     * Creates an instance of ColOps
+     *
+     * @param {TableFilter} tf TableFilter instance
+     * @param {Object} opts Configuration object
+     */
+    constructor(tf, opts) {
+        super(tf, opts.name);
+
+        /**
+         * Callback fired before columns operations start
+         * @type {Function}
+         */
+        this.onBeforeOperation = defaultsFn(opts.on_before_operation, EMPTY_FN);
+
+        /**
+         * Callback fired after columns operations are completed
+         * @type {Function}
+         */
+        this.onAfterOperation = defaultsFn(opts.on_after_operation, EMPTY_FN);
+
+        /**
+         * Configuration options
+         * @type {Object}
+         */
+        this.opts = opts;
+
+        /**
+         * List of DOM element IDs containing column's calculation result
+         * @type {Array}
+         */
+        this.labelIds = defaultsArr(opts.id, []);
+
+        /**
+         * List of columns' indexes for calculations
+         * @type {Array}
+         */
+        this.colIndexes = defaultsArr(opts.col, []);
+
+        /**
+         * List of operations - possible values: 'sum', 'mean', 'min', 'max',
+         * 'median', 'q1', 'q3'
+         * @type {Array}
+         */
+        this.operations = defaultsArr(opts.operation, []);
+
+        /**
+         * List of write methods used to write the result - possible values:
+         * 'innerHTML', 'setValue', 'createTextNode'
+         * @type {Array}
+         */
+        this.outputTypes = defaultsArr(opts.write_method, []);
+
+        /**
+         * List of format objects used for formatting the result -
+         * refer to https://github.com/componitable/format-number to check
+         * configuration options
+         * @type {Array}
+         */
+        this.formatResults = defaultsArr(opts.format_result, []);
+
+        /**
+         * List of row indexes displaying the results
+         * @type {Array}
+         */
+        this.totRowIndexes = defaultsArr(opts.tot_row_index, []);
+
+        /**
+         * List of row indexes excluded from calculations
+         * @type {Array}
+         */
+        this.excludeRows = defaultsArr(opts.exclude_row, []);
+
+        /**
+         * List of decimal precision for calculation results
+         * @type {Array}
+         */
+        this.decimalPrecisions = defaultsArr(opts.decimal_precision, 2);
+
+        this.enable();
+    }
+
+    /**
+     * Initializes ColOps instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+        // subscribe to events
+        this.emitter.on(EVENTS, () => this.calcAll());
+
+        this.calcAll();
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Calculates columns' values
+     * Configuration options are stored in 'opts' property
+     * - 'id' contains ids of elements showing result (array)
+     * - 'col' contains the columns' indexes (array)
+     * - 'operation' contains operation type (array, values: 'sum', 'mean',
+     *   'min', 'max', 'median', 'q1', 'q3')
+     * - 'write_method' array defines which method to use for displaying the
+     *    result (innerHTML, setValue, createTextNode) - default: 'innerHTML'
+     * - 'tot_row_index' defines in which row results are displayed
+     *   (integers array)
+     *
+     * - changes made by Nuovella:
+     * (1) optimized the routine (now it will only process each column once),
+     * (2) added calculations for the median, lower and upper quartile.
+     */
+    calcAll() {
+        let tf = this.tf;
+        if (!tf.isInitialized()) {
+            return;
+        }
+
+        this.onBeforeOperation(tf, this);
+        this.emitter.emit('before-column-operation', tf, this);
+
+        let { colIndexes, operations: colOperations, outputTypes,
+            totRowIndexes, excludeRows, formatResults,
+            decimalPrecisions } = this;
+
+        //nuovella: determine unique list of columns to operate on
+        let uIndexes = [];
+        colIndexes.forEach((val) => {
+            if (uIndexes.indexOf(val) === -1) {
+                uIndexes.push(val);
+            }
+        });
+
+        let nbCols = uIndexes.length,
+            rows = tf.dom().rows,
+            colValues = [];
+
+        for (let u = 0; u < nbCols; u++) {
+            //this retrieves col values
+            //use uIndexes because we only want to pass through this loop
+            //once for each column get the values in this unique column
+            colValues.push(
+                tf.getVisibleColumnData(uIndexes[u], false, excludeRows)
+            );
+
+            let curValues = colValues[u];
+
+            //next: calculate all operations for this column
+            let result = 0,
+                operations = [],
+                precisions = [],
+                labels = [],
+                writeType,
+                formatResult = [],
+                idx = 0;
+
+            for (let k = 0; k < colIndexes.length; k++) {
+                if (colIndexes[k] !== uIndexes[u]) {
+                    continue;
+                }
+                operations[idx] = (colOperations[k] || 'sum').toLowerCase();
+                precisions[idx] = decimalPrecisions[k];
+                labels[idx] = this.labelIds[k];
+                writeType = isArray(outputTypes) ? outputTypes[k] : null;
+                formatResult[idx] =
+                    this.configureFormat(uIndexes[u], formatResults[k]);
+                idx++;
+            }
+
+            for (let i = 0; i < idx; i++) {
+                // emit values before column calculation
+                this.emitter.emit(
+                    'before-column-calc',
+                    tf,
+                    this,
+                    uIndexes[u],
+                    curValues,
+                    operations[i],
+                    precisions[i]
+                );
+
+                result = Number(this.calc(curValues, operations[i], null));
+
+                // emit column calculation result
+                this.emitter.emit(
+                    'column-calc',
+                    tf,
+                    this,
+                    uIndexes[u],
+                    result,
+                    operations[i],
+                    precisions[i]
+                );
+
+                // write result in expected DOM element
+                this.writeResult(
+                    result,
+                    labels[i],
+                    writeType,
+                    precisions[i],
+                    formatResult[i]
+                );
+
+            }//for i
+
+            // row(s) with result are always visible
+            let totRow = totRowIndexes && totRowIndexes[u] ?
+                rows[totRowIndexes[u]] : null;
+            if (totRow) {
+                totRow.style.display = '';
+            }
+        }//for u
+
+        this.onAfterOperation(tf, this);
+        this.emitter.emit('after-column-operation', tf, this);
+    }
+
+    /**
+     * Make desired calculation on specified column.
+     * @param {Number} colIndex Column index
+     * @param {String} [operation=SUM] Operation type
+     * @param {Number} precision Decimal precision
+     * @returns {Number}
+     */
+    columnCalc(colIndex, operation = SUM, precision) {
+        let excludeRows = this.excludeRows || [];
+        let colValues = tf.getVisibleColumnData(colIndex, false, excludeRows);
+
+        return Number(this.calc(colValues, operation, precision));
+    }
+
+    /**
+     * Make calculation on passed values.
+     * @param {Array} values List of values
+     * @param {String} [operation=SUM] Optional operation type
+     * @param {Number} precision Optional result precision
+     * @returns {Number}
+     * @private
+     */
+    calc(colValues, operation = SUM, precision) {
+        let result = 0;
+
+        if (operation === Q1 || operation === Q3 || operation === MEDIAN) {
+            colValues = this.sortColumnValues(colValues, numSortAsc);
+        }
+
+        switch (operation) {
+            case MEAN:
+                result = this.calcMean(colValues);
+                break;
+            case SUM:
+                result = this.calcSum(colValues);
+                break;
+            case MIN:
+                result = this.calcMin(colValues);
+                break;
+            case MAX:
+                result = this.calcMax(colValues);
+                break;
+            case MEDIAN:
+                result = this.calcMedian(colValues);
+                break;
+            case Q1:
+                result = this.calcQ1(colValues);
+                break;
+            case Q3:
+                result = this.calcQ3(colValues);
+                break;
+        }
+
+        return isEmpty(precision) ? result : result.toFixed(precision);
+    }
+
+    /**
+     * Calculate the sum of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcSum(values = []) {
+        if (isEmpty(values)) {
+            return 0;
+        }
+        let result = values.reduce((x, y) => Number(x) + Number(y));
+        return result;
+    }
+
+    /**
+     * Calculate the mean of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcMean(values = []) {
+        let result = this.calcSum(values) / values.length;
+        return Number(result);
+    }
+
+    /**
+     * Calculate the max value of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcMax(values = []) {
+        return Math.max.apply(null, values);
+    }
+
+    /**
+     * Calculate the min value of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcMin(values = []) {
+        return Math.min.apply(null, values);
+    }
+
+    /**
+     * Calculate the median of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcMedian(values = []) {
+        let nbValues = values.length;
+        let aux = 0;
+        if (nbValues % 2 === 1) {
+            aux = Math.floor(nbValues / 2);
+            return Number(values[aux]);
+        }
+        return (Number(values[nbValues / 2]) +
+            Number(values[((nbValues / 2) - 1)])) / 2;
+    }
+
+    /**
+     * Calculate the lower quartile of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcQ1(values = []) {
+        let nbValues = values.length;
+        let posa = 0.0;
+        posa = Math.floor(nbValues / 4);
+        if (4 * posa === nbValues) {
+            return (Number(values[posa - 1]) +
+                Number(values[posa])) / 2;
+        }
+        return Number(values[posa]);
+    }
+
+    /**
+     * Calculate the upper quartile of passed values.
+     * @param {Array} [values=[]] List of values
+     * @returns {Number}
+     */
+    calcQ3(values = []) {
+        let nbValues = values.length;
+        let posa = 0.0;
+        let posb = 0.0;
+        posa = Math.floor(nbValues / 4);
+        if (4 * posa === nbValues) {
+            posb = 3 * posa;
+            return (Number(values[posb]) +
+                Number(values[posb - 1])) / 2;
+        }
+        return Number(values[nbValues - posa - 1]);
+    }
+
+    /**
+     * Sort passed values with supplied sorter function.
+     * @param {Array} [values=[]] List of values to be sorted
+     * @param {Function} sorter Sorter function
+     * @returns {Array}
+     */
+    sortColumnValues(values = [], sorter) {
+        return values.sort(sorter);
+    }
+
+    /**
+     * Write calculation result in passed DOM element with supplied write method
+     * and decimal precision.
+     * @param {Number} [result=0] Calculation result
+     * @param {DOMElement} label DOM element
+     * @param {String} [writeType='innerhtml'] Write method
+     * @param {Number} [precision=2] Applied decimal precision
+     * @private
+     */
+    writeResult(result = 0, label, writeType = 'innerhtml',
+        precision = 2, format = {}) {
+        let labelElm = elm(label);
+
+        if (!labelElm) {
+            return;
+        }
+
+        result = result.toFixed(precision);
+        if (isNaN(result) || !isFinite(result)) {
+            result = '';
+        } else {
+            result = formatNumber(format)(result);
+        }
+
+        switch (writeType.toLowerCase()) {
+            case 'innerhtml':
+                labelElm.innerHTML = result;
+                break;
+            case 'setvalue':
+                labelElm.value = result;
+                break;
+            case 'createtextnode':
+                let oldNode = labelElm.firstChild;
+                let txtNode = createText(result);
+                labelElm.replaceChild(txtNode, oldNode);
+                break;
+        }
+    }
+
+    /**
+     * Configure the format options used to format the operation result based
+     * on column type.
+     * @param {Number} colIndex Column index
+     * @param {Object} [format={}] Format object
+     * @returns {Object}
+     * @private
+     */
+    configureFormat(colIndex, format = {}) {
+        let tf = this.tf;
+        if (tf.hasType(colIndex, [FORMATTED_NUMBER])) {
+            let colType = tf.colTypes[colIndex];
+            if (colType.decimal && !format.decimal) {
+                format.decimal = colType.decimal;
+            }
+            if (colType.thousands && !format.integerSeparator) {
+                format.integerSeparator = colType.thousands;
+            }
+        } else {
+            format.decimal = format.decimal || '';
+            format.integerSeparator = format.integerSeparator || '';
+        }
+        return format;
+    }
+
+    /** Remove extension */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        // unsubscribe to events
+        this.emitter.off(EVENTS, () => this.calcAll());
+
+        this.initialized = false;
+    }
+
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/colsVisibility/colsVisibility.js.html b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html new file mode 100644 index 00000000..ec0a4f2d --- /dev/null +++ b/docs/file/src/extensions/colsVisibility/colsVisibility.js.html @@ -0,0 +1,857 @@ + + + + + + src/extensions/colsVisibility/colsVisibility.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/colsVisibility/colsVisibility.js

+
import {Feature} from '../../feature';
+import {
+    addClass, removeClass, createCheckItem, createElm, elm, removeElm,
+    getText
+} from '../../dom';
+import {isUndef, EMPTY_FN} from '../../types';
+import {addEvt, targetEvt, removeEvt} from '../../event';
+import {root} from '../../root';
+import {NONE} from '../../const';
+import {
+    defaultsBool, defaultsStr, defaultsFn,
+    defaultsNb, defaultsArr
+} from '../../settings';
+
+/**
+ * Columns Visibility extension
+ */
+export default class ColsVisibility extends Feature {
+
+    /**
+     * Creates an instance of ColsVisibility
+     * @param {TableFilter} tf TableFilter instance
+     * @param {Object} Configuration object
+     */
+    constructor(tf, f) {
+        super(tf, f.name);
+
+        // Configuration object
+        let cfg = this.config;
+
+        /**
+         * Module name
+         * @type {String}
+         */
+        this.name = f.name;
+
+        /**
+         * Module description
+         * @type {String}
+         */
+        this.desc = defaultsStr(f.description, 'Columns visibility manager');
+
+        /**
+         * show/hide columns container element
+         * @private
+         */
+        this.spanEl = null;
+
+        /**
+         * show/hide columns button element
+         * @private
+         */
+        this.btnEl = null;
+
+        /**
+         * show/hide columns main container element
+         * @private
+         */
+        this.contEl = null;
+
+        /**
+         * Enable tick to hide a column, defaults to true
+         * @type {Boolean}
+         */
+        this.tickToHide = defaultsBool(f.tick_to_hide, true);
+
+        /**
+         * Enable columns manager UI, defaults to true
+         * @type {Boolean}
+         */
+        this.manager = defaultsBool(f.manager, true);
+
+        /**
+         * Headers HTML table reference only if headers are external
+         * @type {DOMElement}
+         */
+        this.headersTbl = f.headers_table || null;
+
+        /**
+         * Headers row index only if headers are external
+         * @type {Number}
+         */
+        this.headersIndex = defaultsNb(f.headers_index, 1);
+
+        /**
+         * ID of main container element
+         * @type {String}
+         */
+        this.contElTgtId = defaultsStr(f.container_target_id, null);
+
+        /**
+         * Alternative text for column headers in column manager UI
+         * @type {Array}
+         */
+        this.headersText = defaultsArr(f.headers_text, []);
+
+        /**
+         * ID of button's container element
+         * @type {String}
+         */
+        this.btnTgtId = defaultsStr(f.btn_target_id, null);
+
+        /**
+         * Button's text, defaults to Columns&#9660;
+         * @type {String}
+         */
+        this.btnText = defaultsStr(f.btn_text, 'Columns&#9660;');
+
+        /**
+         * Button's inner HTML
+         * @type {String}
+         */
+        this.btnHtml = defaultsStr(f.btn_html, null);
+
+        /**
+         * Css class for button
+         * @type {String}
+         */
+        this.btnCssClass = defaultsStr(f.btn_css_class, 'colVis');
+
+        /**
+         * Columns manager UI close link text, defaults to 'Close'
+         * @type {String}
+         */
+        this.btnCloseText = defaultsStr(f.btn_close_text, 'Close');
+
+        /**
+         * Columns manager UI close link HTML
+         * @type {String}
+         */
+        this.btnCloseHtml = defaultsStr(f.btn_close_html, null);
+
+        /**
+         * Css for columns manager UI close link
+         * @type {String}
+         */
+        this.btnCloseCssClass = defaultsStr(f.btn_close_css_class,
+            this.btnCssClass);
+
+        /**
+         * Extension's stylesheet filename
+         * @type {String}
+         */
+        this.stylesheet = defaultsStr(f.stylesheet, 'colsVisibility.css');
+
+        /**
+         * Css for columns manager UI span
+         * @type {String}
+         */
+        this.spanCssClass = defaultsStr(f.span_css_class, 'colVisSpan');
+
+        /**
+         * Css for columns manager UI main container
+         * @type {String}
+         */
+        this.contCssClass = defaultsStr(f.cont_css_class, 'colVisCont');
+
+        /**
+         * Css for columns manager UI checklist (ul)
+         * @type {String}
+         */
+        this.listCssClass = defaultsStr(cfg.list_css_class, 'cols_checklist');
+
+        /**
+         * Css for columns manager UI checklist item (li)
+         * @type {String}
+         */
+        this.listItemCssClass = defaultsStr(cfg.checklist_item_css_class,
+            'cols_checklist_item');
+
+        /**
+         * Css for columns manager UI checklist item selected state (li)
+         * @type {String}
+         */
+        this.listSlcItemCssClass = defaultsStr(
+            cfg.checklist_selected_item_css_class,
+            'cols_checklist_slc_item'
+        );
+
+        /**
+         * Text preceding the columns list, defaults to 'Hide' or 'Show'
+         * depending on tick mode (tick_to_hide option)
+         * @type {String}
+         */
+        this.text = defaultsStr(f.text, this.tickToHide ? 'Hide: ' : 'Show: ');
+
+        /**
+         * List of columns indexes to be hidden at initialization
+         * @type {Array}
+         */
+        this.atStart = defaultsArr(f.at_start, []);
+
+        /**
+         * Enable hover behaviour on columns manager button/link
+         * @type {Boolean}
+         */
+        this.enableHover = Boolean(f.enable_hover);
+
+        /**
+         * Enable select all option, disabled by default
+         * @type {Boolean}
+         */
+        this.enableTickAll = Boolean(f.enable_tick_all);
+
+        /**
+         * Text for select all option, defaults to 'Select all:'
+         * @type {String}
+         */
+        this.tickAllText = defaultsStr(f.tick_all_text, 'Select all:');
+
+        /**
+         * List of indexes of hidden columns
+         * @private
+         */
+        this.hiddenCols = [];
+
+        /**
+         * Bound mouseup wrapper
+         * @private
+         */
+        this.boundMouseup = null;
+
+        /**
+         * Callback fired when the extension is initialized
+         * @type {Function}
+         */
+        this.onLoaded = defaultsFn(f.on_loaded, EMPTY_FN);
+
+        /**
+         * Callback fired before the columns manager is opened
+         * @type {Function}
+         */
+        this.onBeforeOpen = defaultsFn(f.on_before_open, EMPTY_FN);
+
+        /**
+         * Callback fired after the columns manager is opened
+         * @type {Function}
+         */
+        this.onAfterOpen = defaultsFn(f.on_after_open, EMPTY_FN);
+
+        /**
+         * Callback fired before the columns manager is closed
+         * @type {Function}
+         */
+        this.onBeforeClose = defaultsFn(f.on_before_close, EMPTY_FN);
+
+        /**
+         * Callback fired after the columns manager is closed
+         * @type {Function}
+         */
+        this.onAfterClose = defaultsFn(f.on_after_close, EMPTY_FN);
+
+        /**
+         * Callback fired before a column is hidden
+         * @type {Function}
+         */
+        this.onBeforeColHidden = defaultsFn(f.on_before_col_hidden, EMPTY_FN);
+
+        /**
+         * Callback fired after a column is hidden
+         * @type {Function}
+         */
+        this.onAfterColHidden = defaultsFn(f.on_after_col_hidden, EMPTY_FN);
+
+        /**
+         * Callback fired before a column is displayed
+         * @type {Function}
+         */
+        this.onBeforeColDisplayed = defaultsFn(f.on_before_col_displayed,
+            EMPTY_FN);
+
+        /**
+         * Callback fired after a column is displayed
+         * @type {Function}
+         */
+        this.onAfterColDisplayed = defaultsFn(f.on_after_col_displayed,
+            EMPTY_FN);
+
+        //Grid layout support
+        if (tf.gridLayout) {
+            this.headersTbl = tf.feature('gridLayout').headTbl; //headers table
+            this.headersIndex = 0; //headers index
+        }
+
+        //Loads extension stylesheet
+        tf.import(f.name + 'Style', tf.getStylePath() + this.stylesheet, null,
+            'link');
+
+        this.enable();
+    }
+
+    /**
+     * Mouse-up event handler handling popup auto-close behaviour
+     * @private
+     */
+    onMouseup(evt) {
+        let targetElm = targetEvt(evt);
+
+        while (targetElm && targetElm !== this.contEl
+            && targetElm !== this.btnEl) {
+            targetElm = targetElm.parentNode;
+        }
+
+        if (targetElm !== this.contEl && targetElm !== this.btnEl) {
+            this.toggle();
+        }
+
+        return;
+    }
+
+    /**
+     * Toggle columns manager UI
+     */
+    toggle() {
+        // ensure mouseup event handler is removed
+        removeEvt(root, 'mouseup', this.boundMouseup);
+
+        let contDisplay = this.contEl.style.display;
+
+        if (contDisplay !== 'inline') {
+            this.onBeforeOpen(this);
+        }
+        if (contDisplay === 'inline') {
+            this.onBeforeClose(this);
+        }
+
+        this.contEl.style.display = contDisplay === 'inline' ?
+            NONE : 'inline';
+
+        if (contDisplay !== 'inline') {
+            this.onAfterOpen(this);
+            addEvt(root, 'mouseup', this.boundMouseup);
+        }
+        if (contDisplay === 'inline') {
+            this.onAfterClose(this);
+        }
+    }
+
+    /**
+     * Check an item in columns manager UI
+     * @private
+     */
+    checkItem(lbl) {
+        let li = lbl.parentNode;
+        if (!li || !lbl) {
+            return;
+        }
+        let isChecked = lbl.firstChild.checked;
+        let colIndex = lbl.firstChild.getAttribute('id').split('_')[1];
+        colIndex = parseInt(colIndex, 10);
+        if (isChecked) {
+            addClass(li, this.listSlcItemCssClass);
+        } else {
+            removeClass(li, this.listSlcItemCssClass);
+        }
+
+        let hide = false;
+        if ((this.tickToHide && isChecked) ||
+            (!this.tickToHide && !isChecked)) {
+            hide = true;
+        }
+        this.setHidden(colIndex, hide);
+    }
+
+    /**
+     * Initializes ColsVisibility instance
+     */
+    init() {
+        if (this.initialized || !this.manager) {
+            return;
+        }
+
+        this.emitter.on(['hide-column'],
+            (tf, colIndex) => this.hideCol(colIndex));
+
+        this.buildBtn();
+        this.buildManager();
+
+        /** @inherited */
+        this.initialized = true;
+
+        this.boundMouseup = this.onMouseup.bind(this);
+
+        this.emitter.emit('columns-visibility-initialized', this.tf, this);
+
+        // Hide columns at start at very end of initialization, do not move
+        // as order is important
+        this._hideAtStart();
+    }
+
+    /**
+     * Build main button UI
+     */
+    buildBtn() {
+        if (this.btnEl) {
+            return;
+        }
+        let tf = this.tf;
+        let span = createElm('span');
+        span.className = this.spanCssClass;
+
+        //Container element (rdiv or custom element)
+        if (!this.btnTgtId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.btnTgtId ? tf.rDiv : elm(this.btnTgtId);
+
+        if (!this.btnTgtId) {
+            let firstChild = targetEl.firstChild;
+            firstChild.parentNode.insertBefore(span, firstChild);
+        } else {
+            targetEl.appendChild(span);
+        }
+
+        if (!this.btnHtml) {
+            let btn = createElm('a', ['href', 'javascript:;']);
+            btn.className = this.btnCssClass;
+            btn.title = this.desc;
+
+            btn.innerHTML = this.btnText;
+            span.appendChild(btn);
+            if (!this.enableHover) {
+                addEvt(btn, 'click', (evt) => this.toggle(evt));
+            } else {
+                addEvt(btn, 'mouseover', (evt) => this.toggle(evt));
+            }
+        } else { //Custom html
+            span.innerHTML = this.btnHtml;
+            let colVisEl = span.firstChild;
+            if (!this.enableHover) {
+                addEvt(colVisEl, 'click', (evt) => this.toggle(evt));
+            } else {
+                addEvt(colVisEl, 'mouseover', (evt) => this.toggle(evt));
+            }
+        }
+
+        this.spanEl = span;
+        this.btnEl = this.spanEl.firstChild;
+
+        this.onLoaded(this);
+    }
+
+    /**
+     * Build columns manager UI
+     */
+    buildManager() {
+        let tf = this.tf;
+
+        let container = !this.contElTgtId ?
+            createElm('div') :
+            elm(this.contElTgtId);
+        container.className = this.contCssClass;
+
+        //Extension description
+        let extNameLabel = createElm('p');
+        extNameLabel.innerHTML = this.text;
+        container.appendChild(extNameLabel);
+
+        //Headers list
+        let ul = createElm('ul');
+        ul.className = this.listCssClass;
+
+        let tbl = this.headersTbl || tf.dom();
+        let headerIndex = this.headersTbl ?
+            this.headersIndex : tf.getHeadersRowIndex();
+        let headerRow = tbl.rows[headerIndex];
+
+        //Tick all option
+        if (this.enableTickAll) {
+            let li = createCheckItem('col__' + tf.id, this.tickAllText,
+                this.tickAllText);
+            addClass(li, this.listItemCssClass);
+            ul.appendChild(li);
+            li.check.checked = !this.tickToHide;
+
+            addEvt(li.check, 'click', () => {
+                for (let h = 0; h < headerRow.cells.length; h++) {
+                    let itm = elm('col_' + h + '_' + tf.id);
+                    if (itm && li.check.checked !== itm.checked) {
+                        itm.click();
+                        itm.checked = li.check.checked;
+                    }
+                }
+            });
+        }
+
+        for (let i = 0; i < headerRow.cells.length; i++) {
+            let cell = headerRow.cells[i];
+            let cellText = this.headersText[i] || this._getHeaderText(cell);
+            let liElm = createCheckItem('col_' + i + '_' + tf.id, cellText,
+                cellText);
+            addClass(liElm, this.listItemCssClass);
+            if (!this.tickToHide) {
+                addClass(liElm, this.listSlcItemCssClass);
+            }
+            ul.appendChild(liElm);
+            if (!this.tickToHide) {
+                liElm.check.checked = true;
+            }
+
+            addEvt(liElm.check, 'click', (evt) => {
+                let elm = targetEvt(evt);
+                let lbl = elm.parentNode;
+                this.checkItem(lbl);
+            });
+        }
+
+        //separator
+        let p = createElm('p', ['align', 'center']);
+        let btn;
+        //Close link
+        if (!this.btnCloseHtml) {
+            btn = createElm('a', ['href', 'javascript:;']);
+            btn.className = this.btnCloseCssClass;
+            btn.innerHTML = this.btnCloseText;
+            addEvt(btn, 'click', (evt) => this.toggle(evt));
+            p.appendChild(btn);
+        } else {
+            p.innerHTML = this.btnCloseHtml;
+            btn = p.firstChild;
+            addEvt(btn, 'click', (evt) => this.toggle(evt));
+        }
+
+        container.appendChild(ul);
+        container.appendChild(p);
+
+        this.btnEl.parentNode.insertBefore(container, this.btnEl);
+        this.contEl = container;
+    }
+
+    /**
+     * Hide or show specified columns
+     * @param {Number} colIndex Column index
+     * @param {Boolean} hide    Hide column if true or show if false
+     */
+    setHidden(colIndex, hide) {
+        let tf = this.tf;
+        let tbl = tf.dom();
+
+        if (hide) {
+            this.onBeforeColHidden(this, colIndex);
+        }
+        if (!hide) {
+            this.onBeforeColDisplayed(this, colIndex);
+        }
+
+        this._hideCells(tbl, colIndex, hide);
+        if (this.headersTbl) {
+            this._hideCells(this.headersTbl, colIndex, hide);
+        }
+
+        let hiddenCols = this.hiddenCols;
+        let itemIndex = hiddenCols.indexOf(colIndex);
+        if (hide) {
+            if (itemIndex === -1) {
+                this.hiddenCols.push(colIndex);
+            }
+        } else {
+            if (itemIndex !== -1) {
+                this.hiddenCols.splice(itemIndex, 1);
+            }
+        }
+
+        if (hide) {
+            this.onAfterColHidden(this, colIndex);
+            this.emitter.emit('column-hidden', tf, this, colIndex,
+                this.hiddenCols);
+        }
+
+        if (!hide) {
+            this.onAfterColDisplayed(this, colIndex);
+            this.emitter.emit('column-shown', tf, this, colIndex,
+                this.hiddenCols);
+        }
+    }
+
+    /**
+     * Show specified column
+     * @param  {Number} colIndex Column index
+     */
+    showCol(colIndex) {
+        if (isUndef(colIndex) || !this.isColHidden(colIndex)) {
+            return;
+        }
+        if (this.manager && this.contEl) {
+            let itm = elm('col_' + colIndex + '_' + this.tf.id);
+            if (itm) {
+                itm.click();
+            }
+        } else {
+            this.setHidden(colIndex, false);
+        }
+    }
+
+    /**
+     * Hide specified column
+     * @param  {Number} colIndex Column index
+     */
+    hideCol(colIndex) {
+        if (isUndef(colIndex) || this.isColHidden(colIndex)) {
+            return;
+        }
+        if (this.manager && this.contEl) {
+            let itm = elm('col_' + colIndex + '_' + this.tf.id);
+            if (itm) {
+                itm.click();
+            }
+        } else {
+            this.setHidden(colIndex, true);
+        }
+    }
+
+    /**
+     * Determine if specified column is hidden
+     * @param  {Number} colIndex Column index
+     */
+    isColHidden(colIndex) {
+        if (this.hiddenCols.indexOf(colIndex) !== -1) {
+            return true;
+        }
+        return false;
+    }
+
+    /**
+     * Toggle visibility of specified column
+     * @param  {Number} colIndex Column index
+     */
+    toggleCol(colIndex) {
+        if (isUndef(colIndex) || this.isColHidden(colIndex)) {
+            this.showCol(colIndex);
+        } else {
+            this.hideCol(colIndex);
+        }
+    }
+
+    /**
+     * Return the indexes of the columns currently hidden
+     * @return {Array} column indexes
+     */
+    getHiddenCols() {
+        return this.hiddenCols;
+    }
+
+    /**
+     * Remove the columns manager
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        if (elm(this.contElTgtId)) {
+            elm(this.contElTgtId).innerHTML = '';
+        } else {
+            this.contEl.innerHTML = '';
+            removeElm(this.contEl);
+            this.contEl = null;
+        }
+        this.btnEl.innerHTML = '';
+        removeElm(this.btnEl);
+        this.btnEl = null;
+
+        this.emitter.off(['hide-column'],
+            (tf, colIndex) => this.hideCol(colIndex));
+
+        this.boundMouseup = null;
+
+        this.initialized = false;
+    }
+
+    _getHeaderText(cell) {
+        if (!cell.hasChildNodes) {
+            return '';
+        }
+
+        for (let i = 0; i < cell.childNodes.length; i++) {
+            let n = cell.childNodes[i];
+            if (n.nodeType === 3) {
+                return n.nodeValue;
+            } else if (n.nodeType === 1) {
+                if (n.id && n.id.indexOf('popUp') !== -1) {
+                    continue;
+                } else {
+                    return getText(n);
+                }
+            }
+            continue;
+        }
+        return '';
+    }
+
+    _hideCells(tbl, colIndex, hide) {
+        for (let i = 0; i < tbl.rows.length; i++) {
+            let row = tbl.rows[i];
+            let cell = row.cells[colIndex];
+            if (cell) {
+                cell.style.display = hide ? NONE : '';
+            }
+        }
+    }
+
+    _hideAtStart() {
+        this.atStart.forEach((colIdx) => {
+            this.hideCol(colIdx);
+        });
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/sort/adapterSortabletable.js.html b/docs/file/src/extensions/sort/adapterSortabletable.js.html new file mode 100644 index 00000000..55104316 --- /dev/null +++ b/docs/file/src/extensions/sort/adapterSortabletable.js.html @@ -0,0 +1,682 @@ + + + + + + src/extensions/sort/adapterSortabletable.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/sort/adapterSortabletable.js

+
import {Feature} from '../../feature';
+import {isUndef, isObj, EMPTY_FN} from '../../types';
+import {createElm, elm, getText, tag} from '../../dom';
+import {addEvt} from '../../event';
+import {parse as parseNb} from '../../number';
+import {
+    NONE, CELL_TAG, HEADER_TAG, STRING, NUMBER, DATE, FORMATTED_NUMBER,
+    IP_ADDRESS
+} from '../../const';
+import {defaultsStr, defaultsFn, defaultsArr} from '../../settings';
+
+/**
+ * SortableTable Adapter module
+ */
+export default class AdapterSortableTable extends Feature {
+
+    /**
+     * Creates an instance of AdapterSortableTable
+     * @param {TableFilter} tf TableFilter instance
+     * @param {Object} opts Configuration object
+     */
+    constructor(tf, opts) {
+        super(tf, opts.name);
+
+        /**
+         * Module name
+         * @type {String}
+         */
+        this.name = opts.name;
+
+        /**
+         * Module description
+         * @type {String}
+         */
+        this.desc = defaultsStr(opts.description, 'Sortable table');
+
+        /**
+         * Indicate whether table previously sorted
+         * @type {Boolean}
+         * @private
+         */
+        this.sorted = false;
+
+        /**
+         * List of sort type per column basis
+         * @type {Array}
+         */
+        this.sortTypes = defaultsArr(opts.types, tf.colTypes);
+
+        /**
+         * Column to be sorted at initialization, ie:
+         * sort_col_at_start: [1, true]
+         * @type {Array}
+         */
+        this.sortColAtStart = defaultsArr(opts.sort_col_at_start, null);
+
+        /**
+         * Enable asynchronous sort, if triggers are external
+         * @type {Boolean}
+         */
+        this.asyncSort = Boolean(opts.async_sort);
+
+        /**
+         * List of element IDs triggering sort on a per column basis
+         * @type {Array}
+         */
+        this.triggerIds = defaultsArr(opts.trigger_ids, []);
+
+        // edit .sort-arrow.descending / .sort-arrow.ascending in
+        // tablefilter.css to reflect any path change
+        /**
+         * Path to images
+         * @type {String}
+         */
+        this.imgPath = defaultsStr(opts.images_path, tf.themesPath);
+
+        /**
+         * Blank image file name
+         * @type {String}
+         */
+        this.imgBlank = defaultsStr(opts.image_blank, 'blank.png');
+
+        /**
+         * Css class for sort indicator image
+         * @type {String}
+         */
+        this.imgClassName = defaultsStr(opts.image_class_name, 'sort-arrow');
+
+        /**
+         * Css class for ascending sort indicator image
+         * @type {String}
+         */
+        this.imgAscClassName = defaultsStr(opts.image_asc_class_name,
+            'ascending');
+
+        /**
+         * Css class for descending sort indicator image
+         * @type {String}
+         */
+        this.imgDescClassName = defaultsStr(opts.image_desc_class_name,
+            'descending');
+
+        /**
+         * Cell attribute key storing custom value used for sorting
+         * @type {String}
+         */
+        this.customKey = defaultsStr(opts.custom_key, 'data-tf-sortKey');
+
+        /**
+         * Callback fired when sort extension is instanciated
+         * @type {Function}
+         */
+        this.onSortLoaded = defaultsFn(opts.on_sort_loaded, EMPTY_FN);
+
+        /**
+         * Callback fired before a table column is sorted
+         * @type {Function}
+         */
+        this.onBeforeSort = defaultsFn(opts.on_before_sort, EMPTY_FN);
+
+        /**
+         * Callback fired after a table column is sorted
+         * @type {Function}
+         */
+        this.onAfterSort = defaultsFn(opts.on_after_sort, EMPTY_FN);
+
+        /**
+         * SortableTable instance
+         * @private
+         */
+        this.stt = null;
+
+        this.enable();
+    }
+
+    /**
+     * Initializes AdapterSortableTable instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+        let tf = this.tf;
+        let adpt = this;
+
+        // SortableTable class sanity check (sortabletable.js)
+        if (isUndef(SortableTable)) {
+            throw new Error('SortableTable class not found.');
+        }
+
+        // Add any date format if needed
+        this.emitter.emit('add-date-type-formats', this.tf, this.sortTypes);
+
+        this.overrideSortableTable();
+        this.setSortTypes();
+
+        this.onSortLoaded(tf, this);
+
+        /*** SortableTable callbacks ***/
+        this.stt.onbeforesort = function () {
+            adpt.onBeforeSort(tf, adpt.stt.sortColumn);
+
+            /*** sort behaviour for paging ***/
+            if (tf.paging) {
+                tf.feature('paging').disable();
+            }
+        };
+
+        this.stt.onsort = function () {
+            adpt.sorted = true;
+
+            //sort behaviour for paging
+            if (tf.paging) {
+                let paginator = tf.feature('paging');
+                // recalculate valid rows index as sorting may have change it
+                tf.getValidRows(true);
+                paginator.enable();
+                paginator.setPage(paginator.getPage());
+            }
+
+            adpt.onAfterSort(tf, adpt.stt.sortColumn, adpt.stt.descending);
+            adpt.emitter.emit('column-sorted', tf, adpt.stt.sortColumn,
+                adpt.stt.descending);
+        };
+
+        // Column sort at start
+        let sortColAtStart = adpt.sortColAtStart;
+        if (sortColAtStart) {
+            this.stt.sort(sortColAtStart[0], sortColAtStart[1]);
+        }
+
+        this.emitter.on(['sort'],
+            (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));
+
+        /** @inherited */
+        this.initialized = true;
+
+        this.emitter.emit('sort-initialized', tf, this);
+    }
+
+    /**
+     * Sort specified column
+     * @param {Number} colIdx Column index
+     * @param {Boolean} desc Optional: descending manner
+     */
+    sortByColumnIndex(colIdx, desc) {
+        this.stt.sort(colIdx, desc);
+    }
+
+    /**
+     * Set SortableTable overrides for TableFilter integration
+     */
+    overrideSortableTable() {
+        let adpt = this,
+            tf = this.tf;
+
+        /**
+         * Overrides headerOnclick method in order to handle th event
+         * @param  {Object} e [description]
+         */
+        SortableTable.prototype.headerOnclick = function (evt) {
+            if (!adpt.initialized) {
+                return;
+            }
+
+            // find Header element
+            let el = evt.target || evt.srcElement;
+
+            while (el.tagName !== CELL_TAG && el.tagName !== HEADER_TAG) {
+                el = el.parentNode;
+            }
+
+            this.sort(
+                SortableTable.msie ?
+                    SortableTable.getCellIndex(el) : el.cellIndex
+            );
+        };
+
+        /**
+         * Overrides getCellIndex IE returns wrong cellIndex when columns are
+         * hidden
+         * @param  {Object} oTd TD element
+         * @return {Number}     Cell index
+         */
+        SortableTable.getCellIndex = function (oTd) {
+            let cells = oTd.parentNode.cells,
+                l = cells.length, i;
+            for (i = 0; cells[i] !== oTd && i < l; i++) { }
+            return i;
+        };
+
+        /**
+         * Overrides initHeader in order to handle filters row position
+         * @param  {Array} oSortTypes
+         */
+        SortableTable.prototype.initHeader = function (oSortTypes) {
+            let stt = this;
+            if (!stt.tHead) {
+                if (tf.gridLayout) {
+                    stt.tHead = tf.feature('gridLayout').headTbl.tHead;
+                } else {
+                    return;
+                }
+            }
+
+            stt.headersRow = tf.headersRow;
+            let cells = stt.tHead.rows[stt.headersRow].cells;
+            stt.sortTypes = oSortTypes || [];
+            let l = cells.length;
+            let img, c;
+
+            for (let i = 0; i < l; i++) {
+                c = cells[i];
+                if (stt.sortTypes[i] !== null && stt.sortTypes[i] !== 'None') {
+                    c.style.cursor = 'pointer';
+                    img = createElm('img',
+                        ['src', adpt.imgPath + adpt.imgBlank]);
+                    c.appendChild(img);
+                    if (stt.sortTypes[i] !== null) {
+                        c.setAttribute('_sortType', stt.sortTypes[i]);
+                    }
+                    addEvt(c, 'click', stt._headerOnclick);
+                } else {
+                    c.setAttribute('_sortType', oSortTypes[i]);
+                    c._sortType = 'None';
+                }
+            }
+            stt.updateHeaderArrows();
+        };
+
+        /**
+         * Overrides updateHeaderArrows in order to handle arrows indicators
+         */
+        SortableTable.prototype.updateHeaderArrows = function () {
+            let stt = this;
+            let cells, l, img;
+
+            // external headers
+            if (adpt.asyncSort && adpt.triggerIds.length > 0) {
+                let triggers = adpt.triggerIds;
+                cells = [];
+                l = triggers.length;
+                for (let j = 0; j < l; j++) {
+                    cells.push(elm(triggers[j]));
+                }
+            } else {
+                if (!this.tHead) {
+                    return;
+                }
+                cells = stt.tHead.rows[stt.headersRow].cells;
+                l = cells.length;
+            }
+            for (let i = 0; i < l; i++) {
+                let cell = cells[i];
+                if (!cell) {
+                    continue;
+                }
+                let cellAttr = cell.getAttribute('_sortType');
+                if (cellAttr !== null && cellAttr !== 'None') {
+                    img = cell.lastChild || cell;
+                    if (img.nodeName.toLowerCase() !== 'img') {
+                        img = createElm('img',
+                            ['src', adpt.imgPath + adpt.imgBlank]);
+                        cell.appendChild(img);
+                    }
+                    if (i === stt.sortColumn) {
+                        img.className = adpt.imgClassName + ' ' +
+                            (this.descending ?
+                                adpt.imgDescClassName :
+                                adpt.imgAscClassName);
+                    } else {
+                        img.className = adpt.imgClassName;
+                    }
+                }
+            }
+        };
+
+        /**
+         * Overrides getRowValue for custom key value feature
+         * @param  {Object} oRow    Row element
+         * @param  {String} sType
+         * @param  {Number} nColumn
+         * @return {String}
+         */
+        SortableTable.prototype.getRowValue = function (oRow, sType, nColumn) {
+            let stt = this;
+            // if we have defined a custom getRowValue use that
+            let sortTypeInfo = stt._sortTypeInfo[sType];
+            if (sortTypeInfo && sortTypeInfo.getRowValue) {
+                return sortTypeInfo.getRowValue(oRow, nColumn);
+            }
+            let c = oRow.cells[nColumn];
+            let s = SortableTable.getInnerText(c);
+            return stt.getValueFromString(s, sType);
+        };
+
+        /**
+         * Overrides getInnerText in order to avoid Firefox unexpected sorting
+         * behaviour with untrimmed text elements
+         * @param  {Object} oNode DOM element
+         * @return {String}       DOM element inner text
+         */
+        SortableTable.getInnerText = function (oNode) {
+            if (!oNode) {
+                return;
+            }
+            if (oNode.getAttribute(adpt.customKey)) {
+                return oNode.getAttribute(adpt.customKey);
+            } else {
+                return getText(oNode);
+            }
+        };
+    }
+
+    /**
+     * Adds a sort type
+     */
+    addSortType(...args) {
+        // Extract the arguments
+        let [id, caster, sorter] = args;
+        SortableTable.prototype.addSortType(id, caster, sorter);
+    }
+
+    /**
+     * Sets the sort types on a column basis
+     * @private
+     */
+    setSortTypes() {
+        let tf = this.tf,
+            sortTypes = this.sortTypes,
+            _sortTypes = [];
+
+        for (let i = 0; i < tf.nbCells; i++) {
+            let colType;
+            if (sortTypes[i]) {
+                colType = sortTypes[i];
+                if (isObj(colType)) {
+                    if (colType.type === DATE) {
+                        colType = this._addDateType(i, sortTypes);
+                    }
+                    else if (colType.type === FORMATTED_NUMBER) {
+                        let decimal = colType.decimal || tf.decimalSeparator;
+                        colType = this._addNumberType(i, decimal);
+                    }
+                } else {
+                    colType = colType.toLowerCase();
+                    if (colType === DATE) {
+                        colType = this._addDateType(i, sortTypes);
+                    }
+                    else if (colType === FORMATTED_NUMBER ||
+                        colType === NUMBER) {
+                        colType = this._addNumberType(i, tf.decimalSeparator);
+                    }
+                    else if (colType === NONE) {
+                        // TODO: normalise 'none' vs 'None'
+                        colType = 'None';
+                    }
+                }
+            } else {
+                colType = STRING;
+            }
+            _sortTypes.push(colType);
+        }
+
+        //Public TF method to add sort type
+
+        //Custom sort types
+        this.addSortType('caseinsensitivestring', SortableTable.toUpperCase);
+        this.addSortType(STRING);
+        this.addSortType(IP_ADDRESS, ipAddress, sortIP);
+
+        this.stt = new SortableTable(tf.dom(), _sortTypes);
+
+        /*** external table headers adapter ***/
+        if (this.asyncSort && this.triggerIds.length > 0) {
+            let triggers = this.triggerIds;
+            for (let j = 0; j < triggers.length; j++) {
+                if (triggers[j] === null) {
+                    continue;
+                }
+                let trigger = elm(triggers[j]);
+                if (trigger) {
+                    trigger.style.cursor = 'pointer';
+
+                    addEvt(trigger, 'click', (evt) => {
+                        let elm = evt.target;
+                        if (!this.tf.sort) {
+                            return;
+                        }
+                        this.stt.asyncSort(triggers.indexOf(elm.id));
+                    });
+                    trigger.setAttribute('_sortType', _sortTypes[j]);
+                }
+            }
+        }
+    }
+
+    _addDateType(colIndex, types) {
+        let tf = this.tf;
+        let dateType = tf.feature('dateType');
+        let locale = dateType.getOptions(colIndex, types).locale || tf.locale;
+        let colType = `${DATE}-${locale}`;
+
+        this.addSortType(colType, (value) => {
+            let parsedDate = dateType.parse(value, locale);
+            // Invalid date defaults to Wed Feb 04 -768 11:00:00
+            return isNaN(+parsedDate) ? new Date(-86400000000000) : parsedDate;
+        });
+        return colType;
+    }
+
+    _addNumberType(colIndex, decimal) {
+        let colType = `${FORMATTED_NUMBER}${decimal === '.' ? '' : '-custom'}`;
+
+        this.addSortType(colType, (value) => {
+            return parseNb(value, decimal);
+        });
+        return colType;
+    }
+
+    /**
+     * Remove extension
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        let tf = this.tf;
+        this.emitter.off(['sort'],
+            (tf, colIdx, desc) => this.sortByColumnIndex(colIdx, desc));
+        this.sorted = false;
+        this.stt.destroy();
+
+        let ids = tf.getFiltersId();
+        for (let idx = 0; idx < ids.length; idx++) {
+            let header = tf.getHeaderElement(idx);
+            let img = tag(header, 'img');
+
+            if (img.length === 1) {
+                header.removeChild(img[0]);
+            }
+        }
+        this.initialized = false;
+    }
+
+}
+
+//Converters
+function ipAddress(value) {
+    let vals = value.split('.');
+    for (let x in vals) {
+        let val = vals[x];
+        while (3 > val.length) {
+            val = '0' + val;
+        }
+        vals[x] = val;
+    }
+    return vals.join('.');
+}
+
+function sortIP(a, b) {
+    let aa = ipAddress(a.value.toLowerCase());
+    let bb = ipAddress(b.value.toLowerCase());
+    if (aa === bb) {
+        return 0;
+    } else if (aa < bb) {
+        return -1;
+    } else {
+        return 1;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/extensions/sort/sort.js.html b/docs/file/src/extensions/sort/sort.js.html new file mode 100644 index 00000000..12b7d6e7 --- /dev/null +++ b/docs/file/src/extensions/sort/sort.js.html @@ -0,0 +1,159 @@ + + + + + + src/extensions/sort/sort.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/extensions/sort/sort.js

+
import AdapterSortableTable from './adapterSortabletable';
+import {root} from '../../root';
+
+if (!root.SortableTable) {
+    require('script-loader!sortabletable');
+}
+
+export default AdapterSortableTable;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/feature.js.html b/docs/file/src/feature.js.html new file mode 100644 index 00000000..9064b4d3 --- /dev/null +++ b/docs/file/src/feature.js.html @@ -0,0 +1,248 @@ + + + + + + src/feature.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/feature.js

+

+const NOT_IMPLEMENTED = 'Not implemented.';
+
+/**
+ * Base class defining the interface of a TableFilter feature
+ */
+export class Feature {
+    /**
+     * Creates an instance of Feature
+     * @param {Object} tf TableFilter instance
+     * @param {String} feature Feature name known by TableFilter
+     */
+    constructor(tf, feature) {
+        /**
+         * TableFilter instance
+         * @type {TableFilter}
+         */
+        this.tf = tf;
+
+        /**
+         * Feature name
+         * @type {String}
+         */
+        this.feature = feature;
+
+        /**
+         * TableFilter feature setting
+         * @type {Boolean}
+         */
+        this.enabled = tf[feature];
+
+        /**
+         * TableFilter configuration
+         * @type {Object}
+         */
+        this.config = tf.config();
+
+        /**
+         * TableFilter emitter instance
+         * @type {Emitter}
+         */
+        this.emitter = tf.emitter;
+
+        /**
+         * Field indicating whether Feature is initialized
+         * @type {Boolean}
+         */
+        this.initialized = false;
+
+        /** Subscribe to destroy event */
+        this.emitter.on(['destroy'], () => this.destroy());
+    }
+
+    /**
+     * Initialize the feature
+     */
+    init() {
+        throw new Error(NOT_IMPLEMENTED);
+    }
+
+    /**
+     * Reset the feature after being disabled
+     */
+    reset() {
+        this.enable();
+        this.init();
+    }
+
+    /**
+     * Destroy the feature
+     */
+    destroy() {
+        throw new Error(NOT_IMPLEMENTED);
+    }
+
+    /**
+     * Enable the feature
+     */
+    enable() {
+        this.enabled = true;
+    }
+
+    /**
+     * Disable the feature
+     */
+    disable() {
+        this.enabled = false;
+    }
+
+    /**
+     * Indicate whether the feature is enabled or not
+     * @returns {Boolean}
+     */
+    isEnabled() {
+        return this.enabled === true;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/alternateRows.js.html b/docs/file/src/modules/alternateRows.js.html new file mode 100644 index 00000000..68c1c3da --- /dev/null +++ b/docs/file/src/modules/alternateRows.js.html @@ -0,0 +1,292 @@ + + + + + + src/modules/alternateRows.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/alternateRows.js

+
import {Feature} from '../feature';
+import {addClass, removeClass} from '../dom';
+import {defaultsStr} from '../settings';
+
+/**
+ * Rows with alternating background color for improved readability
+ */
+export class AlternateRows extends Feature {
+
+    /**
+     * Creates an instance of AlternateRows.
+     *
+     * @param {Object} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'alternateRows');
+
+        let config = this.config;
+        /**
+         * Css class for even rows (default: 'even')
+         * @type {String}
+         */
+        this.evenCss = defaultsStr(config.even_row_css_class, 'even');
+
+        /**
+         * Css class for odd rows (default: 'odd')
+         * @type {String}
+         */
+        this.oddCss = defaultsStr(config.odd_row_css_class, 'odd');
+    }
+
+    /**
+     * Sets alternating rows color
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        this.processAll();
+
+        // Subscribe to events
+        this.emitter.on(['row-processed', 'row-paged'],
+            (tf, rowIndex, arrIndex, isValid) =>
+                this.processRow(rowIndex, arrIndex, isValid));
+        this.emitter.on(['column-sorted', 'rows-changed'],
+            () => this.processAll());
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Apply background to all valid rows
+     */
+    processAll() {
+        if (!this.isEnabled()) {
+            return;
+        }
+        let tf = this.tf;
+        let validRowsIndex = tf.getValidRows(true);
+        let indexLen = validRowsIndex.length;
+        let idx = 0;
+
+        //alternates bg color
+        for (let j = 0; j < indexLen; j++) {
+            let rowIdx = validRowsIndex[j];
+            this.setRowBg(rowIdx, idx);
+            idx++;
+        }
+    }
+
+    /**
+     * Set/remove row background based on row validation
+     * @param  {Number}  rowIdx  Row index
+     * @param  {Number}  arrIdx  Array index
+     * @param  {Boolean} isValid Valid row flag
+     */
+    processRow(rowIdx, arrIdx, isValid) {
+        if (isValid) {
+            this.setRowBg(rowIdx, arrIdx);
+        } else {
+            this.removeRowBg(rowIdx);
+        }
+    }
+
+    /**
+     * Sets row background color
+     * @param {Number} rowIdx Row index
+     * @param {Number} idx    Valid rows collection index needed to calculate bg
+     * color
+     * @private
+     */
+    setRowBg(rowIdx, idx) {
+        if (!this.isEnabled() || isNaN(rowIdx)) {
+            return;
+        }
+        let rows = this.tf.dom().rows;
+        let i = isNaN(idx) ? rowIdx : idx;
+        this.removeRowBg(rowIdx);
+
+        addClass(rows[rowIdx], (i % 2) ? this.evenCss : this.oddCss);
+    }
+
+    /**
+     * Removes row background color
+     * @param  {Number} idx Row index
+     * @private
+     */
+    removeRowBg(idx) {
+        if (isNaN(idx)) {
+            return;
+        }
+        let rows = this.tf.dom().rows;
+        removeClass(rows[idx], this.oddCss);
+        removeClass(rows[idx], this.evenCss);
+    }
+
+    /**
+     * Removes all alternating backgrounds
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        let nbRows = this.tf.getRowsNb(true);
+        for (let i = 0; i < nbRows; i++) {
+            this.removeRowBg(i);
+        }
+
+        // Unsubscribe to events
+        this.emitter.off(['row-processed', 'row-paged'],
+            (tf, rowIndex, arrIndex, isValid) =>
+                this.processRow(rowIndex, arrIndex, isValid));
+        this.emitter.off(['column-sorted', 'rows-changed'],
+            () => this.processAll());
+
+        this.initialized = false;
+    }
+
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/baseDropdown.js.html b/docs/file/src/modules/baseDropdown.js.html new file mode 100644 index 00000000..0fe16d9d --- /dev/null +++ b/docs/file/src/modules/baseDropdown.js.html @@ -0,0 +1,272 @@ + + + + + + src/modules/baseDropdown.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/baseDropdown.js

+
import {Feature} from '../feature';
+import {
+    ignoreCase, numSortAsc, numSortDesc,
+    dateSortAsc, sortNumberStr, sortDateStr
+} from '../sort';
+import {isArray, isObj} from '../types';
+import {NUMBER, FORMATTED_NUMBER, DATE} from '../const';
+
+/**
+ * Base class for Dropdown and CheckList UI components
+ * @export
+ * @class BaseDropdown
+ * @extends {Feature}
+ */
+export class BaseDropdown extends Feature {
+
+    /**
+     * Creates an instance of BaseDropdown
+     * @param {TableFilter} tf
+     */
+    constructor(tf) {
+        super(tf, 'baseDropdown');
+
+        let f = this.config;
+
+        /**
+         * Filter options custom sorter on a column basis
+         * @type {Object}
+         */
+        this.customSorter = isObj(f.filter_options_sorter) &&
+            isArray(f.filter_options_sorter.col) &&
+            isArray(f.filter_options_sorter.comparer) ?
+            f.filter_options_sorter :
+            null;
+
+        // TODO: move here all properties shared by Dropdown CheckList
+
+        /**
+         * Has custom options
+         * @type {Boolean}
+         * @private
+         */
+        this.isCustom = false;
+
+        /**
+         * List of options values
+         * @type {Array}
+         * @private
+         */
+        this.opts = [];
+
+        /**
+         * List of options texts for custom values
+         * @type {Array}
+         * @private
+         */
+        this.optsTxt = [];
+
+        /**
+         * List of options to be excluded from the checklist filter
+         * @type {Array}
+         * @private
+         */
+        this.excludedOpts = [];
+    }
+
+    /**
+     * Sort passed options based on the type of the specified column
+     * @param {Number} colIndex Column index
+     * @param {Array} [options=[]] Collection of values
+     * @return {Array} Sorted values
+     * @private
+     */
+    sortOptions(colIndex, options = []) {
+        let tf = this.tf;
+
+        if (tf.isCustomOptions(colIndex) || !tf.sortSlc ||
+            (isArray(tf.sortSlc) && tf.sortSlc.indexOf(colIndex) === -1)) {
+            return options;
+        }
+
+        let { caseSensitive, sortNumDesc } = tf;
+        let compareFn;
+
+        if (this.customSorter &&
+            this.customSorter.col.indexOf(colIndex) !== -1) {
+            var idx = this.customSorter.col.indexOf(colIndex);
+            compareFn = this.customSorter.comparer[idx];
+        }
+        else if (tf.hasType(colIndex, [NUMBER, FORMATTED_NUMBER])) {
+            let decimal = tf.getDecimal(colIndex);
+            let comparer = numSortAsc;
+            if (sortNumDesc === true || sortNumDesc.indexOf(colIndex) !== -1) {
+                comparer = numSortDesc;
+            }
+            compareFn = sortNumberStr(comparer, decimal);
+        }
+        else if (tf.hasType(colIndex, [DATE])) {
+            let locale = tf.feature('dateType').getLocale(colIndex);
+            let comparer = dateSortAsc;
+            compareFn = sortDateStr(comparer, locale);
+        } else { // string
+            compareFn = caseSensitive ? undefined : ignoreCase;
+        }
+
+        return options.sort(compareFn);
+    }
+
+    /**
+     * Regenerate filters of specified columns and maintain selection if any
+     * @param {Array} colIndexes Collection of column indexes
+     * @private
+     */
+    refreshFilters(colIndexes) {
+        colIndexes.forEach((colIdx) => {
+            let values = this.getValues(colIdx);
+            this.build(colIdx, this.tf.linkedFilters);
+            this.selectOptions(colIdx, values);
+        });
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/checkList.js.html b/docs/file/src/modules/checkList.js.html new file mode 100644 index 00000000..1715870a --- /dev/null +++ b/docs/file/src/modules/checkList.js.html @@ -0,0 +1,682 @@ + + + + + + src/modules/checkList.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/checkList.js

+
import {BaseDropdown} from './baseDropdown';
+import {
+    addClass, createCheckItem, createText, createElm, elm, getText,
+    removeClass, tag
+} from '../dom';
+import {has} from '../array';
+import {matchCase, trim, rgxEsc} from '../string';
+import {addEvt, removeEvt, targetEvt} from '../event';
+import {isEmpty} from '../types';
+import {CHECKLIST, NONE} from '../const';
+import {defaultsStr, defaultsBool} from '../settings';
+
+/**
+ * Checklist filter UI component
+ * @export
+ * @class CheckList
+ * @extends {BaseDropdown}
+ */
+export class CheckList extends BaseDropdown {
+
+    /**
+     * Creates an instance of CheckList
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'checkList');
+
+        let f = this.config;
+
+        /**
+         * List of container DOM elements
+         * @type {Array}
+         */
+        this.containers = [];
+
+        /**
+         * Css class for the container of the checklist filter (div)
+         * @type {String}
+         */
+        this.containerCssClass = defaultsStr(f.div_checklist_css_class,
+            'div_checklist');
+
+        /**
+         * Css class for the checklist filter element (ul)
+         * @type {String}
+         */
+        this.filterCssClass = defaultsStr(f.checklist_css_class,
+            'flt_checklist');
+
+        /**
+         * Css class for the item of a checklist (li)
+         * @type {String}
+         */
+        this.itemCssClass = defaultsStr(f.checklist_item_css_class,
+            'flt_checklist_item');
+
+        /**
+         * Css class for a selected item of a checklist (li)
+         * @type {String}
+         */
+        this.selectedItemCssClass = defaultsStr(
+            f.checklist_selected_item_css_class,
+            'flt_checklist_slc_item'
+        );
+
+        /**
+         * Text placed in the filter's container when load filter on demand
+         * feature is enabled
+         * @type {String}
+         */
+        this.activateText = defaultsStr(
+            f.activate_checklist_text,
+            'Click to load filter data'
+        );
+
+        /**
+         * Css class for a disabled item of a checklist (li)
+         * @type {String}
+         */
+        this.disabledItemCssClass = defaultsStr(
+            f.checklist_item_disabled_css_class,
+            'flt_checklist_item_disabled'
+        );
+
+        /**
+         * Enable the reset filter option as first item
+         * @type {Boolean}
+         */
+        this.enableResetOption = defaultsBool(f.enable_checklist_reset_filter,
+            true);
+
+        /**
+         * Prefix for container element ID
+         * @type {String}
+         * @private
+         */
+        this.prfx = 'chkdiv_';
+    }
+
+    /**
+     * Checklist option click event handler
+     * @param {Event} evt
+     * @private
+     */
+    optionClick(evt) {
+        let elm = targetEvt(evt);
+        let tf = this.tf;
+
+        this.emitter.emit('filter-focus', tf, elm);
+        this.setCheckListValues(elm);
+        tf.filter();
+    }
+
+    /**
+     * Checklist container click event handler for load-on-demand feature
+     * @param {Event} evt
+     * @private
+     */
+    onCheckListClick(evt) {
+        let elm = targetEvt(evt);
+        if (this.tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {
+            let ct = elm.getAttribute('ct');
+            let div = this.containers[ct];
+            this.build(ct);
+            removeEvt(div, 'click', (evt) => this.onCheckListClick(evt));
+        }
+    }
+
+    /**
+     * Refresh all checklist filters
+     */
+    refreshAll() {
+        let colIdxs = this.tf.getFiltersByType(CHECKLIST, true);
+        this.refreshFilters(colIdxs);
+    }
+
+    /**
+     * Initialize checklist filter
+     * @param  {Number}     colIndex   Column index
+     * @param  {Boolean}    isExternal External filter flag
+     * @param  {DOMElement} container  Dom element containing the filter
+     */
+    init(colIndex, isExternal, container) {
+        let tf = this.tf;
+        let externalFltTgtId = isExternal ?
+            tf.externalFltTgtIds[colIndex] : null;
+
+        let divCont = createElm('div',
+            ['id', `${this.prfx}${colIndex}_${tf.id}`],
+            ['ct', colIndex], ['filled', '0']);
+        divCont.className = this.containerCssClass;
+
+        //filter is appended in desired element
+        if (externalFltTgtId) {
+            elm(externalFltTgtId).appendChild(divCont);
+        } else {
+            container.appendChild(divCont);
+        }
+
+        this.containers[colIndex] = divCont;
+        tf.fltIds.push(tf.buildFilterId(colIndex));
+
+        if (!tf.loadFltOnDemand) {
+            this.build(colIndex);
+        } else {
+            addEvt(divCont, 'click', (evt) => this.onCheckListClick(evt));
+            divCont.appendChild(createText(this.activateText));
+        }
+
+        this.emitter.on(
+            ['build-checklist-filter'],
+            (tf, colIndex, isLinked) => this.build(colIndex, isLinked)
+        );
+
+        this.emitter.on(
+            ['select-checklist-options'],
+            (tf, colIndex, values) => this.selectOptions(colIndex, values)
+        );
+
+        this.emitter.on(['rows-changed'], () => this.refreshAll());
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Build checklist UI
+     * @param  {Number}  colIndex   Column index
+     * @param  {Boolean} isLinked    Enable linked filters behaviour
+     */
+    build(colIndex, isLinked = false) {
+        let tf = this.tf;
+        colIndex = parseInt(colIndex, 10);
+
+        this.emitter.emit('before-populating-filter', tf, colIndex);
+
+        /** @inherited */
+        this.opts = [];
+        /** @inherited */
+        this.optsTxt = [];
+
+        let flt = this.containers[colIndex];
+        let ul = createElm('ul',
+            ['id', tf.fltIds[colIndex]],
+            ['colIndex', colIndex]);
+        ul.className = this.filterCssClass;
+
+        let rows = tf.dom().rows;
+        let nbRows = tf.getRowsNb(true);
+        let caseSensitive = tf.caseSensitive;
+        /** @inherited */
+        this.isCustom = tf.isCustomOptions(colIndex);
+
+        //Retrieves custom values
+        if (this.isCustom) {
+            let customValues = tf.getCustomOptions(colIndex);
+            this.opts = customValues[0];
+            this.optsTxt = customValues[1];
+        }
+
+        let activeIdx;
+        let activeFilterId = tf.getActiveFilterId();
+        if (isLinked && activeFilterId) {
+            activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);
+        }
+
+        let filteredDataCol = [];
+        if (isLinked && tf.disableExcludedOptions) {
+            /** @inherited */
+            this.excludedOpts = [];
+        }
+
+        flt.innerHTML = '';
+
+        for (let k = tf.refRow; k < nbRows; k++) {
+            // always visible rows don't need to appear on selects as always
+            // valid
+            if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {
+                continue;
+            }
+
+            let cells = rows[k].cells;
+            let ncells = cells.length;
+
+            // checks if row has exact cell #
+            if (ncells !== tf.nbCells || this.isCustom) {
+                continue;
+            }
+
+            // this loop retrieves cell data
+            for (let j = 0; j < ncells; j++) {
+                if (colIndex !== j) {
+                    continue;
+                }
+                if (isLinked && !tf.disableExcludedOptions &&
+                    (!tf.paging && !tf.isRowDisplayed(k)) ||
+                    (tf.paging && activeIdx && !tf.isRowValid(k))) {
+                    continue;
+                }
+
+                let cellValue = tf.getCellValue(cells[j]);
+                //Vary Peter's patch
+                let cellString = matchCase(cellValue, caseSensitive);
+                // checks if celldata is already in array
+                if (!has(this.opts, cellString, caseSensitive)) {
+                    this.opts.push(cellValue);
+                }
+                let filteredCol = filteredDataCol[j];
+                if (isLinked && tf.disableExcludedOptions) {
+                    if (!filteredCol) {
+                        filteredCol = tf.getVisibleColumnValues(j);
+                    }
+                    if (!has(filteredCol, cellString, caseSensitive) &&
+                        !has(this.excludedOpts, cellString,
+                            caseSensitive)) {
+                        this.excludedOpts.push(cellValue);
+                    }
+                }
+            }
+        }
+
+        //sort options
+        this.opts = this.sortOptions(colIndex, this.opts);
+        if (this.excludedOpts) {
+            this.excludedOpts = this.sortOptions(colIndex, this.excludedOpts);
+        }
+
+        this.addChecks(colIndex, ul);
+
+        if (tf.loadFltOnDemand) {
+            flt.innerHTML = '';
+        }
+        flt.appendChild(ul);
+        flt.setAttribute('filled', '1');
+
+        this.emitter.emit('after-populating-filter', tf, colIndex, flt);
+    }
+
+    /**
+     * Add checklist options
+     * @param {Number} colIndex  Column index
+     * @param {Object} ul        Ul element
+     * @private
+     */
+    addChecks(colIndex, ul) {
+        let tf = this.tf;
+        let chkCt = this.addTChecks(colIndex, ul);
+
+        for (let y = 0; y < this.opts.length; y++) {
+            let val = this.opts[y]; //item value
+            let lbl = this.isCustom ? this.optsTxt[y] : val; //item text
+            let fltId = tf.fltIds[colIndex];
+            let li = createCheckItem(`${fltId}_${(y + chkCt)}`, val, lbl);
+            li.className = this.itemCssClass;
+
+            if (tf.linkedFilters && tf.disableExcludedOptions &&
+                has(this.excludedOpts, matchCase(val, tf.caseSensitive),
+                    tf.caseSensitive)) {
+                addClass(li, this.disabledItemCssClass);
+                li.check.disabled = true;
+                li.disabled = true;
+            } else {
+                addEvt(li.check, 'click', evt => this.optionClick(evt));
+            }
+            ul.appendChild(li);
+
+            if (val === '') {
+                //item is hidden
+                li.style.display = NONE;
+            }
+        }
+    }
+
+    /**
+     * Add checklist header option
+     * @param {Number} colIndex Column index
+     * @param {Object} ul       Ul element
+     * @private
+     */
+    addTChecks(colIndex, ul) {
+        let tf = this.tf;
+        let chkCt = 1;
+        let fltId = tf.fltIds[colIndex];
+        let li0 = createCheckItem(`${fltId}_0`, '',
+            tf.getClearFilterText(colIndex));
+        li0.className = this.itemCssClass;
+        ul.appendChild(li0);
+
+        addEvt(li0.check, 'click', evt => this.optionClick(evt));
+
+        if (!this.enableResetOption) {
+            li0.style.display = NONE;
+        }
+
+        if (tf.enableEmptyOption) {
+            let li1 = createCheckItem(`${fltId}_1`, tf.emOperator,
+                tf.emptyText);
+            li1.className = this.itemCssClass;
+            ul.appendChild(li1);
+            addEvt(li1.check, 'click', evt => this.optionClick(evt));
+            chkCt++;
+        }
+
+        if (tf.enableNonEmptyOption) {
+            let li2 = createCheckItem(`${fltId}_2`, tf.nmOperator,
+                tf.nonEmptyText);
+            li2.className = this.itemCssClass;
+            ul.appendChild(li2);
+            addEvt(li2.check, 'click', evt => this.optionClick(evt));
+            chkCt++;
+        }
+        return chkCt;
+    }
+
+    /**
+     * Store checked options in DOM element attribute
+     * @param {Object} o checklist option DOM element
+     * @private
+     */
+    setCheckListValues(o) {
+        if (!o) {
+            return;
+        }
+
+        let tf = this.tf;
+        let chkValue = o.value; //checked item value
+        // TODO: provide helper to extract column index, ugly!
+        let chkIndex = parseInt(o.id.split('_')[2], 10);
+        let colIdx = tf.getColumnIndexFromFilterId(o.id);
+        let itemTag = 'LI';
+
+        let n = tf.getFilterElement(parseInt(colIdx, 10));
+        let li = n.childNodes[chkIndex];
+        let colIndex = n.getAttribute('colIndex');
+        let fltValue = n.getAttribute('value'); //filter value (ul tag)
+        let fltIndexes = n.getAttribute('indexes'); //selected items (ul tag)
+
+        if (o.checked) {
+            //show all item
+            if (chkValue === '') {
+                if ((fltIndexes && fltIndexes !== '')) {
+                    //items indexes
+                    let indSplit = fltIndexes.split(tf.separator);
+                    //checked items loop
+                    for (let u = 0; u < indSplit.length; u++) {
+                        //checked item
+                        let cChk = elm(tf.fltIds[colIndex] + '_' +
+                            indSplit[u]);
+                        if (cChk) {
+                            cChk.checked = false;
+                            removeClass(n.childNodes[indSplit[u]],
+                                this.selectedItemCssClass);
+                        }
+                    }
+                }
+                n.setAttribute('value', '');
+                n.setAttribute('indexes', '');
+
+            } else {
+                fltValue = (fltValue) ? fltValue : '';
+                chkValue = trim(fltValue + ' ' + chkValue + ' ' +
+                    tf.orOperator);
+                chkIndex = fltIndexes + chkIndex + tf.separator;
+                n.setAttribute('value', chkValue);
+                n.setAttribute('indexes', chkIndex);
+                //1st option unchecked
+                if (elm(tf.fltIds[colIndex] + '_0')) {
+                    elm(tf.fltIds[colIndex] + '_0').checked = false;
+                }
+            }
+
+            if (li.nodeName === itemTag) {
+                removeClass(n.childNodes[0], this.selectedItemCssClass);
+                addClass(li, this.selectedItemCssClass);
+            }
+        } else { //removes values and indexes
+            if (chkValue !== '') {
+                let replaceValue = new RegExp(
+                    rgxEsc(chkValue + ' ' + tf.orOperator));
+                fltValue = fltValue.replace(replaceValue, '');
+                n.setAttribute('value', trim(fltValue));
+
+                let replaceIndex = new RegExp(
+                    rgxEsc(chkIndex + tf.separator));
+                fltIndexes = fltIndexes.replace(replaceIndex, '');
+                n.setAttribute('indexes', fltIndexes);
+            }
+            if (li.nodeName === itemTag) {
+                removeClass(li, this.selectedItemCssClass);
+            }
+        }
+    }
+
+    /**
+     * Select filter options programmatically
+     * @param  {Number} colIndex Column index
+     * @param  {Array}  values   Array of option values to select
+     */
+    selectOptions(colIndex, values = []) {
+        let tf = this.tf;
+        let flt = tf.getFilterElement(colIndex);
+        if (tf.getFilterType(colIndex) !== CHECKLIST || !flt ||
+            values.length === 0) {
+            return;
+        }
+
+        let lisNb = tag(flt, 'li').length;
+
+        flt.setAttribute('value', '');
+        flt.setAttribute('indexes', '');
+
+        for (let k = 0; k < lisNb; k++) {
+            let li = tag(flt, 'li')[k];
+            let lbl = tag(li, 'label')[0];
+            let chk = tag(li, 'input')[0];
+            let lblTxt = matchCase(getText(lbl), tf.caseSensitive);
+
+            if (lblTxt !== '' && has(values, lblTxt, tf.caseSensitive)) {
+                chk.checked = true;
+            } else {
+                // Check non-empty-text or empty-text option
+                if (values.indexOf(tf.nmOperator) !== -1 &&
+                    lblTxt === matchCase(tf.nonEmptyText, tf.caseSensitive)) {
+                    chk.checked = true;
+                }
+                else if (values.indexOf(tf.emOperator) !== -1 &&
+                    lblTxt === matchCase(tf.emptyText, tf.caseSensitive)) {
+                    chk.checked = true;
+                } else {
+                    chk.checked = false;
+                }
+            }
+            this.setCheckListValues(chk);
+        }
+    }
+
+    /**
+     * Get filter values for a given column index
+     * @param {Number} colIndex Column index
+     * @returns {Array} values Collection of selected values
+     */
+    getValues(colIndex) {
+        let tf = this.tf;
+        let flt = tf.getFilterElement(colIndex);
+        let fltAttr = flt.getAttribute('value');
+        let values = isEmpty(fltAttr) ? '' : fltAttr;
+        //removes last operator ||
+        values = values.substr(0, values.length - 3);
+        //turn || separated values into array
+        values = values.split(' ' + tf.orOperator + ' ');
+
+        return values;
+    }
+
+    /**
+     * Destroy CheckList instance
+     */
+    destroy() {
+        this.emitter.off(
+            ['build-checklist-filter'],
+            (tf, colIndex, isLinked) => this.build(colIndex, isLinked)
+        );
+        this.emitter.off(
+            ['select-checklist-options'],
+            (tf, colIndex, values) => this.selectOptions(colIndex, values)
+        );
+        this.emitter.off(['rows-changed'], () => this.refreshAll());
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/clearButton.js.html b/docs/file/src/modules/clearButton.js.html new file mode 100644 index 00000000..ea822680 --- /dev/null +++ b/docs/file/src/modules/clearButton.js.html @@ -0,0 +1,280 @@ + + + + + + src/modules/clearButton.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/clearButton.js

+
import {Feature} from '../feature';
+import {createElm, createText, elm, removeElm} from '../dom';
+import {addEvt} from '../event';
+import {defaultsStr} from '../settings';
+
+/**
+ * Clear button UI component
+ */
+export class ClearButton extends Feature {
+
+    /**
+     * Creates an instance of ClearButton
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'btnReset');
+
+        let f = this.config;
+
+        /**
+         * Container element ID
+         * @type {String}
+         */
+        this.targetId = defaultsStr(f.btn_reset_target_id, null);
+
+        /**
+         * Clear button container element
+         * @type {DOMElement}
+         * @private
+         */
+        this.container = null;
+
+        /**
+         * Clear button element
+         * @type {DOMElement}
+         * @private
+         */
+        this.element = null;
+
+        /**
+         * Text for the clear button
+         * @type {String}
+         */
+        this.text = defaultsStr(f.btn_reset_text, 'Reset');
+
+        /**
+         * Css class for reset button
+         * @type {String}
+         */
+        this.cssClass = defaultsStr(f.btn_reset_css_class, 'reset');
+
+        /**
+         * Tooltip text for the clear button
+         * @type {String}
+         */
+        this.tooltip = f.btn_reset_tooltip || 'Clear filters';
+
+        /**
+         * Custom Html string for the clear button
+         * @type {String}
+         */
+        this.html = defaultsStr(f.btn_reset_html,
+            (!tf.enableIcons ? null :
+                '<input type="button" value="" class="' + this.cssClass +
+                '" ' + 'title="' + this.tooltip + '" />'));
+    }
+
+    /**
+     * Click event handler for clear button
+     * @private
+     */
+    onClick() {
+        if (!this.isEnabled()) {
+            return;
+        }
+        this.tf.clearFilters();
+    }
+
+    /**
+     * Initialize clear button component
+     */
+    init() {
+        let tf = this.tf;
+
+        if (this.initialized) {
+            return;
+        }
+
+        let cont = createElm('span');
+
+        // reset button is added to defined element
+        if (!this.targetId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.targetId ? tf.rDiv : elm(this.targetId);
+        targetEl.appendChild(cont);
+
+        if (!this.html) {
+            let fltReset = createElm('a', ['href', 'javascript:void(0);']);
+            fltReset.className = this.cssClass;
+            fltReset.appendChild(createText(this.text));
+            cont.appendChild(fltReset);
+            addEvt(fltReset, 'click', () => this.onClick());
+        } else {
+            cont.innerHTML = this.html;
+            let resetEl = cont.firstChild;
+            addEvt(resetEl, 'click', () => this.onClick());
+        }
+        this.element = cont.firstChild;
+        this.container = cont;
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Destroy ClearButton instance
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        removeElm(this.element);
+        removeElm(this.container);
+        this.element = null;
+        this.container = null;
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/dateType.js.html b/docs/file/src/modules/dateType.js.html new file mode 100644 index 00000000..db0853b4 --- /dev/null +++ b/docs/file/src/modules/dateType.js.html @@ -0,0 +1,308 @@ + + + + + + src/modules/dateType.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/dateType.js

+
import {Date as SugarDate} from 'sugar-date';
+import 'sugar-date/locales';
+import {Feature} from '../feature';
+import {isObj, isArray} from '../types';
+import {DATE} from '../const';
+import {root} from '../root';
+
+/**
+ * Wrapper for Sugar Date module providing datetime helpers and locales
+ * @export
+ * @class DateType
+ */
+export class DateType extends Feature {
+
+    /**
+     * Creates an instance of DateType
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'dateType');
+
+        /**
+         * Global locale
+         * @type {String}
+         */
+        this.locale = tf.locale;
+
+        /**
+         * Sugar Date instance
+         * @type {Object}
+         */
+        this.datetime = SugarDate;
+
+        this.enable();
+    }
+
+    /**
+     * Initialize DateType instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        // Set global locale
+        this.datetime.setLocale(this.locale);
+
+        // Add formats from column types configuration if any
+        this.addConfigFormats(this.tf.colTypes);
+
+        this.emitter.on(
+            ['add-date-type-formats'],
+            (tf, types) => this.addConfigFormats(types)
+        );
+
+        // Broadcast date-type initialization
+        this.emitter.emit('date-type-initialized', this.tf, this);
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Parse a string representation of a date for a specified locale and return
+     * a date object
+     * @param {String} dateStr String representation of a date
+     * @param {String} localeCode Locale code (ie 'en-us')
+     * @returns {Date}
+     */
+    parse(dateStr, localeCode) {
+        return this.datetime.create(dateStr, localeCode);
+    }
+
+    /**
+     * Check string representation of a date for a specified locale is valid
+     * @param {any} dateStr String representation of a date
+     * @param {any} localeCode Locale code (ie 'en-us')
+     * @returns {Boolean}
+     */
+    isValid(dateStr, localeCode) {
+        return this.datetime.isValid(this.parse(dateStr, localeCode));
+    }
+
+    /**
+     * Return the type object of a specified column as per configuration or
+     * passed collection
+     * @param {Number} colIndex Column index
+     * @param {Array} types Collection of column types, optional
+     * @returns {Object}
+     */
+    getOptions(colIndex, types) {
+        types = types || this.tf.colTypes;
+        let colType = types[colIndex];
+        return isObj(colType) ? colType : {};
+    }
+
+    /**
+     * Return the locale code for supplied column index as per configuration
+     * or global setting
+     * @param {Number} colIndex Column index
+     * @returns {String} Locale code (ie: 'en-us')
+     */
+    getLocale(colIndex) {
+        return this.getOptions(colIndex).locale || this.locale;
+    }
+
+    /**
+     * Add date time format(s) to a locale as specified by the passed
+     * collection of column types, ie:
+     *  [
+     *      'string',
+     *      'number',
+     *      { type: 'date', locale: 'en', format: ['{dd}/{MM}/{yyyy}']}
+     * ]
+     *
+     * @param {Array} [types=[]] Collection of column types
+     */
+    addConfigFormats(types=[]) {
+        types.forEach((type, idx) => {
+            let options = this.getOptions(idx, types);
+            if (options.type === DATE && options.hasOwnProperty('format')) {
+                let locale = this.datetime.getLocale(
+                    options.locale || this.locale
+                );
+                let formats = isArray(options.format) ?
+                    options.format : [options.format];
+
+                // Sugar date module throws exceptions with locale.addFormat
+                try {
+                    formats.forEach((format) => {
+                        locale.addFormat(format);
+                    });
+                } catch (ex) {
+                    root.console.error(ex);
+                }
+            }
+        });
+    }
+
+    /**
+     * Remove DateType instance
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        // TODO: remove added formats
+
+        this.emitter.off(
+            ['add-date-type-formats'],
+            (tf, types) => this.addConfigFormats(types)
+        );
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/dropdown.js.html b/docs/file/src/modules/dropdown.js.html new file mode 100644 index 00000000..eb855e66 --- /dev/null +++ b/docs/file/src/modules/dropdown.js.html @@ -0,0 +1,534 @@ + + + + + + src/modules/dropdown.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/dropdown.js

+
import {BaseDropdown} from './baseDropdown';
+import {createElm, createOpt, elm} from '../dom';
+import {has} from '../array';
+import {matchCase} from '../string';
+import {addEvt, targetEvt} from '../event';
+import {SELECT, MULTIPLE, NONE} from '../const';
+import {defaultsStr, defaultsBool} from '../settings';
+
+/**
+ * Dropdown filter UI component
+ * @export
+ * @class Dropdown
+ * @extends {BaseDropdown}
+ */
+export class Dropdown extends BaseDropdown {
+
+    /**
+     * Creates an instance of Dropdown
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'dropdown');
+
+        // Configuration object
+        let f = this.config;
+
+        /**
+         * Enable the reset filter option as first item
+         * @type {Boolean}
+         */
+        this.enableSlcResetFilter =
+            defaultsBool(f.enable_slc_reset_filter, true);
+
+        /**
+         * Non empty option text
+         * @type {String}
+         */
+        this.nonEmptyText = defaultsStr(f.non_empty_text, '(Non empty)');
+
+        /**
+         * Tooltip text appearing on multiple select
+         * @type {String}
+         */
+        this.multipleSlcTooltip = defaultsStr(f.multiple_slc_tooltip,
+            'Use Ctrl/Cmd key for multiple selections');
+    }
+
+
+    /**
+     * Drop-down filter focus event handler
+     * @param {Event} e DOM Event
+     * @private
+     */
+    onSlcFocus(e) {
+        let elm = targetEvt(e);
+        let tf = this.tf;
+        // select is populated when element has focus
+        if (tf.loadFltOnDemand && elm.getAttribute('filled') === '0') {
+            let ct = elm.getAttribute('ct');
+            this.build(ct);
+        }
+        this.emitter.emit('filter-focus', tf, elm);
+    }
+
+    /**
+     * Drop-down filter change event handler
+     * @private
+     */
+    onSlcChange() {
+        if (this.tf.onSlcChange) {
+            this.tf.filter();
+        }
+    }
+
+    /**
+     * Refresh all drop-down filters
+     */
+    refreshAll() {
+        let selectFlts = this.tf.getFiltersByType(SELECT, true);
+        let multipleFlts = this.tf.getFiltersByType(MULTIPLE, true);
+        let colIdxs = selectFlts.concat(multipleFlts);
+        this.refreshFilters(colIdxs);
+    }
+
+    /**
+     * Initialize drop-down filter
+     * @param  {Number}     colIndex   Column index
+     * @param  {Boolean}    isExternal External filter flag
+     * @param  {DOMElement} container  Dom element containing the filter
+     */
+    init(colIndex, isExternal, container) {
+        let tf = this.tf;
+        let col = tf.getFilterType(colIndex);
+        let externalFltTgtId = isExternal ?
+            tf.externalFltTgtIds[colIndex] : null;
+
+        let slc = createElm(SELECT,
+            ['id', tf.buildFilterId(colIndex)],
+            ['ct', colIndex], ['filled', '0']
+        );
+
+        if (col === MULTIPLE) {
+            slc.multiple = MULTIPLE;
+            slc.title = this.multipleSlcTooltip;
+        }
+        slc.className = col.toLowerCase() === SELECT ?
+            tf.fltCssClass : tf.fltMultiCssClass;
+
+        //filter is appended in container element
+        if (externalFltTgtId) {
+            elm(externalFltTgtId).appendChild(slc);
+        } else {
+            container.appendChild(slc);
+        }
+
+        tf.fltIds.push(slc.id);
+
+        if (!tf.loadFltOnDemand) {
+            this.build(colIndex);
+        } else {
+            //1st option is created here since build isn't invoked
+            let opt0 = createOpt(tf.getClearFilterText(colIndex), '');
+            slc.appendChild(opt0);
+        }
+
+        addEvt(slc, 'change', () => this.onSlcChange());
+        addEvt(slc, 'focus', (e) => this.onSlcFocus(e));
+
+        this.emitter.on(
+            ['build-select-filter'],
+            (tf, colIndex, isLinked, isExternal) =>
+                this.build(colIndex, isLinked, isExternal)
+        );
+        this.emitter.on(
+            ['select-options'],
+            (tf, colIndex, values) => this.selectOptions(colIndex, values)
+        );
+        this.emitter.on(['rows-changed'], () => this.refreshAll());
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Build drop-down filter UI
+     * @param  {Number}  colIndex    Column index
+     * @param  {Boolean} isLinked    Enable linked filters behaviour
+     */
+    build(colIndex, isLinked = false) {
+        let tf = this.tf;
+        colIndex = parseInt(colIndex, 10);
+
+        this.emitter.emit('before-populating-filter', tf, colIndex);
+
+        /** @inherited */
+        this.opts = [];
+        /** @inherited */
+        this.optsTxt = [];
+
+        let slcId = tf.fltIds[colIndex];
+        let slc = elm(slcId);
+        let rows = tf.dom().rows;
+        let nbRows = tf.getRowsNb(true);
+
+        //custom select test
+        /** @inherited */
+        this.isCustom = tf.isCustomOptions(colIndex);
+
+        //Retrieves custom values
+        if (this.isCustom) {
+            let customValues = tf.getCustomOptions(colIndex);
+            this.opts = customValues[0];
+            this.optsTxt = customValues[1];
+        }
+
+        //custom selects text
+        let activeIdx;
+        let activeFilterId = tf.getActiveFilterId();
+        if (isLinked && activeFilterId) {
+            activeIdx = tf.getColumnIndexFromFilterId(activeFilterId);
+        }
+
+        let excludedOpts = null,
+            filteredDataCol = null;
+        if (isLinked && tf.disableExcludedOptions) {
+            excludedOpts = [];
+            filteredDataCol = [];
+        }
+
+        for (let k = tf.refRow; k < nbRows; k++) {
+            // always visible rows don't need to appear on selects as always
+            // valid
+            if (tf.hasVisibleRows && tf.visibleRows.indexOf(k) !== -1) {
+                continue;
+            }
+
+            let cell = rows[k].cells,
+                nchilds = cell.length;
+
+            // checks if row has exact cell #
+            if (nchilds !== tf.nbCells || this.isCustom) {
+                continue;
+            }
+
+            // this loop retrieves cell data
+            for (let j = 0; j < nchilds; j++) {
+                if (colIndex !== j) {
+                    continue;
+                }
+                if (isLinked && !tf.disableExcludedOptions &&
+                    (!tf.paging && !tf.isRowDisplayed(k)) ||
+                    (tf.paging && activeIdx && !tf.isRowValid(k))) {
+                    continue;
+                }
+
+                let cellValue = tf.getCellValue(cell[j]),
+                    //Vary Peter's patch
+                    cellString = matchCase(cellValue, tf.caseSensitive);
+
+                // checks if celldata is already in array
+                if (!has(this.opts, cellString, tf.caseSensitive)) {
+                    this.opts.push(cellValue);
+                }
+
+                if (isLinked && tf.disableExcludedOptions) {
+                    let filteredCol = filteredDataCol[j];
+                    if (!filteredCol) {
+                        filteredCol = tf.getVisibleColumnValues(j);
+                    }
+                    if (!has(filteredCol, cellString, tf.caseSensitive) &&
+                        !has(excludedOpts, cellString, tf.caseSensitive)) {
+                        excludedOpts.push(cellValue);
+                    }
+                }
+            }//for j
+        }//for k
+
+        //sort options
+        this.opts = this.sortOptions(colIndex, this.opts);
+        if (excludedOpts) {
+            excludedOpts = this.sortOptions(colIndex, excludedOpts);
+        }
+
+        //populates drop-down
+        this.addOptions(colIndex, slc, isLinked, excludedOpts);
+
+        this.emitter.emit('after-populating-filter', tf, colIndex, slc);
+    }
+
+    /**
+     * Add drop-down options
+     * @param {Number} colIndex     Column index
+     * @param {Object} slc          Select Dom element
+     * @param {Boolean} isLinked    Enable linked refresh behaviour
+     * @param {Array} excludedOpts  Array of excluded options
+     */
+    addOptions(colIndex, slc, isLinked, excludedOpts) {
+        let tf = this.tf,
+            slcValue = slc.value;
+
+        slc.innerHTML = '';
+        slc = this.addFirstOption(slc);
+
+        for (let y = 0; y < this.opts.length; y++) {
+            if (this.opts[y] === '') {
+                continue;
+            }
+            let val = this.opts[y]; //option value
+            let lbl = this.isCustom ? this.optsTxt[y] : val; //option text
+            let isDisabled = false;
+            if (isLinked && tf.disableExcludedOptions &&
+                has(excludedOpts, matchCase(val, tf.caseSensitive),
+                    tf.caseSensitive)) {
+                isDisabled = true;
+            }
+
+            let opt;
+            //fill select on demand
+            if (tf.loadFltOnDemand && slcValue === this.opts[y] &&
+                tf.getFilterType(colIndex) === SELECT) {
+                opt = createOpt(lbl, val, true);
+            } else {
+                opt = createOpt(lbl, val, false);
+            }
+            if (isDisabled) {
+                opt.disabled = true;
+            }
+            slc.appendChild(opt);
+        }// for y
+
+        slc.setAttribute('filled', '1');
+    }
+
+    /**
+     * Add drop-down header option
+     * @param {Object} slc Select DOM element
+     */
+    addFirstOption(slc) {
+        let tf = this.tf;
+        let colIdx = tf.getColumnIndexFromFilterId(slc.id);
+        let opt0 = createOpt((!this.enableSlcResetFilter ?
+            '' : tf.getClearFilterText(colIdx)), '');
+        if (!this.enableSlcResetFilter) {
+            opt0.style.display = NONE;
+        }
+        slc.appendChild(opt0);
+        if (tf.enableEmptyOption) {
+            let opt1 = createOpt(tf.emptyText, tf.emOperator);
+            slc.appendChild(opt1);
+        }
+        if (tf.enableNonEmptyOption) {
+            let opt2 = createOpt(tf.nonEmptyText, tf.nmOperator);
+            slc.appendChild(opt2);
+        }
+        return slc;
+    }
+
+    /**
+     * Select filter options programmatically
+     * @param  {Number} colIndex Column index
+     * @param  {Array}  values   Array of option values to select
+     */
+    selectOptions(colIndex, values = []) {
+        let tf = this.tf;
+        if (values.length === 0) {
+            return;
+        }
+        let slc = tf.getFilterElement(colIndex);
+        [].forEach.call(slc.options, (option) => {
+            // Empty value means clear all selections and first option is the
+            // clear all option
+            if (values[0] === '' || option.value === '') {
+                option.selected = false;
+            }
+
+            if (option.value !== '' && has(values, option.value, true)) {
+                option.selected = true;
+            }//if
+        });
+    }
+
+    /**
+     * Get filter values for a given column index
+     * @param {Number} colIndex Column index
+     * @returns {Array}  values  Array of selected values
+     */
+    getValues(colIndex) {
+        let tf = this.tf;
+        let slc = tf.getFilterElement(colIndex);
+        let values = [];
+
+        // IE >= 9 does not support the selectedOptions property :(
+        if (slc.selectedOptions) {
+            [].forEach.call(slc.selectedOptions,
+                option => values.push(option.value));
+        } else {
+            [].forEach.call(slc.options, (option) => {
+                if (option.selected) {
+                    values.push(option.value);
+                }
+            });
+        }
+
+        return values;
+    }
+
+    /**
+     * Destroy Dropdown instance
+     */
+    destroy() {
+        this.emitter.off(
+            ['build-select-filter'],
+            (colIndex, isLinked, isExternal) =>
+                this.build(colIndex, isLinked, isExternal)
+        );
+        this.emitter.off(
+            ['select-options'],
+            (tf, colIndex, values) => this.selectOptions(colIndex, values)
+        );
+        this.emitter.off(['rows-changed'], () => this.refreshAll());
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/gridLayout.js.html b/docs/file/src/modules/gridLayout.js.html new file mode 100644 index 00000000..3afa34da --- /dev/null +++ b/docs/file/src/modules/gridLayout.js.html @@ -0,0 +1,634 @@ + + + + + + src/modules/gridLayout.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/gridLayout.js

+
import {Feature} from '../feature';
+import {createElm, removeElm, elm, tag} from '../dom';
+import {addEvt, targetEvt} from '../event';
+import {contains} from '../string';
+import {NONE} from '../const';
+import {
+    defaultsBool, defaultsStr, defaultsNb, defaultsArr
+} from '../settings';
+
+/**
+ * Grid layout, table with fixed headers
+ */
+export class GridLayout extends Feature {
+
+    /**
+     * Creates an instance of GridLayout
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'gridLayout');
+
+        let f = this.config.grid_layout || {};
+
+        /**
+         * Grid-layout container width as CSS string
+         * @type {String}
+         */
+        this.width = defaultsStr(f.width, null);
+
+        /**
+         * Grid-layout container height as CSS string
+         * @type {String}
+         */
+        this.height = defaultsStr(f.height, null);
+
+        /**
+         * Css class for main container element
+         * @type {String}
+         */
+        this.mainContCssClass = defaultsStr(f.cont_css_class, 'grd_Cont');
+
+        /**
+         * Css class for body table container element
+         * @type {String}
+         */
+        this.contCssClass = defaultsStr(f.tbl_cont_css_class, 'grd_tblCont');
+
+        /**
+         * Css class for headers table container element
+         * @type {String}
+         */
+        this.headContCssClass = defaultsStr(f.tbl_head_css_class,
+            'grd_headTblCont');
+
+        /**
+         * Css class for toolbar container element (rows counter, paging etc.)
+         * @type {String}
+         */
+        this.infDivCssClass = defaultsStr(f.inf_grid_css_class, 'grd_inf');
+
+        /**
+         * Index of the headers row, default: 0
+         * @type {Number}
+         */
+        this.headRowIndex = defaultsNb(f.headers_row_index, 0);
+
+        /**
+         * Collection of the header row indexes to be moved into headers table
+         * @type {Array}
+         */
+        this.headRows = defaultsArr(f.headers_rows, [0]);
+
+        /**
+         * Enable or disable column filters generation, default: true
+         * @type {Boolean}
+         */
+        this.filters = defaultsBool(f.filters, true);
+
+        /**
+         * Enable or disable column headers, default: false
+         * @type {Boolean}
+         */
+        this.noHeaders = Boolean(f.no_headers);
+
+        /**
+         * Grid-layout default column widht as CSS string
+         * @type {String}
+         */
+        this.defaultColWidth = defaultsStr(f.default_col_width, '100px');
+
+        /**
+         * List of column elements
+         * @type {Array}
+         * @private
+         */
+        this.colElms = [];
+
+        /**
+         * Prefix for grid-layout filter's cell ID
+         * @type {String}
+         * @private
+         */
+        this.prfxGridFltTd = '_td_';
+
+        /**
+         * Prefix for grid-layout header's cell ID
+         * @type {String}
+         * @private
+         */
+        this.prfxGridTh = 'tblHeadTh_';
+
+        /**
+         * Mark-up of original HTML table
+         * @type {String}
+         * @private
+         */
+        this.sourceTblHtml = tf.dom().outerHTML;
+
+        /**
+         * Indicates if working table has column elements
+         * @type {Boolean}
+         * @private
+         */
+        this.tblHasColTag = tag(tf.dom(), 'col').length > 0 ? true : false;
+
+        /**
+         * Main container element
+         * @private
+         */
+        this.tblMainCont = null;
+
+        /**
+         * Table container element
+         * @private
+         */
+        this.tblCont = null;
+
+        /**
+         * Headers' table container element
+         * @private
+         */
+        this.headTblCont = null;
+
+        /**
+         * Headers' table element
+         * @private
+         */
+        this.headTbl = null;
+
+        // filters flag at TF level
+        tf.fltGrid = this.filters;
+    }
+
+    /**
+     * Generates a grid with fixed headers
+     * TODO: reduce size of init by extracting single purposed methods
+     */
+    init() {
+        let tf = this.tf;
+        let tbl = tf.dom();
+
+        if (this.initialized) {
+            return;
+        }
+
+        // Override relevant TableFilter properties
+        this.setOverrides();
+
+        // Assign default column widths
+        this.setDefaultColWidths();
+
+        // Initial table width
+        let tblW = this.initialTableWidth();
+
+        //Main container: it will contain all the elements
+        this.tblMainCont = this.createContainer(
+            '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 = this.createContainer('div', this.contCssClass);
+        this.setConfigWidth(this.tblCont);
+        if (this.height) {
+            this.tblCont.style.height = this.height;
+        }
+        tbl.parentNode.insertBefore(this.tblCont, tbl);
+        let t = removeElm(tbl);
+        this.tblCont.appendChild(t);
+
+        //In case table width is expressed in %
+        if (tbl.style.width === '') {
+            tbl.style.width = (contains('%', tblW) ?
+                tbl.clientWidth : tblW) + 'px';
+        }
+
+        let d = removeElm(this.tblCont);
+        this.tblMainCont.appendChild(d);
+
+        //Headers table container: div wrapping headers table
+        this.headTblCont = this.createContainer(
+            'div', this.headContCssClass);
+
+        //Headers table
+        this.headTbl = createElm('table');
+        let tH = createElm('tHead');
+
+        //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 = this.getSortTriggerIds(hRow);
+
+        //Filters row is created
+        let filtersRow = this.createFiltersRow();
+
+        //Headers row are moved from content table to headers table
+        this.setHeadersRow(tH);
+
+        this.headTbl.appendChild(tH);
+        if (tf.filtersRowIndex === 0) {
+            tH.insertBefore(filtersRow, hRow);
+        } else {
+            tH.appendChild(filtersRow);
+        }
+
+        this.headTblCont.appendChild(this.headTbl);
+        this.tblCont.parentNode.insertBefore(this.headTblCont, this.tblCont);
+
+        //THead needs to be removed in content table for sort feature
+        let thead = tag(tbl, 'thead');
+        if (thead.length > 0) {
+            tbl.removeChild(thead[0]);
+        }
+
+        // ensure table layout is always set even if already set in css
+        // definitions, potentially with custom css class this could be lost
+        this.headTbl.style.tableLayout = 'fixed';
+        tbl.style.tableLayout = 'fixed';
+
+        //content table without headers needs col widths to be reset
+        tf.setColWidths(this.headTbl);
+
+        //Headers container width
+        this.headTbl.style.width = tbl.style.width;
+        //
+
+        //scroll synchronisation
+        addEvt(this.tblCont, 'scroll', (evt) => {
+            let elm = targetEvt(evt);
+            let scrollLeft = elm.scrollLeft;
+            this.headTblCont.scrollLeft = scrollLeft;
+            //New pointerX calc taking into account scrollLeft
+            // if(!o.isPointerXOverwritten){
+            //     try{
+            //         o.Evt.pointerX = function(evt){
+            //             let e = evt || global.event;
+            //             let bdScrollLeft = tf_StandardBody().scrollLeft +
+            //                 scrollLeft;
+            //             return (e.pageX + scrollLeft) ||
+            //                 (e.clientX + bdScrollLeft);
+            //         };
+            //         o.isPointerXOverwritten = true;
+            //     } catch(err) {
+            //         o.isPointerXOverwritten = false;
+            //     }
+            // }
+        });
+
+        // TODO: Trigger a custom event handled by sort extension
+        let sort = tf.extension('sort');
+        if (sort) {
+            sort.asyncSort = true;
+            sort.triggerIds = sortTriggers;
+        }
+
+        //Col elements are enough to keep column widths after sorting and
+        //filtering
+        this.setColumnElements();
+
+        if (tf.popupFilters) {
+            filtersRow.style.display = NONE;
+        }
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Overrides TableFilter instance properties to adjust to grid layout mode
+     * @private
+     */
+    setOverrides() {
+        let tf = this.tf;
+        tf.refRow = 0;
+        tf.headersRow = 0;
+        tf.filtersRowIndex = 1;
+    }
+
+    /**
+     * Set grid-layout default column widths if column widths are not defined
+     * @private
+     */
+    setDefaultColWidths() {
+        let tf = this.tf;
+        if (tf.colWidths.length > 0) {
+            return;
+        }
+        for (let k = 0, len = tf.getCellsNb(); k < len; k++) {
+            let colW;
+            let cell = tf.dom().rows[tf.getHeadersRowIndex()].cells[k];
+            if (cell.width !== '') {
+                colW = cell.width;
+            } else if (cell.style.width !== '') {
+                colW = parseInt(cell.style.width, 10);
+            } else {
+                colW = this.defaultColWidth;
+            }
+            tf.colWidths[k] = colW;
+        }
+        tf.setColWidths();
+    }
+
+    /**
+     * Initial table width
+     * @returns {Number}
+     * @private
+     */
+    initialTableWidth() {
+        let tbl = this.tf.dom();
+        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} tag Tag name
+     * @param {String} className Css class to assign to element
+     * @returns {DOMElement}
+     * @private
+     */
+    createContainer(tag, className) {
+        let element = createElm(tag);
+        element.className = className;
+        return element;
+    }
+
+    /**
+     * Creates filters row with cells
+     * @returns {HTMLTableRowElement}
+     * @private
+     */
+    createFiltersRow() {
+        let tf = this.tf;
+        let filtersRow = createElm('tr');
+        if (this.filters && 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.dom(), 'col');
+        this.tblHasColTag = cols.length > 0;
+
+        for (let k = (tf.nbCells - 1); k >= 0; k--) {
+            let col;
+
+            if (!this.tblHasColTag) {
+                col = createElm('col');
+                tf.dom().insertBefore(col, tf.dom().firstChild);
+            } else {
+                col = cols[k];
+            }
+            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.dom().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
+     */
+    destroy() {
+        let tf = this.tf;
+        let tbl = tf.dom();
+
+        if (!this.initialized) {
+            return;
+        }
+        let t = removeElm(tbl);
+        this.tblMainCont.parentNode.insertBefore(t, this.tblMainCont);
+        removeElm(this.tblMainCont);
+
+        this.tblMainCont = null;
+        this.headTblCont = null;
+        this.headTbl = null;
+        this.tblCont = null;
+
+        tbl.outerHTML = this.sourceTblHtml;
+        //needed to keep reference of table element for future usage
+        this.tf.tbl = elm(tf.id);
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/hash.js.html b/docs/file/src/modules/hash.js.html new file mode 100644 index 00000000..b78f4a04 --- /dev/null +++ b/docs/file/src/modules/hash.js.html @@ -0,0 +1,277 @@ + + + + + + src/modules/hash.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/hash.js

+
import {addEvt, removeEvt} from '../event';
+import {root} from '../root';
+
+const JSON = root.JSON;
+const location = root.location;
+const decodeURIComponent = root.decodeURIComponent;
+const encodeURIComponent = root.encodeURIComponent;
+
+/**
+ * Checks if browser has onhashchange event
+ */
+export const hasHashChange = () => {
+    let docMode = root.documentMode;
+    return ('onhashchange' in root) && (docMode === undefined || docMode > 7);
+};
+
+/**
+ * Manages state via URL hash changes
+ *
+ * @export
+ * @class Hash
+ */
+export class Hash {
+
+    /**
+     * Creates an instance of Hash
+     *
+     * @param {State} state Instance of State
+     */
+    constructor(state) {
+        /**
+         * State object
+         * @type {State}
+         */
+        this.state = state;
+
+        /**
+         * Cached URL hash
+         * @type {String} Hash string
+         * @private
+         */
+        this.lastHash = null;
+
+        /**
+         * Application event emitter instance
+         * @type {Emitter}
+         */
+        this.emitter = state.emitter;
+
+        /**
+         * Bound sync wrapper for future use
+         * @private
+         */
+        this.boundSync = null;
+    }
+
+    /**
+     * Initializes the Hash object
+     */
+    init() {
+        if (!hasHashChange()) {
+            return;
+        }
+
+        this.lastHash = location.hash;
+        //Store a bound sync wrapper
+        this.boundSync = this.sync.bind(this);
+        this.emitter.on(['state-changed'], (tf, state) => this.update(state));
+        this.emitter.on(['initialized'], this.boundSync);
+        addEvt(root, 'hashchange', this.boundSync);
+    }
+
+    /**
+     * Updates the URL hash based on a state change
+     *
+     * @param {State} state Instance of State
+     */
+    update(state) {
+        let hash = `#${encodeURIComponent(JSON.stringify(state))}`;
+        if (this.lastHash === hash) {
+            return;
+        }
+
+        location.hash = hash;
+        this.lastHash = hash;
+    }
+
+    /**
+     * Converts a URL hash into a state JSON object
+     *
+     * @param {String} hash URL hash fragment
+     * @returns {Object} JSON object
+     */
+    parse(hash) {
+        if (hash.indexOf('#') === -1) {
+            return null;
+        }
+        hash = hash.substr(1);
+        return JSON.parse(decodeURIComponent(hash));
+    }
+
+    /**
+     * Applies current hash state to features
+     */
+    sync() {
+        let state = this.parse(location.hash);
+        if (!state) {
+            return;
+        }
+        // override current state with persisted one and sync features
+        this.state.overrideAndSync(state);
+    }
+
+    /**
+     * Release Hash event subscriptions and clear fields
+     */
+    destroy() {
+        this.emitter.off(['state-changed'], (tf, state) => this.update(state));
+        this.emitter.off(['initialized'], this.boundSync);
+        removeEvt(root, 'hashchange', this.boundSync);
+
+        this.state = null;
+        this.lastHash = null;
+        this.emitter = null;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/help.js.html b/docs/file/src/modules/help.js.html new file mode 100644 index 00000000..3f7944db --- /dev/null +++ b/docs/file/src/modules/help.js.html @@ -0,0 +1,381 @@ + + + + + + src/modules/help.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/help.js

+
import {Feature} from '../feature';
+import {createElm, createText, elm, removeElm} from '../dom';
+import {addEvt, targetEvt, removeEvt} from '../event';
+import {NONE} from '../const';
+import {root} from '../root';
+import {isEmpty} from '../types';
+import {defaultsStr} from '../settings';
+
+const WIKI_URL = 'https://github.com/koalyptus/TableFilter/wiki/' +
+    '4.-Filter-operators';
+const WEBSITE_URL = 'http://koalyptus.github.io/TableFilter/';
+
+/**
+ * Help UI component
+ */
+export class Help extends Feature {
+
+    /**
+     * Creates an instance of Help
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'help');
+
+        let f = this.config.help_instructions || {};
+
+        /**
+         * ID of main custom container element
+         * @type {String}
+         */
+        this.tgtId = defaultsStr(f.target_id, null);
+
+        /**
+         * ID of custom container element for instructions
+         * @type {String}
+         */
+        this.contTgtId = defaultsStr(f.container_target_id, null);
+
+        /**
+         * Instructions text (accepts HTML)
+         * @type {String}
+         */
+        this.instrText = !isEmpty(f.text) ? f.text :
+            'Use the filters above each column to filter and limit table ' +
+            'data. Advanced searches can be performed by using the following ' +
+            'operators: <br /><b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, ' +
+            '<b>&gt;=</b>, <b>=</b>, <b>*</b>, <b>!</b>, <b>{</b>, <b>}</b>, ' +
+            '<b>||</b>,<b>&amp;&amp;</b>, <b>[empty]</b>, <b>[nonempty]</b>, ' +
+            '<b>rgx:</b><br/><a href="' + WIKI_URL + '" target="_blank">' +
+            'Learn more</a><hr/>';
+
+        /**
+         * Instructions HTML
+         * @type {String}
+         */
+        this.instrHtml = defaultsStr(f.html, null);
+
+        /**
+         * Help button text ('?')
+         * @type {String}
+         */
+        this.btnText = defaultsStr(f.btn_text, '?');
+
+        /**
+         * Custom help button HTML
+         * @type {String}
+         */
+        this.btnHtml = defaultsStr(f.btn_html, null);
+
+        /**
+         * Css class for help button
+         * @type {String}
+         */
+        this.btnCssClass = defaultsStr(f.btn_css_class, 'helpBtn');
+
+        /**
+         * Css class for help container element
+         * @type {String}
+         */
+        this.contCssClass = defaultsStr(f.container_css_class, 'helpCont');
+
+        /**
+         * Button DOM element
+         * @type {DOMElement}
+         */
+        this.btn = null;
+
+        /**
+         * Help container DOM element
+         * @type {DOMElement}
+         */
+        this.cont = null;
+
+        /**
+         * Bound mouseup wrapper
+         * @private
+         */
+        this.boundMouseup = null;
+
+        /**
+         * Default HTML appended to instructions text
+         * @type {String}
+         */
+        this.defaultHtml = '<div class="helpFooter"><h4>TableFilter ' +
+            'v' + tf.version + '</h4>' + '<a href="' + WEBSITE_URL +
+            '" target="_blank">' + WEBSITE_URL + '</a>' +
+            '<br/><span>&copy;2015-' + tf.year + ' {AUTHOR}</span>' +
+            '<div align="center" style="margin-top:8px;">' +
+            '<a href="javascript:void(0);" class="close">Close</a></div></div>';
+
+        this.emitter.on(['init-help'], () => this.init());
+    }
+
+    /**
+     * Mouse-up event handler handling popup auto-close behaviour
+     * @private
+     */
+    onMouseup(evt) {
+        let targetElm = targetEvt(evt);
+
+        while (targetElm && targetElm !== this.cont && targetElm !== this.btn) {
+            targetElm = targetElm.parentNode;
+        }
+
+        if (targetElm !== this.cont && targetElm !== this.btn) {
+            this.toggle();
+        }
+
+        return;
+    }
+
+    /**
+     * Initialise Help instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        let tf = this.tf;
+
+        let btn = createElm('span');
+        let cont = createElm('div');
+
+        this.boundMouseup = this.onMouseup.bind(this);
+
+        //help button is added to defined element
+        if (!this.tgtId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.tgtId ? tf.rDiv : elm(this.tgtId);
+        targetEl.appendChild(btn);
+
+        let divContainer = !this.contTgtId ? btn : elm(this.contTgtId);
+
+        if (!this.btnHtml) {
+            divContainer.appendChild(cont);
+            let helplink = createElm('a', ['href', 'javascript:void(0);']);
+            helplink.className = this.btnCssClass;
+            helplink.appendChild(createText(this.btnText));
+            btn.appendChild(helplink);
+            addEvt(helplink, 'click', () => this.toggle());
+        } else {
+            btn.innerHTML = this.btnHtml;
+            let helpEl = btn.firstChild;
+            addEvt(helpEl, 'click', () => this.toggle());
+            divContainer.appendChild(cont);
+        }
+
+        if (!this.instrHtml) {
+            cont.innerHTML = this.instrText;
+            cont.className = this.contCssClass;
+        } else {
+            if (this.contTgtId) {
+                divContainer.appendChild(cont);
+            }
+            cont.innerHTML = this.instrHtml;
+            if (!this.contTgtId) {
+                cont.className = this.contCssClass;
+            }
+        }
+        cont.innerHTML += this.defaultHtml;
+        addEvt(cont, 'click', () => this.toggle());
+
+        this.cont = cont;
+        this.btn = btn;
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Toggle help pop-up
+     */
+    toggle() {
+        // check only if explicitily disabled as in this case undefined
+        // signifies the help feature is enabled by default
+        if (!this.isEnabled()) {
+            return;
+        }
+
+        // ensure mouseup event handler is removed
+        removeEvt(root, 'mouseup', this.boundMouseup);
+
+        let divDisplay = this.cont.style.display;
+        if (divDisplay === '' || divDisplay === NONE) {
+            this.cont.style.display = 'inline';
+            addEvt(root, 'mouseup', this.boundMouseup);
+        } else {
+            this.cont.style.display = NONE;
+        }
+    }
+
+    /**
+     * Remove help UI
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        removeElm(this.btn);
+        this.btn = null;
+
+        removeElm(this.cont);
+        this.cont = null;
+
+        this.boundMouseup = null;
+        this.initialized = false;
+    }
+
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/highlightKeywords.js.html b/docs/file/src/modules/highlightKeywords.js.html new file mode 100644 index 00000000..f222cb24 --- /dev/null +++ b/docs/file/src/modules/highlightKeywords.js.html @@ -0,0 +1,331 @@ + + + + + + src/modules/highlightKeywords.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/highlightKeywords.js

+
import {createText, createElm, getText} from '../dom';
+import {isArray} from '../types';
+import {rgxEsc} from '../string';
+import {defaultsStr} from '../settings';
+
+/**
+ * Highlight matched keywords upon filtering
+ *
+ * @export
+ * @class HighlightKeyword
+ */
+export class HighlightKeyword {
+
+    /**
+     * Creates an instance of HighlightKeyword
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        let f = tf.config();
+
+        /**
+         * Css class for highlighted term
+         * @type {String}
+         */
+        this.highlightCssClass = defaultsStr(f.highlight_css_class, 'keyword');
+
+        /**
+         * TableFilter instance
+         * @type {TableFilter}
+         */
+        this.tf = tf;
+
+        /**
+         * TableFilter's emitter instance
+         * @type {Emitter}
+         */
+        this.emitter = tf.emitter;
+    }
+
+    /**
+     * Initializes HighlightKeyword instance
+     */
+    init() {
+        this.emitter.on(
+            ['before-filtering', 'destroy'],
+            () => this.unhighlightAll()
+        );
+        this.emitter.on(
+            ['highlight-keyword'],
+            (tf, cell, term) => this._processTerm(cell, term)
+        );
+    }
+
+    /**
+     * Highlight occurences of searched term in passed node
+     * @param  {Node} node
+     * @param  {String} term     Searched term
+     * @param  {String} cssClass Css class name
+     *
+     * TODO: refactor this method
+     */
+    highlight(node, term, cssClass) {
+        // Iterate into this nodes childNodes
+        if (node.hasChildNodes) {
+            let children = node.childNodes;
+            for (let i = 0; i < children.length; i++) {
+                this.highlight(children[i], term, cssClass);
+            }
+        }
+
+        if (node.nodeType === 3) {
+            let nodeVal = node.nodeValue.toLowerCase();
+            let termIdx = nodeVal.indexOf(term.toLowerCase());
+
+            if (termIdx !== -1) {
+                let pn = node.parentNode;
+                if (pn && pn.className !== cssClass) {
+                    // term not highlighted yet
+                    let nv = node.nodeValue,
+                        // Create a load of replacement nodes
+                        before = createText(nv.substr(0, termIdx)),
+                        value = nv.substr(termIdx, term.length),
+                        after = createText(nv.substr(termIdx + term.length)),
+                        text = createText(value),
+                        container = createElm('span');
+                    container.className = cssClass;
+                    container.appendChild(text);
+                    pn.insertBefore(before, node);
+                    pn.insertBefore(container, node);
+                    pn.insertBefore(after, node);
+                    pn.removeChild(node);
+                }
+            }
+        }
+    }
+
+    /**
+     * Removes highlight to nodes matching passed string
+     * @param  {String} term
+     * @param  {String} cssClass Css class to remove
+     */
+    unhighlight(term, cssClass) {
+        let highlightedNodes = this.tf.dom().querySelectorAll(`.${cssClass}`);
+        for (let i = 0; i < highlightedNodes.length; i++) {
+            let n = highlightedNodes[i];
+            let nodeVal = getText(n);
+
+            if (nodeVal.toLowerCase().indexOf(term.toLowerCase()) !== -1) {
+                let parentNode = n.parentNode;
+                parentNode.replaceChild(createText(nodeVal), n);
+                parentNode.normalize();
+            }
+        }
+    }
+
+    /**
+     * Clear all occurrences of highlighted nodes
+     */
+    unhighlightAll() {
+        if (!this.tf.highlightKeywords) {
+            return;
+        }
+        // iterate filters values to unhighlight all values
+        this.tf.getFiltersValue().forEach((val) => {
+            if (isArray(val)) {
+                val.forEach((item) =>
+                    this.unhighlight(item, this.highlightCssClass));
+            } else {
+                this.unhighlight(val, this.highlightCssClass);
+            }
+        });
+    }
+
+    /**  Remove feature */
+    destroy() {
+        this.emitter.off(
+            ['before-filtering', 'destroy'],
+            () => this.unhighlightAll()
+        );
+        this.emitter.off(
+            ['highlight-keyword'],
+            (tf, cell, term) => this._processTerm(cell, term)
+        );
+    }
+
+    /**
+     * Ensure filtering operators are handled before highlighting any match
+     * @param {any} Table cell to look searched term into
+     * @param {any} Searched termIdx
+     */
+    _processTerm(cell, term) {
+        let tf = this.tf;
+        let reLk = new RegExp(rgxEsc(tf.lkOperator));
+        let reEq = new RegExp(tf.eqOperator);
+        let reSt = new RegExp(tf.stOperator);
+        let reEn = new RegExp(tf.enOperator);
+        let reLe = new RegExp(tf.leOperator);
+        let reGe = new RegExp(tf.geOperator);
+        let reL = new RegExp(tf.lwOperator);
+        let reG = new RegExp(tf.grOperator);
+        let reD = new RegExp(tf.dfOperator);
+
+        term = term
+            .replace(reLk, '')
+            .replace(reEq, '')
+            .replace(reSt, '')
+            .replace(reEn, '');
+
+        if (reLe.test(term) || reGe.test(term) || reL.test(term) ||
+            reG.test(term) || reD.test(term)) {
+            term = getText(cell);
+        }
+
+        if (term === '') {
+            return;
+        }
+
+        this.highlight(cell, term, this.highlightCssClass);
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/loader.js.html b/docs/file/src/modules/loader.js.html new file mode 100644 index 00000000..16b16f15 --- /dev/null +++ b/docs/file/src/modules/loader.js.html @@ -0,0 +1,322 @@ + + + + + + src/modules/loader.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/loader.js

+
import {Feature} from '../feature';
+import {createElm, createText, elm, removeElm} from '../dom';
+import {EMPTY_FN} from '../types';
+import {root} from '../root';
+import {NONE} from '../const';
+import {defaultsStr, defaultsFn} from '../settings';
+
+const EVENTS = [
+    'before-filtering',
+    'before-populating-filter',
+    'before-page-change',
+    'before-clearing-filters',
+    'before-page-length-change',
+    'before-reset-page',
+    'before-reset-page-length',
+    'before-loading-extensions',
+    'before-loading-themes'
+];
+
+/**
+ * Activity indicator
+ *
+ * @export
+ * @class Loader
+ * @extends {Feature}
+ */
+export class Loader extends Feature {
+
+    /**
+     * Creates an instance of Loader.
+     *
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'loader');
+
+        let f = this.config.loader || {};
+
+        /**
+         * ID of custom container element
+         * @type {String}
+         */
+        this.targetId = defaultsStr(f.target_id, null);
+
+        /**
+         * Loader container DOM element
+         * @type {DOMElement}
+         */
+        this.cont = null;
+
+        /**
+         * Text displayed when indicator is visible
+         * @type {String}
+         */
+        this.text = defaultsStr(f.text, 'Loading...');
+
+        /**
+         * Custom HTML injected in Loader's container element
+         * @type {String}
+         */
+        this.html = defaultsStr(f.html, null);
+
+        /**
+         * Css class for Loader's container element
+         * @type {String}
+         */
+        this.cssClass = defaultsStr(f.css_class, 'loader');
+
+        /**
+         * Close delay in milliseconds
+         * @type {Number}
+         */
+        this.closeDelay = 250;
+
+        /**
+         * Callback fired when loader is displayed
+         * @type {Function}
+         */
+        this.onShow = defaultsFn(f.on_show_loader, EMPTY_FN);
+
+        /**
+         * Callback fired when loader is closed
+         * @type {Function}
+         */
+        this.onHide = defaultsFn(f.on_hide_loader, EMPTY_FN);
+    }
+
+    /**
+     * Initializes Loader instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        let tf = this.tf;
+        let emitter = this.emitter;
+
+        let containerDiv = createElm('div');
+        containerDiv.className = this.cssClass;
+
+        let targetEl = !this.targetId ?
+            tf.dom().parentNode : elm(this.targetId);
+        if (!this.targetId) {
+            targetEl.insertBefore(containerDiv, tf.dom());
+        } else {
+            targetEl.appendChild(containerDiv);
+        }
+        this.cont = containerDiv;
+        if (!this.html) {
+            this.cont.appendChild(createText(this.text));
+        } else {
+            this.cont.innerHTML = this.html;
+        }
+
+        this.show(NONE);
+
+        // Subscribe to events
+        emitter.on(EVENTS, () => this.show(''));
+        emitter.on(EVENTS, () => this.show(NONE));
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Shows or hides activity indicator
+     * @param {String} Two possible values: '' or 'none'
+     */
+    show(p) {
+        if (!this.isEnabled()) {
+            return;
+        }
+
+        let displayLoader = () => {
+            if (!this.cont) {
+                return;
+            }
+            if (p !== NONE) {
+                this.onShow(this);
+            }
+            this.cont.style.display = p;
+            if (p === NONE) {
+                this.onHide(this);
+            }
+        };
+
+        let t = p === NONE ? this.closeDelay : 1;
+        root.setTimeout(displayLoader, t);
+    }
+
+    /**
+     * Removes feature
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        let emitter = this.emitter;
+
+        removeElm(this.cont);
+        this.cont = null;
+
+        // Unsubscribe to events
+        emitter.off(EVENTS, () => this.show(''));
+        emitter.off(EVENTS, () => this.show(NONE));
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/markActiveColumns.js.html b/docs/file/src/modules/markActiveColumns.js.html new file mode 100644 index 00000000..3dff577d --- /dev/null +++ b/docs/file/src/modules/markActiveColumns.js.html @@ -0,0 +1,259 @@ + + + + + + src/modules/markActiveColumns.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/markActiveColumns.js

+
import {Feature} from '../feature';
+import {addClass, removeClass, hasClass} from '../dom';
+import {EMPTY_FN} from '../types';
+import {defaultsStr, defaultsFn} from '../settings';
+
+/**
+ * Visual indicator for filtered columns
+ * @export
+ * @class MarkActiveColumns
+ * @extends {Feature}
+ */
+export class MarkActiveColumns extends Feature {
+
+    /**
+     * Create an instance of MarkActiveColumns
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'markActiveColumns');
+
+        let config = this.config.mark_active_columns || {};
+
+        /**
+         * Css class for filtered (active) columns
+         * @type {String}
+         */
+        this.headerCssClass = defaultsStr(config.header_css_class,
+            'activeHeader');
+
+        /**
+         * Callback fired before a column is marked as filtered
+         * @type {Function}
+         */
+        this.onBeforeActiveColumn = defaultsFn(config.on_before_active_column,
+            EMPTY_FN);
+
+        /**
+         * Callback fired after a column is marked as filtered
+         * @type {Function}
+         */
+        this.onAfterActiveColumn = defaultsFn(config.on_after_active_column,
+            EMPTY_FN);
+    }
+
+    /**
+     * Initialise MarkActiveColumns instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        this.emitter.on(['before-filtering'], () => this.clearActiveColumns());
+        this.emitter.on(
+            ['cell-processed'],
+            (tf, colIndex) => this.markActiveColumn(colIndex)
+        );
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Clear filtered columns visual indicator (background color)
+     */
+    clearActiveColumns() {
+        let tf = this.tf;
+        let len = tf.getCellsNb();
+        for (let i = 0; i < len; i++) {
+            removeClass(tf.getHeaderElement(i), this.headerCssClass);
+        }
+    }
+
+    /**
+     * Mark currently filtered column
+     * @param  {Number} colIndex Column index
+     */
+    markActiveColumn(colIndex) {
+        let header = this.tf.getHeaderElement(colIndex);
+        if (hasClass(header, this.headerCssClass)) {
+            return;
+        }
+        this.onBeforeActiveColumn(this, colIndex);
+
+        addClass(header, this.headerCssClass);
+
+        this.onAfterActiveColumn(this, colIndex);
+    }
+
+    /**
+     * Remove feature
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        this.clearActiveColumns();
+        this.emitter.off(['before-filtering'], () => this.clearActiveColumns());
+        this.emitter.off(
+            ['cell-processed'],
+            (tf, colIndex) => this.markActiveColumn(colIndex)
+        );
+
+        /** @inherited */
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/noResults.js.html b/docs/file/src/modules/noResults.js.html new file mode 100644 index 00000000..e455580d --- /dev/null +++ b/docs/file/src/modules/noResults.js.html @@ -0,0 +1,345 @@ + + + + + + src/modules/noResults.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/noResults.js

+
import {Feature} from '../feature';
+import {createElm, elm, removeElm} from '../dom';
+import {isEmpty, EMPTY_FN} from '../types';
+import {NONE} from '../const';
+import {defaultsStr, defaultsFn} from '../settings';
+
+/**
+ * UI when filtering yields no matches
+ * @export
+ * @class NoResults
+ * @extends {Feature}
+ */
+export class NoResults extends Feature {
+
+    /**
+     * Creates an instance of NoResults
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'noResults');
+
+        //configuration object
+        let f = this.config.no_results_message || {};
+
+        /**
+         * Text (accepts HTML)
+         * @type {String}
+         */
+        this.content = defaultsStr(f.content, 'No results');
+
+        /**
+         * Custom container DOM element
+         * @type {DOMElement}
+         */
+        this.customContainer = defaultsStr(f.custom_container, null);
+
+        /**
+         * ID of custom container element
+         * @type {String}
+         */
+        this.customContainerId = defaultsStr(f.custom_container_id, null);
+
+        /**
+         * Indicates if UI is contained in a external element
+         * @type {Boolean}
+         * @private
+         */
+        this.isExternal = !isEmpty(this.customContainer) ||
+            !isEmpty(this.customContainerId);
+
+        /**
+         * Css class assigned to container element
+         * @type {String}
+         */
+        this.cssClass = defaultsStr(f.css_class, 'no-results');
+
+        /**
+         * Stores container DOM element
+         * @type {DOMElement}
+         */
+        this.cont = null;
+
+        /**
+         * Callback fired before the message is displayed
+         * @type {Function}
+         */
+        this.onBeforeShow = defaultsFn(f.on_before_show_msg, EMPTY_FN);
+
+        /**
+         * Callback fired after the message is displayed
+         * @type {Function}
+         */
+        this.onAfterShow = defaultsFn(f.on_after_show_msg, EMPTY_FN);
+
+        /**
+         * Callback fired before the message is hidden
+         * @type {Function}
+         */
+        this.onBeforeHide = defaultsFn(f.on_before_hide_msg, EMPTY_FN);
+
+        /**
+         * Callback fired after the message is hidden
+         * @type {Function}
+         */
+        this.onAfterHide = defaultsFn(f.on_after_hide_msg, EMPTY_FN);
+    }
+
+    /**
+     * Initializes NoResults instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+        let tf = this.tf;
+        let target = this.customContainer || elm(this.customContainerId) ||
+            tf.dom();
+
+        //container
+        let cont = createElm('div');
+        cont.className = this.cssClass;
+        cont.innerHTML = this.content;
+
+        if (this.isExternal) {
+            target.appendChild(cont);
+        } else {
+            target.parentNode.insertBefore(cont, target.nextSibling);
+        }
+
+        this.cont = cont;
+
+        // subscribe to after-filtering event
+        this.emitter.on(['after-filtering'], () => this.toggle());
+
+        /** @inherited */
+        this.initialized = true;
+
+        this.hide();
+    }
+
+    /**
+     * Toggle no results message
+     */
+    toggle() {
+        if (this.tf.getValidRowsNb() > 0) {
+            this.hide();
+        } else {
+            this.show();
+        }
+    }
+
+    /**
+     * Show no results message
+     */
+    show() {
+        if (!this.initialized || !this.isEnabled()) {
+            return;
+        }
+        this.onBeforeShow(this.tf, this);
+
+        this.setWidth();
+        this.cont.style.display = 'block';
+
+        this.onAfterShow(this.tf, this);
+    }
+
+    /**
+     * Hide no results message
+     */
+    hide() {
+        if (!this.initialized || !this.isEnabled()) {
+            return;
+        }
+        this.onBeforeHide(this.tf, this);
+
+        this.cont.style.display = NONE;
+
+        this.onAfterHide(this.tf, this);
+    }
+
+    /**
+     * Sets no results container width
+     * @private
+     */
+    setWidth() {
+        if (!this.initialized || this.isExternal || !this.isEnabled()) {
+            return;
+        }
+        let tf = this.tf;
+        if (tf.gridLayout) {
+            let gridLayout = tf.feature('gridLayout');
+            this.cont.style.width = gridLayout.tblCont.clientWidth + 'px';
+        } else {
+            this.cont.style.width = (tf.dom().tHead ?
+                tf.dom().tHead.clientWidth :
+                tf.dom().tBodies[0].clientWidth) + 'px';
+        }
+    }
+
+    /**
+     * Remove feature
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+        removeElm(this.cont);
+        this.cont = null;
+        // unsubscribe to after-filtering event
+        this.emitter.off(['after-filtering'], () => this.toggle());
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/paging.js.html b/docs/file/src/modules/paging.js.html new file mode 100644 index 00000000..ae2a1324 --- /dev/null +++ b/docs/file/src/modules/paging.js.html @@ -0,0 +1,1049 @@ + + + + + + src/modules/paging.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/paging.js

+
import {Feature} from '../feature';
+import {createElm, createOpt, createText, elm, removeElm} from '../dom';
+import {isArray, isNull, EMPTY_FN} from '../types';
+import {addEvt, keyCode, removeEvt} from '../event';
+import {INPUT, SELECT, NONE, ENTER_KEY} from '../const';
+import {
+    defaultsStr, defaultsNb, defaultsBool, defaultsArr, defaultsFn
+} from '../settings';
+
+/**
+ * Paging UI component
+ * @export
+ * @class Paging
+ * @extends {Feature}
+ */
+export class Paging extends Feature {
+
+    /**
+     * Creates an instance of Paging
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'paging');
+
+        // Configuration object
+        let f = this.config.paging || {};
+
+        /**
+         * Css class for the paging buttons (previous, next, etc.)
+         * @type {String}
+         */
+        this.btnCssClass = defaultsStr(f.btn_css_class, 'pgInp');
+
+        /**
+         * Main select DOM element
+         * @type {DOMElement}
+         */
+        this.pageSlc = null;
+
+        /**
+         * Results per page select DOM element
+         * @type {DOMElement}
+         */
+        this.pageLengthSlc = null;
+
+        /**
+         * ID of custom container element
+         * @type {String}
+         */
+        this.tgtId = defaultsStr(f.target_id, null);
+
+        /**
+         * Number of rows contained in a page
+         * @type {Number}
+         */
+        this.pageLength = defaultsNb(f.length, 10);
+
+        /**
+         * ID of custom container element for the results per page selector
+         * @type {String}
+         */
+        this.pageLengthTgtId = defaultsStr(f.results_per_page_target_id, null);
+
+        /**
+         * Css class for the paging select element
+         * @type {String}
+         */
+        this.pgSlcCssClass = defaultsStr(f.slc_css_class, 'pgSlc');
+
+        /**
+         * Css class for the paging input element
+         * @type {String}
+         */
+        this.pgInpCssClass = defaultsStr(f.inp_css_class, 'pgNbInp');
+
+        /**
+         * Label and values for the results per page select, example of usage:
+         * ['Records: ', [10,25,50,100]]
+         * @type {Array}
+         */
+        this.resultsPerPage = defaultsArr(f.results_per_page, null);
+
+        /**
+         * Determines if results per page is configured
+         * @type {Boolean}
+         */
+        this.hasResultsPerPage = isArray(this.resultsPerPage);
+
+        /**
+         * Css class for the results per page select
+         * @type {String}
+         */
+        this.resultsSlcCssClass = defaultsStr(f.results_slc_css_class, 'rspg');
+
+        /**
+         * Css class for the label preceding results per page select
+         * @type {String}
+         */
+        this.resultsSpanCssClass = defaultsStr(f.results_span_css_class,
+            'rspgSpan');
+
+        /**
+         * Index of the first row of current page
+         * @type {Number}
+         * @private
+         */
+        this.startPagingRow = 0;
+
+        /**
+         * Total number of pages
+         * @type {Number}
+         * @private
+         */
+        this.nbPages = 0;
+
+        /**
+         * Current page number
+         * @type {Number}
+         * @private
+         */
+        this.currentPageNb = 1;
+
+        /**
+         * Next page button text
+         * @type {String}
+         */
+        this.btnNextPageText = defaultsStr(f.btn_next_page_text, '>');
+
+        /**
+         * Previous page button text
+         * @type {String}
+         */
+        this.btnPrevPageText = defaultsStr(f.btn_prev_page_text, '<');
+
+        /**
+         * Last page button text
+         * @type {String}
+         */
+        this.btnLastPageText = defaultsStr(f.btn_last_page_text, '>|');
+
+        /**
+         * First page button text
+         * @type {String}
+         */
+        this.btnFirstPageText = defaultsStr(f.btn_first_page_text, '|<');
+
+        /**
+         * Next page button HTML
+         * @type {String}
+         */
+        this.btnNextPageHtml = defaultsStr(f.btn_next_page_html,
+            (!tf.enableIcons ? null :
+                '<input type="button" value="" class="' + this.btnCssClass +
+                ' nextPage" title="Next page" />'));
+
+        /**
+         * Previous page button HTML
+         * @type {String}
+         */
+        this.btnPrevPageHtml = defaultsStr(f.btn_prev_page_html,
+            (!tf.enableIcons ? null :
+                '<input type="button" value="" class="' + this.btnCssClass +
+                ' previousPage" title="Previous page" />'));
+
+        /**
+         * First page button HTML
+         * @type {String}
+         */
+        this.btnFirstPageHtml = defaultsStr(f.btn_first_page_html,
+            (!tf.enableIcons ? null :
+                '<input type="button" value="" class="' + this.btnCssClass +
+                ' firstPage" title="First page" />'));
+
+        /**
+         * Last page button HTML
+         * @type {String}
+         */
+        this.btnLastPageHtml = defaultsStr(f.btn_last_page_html,
+            (!tf.enableIcons ? null :
+                '<input type="button" value="" class="' + this.btnCssClass +
+                ' lastPage" title="Last page" />'));
+
+        /**
+         * Text preceeding page selector drop-down
+         * @type {String}
+         */
+        this.pageText = defaultsStr(f.page_text, ' Page ');
+
+        /**
+         * Text after page selector drop-down
+         * @type {String}
+         */
+        this.ofText = defaultsStr(f.of_text, ' of ');
+
+        /**
+         * Css class for the span containing total number of pages
+         * @type {String}
+         */
+        this.nbPgSpanCssClass = defaultsStr(f.nb_pages_css_class, 'nbpg');
+
+        /**
+         * Determines if paging buttons are enabled (default: true)
+         * @type {Boolean}
+         */
+        this.hasBtns = defaultsBool(f.btns, true);
+
+        /**
+         * Defines page selector type, two possible values: 'select', 'input'
+         * @type {String}
+         */
+        this.pageSelectorType = defaultsStr(f.page_selector_type, SELECT);
+
+        /**
+         * Callback fired before the page is changed
+         * @type {Function}
+         */
+        this.onBeforeChangePage = defaultsFn(f.on_before_change_page, EMPTY_FN);
+
+        /**
+         * Callback fired after the page is changed
+         * @type {Function}
+         */
+        this.onAfterChangePage = defaultsFn(f.on_after_change_page, EMPTY_FN);
+
+        /**
+         * Label preciding results per page select
+         * @type {DOMElement}
+         * @private
+         */
+        this.slcResultsTxt = null;
+        /**
+         * Span containing next page button
+         * @type {DOMElement}
+         * @private
+         */
+        this.btnNextCont = null;
+        /**
+         * Span containing previous page button
+         * @type {DOMElement}
+         * @private
+         */
+        this.btnPrevCont = null;
+        /**
+         * Span containing last page button
+         * @type {DOMElement}
+         * @private
+         */
+        this.btnLastCont = null;
+        /**
+         * Span containing first page button
+         * @type {DOMElement}
+         * @private
+         */
+        this.btnFirstCont = null;
+        /**
+         * Span for tot nb pages
+         * @type {DOMElement}
+         * @private
+         */
+        this.pgCont = null;
+        /**
+         * Span preceding pages select (contains 'Page')
+         * @type {DOMElement}
+         * @private
+         */
+        this.pgBefore = null;
+        /**
+         * Span following pages select (contains ' of ')
+         * @type {DOMElement}
+         * @private
+         */
+        this.pgAfter = null;
+
+        let startRow = tf.refRow;
+        let nrows = tf.getRowsNb(true);
+        //calculates page nb
+        this.nbPages = Math.ceil((nrows - startRow) / this.pageLength);
+
+        let o = this;
+        /**
+         * Paging DOM events handlers
+         * @type {String}
+         * @private
+         */
+        this.evt = {
+            slcIndex() {
+                return (o.pageSelectorType === SELECT) ?
+                    o.pageSlc.options.selectedIndex :
+                    parseInt(o.pageSlc.value, 10) - 1;
+            },
+            nbOpts() {
+                return (o.pageSelectorType === SELECT) ?
+                    parseInt(o.pageSlc.options.length, 10) - 1 :
+                    (o.nbPages - 1);
+            },
+            next() {
+                let nextIndex = o.evt.slcIndex() < o.evt.nbOpts() ?
+                    o.evt.slcIndex() + 1 : 0;
+                o.changePage(nextIndex);
+            },
+            prev() {
+                let prevIndex = o.evt.slcIndex() > 0 ?
+                    o.evt.slcIndex() - 1 : o.evt.nbOpts();
+                o.changePage(prevIndex);
+            },
+            last() {
+                o.changePage(o.evt.nbOpts());
+            },
+            first() {
+                o.changePage(0);
+            },
+            _detectKey(e) {
+                let key = keyCode(e);
+                if (key === ENTER_KEY) {
+                    if (tf.sorted) {
+                        tf.filter();
+                        o.changePage(o.evt.slcIndex());
+                    } else {
+                        o.changePage();
+                    }
+                    this.blur();
+                }
+            },
+            slcPagesChange: null,
+            nextEvt: null,
+            prevEvt: null,
+            lastEvt: null,
+            firstEvt: null
+        };
+    }
+
+    /**
+     * Initialize DOM elements
+     */
+    init() {
+        let slcPages;
+        let tf = this.tf;
+        let evt = this.evt;
+
+        if (this.initialized) {
+            return;
+        }
+
+        // Check resultsPerPage is in expected format and initialise the
+        // results per page component
+        if (this.hasResultsPerPage) {
+            if (this.resultsPerPage.length < 2) {
+                this.hasResultsPerPage = false;
+            } else {
+                this.pageLength = this.resultsPerPage[1][0];
+                this.setResultsPerPage();
+            }
+        }
+
+        evt.slcPagesChange = (event) => {
+            let slc = event.target;
+            this.changePage(slc.selectedIndex);
+        };
+
+        // Paging drop-down list selector
+        if (this.pageSelectorType === SELECT) {
+            slcPages = createElm(SELECT);
+            slcPages.className = this.pgSlcCssClass;
+            addEvt(slcPages, 'change', evt.slcPagesChange);
+        }
+
+        // Paging input selector
+        if (this.pageSelectorType === INPUT) {
+            slcPages = createElm(INPUT, ['value', this.currentPageNb]);
+            slcPages.className = this.pgInpCssClass;
+            addEvt(slcPages, 'keypress', evt._detectKey);
+        }
+
+        // btns containers
+        let btnNextSpan = createElm('span');
+        let btnPrevSpan = createElm('span');
+        let btnLastSpan = createElm('span');
+        let btnFirstSpan = createElm('span');
+
+        if (this.hasBtns) {
+            // Next button
+            if (!this.btnNextPageHtml) {
+                let btnNext = createElm(INPUT,
+                    ['type', 'button'],
+                    ['value', this.btnNextPageText],
+                    ['title', 'Next']
+                );
+                btnNext.className = this.btnCssClass;
+                addEvt(btnNext, 'click', evt.next);
+                btnNextSpan.appendChild(btnNext);
+            } else {
+                btnNextSpan.innerHTML = this.btnNextPageHtml;
+                addEvt(btnNextSpan, 'click', evt.next);
+            }
+            // Previous button
+            if (!this.btnPrevPageHtml) {
+                let btnPrev = createElm(INPUT,
+                    ['type', 'button'],
+                    ['value', this.btnPrevPageText],
+                    ['title', 'Previous']
+                );
+                btnPrev.className = this.btnCssClass;
+                addEvt(btnPrev, 'click', evt.prev);
+                btnPrevSpan.appendChild(btnPrev);
+            } else {
+                btnPrevSpan.innerHTML = this.btnPrevPageHtml;
+                addEvt(btnPrevSpan, 'click', evt.prev);
+            }
+            // Last button
+            if (!this.btnLastPageHtml) {
+                let btnLast = createElm(INPUT,
+                    ['type', 'button'],
+                    ['value', this.btnLastPageText],
+                    ['title', 'Last']
+                );
+                btnLast.className = this.btnCssClass;
+                addEvt(btnLast, 'click', evt.last);
+                btnLastSpan.appendChild(btnLast);
+            } else {
+                btnLastSpan.innerHTML = this.btnLastPageHtml;
+                addEvt(btnLastSpan, 'click', evt.last);
+            }
+            // First button
+            if (!this.btnFirstPageHtml) {
+                let btnFirst = createElm(INPUT,
+                    ['type', 'button'],
+                    ['value', this.btnFirstPageText],
+                    ['title', 'First']
+                );
+                btnFirst.className = this.btnCssClass;
+                addEvt(btnFirst, 'click', evt.first);
+                btnFirstSpan.appendChild(btnFirst);
+            } else {
+                btnFirstSpan.innerHTML = this.btnFirstPageHtml;
+                addEvt(btnFirstSpan, 'click', evt.first);
+            }
+        }
+
+        // paging elements (buttons+drop-down list) are added to defined element
+        if (!this.tgtId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.tgtId ? tf.mDiv : elm(this.tgtId);
+        targetEl.appendChild(btnFirstSpan);
+        targetEl.appendChild(btnPrevSpan);
+
+        let pgBeforeSpan = createElm('span');
+        pgBeforeSpan.appendChild(createText(this.pageText));
+        pgBeforeSpan.className = this.nbPgSpanCssClass;
+        targetEl.appendChild(pgBeforeSpan);
+        targetEl.appendChild(slcPages);
+        let pgAfterSpan = createElm('span');
+        pgAfterSpan.appendChild(createText(this.ofText));
+        pgAfterSpan.className = this.nbPgSpanCssClass;
+        targetEl.appendChild(pgAfterSpan);
+        let pgSpan = createElm('span');
+        pgSpan.className = this.nbPgSpanCssClass;
+        pgSpan.appendChild(createText(' ' + this.nbPages + ' '));
+        targetEl.appendChild(pgSpan);
+        targetEl.appendChild(btnNextSpan);
+        targetEl.appendChild(btnLastSpan);
+
+        this.btnNextCont = btnNextSpan;
+        this.btnPrevCont = btnPrevSpan;
+        this.btnLastCont = btnLastSpan;
+        this.btnFirstCont = btnFirstSpan;
+        this.pgCont = pgSpan;
+        this.pgBefore = pgBeforeSpan;
+        this.pgAfter = pgAfterSpan;
+        this.pageSlc = slcPages;
+
+        this.setPagingInfo();
+
+        if (!tf.fltGrid) {
+            tf.validateAllRows();
+            this.setPagingInfo(tf.validRowsIndex);
+        }
+
+        this.emitter.on(['after-filtering'], () => this.resetPagingInfo());
+        this.emitter.on(['change-page'],
+            (tf, pageNumber) => this.setPage(pageNumber));
+        this.emitter.on(['change-page-results'],
+            (tf, pageLength) => this.changeResultsPerPage(pageLength));
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Reset paging when filters are already instantiated
+     * @param {Boolean} filterTable Execute filtering once paging instanciated
+     */
+    reset(filterTable = false) {
+        this.enable();
+        this.init();
+
+        if (filterTable) {
+            this.tf.filter();
+        }
+    }
+
+    /**
+     * Reset paging info from scratch after a filtering process
+     */
+    resetPagingInfo() {
+        this.startPagingRow = 0;
+        this.currentPageNb = 1;
+        this.setPagingInfo(this.tf.validRowsIndex);
+    }
+
+    /**
+     * Calculate number of pages based on valid rows
+     * Refresh paging select according to number of pages
+     * @param {Array} validRows Collection of valid rows
+     */
+    setPagingInfo(validRows) {
+        let tf = this.tf;
+        let mdiv = !this.tgtId ? tf.mDiv : elm(this.tgtId);
+
+        //store valid rows indexes
+        tf.validRowsIndex = validRows || tf.getValidRows(true);
+
+        //calculate nb of pages
+        this.nbPages = Math.ceil(tf.validRowsIndex.length / this.pageLength);
+        //refresh page nb span
+        this.pgCont.innerHTML = this.nbPages;
+        //select clearing shortcut
+        if (this.pageSelectorType === SELECT) {
+            this.pageSlc.innerHTML = '';
+        }
+
+        if (this.nbPages > 0) {
+            mdiv.style.visibility = 'visible';
+            if (this.pageSelectorType === SELECT) {
+                for (let z = 0; z < this.nbPages; z++) {
+                    let opt = createOpt(z + 1, z * this.pageLength, false);
+                    this.pageSlc.options[z] = opt;
+                }
+            } else {
+                //input type
+                this.pageSlc.value = this.currentPageNb;
+            }
+
+        } else {
+            /*** if no results paging select and buttons are hidden ***/
+            mdiv.style.visibility = 'hidden';
+        }
+        this.groupByPage(tf.validRowsIndex);
+    }
+
+    /**
+     * Group table rows by page and display valid rows
+     * @param  {Array} validRows Collection of valid rows
+     */
+    groupByPage(validRows) {
+        let tf = this.tf;
+        let rows = tf.dom().rows;
+        let startPagingRow = parseInt(this.startPagingRow, 10);
+        let endPagingRow = startPagingRow + parseInt(this.pageLength, 10);
+
+        //store valid rows indexes
+        if (validRows) {
+            tf.validRowsIndex = validRows;
+        }
+
+        //this loop shows valid rows of current page
+        for (let h = 0, len = tf.getValidRowsNb(true); h < len; h++) {
+            let validRowIdx = tf.validRowsIndex[h];
+            let r = rows[validRowIdx];
+            let isRowValid = r.getAttribute('validRow');
+            let rowDisplayed = false;
+
+            if (h >= startPagingRow && h < endPagingRow) {
+                if (isNull(isRowValid) || Boolean(isRowValid === 'true')) {
+                    r.style.display = '';
+                    rowDisplayed = true;
+                }
+            } else {
+                r.style.display = NONE;
+            }
+            this.emitter.emit('row-paged', tf, validRowIdx, h, rowDisplayed);
+        }
+
+        // broadcast grouping by page
+        this.emitter.emit('grouped-by-page', tf, this);
+    }
+
+    /**
+     * Return the current page number
+     * @return {Number} Page number
+     */
+    getPage() {
+        return this.currentPageNb;
+    }
+
+    /**
+     * Show page defined by passed argument (string or number):
+     * @param {String}/{Number} cmd possible string values: 'next',
+     *   'previous', 'last', 'first' or page number as per param
+     */
+    setPage(cmd) {
+        let tf = this.tf;
+        if (!tf.isInitialized() || !this.isEnabled()) {
+            return;
+        }
+        let btnEvt = this.evt,
+            cmdtype = typeof cmd;
+        if (cmdtype === 'string') {
+            switch (cmd.toLowerCase()) {
+                case 'next':
+                    btnEvt.next();
+                    break;
+                case 'previous':
+                    btnEvt.prev();
+                    break;
+                case 'last':
+                    btnEvt.last();
+                    break;
+                case 'first':
+                    btnEvt.first();
+                    break;
+                default:
+                    btnEvt.next();
+                    break;
+            }
+        }
+        else if (cmdtype === 'number') {
+            this.changePage(cmd - 1);
+        }
+    }
+
+    /**
+     * Generates UI elements for the number of results per page drop-down
+     */
+    setResultsPerPage() {
+        let tf = this.tf;
+        let evt = this.evt;
+
+        if (this.pageLengthSlc || !this.resultsPerPage) {
+            return;
+        }
+
+        evt.slcResultsChange = (ev) => {
+            this.onChangeResultsPerPage();
+            ev.target.blur();
+        };
+
+        let slcR = createElm(SELECT);
+        slcR.className = this.resultsSlcCssClass;
+        let slcRText = this.resultsPerPage[0],
+            slcROpts = this.resultsPerPage[1];
+        let slcRSpan = createElm('span');
+        slcRSpan.className = this.resultsSpanCssClass;
+
+        // results per page select is added to external element
+        if (!this.pageLengthTgtId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.pageLengthTgtId ?
+            tf.rDiv : elm(this.pageLengthTgtId);
+        slcRSpan.appendChild(createText(slcRText));
+
+        let help = tf.feature('help');
+        if (help && help.btn) {
+            help.btn.parentNode.insertBefore(slcRSpan, help.btn);
+            help.btn.parentNode.insertBefore(slcR, help.btn);
+        } else {
+            targetEl.appendChild(slcRSpan);
+            targetEl.appendChild(slcR);
+        }
+
+        for (let r = 0; r < slcROpts.length; r++) {
+            let currOpt = new Option(slcROpts[r], slcROpts[r], false, false);
+            slcR.options[r] = currOpt;
+        }
+        addEvt(slcR, 'change', evt.slcResultsChange);
+        this.slcResultsTxt = slcRSpan;
+        this.pageLengthSlc = slcR;
+    }
+
+    /**
+     * Remove number of results per page UI elements
+     */
+    removeResultsPerPage() {
+        let tf = this.tf;
+        if (!tf.isInitialized() || !this.pageLengthSlc ||
+            !this.resultsPerPage) {
+            return;
+        }
+        if (this.pageLengthSlc) {
+            removeElm(this.pageLengthSlc);
+        }
+        if (this.slcResultsTxt) {
+            removeElm(this.slcResultsTxt);
+        }
+        this.pageLengthSlc = null;
+        this.slcResultsTxt = null;
+    }
+
+    /**
+     * Change the page based on passed index
+     * @param {Number} index Index of the page (0-n)
+     */
+    changePage(index) {
+        let tf = this.tf;
+
+        if (!this.isEnabled()) {
+            return;
+        }
+
+        this.emitter.emit('before-page-change', tf, (index + 1));
+
+        if (index === null) {
+            index = this.pageSelectorType === SELECT ?
+                this.pageSlc.options.selectedIndex : this.pageSlc.value - 1;
+        }
+        if (index >= 0 && index <= (this.nbPages - 1)) {
+            this.onBeforeChangePage(this, (index + 1));
+
+            this.currentPageNb = parseInt(index, 10) + 1;
+            if (this.pageSelectorType === SELECT) {
+                this.pageSlc.options[index].selected = true;
+            } else {
+                this.pageSlc.value = this.currentPageNb;
+            }
+
+            this.startPagingRow = (this.pageSelectorType === SELECT) ?
+                this.pageSlc.value : (index * this.pageLength);
+
+            this.groupByPage();
+
+            this.onAfterChangePage(this, (index + 1));
+        }
+
+        this.emitter.emit('after-page-change', tf, (index + 1));
+    }
+
+    /**
+     * Change the number of results per page based on passed value
+     * @param {String} val The number of results per page
+     */
+    changeResultsPerPage(val) {
+        if (!this.isEnabled() || isNaN(val)) {
+            return;
+        }
+
+        this.pageLengthSlc.value = val;
+        this.onChangeResultsPerPage();
+    }
+
+    /**
+     * Change rows according to page results drop-down
+     */
+    onChangeResultsPerPage() {
+        let tf = this.tf;
+
+        if (!this.isEnabled() || tf.getValidRowsNb() === 0) {
+            return;
+        }
+
+        let {
+            pageLengthSlc: slcR, pageSelectorType, pageSlc, emitter
+        } = this;
+
+        emitter.emit('before-page-length-change', tf);
+
+        let slcIndex = slcR.selectedIndex;
+        let slcPagesSelIndex = (pageSelectorType === SELECT) ?
+            pageSlc.selectedIndex : parseInt(pageSlc.value - 1, 10);
+        this.pageLength = parseInt(slcR.options[slcIndex].value, 10);
+        this.startPagingRow = this.pageLength * slcPagesSelIndex;
+
+        if (!isNaN(this.pageLength)) {
+            if (this.startPagingRow >= tf.nbFilterableRows) {
+                this.startPagingRow = (tf.nbFilterableRows - this.pageLength);
+            }
+            this.setPagingInfo();
+
+            if (pageSelectorType === SELECT) {
+                let slcIdx = (pageSlc.options.length - 1 <= slcPagesSelIndex) ?
+                    (pageSlc.options.length - 1) :
+                    slcPagesSelIndex;
+                pageSlc.options[slcIdx].selected = true;
+            }
+        }
+
+        emitter.emit('after-page-length-change', tf, this.pageLength);
+    }
+
+    /**
+     * Re-set page nb at page re-load
+     */
+    resetPage() {
+        let tf = this.tf;
+        if (!this.isEnabled()) {
+            return;
+        }
+        this.emitter.emit('before-reset-page', tf);
+        let pgNb = tf.feature('store').getPageNb();
+        if (pgNb !== '') {
+            this.changePage((pgNb - 1));
+        }
+        this.emitter.emit('after-reset-page', tf, pgNb);
+    }
+
+    /**
+     * Re-set page length value at page re-load
+     */
+    resetPageLength() {
+        let tf = this.tf;
+        if (!this.isEnabled()) {
+            return;
+        }
+        this.emitter.emit('before-reset-page-length', tf);
+        let pglenIndex = tf.feature('store').getPageLength();
+
+        if (pglenIndex !== '') {
+            this.pageLengthSlc.options[pglenIndex].selected = true;
+            this.changeResultsPerPage();
+        }
+        this.emitter.emit('after-reset-page-length', tf, pglenIndex);
+    }
+
+    /**
+     * Remove paging feature
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        let evt = this.evt;
+
+        if (this.pageSlc) {
+            if (this.pageSelectorType === SELECT) {
+                removeEvt(this.pageSlc, 'change', evt.slcPagesChange);
+            }
+            else if (this.pageSelectorType === INPUT) {
+                removeEvt(this.pageSlc, 'keypress', evt._detectKey);
+            }
+            removeElm(this.pageSlc);
+        }
+
+        if (this.btnNextCont) {
+            removeEvt(this.btnNextCont, 'click', evt.next);
+            removeElm(this.btnNextCont);
+            this.btnNextCont = null;
+        }
+
+        if (this.btnPrevCont) {
+            removeEvt(this.btnPrevCont, 'click', evt.prev);
+            removeElm(this.btnPrevCont);
+            this.btnPrevCont = null;
+        }
+
+        if (this.btnLastCont) {
+            removeEvt(this.btnLastCont, 'click', evt.last);
+            removeElm(this.btnLastCont);
+            this.btnLastCont = null;
+        }
+
+        if (this.btnFirstCont) {
+            removeEvt(this.btnFirstCont, 'click', evt.first);
+            removeElm(this.btnFirstCont);
+            this.btnFirstCont = null;
+        }
+
+        if (this.pgBefore) {
+            removeElm(this.pgBefore);
+            this.pgBefore = null;
+        }
+
+        if (this.pgAfter) {
+            removeElm(this.pgAfter);
+            this.pgAfter = null;
+        }
+
+        if (this.pgCont) {
+            removeElm(this.pgCont);
+            this.pgCont = null;
+        }
+
+        if (this.hasResultsPerPage) {
+            this.removeResultsPerPage();
+        }
+
+        this.emitter.off(['after-filtering'], () => this.resetPagingInfo());
+        this.emitter.off(['change-page'],
+            (tf, pageNumber) => this.setPage(pageNumber));
+        this.emitter.off(['change-page-results'],
+            (tf, pageLength) => this.changeResultsPerPage(pageLength));
+
+        this.pageSlc = null;
+        this.nbPages = 0;
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/popupFilter.js.html b/docs/file/src/modules/popupFilter.js.html new file mode 100644 index 00000000..dc7336e9 --- /dev/null +++ b/docs/file/src/modules/popupFilter.js.html @@ -0,0 +1,605 @@ + + + + + + src/modules/popupFilter.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/popupFilter.js

+
import {Feature} from '../feature';
+import {isUndef, EMPTY_FN} from '../types';
+import {createElm, removeElm} from '../dom';
+import {addEvt, cancelEvt, stopEvt, targetEvt, removeEvt} from '../event';
+import {INPUT, NONE, CHECKLIST, MULTIPLE} from '../const';
+import {root} from '../root';
+import {defaultsStr, defaultsBool, defaultsArr, defaultsFn} from '../settings';
+
+/**
+ * Pop-up filter component
+ * @export
+ * @class PopupFilter
+ * @extends {Feature}
+ */
+export class PopupFilter extends Feature {
+
+    /**
+     * Creates an instance of PopupFilter
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'popupFilters');
+
+        // Configuration object
+        let f = this.config.popup_filters || {};
+
+        /**
+         * Close active popup filter upon filtering, enabled by default
+         * @type {Boolean}
+         */
+        this.closeOnFiltering = defaultsBool(f.close_on_filtering, true);
+
+        /**
+         * Filter icon path
+         * @type {String}
+         */
+        this.iconPath = defaultsStr(f.image, tf.themesPath + 'icn_filter.gif');
+
+        /**
+         * Active filter icon path
+         * @type {string}
+         */
+        this.activeIconPath = defaultsStr(f.image_active,
+            tf.themesPath + 'icn_filterActive.gif');
+
+        /**
+         * HTML for the filter icon
+         * @type {string}
+         */
+        this.iconHtml = defaultsStr(f.image_html,
+            '<img src="' + this.iconPath + '" alt="Column filter" />');
+
+        /**
+         * Css class assigned to the popup container element
+         * @type {String}
+         */
+        this.placeholderCssClass = defaultsStr(f.placeholder_css_class,
+            'popUpPlaceholder');
+
+        /**
+         * Css class assigned to filter container element
+         * @type {String}
+         */
+        this.containerCssClass = defaultsStr(f.div_css_class, 'popUpFilter');
+
+        /**
+         * Ensure filter's container element width matches column width, enabled
+         * by default
+         * @type {Boolean}
+         */
+        this.adjustToContainer = defaultsBool(f.adjust_to_container, true);
+
+        /**
+         * Callback fired before a popup filter is opened
+         * @type {Function}
+         */
+        this.onBeforeOpen = defaultsFn(f.on_before_popup_filter_open, EMPTY_FN);
+
+        /**
+         * Callback fired after a popup filter is opened
+         * @type {Function}
+         */
+        this.onAfterOpen = defaultsFn(f.on_after_popup_filter_open, EMPTY_FN);
+
+        /**
+         * Callback fired before a popup filter is closed
+         * @type {Function}
+         */
+        this.onBeforeClose = defaultsFn(f.on_before_popup_filter_close,
+            EMPTY_FN);
+
+        /**
+         * Callback fired after a popup filter is closed
+         * @type {Function}
+         */
+        this.onAfterClose = defaultsFn(f.on_after_popup_filter_close, EMPTY_FN);
+
+        /**
+         * Collection of filters spans
+         * @type {Array}
+         * @private
+         */
+        this.fltSpans = [];
+
+        /**
+         * Collection of filters icons
+         * @type {Array}
+         * @private
+         */
+        this.fltIcons = [];
+
+        /**
+         * Collection of filters icons cached after pop-up filters are removed
+         * @type {Array}
+         * @private
+         */
+        this.filtersCache = null;
+
+        /**
+         * Collection of filters containers
+         * @type {Array}
+         * @private
+         */
+        this.fltElms = defaultsArr(this.filtersCache, []);
+
+        /**
+         * Prefix for pop-up filter container ID
+         * @type {String}
+         * @private
+         */
+        this.prfxDiv = 'popup_';
+
+        /**
+         * Column index of popup filter currently active
+         * @type {Number}
+         * @private
+         */
+        this.activeFilterIdx = -1;
+    }
+
+    /**
+     * Click event handler for pop-up filter icon
+     * @private
+     */
+    onClick(evt) {
+        let elm = targetEvt(evt).parentNode;
+        let colIndex = parseInt(elm.getAttribute('ci'), 10);
+
+        this.closeAll(colIndex);
+        this.toggle(colIndex);
+
+        if (this.adjustToContainer) {
+            let cont = this.fltElms[colIndex],
+                header = this.tf.getHeaderElement(colIndex),
+                headerWidth = header.clientWidth * 0.95;
+            cont.style.width = parseInt(headerWidth, 10) + 'px';
+        }
+        cancelEvt(evt);
+        stopEvt(evt);
+    }
+
+    /**
+     * Mouse-up event handler handling popup filter auto-close behaviour
+     * @private
+     */
+    onMouseup(evt) {
+        if (this.activeFilterIdx === -1) {
+            return;
+        }
+        let targetElm = targetEvt(evt);
+        let activeFlt = this.fltElms[this.activeFilterIdx];
+        let icon = this.fltIcons[this.activeFilterIdx];
+
+        if (icon === targetElm) {
+            return;
+        }
+
+        while (targetElm && targetElm !== activeFlt) {
+            targetElm = targetElm.parentNode;
+        }
+
+        if (targetElm !== activeFlt) {
+            this.close(this.activeFilterIdx);
+        }
+
+        return;
+    }
+
+    /**
+     * Initialize DOM elements
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        let tf = this.tf;
+
+        // Enable external filters
+        tf.externalFltTgtIds = [''];
+
+        // Override headers row index if no grouped headers
+        // TODO: Because of the filters row generation, headers row index needs
+        // adjusting: prevent useless row generation
+        if (tf.headersRow <= 1 && isNaN(tf.config().headers_row_index)) {
+            tf.headersRow = 0;
+        }
+
+        // Adjust headers row index for grid-layout mode
+        // TODO: Because of the filters row generation, headers row index needs
+        // adjusting: prevent useless row generation
+        if (tf.gridLayout) {
+            tf.headersRow--;
+            this.buildIcons();
+        }
+
+        // subscribe to events
+        this.emitter.on(['before-filtering'], () => this.setIconsState());
+        this.emitter.on(['after-filtering'], () => this.closeAll());
+        this.emitter.on(['cell-processed'],
+            (tf, cellIndex) => this.changeState(cellIndex, true));
+        this.emitter.on(['filters-row-inserted'], () => this.buildIcons());
+        this.emitter.on(['before-filter-init'],
+            (tf, colIndex) => this.build(colIndex));
+
+        /** @inherited */
+        this.initialized = true;
+    }
+
+    /**
+     * Reset previously destroyed feature
+     */
+    reset() {
+        this.enable();
+        this.init();
+        this.buildIcons();
+        this.buildAll();
+    }
+
+    /**
+     * Build all filters icons
+     */
+    buildIcons() {
+        let tf = this.tf;
+
+        // TODO: Because of the filters row generation, headers row index needs
+        // adjusting: prevent useless row generation
+        tf.headersRow++;
+
+        for (let i = 0; i < tf.nbCells; i++) {
+            if (tf.getFilterType(i) === NONE) {
+                continue;
+            }
+            let icon = createElm('span', ['ci', i]);
+            icon.innerHTML = this.iconHtml;
+            let header = tf.getHeaderElement(i);
+            header.appendChild(icon);
+            addEvt(icon, 'click', (evt) => this.onClick(evt));
+            this.fltSpans[i] = icon;
+            this.fltIcons[i] = icon.firstChild;
+        }
+    }
+
+    /**
+     * Build all pop-up filters elements
+     */
+    buildAll() {
+        for (let i = 0; i < this.filtersCache.length; i++) {
+            this.build(i, this.filtersCache[i]);
+        }
+    }
+
+    /**
+     * Build a specified pop-up filter elements
+     * @param  {Number} colIndex Column index
+     * @param  {Object} div      Optional container DOM element
+     */
+    build(colIndex, div) {
+        let tf = this.tf;
+        let contId = `${this.prfxDiv}${tf.id}_${colIndex}`;
+        let placeholder = createElm('div', ['class', this.placeholderCssClass]);
+        let cont = div ||
+            createElm('div', ['id', contId], ['class', this.containerCssClass]);
+        tf.externalFltTgtIds[colIndex] = cont.id;
+        placeholder.appendChild(cont);
+
+        let header = tf.getHeaderElement(colIndex);
+        header.insertBefore(placeholder, header.firstChild);
+        addEvt(cont, 'click', (evt) => stopEvt(evt));
+        this.fltElms[colIndex] = cont;
+    }
+
+    /**
+     * Toggle visibility of specified filter
+     * @param  {Number} colIndex Column index
+     */
+    toggle(colIndex) {
+        if (!this.isOpen(colIndex)) {
+            this.open(colIndex);
+        } else {
+            this.close(colIndex);
+        }
+    }
+
+    /**
+     * Open popup filter of specified column
+     * @param {Number} colIndex Column index
+     */
+    open(colIndex) {
+        let tf = this.tf,
+            container = this.fltElms[colIndex];
+
+        this.onBeforeOpen(this, container, colIndex);
+
+        container.style.display = 'block';
+        this.activeFilterIdx = colIndex;
+        addEvt(root, 'mouseup', (evt) => this.onMouseup(evt));
+
+        if (tf.getFilterType(colIndex) === INPUT) {
+            let flt = tf.getFilterElement(colIndex);
+            if (flt) {
+                flt.focus();
+            }
+        }
+
+        this.onAfterOpen(this, container, colIndex);
+    }
+
+    /**
+     * Close popup filter of specified column
+     * @param {Number} colIndex Column index
+     */
+    close(colIndex) {
+        let container = this.fltElms[colIndex];
+
+        this.onBeforeClose(this, container, colIndex);
+
+        container.style.display = NONE;
+        if (this.activeFilterIdx === colIndex) {
+            this.activeFilterIdx = -1;
+        }
+        removeEvt(root, 'mouseup', (evt) => this.onMouseup(evt));
+
+        this.onAfterClose(this, container, colIndex);
+    }
+
+    /**
+     * Check if popup filter for specified column is open
+     * @param {Number} colIndex Column index
+     * @returns {Boolean}
+     */
+    isOpen(colIndex) {
+        return this.fltElms[colIndex].style.display === 'block';
+    }
+
+    /**
+     * Close all filters excepted for the specified one if any
+     * @param  {Number} exceptIdx Column index of the filter to not close
+     */
+    closeAll(exceptIdx) {
+        // Do not close filters only if argument is undefined and close on
+        // filtering option is disabled
+        if (isUndef(exceptIdx) && !this.closeOnFiltering) {
+            return;
+        }
+        for (let i = 0; i < this.fltElms.length; i++) {
+            if (i === exceptIdx) {
+                continue;
+            }
+            let fltType = this.tf.getFilterType(i);
+            let isMultipleFilter =
+                (fltType === CHECKLIST || fltType === MULTIPLE);
+
+            // Always hide all single selection filter types but hide multiple
+            // selection filter types only if index set
+            if (!isMultipleFilter || !isUndef(exceptIdx)) {
+                this.close(i);
+            }
+        }
+    }
+
+    /**
+     * Build all the icons representing the pop-up filters
+     */
+    setIconsState() {
+        for (let i = 0; i < this.fltIcons.length; i++) {
+            this.changeState(i, false);
+        }
+    }
+
+    /**
+     * Apply specified icon state
+     * @param  {Number} colIndex Column index
+     * @param  {Boolean} active   Apply active state
+     */
+    changeState(colIndex, active) {
+        let icon = this.fltIcons[colIndex];
+        if (icon) {
+            icon.src = active ? this.activeIconPath : this.iconPath;
+        }
+    }
+
+    /**
+     * Remove pop-up filters
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        this.filtersCache = [];
+        for (let i = 0; i < this.fltElms.length; i++) {
+            let container = this.fltElms[i],
+                placeholder = container.parentNode,
+                icon = this.fltSpans[i],
+                iconImg = this.fltIcons[i];
+            if (container) {
+                removeElm(container);
+                this.filtersCache[i] = container;
+            }
+            container = null;
+            if (placeholder) {
+                removeElm(placeholder);
+            }
+            placeholder = null;
+            if (icon) {
+                removeElm(icon);
+            }
+            icon = null;
+            if (iconImg) {
+                removeElm(iconImg);
+            }
+            iconImg = null;
+        }
+        this.fltElms = [];
+        this.fltSpans = [];
+        this.fltIcons = [];
+
+        // TODO: expose an API to handle external filter IDs
+        this.tf.externalFltTgtIds = [];
+
+        // unsubscribe to events
+        this.emitter.off(['before-filtering'], () => this.setIconsState());
+        this.emitter.off(['after-filtering'], () => this.closeAll());
+        this.emitter.off(['cell-processed'],
+            (tf, cellIndex) => this.changeState(cellIndex, true));
+        this.emitter.off(['filters-row-inserted'], () => this.buildIcons());
+        this.emitter.off(['before-filter-init'],
+            (tf, colIndex) => this.build(colIndex));
+
+        this.initialized = false;
+    }
+
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/rowsCounter.js.html b/docs/file/src/modules/rowsCounter.js.html new file mode 100644 index 00000000..44710c3b --- /dev/null +++ b/docs/file/src/modules/rowsCounter.js.html @@ -0,0 +1,348 @@ + + + + + + src/modules/rowsCounter.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/rowsCounter.js

+
import {Feature} from '../feature';
+import {createElm, createText, elm, removeElm} from '../dom';
+import {EMPTY_FN} from '../types';
+import {defaultsStr, defaultsFn} from '../settings';
+
+/**
+ * Rows counter UI component
+ * @export
+ * @class RowsCounter
+ * @extends {Feature}
+ */
+export class RowsCounter extends Feature {
+
+    /**
+     * Creates an instance of RowsCounter
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'rowsCounter');
+
+        // TableFilter configuration
+        let f = this.config.rows_counter || {};
+
+        /**
+         * ID of custom container element
+         * @type {String}
+         */
+        this.targetId = defaultsStr(f.target_id, null);
+
+        /**
+         * Container DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.container = null;
+
+        /**
+         * Container DOM element for label displaying the total number of rows
+         * @type {DOMElement}
+         * @private
+         */
+        this.label = null;
+
+        /**
+         * Text preceding the total number of rows
+         * @type {String}
+         */
+        this.text = defaultsStr(f.text, 'Rows: ');
+
+        /**
+         * Separator symbol appearing between the first and last visible rows of
+         * current page when paging is enabled. ie: Rows: 31-40 / 70
+         * @type {String}
+         */
+        this.fromToTextSeparator = defaultsStr(f.separator, '-');
+
+        /**
+         * Separator symbol appearing between the first and last visible rows of
+         * current page and the total number of filterable rows when paging is
+         * enabled. ie: Rows: 31-40 / 70
+         * @type {String}
+         */
+        this.overText = defaultsStr(f.over_text, ' / ');
+
+        /**
+         * Css class for container element
+         * @type {String}
+         */
+        this.cssClass = defaultsStr(f.css_class, 'tot');
+
+        /**
+         * Callback fired before the counter is refreshed
+         * @type {Function}
+         */
+        this.onBeforeRefreshCounter = defaultsFn(f.on_before_refresh_counter,
+            EMPTY_FN);
+
+        /**
+         * Callback fired after the counter is refreshed
+         * @type {Function}
+         */
+        this.onAfterRefreshCounter = defaultsFn(f.on_after_refresh_counter,
+            EMPTY_FN);
+    }
+
+    /**
+     * Initializes RowsCounter instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        let tf = this.tf;
+
+        //rows counter container
+        let countDiv = createElm('div');
+        countDiv.className = this.cssClass;
+        //rows counter label
+        let countSpan = createElm('span');
+        let countText = createElm('span');
+        countText.appendChild(createText(this.text));
+
+        // counter is added to defined element
+        if (!this.targetId) {
+            tf.setToolbar();
+        }
+        let targetEl = !this.targetId ? tf.lDiv : elm(this.targetId);
+
+        //default container: 'lDiv'
+        if (!this.targetId) {
+            countDiv.appendChild(countText);
+            countDiv.appendChild(countSpan);
+            targetEl.appendChild(countDiv);
+        } else {
+            //custom container, no need to append statusDiv
+            targetEl.appendChild(countText);
+            targetEl.appendChild(countSpan);
+        }
+        this.container = countDiv;
+        this.label = countSpan;
+
+        // subscribe to events
+        this.emitter.on(['after-filtering', 'grouped-by-page'],
+            () => this.refresh(tf.getValidRowsNb()));
+        this.emitter.on(['rows-changed'], () => this.refresh());
+
+        /** @inherited */
+        this.initialized = true;
+        this.refresh();
+    }
+
+    /**
+     * Refreshes the rows counter
+     * @param {Number} p Optional parameter the total number of rows to display
+     */
+    refresh(p) {
+        if (!this.initialized || !this.isEnabled()) {
+            return;
+        }
+
+        let tf = this.tf;
+
+        this.onBeforeRefreshCounter(tf, this.label);
+
+        let totTxt;
+        if (!tf.paging) {
+            if (p && p !== '') {
+                totTxt = p;
+            } else {
+                totTxt = tf.getFilterableRowsNb() - tf.nbHiddenRows;
+            }
+        } else {
+            let paging = tf.feature('paging');
+            if (paging) {
+                let nbValidRows = tf.getValidRowsNb();
+                //paging start row
+                let pagingStartRow = parseInt(paging.startPagingRow, 10) +
+                    ((nbValidRows > 0) ? 1 : 0);
+                let pagingEndRow =
+                    (pagingStartRow + paging.pageLength) - 1 <=
+                    nbValidRows ?
+                        pagingStartRow + paging.pageLength - 1 :
+                        nbValidRows;
+                totTxt = pagingStartRow + this.fromToTextSeparator +
+                    pagingEndRow + this.overText + nbValidRows;
+            }
+        }
+
+        this.label.innerHTML = totTxt;
+        this.onAfterRefreshCounter(tf, this.label, totTxt);
+    }
+
+    /**
+     * Remove feature
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        if (!this.targetId && this.container) {
+            removeElm(this.container);
+        } else {
+            elm(this.targetId).innerHTML = '';
+        }
+        this.label = null;
+        this.container = null;
+
+        // unsubscribe to events
+        this.emitter.off(['after-filtering', 'grouped-by-page'],
+            () => this.refresh(tf.getValidRowsNb()));
+        this.emitter.off(['rows-changed'], () => this.refresh());
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/state.js.html b/docs/file/src/modules/state.js.html new file mode 100644 index 00000000..9b0dccb5 --- /dev/null +++ b/docs/file/src/modules/state.js.html @@ -0,0 +1,693 @@ + + + + + + src/modules/state.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/state.js

+
import {Feature} from '../feature';
+import {Hash} from './hash';
+import {Storage} from './storage';
+import {isEmpty} from '../string';
+import {isArray, isNull, isString, isUndef} from '../types';
+import {defaultsBool, defaultsNb} from '../settings';
+
+/**
+ * Features state object persistable with localStorage, cookie or URL hash
+ *
+ * @export
+ * @class State
+ * @extends {Feature}
+ */
+export class State extends Feature {
+
+    /**
+     * Creates an instance of State
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'state');
+
+        let cfg = this.config.state || {};
+
+        /**
+         * Determines whether state is persisted with URL hash
+         * @type {Boolean}
+         */
+        this.enableHash = cfg === true ||
+            (isArray(cfg.types) && cfg.types.indexOf('hash') !== -1);
+
+        /**
+         * Determines whether state is persisted with localStorage
+         * @type {Boolean}
+         */
+        this.enableLocalStorage = isArray(cfg.types) &&
+            cfg.types.indexOf('local_storage') !== -1;
+
+        /**
+         * Determines whether state is persisted with localStorage
+         * @type {Boolean}
+         */
+        this.enableCookie = isArray(cfg.types) &&
+            cfg.types.indexOf('cookie') !== -1;
+
+        /**
+         * Persist filters values, enabled by default
+         * @type {Boolean}
+         */
+        this.persistFilters = defaultsBool(cfg.filters, true);
+
+        /**
+         * Persist current page number when paging is enabled
+         * @type {Boolean}
+         */
+        this.persistPageNumber = Boolean(cfg.page_number);
+
+        /**
+         * Persist page length when paging is enabled
+         * @type {Boolean}
+         */
+        this.persistPageLength = Boolean(cfg.page_length);
+
+        /**
+         * Persist column sorting
+         * @type {Boolean}
+         */
+        this.persistSort = Boolean(cfg.sort);
+
+        /**
+         * Persist columns visibility
+         * @type {Boolean}
+         */
+        this.persistColsVisibility = Boolean(cfg.columns_visibility);
+
+        /**
+         * Persist filters row visibility
+         * @type {Boolean}
+         */
+        this.persistFiltersVisibility = Boolean(cfg.filters_visibility);
+
+        /**
+         * Cookie duration in hours
+         * @type {Boolean}
+         */
+        this.cookieDuration = defaultsNb(parseInt(cfg.cookie_duration, 10),
+            87600);
+
+        /**
+         * Enable Storage if localStorage or cookie is required
+         * @type {Boolean}
+         * @private
+         */
+        this.enableStorage = this.enableLocalStorage || this.enableCookie;
+
+        /**
+         * Storage instance if storage is required
+         * @type {Storage}
+         * @private
+         */
+        this.storage = null;
+
+        /**
+         * Hash instance if URL hash is required
+         * @type {Boolean}
+         * @private
+         */
+        this.hash = null;
+
+        /**
+         * Current page number
+         * @type {Number}
+         * @private
+         */
+        this.pageNb = null;
+
+        /**
+         * Current page length
+         * @type {Number}
+         * @private
+         */
+        this.pageLength = null;
+
+        /**
+         * Current column sorting
+         * @type {Object}
+         * @private
+         */
+        this.sort = null;
+
+        /**
+         * Current hidden columns
+         * @type {Object}
+         * @private
+         */
+        this.hiddenCols = null;
+
+        /**
+         * Filters row visibility
+         * @type {Boolean}
+         * @private
+         */
+        this.filtersVisibility = null;
+
+        /**
+         * State object
+         * @type {Object}
+         * @private
+         */
+        this.state = {};
+
+        /**
+         * Prefix for column ID
+         * @type {String}
+         * @private
+         */
+        this.prfxCol = 'col_';
+
+        /**
+         * Prefix for page number ID
+         * @type {String}
+         * @private
+         */
+        this.pageNbKey = 'page';
+
+        /**
+         * Prefix for page length ID
+         * @type {String}
+         * @private
+         */
+        this.pageLengthKey = 'page_length';
+
+        /**
+         * Prefix for filters visibility ID
+         * @type {String}
+         * @private
+         */
+        this.filtersVisKey = 'filters_visibility';
+    }
+
+    /**
+     * Initializes State instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        this.emitter.on(['after-filtering'], () => this.update());
+        this.emitter.on(['after-page-change', 'after-clearing-filters'],
+            (tf, pageNb) => this.updatePage(pageNb));
+        this.emitter.on(['after-page-length-change'],
+            (tf, pageLength) => this.updatePageLength(pageLength));
+        this.emitter.on(['column-sorted'],
+            (tf, index, descending) => this.updateSort(index, descending));
+        this.emitter.on(['sort-initialized'], () => this._syncSort());
+        this.emitter.on(['columns-visibility-initialized'],
+            () => this._syncColsVisibility());
+        this.emitter.on(['column-shown', 'column-hidden'], (tf, feature,
+            colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));
+        this.emitter.on(['filters-visibility-initialized'],
+            () => this._syncFiltersVisibility());
+        this.emitter.on(['filters-toggled'],
+            (tf, extension, visible) => this.updateFiltersVisibility(visible));
+
+        if (this.enableHash) {
+            this.hash = new Hash(this);
+            this.hash.init();
+        }
+        if (this.enableStorage) {
+            this.storage = new Storage(this);
+            this.storage.init();
+        }
+
+        /**
+         * @inherited
+         */
+        this.initialized = true;
+    }
+
+
+    /**
+     * Update state object based on current features state
+     */
+    update() {
+        if (!this.isEnabled()) {
+            return;
+        }
+        let state = this.state;
+        let tf = this.tf;
+
+        if (this.persistFilters) {
+            let filterValues = tf.getFiltersValue();
+
+            filterValues.forEach((val, idx) => {
+                let key = `${this.prfxCol}${idx}`;
+
+                if (isString(val) && isEmpty(val)) {
+                    if (state.hasOwnProperty(key)) {
+                        state[key].flt = undefined;
+                    }
+                } else {
+                    state[key] = state[key] || {};
+                    state[key].flt = val;
+                }
+            });
+        }
+
+        if (this.persistPageNumber) {
+            if (isNull(this.pageNb)) {
+                state[this.pageNbKey] = undefined;
+            } else {
+                state[this.pageNbKey] = this.pageNb;
+            }
+        }
+
+        if (this.persistPageLength) {
+            if (isNull(this.pageLength)) {
+                state[this.pageLengthKey] = undefined;
+            } else {
+                state[this.pageLengthKey] = this.pageLength;
+            }
+        }
+
+        if (this.persistSort) {
+            if (!isNull(this.sort)) {
+                // Remove previuosly sorted column
+                Object.keys(state).forEach((key) => {
+                    if (key.indexOf(this.prfxCol) !== -1 && state[key]) {
+                        state[key].sort = undefined;
+                    }
+                });
+
+                let key = `${this.prfxCol}${this.sort.column}`;
+                state[key] = state[key] || {};
+                state[key].sort = { descending: this.sort.descending };
+            }
+        }
+
+        if (this.persistColsVisibility) {
+            if (!isNull(this.hiddenCols)) {
+                // Clear previuosly hidden columns
+                Object.keys(state).forEach((key) => {
+                    if (key.indexOf(this.prfxCol) !== -1 && state[key]) {
+                        state[key].hidden = undefined;
+                    }
+                });
+
+                this.hiddenCols.forEach((colIdx) => {
+                    let key = `${this.prfxCol}${colIdx}`;
+                    state[key] = state[key] || {};
+                    state[key].hidden = true;
+                });
+            }
+        }
+
+        if (this.persistFiltersVisibility) {
+            if (isNull(this.filtersVisibility)) {
+                state[this.filtersVisKey] = undefined;
+            } else {
+                state[this.filtersVisKey] = this.filtersVisibility;
+            }
+        }
+
+        this.emitter.emit('state-changed', tf, state);
+    }
+
+    /**
+     * Refresh page number field on page number changes
+     *
+     * @param {Number} pageNb Current page number
+     */
+    updatePage(pageNb) {
+        this.pageNb = pageNb;
+        this.update();
+    }
+
+    /**
+     * Refresh page length field on page length changes
+     *
+     * @param {Number} pageLength Current page length value
+     */
+    updatePageLength(pageLength) {
+        this.pageLength = pageLength;
+        this.update();
+    }
+
+    /**
+     * Refresh column sorting information on sort changes
+     *
+     * @param index {Number} Column index
+     * @param {Boolean} descending Descending manner
+     */
+    updateSort(index, descending) {
+        this.sort = {
+            column: index,
+            descending: descending
+        };
+        this.update();
+    }
+
+    /**
+     * Refresh hidden columns information on columns visibility changes
+     *
+     * @param {Array} hiddenCols Columns indexes
+     */
+    updateColsVisibility(hiddenCols) {
+        this.hiddenCols = hiddenCols;
+        this.update();
+    }
+
+    /**
+     * Refresh filters visibility on filters visibility change
+     *
+     * @param {Boolean} visible Visibility flad
+     */
+    updateFiltersVisibility(visible) {
+        this.filtersVisibility = visible;
+        this.update();
+    }
+
+    /**
+     * Override state field
+     *
+     * @param state State object
+     */
+    override(state) {
+        this.state = state;
+    }
+
+    /**
+     * Sync stored features state
+     */
+    sync() {
+        let state = this.state;
+        let tf = this.tf;
+
+        this._syncFilters();
+
+        if (this.persistPageNumber) {
+            let pageNumber = state[this.pageNbKey];
+            this.emitter.emit('change-page', tf, pageNumber);
+        }
+
+        if (this.persistPageLength) {
+            let pageLength = state[this.pageLengthKey];
+            this.emitter.emit('change-page-results', tf, pageLength);
+        }
+
+        this._syncSort();
+        this._syncColsVisibility();
+        this._syncFiltersVisibility();
+    }
+
+    /**
+     * Override current state with passed one and sync features
+     *
+     * @param {Object} state State object
+     */
+    overrideAndSync(state) {
+        // To prevent state to react to features changes, state is temporarily
+        // disabled
+        this.disable();
+        // State is overriden with passed state object
+        this.override(state);
+        // New hash state is applied to features
+        this.sync();
+        // State is re-enabled
+        this.enable();
+    }
+
+    /**
+     * Sync filters with stored values and filter table
+     *
+     * @private
+     */
+    _syncFilters() {
+        if (!this.persistFilters) {
+            return;
+        }
+        let state = this.state;
+        let tf = this.tf;
+
+        Object.keys(state).forEach((key) => {
+            if (key.indexOf(this.prfxCol) !== -1) {
+                let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);
+                let val = state[key].flt;
+                tf.setFilterValue(colIdx, val);
+            }
+        });
+
+        tf.filter();
+    }
+
+    /**
+     * Sync sorted column with stored sorting information and sort table
+     *
+     * @private
+     */
+    _syncSort() {
+        if (!this.persistSort) {
+            return;
+        }
+        let state = this.state;
+        let tf = this.tf;
+
+        Object.keys(state).forEach((key) => {
+            if (key.indexOf(this.prfxCol) !== -1) {
+                let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);
+                if (!isUndef(state[key].sort)) {
+                    let sort = state[key].sort;
+                    this.emitter.emit('sort', tf, colIdx, sort.descending);
+                }
+            }
+        });
+    }
+
+    /**
+     * Sync hidden columns with stored information
+     *
+     * @private
+     */
+    _syncColsVisibility() {
+        if (!this.persistColsVisibility) {
+            return;
+        }
+        let state = this.state;
+        let tf = this.tf;
+        let hiddenCols = [];
+
+        Object.keys(state).forEach((key) => {
+            if (key.indexOf(this.prfxCol) !== -1) {
+                let colIdx = parseInt(key.replace(this.prfxCol, ''), 10);
+                if (!isUndef(state[key].hidden)) {
+                    hiddenCols.push(colIdx);
+                }
+            }
+        });
+
+        hiddenCols.forEach((colIdx) => {
+            this.emitter.emit('hide-column', tf, colIdx);
+        });
+    }
+
+    /**
+     * Sync filters visibility with stored information
+     *
+     * @private
+     */
+    _syncFiltersVisibility() {
+        if (!this.persistFiltersVisibility) {
+            return;
+        }
+        let state = this.state;
+        let tf = this.tf;
+        let filtersVisibility = state[this.filtersVisKey];
+
+        this.filtersVisibility = filtersVisibility;
+        this.emitter.emit('show-filters', tf, filtersVisibility);
+    }
+
+    /**
+     * Destroy State instance
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        this.state = {};
+
+        this.emitter.off(['after-filtering'], () => this.update());
+        this.emitter.off(['after-page-change', 'after-clearing-filters'],
+            (tf, pageNb) => this.updatePage(pageNb));
+        this.emitter.off(['after-page-length-change'],
+            (tf, index) => this.updatePageLength(index));
+        this.emitter.off(['column-sorted'],
+            (tf, index, descending) => this.updateSort(index, descending));
+        this.emitter.off(['sort-initialized'], () => this._syncSort());
+        this.emitter.off(['columns-visibility-initialized'],
+            () => this._syncColsVisibility());
+        this.emitter.off(['column-shown', 'column-hidden'], (tf, feature,
+            colIndex, hiddenCols) => this.updateColsVisibility(hiddenCols));
+        this.emitter.off(['filters-visibility-initialized'],
+            () => this._syncFiltersVisibility());
+        this.emitter.off(['filters-toggled'],
+            (tf, extension, visible) => this.updateFiltersVisibility(visible));
+
+        if (this.enableHash) {
+            this.hash.destroy();
+            this.hash = null;
+        }
+
+        if (this.enableStorage) {
+            this.storage.destroy();
+            this.storage = null;
+        }
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/statusBar.js.html b/docs/file/src/modules/statusBar.js.html new file mode 100644 index 00000000..adff02d1 --- /dev/null +++ b/docs/file/src/modules/statusBar.js.html @@ -0,0 +1,451 @@ + + + + + + src/modules/statusBar.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/statusBar.js

+
import {Feature} from '../feature';
+import {root} from '../root';
+import {createElm, createText, elm, removeElm} from '../dom';
+import {EMPTY_FN} from '../types';
+import {defaultsStr, defaultsFn} from '../settings';
+
+const EVENTS = [
+    'after-filtering',
+    'after-populating-filter',
+    'after-page-change',
+    'after-clearing-filters',
+    'after-page-length-change',
+    'after-reset-page',
+    'after-reset-page-length',
+    'after-loading-extensions',
+    'after-loading-themes'
+];
+
+/**
+ * Status bar UI component
+ * @export
+ * @class StatusBar
+ * @extends {Feature}
+ */
+export class StatusBar extends Feature {
+
+    /**
+     * Creates an instance of StatusBar
+     * @param {TableFilter} tf TableFilter instance
+     */
+    constructor(tf) {
+        super(tf, 'statusBar');
+
+        // Configuration object
+        let f = this.config.status_bar || {};
+
+        /**
+         * ID of custom container element
+         * @type {String}
+         */
+        this.targetId = defaultsStr(f.target_id, null);
+
+        /**
+         * Container DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.container = null;
+
+        /**
+         * Message container DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.msgContainer = null;
+
+        /**
+         * Label container DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.labelContainer = null;
+
+        /**
+         * Text preceding status message
+         * @type {String}
+         */
+        this.text = defaultsStr(f.text, '');
+
+        /**
+         * Css class for container element
+         * @type {String}
+         */
+        this.cssClass = defaultsStr(f.css_class, 'status');
+
+        /**
+         * Message visibility duration in milliseconds
+         * @type {Number}
+         * @private
+         */
+        this.delay = 250;
+
+        /**
+         * Callback fired before the message is displayed
+         * @type {Function}
+         */
+        this.onBeforeShowMsg = defaultsFn(f.on_before_show_msg, EMPTY_FN);
+
+        /**
+         * Callback fired after the message is displayed
+         * @type {Function}
+         */
+        this.onAfterShowMsg = defaultsFn(f.on_after_show_msg, EMPTY_FN);
+
+        /**
+         * Message appearing upon filtering
+         * @type {String}
+         */
+        this.msgFilter = defaultsStr(f.msg_filter, 'Filtering data...');
+
+        /**
+         * Message appearing when a drop-down filter is populated
+         * @type {String}
+         */
+        this.msgPopulate = defaultsStr(f.msg_populate, 'Populating filter...');
+
+        /**
+         * Message appearing when a checklist filter is populated
+         * @type {String}
+         */
+        this.msgPopulateCheckList = defaultsStr(f.msg_populate_checklist,
+            'Populating list...');
+
+        /**
+         * Message appearing when a pagination page is changed
+         * @type {String}
+         */
+        this.msgChangePage = defaultsStr(f.msg_change_page,
+            'Collecting paging data...');
+
+        /**
+         * Message appearing when filters are cleared
+         * @type {String}
+         */
+        this.msgClear = defaultsStr(f.msg_clear, 'Clearing filters...');
+
+        /**
+         * Message appearing when the page length is changed
+         * @type {String}
+         */
+        this.msgChangeResults = defaultsStr(f.msg_change_results,
+            'Changing results per page...');
+
+        /**
+         * Message appearing when the page is re-set
+         * @type {String}
+         */
+        this.msgResetPage = defaultsStr(f.msg_reset_page, 'Re-setting page...');
+
+        /**
+         * Message appearing when the page length is re-set
+         * @type {String}
+         */
+        this.msgResetPageLength = defaultsStr(f.msg_reset_page_length,
+            'Re-setting page length...');
+
+        /**
+         * Message appearing upon column sorting
+         * @type {String}
+         */
+        this.msgSort = defaultsStr(f.msg_sort, 'Sorting data...');
+
+        /**
+         * Message appearing when extensions are loading
+         * @type {String}
+         */
+        this.msgLoadExtensions = defaultsStr(f.msg_load_extensions,
+            'Loading extensions...');
+
+        /**
+         * Message appearing when themes are loading
+         * @type {String}
+         */
+        this.msgLoadThemes = defaultsStr(f.msg_load_themes,
+            'Loading theme(s)...');
+    }
+
+    /**
+     * Initializes StatusBar instance
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        let tf = this.tf;
+        let emitter = this.emitter;
+
+        //status bar container
+        let statusDiv = createElm('div');
+        statusDiv.className = this.cssClass;
+
+        //status bar label
+        let statusSpan = createElm('span');
+        //preceding text
+        let statusSpanText = createElm('span');
+        statusSpanText.appendChild(createText(this.text));
+
+        // target element container
+        if (!this.targetId) {
+            tf.setToolbar();
+        }
+        let targetEl = (!this.targetId) ? tf.lDiv : elm(this.targetId);
+
+        //default container: 'lDiv'
+        if (!this.targetId) {
+            statusDiv.appendChild(statusSpanText);
+            statusDiv.appendChild(statusSpan);
+            targetEl.appendChild(statusDiv);
+        } else {
+            // custom container, no need to append statusDiv
+            targetEl.appendChild(statusSpanText);
+            targetEl.appendChild(statusSpan);
+        }
+
+        this.container = statusDiv;
+        this.msgContainer = statusSpan;
+        this.labelContainer = statusSpanText;
+
+        // Subscribe to events
+        emitter.on(['before-filtering'], () => this.message(this.msgFilter));
+        emitter.on(['before-populating-filter'],
+            () => this.message(this.msgPopulate));
+        emitter.on(['before-page-change'],
+            () => this.message(this.msgChangePage));
+        emitter.on(['before-clearing-filters'], () =>
+            this.message(this.msgClear));
+        emitter.on(['before-page-length-change'],
+            () => this.message(this.msgChangeResults));
+        emitter.on(['before-reset-page'],
+            () => this.message(this.msgResetPage));
+        emitter.on(['before-reset-page-length'],
+            () => this.message(this.msgResetPageLength));
+        emitter.on(['before-loading-extensions'],
+            () => this.message(this.msgLoadExtensions));
+        emitter.on(['before-loading-themes'],
+            () => this.message(this.msgLoadThemes));
+
+        emitter.on(EVENTS, () => this.message(''));
+
+        /**
+         * @inherited
+         */
+        this.initialized = true;
+    }
+
+    /**
+     * Display status message
+     * @param {String} [t=''] Message to be displayed
+     */
+    message(t = '') {
+        if (!this.isEnabled()) {
+            return;
+        }
+
+        this.onBeforeShowMsg(this.tf, t);
+
+        let d = t === '' ? this.delay : 1;
+        root.setTimeout(() => {
+            if (!this.initialized) {
+                return;
+            }
+            this.msgContainer.innerHTML = t;
+
+            this.onAfterShowMsg(this.tf, t);
+        }, d);
+    }
+
+    /**
+     * Destroy StatusBar instance
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        let emitter = this.emitter;
+
+        this.container.innerHTML = '';
+        if (!this.targetId) {
+            removeElm(this.container);
+        }
+        this.labelContainer = null;
+        this.msgContainer = null;
+        this.container = null;
+
+        // Unsubscribe to events
+        emitter.off(['before-filtering'], () => this.message(this.msgFilter));
+        emitter.off(['before-populating-filter'],
+            () => this.message(this.msgPopulate));
+        emitter.off(['before-page-change'],
+            () => this.message(this.msgChangePage));
+        emitter.off(['before-clearing-filters'],
+            () => this.message(this.msgClear));
+        emitter.off(['before-page-length-change'],
+            () => this.message(this.msgChangeResults));
+        emitter.off(['before-reset-page'], () =>
+            this.message(this.msgResetPage));
+        emitter.off(['before-reset-page-length'],
+            () => this.message(this.msgResetPageLength));
+        emitter.off(['before-loading-extensions'],
+            () => this.message(this.msgLoadExtensions));
+        emitter.off(['before-loading-themes'],
+            () => this.message(this.msgLoadThemes));
+
+        emitter.off(EVENTS, () => this.message(''));
+
+        this.initialized = false;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/modules/storage.js.html b/docs/file/src/modules/storage.js.html new file mode 100644 index 00000000..1ca4628c --- /dev/null +++ b/docs/file/src/modules/storage.js.html @@ -0,0 +1,312 @@ + + + + + + src/modules/storage.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/modules/storage.js

+
import Cookie from '../cookie';
+import {root} from '../root';
+
+const JSON = root.JSON;
+const localStorage = root.localStorage;
+const location = root.location;
+
+/**
+ * Checks if browser has Storage feature
+ */
+export const hasStorage = () => {
+    return 'Storage' in root;
+};
+
+/**
+ * Stores the features state in browser's local storage or cookie
+ *
+ * @export
+ * @class Storage
+ */
+export class Storage {
+
+    /**
+     * Creates an instance of Storage
+     *
+     * @param {State} state Instance of State
+     */
+    constructor(state) {
+
+        /**
+         * State object
+         * @type {State}
+         * @private
+         */
+        this.state = state;
+
+        /**
+         * TableFilter object
+         * @type {TableFilter}
+         * @private
+         */
+        this.tf = state.tf;
+
+        /**
+         * Persist with local storage
+         * @type {Boolean}
+         * @private
+         */
+        this.enableLocalStorage = state.enableLocalStorage && hasStorage();
+
+        /**
+         * Persist with cookie
+         * @type {Boolean}
+         * @private
+         */
+        this.enableCookie = state.enableCookie && !this.enableLocalStorage;
+
+        /**
+         * Emitter object
+         * @type {Emitter}
+         * @private
+         */
+        this.emitter = state.emitter;
+
+        /**
+         * Cookie duration in hours from state object
+         * @type {Number}
+         * @private
+         */
+        this.duration = state.cookieDuration;
+    }
+
+
+    /**
+     * Initializes the Storage object
+     */
+    init() {
+        this.emitter.on(['state-changed'], (tf, state) => this.save(state));
+        this.emitter.on(['initialized'], () => this.sync());
+    }
+
+    /**
+     * Persists the features state on state changes
+     *
+     * @param {State} state Instance of State
+     */
+    save(state) {
+        if (this.enableLocalStorage) {
+            localStorage[this.getKey()] = JSON.stringify(state);
+        } else {
+            Cookie.write(this.getKey(), JSON.stringify(state), this.duration);
+        }
+    }
+
+    /**
+     * Turns stored string into a State JSON object
+     *
+     *  @returns {Object} JSON object
+     */
+    retrieve() {
+        let state = null;
+        if (this.enableLocalStorage) {
+            state = localStorage[this.getKey()];
+        } else {
+            state = Cookie.read(this.getKey());
+        }
+
+        if (!state) {
+            return null;
+        }
+        return JSON.parse(state);
+    }
+
+    /**
+     * Removes persisted state from storage
+     */
+    remove() {
+        if (this.enableLocalStorage) {
+            localStorage.removeItem(this.getKey());
+        } else {
+            Cookie.remove(this.getKey());
+        }
+    }
+
+    /**
+     * Applies persisted state to features
+     */
+    sync() {
+        let state = this.retrieve();
+        if (!state) {
+            return;
+        }
+        // override current state with persisted one and sync features
+        this.state.overrideAndSync(state);
+    }
+
+    /**
+     * Returns the storage key
+     *
+     * @returns {String} Key
+     */
+    getKey() {
+        return JSON.stringify({
+            key: `${this.tf.prfxTf}_${this.tf.id}`,
+            path: location.pathname
+        });
+    }
+
+    /**
+     * Release Storage event subscriptions and clear fields
+     */
+    destroy() {
+        this.emitter.off(['state-changed'], (tf, state) => this.save(state));
+        this.emitter.off(['initialized'], () => this.sync());
+
+        this.remove();
+
+        this.state = null;
+        this.emitter = null;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/number.js.html b/docs/file/src/number.js.html new file mode 100644 index 00000000..e09d7f43 --- /dev/null +++ b/docs/file/src/number.js.html @@ -0,0 +1,183 @@ + + + + + + src/number.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/number.js

+
import {isNumber} from './types';
+
+/**
+ * Takes a string, removes all formatting/cruft and returns the raw float value
+ * @param {String} Formatted number
+ * @param {String} Decimal type '.' or ','
+ * @return {Number} Unformatted number
+ *
+ * https://github.com/openexchangerates/accounting.js/blob/master/accounting.js
+ */
+export const parse = (value, decimal = '.') => {
+    // Return the value as-is if it's already a number
+    if (isNumber(value)) {
+        return value;
+    }
+
+    // Build regex to strip out everything except digits, decimal point and
+    // minus sign
+    let regex = new RegExp('[^0-9-' + decimal + ']', ['g']);
+    let unformatted = parseFloat(
+        ('' + value)
+            // replace bracketed values with negatives
+            .replace(/\((.*)\)/, '-$1')
+            // strip out any cruft
+            .replace(regex, '')
+            // make sure decimal point is standard
+            .replace(decimal, '.')
+    );
+
+    // This will fail silently
+    return !isNaN(unformatted) ? unformatted : 0;
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/root.js.html b/docs/file/src/root.js.html new file mode 100644 index 00000000..96079097 --- /dev/null +++ b/docs/file/src/root.js.html @@ -0,0 +1,157 @@ + + + + + + src/root.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/root.js

+
/**
+ * Export window or global object depending on the environment
+ */
+export const root = (typeof self === 'object' && self.self === self && self) ||
+    (typeof global === 'object' && global.global === global && global) ||
+    this;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/settings.js.html b/docs/file/src/settings.js.html new file mode 100644 index 00000000..3a31ad22 --- /dev/null +++ b/docs/file/src/settings.js.html @@ -0,0 +1,204 @@ + + + + + + src/settings.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/settings.js

+
import {isBoolean, isString, isFn, isArray} from './types';
+
+/** Configuration settings helpers  */
+
+/**
+ * If passed value is not of boolean type return the default value
+ * otherwise return the value itself
+ * @param  {Boolean|Any}  value
+ * @param  {Boolean} default value
+ * @return {Boolean|Any}
+ */
+export const defaultsBool =
+    (val, defaultVal) => isBoolean(val) ? val : defaultVal;
+
+/**
+ * If passed value is not of string type return the default value
+ * otherwise return the value itself
+ * @param  {String|Any}  value
+ * @param  {String} default value
+ * @return {String|Any}
+ */
+export const defaultsStr =
+    (val, defaultVal) => isString(val) ? val : defaultVal;
+
+/**
+ * If passed value is not of number type return the default value
+ * otherwise return the value itself
+ * @param  {Number|Any}  value
+ * @param  {Number} default value
+ * @return {Number|Any}
+ */
+export const defaultsNb =
+    (val, defaultVal) => isNaN(val) ? defaultVal : val;
+
+/**
+ * If passed value is not of array type return the default value
+ * otherwise return the value itself
+ * @param  {Array|Any}  value
+ * @param  {Array} default value
+ * @return {Array|Any}
+ */
+export const defaultsArr =
+    (val, defaultVal) => isArray(val) ? val : defaultVal;
+
+/**
+ * If passed value is not of function type return the default value
+ * otherwise return the value itself
+ * @param  {Function|Any}  value
+ * @param  {Function} default value
+ * @return {Function|Any}
+ */
+export const defaultsFn =
+    (val, defaultVal) => isFn(val) ? val : defaultVal;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/sort.js.html b/docs/file/src/sort.js.html new file mode 100644 index 00000000..81b2ee71 --- /dev/null +++ b/docs/file/src/sort.js.html @@ -0,0 +1,233 @@ + + + + + + src/sort.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/sort.js

+
import {parse as parseNb} from './number';
+import {Date as SugarDate} from 'sugar-date';
+
+/** Sorting utilities */
+
+/**
+ * Case insensitive compare function for passed strings
+ * @param  {String} First string
+ * @param  {String} Second string
+ * @return {Number} -1 if first string lower than second one
+ *                  0 if first string same order as second one
+ *                  1 if first string greater than second one
+ */
+export const ignoreCase = (a, b) => {
+    let x = a.toLowerCase();
+    let y = b.toLowerCase();
+    return x < y ? -1 : (x > y ? 1 : 0);
+};
+
+/**
+ * Compare function for sorting passed numbers in ascending manner
+ * @param {Number} First number
+ * @param {Number} Second number
+ * @return {Number} Negative, zero or positive number
+ */
+export const numSortAsc = (a, b) => (a - b);
+
+/**
+ * Compare function for sorting passed numbers in descending manner
+ * @param {Number} First number
+ * @param {Number} Second number
+ * @return {Number} Negative, zero or positive number
+ */
+export const numSortDesc = (a, b) => (b - a);
+
+/**
+ * Compare function for sorting passed dates in ascending manner according to
+ * the corresponding UTC numeric value (returned by getTime)
+ * @param {Date} First date object
+ * @param {Date} Second date object
+ * @return {Number} Negative, zero or positive number
+ */
+export const dateSortAsc = (date1, date2) => date1.getTime() - date2.getTime();
+
+/**
+ * Compare function for sorting passed dates in descending manner according to
+ * the corresponding UTC numeric value (returned by getTime)
+ * @param {Date} First date object
+ * @param {Date} Second date object
+ * @return {Number} Negative, zero or positive number
+ */
+export const dateSortDesc = (date1, date2) => date2.getTime() - date1.getTime();
+
+/**
+ * Curried compare function for sorting passed formatted numbers in desired
+ * fashion according to supplied compare function and decimal separator
+ * @param {Function} Compare function
+ * @param {String} [decimal=','] Decimal separator
+ * @return {Function} Compare function receiving parsed numeric arguments
+ */
+export const sortNumberStr = (compareFn, decimal = ',') => {
+    return (numStr1, numStr2) => {
+        let num1 = parseNb(numStr1, decimal);
+        let num2 = parseNb(numStr2, decimal);
+        return compareFn(num1, num2);
+    };
+};
+
+/**
+ * Curried compare function for sorting passed formatted dates in desired
+ * fashion according to supplied compare function and locale
+ * @param {Function} Compare function
+ * @param {String} [locale='en-us'] Locale code
+ * @return {Function} Compare function receiving parsed date arguments
+ */
+export const sortDateStr = (compareFn, locale = 'en-us') => {
+    return (dateStr1, dateStr2) => {
+        let date1 = SugarDate.create(dateStr1, locale);
+        let date2 = SugarDate.create(dateStr2, locale);
+        return compareFn(date1, date2);
+    };
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/string.js.html b/docs/file/src/string.js.html new file mode 100644 index 00000000..2a4170ff --- /dev/null +++ b/docs/file/src/string.js.html @@ -0,0 +1,227 @@ + + + + + + src/string.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/string.js

+
import {remove as removeDiacritics} from 'diacritics';
+
+/**
+ * String utilities
+ */
+
+/**
+ * Removes whitespace from both sides of passed string
+ * @param  {String} text
+ * @return {String}
+ */
+export const trim = (text) => {
+    if (text.trim) {
+        return text.trim();
+    }
+    return text.replace(/^\s*|\s*$/g, '');
+};
+
+/**
+ * Checks if passed string is empty
+ * @param {String} text
+ * @return {Boolean}
+ */
+export const isEmpty = (text) => trim(text) === '';
+
+/**
+ * Makes regex safe string by escaping special characters from passed string
+ * @param {String} text
+ * @return {String} escaped string
+ */
+export const rgxEsc = (text) => {
+    let chars = /[-\/\\^$*+?.()|[\]{}]/g;
+    let escMatch = '\\$&';
+    return String(text).replace(chars, escMatch);
+};
+
+/**
+ * Returns passed string as lowercase if caseSensitive flag set false. By
+ * default it returns the string with no casing changes.
+ * @param {String} text
+ * @return {String} string
+ */
+export const matchCase = (text, caseSensitive = false) => {
+    if (!caseSensitive) {
+        return text.toLowerCase();
+    }
+    return text;
+};
+
+/**
+ * Checks if passed data contains the searched term
+ * @param  {String} term                Searched term
+ * @param  {String} data                Data string
+ * @param  {Boolean} exactMatch         Exact match
+ * @param  {Boolean} caseSensitive      Case sensitive
+ * @param  {Boolean} ignoreDiacritics   Ignore diacritics
+ * @return {Boolean}
+ */
+export const contains = (term, data, exactMatch = false, caseSensitive = false,
+    ignoreDiacritics = false) => {
+    // Improved by Cedric Wartel (cwl) automatic exact match for selects and
+    // special characters are now filtered
+    let regexp;
+    let modifier = caseSensitive ? 'g' : 'gi';
+    if (ignoreDiacritics) {
+        term = removeDiacritics(term);
+        data = removeDiacritics(data);
+    }
+    if (exactMatch) {
+        regexp = new RegExp('(^\\s*)' + rgxEsc(term) + '(\\s*$)',
+            modifier);
+    } else {
+        regexp = new RegExp(rgxEsc(term), modifier);
+    }
+    return regexp.test(data);
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/tablefilter.js.html b/docs/file/src/tablefilter.js.html new file mode 100644 index 00000000..1d043573 --- /dev/null +++ b/docs/file/src/tablefilter.js.html @@ -0,0 +1,3314 @@ + + + + + + src/tablefilter.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/tablefilter.js

+
import {addEvt, cancelEvt, stopEvt, targetEvt, keyCode} from './event';
+import {
+    addClass, createElm, createOpt, elm, getText, getFirstTextNode,
+    removeClass, removeElm, tag
+} from './dom';
+import {contains, matchCase, rgxEsc, trim} from './string';
+import {isEmpty as isEmptyString} from './string';
+import {
+    isArray, isEmpty, isFn, isNumber, isObj, isString, isUndef, EMPTY_FN
+} from './types';
+import {parse as parseNb} from './number';
+import {
+    defaultsBool, defaultsStr, defaultsFn,
+    defaultsNb, defaultsArr
+} from './settings';
+
+import {root} from './root';
+import {Emitter} from './emitter';
+import {Dropdown} from './modules/dropdown';
+import {CheckList} from './modules/checkList';
+
+import {
+    INPUT, SELECT, MULTIPLE, CHECKLIST, NONE,
+    ENTER_KEY, TAB_KEY, ESC_KEY, UP_ARROW_KEY, DOWN_ARROW_KEY,
+    CELL_TAG, AUTO_FILTER_DELAY, NUMBER, DATE, FORMATTED_NUMBER,
+    FEATURES
+} from './const';
+
+let doc = root.document;
+
+/**
+ * Makes HTML tables filterable and a bit more :)
+ *
+ * @export
+ * @class TableFilter
+ */
+export class TableFilter {
+
+    /**
+     * Creates an instance of TableFilter
+     * requires `table` or `id` arguments, `row` and `configuration` optional
+     * @param {HTMLTableElement} table Table DOM element
+     * @param {String} id Table id
+     * @param {Number} row index indicating the 1st row
+     * @param {Object} configuration object
+     */
+    constructor(...args) {
+        /**
+         * ID of current instance
+         * @type {String}
+         * @private
+         */
+        this.id = null;
+
+        /**
+         * Current version
+         * @type {String}
+         */
+        this.version = '{VERSION}';
+
+        /**
+         * Current year
+         * @type {Number}
+         * @private
+         */
+        this.year = new Date().getFullYear();
+
+        /**
+         * HTML Table DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.tbl = null;
+
+        /**
+         * Calculated row's index from which starts filtering once filters
+         * are generated
+         * @type {Number}
+         */
+        this.refRow = null;
+
+        /**
+         * Index of the headers row
+         * @type {Number}
+         * @private
+         */
+        this.headersRow = null;
+
+        /**
+         * Configuration object
+         * @type {Object}
+         * @private
+         */
+        this.cfg = {};
+
+        /**
+         * Number of rows that can be filtered
+         * @type {Number}
+         * @private
+         */
+        this.nbFilterableRows = 0;
+
+        /**
+         * Number of cells in the reference row
+         * @type {Number}
+         * @private
+         */
+        this.nbCells = null;
+
+        /**
+         * Has a configuration object
+         * @type {Object}
+         * @private
+         */
+        this.hasConfig = false;
+
+        /** @private */
+        this.initialized = false;
+
+        let startRow;
+
+        // TODO: use for-of
+        args.forEach((arg) => {
+            if (typeof arg === 'object' && arg.nodeName === 'TABLE') {
+                this.tbl = arg;
+                this.id = arg.id || `tf_${new Date().getTime()}_`;
+            } else if (isString(arg)) {
+                this.id = arg;
+                this.tbl = elm(arg);
+            } else if (isNumber(arg)) {
+                startRow = arg;
+            } else if (isObj(arg)) {
+                this.cfg = arg;
+                this.hasConfig = true;
+            }
+        });
+
+        if (!this.tbl || this.tbl.nodeName !== 'TABLE') {
+            throw new Error(`Could not instantiate TableFilter: HTML table
+                DOM element not found.`);
+        }
+
+        if (this.getRowsNb() === 0) {
+            throw new Error(`Could not instantiate TableFilter: HTML table
+                requires at least 1 row.`);
+        }
+
+        // configuration object
+        let f = this.cfg;
+
+        /**
+         * Event emitter instance
+         * @type {Emitter}
+         */
+        this.emitter = new Emitter();
+
+        //Start row
+        this.refRow = isUndef(startRow) ? 2 : (startRow + 1);
+
+        /**
+         * Collection of filter type by column
+         * @type {Array}
+         * @private
+         */
+        this.filterTypes = [].map.call(
+            (this.dom().rows[this.refRow] || this.dom().rows[0]).cells,
+            (cell, idx) => {
+                let colType = this.cfg[`col_${idx}`];
+                return !colType ? INPUT : colType.toLowerCase();
+            });
+
+        /**
+         * Base path for static assets
+         * @type {String}
+         */
+        this.basePath = defaultsStr(f.base_path, 'tablefilter/');
+
+        /*** filters' grid properties ***/
+
+        /**
+         * Enable/disable filters
+         * @type {Boolean}
+         */
+        this.fltGrid = defaultsBool(f.grid, true);
+
+        /**
+         * Enable/disable grid layout (fixed headers)
+         * @type {Object|Boolean}
+         */
+        this.gridLayout = isObj(f.grid_layout) || Boolean(f.grid_layout);
+
+        /**
+         * Filters row index
+         * @type {Number}
+         */
+        this.filtersRowIndex = defaultsNb(f.filters_row_index, 0);
+
+        /**
+         * Headers row index
+         * @type {Number}
+         */
+        this.headersRow = defaultsNb(f.headers_row_index,
+            (this.filtersRowIndex === 0 ? 1 : 0));
+
+        /**
+         * Define the type of cell containing a filter (td/th)
+         * @type {String}
+         */
+        this.fltCellTag = defaultsStr(f.filters_cell_tag, CELL_TAG);
+
+        /**
+         * List of filters IDs
+         * @type {Array}
+         * @private
+         */
+        this.fltIds = [];
+
+        /**
+         * List of valid rows indexes (rows visible upon filtering)
+         * @type {Array}
+         * @private
+         */
+        this.validRowsIndex = [];
+
+        /**
+         * Toolbar's container DOM element
+         * @type {DOMElement}
+         * @private
+         */
+        this.infDiv = null;
+
+        /**
+         * Left-side inner container DOM element (rows counter in toolbar)
+         * @type {DOMElement}
+         * @private
+         */
+        this.lDiv = null;
+
+        /**
+         * Right-side inner container DOM element (reset button,
+         * page length selector in toolbar)
+         * @type {DOMElement}
+         * @private
+         */
+        this.rDiv = null;
+
+        /**
+         * Middle inner container DOM element (paging elements in toolbar)
+         * @type {DOMElement}
+         * @private
+         */
+        this.mDiv = null;
+
+        /**
+         * Css class for toolbar's container DOM element
+         * @type {String}
+         */
+        this.infDivCssClass = defaultsStr(f.inf_div_css_class, 'inf');
+
+        /**
+         * Css class for left-side inner container DOM element
+         * @type {String}
+         */
+        this.lDivCssClass = defaultsStr(f.left_div_css_class, 'ldiv');
+
+        /**
+         * Css class for right-side inner container DOM element
+         * @type {String}
+         */
+        this.rDivCssClass = defaultsStr(f.right_div_css_class, 'rdiv');
+
+        /**
+         * Css class for middle inner container DOM element
+         * @type {String}
+         */
+        this.mDivCssClass = defaultsStr(f.middle_div_css_class, 'mdiv');
+
+        /*** filters' grid appearance ***/
+        /**
+         * Path for stylesheets
+         * @type {String}
+         */
+        this.stylePath = this.getStylePath();
+
+        /**
+         * Main stylesheet path
+         * @type {String}
+         */
+        this.stylesheet = this.getStylesheetPath();
+
+        /**
+         * Main stylesheet ID
+         * @type {String}
+         * @private
+         */
+        this.stylesheetId = this.id + '_style';
+
+        /**
+         * Css class for the filters row
+         * @type {String}
+         */
+        this.fltsRowCssClass = defaultsStr(f.flts_row_css_class, 'fltrow');
+
+        /**
+         * Enable/disable icons (paging, reset button)
+         * @type {Boolean}
+         */
+        this.enableIcons = defaultsBool(f.enable_icons, true);
+
+        /**
+         * Enable/disable alternating rows
+         * @type {Boolean}
+         */
+        this.alternateRows = Boolean(f.alternate_rows);
+
+        /**
+         * Columns widths array
+         * @type {Array}
+         */
+        this.colWidths = defaultsArr(f.col_widths, []);
+
+        /**
+         * Css class for a filter element
+         * @type {String}
+         */
+        this.fltCssClass = defaultsStr(f.flt_css_class, 'flt');
+
+        /**
+         * Css class for multiple select filters
+         * @type {String}
+         */
+        this.fltMultiCssClass = defaultsStr(f.flt_multi_css_class, 'flt_multi');
+
+        /**
+         * Css class for small filter (when submit button is active)
+         * @type {String}
+         */
+        this.fltSmallCssClass = defaultsStr(f.flt_small_css_class, 'flt_s');
+
+        /**
+         * Css class for single filter type
+         * @type {String}
+         */
+        this.singleFltCssClass = defaultsStr(f.single_flt_css_class,
+            'single_flt');
+
+        /*** filters' grid behaviours ***/
+
+        /**
+         * Enable/disable enter key for input type filters
+         * @type {Boolean}
+         */
+        this.enterKey = defaultsBool(f.enter_key, true);
+
+        /**
+         * Callback fired before filtering process starts
+         * @type {Function}
+         */
+        this.onBeforeFilter = defaultsFn(f.on_before_filter, EMPTY_FN);
+
+        /**
+         * Callback fired after filtering process is completed
+         * @type {Function}
+         */
+        this.onAfterFilter = defaultsFn(f.on_after_filter, EMPTY_FN);
+
+        /**
+         * Enable/disable case sensitivity filtering
+         * @type {Boolean}
+         */
+        this.caseSensitive = Boolean(f.case_sensitive);
+
+        /**
+         * Indicate whether exact match filtering is enabled on a per column
+         * basis
+         * @type {Boolean}
+         * @private
+         */
+        this.hasExactMatchByCol = isArray(f.columns_exact_match);
+
+        /**
+         * Exact match filtering per column array
+         * @type {Array}
+         */
+        this.exactMatchByCol = this.hasExactMatchByCol ?
+            f.columns_exact_match : [];
+
+        /**
+         * Globally enable/disable exact match filtering
+         * @type {Boolean}
+         */
+        this.exactMatch = Boolean(f.exact_match);
+
+        /**
+         * Ignore diacritics globally or on a column basis
+         * @type {Boolean|Array}
+         */
+        this.ignoreDiacritics = f.ignore_diacritics;
+
+        /**
+         * Enable/disable linked filters filtering mode
+         * @type {Boolean}
+         */
+        this.linkedFilters = Boolean(f.linked_filters);
+
+        /**
+         * Enable/disable readonly state for excluded options when
+         * linked filters filtering mode is on
+         * @type {Boolean}
+         */
+        this.disableExcludedOptions = Boolean(f.disable_excluded_options);
+
+        /**
+         * Active filter ID
+         * @type {String}
+         * @private
+         */
+        this.activeFilterId = null;
+
+        /**
+         * Enable/disable always visible rows, excluded from filtering
+         * @type {Boolean}
+         */
+        this.hasVisibleRows = Boolean(f.rows_always_visible);
+
+        /**
+         * List of row indexes to be excluded from filtering
+         * @type {Array}
+         */
+        this.visibleRows = this.hasVisibleRows ? f.rows_always_visible : [];
+
+        /**
+         * List of containers IDs where external filters will be generated
+         * @type {Array}
+         */
+        this.externalFltTgtIds = defaultsArr(f.external_flt_grid_ids, []);
+
+        /**
+         * Callback fired after filters are generated
+         * @type {Function}
+         */
+        this.onFiltersLoaded = defaultsFn(f.on_filters_loaded, EMPTY_FN);
+
+        /**
+         * Enable/disable single filter filtering all columns
+         * @type {Boolean}
+         */
+        this.singleSearchFlt = Boolean(f.single_filter);
+
+        /**
+         * Callback fired after a row is validated during filtering
+         * @type {Function}
+         */
+        this.onRowValidated = defaultsFn(f.on_row_validated, EMPTY_FN);
+
+        /**
+         * Specify which column implements a custom cell parser to retrieve the
+         * cell value:
+         * cell_parser: {
+         *     cols: [0, 2],
+         *     parse: function(tf, cell, colIndex) {
+         *         // custom cell parser logic here
+         *         return cellValue;
+         *     }
+         * }
+         * @type {Object}
+         */
+        this.cellParser = isObj(f.cell_parser) && isFn(f.cell_parser.parse) &&
+            isArray(f.cell_parser.cols) ?
+            f.cell_parser : { cols: [], parse: EMPTY_FN };
+
+        /**
+         * Global watermark text for input filter type or watermark for each
+         * filter if an array is supplied
+         * @type {String|Array}
+         */
+        this.watermark = f.watermark || '';
+
+        /**
+         * Indicate whether watermark is on a per column basis
+         * @type {Boolean}
+         * @private
+         */
+        this.isWatermarkArray = isArray(this.watermark);
+
+        /**
+         * Toolbar's custom container ID
+         * @type {String}
+         */
+        this.toolBarTgtId = defaultsStr(f.toolbar_target_id, null);
+
+        /**
+         * Indicate whether help UI component is disabled
+         * @type {Boolean}
+         */
+        this.help = isUndef(f.help_instructions) ? undefined :
+            (isObj(f.help_instructions) || Boolean(f.help_instructions));
+
+        /**
+         * Indicate whether pop-up filters UI is enabled
+         * @type {Boolean}
+         */
+        this.popupFilters = isObj(f.popup_filters) || Boolean(f.popup_filters);
+
+        /**
+         * Indicate whether filtered (active) columns indicator is enabled
+         * @type {Boolean}
+         */
+        this.markActiveColumns = isObj(f.mark_active_columns) ||
+            Boolean(f.mark_active_columns);
+
+        /*** select filter's customisation and behaviours ***/
+        /**
+         * Text for clear option in drop-down filter types (1st option)
+         * @type {String|Array}
+         */
+        this.clearFilterText = defaultsStr(f.clear_filter_text, 'Clear');
+
+        /**
+         * Indicate whether empty option is enabled in drop-down filter types
+         * @type {Boolean}
+         */
+        this.enableEmptyOption = Boolean(f.enable_empty_option);
+
+        /**
+         * Text for empty option in drop-down filter types
+         * @type {String}
+         */
+        this.emptyText = defaultsStr(f.empty_text, '(Empty)');
+
+        /**
+         * Indicate whether non-empty option is enabled in drop-down filter
+         * types
+         * @type {Boolean}
+         */
+        this.enableNonEmptyOption = Boolean(f.enable_non_empty_option);
+
+        /**
+         * Text for non-empty option in drop-down filter types
+         * @type {String}
+         */
+        this.nonEmptyText = defaultsStr(f.non_empty_text, '(Non empty)');
+
+        /**
+         * Indicate whether drop-down filter types filter the table by default
+         * on change event
+         * @type {Boolean}
+         */
+        this.onSlcChange = defaultsBool(f.on_change, true);
+
+        /**
+         * Make drop-down filter types options sorted in alpha-numeric manner
+         * by default globally or on a column basis
+         * @type {Boolean|Array}
+         */
+        this.sortSlc = isUndef(f.sort_select) ? true :
+            isArray(f.sort_select) ? f.sort_select : Boolean(f.sort_select);
+
+        /**
+         * Indicate whether options in drop-down filter types are sorted in a
+         * ascending numeric manner
+         * @type {Boolean}
+         * @private
+         */
+        this.isSortNumAsc = Boolean(f.sort_num_asc);
+
+        /**
+         * List of columns implementing options sorting in a ascending numeric
+         * manner
+         * @type {Array}
+         */
+        this.sortNumAsc = this.isSortNumAsc ? f.sort_num_asc : [];
+
+        /**
+         * Indicate whether options in drop-down filter types are sorted in a
+         * descending numeric manner
+         * @type {Boolean}
+         * @private
+         */
+        this.isSortNumDesc = Boolean(f.sort_num_desc);
+
+        /**
+         * List of columns implementing options sorting in a descending numeric
+         * manner
+         * @type {Array}
+         */
+        this.sortNumDesc = this.isSortNumDesc ? f.sort_num_desc : [];
+
+        /**
+         * Indicate whether drop-down filter types are populated on demand at
+         * first usage
+         * @type {Boolean}
+         */
+        this.loadFltOnDemand = Boolean(f.load_filters_on_demand);
+
+        /**
+         * Indicate whether custom drop-down filter options are implemented
+         * @type {Boolean}
+         */
+        this.hasCustomOptions = isObj(f.custom_options);
+
+        /**
+         * Custom options definition of a per column basis, ie:
+         *	custom_options: {
+         *      cols:[0, 1],
+         *      texts: [
+         *          ['a0', 'b0', 'c0'],
+         *          ['a1', 'b1', 'c1']
+         *      ],
+         *      values: [
+         *          ['a0', 'b0', 'c0'],
+         *          ['a1', 'b1', 'c1']
+         *      ],
+         *      sorts: [false, true]
+         *  }
+         *
+         * @type {Object}
+         */
+        this.customOptions = f.custom_options;
+
+        /*** Filter operators ***/
+        /**
+         * Regular expression operator for input filter. Defaults to 'rgx:'
+         * @type {String}
+         */
+        this.rgxOperator = defaultsStr(f.regexp_operator, 'rgx:');
+
+        /**
+         * Empty cells operator for input filter. Defaults to '[empty]'
+         * @type {String}
+         */
+        this.emOperator = defaultsStr(f.empty_operator, '[empty]');
+
+        /**
+         * Non-empty cells operator for input filter. Defaults to '[nonempty]'
+         * @type {String}
+         */
+        this.nmOperator = defaultsStr(f.nonempty_operator, '[nonempty]');
+
+        /**
+         * Logical OR operator for input filter. Defaults to '||'
+         * @type {String}
+         */
+        this.orOperator = defaultsStr(f.or_operator, '||');
+
+        /**
+         * Logical AND operator for input filter. Defaults to '&&'
+         * @type {String}
+         */
+        this.anOperator = defaultsStr(f.and_operator, '&&');
+
+        /**
+         * Greater than operator for input filter. Defaults to '>'
+         * @type {String}
+         */
+        this.grOperator = defaultsStr(f.greater_operator, '>');
+
+        /**
+         * Lower than operator for input filter. Defaults to '<'
+         * @type {String}
+         */
+        this.lwOperator = defaultsStr(f.lower_operator, '<');
+
+        /**
+         * Lower than or equal operator for input filter. Defaults to '<='
+         * @type {String}
+         */
+        this.leOperator = defaultsStr(f.lower_equal_operator, '<=');
+
+        /**
+         * Greater than or equal operator for input filter. Defaults to '>='
+         * @type {String}
+         */
+        this.geOperator = defaultsStr(f.greater_equal_operator, '>=');
+
+        /**
+         * Inequality operator for input filter. Defaults to '!'
+         * @type {String}
+         */
+        this.dfOperator = defaultsStr(f.different_operator, '!');
+
+        /**
+         * Like operator for input filter. Defaults to '*'
+         * @type {String}
+         */
+        this.lkOperator = defaultsStr(f.like_operator, '*');
+
+        /**
+         * Strict equality operator for input filter. Defaults to '='
+         * @type {String}
+         */
+        this.eqOperator = defaultsStr(f.equal_operator, '=');
+
+        /**
+         * Starts with operator for input filter. Defaults to '='
+         * @type {String}
+         */
+        this.stOperator = defaultsStr(f.start_with_operator, '{');
+
+        /**
+         * Ends with operator for input filter. Defaults to '='
+         * @type {String}
+         */
+        this.enOperator = defaultsStr(f.end_with_operator, '}');
+
+        // this.curExp = f.cur_exp || '^[¥£€$]';
+
+        /**
+         * Stored values separator
+         * @type {String}
+         */
+        this.separator = defaultsStr(f.separator, ',');
+
+        /**
+         * Enable rows counter UI component
+         * @type {Boolean|Object}
+         */
+        this.rowsCounter = isObj(f.rows_counter) || Boolean(f.rows_counter);
+
+        /**
+         * Enable status bar UI component
+         * @type {Boolean|Object}
+         */
+        this.statusBar = isObj(f.status_bar) || Boolean(f.status_bar);
+
+        /**
+         * Enable activity/spinner indicator UI component
+         * @type {Boolean|Object}
+         */
+        this.loader = isObj(f.loader) || Boolean(f.loader);
+
+        /*** validation - reset buttons/links ***/
+        /**
+         * Enable filters submission button
+         * @type {Boolean}
+         */
+        this.displayBtn = Boolean(f.btn);
+
+        /**
+         * Define filters submission button text
+         * @type {String}
+         */
+        this.btnText = defaultsStr(f.btn_text, (!this.enableIcons ? 'Go' : ''));
+
+        /**
+         * Css class for filters submission button
+         * @type {String}
+         */
+        this.btnCssClass = defaultsStr(f.btn_css_class,
+            (!this.enableIcons ? 'btnflt' : 'btnflt_icon'));
+
+        /**
+         * Enable clear button
+         * @type {Boolean}
+         */
+        this.btnReset = Boolean(f.btn_reset);
+
+        /**
+         * Callback fired before filters are cleared
+         * @type {Function}
+         */
+        this.onBeforeReset = defaultsFn(f.on_before_reset, EMPTY_FN);
+
+        /**
+         * Callback fired after filters are cleared
+         * @type {Function}
+         */
+        this.onAfterReset = defaultsFn(f.on_after_reset, EMPTY_FN);
+
+        /**
+         * Enable paging component
+         * @type {Object|Boolean}
+         */
+        this.paging = isObj(f.paging) || Boolean(f.paging);
+
+        /**
+         * Number of hidden rows
+         * @type {Number}
+         * @private
+         */
+        this.nbHiddenRows = 0;
+
+        /**
+         * Enable auto-filter behaviour, table is filtered when a user
+         * stops typing
+         * @type {Boolean}
+         */
+        this.autoFilter = Boolean(f.auto_filter);
+
+        /**
+         * Auto-filter delay in msecs
+         * @type {Number}
+         */
+        this.autoFilterDelay =
+            defaultsNb(f.auto_filter_delay, AUTO_FILTER_DELAY);
+
+        /**
+         * Indicate whether user is typing
+         * @type {Boolean}
+         * @private
+         */
+        this.isUserTyping = null;
+
+        /**
+         * Auto-filter interval ID
+         * @type {String}
+         * @private
+         */
+        this.autoFilterTimer = null;
+
+        /**
+         * Enable keyword highlighting behaviour
+         * @type {Boolean}
+         */
+        this.highlightKeywords = Boolean(f.highlight_keywords);
+
+        /**
+         * Enable no results message UI component
+         * @type {Object|Boolean}
+         */
+        this.noResults = isObj(f.no_results_message) ||
+            Boolean(f.no_results_message);
+
+        /**
+         * Enable state persistence
+         * @type {Object|Boolean}
+         */
+        this.state = isObj(f.state) || Boolean(f.state);
+
+        /*** data types ***/
+
+        /**
+         * Enable date type module
+         * @type {Boolean}
+         * @private
+         */
+        this.dateType = true;
+
+        /**
+         * Define default locale, default to 'en' as per Sugar Date module:
+         * https://sugarjs.com/docs/#/DateLocales
+         * @type {String}
+         */
+        this.locale = defaultsStr(f.locale, 'en');
+
+        /**
+         * Define thousands separator ',' or '.', defaults to ','
+         * @type {String}
+         */
+        this.thousandsSeparator = defaultsStr(f.thousands_separator, ',');
+
+        /**
+         * Define decimal separator ',' or '.', defaults to '.'
+         * @type {String}
+         */
+        this.decimalSeparator = defaultsStr(f.decimal_separator, '.');
+
+        /**
+         * Define data types on a column basis, possible values 'string',
+         * 'number', 'formatted-number', 'date', 'ipaddress' ie:
+         * col_types : [
+         *  'string', 'date', 'number',
+         *  { type: 'formatted-number', decimal: ',', thousands: '.' },
+         *  { type: 'date', locale: 'en-gb' },
+         *  { type: 'date', format: ['{dd}-{months}-{yyyy|yy}'] }
+         * ]
+         *
+         * Refer to https://sugarjs.com/docs/#/DateParsing for exhaustive
+         * information on date parsing formats supported by Sugar Date
+         * @type {Array}
+         */
+        this.colTypes = isArray(f.col_types) ? f.col_types : [];
+
+        /*** ids prefixes ***/
+        /**
+         * Main prefix
+         * @private
+         */
+        this.prfxTf = 'TF';
+
+        /**
+         * Filter's ID prefix (inputs - selects)
+         * @private
+         */
+        this.prfxFlt = 'flt';
+
+        /**
+         * Button's ID prefix
+         * @private
+         */
+        this.prfxValButton = 'btn';
+
+        /**
+         * Toolbar container ID prefix
+         * @private
+         */
+        this.prfxInfDiv = 'inf_';
+
+        /**
+         * Toolbar left element ID prefix
+         * @private
+         */
+        this.prfxLDiv = 'ldiv_';
+
+        /**
+         * Toolbar right element ID prefix
+         * @private
+         */
+        this.prfxRDiv = 'rdiv_';
+
+        /**
+         * Toolbar middle element ID prefix
+         * @private
+         */
+        this.prfxMDiv = 'mdiv_';
+
+        /**
+         * Responsive Css class
+         * @private
+         */
+        this.prfxResponsive = 'resp';
+
+        /*** extensions ***/
+        /**
+         * List of loaded extensions
+         * @type {Array}
+         */
+        this.extensions = defaultsArr(f.extensions, []);
+
+        /*** themes ***/
+        /**
+         * Enable default theme
+         * @type {Boolean}
+         */
+        this.enableDefaultTheme = Boolean(f.enable_default_theme);
+
+        /**
+         * Determine whether themes are enables
+         * @type {Boolean}
+         * @private
+         */
+        this.hasThemes = (this.enableDefaultTheme || isArray(f.themes));
+
+        /**
+         * List of themes, ie:
+         * themes: [{ name: 'skyblue' }]
+         * @type {Array}
+         */
+        this.themes = defaultsArr(f.themes, []);
+
+        /**
+         * Define path to themes assets, defaults to
+         * 'tablefilter/style/themes/'. Usage:
+         * themes: [{ name: 'skyblue' }]
+         * @type {Array}
+         */
+        this.themesPath = this.getThemesPath();
+
+        /**
+         * Enable responsive layout
+         * @type {Boolean}
+         */
+        this.responsive = Boolean(f.responsive);
+
+        /**
+         * Features registry
+         * @private
+         */
+        this.Mod = {};
+
+        /**
+         * Extensions registry
+         * @private
+         */
+        this.ExtRegistry = {};
+
+        //conditionally instantiate required features
+        this.instantiateFeatures(
+            Object.keys(FEATURES).map((item) => FEATURES[item])
+        );
+    }
+
+    /**
+     * Initialise features and layout
+     */
+    init() {
+        if (this.initialized) {
+            return;
+        }
+
+        // import main stylesheet
+        this.import(this.stylesheetId, this.getStylesheetPath(), null, 'link');
+
+        this.nbCells = this.getCellsNb(this.refRow);
+        let Mod = this.Mod;
+        let n = this.singleSearchFlt ? 1 : this.nbCells;
+        let inpclass;
+
+        //loads theme
+        this.loadThemes();
+
+        const { dateType, help, state, markActiveColumns, gridLayout, loader,
+            highlightKeyword, popupFilter, rowsCounter, statusBar, clearButton,
+            alternateRows, noResults, paging } = FEATURES;
+
+        //explicitly initialise features in given order
+        this.initFeatures([
+            dateType,
+            help,
+            state,
+            markActiveColumns,
+            gridLayout,
+            loader,
+            highlightKeyword,
+            popupFilter
+        ]);
+
+        //filters grid is not generated
+        if (!this.fltGrid) {
+            this._initNoFilters();
+        } else {
+            let fltrow = this._insertFiltersRow();
+
+            this.nbFilterableRows = this.getRowsNb();
+
+            // Generate filters
+            for (let i = 0; i < n; i++) {
+                this.emitter.emit('before-filter-init', this, i);
+
+                let fltcell = createElm(this.fltCellTag),
+                    col = this.getFilterType(i);
+
+                if (this.singleSearchFlt) {
+                    fltcell.colSpan = this.nbCells;
+                }
+                if (!this.gridLayout) {
+                    fltrow.appendChild(fltcell);
+                }
+                inpclass = (i === n - 1 && this.displayBtn) ?
+                    this.fltSmallCssClass : this.fltCssClass;
+
+                //only 1 input for single search
+                if (this.singleSearchFlt) {
+                    col = INPUT;
+                    inpclass = this.singleFltCssClass;
+                }
+
+                //drop-down filters
+                if (col === SELECT || col === MULTIPLE) {
+                    Mod.dropdown = Mod.dropdown || new Dropdown(this);
+                    Mod.dropdown.init(i, this.isExternalFlt(), fltcell);
+                }
+                // checklist
+                else if (col === CHECKLIST) {
+                    Mod.checkList = Mod.checkList || new CheckList(this);
+                    Mod.checkList.init(i, this.isExternalFlt(), fltcell);
+                } else {
+                    this._buildInputFilter(i, inpclass, fltcell);
+                }
+
+                // this adds submit button
+                if (i === n - 1 && this.displayBtn) {
+                    this._buildSubmitButton(i, fltcell);
+                }
+
+                this.emitter.emit('after-filter-init', this, i);
+            }
+
+            this.emitter.on(['filter-focus'],
+                (tf, filter) => this.setActiveFilterId(filter.id));
+
+        }//if this.fltGrid
+
+        /* Features */
+        if (this.hasVisibleRows) {
+            this.emitter.on(['after-filtering'],
+                () => this.enforceVisibility());
+            this.enforceVisibility();
+        }
+
+        this.initFeatures([
+            rowsCounter,
+            statusBar,
+            clearButton,
+            alternateRows,
+            noResults,
+            paging
+        ]);
+
+        this.setColWidths();
+
+        //TF css class is added to table
+        if (!this.gridLayout) {
+            addClass(this.dom(), this.prfxTf);
+            if (this.responsive) {
+                addClass(this.dom(), this.prfxResponsive);
+            }
+        }
+
+        /* Load extensions */
+        this.initExtensions();
+
+        // Subscribe to events
+        if (this.linkedFilters) {
+            this.emitter.on(['after-filtering'], () => this.linkFilters());
+        }
+
+        this.initialized = true;
+
+        this.onFiltersLoaded(this);
+
+        this.emitter.emit('initialized', this);
+    }
+
+    /**
+     * Detect <enter> key
+     * @param {Event} evt
+     */
+    detectKey(evt) {
+        if (!this.enterKey) {
+            return;
+        }
+        if (evt) {
+            let key = keyCode(evt);
+            if (key === ENTER_KEY) {
+                this.filter();
+                cancelEvt(evt);
+                stopEvt(evt);
+            } else {
+                this.isUserTyping = true;
+                root.clearInterval(this.autoFilterTimer);
+                this.autoFilterTimer = null;
+            }
+        }
+    }
+
+    /**
+     * Filter's keyup event: if auto-filter on, detect user is typing and filter
+     * columns
+     * @param {Event} evt
+     */
+    onKeyUp(evt) {
+        if (!this.autoFilter) {
+            return;
+        }
+        let key = keyCode(evt);
+        this.isUserTyping = false;
+
+        function filter() {
+            root.clearInterval(this.autoFilterTimer);
+            this.autoFilterTimer = null;
+            if (!this.isUserTyping) {
+                this.filter();
+                this.isUserTyping = null;
+            }
+        }
+
+        if (key !== ENTER_KEY && key !== TAB_KEY && key !== ESC_KEY &&
+            key !== UP_ARROW_KEY && key !== DOWN_ARROW_KEY) {
+            if (this.autoFilterTimer === null) {
+                this.autoFilterTimer = root.setInterval(filter.bind(this),
+                    this.autoFilterDelay);
+            }
+        } else {
+            root.clearInterval(this.autoFilterTimer);
+            this.autoFilterTimer = null;
+        }
+    }
+
+    /**
+     * Filter's keydown event: if auto-filter on, detect user is typing
+     */
+    onKeyDown() {
+        if (this.autoFilter) {
+            this.isUserTyping = true;
+        }
+    }
+
+    /**
+     * Filter's focus event
+     * @param {Event} evt
+     */
+    onInpFocus(evt) {
+        let elm = targetEvt(evt);
+        this.emitter.emit('filter-focus', this, elm);
+    }
+
+    /**
+     * Filter's blur event: if auto-filter on, clear interval on filter blur
+     */
+    onInpBlur() {
+        if (this.autoFilter) {
+            this.isUserTyping = false;
+            root.clearInterval(this.autoFilterTimer);
+        }
+        this.emitter.emit('filter-blur', this);
+    }
+
+    /**
+     * Insert filters row at initialization
+     */
+    _insertFiltersRow() {
+        // TODO: prevent filters row generation for popup filters too,
+        // to reduce and simplify headers row index adjusting across lib modules
+        // (GridLayout, PopupFilter etc)
+        if (this.gridLayout) {
+            return;
+        }
+        let fltrow;
+
+        let thead = tag(this.dom(), 'thead');
+        if (thead.length > 0) {
+            fltrow = thead[0].insertRow(this.filtersRowIndex);
+        } else {
+            fltrow = this.dom().insertRow(this.filtersRowIndex);
+        }
+
+        fltrow.className = this.fltsRowCssClass;
+
+        if (this.isExternalFlt()) {
+            fltrow.style.display = NONE;
+        }
+
+        this.emitter.emit('filters-row-inserted', this, fltrow);
+        return fltrow;
+    }
+
+    /**
+     * Initialize filtersless table
+     */
+    _initNoFilters() {
+        if (this.fltGrid) {
+            return;
+        }
+        this.refRow = this.refRow > 0 ? this.refRow - 1 : 0;
+        this.nbFilterableRows = this.getRowsNb();
+    }
+
+    /**
+     * Build input filter type
+     * @param  {Number} colIndex      Column index
+     * @param  {String} cssClass      Css class applied to filter
+     * @param  {DOMElement} container Container DOM element
+     */
+    _buildInputFilter(colIndex, cssClass, container) {
+        let col = this.getFilterType(colIndex);
+        let externalFltTgtId = this.isExternalFlt() ?
+            this.externalFltTgtIds[colIndex] : null;
+        let inpType = col === INPUT ? 'text' : 'hidden';
+        let inp = createElm(INPUT,
+            ['id', this.buildFilterId(colIndex)],
+            ['type', inpType], ['ct', colIndex]);
+
+        if (inpType !== 'hidden' && this.watermark) {
+            inp.setAttribute('placeholder',
+                this.isWatermarkArray ? (this.watermark[colIndex] || '') :
+                    this.watermark
+            );
+        }
+        inp.className = cssClass || this.fltCssClass;
+        addEvt(inp, 'focus', (evt) => this.onInpFocus(evt));
+
+        //filter is appended in custom element
+        if (externalFltTgtId) {
+            elm(externalFltTgtId).appendChild(inp);
+        } else {
+            container.appendChild(inp);
+        }
+
+        this.fltIds.push(inp.id);
+
+        addEvt(inp, 'keypress', (evt) => this.detectKey(evt));
+        addEvt(inp, 'keydown', () => this.onKeyDown());
+        addEvt(inp, 'keyup', (evt) => this.onKeyUp(evt));
+        addEvt(inp, 'blur', () => this.onInpBlur());
+    }
+
+    /**
+     * Build submit button
+     * @param  {Number} colIndex      Column index
+     * @param  {DOMElement} container Container DOM element
+     */
+    _buildSubmitButton(colIndex, container) {
+        let externalFltTgtId = this.isExternalFlt() ?
+            this.externalFltTgtIds[colIndex] : null;
+        let btn = createElm(INPUT,
+            ['type', 'button'],
+            ['value', this.btnText]
+        );
+        btn.className = this.btnCssClass;
+
+        //filter is appended in custom element
+        if (externalFltTgtId) {
+            elm(externalFltTgtId).appendChild(btn);
+        } else {
+            container.appendChild(btn);
+        }
+
+        addEvt(btn, 'click', () => this.filter());
+    }
+
+    /**
+     * Istantiate the collection of features required by the
+     * configuration and add them to the features registry. A feature is
+     * described by a `class` and `name` fields and and optional `property`
+     * field:
+     * {
+     *   class: AClass,
+     *   name: 'aClass'
+     * }
+     * @param {Array} [features=[]]
+     * @private
+     */
+    instantiateFeatures(features = []) {
+        features.forEach((feature) => {
+            // TODO: remove the property field.
+            // Due to naming convention inconsistencies, a `property`
+            // field is added to allow a conditional instanciation based
+            // on that property on TableFilter, if supplied.
+            feature.property = feature.property || feature.name;
+            if (!this.hasConfig || this[feature.property] === true ||
+                feature.enforce === true) {
+                let {class: Cls, name} = feature;
+
+                this.Mod[name] = this.Mod[name] || new Cls(this);
+            }
+        });
+    }
+
+    /**
+     * Initialise the passed features collection. A feature is described by a
+     * `class` and `name` fields and and optional `property` field:
+     * {
+     *   class: AClass,
+     *   name: 'aClass'
+     * }
+     * @param {Array} [features=[]]
+     * @private
+     */
+    initFeatures(features = []) {
+        features.forEach((feature) => {
+            let {property, name} = feature;
+            if (this[property] === true && this.Mod[name]) {
+                this.Mod[name].init();
+            }
+        });
+    }
+
+    /**
+     * Return a feature instance for a given name
+     * @param  {String} name Name of the feature
+     * @return {Object}
+     */
+    feature(name) {
+        return this.Mod[name];
+    }
+
+    /**
+     * Initialise all the extensions defined in the configuration object
+     */
+    initExtensions() {
+        let exts = this.extensions;
+        if (exts.length === 0) {
+            return;
+        }
+
+        // Set config's publicPath dynamically for Webpack...
+        __webpack_public_path__ = this.basePath;
+
+        this.emitter.emit('before-loading-extensions', this);
+        for (let i = 0, len = exts.length; i < len; i++) {
+            let ext = exts[i];
+            this.loadExtension(ext);
+        }
+        this.emitter.emit('after-loading-extensions', this);
+    }
+
+    /**
+     * Load an extension module
+     * @param  {Object} ext Extension config object
+     */
+    loadExtension(ext) {
+        if (!ext || !ext.name || this.hasExtension(ext.name)) {
+            return;
+        }
+
+        let name = ext.name;
+        let path = ext.path;
+        let modulePath;
+
+        if (name && path) {
+            modulePath = ext.path + name;
+        } else {
+            name = name.replace('.js', '');
+            modulePath = 'extensions/{}/{}'.replace(/{}/g, name);
+        }
+
+        // Require pattern for Webpack
+        require(['./' + modulePath], (mod) => {
+            /* eslint-disable */
+            let inst = new mod.default(this, ext);
+            /* eslint-enable */
+            inst.init();
+            this.ExtRegistry[name] = inst;
+        });
+    }
+
+    /**
+     * Get an extension instance
+     * @param  {String} name Name of the extension
+     * @return {Object}      Extension instance
+     */
+    extension(name) {
+        return this.ExtRegistry[name];
+    }
+
+    /**
+     * Check passed extension name exists
+     * @param  {String}  name Name of the extension
+     * @return {Boolean}
+     */
+    hasExtension(name) {
+        return !isEmpty(this.ExtRegistry[name]);
+    }
+
+    /**
+     * Register the passed extension instance with associated name
+     * @param {Object} inst Extension instance
+     * @param {String} name Name of the extension
+     */
+    registerExtension(inst, name) {
+        this.ExtRegistry[name] = inst;
+    }
+
+    /**
+     * Destroy all the extensions store in extensions registry
+     */
+    destroyExtensions() {
+        let reg = this.ExtRegistry;
+
+        Object.keys(reg).forEach((key) => {
+            reg[key].destroy();
+            reg[key] = undefined;
+        });
+    }
+
+    /**
+     * Load themes defined in the configuration object
+     */
+    loadThemes() {
+        if (!this.hasThemes) {
+            return;
+        }
+
+        let themes = this.themes;
+        this.emitter.emit('before-loading-themes', this);
+
+        //Default theme config
+        if (this.enableDefaultTheme) {
+            let defaultTheme = { name: 'default' };
+            this.themes.push(defaultTheme);
+        }
+        if (isArray(themes)) {
+            for (let i = 0, len = themes.length; i < len; i++) {
+                let theme = themes[i];
+                let name = theme.name;
+                let path = theme.path;
+                let styleId = this.prfxTf + name;
+                if (name && !path) {
+                    path = this.themesPath + name + '/' + name + '.css';
+                }
+                else if (!name && theme.path) {
+                    name = 'theme{0}'.replace('{0}', i);
+                }
+
+                if (!this.isImported(path, 'link')) {
+                    this.import(styleId, path, null, 'link');
+                }
+            }
+        }
+
+        // Enable loader indicator
+        this.loader = true;
+
+        this.emitter.emit('after-loading-themes', this);
+    }
+
+    /**
+     * Return stylesheet DOM element for a given theme name
+     * @return {DOMElement} stylesheet element
+     */
+    getStylesheet(name = 'default') {
+        return elm(this.prfxTf + name);
+    }
+
+    /**
+     * Destroy filter grid
+     */
+    destroy() {
+        if (!this.initialized) {
+            return;
+        }
+
+        let emitter = this.emitter;
+
+        if (this.isExternalFlt() && !this.popupFilters) {
+            this.removeExternalFlts();
+        }
+
+        this.removeToolbar();
+
+        this.destroyExtensions();
+
+        this.validateAllRows();
+
+        // broadcast destroy event modules and extensions are subscribed to
+        emitter.emit('destroy', this);
+
+        if (this.fltGrid && !this.gridLayout) {
+            this.dom().deleteRow(this.filtersRowIndex);
+        }
+
+        // unsubscribe to events
+        if (this.hasVisibleRows) {
+            emitter.off(['after-filtering'], () => this.enforceVisibility());
+        }
+        if (this.linkedFilters) {
+            emitter.off(['after-filtering'], () => this.linkFilters());
+        }
+        this.emitter.off(['filter-focus'],
+            (tf, filter) => this.setActiveFilterId(filter.id));
+
+        removeClass(this.dom(), this.prfxTf);
+        removeClass(this.dom(), this.prfxResponsive);
+
+        this.nbHiddenRows = 0;
+        this.validRowsIndex = [];
+        this.fltIds = [];
+        this.initialized = false;
+    }
+
+    /**
+     * Generate container element for paging, reset button, rows counter etc.
+     */
+    setToolbar() {
+        if (this.infDiv) {
+            return;
+        }
+
+        /*** container div ***/
+        let infDiv = createElm('div');
+        infDiv.className = this.infDivCssClass;
+
+        //custom container
+        if (this.toolBarTgtId) {
+            elm(this.toolBarTgtId).appendChild(infDiv);
+        }
+        //grid-layout
+        else if (this.gridLayout) {
+            let gridLayout = this.Mod.gridLayout;
+            gridLayout.tblMainCont.appendChild(infDiv);
+            infDiv.className = gridLayout.infDivCssClass;
+        }
+        //default location: just above the table
+        else {
+            let cont = createElm('caption');
+            cont.appendChild(infDiv);
+            this.dom().insertBefore(cont, this.dom().firstChild);
+        }
+        this.infDiv = infDiv;
+
+        /*** left div containing rows # displayer ***/
+        let lDiv = createElm('div');
+        lDiv.className = this.lDivCssClass;
+        infDiv.appendChild(lDiv);
+        this.lDiv = lDiv;
+
+        /***    right div containing reset button
+                + nb results per page select    ***/
+        let rDiv = createElm('div');
+        rDiv.className = this.rDivCssClass;
+        infDiv.appendChild(rDiv);
+        this.rDiv = rDiv;
+
+        /*** mid div containing paging elements ***/
+        let mDiv = createElm('div');
+        mDiv.className = this.mDivCssClass;
+        infDiv.appendChild(mDiv);
+        this.mDiv = mDiv;
+
+        // emit help initialisation only if undefined
+        if (isUndef(this.help)) {
+            // explicitily enable help to initialise feature by
+            // default, only if setting is undefined
+            this.Mod.help.enable();
+            this.emitter.emit('init-help', this);
+        }
+    }
+
+    /**
+     * Remove toolbar container element
+     */
+    removeToolbar() {
+        if (!this.infDiv) {
+            return;
+        }
+        removeElm(this.infDiv);
+        this.infDiv = null;
+
+        let tbl = this.dom();
+        let captions = tag(tbl, 'caption');
+        [].forEach.call(captions, (elm) => removeElm(elm));
+    }
+
+    /**
+     * Remove all the external column filters
+     */
+    removeExternalFlts() {
+        if (!this.isExternalFlt()) {
+            return;
+        }
+        let ids = this.externalFltTgtIds,
+            len = ids.length;
+        for (let ct = 0; ct < len; ct++) {
+            let externalFltTgtId = ids[ct],
+                externalFlt = elm(externalFltTgtId);
+            if (externalFlt) {
+                externalFlt.innerHTML = '';
+            }
+        }
+    }
+
+    /**
+     * Check if given column implements a filter with custom options
+     * @param  {Number}  colIndex Column's index
+     * @return {Boolean}
+     */
+    isCustomOptions(colIndex) {
+        return this.hasCustomOptions &&
+            this.customOptions.cols.indexOf(colIndex) !== -1;
+    }
+
+    /**
+     * Returns an array [[value0, value1 ...],[text0, text1 ...]] with the
+     * custom options values and texts
+     * @param  {Number} colIndex Column's index
+     * @return {Array}
+     */
+    getCustomOptions(colIndex) {
+        if (isEmpty(colIndex) || !this.isCustomOptions(colIndex)) {
+            return;
+        }
+
+        let customOptions = this.customOptions;
+        let cols = customOptions.cols;
+        let optTxt = [], optArray = [];
+        let index = cols.indexOf(colIndex);
+        let slcValues = customOptions.values[index];
+        let slcTexts = customOptions.texts[index];
+        let slcSort = customOptions.sorts[index];
+
+        for (let r = 0, len = slcValues.length; r < len; r++) {
+            optArray.push(slcValues[r]);
+            if (slcTexts[r]) {
+                optTxt.push(slcTexts[r]);
+            } else {
+                optTxt.push(slcValues[r]);
+            }
+        }
+        if (slcSort) {
+            optArray.sort();
+            optTxt.sort();
+        }
+        return [optArray, optTxt];
+    }
+
+    /**
+     * Filter the table by retrieving the data from each cell in every single
+     * row and comparing it to the search term for current column. A row is
+     * hidden when all the search terms are not found in inspected row.
+     */
+    filter() {
+        if (!this.fltGrid || !this.initialized) {
+            return;
+        }
+        //fire onbefore callback
+        this.onBeforeFilter(this);
+        this.emitter.emit('before-filtering', this);
+
+        let row = this.dom().rows,
+            nbRows = this.getRowsNb(true),
+            hiddenRows = 0;
+
+        this.validRowsIndex = [];
+        // search args re-init
+        let searchArgs = this.getFiltersValue();
+
+        for (let k = this.refRow; k < nbRows; k++) {
+            // already filtered rows display re-init
+            row[k].style.display = '';
+
+            let cells = row[k].cells;
+            let nchilds = cells.length;
+
+            // checks if row has exact cell #
+            if (nchilds !== this.nbCells) {
+                continue;
+            }
+
+            let occurence = [],
+                isRowValid = true,
+                //only for single filter search
+                singleFltRowValid = false;
+
+            // this loop retrieves cell data
+            for (let j = 0; j < nchilds; j++) {
+                //searched keyword
+                let sA = searchArgs[this.singleSearchFlt ? 0 : j];
+
+                if (sA === '') {
+                    continue;
+                }
+
+                let cellValue = matchCase(this.getCellValue(cells[j]),
+                    this.caseSensitive);
+
+                //multiple search parameter operator ||
+                let sAOrSplit = sA.toString().split(this.orOperator),
+                    //multiple search || parameter boolean
+                    hasMultiOrSA = sAOrSplit.length > 1,
+                    //multiple search parameter operator &&
+                    sAAndSplit = sA.toString().split(this.anOperator),
+                    //multiple search && parameter boolean
+                    hasMultiAndSA = sAAndSplit.length > 1;
+
+                //detect operators or array query
+                if (isArray(sA) || hasMultiOrSA || hasMultiAndSA) {
+                    let cS,
+                        s,
+                        occur = false;
+                    if (isArray(sA)) {
+                        s = sA;
+                    } else {
+                        s = hasMultiOrSA ? sAOrSplit : sAAndSplit;
+                    }
+                    // isolate search term and check occurence in cell data
+                    for (let w = 0, len = s.length; w < len; w++) {
+                        cS = trim(s[w]);
+                        occur = this._testTerm(cS, cellValue, j);
+
+                        if (occur) {
+                            this.emitter.emit('highlight-keyword', this,
+                                cells[j], cS);
+                        }
+                        if ((hasMultiOrSA && occur) ||
+                            (hasMultiAndSA && !occur)) {
+                            break;
+                        }
+                        if (isArray(sA) && occur) {
+                            break;
+                        }
+                    }
+                    occurence[j] = occur;
+
+                }
+                //single search parameter
+                else {
+                    occurence[j] = this._testTerm(trim(sA), cellValue, j);
+                    if (occurence[j]) {
+                        this.emitter.emit('highlight-keyword', this, cells[j],
+                            sA);
+                    }
+                }//else single param
+
+                if (!occurence[j]) {
+                    isRowValid = false;
+                }
+                if (this.singleSearchFlt && occurence[j]) {
+                    singleFltRowValid = true;
+                }
+
+                this.emitter.emit('cell-processed', this, j, cells[j]);
+            }//for j
+
+            if (this.singleSearchFlt && singleFltRowValid) {
+                isRowValid = true;
+            }
+
+            this.validateRow(k, isRowValid);
+            if (!isRowValid) {
+                hiddenRows++;
+            }
+
+            this.emitter.emit('row-processed', this, k,
+                this.validRowsIndex.length, isRowValid);
+        }// for k
+
+        this.nbHiddenRows = hiddenRows;
+
+        //fire onafterfilter callback
+        this.onAfterFilter(this);
+
+        this.emitter.emit('after-filtering', this, searchArgs);
+    }
+
+    /**
+     * Test for a match of search term in cell data
+     * @param {String} term      Search term
+     * @param {String} cellValue  Cell data
+     * @param {Number} colIdx    Column index
+     * @return {Boolean}
+     */
+    _testTerm(term, cellValue, colIdx) {
+        let numData;
+        let decimal = this.getDecimal(colIdx);
+        let reLe = new RegExp(this.leOperator),
+            reGe = new RegExp(this.geOperator),
+            reL = new RegExp(this.lwOperator),
+            reG = new RegExp(this.grOperator),
+            reD = new RegExp(this.dfOperator),
+            reLk = new RegExp(rgxEsc(this.lkOperator)),
+            reEq = new RegExp(this.eqOperator),
+            reSt = new RegExp(this.stOperator),
+            reEn = new RegExp(this.enOperator),
+            // re_an = new RegExp(this.anOperator),
+            // re_cr = new RegExp(this.curExp),
+            reEm = this.emOperator,
+            reNm = this.nmOperator,
+            reRe = new RegExp(rgxEsc(this.rgxOperator));
+
+        term = matchCase(term, this.caseSensitive);
+
+        let occurence = false;
+
+        //Search arg operator tests
+        let hasLO = reL.test(term),
+            hasLE = reLe.test(term),
+            hasGR = reG.test(term),
+            hasGE = reGe.test(term),
+            hasDF = reD.test(term),
+            hasEQ = reEq.test(term),
+            hasLK = reLk.test(term),
+            // hatermN = re_an.test(term),
+            hasST = reSt.test(term),
+            hasEN = reEn.test(term),
+            hasEM = (reEm === term),
+            hasNM = (reNm === term),
+            hasRE = reRe.test(term);
+
+        // Check for dates or resolve date type
+        if (this.hasType(colIdx, [DATE])) {
+            let dte1, dte2;
+
+            let dateType = this.Mod.dateType;
+            let isValidDate = dateType.isValid.bind(dateType);
+            let parseDate = dateType.parse.bind(dateType);
+            let locale = dateType.getLocale(colIdx);
+
+            // Search arg dates tests
+            let isLDate = hasLO &&
+                isValidDate(term.replace(reL, ''), locale);
+            let isLEDate = hasLE &&
+                isValidDate(term.replace(reLe, ''), locale);
+            let isGDate = hasGR &&
+                isValidDate(term.replace(reG, ''), locale);
+            let isGEDate = hasGE &&
+                isValidDate(term.replace(reGe, ''), locale);
+            let isDFDate = hasDF &&
+                isValidDate(term.replace(reD, ''), locale);
+            let isEQDate = hasEQ &&
+                isValidDate(term.replace(reEq, ''), locale);
+
+            dte1 = parseDate(cellValue, locale);
+
+            // lower equal date
+            if (isLEDate) {
+                dte2 = parseDate(term.replace(reLe, ''), locale);
+                occurence = dte1 <= dte2;
+            }
+            // lower date
+            else if (isLDate) {
+                dte2 = parseDate(term.replace(reL, ''), locale);
+                occurence = dte1 < dte2;
+            }
+            // greater equal date
+            else if (isGEDate) {
+                dte2 = parseDate(term.replace(reGe, ''), locale);
+                occurence = dte1 >= dte2;
+            }
+            // greater date
+            else if (isGDate) {
+                dte2 = parseDate(term.replace(reG, ''), locale);
+                occurence = dte1 > dte2;
+            }
+            // different date
+            else if (isDFDate) {
+                dte2 = parseDate(term.replace(reD, ''), locale);
+                occurence = dte1.toString() !== dte2.toString();
+            }
+            // equal date
+            else if (isEQDate) {
+                dte2 = parseDate(term.replace(reEq, ''), locale);
+                occurence = dte1.toString() === dte2.toString();
+            }
+            // searched keyword with * operator doesn't have to be a date
+            else if (reLk.test(term)) {// like date
+                occurence = contains(term.replace(reLk, ''), cellValue,
+                    false, this.caseSensitive);
+            }
+            else if (isValidDate(term)) {
+                dte2 = parseDate(term, locale);
+                occurence = dte1.toString() === dte2.toString();
+            }
+            //empty
+            else if (hasEM) {
+                occurence = isEmptyString(cellValue);
+            }
+            //non-empty
+            else if (hasNM) {
+                occurence = !isEmptyString(cellValue);
+            } else {
+                occurence = contains(term, cellValue,
+                    this.isExactMatch(colIdx), this.caseSensitive);
+            }
+        }
+
+        else {
+            // Convert to number anyways to auto-resolve type in case not
+            // defined by configuration
+            numData = Number(cellValue) || parseNb(cellValue, decimal);
+
+            // first checks if there is any operator (<,>,<=,>=,!,*,=,{,},
+            // rgx:)
+            // lower equal
+            if (hasLE) {
+                occurence = numData <= parseNb(
+                    term.replace(reLe, ''),
+                    decimal
+                );
+            }
+            //greater equal
+            else if (hasGE) {
+                occurence = numData >= parseNb(
+                    term.replace(reGe, ''),
+                    decimal
+                );
+            }
+            //lower
+            else if (hasLO) {
+                occurence = numData < parseNb(
+                    term.replace(reL, ''),
+                    decimal
+                );
+            }
+            //greater
+            else if (hasGR) {
+                occurence = numData > parseNb(
+                    term.replace(reG, ''),
+                    decimal
+                );
+            }
+            //different
+            else if (hasDF) {
+                occurence = contains(term.replace(reD, ''), cellValue,
+                    false, this.caseSensitive) ? false : true;
+            }
+            //like
+            else if (hasLK) {
+                occurence = contains(term.replace(reLk, ''), cellValue,
+                    false, this.caseSensitive);
+            }
+            //equal
+            else if (hasEQ) {
+                occurence = contains(term.replace(reEq, ''), cellValue,
+                    true, this.caseSensitive);
+            }
+            //starts with
+            else if (hasST) {
+                occurence = cellValue.indexOf(term.replace(reSt, '')) === 0 ?
+                    true : false;
+            }
+            //ends with
+            else if (hasEN) {
+                let searchArg = term.replace(reEn, '');
+                occurence =
+                    cellValue.lastIndexOf(searchArg, cellValue.length - 1) ===
+                        (cellValue.length - 1) - (searchArg.length - 1) &&
+                        cellValue.lastIndexOf(searchArg, cellValue.length - 1)
+                        > -1 ? true : false;
+            }
+            //empty
+            else if (hasEM) {
+                occurence = isEmptyString(cellValue);
+            }
+            //non-empty
+            else if (hasNM) {
+                occurence = !isEmptyString(cellValue);
+            }
+            //regexp
+            else if (hasRE) {
+                //in case regexp throws
+                try {
+                    //operator is removed
+                    let srchArg = term.replace(reRe, '');
+                    let rgx = new RegExp(srchArg);
+                    occurence = rgx.test(cellValue);
+                } catch (ex) {
+                    occurence = false;
+                }
+            } else {
+                // If numeric type data, perform a strict equality test and
+                // fallback to unformatted number string comparison
+                if (numData &&
+                    this.hasType(colIdx, [NUMBER, FORMATTED_NUMBER]) &&
+                    !this.singleSearchFlt) {
+                    // parseNb can return 0 for strings which are not
+                    // formatted numbers, in that case return the original
+                    // string. TODO: handle this in parseNb
+                    term = parseNb(term, decimal) || term;
+                    occurence = numData === term ||
+                        contains(term.toString(), numData.toString(),
+                            this.isExactMatch(colIdx), this.caseSensitive);
+                } else {
+                    // Finally test search term is contained in cell data
+                    occurence = contains(
+                        term,
+                        cellValue,
+                        this.isExactMatch(colIdx),
+                        this.caseSensitive,
+                        this.ignoresDiacritics(colIdx)
+                    );
+                }
+            }
+
+        }//else
+
+        return occurence;
+    }
+
+    /**
+     * Return the data of a specified column
+     * @param {Number} colIndex Column index
+     * @param {Boolean} [includeHeaders=false] Include headers row
+     * @param {Arrat} [exclude=[]] List of row indexes to be excluded
+     * @return Flat list of data for a column
+     */
+    getColumnData(colIndex, includeHeaders = false, exclude = []) {
+        return this.getColValues(colIndex, includeHeaders, true, exclude);
+    }
+
+    /**
+     * Return the values of a specified column
+     * @param {Number} colIndex Column index
+     * @param {Boolean} [includeHeaders=false] Include headers row
+     * @param {Arrat} [exclude=[]] List of row indexes to be excluded
+     * @return Flat list of values for a column
+     */
+    getColumnValues(colIndex, includeHeaders = false, exclude = []) {
+        return this.getColValues(colIndex, includeHeaders, false, exclude);
+    }
+
+    /**
+     * Return the data of a specified column
+     * @param  {Number} colIndex Column index
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [typed=false] Return a typed value
+     * @param  {Array} [exclude=[]] List of row indexes to be excluded
+     * @return {Array}           Flat list of data for a column
+     * @private
+     */
+    getColValues(
+        colIndex,
+        includeHeaders = false,
+        typed = false,
+        exclude = []
+    ) {
+        let row = this.dom().rows;
+        let nbRows = this.getRowsNb(true);
+        let colValues = [];
+        let getContent = typed ? this.getCellData.bind(this) :
+            this.getCellValue.bind(this);
+
+        if (includeHeaders) {
+            colValues.push(this.getHeadersText()[colIndex]);
+        }
+
+        for (let i = this.refRow; i < nbRows; i++) {
+            let isExludedRow = false;
+            // checks if current row index appears in exclude array
+            if (exclude.length > 0) {
+                isExludedRow = exclude.indexOf(i) !== -1;
+            }
+            let cell = row[i].cells,
+                nchilds = cell.length;
+
+            // checks if row has exact cell # and is not excluded
+            if (nchilds === this.nbCells && !isExludedRow) {
+                let data = getContent(cell[colIndex]);
+                colValues.push(data);
+            }
+        }
+        return colValues;
+    }
+
+    /**
+     * Return the filter's value of a specified column
+     * @param  {Number} index Column index
+     * @return {String}       Filter value
+     */
+    getFilterValue(index) {
+        if (!this.fltGrid) {
+            return;
+        }
+        let fltValue = '';
+        let flt = this.getFilterElement(index);
+        if (!flt) {
+            return fltValue;
+        }
+
+        let fltColType = this.getFilterType(index);
+        if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {
+            fltValue = flt.value;
+        }
+        //mutiple select
+        else if (fltColType === MULTIPLE) {
+            fltValue = this.feature('dropdown').getValues(index);
+        }
+        //checklist
+        else if (fltColType === CHECKLIST) {
+            fltValue = this.feature('checkList').getValues(index);
+        }
+        //return an empty string if collection is empty or contains a single
+        //empty string
+        if (isArray(fltValue) && fltValue.length === 0 ||
+            (fltValue.length === 1 && fltValue[0] === '')) {
+            fltValue = '';
+        }
+
+        return fltValue;
+    }
+
+    /**
+     * Return the filters' values
+     * @return {Array} List of filters' values
+     */
+    getFiltersValue() {
+        if (!this.fltGrid) {
+            return;
+        }
+        let searchArgs = [];
+        for (let i = 0, len = this.fltIds.length; i < len; i++) {
+            let fltValue = this.getFilterValue(i);
+            if (isArray(fltValue)) {
+                searchArgs.push(fltValue);
+            } else {
+                searchArgs.push(trim(fltValue));
+            }
+        }
+        return searchArgs;
+    }
+
+    /**
+     * Return the ID of a specified column's filter
+     * @param  {Number} index Column's index
+     * @return {String}       ID of the filter element
+     */
+    getFilterId(index) {
+        if (!this.fltGrid) {
+            return;
+        }
+        return this.fltIds[index];
+    }
+
+    /**
+     * Return the list of ids of filters matching a specified type.
+     * Note: hidden filters are also returned
+     *
+     * @param  {String} type  Filter type string ('input', 'select', 'multiple',
+     *                        'checklist')
+     * @param  {Boolean} bool If true returns columns indexes instead of IDs
+     * @return {[type]}       List of element IDs or column indexes
+     */
+    getFiltersByType(type, bool) {
+        if (!this.fltGrid) {
+            return;
+        }
+        let arr = [];
+        for (let i = 0, len = this.fltIds.length; i < len; i++) {
+            let fltType = this.getFilterType(i);
+            if (fltType === type.toLowerCase()) {
+                let a = bool ? i : this.fltIds[i];
+                arr.push(a);
+            }
+        }
+        return arr;
+    }
+
+    /**
+     * Return the filter's DOM element for a given column
+     * @param  {Number} index     Column's index
+     * @return {DOMElement}
+     */
+    getFilterElement(index) {
+        let fltId = this.fltIds[index];
+        return elm(fltId);
+    }
+
+    /**
+     * Return the number of cells for a given row index
+     * @param  {Number} rowIndex Index of the row
+     * @return {Number}          Number of cells
+     */
+    getCellsNb(rowIndex = 0) {
+        let tr = this.dom().rows[rowIndex >= 0 ? rowIndex : 0];
+        return tr ? tr.cells.length : 0;
+    }
+
+    /**
+     * Return the number of filterable rows starting from reference row if
+     * defined
+     * @param  {Boolean} includeHeaders Include the headers row
+     * @return {Number}                 Number of filterable rows
+     */
+    getRowsNb(includeHeaders) {
+        let s = isUndef(this.refRow) ? 0 : this.refRow;
+        let ntrs = this.dom().rows.length;
+        if (includeHeaders) {
+            s = 0;
+        }
+        return parseInt(ntrs - s, 10);
+    }
+
+
+    /**
+     * Return the text content of a given cell
+     * @param {DOMElement} Cell's DOM element
+     * @return {String}
+     */
+    getCellValue(cell) {
+        let idx = cell.cellIndex;
+        let cellParser = this.cellParser;
+        // Invoke cellParser for this column if any
+        if (cellParser.cols.indexOf(idx) !== -1) {
+            return cellParser.parse(this, cell, idx);
+        } else {
+            return getText(cell);
+        }
+    }
+
+    /**
+     * Return the typed data of a given cell based on the column type definition
+     * @param  {DOMElement} cell Cell's DOM element
+     * @return {String|Number|Date}
+     */
+    getCellData(cell) {
+        let colIndex = cell.cellIndex;
+        let value = this.getCellValue(cell);
+
+        if (this.hasType(colIndex, [FORMATTED_NUMBER])) {
+            return parseNb(value, this.getDecimal(colIndex));
+        }
+        else if (this.hasType(colIndex, [NUMBER])) {
+            return Number(value) || parseNb(value);
+        }
+        else if (this.hasType(colIndex, [DATE])){
+            let dateType = this.Mod.dateType;
+            return dateType.parse(value, dateType.getLocale(colIndex));
+        }
+
+        return value;
+    }
+
+    /**
+     * Return the table data based on its columns data type definitions
+     * with following structure:
+     * [
+     *     [rowIndex, [data0, data1...]],
+     *     [rowIndex, [data0, data1...]]
+     * ]
+     * @param {Boolean} [includeHeaders=false] Include headers row
+     * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @return {Array}
+     */
+    getData(includeHeaders = false, excludeHiddenCols = false) {
+        return this.getTableData(includeHeaders, excludeHiddenCols, true);
+    }
+
+    /**
+     * Return the table values with following structure:
+     * [
+     *     [rowIndex, [value0, value1...]],
+     *     [rowIndex, [value0, value1...]]
+     * ]
+     * @param {Boolean} [includeHeaders=false] Include headers row
+     * @param {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @return {Array}
+     */
+    getValues(includeHeaders = false, excludeHiddenCols = false) {
+        return this.getTableData(includeHeaders, excludeHiddenCols, false);
+    }
+
+    /**
+     * Return the table data with following structure:
+     * [
+     *     [rowIndex, [value0, value1...]],
+     *     [rowIndex, [value0, value1...]]
+     * ]
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @param  {Boolean} [typed=false] Return typed value
+     * @return {Array}
+     * @private
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getTableData(
+        includeHeaders = false,
+        excludeHiddenCols = false,
+        typed = false
+    ) {
+        let rows = this.dom().rows;
+        let nbRows = this.getRowsNb(true);
+        let tblData = [];
+        let getContent = typed ? this.getCellData.bind(this) :
+            this.getCellValue.bind(this);
+
+        if (includeHeaders) {
+            let headers = this.getHeadersText(excludeHiddenCols);
+            tblData.push([this.getHeadersRowIndex(), headers]);
+        }
+        for (let k = this.refRow; k < nbRows; k++) {
+            let rowData = [k, []];
+            let cells = rows[k].cells;
+            for (let j = 0, len = cells.length; j < len; j++) {
+                if (excludeHiddenCols && this.hasExtension('colsVisibility')) {
+                    if (this.extension('colsVisibility').isColHidden(j)) {
+                        continue;
+                    }
+                }
+                let cellValue = getContent(cells[j]);
+                rowData[1].push(cellValue);
+            }
+            tblData.push(rowData);
+        }
+        return tblData;
+    }
+
+    /**
+     * Return the filtered table data based on its columns data type definitions
+     * with following structure:
+     * [
+     *     [rowIndex, [data0, data1...]],
+     *     [rowIndex, [data0, data1...]]
+     * ]
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @return {Array}
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getFilteredData(includeHeaders = false, excludeHiddenCols = false) {
+        return this.filteredData(includeHeaders, excludeHiddenCols, true);
+    }
+
+    /**
+     * Return the filtered table values with following structure:
+     * [
+     *     [rowIndex, [value0, value1...]],
+     *     [rowIndex, [value0, value1...]]
+     * ]
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @return {Array}
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getFilteredValues(includeHeaders = false, excludeHiddenCols = false) {
+        return this.filteredData(includeHeaders, excludeHiddenCols, false);
+    }
+
+    /**
+     * Return the filtered data with following structure:
+     * [
+     *     [rowIndex, [value0, value1...]],
+     *     [rowIndex, [value0, value1...]]
+     * ]
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [excludeHiddenCols=false] Exclude hidden columns
+     * @param  {Boolean} [typed=false] Return typed value
+     * @return {Array}
+     * @private
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    filteredData(
+        includeHeaders = false,
+        excludeHiddenCols = false,
+        typed = false
+    ) {
+        if (this.validRowsIndex.length === 0) {
+            return [];
+        }
+        let rows = this.dom().rows,
+            filteredData = [];
+        let getContent = typed ? this.getCellData.bind(this) :
+            this.getCellValue.bind(this);
+
+        if (includeHeaders) {
+            let headers = this.getHeadersText(excludeHiddenCols);
+            filteredData.push([this.getHeadersRowIndex(), headers]);
+        }
+
+        let validRows = this.getValidRows(true);
+        for (let i = 0; i < validRows.length; i++) {
+            let rData = [this.validRowsIndex[i], []],
+                cells = rows[this.validRowsIndex[i]].cells;
+            for (let k = 0; k < cells.length; k++) {
+                if (excludeHiddenCols && this.hasExtension('colsVisibility')) {
+                    if (this.extension('colsVisibility').isColHidden(k)) {
+                        continue;
+                    }
+                }
+                let cellValue = getContent(cells[k]);
+                rData[1].push(cellValue);
+            }
+            filteredData.push(rData);
+        }
+        return filteredData;
+    }
+
+    /**
+     * Return the filtered data for a given column index
+     * @param {any} colIndex Colmun's index
+     * @param {boolean} [includeHeaders=false] Optional Include headers row
+     * @param {any} [exclude=[]] Optional List of row indexes to be excluded
+     * @return {Array} Flat list of typed values [data0, data1, data2...]
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getFilteredColumnData(colIndex, includeHeaders = false, exclude = []) {
+        return this.getFilteredDataCol(
+            colIndex, includeHeaders, true, exclude, false);
+    }
+
+    /**
+     * Return the filtered and visible data for a given column index
+     * @param {any} colIndex Colmun's index
+     * @param {boolean} [includeHeaders=false] Optional Include headers row
+     * @param {any} [exclude=[]] Optional List of row indexes to be excluded
+     * @return {Array} Flat list of typed values [data0, data1, data2...]
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getVisibleColumnData(colIndex, includeHeaders = false, exclude = []) {
+        return this.getFilteredDataCol(
+            colIndex, includeHeaders, true, exclude, true);
+    }
+
+    /**
+     * Return the filtered values for a given column index
+     * @param {any} colIndex Colmun's index
+     * @param {boolean} [includeHeaders=false] Optional Include headers row
+     * @param {any} [exclude=[]] Optional List of row indexes to be excluded
+     * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getFilteredColumnValues(colIndex, includeHeaders = false, exclude = []) {
+        return this.getFilteredDataCol(
+            colIndex, includeHeaders, false, exclude, false);
+    }
+
+    /**
+     * Return the filtered and visible values for a given column index
+     * @param {any} colIndex Colmun's index
+     * @param {boolean} [includeHeaders=false] Optional Include headers row
+     * @param {any} [exclude=[]] Optional List of row indexes to be excluded
+     * @return {Array} Flat list of values ['value0', 'value1', 'value2'...]
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getVisibleColumnValues(colIndex, includeHeaders = false, exclude = []) {
+        return this.getFilteredDataCol(
+            colIndex, includeHeaders, false, exclude, true);
+    }
+
+    /**
+     * Return the filtered data for a given column index
+     * @param  {Number} colIndex Colmun's index
+     * @param  {Boolean} [includeHeaders=false] Include headers row
+     * @param  {Boolean} [typed=false] Return typed value
+     * @param  {Array} [exclude=[]] List of row indexes to be excluded
+     * @param  {Boolean} [visible=true] Return only filtered and visible data
+     *                           (relevant for paging)
+     * @return {Array}           Flat list of values ['val0','val1','val2'...]
+     * @private
+     *
+     * TODO: provide an API returning data in JSON format
+     */
+    getFilteredDataCol(
+        colIndex,
+        includeHeaders = false,
+        typed = false,
+        exclude = [],
+        visible = true
+    ) {
+        if (isUndef(colIndex)) {
+            return [];
+        }
+
+        let rows = this.dom().rows;
+        let getContent = typed ? this.getCellData.bind(this) :
+            this.getCellValue.bind(this);
+
+        // ensure valid rows index do not contain excluded rows and row is
+        // displayed
+        let validRows = this.getValidRows(true).filter((rowIdx) => {
+            return exclude.indexOf(rowIdx) === -1 &&
+                (visible ?
+                    this.getRowDisplay(rows[rowIdx]) !== 'none' :
+                    true);
+        });
+
+        // convert column value to expected type if necessary
+        let validColValues = validRows.map((rowIdx) => {
+            return getContent(rows[rowIdx].cells[colIndex]);
+        });
+
+        if (includeHeaders) {
+            validColValues.unshift(this.getHeadersText()[colIndex]);
+        }
+
+        return validColValues;
+    }
+
+    /**
+     * Get the display value of a row
+     * @param  {HTMLTableRowElement} row DOM element of the row
+     * @return {String}     Usually 'none' or ''
+     */
+    getRowDisplay(row) {
+        return row.style.display;
+    }
+
+    /**
+     * Validate/invalidate row by setting the 'validRow' attribute on the row
+     * @param  {Number}  rowIndex Index of the row
+     * @param  {Boolean} isValid
+     */
+    validateRow(rowIndex, isValid) {
+        let row = this.dom().rows[rowIndex];
+        if (!row || typeof isValid !== 'boolean') {
+            return;
+        }
+
+        // always visible rows are valid
+        if (this.hasVisibleRows && this.visibleRows.indexOf(rowIndex) !== -1) {
+            isValid = true;
+        }
+
+        let displayFlag = isValid ? '' : NONE,
+            validFlag = isValid ? 'true' : 'false';
+        row.style.display = displayFlag;
+
+        if (this.paging) {
+            row.setAttribute('validRow', validFlag);
+        }
+
+        if (isValid) {
+            if (this.validRowsIndex.indexOf(rowIndex) === -1) {
+                this.validRowsIndex.push(rowIndex);
+            }
+
+            this.onRowValidated(this, rowIndex);
+
+            this.emitter.emit('row-validated', this, rowIndex);
+        }
+    }
+
+    /**
+     * Validate all filterable rows
+     */
+    validateAllRows() {
+        if (!this.initialized) {
+            return;
+        }
+        this.validRowsIndex = [];
+        for (let k = this.refRow; k < this.nbFilterableRows; k++) {
+            this.validateRow(k, true);
+        }
+    }
+
+    /**
+     * Set search value to a given filter
+     * @param {Number} index     Column's index
+     * @param {String or Array} query  searcharg Search term
+     */
+    setFilterValue(index, query = '') {
+        if (!this.fltGrid) {
+            return;
+        }
+        let slc = this.getFilterElement(index),
+            fltColType = this.getFilterType(index);
+
+        if (fltColType !== MULTIPLE && fltColType !== CHECKLIST) {
+            if (this.loadFltOnDemand && !this.initialized) {
+                this.emitter.emit('build-select-filter', this, index,
+                    this.linkedFilters, this.isExternalFlt());
+            }
+            slc.value = query;
+        }
+        //multiple selects
+        else if (fltColType === MULTIPLE) {
+            let values = isArray(query) ? query :
+                query.split(' ' + this.orOperator + ' ');
+
+            if (this.loadFltOnDemand && !this.initialized) {
+                this.emitter.emit('build-select-filter', this, index,
+                    this.linkedFilters, this.isExternalFlt());
+            }
+
+            this.emitter.emit('select-options', this, index, values);
+        }
+        //checklist
+        else if (fltColType === CHECKLIST) {
+            let values = [];
+            if (this.loadFltOnDemand && !this.initialized) {
+                this.emitter.emit('build-checklist-filter', this, index,
+                    this.linkedFilters);
+            }
+            if (isArray(query)) {
+                values = query;
+            } else {
+                query = matchCase(query, this.caseSensitive);
+                values = query.split(' ' + this.orOperator + ' ');
+            }
+
+            this.emitter.emit('select-checklist-options', this, index, values);
+        }
+    }
+
+    /**
+     * Set them columns' widths as per configuration
+     * @param {Element} tbl DOM element
+     */
+    setColWidths(tbl) {
+        let colWidths = this.colWidths;
+        if (colWidths.length === 0) {
+            return;
+        }
+
+        tbl = tbl || this.dom();
+
+        let nbCols = this.nbCells;
+        let colTags = tag(tbl, 'col');
+        let tblHasColTag = colTags.length > 0;
+        let frag = !tblHasColTag ? doc.createDocumentFragment() : null;
+        for (let k = 0; k < nbCols; k++) {
+            let col;
+            if (tblHasColTag) {
+                col = colTags[k];
+            } else {
+                col = createElm('col');
+                frag.appendChild(col);
+            }
+            col.style.width = colWidths[k];
+        }
+        if (!tblHasColTag) {
+            tbl.insertBefore(frag, tbl.firstChild);
+        }
+    }
+
+    /**
+     * Make defined rows always visible
+     */
+    enforceVisibility() {
+        if (!this.hasVisibleRows) {
+            return;
+        }
+        let nbRows = this.getRowsNb(true);
+        for (let i = 0, len = this.visibleRows.length; i < len; i++) {
+            let row = this.visibleRows[i];
+            //row index cannot be > nrows
+            if (row <= nbRows) {
+                this.validateRow(row, true);
+            }
+        }
+    }
+
+    /**
+     * Clear all the filters' values
+     */
+    clearFilters() {
+        if (!this.fltGrid) {
+            return;
+        }
+
+        this.emitter.emit('before-clearing-filters', this);
+        this.onBeforeReset(this, this.getFiltersValue());
+
+        for (let i = 0, len = this.fltIds.length; i < len; i++) {
+            this.setFilterValue(i, '');
+        }
+
+        this.filter();
+
+        this.onAfterReset(this);
+        this.emitter.emit('after-clearing-filters', this);
+    }
+
+    /**
+     * Return the ID of the current active filter
+     * @return {String}
+     */
+    getActiveFilterId() {
+        return this.activeFilterId;
+    }
+
+    /**
+     * Set the ID of the current active filter
+     * @param {String} filterId Element ID
+     */
+    setActiveFilterId(filterId) {
+        this.activeFilterId = filterId;
+    }
+
+    /**
+     * Return the column index for a given filter ID
+     * @param {string} [filterId=''] Filter ID
+     * @return {Number} Column index
+     */
+    getColumnIndexFromFilterId(filterId = '') {
+        let idx = filterId.split('_')[0];
+        idx = idx.split(this.prfxFlt)[1];
+        return parseInt(idx, 10);
+    }
+
+    /**
+     * Build filter element ID for a given column index
+     * @param {any} colIndex
+     * @return {String} Filter element ID string
+     * @private
+     */
+    buildFilterId(colIndex) {
+        return `${this.prfxFlt}${colIndex}_${this.id}`;
+    }
+
+    /**
+     * Check if has external filters
+     * @returns {Boolean}
+     * @private
+     */
+    isExternalFlt() {
+        return this.externalFltTgtIds.length > 0;
+    }
+
+    /**
+     * Returns styles path
+     * @returns {String}
+     * @private
+     */
+    getStylePath() {
+        return defaultsStr(this.config.style_path, this.basePath + 'style/');
+    }
+
+    /**
+     * Returns main stylesheet path
+     * @returns {String}
+     * @private
+     */
+    getStylesheetPath() {
+        return defaultsStr(this.config.stylesheet,
+            this.getStylePath() + 'tablefilter.css');
+    }
+
+    /**
+     * Returns themes path
+     * @returns {String}
+     * @private
+     */
+    getThemesPath() {
+        return defaultsStr(this.config.themes_path,
+            this.getStylePath() + 'themes/');
+    }
+
+    /**
+     * Make specified column's filter active
+     * @param colIndex Index of a column
+     */
+    activateFilter(colIndex) {
+        if (isUndef(colIndex)) {
+            return;
+        }
+        this.setActiveFilterId(this.getFilterId(colIndex));
+    }
+
+    /**
+     * Refresh the filters subject to linking ('select', 'multiple',
+     * 'checklist' type)
+     */
+    linkFilters() {
+        if (!this.linkedFilters || !this.activeFilterId) {
+            return;
+        }
+        let slcA1 = this.getFiltersByType(SELECT, true),
+            slcA2 = this.getFiltersByType(MULTIPLE, true),
+            slcA3 = this.getFiltersByType(CHECKLIST, true),
+            slcIndex = slcA1.concat(slcA2);
+        slcIndex = slcIndex.concat(slcA3);
+
+        let activeIdx = this.getColumnIndexFromFilterId(this.activeFilterId);
+
+        for (let i = 0, len = slcIndex.length; i < len; i++) {
+            let colIdx = slcIndex[i];
+            let curSlc = elm(this.fltIds[colIdx]);
+            let slcSelectedValue = this.getFilterValue(colIdx);
+
+            // Welcome to cyclomatic complexity hell :)
+            // TODO: simplify/refactor if statement
+            if (activeIdx !== colIdx ||
+                (this.paging && slcA1.indexOf(colIdx) !== -1 &&
+                    activeIdx === colIdx) ||
+                (!this.paging && (slcA3.indexOf(colIdx) !== -1 ||
+                    slcA2.indexOf(colIdx) !== -1)) ||
+                slcSelectedValue === this.getClearFilterText(colIdx)) {
+
+                //1st option needs to be inserted
+                if (this.loadFltOnDemand) {
+                    let opt0 = createOpt(this.getClearFilterText(colIdx), '');
+                    curSlc.innerHTML = '';
+                    curSlc.appendChild(opt0);
+                }
+
+                if (slcA3.indexOf(colIdx) !== -1) {
+                    this.emitter.emit('build-checklist-filter', this, colIdx,
+                        true);
+                } else {
+                    this.emitter.emit('build-select-filter', this, colIdx,
+                        true);
+                }
+
+                this.setFilterValue(colIdx, slcSelectedValue);
+            }
+        }
+    }
+
+    /**
+     * Determine if passed filter column implements exact query match
+     * @param  {Number}  colIndex   Column index
+     * @return {Boolean}
+     */
+    isExactMatch(colIndex) {
+        let fltType = this.getFilterType(colIndex);
+        return this.exactMatchByCol[colIndex] || this.exactMatch ||
+            fltType !== INPUT;
+    }
+
+    /**
+     * Check if passed row is valid
+     * @param {Number} rowIndex Row index
+     * @return {Boolean}
+     */
+    isRowValid(rowIndex) {
+        return this.getValidRows().indexOf(rowIndex) !== -1;
+    }
+
+    /**
+     * Check if passed row is visible
+     * @param {Number} rowIndex Row index
+     * @return {Boolean}
+     */
+    isRowDisplayed(rowIndex) {
+        let row = this.dom().rows[rowIndex];
+        return this.getRowDisplay(row) === '';
+    }
+
+    /**
+     * Check if specified column filter ignores diacritics.
+     * Note this is only applicable to input filter types.
+     * @param {Number} colIndex    Column index
+     * @return {Boolean}
+     */
+    ignoresDiacritics(colIndex) {
+        let ignoreDiac = this.ignoreDiacritics;
+        if (isArray(ignoreDiac)) {
+            return ignoreDiac[colIndex];
+        }
+        return Boolean(ignoreDiac);
+    }
+
+    /**
+     * Return clear all text for specified filter column
+     * @param {Number} colIndex    Column index
+     * @return {String}
+     */
+    getClearFilterText(colIndex) {
+        let clearText = this.clearFilterText;
+        if (isArray(clearText)) {
+            return clearText[colIndex];
+        }
+        return clearText;
+    }
+
+    /**
+     * Check if passed script or stylesheet is already imported
+     * @param  {String}  filePath Ressource path
+     * @param  {String}  type     Possible values: 'script' or 'link'
+     * @return {Boolean}
+     */
+    isImported(filePath, type = 'script') {
+        let imported = false,
+            attr = type === 'script' ? 'src' : 'href',
+            files = tag(doc, type);
+        for (let i = 0, len = files.length; i < len; i++) {
+            if (isUndef(files[i][attr])) {
+                continue;
+            }
+            if (files[i][attr].match(filePath)) {
+                imported = true;
+                break;
+            }
+        }
+        return imported;
+    }
+
+    /**
+     * Import script or stylesheet
+     * @param  {String}   fileId   Ressource ID
+     * @param  {String}   filePath Ressource path
+     * @param  {Function} callback Callback
+     * @param  {String}   type     Possible values: 'script' or 'link'
+     */
+    import(fileId, filePath, callback, type = 'script') {
+        if (this.isImported(filePath, type)) {
+            return;
+        }
+        let o = this,
+            isLoaded = false,
+            file,
+            head = tag(doc, 'head')[0];
+
+        if (type.toLowerCase() === 'link') {
+            file = createElm('link',
+                ['id', fileId], ['type', 'text/css'],
+                ['rel', 'stylesheet'], ['href', filePath]
+            );
+        } else {
+            file = createElm('script',
+                ['id', fileId],
+                ['type', 'text/javascript'], ['src', filePath]
+            );
+        }
+
+        //Browser <> IE onload event works only for scripts, not for stylesheets
+        file.onload = file.onreadystatechange = () => {
+            if (!isLoaded &&
+                (!this.readyState || this.readyState === 'loaded' ||
+                    this.readyState === 'complete')) {
+                isLoaded = true;
+                if (typeof callback === 'function') {
+                    callback.call(null, o);
+                }
+            }
+        };
+        file.onerror = function () {
+            throw new Error(`TableFilter could not load: ${filePath}`);
+        };
+        head.appendChild(file);
+    }
+
+    /**
+     * Check if table has filters grid
+     * @return {Boolean}
+     */
+    isInitialized() {
+        return this.initialized;
+    }
+
+    /**
+     * Get list of filter IDs
+     * @return {Array} List of filters ids
+     */
+    getFiltersId() {
+        return this.fltIds || [];
+    }
+
+    /**
+     * Get filtered (valid) rows indexes
+     * @param  {Boolean} reCalc Force calculation of filtered rows list
+     * @return {Array}          List of row indexes
+     */
+    getValidRows(reCalc) {
+        if (!reCalc) {
+            return this.validRowsIndex;
+        }
+
+        let nbRows = this.getRowsNb(true);
+        this.validRowsIndex = [];
+        for (let k = this.refRow; k < nbRows; k++) {
+            let r = this.dom().rows[k];
+            if (!this.paging) {
+                if (this.getRowDisplay(r) !== NONE) {
+                    this.validRowsIndex.push(r.rowIndex);
+                }
+            } else {
+                if (r.getAttribute('validRow') === 'true' ||
+                    r.getAttribute('validRow') === null) {
+                    this.validRowsIndex.push(r.rowIndex);
+                }
+            }
+        }
+        return this.validRowsIndex;
+    }
+
+    /**
+     * Get the index of the row containing the filters
+     * @return {Number}
+     */
+    getFiltersRowIndex() {
+        return this.filtersRowIndex;
+    }
+
+    /**
+     * Get the index of the headers row
+     * @return {Number}
+     */
+    getHeadersRowIndex() {
+        return this.headersRow;
+    }
+
+    /**
+     * Get the row index from where the filtering process start (1st filterable
+     * row)
+     * @return {Number}
+     */
+    getStartRowIndex() {
+        return this.refRow;
+    }
+
+    /**
+     * Get the index of the last row
+     * @return {Number}
+     */
+    getLastRowIndex() {
+        let nbRows = this.getRowsNb(true);
+        return (nbRows - 1);
+    }
+
+    /**
+     * Determine whether the specified column has one of the passed types
+     * @param {Number} colIndex Column index
+     * @param {Array} [types=[]] List of column types
+     * @return {Boolean}
+     */
+    hasType(colIndex, types = []) {
+        if (this.colTypes.length === 0) {
+            return false;
+        }
+        let colType = this.colTypes[colIndex];
+        if (isObj(colType)) {
+            colType = colType.type;
+        }
+        return types.indexOf(colType) !== -1;
+    }
+
+    /**
+     * Get the header DOM element for a given column index
+     * @param  {Number} colIndex Column index
+     * @return {Element}
+     */
+    getHeaderElement(colIndex) {
+        let table = this.gridLayout ? this.Mod.gridLayout.headTbl : this.dom();
+        let tHead = tag(table, 'thead');
+        let rowIdx = this.getHeadersRowIndex();
+        let header;
+        if (tHead.length === 0) {
+            header = table.rows[rowIdx].cells[colIndex];
+        }
+        if (tHead.length === 1) {
+            header = tHead[0].rows[rowIdx].cells[colIndex];
+        }
+        return header;
+    }
+
+    /**
+     * Return the list of headers' text
+     * @param  {Boolean} excludeHiddenCols  Optional: exclude hidden columns
+     * @return {Array} list of headers' text
+     */
+    getHeadersText(excludeHiddenCols = false) {
+        let headers = [];
+        for (let j = 0; j < this.nbCells; j++) {
+            if (excludeHiddenCols && this.hasExtension('colsVisibility')) {
+                if (this.extension('colsVisibility').isColHidden(j)) {
+                    continue;
+                }
+            }
+            let header = this.getHeaderElement(j);
+            let headerText = getFirstTextNode(header);
+            headers.push(headerText);
+        }
+        return headers;
+    }
+
+    /**
+     * Return the filter type for a specified column
+     * @param  {Number} colIndex Column's index
+     * @return {String}
+     */
+    getFilterType(colIndex) {
+        return this.filterTypes[colIndex];
+    }
+
+    /**
+     * Get the total number of filterable rows
+     * @return {Number}
+     */
+    getFilterableRowsNb() {
+        return this.getRowsNb(false);
+    }
+
+    /**
+     * Return the total number of valid rows
+     * @param {Boolean} [reCalc=false] Forces calculation of filtered rows
+     * @return {Number}
+     */
+    getValidRowsNb(reCalc = false) {
+        return this.getValidRows(reCalc).length;
+    }
+
+    /**
+     * Return the working DOM element
+     * @return {HTMLTableElement}
+     */
+    dom() {
+        return this.tbl;
+    }
+
+    /**
+     * Return the decimal separator for supplied column as per column type
+     * configuration or global setting
+     * @param {Number} colIndex Column index
+     * @returns {String} '.' or ','
+     */
+    getDecimal(colIndex) {
+        let decimal = this.decimalSeparator;
+        if (this.hasType(colIndex, [FORMATTED_NUMBER])) {
+            let colType = this.colTypes[colIndex];
+            if (colType.hasOwnProperty('decimal')) {
+                decimal = colType.decimal;
+            }
+        }
+        return decimal;
+    }
+
+    /**
+     * Get the configuration object (literal object)
+     * @return {Object}
+     */
+    config() {
+        return this.cfg;
+    }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/types.js.html b/docs/file/src/types.js.html new file mode 100644 index 00000000..94f03003 --- /dev/null +++ b/docs/file/src/types.js.html @@ -0,0 +1,232 @@ + + + + + + src/types.js | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/types.js

+

+/**
+ * Types utilities
+ */
+
+const UNDEFINED = void 0;
+
+/**
+ * Return an empty function
+ * @return {Function}
+ */
+export const EMPTY_FN = function() {};
+
+/**
+ * Check passed argument is an object
+ * @param  {Object}  obj
+ * @return {Boolean}
+ */
+export const isObj =
+    (obj) => Object.prototype.toString.call(obj) === '[object Object]';
+
+/**
+ * Check passed argument is a function
+ * @param  {Function} obj
+ * @return {Boolean}
+ */
+export const isFn =
+    (obj) => Object.prototype.toString.call(obj) === '[object Function]';
+
+/**
+ * Check passed argument is an array
+ * @param  {Array}  obj
+ * @return {Boolean}
+ */
+export const isArray =
+    (obj) => Object.prototype.toString.call(obj) === '[object Array]';
+
+/**
+ * Check passed argument is a string
+ * @param {String} obj obj
+ * @returns {Boolean}
+ */
+export const isString =
+    (obj) => Object.prototype.toString.call(obj) === '[object String]';
+
+/**
+ * Check passed argument is a number
+ * @param {Number} obj
+ * @returns {Boolean}
+ */
+export const isNumber =
+    (obj) => Object.prototype.toString.call(obj) === '[object Number]';
+
+/**
+ * Check passed argument is a boolean
+ * @param {Boolean} obj
+ * @returns {Boolean}
+ */
+export const isBoolean =
+    (obj) => Object.prototype.toString.call(obj) === '[object Boolean]';
+
+/**
+ * Check passed argument is undefined
+ * @param  {Any}  obj
+ * @return {Boolean}
+ */
+export const isUndef = (obj) => obj === UNDEFINED;
+
+/**
+ * Check passed argument is null
+ * @param  {Any}  obj
+ * @return {Boolean}
+ */
+export const isNull = (obj) => obj === null;
+
+/**
+ * Check passed argument is empty (undefined, null or empty string)
+ * @param  {Any}  obj
+ * @return {Boolean}
+ */
+export const isEmpty = (obj) => isUndef(obj) || isNull(obj) || obj.length === 0;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/function/index.html b/docs/function/index.html new file mode 100644 index 00000000..0b6fe937 --- /dev/null +++ b/docs/function/index.html @@ -0,0 +1,236 @@ + + + + + + Function | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

Function

+
+ + + + + + + + + +
Static Public Summary
+ public + + + + + +
+

+ EMPTY_FN(): Function +

+
+
+ + +

Return an empty function

+
+
+
+ + +
+
+

Static Public

+ +
+

+ public + + + + + EMPTY_FN(): Function + + + + source + +

+ +
import {EMPTY_FN} from 'tablefilter/src/types.js'
+ + +

Return an empty function

+
+ + + +
+
+ +
+

Return:

+ + + + + +
Function
+
+
+
+ + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/identifiers.html b/docs/identifiers.html new file mode 100644 index 00000000..130c4986 --- /dev/null +++ b/docs/identifiers.html @@ -0,0 +1,2655 @@ + + + + + + Index | tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

References

+

Class Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Static Public Class Summary
+ public + + + + + + +
+ + +

Adapter module for ezEditTable, an external library providing advanced +grid features (selection and edition): +http://codecanyon.net/item/ezedittable-enhance-html-tables/2425123?ref=koalyptus

+
+
+
+ + +
+ public + + + + + + +
+ + +

SortableTable Adapter module

+
+
+
+ + +
+ public + + + + + +
+

+ AlternateRows +

+
+
+ + +

Rows with alternating background color for improved readability

+
+
+
+ + +
+ public + + + + + +
+

+ BaseDropdown +

+
+
+ + +

Base class for Dropdown and CheckList UI components

+
+
+
+ + +
+ public + + + + + +
+

+ CheckList +

+
+
+ + +

Checklist filter UI component

+
+
+
+ + +
+ public + + + + + +
+

+ ClearButton +

+
+
+ + +

Clear button UI component

+
+
+
+ + +
+ public + + + + + +
+

+ ColOps +

+
+
+ + +

Column calculations extension

+
+
+
+ + +
+ public + + + + + +
+

+ ColsVisibility +

+
+
+ + +

Columns Visibility extension

+
+
+
+ + +
+ public + + + + + +
+

+ DateType +

+
+
+ + +

Wrapper for Sugar Date module providing datetime helpers and locales

+
+
+
+ + +
+ public + + + + + +
+

+ Dropdown +

+
+
+ + +

Dropdown filter UI component

+
+
+
+ + +
+ public + + + + + +
+

+ Emitter +

+
+
+ + +

Event emitter class

+
+
+
+ + +
+ public + + + + + +
+

+ Feature +

+
+
+ + +

Base class defining the interface of a TableFilter feature

+
+
+
+ + +
+ public + + + + + +
+

+ GridLayout +

+
+
+ + +

Grid layout, table with fixed headers

+
+
+
+ + +
+ public + + + + + +
+

+ Hash +

+
+
+ + +

Manages state via URL hash changes

+
+
+
+ + +
+ public + + + + + +
+

+ Help +

+
+
+ + +

Help UI component

+
+
+
+ + +
+ public + + + + + + +
+ + +

Highlight matched keywords upon filtering

+
+
+
+ + +
+ public + + + + + +
+

+ Loader +

+
+
+ + +

Activity indicator

+
+
+
+ + +
+ public + + + + + + +
+ + +

Visual indicator for filtered columns

+
+
+
+ + +
+ public + + + + + +
+

+ NoResults +

+
+
+ + +

UI when filtering yields no matches

+
+
+
+ + +
+ public + + + + + +
+

+ Paging +

+
+
+ + +

Paging UI component

+
+
+
+ + +
+ public + + + + + +
+

+ PopupFilter +

+
+
+ + +

Pop-up filter component

+
+
+
+ + +
+ public + + + + + +
+

+ RowsCounter +

+
+
+ + +

Rows counter UI component

+
+
+
+ + +
+ public + + + + + +
+

+ State +

+
+
+ + +

Features state object persistable with localStorage, cookie or URL hash

+
+
+
+ + +
+ public + + + + + +
+

+ StatusBar +

+
+
+ + +

Status bar UI component

+
+
+
+ + +
+ public + + + + + +
+

+ Storage +

+
+
+ + +

Stores the features state in browser's local storage or cookie

+
+
+
+ + +
+ public + + + + + +
+

+ TableFilter +

+
+
+ + +

Makes HTML tables filterable and a bit more :)

+
+
+
+ + +
+
+ +

Function Summary

+ + + + + + + + + +
Static Public Function Summary
+ public + + + + + +
+

+ EMPTY_FN(): Function +

+
+
+ + +

Return an empty function

+
+
+
+ + +
+
+

Variable Summary

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Static Public Variable Summary
+ public + + + + + + +
+ + +

Auto filter delay in milliseconds

+
+
+
+ + +
+ public + + + + + +
+

+ CELL_TAG: String +

+
+
+ + +

Cell tag

+
+
+
+ + +
+ public + + + + + +
+

+ CHECKLIST: String +

+
+
+ + +

Checklist filter type

+
+
+
+ + +
+ public + + + + + +
+

+ DATE: String +

+
+
+ + +

Date

+
+
+
+ + +
+ public + + + + + + +
+ + +

Down arrow key code

+
+
+
+ + +
+ public + + + + + +
+

+ ENTER_KEY: Number +

+
+
+ + +

Enter key code

+
+
+
+ + +
+ public + + + + + +
+

+ ESC_KEY: Number +

+
+
+ + +

Escape key code

+
+
+
+ + +
+ public + + + + + +
+

+ FEATURES: Object +

+
+
+ + +

TableFilter features definitions

+
+
+
+ + +
+ public + + + + + + +
+ + +

Formatted number

+
+
+
+ + +
+ public + + + + + +
+

+ HEADER_TAG: String +

+
+
+ + +

Header cell tag

+
+
+
+ + +
+ public + + + + + +
+

+ INPUT: String +

+
+
+ + +

Input filter type

+
+
+
+ + +
+ public + + + + + +
+

+ IP_ADDRESS: String +

+
+
+ + +

IP address

+
+
+
+ + +
+ public + + + + + +
+

+ MULTIPLE: String +

+
+
+ + +

Multiple select filter type

+
+
+
+ + +
+ public + + + + + +
+

+ NONE: String +

+
+
+ + +

None filter type

+
+
+
+ + +
+ public + + + + + +
+

+ NUMBER: String +

+
+
+ + +

Number

+
+
+
+ + +
+ public + + + + + +
+

+ SELECT: String +

+
+
+ + +

Select filter type

+
+
+
+ + +
+ public + + + + + +
+

+ STRING: String +

+
+
+ + +

String

+
+
+
+ + +
+ public + + + + + +
+

+ TAB_KEY: Number +

+
+
+ + +

Tab key code

+
+
+
+ + +
+ public + + + + + +
+

+ UP_ARROW_KEY: Number +

+
+
+ + +

Up arrow key code

+
+
+
+ + +
+ public + + + + + +
+

+ addClass(ele: DOMElement, cls: String): * +

+
+
+ + +

Adds the specified class to the passed element

+
+
+
+ + +
+ public + + + + + +
+

+ addEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * +

+
+
+ + +

Add event handler for specified event on passed element

+
+
+
+ + +
+ public + + + + + +
+

+ cancelEvt(evt: Event): * +

+
+
+ + +

Cancels the event if it is cancelable, without stopping further +propagation of the event.

+
+
+
+ + +
+ public + + + + + +
+

+ contains(term: String, data: String, exactMatch: Boolean, caseSensitive: Boolean, ignoreDiacritics: Boolean): Boolean: * +

+
+
+ + +

Checks if passed data contains the searched term

+
+
+
+ + +
+ public + + + + + +
+

+ createCheckItem(id: String, chkValue: String, labelText: String): Object: * +

+
+
+ + +

Creates and returns a checklist item

+
+
+
+ + +
+ public + + + + + +
+

+ createElm(tag: String, an: Array): Object: * +

+
+
+ + +

Creates an html element with given collection of attributes

+
+
+
+ + +
+ public + + + + + +
+

+ createOpt(text: String, value: String, isSel: Boolean): Object: * +

+
+
+ + +

Creates and returns an option element

+
+
+
+ + +
+ public + + + + + +
+

+ createText(txt: String): Object: * +

+
+
+ + +

Returns a text node with given text

+
+
+
+ + +
+ public + + + + + +
+

+ dateSortAsc(First: Date, Second: Date): Number: * +

+
+
+ + +

Compare function for sorting passed dates in ascending manner according to +the corresponding UTC numeric value (returned by getTime)

+
+
+
+ + +
+ public + + + + + +
+

+ dateSortDesc(First: Date, Second: Date): Number: * +

+
+
+ + +

Compare function for sorting passed dates in descending manner according to +the corresponding UTC numeric value (returned by getTime)

+
+
+
+ + +
+ public + + + + + +
+

+ defaultsArr(value: Array | Any, default: Array): Array | Any: * +

+
+
+ + +

If passed value is not of array type return the default value +otherwise return the value itself

+
+
+
+ + +
+ public + + + + + +
+

+ defaultsBool(value: Boolean | Any, default: Boolean): Boolean | Any: * +

+
+
+ + +

If passed value is not of boolean type return the default value +otherwise return the value itself

+
+
+
+ + +
+ public + + + + + +
+

+ defaultsFn(value: Function | Any, default: Function): Function | Any: * +

+
+
+ + +

If passed value is not of function type return the default value +otherwise return the value itself

+
+
+
+ + +
+ public + + + + + +
+

+ defaultsNb(value: Number | Any, default: Number): Number | Any: * +

+
+
+ + +

If passed value is not of number type return the default value +otherwise return the value itself

+
+
+
+ + +
+ public + + + + + +
+

+ defaultsStr(value: String | Any, default: String): String | Any: * +

+
+
+ + +

If passed value is not of string type return the default value +otherwise return the value itself

+
+
+
+ + +
+ public + + + + + +
+

+ elm(id: String): DOMElement: * +

+
+
+ + +

Returns the element matching the supplied Id

+
+
+
+ + +
+ public + + + + + +
+

+ getFirstTextNode(node: NodeElement): String: * +

+
+
+ + +

Returns the first text node contained in the supplied node

+
+
+
+ + +
+ public + + + + + +
+

+ getText(node: NodeElement): String: * +

+
+
+ + +

Returns text + text of children of given node

+
+
+
+ + +
+ public + + + + + +
+

+ has(arr: Array, val: Any, caseSensitive: Boolean): Boolean: * +

+
+
+ + +

Checks if given item can be found in the passed collection

+
+
+
+ + +
+ public + + + + + +
+

+ hasClass(ele: DOMElement, cls: String): Boolean: * +

+
+
+ + +

Determine whether the passed elements is assigned the given class

+
+
+
+ + +
+ public + + + + + +
+

+ hasHashChange: * +

+
+
+ + +

Checks if browser has onhashchange event

+
+
+
+ + +
+ public + + + + + +
+

+ hasStorage: * +

+
+
+ + +

Checks if browser has Storage feature

+
+
+
+ + +
+ public + + + + + +
+

+ ignoreCase(First: String, Second: String): Number: * +

+
+
+ + +

Case insensitive compare function for passed strings

+
+
+
+ + +
+ public + + + + + +
+

+ isArray(obj: Array): Boolean: * +

+
+
+ + +

Check passed argument is an array

+
+
+
+ + +
+ public + + + + + +
+

+ isBoolean(obj: Boolean): Boolean: * +

+
+
+ + +

Check passed argument is a boolean

+
+
+
+ + +
+ public + + + + + +
+

+ isEmpty(obj: Any): Boolean: * +

+
+
+ + +

Check passed argument is empty (undefined, null or empty string)

+
+
+
+ + +
+ public + + + + + +
+

+ isEmpty(text: String): Boolean: * +

+
+
+ + +

Checks if passed string is empty

+
+
+
+ + +
+ public + + + + + +
+

+ isFn(obj: Function): Boolean: * +

+
+
+ + +

Check passed argument is a function

+
+
+
+ + +
+ public + + + + + +
+

+ isNull(obj: Any): Boolean: * +

+
+
+ + +

Check passed argument is null

+
+
+
+ + +
+ public + + + + + +
+

+ isNumber(obj: Number): Boolean: * +

+
+
+ + +

Check passed argument is a number

+
+
+
+ + +
+ public + + + + + +
+

+ isObj(obj: Object): Boolean: * +

+
+
+ + +

Check passed argument is an object

+
+
+
+ + +
+ public + + + + + +
+

+ isString(obj: String): Boolean: * +

+
+
+ + +

Check passed argument is a string

+
+
+
+ + +
+ public + + + + + +
+

+ isUndef(obj: Any): Boolean: * +

+
+
+ + +

Check passed argument is undefined

+
+
+
+ + +
+ public + + + + + +
+

+ keyCode(evt: Event): Number: * +

+
+
+ + +

Returns the Unicode value of pressed key

+
+
+
+ + +
+ public + + + + + +
+

+ matchCase(text: String): String: * +

+
+
+ + +

Returns passed string as lowercase if caseSensitive flag set false.

+
+
+
+ + +
+ public + + + + + +
+

+ numSortAsc(First: Number, Second: Number): Number: * +

+
+
+ + +

Compare function for sorting passed numbers in ascending manner

+
+
+
+ + +
+ public + + + + + +
+

+ numSortDesc(First: Number, Second: Number): Number: * +

+
+
+ + +

Compare function for sorting passed numbers in descending manner

+
+
+
+ + +
+ public + + + + + +
+

+ parse(Formatted: String, Decimal: String): Number: * +

+
+
+ + +

Takes a string, removes all formatting/cruft and returns the raw float value

+
+
+
+ + +
+ public + + + + + +
+

+ removeClass(ele: DOMElement, cls: String): * +

+
+
+ + +

Removes the specified class to the passed element

+
+
+
+ + +
+ public + + + + + +
+

+ removeElm(node: DOMElement): DOMElement: * +

+
+
+ + +

Removes passed node from DOM

+
+
+
+ + +
+ public + + + + + +
+

+ removeEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * +

+
+
+ + +

Remove event handler for specified event on passed element

+
+
+
+ + +
+ public + + + + + +
+

+ rgxEsc(text: String): String: * +

+
+
+ + +

Makes regex safe string by escaping special characters from passed string

+
+
+
+ + +
+ public + + + + + +
+

+ root: * +

+
+
+ + +

Export window or global object depending on the environment

+
+
+
+ + +
+ public + + + + + +
+

+ sortDateStr(Compare: Function, locale: String): Function: * +

+
+
+ + +

Curried compare function for sorting passed formatted dates in desired +fashion according to supplied compare function and locale

+
+
+
+ + +
+ public + + + + + +
+

+ sortNumberStr(Compare: Function, decimal: String): Function: * +

+
+
+ + +

Curried compare function for sorting passed formatted numbers in desired +fashion according to supplied compare function and decimal separator

+
+
+
+ + +
+ public + + + + + +
+

+ stopEvt(evt: Event): * +

+
+
+ + +

Prevents further propagation of the current event in the bubbling phase

+
+
+
+ + +
+ public + + + + + +
+

+ tag(tagname: String): NodeList: * +

+
+
+ + +

Returns list of element matching the supplied tag name

+
+
+
+ + +
+ public + + + + + +
+

+ targetEvt(evt: Event): DOMElement: * +

+
+
+ + +

Reference to the object that dispatched the event

+
+
+
+ + +
+ public + + + + + +
+

+ trim(text: String): String: * +

+
+
+ + +

Removes whitespace from both sides of passed string

+
+
+
+ + +
+
+ + +
+ + + + + + + + + + + + diff --git a/docs/image/badge.svg b/docs/image/badge.svg new file mode 100644 index 00000000..324db4c5 --- /dev/null +++ b/docs/image/badge.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + document + document + @ratio@ + @ratio@ + + diff --git a/docs/image/github.png b/docs/image/github.png new file mode 100644 index 0000000000000000000000000000000000000000..ea6ff545a246caa64074ba809bbc86fcb8589071 GIT binary patch literal 4268 zcmaJ_c|25m+@2YcEGe=tO+zT_42H4qTL_VT8D=nHX3PwRki9HfBH7BIQ7JCj_beeI z(PA%IQuZumf5*MI`@VnN`<~A^=eL~adA{p8f1EgTGXqv8J|+MFz-nZuYe^f)M;9Xl z?T$df2WbN@Nzaya1?NEuL=w;dEfmfT4L0&cdZI1SNK}yDE3_&AKqrE+vL)G?nkc*D ze5H{`7-_OEp2h|MR5i$Wq`Nno1a?DvVz6qEm4+4w7=u!S*eICFn&NfPUKqn*0{Tj@ znU#C6w>ts_(NG7gl9g!!zGxB>O!oD`5|znnkUw>mY4f9P83_1K2+3Ow@|RP#rsiNB z903hhkd~8jmxV&XaJV#7UI7k=N`hgsP?(G??SxA~<&_oS$}mOn-v@+djezn{w$#=C z+ZJu52Js@1@X9hWfq{Y2fpXF~f~O1=fj}H-z+h4|gcLCdOG1*RuteeC3c6^bI{||y zVQ^URks{I!=TB0D&^-Ms1Yi6=vRLBZX`&@ehK$6^K&54mLi!CfHU0mgzP|sUi6l$( z|N8r{!bGbeJX*#QO~m;V+-ZgL5I!=6SJok*kt7_!3WxLgokepm90^DC!r{R>SKwfA zQ=~fvd$e)kPllD+ zRvxaUgpifj{ms?Ix%>N~v83Nz6pahhl84G`Y3tCq(0}C~HG?mnW?2_azyzRC`UIRW z_|Kq~G5_t0?0@_67Z>#}zWf~rt)x_q6t=RejnvErW>9V+3xJmC z`WZuvjAn72w+0gZ!c zA#ROc&m%S~RCo}xuD5jUEbXg(tZCM@w!T|#S$ju3+PKnZvOq!Te!k1i>ZlAY2d$hq zcr3hl)6*dTc>dY=Qd5hg9F-3ZJx12?th3 zY?KG;EA_?MEA`bUgvx84mEd_1K6WD6Zh&~3v&UiJT=<@uGaZ9%(IN9U?-o?uhZNz# z0#o|=;zl}_TF1jsmf+jyEQ<#bNr0KCAUYnr%4g{D(N{m#MffRnz-^cE<1DqGVEx5r zS9<&IEpl`xM442IxYkCk*}6`7oUa@Kl_Om(Wi)GrS2ItP;Ou5QroVSmsVXN0)hk8e z;lQ7wszq5KKkzMEul9)W#^WhAdM9n0$1xd~J`)gN+?&lyrT2u#TL&e_WNZu=06!YS z_X6e%y?CXFn(qe)=6ByvLZ1sdi9L_*4O%9s*q`)g@<+ngXLPynb=p>5ndD-SPd(4C`aTbdZ?bxKHELC zZeth7;3PqZD?s#@He`g7m$B$qvPY*AnR5l@#vg7e+&xsaNZJ7s<$W$OK|T@wSM zh`E>hGt7-jtmLJrt}Ivhf&`2+J~l%A7}}Xca7jJxI^wvclcjQLM5Eta<3kf9Toscy z2I56cmFzMI1s+2ser!B|B({ns8CaFV`-AdpPxNlkWi`M4xfYlJ>bcQa_Db9t&LAY; zx^2E~@4$Karl&<}9jvxNSjTQMt#zzn;Qqi*Jw&F8Na(c1_Jsc6N8&(xJElah#X~^m zO$FtV=RBR5){5SC5(*jhk?uKK7`fi`Y}eJ#ci%vh-fi6~JE0;=vP_jpjlbT?{#e-Q zg~+X2Dcc7K^U`4_pWG;HNCdX~rJUssvKg;+f3y~ob_om7(fWQVrk~|8c+5Oyh)!0u zH&@f%C3-|i_!B$Ex|tDNvP7;t@z^Uj(%<;2W8RZEAuh0EPbru^)k9_D$^x*({E+n& z{y0*heI0x$J9Uj|T}LA6SZHS^U1@BX{##YX50iv${&P>g_W{k;`KLa}>>L)9+be$H za1Hq$db|JP;I|C#s!D6abpfQ!SMEJxNrX5Po=~2~$zN$@d{C4ae%`0;u5lJIc<5zV zW0x;w_KUnGPtktlP2P#J6QNQr*8K9PVlhCrtEJW_VcAdqvfOn2!G(Z&x2T5n3f@d6yv9qGdpFIWgxra94$P&Yhsnc!#t)-Gv2pxFx>U@5&M# z7#U*2+|*`pSdAT(GQiPE$Ex`}N+I!wwb~zatxGDuvCL1$dV-cI>A&21r3eoG;Lk8> zhmAcpb*$KgS=PzD#t!=+rn>kYXx#YR)Dn+tD7G%>f%NHRvzUhtr}1(z(HiB$A-%vD z`5X-Jp!>%UspC}u?_WmmD;h%*I*Zz09eZ~A{G;;OSqJ&?c>WA=&gyqG%p)(6V*26E z{`k1QNoE~O9dKi0)Wme|c} zpD9V60svR6jT^^lPq@XY4fnzWFP@(qA|#AoRZ#%ui7nS&g(Xw!JO=DIRz0X4b&exr zkY`td`J1Q{ea9M&%2%T#Ta;&a<1sj6L)n2PV_y7NO8EsgholQRo&m^2^@skl2bJt` zu{-&e43fXh6JRAQ*3k{gK53WkKIN2vD)Z{THopDGy|Ji5&I%H;Ecs!{lt{IB9_h<_F@CJB{)}FVpTFvK zXP(=eD=e5uI3>NH`X-wAtvibZtmZ?rL z7wsuLRIVuCeEjQ}R}+ZAfvu;^h{(w;f2~*YCtDTpuuti0eA}tHeTR8%o~dzA^q5{z zUQNy_)>BQCr4&n zY9ifZI%XxIcTU~-B#>+|02RG{!zI=^*x31j0>MV-*^bTh_(BK8Ju&5MRoaw8+1sG1 zL%CEWY*}Ha7nicSa&3PfVrP_f!DVI}!S&!{Ym;aR{feM{vMO6NOZr%GWB(&Z`wMOR z#)*@43&=FFCXmN^kEWAz)MHgZ6DzNPf8RC_rbOG((u3cI+!P)?mdoPYwy+W=xS^mz zfWC?vOdizPc*paTy;7&k%4PvouNbGIDHnoj<91_&*-aZqO)}LOa&*pZeF>N7l>Pz< zd;rv0z9>AUFFFYW!822_#dpkxb^lmTJyFw~@j`t0>4*7~9p0D`MHX1=O>e$JdK(YU zaj~=9#M%X_gvkYeC*Lkko|dT;vWBG#k0&O6W2g6_Mv4}FWx^J#7cBEjg3w2YH@g)Q zuPcXBzOk0d9;`^u*e`sV2s~bPHkR-tDYRo6Xua4hTUwLG+tvh)QIX*oR|Y1Ov28Zk zylyfJyrpjDH=Jjhz5$=Jg(|PB@fV!q?btPZ{rS$TKfdo!+1YTi23~<47U94_5&pH} znfUigS(B@ik&Xh(E?Ua@PItu=bDG)ZUT{R;eznP5G{Em}%@vdRrM`+tN6I(JQMxzt zzG?+!S4Ta~BX5?vtMn^pahCg%YIEzN%1z!wZj%6cu}N6lF1c=c&0t!fJ{z?E+8|pX ztL03D#Wef7T$WgBgBg5GX1JT$UHCk!=iSaW`dgj`dWdyaEzWVS!D%kH>i&#|Y?8|9 z-4$lE_MykI*a<$47lk7Bjbdv}w_`*zdXZuGN3Iu`_YOWZs2xJ(qa;J)R&SUlR@|sR zt8oL;Vk6BgD)ama+gNdT3rq5$E=wTS_vPNL5v7O8(WRT)ia$MvhreFxtoojl@A>L* z?V3N9{Or`QzB8zrK~Wzy9(B6iNvvA2IDC!4FDT_F{|-W_zsO%Zd!zcZU$$SrY)QbT z+}KQlk=a`^_W*hzPZ#yMhjHq8PQ9i6db5c4WxBN_N7p?>>OOl+NcT)WrFk4NdiE{l z;%pD)D#!i39~nk@^PUQri!2Iu0oQ(*7KqFFs)#t$B7j`oGM}O2VyLY`9N-5vh@n;< zRNIc6&UJhY@?%IVdD-=xjGWJqn^0=jZBU)tv{v1U7ED&2v5=oi(iJ2&r=CAe0V;*$ zW$8S9fv(wveNqLlBQuhxlIr{{L<<*+21HMjNzwF5+p`Q`+5~JF9k>|vUCpaTL{(Py zw>le+8;vV|Ci0p)i8;A|+2>n*&Llb{e1az3q!#5`h2t?5>RN5A0%e*-$ySQrj$M&HIK~a9W)6d?W8J*D|_Nsk$ zGP@D92-<(_m%Dt`w&=aK1L=et-x-8!#A~nMjd>p5y_E~xqvBa(g-xz$rbrZzJy}@V zMDqqtV5Q@0Jnd^ZegdA!J_j+KUwf*Q89r!GpX^tCjM-_vCiKDr%LHG*Tq?b|4*FY1 zr|I5VzQbkN?NfI!QSV9w{6i7N+PZuZNn#B7s)KDhPO1TQJe zZL1UgBIOOdRP;I*>7?O<3ezgLDn5OQ67L#>r1#{bKe8hz0Pg XLyRvu{aX3a{{tgEGu={c*U0|?Dtn-9 literal 0 HcmV?d00001 diff --git a/docs/image/search.png b/docs/image/search.png new file mode 100644 index 0000000000000000000000000000000000000000..f5d84b697dad0c856a822c2df0a0da46ee3e9be3 GIT binary patch literal 12704 zcmaKTWn9x?_ct&$YBY?JE+wS96+raD)ZuW1T?Qn3UDI*M)-R57?D8{(G_ySR4Gggm^{a$ULZ`#Vl zSlI`9mR!860V&>^<>UGzD;4vViC})Ksa(fDL<)3`tNaT<{#2fw6lCrH>lD%OOh1aR z{Ml3g&0cbLo?W29O1rl;uYT|AlgnY5Wtk1R4fA56Y@{{Pk0y=hB9{g+(RJ5@-qNKjvOa^8CutOT_;keeKu@ z_jbkrr}T`M16BPOI@rG9dBd#DW>VRJ{#&#a8mSRjo@tTgVYnW?I9&fK^9LShqHR~{ z$R8L1OsSy~UIrW)mz5GLf*fiZIk{GSRhg^GGSMTs5zUk{PaJsQ(w^F#!a7XW=3U4z z4AJNt+u{kXwD)tMoSOx<=h4l5%wHVe@dVNP&MLuWh1Nm$=FKKwST}t}sBfyOa%w{a zt*5?f$bHex6HV#uP?MDB799wW=oz*W;m{eUa$fY6N&MX(9$!b-Ay}kWEZ1M{-ZfZj ztfc=7_nOtZen*(ef%;30)NJ++p(aumNd_c-=ORnXHxYRM-9%7MW`)tAhQMZFkn_GZc{UxHU(d&vI}-CD{u{JKt_sfMQ2f+e~1PX}g) z=yU{p!`wmdNnG#vywP9q0H0o*oEwx2n(2G_J-osbVltnfT=GJ4pl|k=v()=_&RSY5 zR5mY`_i4<2oKA25su*5#9{k+=oTsJ)aB`bWEi5aGb`j9x9uQm2mGv-ua!l-*Jvw3* z1X?C5dRE~*EjdJM^sBnO`TZP9lzJ5Hh&U~3?Y^W>OGkIyXRgjLjt`qEOIMvw zycfYPd#0*UcinQ^hHp&Er~`K?PP!Q9A~D(l>taQ51Sf4Bs~ex6{sATF%hoJkF>h(E zE_ybPL1AYGC|*@LRw>52Dk(-e3ywR;nB9?*362NUnTeko2S-rqnX1Z5DDG|`si(nI zrsM^8EfpT&5bu|0HkTVsJmagd1P@u}avO(Ek;zcy^VBCsU9!U`GR!yY4wWC8emffV zYafJtq~HooGv@!Utu_nFlx!q^>QKY1*1BJ`&_mJVb8v@TUtd?)o~d?o zuYZ{K1mtW53*8t^9!?W%XEb^BK)VaL>P@Za7JeS@Zk$t5s&dY#hc=H!vsn5wx0su> zzFWJhGVJaifQ5i{F;t#&p+FKf2Rpk|Wi1VMwqlA;+f?!f->oRRnnMCfYTVwsxh=mk zGYfnK6b@wrD2gg0<5VQ~T1inT)E#5^^SYK7(cekWU4a%9U9N=7inEQtSKfgZKS0FE%iFV;^>)0OMy$LK|I|vXh zhzS`bUcxGt*WTX#XN1@~M{>JivVMc5%K8~u&7`NN=j1n&`t`(D?vw;ry2`WoLc6zD z`&~@73ej4wk^1A^P?oyR-I}Y?3d71vQpNV30bCc!{E!+#^UF`%n)d9;{`8N0K3}+! z{KO;7*YfdoKKVPv6jH=5&Gju4%!PtYg-Ut-o%~i*RCI+&>0W-c$-}Edj*9+{6TZ*3 z&VKu5rpiobW@cu%fZ%Qb<_G#l1ON2tQ_izw9>GUyXB16%C+5QRY;_%+vn)!Uo4Qle zm8Pa($%xU%2$)M~dQ8=}5BobMWi=lI!t2sLRoeho<@2EUsy$-ZUtK`F@_;fc=o_Vc zd|ME$zGmJZg*L?{Qgp?_@1B&jHTtPQ3D{o~ZU*`k+}}VQmWysauEfuUBkJ}JaD_0x z;g76ITZ75>bgT^0qs|Gl*|kZCet^Svwfbq2uSD1m@EB*(YxH(fr1b+rx*na|A2ht3 z(6-UF;Vtmsi=(;=XNXMVz|GB$jNf}^>p9W0Bd_nQ-ggGVcb8em><`TyD-)-f?Bmf^y4J)XZpWkt?yEJIHL;|^ zqGfuKDhYtv#8n|%1QRHJ;L~VC2RW)^T7L&lgr}rQ%eva#_&DINL&vu`Fd?8^On$5T z!#$Zpi?OGWF|$($sMo<*n?sZ%?@a zE$BdYA)$SKo4)u92}8@3c8QmMgRgZ%9H1>0KHNN1Gwh>rKZ=tE7VU8|mmX@p%rh}D zxhR~stA}GmDK_Qd7e^Zwao_eNV$Glc;j}d>YAPlw&e{(vL82c803mkJIEWzMrypc0 zfp&ETz5!5r#QPRjjS?dRgGPRN!-*Hw^n_eJVY7>oNwbwSa@7ltI;~WkRQyz8r^Zh- zL#+{KU>#98B1=z`!%)$zldOK6y{%m2Hiu@$R_2D>^XR}4%%31FTUe-d=>uXgf`jg9 z4D-^27{Vl${W5K3@Xfb{@V>t6(OAGEIq`)Fe}Z`9HT>G#2SbS1!0#RKEKf@m$i+fR%YM7?i7qaDm~gM-c1?+)uTau(h;h~V$@ z12S1=(pY?7?|3I}iuh;0F%;}Pr>BW|9ukd8i;az4tm&=(!O0vzSG4zHQg9yZ zoSr>sdsyb7_kdtohdY=DMaTrmBg_+6%FNEb0^#qArBPq9FwRe8u%4R2Kd+F^&K349 zX~6-uvg>k7M63fZ{^lEm4pY-(kQZ3TvGrPYlG?A5Z_*1HCouf5daZqluY{wIElxIU zSH^jJG<7a=QMF>l%yHSdQ`I*HZnB!{M?2$Ev_qK`1=*Dq5bslHgutrLBu!f z!c5OzwFFQjb7nZ)-aYwi0^ecQup3fom_0zu+SF-X2!mqubfL?P$t%0DL>M5GrSuBf zr_ON~s%6hXi2d046z zJ|L$SM7XmYfw9YY0}%FMpSUX8ZRP@>Jh!aTAHj@MzPzIgbts?R1>FKO%sG<7FX*h; zIIfrbJ<}XtQAl!TJGKSg;i{YnW2hPv?k;coB8@U!I)rQkw zl5ly$AeqKlo6qp!&#cez)wXXL$wqG%D*EWRq8_|MW`u3=^SUFiEN+5cUM9ZI;I_xD zrq50TvZU16Nqzf5Am}c%;ZIm_Q8F5ejENH2zP-x`ouSF0CphWJw)JP;0{>s?+{^tcB z4xW3<n?TI268$OEjv^(LV{gTY{{8e~Ct41a%03AJRl?|+|V8n3x zv<$)A1zwYER6%xBtf<0&(nRQj2mwzod-b6Yz3x4|LGWuZx5-@PQ zr0R1J=;^jEi6~)$d3-Vmh}VX2!EsIJJ=@9n)jHyMeHi|J zMe#NX$-*uoPSkv~MZZ#QQ*sDen^VVklQ(sef z7gvw+Yh=$Qj*nC4tIt-sNP$a}fKU#GW`F;0=Z^w7IuDw7Hi|X1G@a#yLL9ONu#3a= z$Q>oYXYpw-4Gfsa<3-|UdwExx)|x6lxU4NO5V`3hd&KIgJ-BlUr$pn4tNuK~dDS6i z8-1=8@P)Rpx2dfKI@jP=9TBNY6-)LY z<%0@q6{8Dry;g5WLn}?2n=-V5=xgECRGTy40r&8UNZ5ldi256EHr*- z?#R_gJ7jhvaFAiYH5)_v1M|~ssE92}zKw{G9YhO#FD27C+YwKw-OsFL7lgvlAp~Bb zQT@poizbi)Y+~Z!so;Bm^!hQiycXhK0)MqYNaZ>?w8_TPt({RBf0Y=ps((<)AJO_U zy0^0dH$B!ygqUHI7n%Vx32iW+Vzic@E(f_qSTJ{wW=n*Wh0llzD;WU@zD3E8umDT(y2YHDiA?5s=1JrKlS zmw7(@)(Mc+Qj0tM1Zmpj{A=pzR`rA}4P%e&b7=JUKBnV?+^BYn$#D7}P! z>S9RFSo=%j#TI76+ zJ7)F1agox(sZP(pbW}Bd%lIKN%ZrO_afYyT#I+$ci}k?=T$j%2X$ag#F@W2GMn0oz zU7@I@`n~H&mV{e4ig~5MI6zR*$hIS^sUVt~zu=f~DM#jgpOvS^#5>)2gliNncp_RA zi&^7P2G`F_KS~zjfmK?DloQcw>+9uzf3D{J7w$*Eh*zVIaetEi zjYtSnX3F(~T1nD+Z2i59OSf7+ft7wDdWC0KLggh(rS`(`+izuMXcE7oB%1@pgVuBN zxR|WDaEP`uVvG|iY#R!(akr}^NP8#y5x)Y?$v}OG}|Dh(8H7cXZ^2rVG4HyH`DUHqP_K#rTonNVM?Byrd+L2p-8-uU_4U zX5Cxmgt&ChOiKoMMl>1}lQT&=r$Dydm%sS-M3SmEpxMcS87P)D!RMwX0Rf*53e5VwKlA$<$2}XGi-f$2?+e*d+sYD!PpH*D!#og!>0Oqj zka&E>dG6A~o&3lmK7QQ1DgyX=5#@+{bPp+9AOMs^_m0-9PK(N$I^_hUkqz3hSUzkIhCj5JUuf)@|>pjFv1;l|5RXPf9N|a6KhKB!no&_dXQL^3|FOGQltKS-I zr5y0Ea|X`{ds24{sk9$Hxyh8u^FAD%uRQX-s|tX*fU3&p(ESki$x%+|$jFGlcxK!c zwArcqvA~iTY)5)9v ziv^!%KfMOCyd?%Ggwo-*8~2}o^Tav0riU*Ax`p!-+f ztCqDP-?<_fhGwrc+VFhs+vRb0bEZ?Da9uOU*-4Y{SZ`so$dS>X zvNbUJRtNtWjS4Cn(~9wm@lBYG9y9|L5$C-OAb9MEoIZI^#Uyi)*A!>mu%&rw1i9Zck3mV)@DU<12 zto>MgY-g#9G_AKEVIA{YSUSUhzI*^37xhfHf7`7pfF;{W$r{+EJ|h+5660Z37Tu=_ z0@1>sepfo7QZBdS^f&H!GsdwL_AK>jI*Kko+U@nj>D|?r{Y~?Ib#V5_tHev?1{FbJ z{DpJP(kr*REarIiloKqG&`RSgU}c+pEnCX$d9x-7fO!B*UI+ zv?i9An7BN|V^q&!MAA51@Oc2c;+V5OSBXL8O?MUSB@*DiB zIr2AsZ{#F<2fNs`JF9N&V&H}SBhJol#f3!LNU}vpO|IhvnOi0(?UtvsZJ~R-B zgJ)$syj-a`QxB1K1#nmCL!)y!TS$F^IC zBRUs&13r|;h{OHa{Px8r-m6-5^FFiZwT=?}YOK+Mw@?0M(-&2n#rTPM92<-I(9qHO zu(jN2B>+WW(VHv#uF>X9s{2#)Q64_T-~k1>tv<$#UuKRHPxfD^3EU_>KvI*jv7G3a zYTsz$U!?N5@y2dQwv(Xqf$ zb@D?Oa$vj9ekaUVt8@%!Pc()a%^d5mV@Lm^h4}N&I~|a_*~NiF??Sx+(w&#zCwzEdS9~wq@FnAWVSW1|1xUJ9 z7=`Z&8HneW!GfRN`>w~Qf3y5!X5Pc#FX21}NT$#&mi|$NdkK*qni@~>WEqOmKkOQM zx(!?Pi)gj~qNAXpox+CYKG=9fswY2~W1$R(R-Q1{9HZzC4B^M7M@>xj29h`})B&wy zv@dZXp%3@|Z#JmHn^ak7^MR01m!A12Qr0v-y-sesI)A4YPBTjR70Z?G2z^@`@=T-y zctbTUGRbRPvhYAD)-K#T!xd$DF4FOaQPrG>BABG}y&wyyVgj>#-wz}=I)$VDyOo?n z&qkOPQ1BRR{prNkr-4%?LbSb228ypW;#0w7Wu@nmp)gB{>y`b6lGQi-IsJT>p zd?27jncg5HVp!;NuKd5-j8=Yq`pVyQ<-pVm{7-b&svze?Fy~ z0SdiS+V2`IaMgA4B1W(UIMgUaxiFX1J3rQ&ODEFlIsP<{PV}AKLzbK>P(NtlF4KSD zry{anV?G1aasTlzMUE{&xy`yO36WLrvv2z|CRW@)s;~S3{f?QvIWhj_6COGz+UICR z^riDXx%2w>p!a{QKyDsNW7u~30D78ey+OWmG1 zahql0m=l7FDO%?Bs%<^XX9U0l&&>@q$Btr6(uYs9F!;P}FZkVU0$PVN67G|&P7scL zjly9;Y=mIl^8ZV;f~0prr6XAA$Mz4}85&OiSEkhpU*t6O%O(TbR0l|YIz0a~D5ejZ zi2M2+kCI~wtVs5lFdO3wxyyfS=ndgSI;`m{qnoW-biv6w_uk8VV2E5kJdnY?+qlF_ zNtL#O6>Wq|u%ZrLVg85|7yj-~td8?+3=mH+ND5J=FW3Y=^0!Vcxqf2;ceF)5moL5C zUg?RtW2j56J@~M(Z;NmTozrJo6O>$qR902(f!mzL#-8~1Ctey8Fc49L=_v0EfaYoKHUQVF@ArA&DYRL=8=<{MpV@8}pnr3P{;vE{+ zx63E#>FQ#{tNa4MBZXqVukO=J$7*5hjN6DRJnonjO8Lib6d0-M^+olw(I@m_#UIvx4-2wEH=(O_L#B6%z{m2_A}7YoH@t@*)~t`?)9C2v zN>`YNtC64&ho>H2D3LsFk9%%nQ+HNR4|0$ecE^;Y?->I4DpcLVE$YFN>Vlq_D*^#o z|9tuJuaGY&L_CH33jW!Nt=)3MY<%#qW|X3#0W;%@xpTeWz67#57#BvPkO=3Zqje4@ z?c`S|?=G{R@_s91SKHZX-qzw&J2&KRi$8&B7qJffD#(7*MMCXpBrYi#)Lv4u9%fF4 zo@p-8&gJ7cH)_dXpib;KZwwBdaCY|j947~PJ%j63*50BP3u;Ya_-C`8feR1TF=eusR?=)c)HW)h7v;Lndw1a~Z znfg!lK5TvR@)4J>>Ht@p2c=(mW#w++-@kvU2UC>CG$REa`im-e`gbG7hlYm8b5kw% zOr{C(&E;<*70B@98+3K$j{!UdG6@2^fa`^LR@sQ>9QO|w9CL;61bWIJ7cRbIt z8VI|w_1e($strnQ2G{^I@>F_B+o;iNdm2)@rYe_MM3+G8a~ARZ7+d09`iSt15&-w3 z5^MvK{m+iXyg;M6WEyHwzpf=R_D1vkV#YKJHlJ*KAL+27Qm6n{>*x;f3DmO%kRP#F zuo~VAc=CIeq|hI1Hj^N&us2W<#s|uIG{&SHvn|)n;b%n&U&49T^D?dd02M~j$%o(LaX!#3d9tJOP|8oji^l;B?+RO=Ba}V22b_bZuXk%~Z;=IlBR_ zAePIadw-{GSufs^L}jn(9xvF6`I$7uumFYH@_+A{{Y%*$%5#vxfvZ0Mnj|vHTJECQ zQln1oE(cfwZt2Wp8|?nYoxj_?f@u`?%^Z_A^)RpF(`DYT#}AK;bP#n*F>pXhWAk8^ zt)M#{MB0Y6!DHP$2InZfz4rTO!o9m@*TFTdt-h$slkGL&&%%p;x8AWgjh2K=7XwdB z&0}=e5vI$Wrp4x#m?C~)hzVEkU%SgF)>CTLJ^ihFkrH;$LAq?ZM*V0y(rg3cOSKUk zfUPPfOW)Znymv~oxi}*NU>V~?g0NcjW##>bb#*9@_ZiXMZo3YHH&v;N#B5n<2G(WItdU&dH=i`0=5^b);) zWC1Pxs>t`bQ=33Xhyt;>XTC>uAhs_h;P~smTXI2<|BX)?G>Q`iGV+&pn!fKx19$JU z-u%`_xEe9aP>HZ~!BWzvpb1AS0E}P6g>EQ}=sAsYVV9LXT-BbZM-%{oLdvC%lvvs@ z6-0TU9il9q=3*#bC-p4_RslLc?In<+qjPh7LbMwe2r#}Nb}I}3o4V>ze*S#KS0I_S z+$Zq7$N8`k{{eRD&&_wSA9iS1>*($ymK3bUcVanTi4g+mTME#m-HFReKz6K}yE=Yc z;@RMk?ldC!9KP!@U`+q%U=fikDGKvBy(QTD?KS@@OF~4hbOW-^ZZysiP7EqZOBiU)4~k2ZOG$44Vi4yvSbzH#9fj4ZWjIkVH9QwZy>8 zf}bw{n3|fZ<{X~S-tm=RQUbyMec#|9+vk4t#+3xbNvbvoe(c&OHrZF-?9n~sO5aq{ zW}F+7AoLp%SUCg;!C4>g0fgX~N7VRkF7F%;HreRi|M9H?P4aTIL`P95JY*MfK4!nN+l-dGOT+LirWWqu1|nJ#8S`Xfl_g1m$|A3(!udzK#!BGyN;g>q!Q9C@Cg1kP+6_0+t*Pb0B* zGO6~XKE_(4=cdpeC;1af?>HVDa=@wn;o3yt4?K!4j$w~n0dRG;@0N{)CoZn8doG&~ zX~Xj<9uq3t2ThDfEngpE3*I0&G?yWdU7PENCB0<{9eDriWNekoD{LlDNVg9s&?YjS zxL#h01}r=wh8h_d=!ZZcol$!8i-BY0x`8H<-S2omhRj7`hQ&O_+_f9bh5oTs3WQjDiT9z3CRk*I^!7jFB6g^Hn)&G z&joW~?T`@er<8km$SZ4K-;0C}_xsQeEle_)3yGZ}s>4$h$0B@hA$($UA?j-`z%#62 z()?5dBkPC5{q?+1*8SM0nuBoMwS*OwE+^8%GiscF)oq2QgqAK_sFvkm&E7i#TyrBM zqpt;D&|7D;l#JLTbvlw=sl#dHPl7m<^|3I1>x8DQ(E_&(+}WsAof!Q?7gQrZwq{)W znJmG1wDA{M0%bf~Sy?$F)+06@h+mb8Ywstk5Y~9eb2KKJ+sV$?!+^GVb9pa1B+idG zPqB+4i5nY@P0Ab!19ftB2nTqu#@P=ZLo}fN0P1(G!j*;+x zqJxJetputfNtVb}DX6d;kg|-SKCu%oLQim=$Qb}RbyQ_NrVpSYhp3^R0jzF>tMfmj zfqe@6WMTlC4rRCwk|f;QPy_VOvM&oG?z?b`$p_0gxY!o3V&{WAp_k+!K{7pzd~rrZ za>zNB!PWPF`Y53d@u3@_B!MvSmmw@w1JLjMd~99h6g!Fy5c2PWQtm4Cm?&8DI_P8Wc?={EC<|j{rrKcswfGg=0y7neDnOsug<+#C z+<)WVFXygcu>gL|Tu!T@ZO%K0O#eH3E%lgh9Lh40}t?f*`y9eOD&)}tArkf({2#qw-# zkyqHo&P7{WTT=B8gfQQc8K=*M?&0eerZ8%uQVl6F_)CUA7q$pX5ai)&X>NZ0?G1_! zr73$Xy}@u`#yXX8ERl5+?r_%z%hUNFh&dFxqF0*>a#&hv$N;n z@-nMDEW~-)&UFH!mePQKjfA*kS4EYio;f-}dEZV;8DdlBw9=@qQecD%!pTuTOSFcIc&hy{iZ!&NJ1j z!^-~vu(r0AEK+VtymG~;m9p`^+S`$@_qm$s9re6q%0W9el!+Vgk`@&Db#%+LSA9J+ Vu(5TF{pSVFvnSfBRgWw~{|7^yU3&lk literal 0 HcmV?d00001 diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..81e081a8 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,284 @@ + + + + + + tablefilter v0.5.31 API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

Build Status +Document +codecov +Greenkeeper badge

+

TableFilter

+
+

A Javascript library making HTML tables filterable

+
+

TableFilter is a modernised version of the HTML Table Filter generator javascript plugin. +This library adds to any html table a "filter by column" feature that enables +users to filter and limit the data displayed within a long table. By default, the script automatically adds a filter grid bar at the top of the desired table.

+

Features

+
    +
  • Convert a regular HTML table into an advanced grid component providing:
      +
    • Advanced columns filtering model
    • +
    • Sorting and pagination capabilities
    • +
    • Complete selection model (ezEditTable extension)
    • +
    • Extended keyboard navigation (ezEditTable extension)
    • +
    • Inline cell or row editing (ezEditTable extension)
    • +
    • Row insertion or deleting (ezEditTable extension)
    • +
    • And even more features...
    • +
    +
  • +
  • Attach to an existing HTML table
  • +
  • Integration with any server-side technology as this is a pure client-side +solution
  • +
  • Exhaustive documentation and poweful API
  • +
+

Getting started

+
    +
  • Clone the repo using Git:

    +
    git clone https://github.com/koalyptus/TableFilter.git
    +
    +
  • +
  • You can download this repository.

    +
  • +
  • TableFilter is available on npm repository, you can install it from the command line using the following command:

    +
    npm install tablefilter --save-dev
    +
    +
  • +
  • or get the future features from the next release channel:
    npm install tablefilter@next --save-dev
    +
    +
  • +
  • Alternatively you can also access these files from unpkg CDN, download them or point your package manager to them.
  • +
+

Setup

+

Using modules

+

Require TableFilter:

+
// ES2015 modules
+import TableFilter from 'tablefilter';
+
+// CommonJS or AMD modules
+var TableFilter = require('tablefilter');
+
+

Using distribution scripts

+

If you are not using a module system, you can reference the distribution scripts directly in your html pages:

+
<script src="path_to/node_modules/tablefilter/dist/tablefilter/tablefilter.js"></script>
+
+

Placing manually the distribution scripts in your project

+

Copy the tablefilter directory under dist and place it at desired location in your project. Then include the main js file in your page:

+
<script src="path/to/my/scripts/tablefilter/tablefilter.js"></script>
+
+

Usage

+

Place the following snippet just under the HTML table and always define a base_path property in the configuration object to reflect the path to the script

+
<script>
+var tf = new TableFilter(document.querySelector('.my-table'), {
+    base_path: 'path/to/my/scripts/tablefilter/'
+});
+tf.init();
+</script>
+
+

If the base_path property is not specified, it will default to /tablefilter directory:

+
your-page.html
+ |— tablefilter
+
+

Development

+

This project requires node.js and Grunt to be installed:

+
    +
  • install node.js
  • +
  • install Grunt from the command line using npm (comes with node.js):
    npm install -g grunt-cli
    +
    +Once Grunt is sorted out you can follow the instructions below. +Start by installing any dependencies.
  • +
+
npm install
+
+

Use

+
npm run dev
+
+

command to launch a build / watch cycle and start the local +sever on port 8080.

+

Use

+
npm run build
+
+

command to generate a production build.

+

The

+
npm run dist
+
+

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

+

To run all the tests and generate the coverage report:

+
npm test
+
+

or to run specific test(s):

+
grunt test-only:test.html
+grunt test-only:test.html,test-sort.html
+
+

to view the coverage report(s), open the index.html under the +report/coverage folder or +online.

+

Demos

+

Check out the online examples +or generate the demos locally:

+
npm run build:demos
+
+

then run the local webserver:

+
npm start
+
+

then pick a demo from:

+
http://localhost:8080/demos/
+
+

Documentation

+

Find exhaustive documentation on the configuration options in the WIKI section.

+

Autogenerated documentation of the ES6 modules is available on the website: docs

+

If you previously used the HTML Table Filter Generator plugin, verify the configuration +options you are using are still supported: Obsolete

+

Run this task to generate the documentation in the docs/docs directory:

+
npm run esdoc
+
+

Support

+ +

License

+

MIT

+
+
+ + + + + + + + + + + + diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 00000000..922c15b0 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,76 @@ +{ + "name": "tablefilter", + "version": "0.5.31", + "description": "A Javascript library making HTML tables filterable and a bit more", + "license": "MIT", + "author": { + "name": "Max Guglielmi", + "url": "https://github.com/koalyptus" + }, + "repository": { + "type": "git", + "url": "https://github.com/koalyptus/TableFilter.git" + }, + "keywords": [ + "filter", + "table", + "javascript", + "filterable", + "grid", + "datagrid", + "sort", + "pagination" + ], + "scripts": { + "dev": "grunt dev", + "build": "grunt build", + "build:demos": "grunt build-demos", + "server": "grunt server", + "eslint": "grunt eslint", + "test": "grunt test", + "codecov": "./node_modules/.bin/codecov", + "esdoc": "grunt esdoc", + "dist": "grunt", + "deploy": "grunt deploy", + "start": "npm run server" + }, + "publishConfig": { + "tag": "next" + }, + "devDependencies": { + "babel-core": "^6.24.1", + "babel-eslint": "7.2.3", + "babel-loader": "^7.0.0", + "babel-plugin-transform-es2015-classes": "^6.24.1", + "babel-preset-es2015": "^6.24.1", + "clean-webpack-plugin": "^0.1.16", + "codecov": "2.2.0", + "diacritics": "1.3.0", + "format-number": "3.0.0", + "grunt": "^1.0.1", + "grunt-babel": "^6.0.0", + "grunt-cli": "1.2.0", + "grunt-contrib-clean": "^1.1.0", + "grunt-contrib-connect": "^1.0.2", + "grunt-contrib-copy": "^1.0.0", + "grunt-contrib-stylus": "^1.2.0", + "grunt-contrib-watch": "^1.0.0", + "grunt-esdoc": "^0.0.4", + "grunt-eslint": "20.0.0", + "grunt-gh-pages": "^2.0.0", + "grunt-qunit-istanbul": "1.0.0", + "grunt-string-replace": "^1.3.1", + "grunt-webpack": "^3.0.0", + "isparta-loader": "2.0.0", + "script-loader": "^0.7.0", + "string-replace-webpack-plugin": "^0.1.3", + "sugar-date": "2.0.4", + "webpack": "^3.0.0", + "webpack-dev-server": "^2.4.5" + }, + "dependencies": {}, + "bugs": { + "url": "https://github.com/koalyptus/TableFilter/issues" + }, + "homepage": "http://koalyptus.github.io/TableFilter" +} diff --git a/docs/script/inherited-summary.js b/docs/script/inherited-summary.js new file mode 100644 index 00000000..0a35b6df --- /dev/null +++ b/docs/script/inherited-summary.js @@ -0,0 +1,28 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TABLE' && parent.classList.contains('summary')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var tbody = parent.querySelector('tbody'); + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + tbody.style.display = 'none'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + tbody.style.display = 'block'; + } + } + + var buttons = document.querySelectorAll('.inherited-summary thead .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } +})(); diff --git a/docs/script/inner-link.js b/docs/script/inner-link.js new file mode 100644 index 00000000..69a74770 --- /dev/null +++ b/docs/script/inner-link.js @@ -0,0 +1,31 @@ +// inner link(#foo) can not correctly scroll, because page has fixed header, +// so, I manually scroll. +(function(){ + var matched = location.hash.match(/errorLines=([\d,]+)/); + if (matched) return; + + function adjust() { + window.scrollBy(0, -55); + var el = document.querySelector('.inner-link-active'); + if (el) el.classList.remove('inner-link-active'); + + // ``[ ] . ' " @`` are not valid in DOM id. so must escape these. + var id = location.hash.replace(/([\[\].'"@$])/g, '\\$1'); + var el = document.querySelector(id); + if (el) el.classList.add('inner-link-active'); + } + + window.addEventListener('hashchange', adjust); + + if (location.hash) { + setTimeout(adjust, 0); + } +})(); + +(function(){ + var els = document.querySelectorAll('[href^="#"]'); + for (var i = 0; i < els.length; i++) { + var el = els[i]; + el.href = location.href + el.getAttribute('href'); // because el.href is absolute path + } +})(); diff --git a/docs/script/manual.js b/docs/script/manual.js new file mode 100644 index 00000000..125049d0 --- /dev/null +++ b/docs/script/manual.js @@ -0,0 +1,13 @@ +(function(){ + var matched = location.pathname.match(/([^/]*)\.html$/); + if (!matched) return; + + var currentName = matched[1]; + var cssClass = '.navigation [data-toc-name="' + currentName + '"]'; + var styleText = cssClass + ' .manual-toc { display: block; }\n'; + styleText += cssClass + ' .manual-toc-title { background-color: #039BE5; }\n'; + styleText += cssClass + ' .manual-toc-title a { color: white; }\n'; + var style = document.createElement('style'); + style.textContent = styleText; + document.querySelector('head').appendChild(style); +})(); diff --git a/docs/script/patch-for-local.js b/docs/script/patch-for-local.js new file mode 100644 index 00000000..5756d135 --- /dev/null +++ b/docs/script/patch-for-local.js @@ -0,0 +1,8 @@ +(function(){ + if (location.protocol === 'file:') { + var elms = document.querySelectorAll('a[href="./"]'); + for (var i = 0; i < elms.length; i++) { + elms[i].href = './index.html'; + } + } +})(); diff --git a/docs/script/prettify/Apache-License-2.0.txt b/docs/script/prettify/Apache-License-2.0.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/docs/script/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/docs/script/prettify/prettify.js b/docs/script/prettify/prettify.js new file mode 100644 index 00000000..eef5ad7e --- /dev/null +++ b/docs/script/prettify/prettify.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p' + pair[2] + ''); + } + } + + var innerHTML = ''; + for (kind in html) { + var list = html[kind]; + if (!list.length) continue; + innerHTML += '
  • ' + kind + '
  • \n' + list.join('\n'); + } + result.innerHTML = innerHTML; + if (innerHTML) result.style.display = 'block'; + selectedIndex = -1; + }); + + // down, up and enter key are pressed, select search result. + input.addEventListener('keydown', function(ev){ + if (ev.keyCode === 40) { + // arrow down + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex + 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex + 2]; + selectedIndex++; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex++; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 38) { + // arrow up + var current = result.children[selectedIndex]; + var selected = result.children[selectedIndex - 1]; + if (selected && selected.classList.contains('search-separator')) { + var selected = result.children[selectedIndex - 2]; + selectedIndex--; + } + + if (selected) { + if (current) current.classList.remove('selected'); + selectedIndex--; + selected.classList.add('selected'); + } + } else if (ev.keyCode === 13) { + // enter + var current = result.children[selectedIndex]; + if (current) { + var link = current.querySelector('a'); + if (link) location.href = link.href; + } + } else { + return; + } + + ev.preventDefault(); + }); + + // select search result when search result is mouse over. + result.addEventListener('mousemove', function(ev){ + var current = result.children[selectedIndex]; + if (current) current.classList.remove('selected'); + + var li = ev.target; + while (li) { + if (li.nodeName === 'LI') break; + li = li.parentElement; + } + + if (li) { + selectedIndex = Array.prototype.indexOf.call(result.children, li); + li.classList.add('selected'); + } + }); + + // clear search result when body is clicked. + document.body.addEventListener('click', function(ev){ + selectedIndex = -1; + result.style.display = 'none'; + result.innerHTML = ''; + }); + +})(); diff --git a/docs/script/search_index.js b/docs/script/search_index.js new file mode 100644 index 00000000..c337138a --- /dev/null +++ b/docs/script/search_index.js @@ -0,0 +1,4628 @@ +window.esdocSearchIndex = [ + [ + "tablefilter/src/const.js~auto_filter_delay", + "variable/index.html#static-variable-AUTO_FILTER_DELAY", + "AUTO_FILTER_DELAY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html", + "AdapterEzEditTable tablefilter/src/extensions/advancedGrid/adapterEzEditTable.js", + "class" + ], + [ + "tablefilter/src/extensions/sort/adaptersortabletable.js~adaptersortabletable", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html", + "AdapterSortableTable tablefilter/src/extensions/sort/adapterSortabletable.js", + "class" + ], + [ + "tablefilter/src/modules/alternaterows.js~alternaterows", + "class/src/modules/alternateRows.js~AlternateRows.html", + "AlternateRows tablefilter/src/modules/alternateRows.js", + "class" + ], + [ + "tablefilter/src/modules/basedropdown.js~basedropdown", + "class/src/modules/baseDropdown.js~BaseDropdown.html", + "BaseDropdown tablefilter/src/modules/baseDropdown.js", + "class" + ], + [ + "tablefilter/src/const.js~cell_tag", + "variable/index.html#static-variable-CELL_TAG", + "CELL_TAG tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~checklist", + "variable/index.html#static-variable-CHECKLIST", + "CHECKLIST tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/checklist.js~checklist", + "class/src/modules/checkList.js~CheckList.html", + "CheckList tablefilter/src/modules/checkList.js", + "class" + ], + [ + "tablefilter/src/modules/clearbutton.js~clearbutton", + "class/src/modules/clearButton.js~ClearButton.html", + "ClearButton tablefilter/src/modules/clearButton.js", + "class" + ], + [ + "tablefilter/src/extensions/colops/colops.js~colops", + "class/src/extensions/colOps/colOps.js~ColOps.html", + "ColOps tablefilter/src/extensions/colOps/colOps.js", + "class" + ], + [ + "tablefilter/src/extensions/colsvisibility/colsvisibility.js~colsvisibility", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html", + "ColsVisibility tablefilter/src/extensions/colsVisibility/colsVisibility.js", + "class" + ], + [ + "tablefilter/src/const.js~date", + "variable/index.html#static-variable-DATE", + "DATE tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~down_arrow_key", + "variable/index.html#static-variable-DOWN_ARROW_KEY", + "DOWN_ARROW_KEY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/datetype.js~datetype", + "class/src/modules/dateType.js~DateType.html", + "DateType tablefilter/src/modules/dateType.js", + "class" + ], + [ + "tablefilter/src/modules/dropdown.js~dropdown", + "class/src/modules/dropdown.js~Dropdown.html", + "Dropdown tablefilter/src/modules/dropdown.js", + "class" + ], + [ + "tablefilter/src/types.js~empty_fn", + "function/index.html#static-function-EMPTY_FN", + "EMPTY_FN tablefilter/src/types.js", + "function" + ], + [ + "tablefilter/src/const.js~enter_key", + "variable/index.html#static-variable-ENTER_KEY", + "ENTER_KEY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~esc_key", + "variable/index.html#static-variable-ESC_KEY", + "ESC_KEY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/emitter.js~emitter", + "class/src/emitter.js~Emitter.html", + "Emitter tablefilter/src/emitter.js", + "class" + ], + [ + "tablefilter/src/const.js~features", + "variable/index.html#static-variable-FEATURES", + "FEATURES tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~formatted_number", + "variable/index.html#static-variable-FORMATTED_NUMBER", + "FORMATTED_NUMBER tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/feature.js~feature", + "class/src/feature.js~Feature.html", + "Feature tablefilter/src/feature.js", + "class" + ], + [ + "tablefilter/src/modules/gridlayout.js~gridlayout", + "class/src/modules/gridLayout.js~GridLayout.html", + "GridLayout tablefilter/src/modules/gridLayout.js", + "class" + ], + [ + "tablefilter/src/const.js~header_tag", + "variable/index.html#static-variable-HEADER_TAG", + "HEADER_TAG tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/hash.js~hash", + "class/src/modules/hash.js~Hash.html", + "Hash tablefilter/src/modules/hash.js", + "class" + ], + [ + "tablefilter/src/modules/help.js~help", + "class/src/modules/help.js~Help.html", + "Help tablefilter/src/modules/help.js", + "class" + ], + [ + "tablefilter/src/modules/highlightkeywords.js~highlightkeyword", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html", + "HighlightKeyword tablefilter/src/modules/highlightKeywords.js", + "class" + ], + [ + "tablefilter/src/const.js~input", + "variable/index.html#static-variable-INPUT", + "INPUT tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~ip_address", + "variable/index.html#static-variable-IP_ADDRESS", + "IP_ADDRESS tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/loader.js~loader", + "class/src/modules/loader.js~Loader.html", + "Loader tablefilter/src/modules/loader.js", + "class" + ], + [ + "tablefilter/src/const.js~multiple", + "variable/index.html#static-variable-MULTIPLE", + "MULTIPLE tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/markactivecolumns.js~markactivecolumns", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html", + "MarkActiveColumns tablefilter/src/modules/markActiveColumns.js", + "class" + ], + [ + "tablefilter/src/const.js~none", + "variable/index.html#static-variable-NONE", + "NONE tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~number", + "variable/index.html#static-variable-NUMBER", + "NUMBER tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/noresults.js~noresults", + "class/src/modules/noResults.js~NoResults.html", + "NoResults tablefilter/src/modules/noResults.js", + "class" + ], + [ + "tablefilter/src/modules/paging.js~paging", + "class/src/modules/paging.js~Paging.html", + "Paging tablefilter/src/modules/paging.js", + "class" + ], + [ + "tablefilter/src/modules/popupfilter.js~popupfilter", + "class/src/modules/popupFilter.js~PopupFilter.html", + "PopupFilter tablefilter/src/modules/popupFilter.js", + "class" + ], + [ + "tablefilter/src/modules/rowscounter.js~rowscounter", + "class/src/modules/rowsCounter.js~RowsCounter.html", + "RowsCounter tablefilter/src/modules/rowsCounter.js", + "class" + ], + [ + "tablefilter/src/const.js~select", + "variable/index.html#static-variable-SELECT", + "SELECT tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/const.js~string", + "variable/index.html#static-variable-STRING", + "STRING tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/modules/state.js~state", + "class/src/modules/state.js~State.html", + "State tablefilter/src/modules/state.js", + "class" + ], + [ + "tablefilter/src/modules/statusbar.js~statusbar", + "class/src/modules/statusBar.js~StatusBar.html", + "StatusBar tablefilter/src/modules/statusBar.js", + "class" + ], + [ + "tablefilter/src/modules/storage.js~storage", + "class/src/modules/storage.js~Storage.html", + "Storage tablefilter/src/modules/storage.js", + "class" + ], + [ + "tablefilter/src/const.js~tab_key", + "variable/index.html#static-variable-TAB_KEY", + "TAB_KEY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/tablefilter.js~tablefilter", + "class/src/tablefilter.js~TableFilter.html", + "TableFilter tablefilter/src/tablefilter.js", + "class" + ], + [ + "tablefilter/src/const.js~up_arrow_key", + "variable/index.html#static-variable-UP_ARROW_KEY", + "UP_ARROW_KEY tablefilter/src/const.js", + "variable" + ], + [ + "tablefilter/src/dom.js~addclass", + "variable/index.html#static-variable-addClass", + "addClass tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/event.js~addevt", + "variable/index.html#static-variable-addEvt", + "addEvt tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/event.js~cancelevt", + "variable/index.html#static-variable-cancelEvt", + "cancelEvt tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/string.js~contains", + "variable/index.html#static-variable-contains", + "contains tablefilter/src/string.js", + "variable" + ], + [ + "tablefilter/src/dom.js~createcheckitem", + "variable/index.html#static-variable-createCheckItem", + "createCheckItem tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~createelm", + "variable/index.html#static-variable-createElm", + "createElm tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~createopt", + "variable/index.html#static-variable-createOpt", + "createOpt tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~createtext", + "variable/index.html#static-variable-createText", + "createText tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/sort.js~datesortasc", + "variable/index.html#static-variable-dateSortAsc", + "dateSortAsc tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/sort.js~datesortdesc", + "variable/index.html#static-variable-dateSortDesc", + "dateSortDesc tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/settings.js~defaultsarr", + "variable/index.html#static-variable-defaultsArr", + "defaultsArr tablefilter/src/settings.js", + "variable" + ], + [ + "tablefilter/src/settings.js~defaultsbool", + "variable/index.html#static-variable-defaultsBool", + "defaultsBool tablefilter/src/settings.js", + "variable" + ], + [ + "tablefilter/src/settings.js~defaultsfn", + "variable/index.html#static-variable-defaultsFn", + "defaultsFn tablefilter/src/settings.js", + "variable" + ], + [ + "tablefilter/src/settings.js~defaultsnb", + "variable/index.html#static-variable-defaultsNb", + "defaultsNb tablefilter/src/settings.js", + "variable" + ], + [ + "tablefilter/src/settings.js~defaultsstr", + "variable/index.html#static-variable-defaultsStr", + "defaultsStr tablefilter/src/settings.js", + "variable" + ], + [ + "tablefilter/src/dom.js~elm", + "variable/index.html#static-variable-elm", + "elm tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~getfirsttextnode", + "variable/index.html#static-variable-getFirstTextNode", + "getFirstTextNode tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~gettext", + "variable/index.html#static-variable-getText", + "getText tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/array.js~has", + "variable/index.html#static-variable-has", + "has tablefilter/src/array.js", + "variable" + ], + [ + "tablefilter/src/dom.js~hasclass", + "variable/index.html#static-variable-hasClass", + "hasClass tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/modules/hash.js~hashashchange", + "variable/index.html#static-variable-hasHashChange", + "hasHashChange tablefilter/src/modules/hash.js", + "variable" + ], + [ + "tablefilter/src/modules/storage.js~hasstorage", + "variable/index.html#static-variable-hasStorage", + "hasStorage tablefilter/src/modules/storage.js", + "variable" + ], + [ + "tablefilter/src/sort.js~ignorecase", + "variable/index.html#static-variable-ignoreCase", + "ignoreCase tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/types.js~isarray", + "variable/index.html#static-variable-isArray", + "isArray tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isboolean", + "variable/index.html#static-variable-isBoolean", + "isBoolean tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/string.js~isempty", + "variable/index.html#static-variable-isEmpty", + "isEmpty tablefilter/src/string.js", + "variable" + ], + [ + "tablefilter/src/types.js~isempty", + "variable/index.html#static-variable-isEmpty", + "isEmpty tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isfn", + "variable/index.html#static-variable-isFn", + "isFn tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isnull", + "variable/index.html#static-variable-isNull", + "isNull tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isnumber", + "variable/index.html#static-variable-isNumber", + "isNumber tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isobj", + "variable/index.html#static-variable-isObj", + "isObj tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isstring", + "variable/index.html#static-variable-isString", + "isString tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/types.js~isundef", + "variable/index.html#static-variable-isUndef", + "isUndef tablefilter/src/types.js", + "variable" + ], + [ + "tablefilter/src/event.js~keycode", + "variable/index.html#static-variable-keyCode", + "keyCode tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/string.js~matchcase", + "variable/index.html#static-variable-matchCase", + "matchCase tablefilter/src/string.js", + "variable" + ], + [ + "tablefilter/src/sort.js~numsortasc", + "variable/index.html#static-variable-numSortAsc", + "numSortAsc tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/sort.js~numsortdesc", + "variable/index.html#static-variable-numSortDesc", + "numSortDesc tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/number.js~parse", + "variable/index.html#static-variable-parse", + "parse tablefilter/src/number.js", + "variable" + ], + [ + "tablefilter/src/dom.js~removeclass", + "variable/index.html#static-variable-removeClass", + "removeClass tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/dom.js~removeelm", + "variable/index.html#static-variable-removeElm", + "removeElm tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/event.js~removeevt", + "variable/index.html#static-variable-removeEvt", + "removeEvt tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/string.js~rgxesc", + "variable/index.html#static-variable-rgxEsc", + "rgxEsc tablefilter/src/string.js", + "variable" + ], + [ + "tablefilter/src/root.js~root", + "variable/index.html#static-variable-root", + "root tablefilter/src/root.js", + "variable" + ], + [ + "tablefilter/src/sort.js~sortdatestr", + "variable/index.html#static-variable-sortDateStr", + "sortDateStr tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/sort.js~sortnumberstr", + "variable/index.html#static-variable-sortNumberStr", + "sortNumberStr tablefilter/src/sort.js", + "variable" + ], + [ + "tablefilter/src/event.js~stopevt", + "variable/index.html#static-variable-stopEvt", + "stopEvt tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/dom.js~tag", + "variable/index.html#static-variable-tag", + "tag tablefilter/src/dom.js", + "variable" + ], + [ + "tablefilter/src/event.js~targetevt", + "variable/index.html#static-variable-targetEvt", + "targetEvt tablefilter/src/event.js", + "variable" + ], + [ + "tablefilter/src/string.js~trim", + "variable/index.html#static-variable-trim", + "trim tablefilter/src/string.js", + "variable" + ], + [ + "builtinexternal/ecmascriptexternal.js~array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~arraybuffer", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~boolean", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Boolean", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~dataview", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~DataView", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~date", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Date", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~error", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Error", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~evalerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~EvalError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~float32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Float32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~float64array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Float64Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~function", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Function", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~generator", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Generator", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~generatorfunction", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~infinity", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Infinity", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int16array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int16Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~int8array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Int8Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~internalerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~InternalError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~json", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~JSON", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~map", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Map", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~nan", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~NaN", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~number", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Number", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~object", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Object", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~promise", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Promise", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~proxy", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Proxy", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~rangeerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~RangeError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~referenceerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~reflect", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Reflect", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~regexp", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~RegExp", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~set", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Set", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~string", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~String", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~symbol", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Symbol", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~syntaxerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~typeerror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~TypeError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~urierror", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~URIError", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint16array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint32array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint8array", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~uint8clampedarray", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~weakmap", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~WeakMap", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~weakset", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~WeakSet", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~boolean", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~boolean", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~function", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~function", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~null", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~null", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~number", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~number", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~object", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~object", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~string", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~string", + "external" + ], + [ + "builtinexternal/ecmascriptexternal.js~undefined", + "external/index.html", + "BuiltinExternal/ECMAScriptExternal.js~undefined", + "external" + ], + [ + "builtinexternal/webapiexternal.js~audiocontext", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~AudioContext", + "external" + ], + [ + "builtinexternal/webapiexternal.js~canvasrenderingcontext2d", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", + "external" + ], + [ + "builtinexternal/webapiexternal.js~documentfragment", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~DocumentFragment", + "external" + ], + [ + "builtinexternal/webapiexternal.js~element", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Element", + "external" + ], + [ + "builtinexternal/webapiexternal.js~event", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Event", + "external" + ], + [ + "builtinexternal/webapiexternal.js~node", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~Node", + "external" + ], + [ + "builtinexternal/webapiexternal.js~nodelist", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~NodeList", + "external" + ], + [ + "builtinexternal/webapiexternal.js~xmlhttprequest", + "external/index.html", + "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", + "external" + ], + [ + "src/array.js", + "file/src/array.js.html", + "src/array.js", + "file" + ], + [ + "src/const.js", + "file/src/const.js.html", + "src/const.js", + "file" + ], + [ + "src/cookie.js", + "file/src/cookie.js.html", + "src/cookie.js", + "file" + ], + [ + "src/dom.js", + "file/src/dom.js.html", + "src/dom.js", + "file" + ], + [ + "src/emitter.js", + "file/src/emitter.js.html", + "src/emitter.js", + "file" + ], + [ + "src/emitter.js~emitter#constructor", + "class/src/emitter.js~Emitter.html#instance-constructor-constructor", + "src/emitter.js~Emitter#constructor", + "method" + ], + [ + "src/emitter.js~emitter#emit", + "class/src/emitter.js~Emitter.html#instance-method-emit", + "src/emitter.js~Emitter#emit", + "method" + ], + [ + "src/emitter.js~emitter#events", + "class/src/emitter.js~Emitter.html#instance-member-events", + "src/emitter.js~Emitter#events", + "member" + ], + [ + "src/emitter.js~emitter#off", + "class/src/emitter.js~Emitter.html#instance-method-off", + "src/emitter.js~Emitter#off", + "method" + ], + [ + "src/emitter.js~emitter#on", + "class/src/emitter.js~Emitter.html#instance-method-on", + "src/emitter.js~Emitter#on", + "method" + ], + [ + "src/event.js", + "file/src/event.js.html", + "src/event.js", + "file" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js", + "file/src/extensions/advancedGrid/adapterEzEditTable.js.html", + "src/extensions/advancedGrid/adapterEzEditTable.js", + "file" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#constructor", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-constructor-constructor", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#constructor", + "method" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#desc", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-desc", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#desc", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#destroy", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-method-destroy", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#destroy", + "method" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#filename", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-filename", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#filename", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#init", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-method-init", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#init", + "method" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#initialized", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-initialized", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#initialized", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#loadstylesheet", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-loadStylesheet", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#loadStylesheet", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#reset", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-method-reset", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#reset", + "method" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#stylesheet", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-stylesheet", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#stylesheet", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#stylesheetname", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-stylesheetName", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#stylesheetName", + "member" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#toggle", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-method-toggle", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#toggle", + "method" + ], + [ + "src/extensions/advancedgrid/adapterezedittable.js~adapterezedittable#vendorpath", + "class/src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable.html#instance-member-vendorPath", + "src/extensions/advancedGrid/adapterEzEditTable.js~AdapterEzEditTable#vendorPath", + "member" + ], + [ + "src/extensions/advancedgrid/advancedgrid.js", + "file/src/extensions/advancedGrid/advancedGrid.js.html", + "src/extensions/advancedGrid/advancedGrid.js", + "file" + ], + [ + "src/extensions/colops/colops.js", + "file/src/extensions/colOps/colOps.js.html", + "src/extensions/colOps/colOps.js", + "file" + ], + [ + "src/extensions/colops/colops.js~colops#calcall", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcAll", + "src/extensions/colOps/colOps.js~ColOps#calcAll", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcmax", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcMax", + "src/extensions/colOps/colOps.js~ColOps#calcMax", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcmean", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcMean", + "src/extensions/colOps/colOps.js~ColOps#calcMean", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcmedian", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcMedian", + "src/extensions/colOps/colOps.js~ColOps#calcMedian", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcmin", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcMin", + "src/extensions/colOps/colOps.js~ColOps#calcMin", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcq1", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcQ1", + "src/extensions/colOps/colOps.js~ColOps#calcQ1", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcq3", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcQ3", + "src/extensions/colOps/colOps.js~ColOps#calcQ3", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#calcsum", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-calcSum", + "src/extensions/colOps/colOps.js~ColOps#calcSum", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#colindexes", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-colIndexes", + "src/extensions/colOps/colOps.js~ColOps#colIndexes", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#columncalc", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-columnCalc", + "src/extensions/colOps/colOps.js~ColOps#columnCalc", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#constructor", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-constructor-constructor", + "src/extensions/colOps/colOps.js~ColOps#constructor", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#decimalprecisions", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-decimalPrecisions", + "src/extensions/colOps/colOps.js~ColOps#decimalPrecisions", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#destroy", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-destroy", + "src/extensions/colOps/colOps.js~ColOps#destroy", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#excluderows", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-excludeRows", + "src/extensions/colOps/colOps.js~ColOps#excludeRows", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#formatresults", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-formatResults", + "src/extensions/colOps/colOps.js~ColOps#formatResults", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#init", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-init", + "src/extensions/colOps/colOps.js~ColOps#init", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#initialized", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-initialized", + "src/extensions/colOps/colOps.js~ColOps#initialized", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#labelids", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-labelIds", + "src/extensions/colOps/colOps.js~ColOps#labelIds", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#onafteroperation", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-onAfterOperation", + "src/extensions/colOps/colOps.js~ColOps#onAfterOperation", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#onbeforeoperation", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-onBeforeOperation", + "src/extensions/colOps/colOps.js~ColOps#onBeforeOperation", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#operations", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-operations", + "src/extensions/colOps/colOps.js~ColOps#operations", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#opts", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-opts", + "src/extensions/colOps/colOps.js~ColOps#opts", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#outputtypes", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-outputTypes", + "src/extensions/colOps/colOps.js~ColOps#outputTypes", + "member" + ], + [ + "src/extensions/colops/colops.js~colops#sortcolumnvalues", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-method-sortColumnValues", + "src/extensions/colOps/colOps.js~ColOps#sortColumnValues", + "method" + ], + [ + "src/extensions/colops/colops.js~colops#totrowindexes", + "class/src/extensions/colOps/colOps.js~ColOps.html#instance-member-totRowIndexes", + "src/extensions/colOps/colOps.js~ColOps#totRowIndexes", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js", + "file/src/extensions/colsVisibility/colsVisibility.js.html", + "src/extensions/colsVisibility/colsVisibility.js", + "file" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#atstart", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-atStart", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#atStart", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnclosecssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnCloseCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnclosehtml", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnCloseHtml", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseHtml", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnclosetext", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnCloseText", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCloseText", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btncssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btnhtml", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnHtml", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnHtml", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btntext", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnText", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnText", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#btntgtid", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-btnTgtId", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#btnTgtId", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#buildbtn", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-buildBtn", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildBtn", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#buildmanager", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-buildManager", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#buildManager", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#constructor", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-constructor-constructor", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#constructor", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#contcssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-contCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#conteltgtid", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-contElTgtId", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#contElTgtId", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#desc", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-desc", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#desc", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#destroy", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-destroy", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#destroy", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#enablehover", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-enableHover", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableHover", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#enabletickall", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-enableTickAll", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#enableTickAll", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#gethiddencols", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-getHiddenCols", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#getHiddenCols", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#headersindex", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-headersIndex", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersIndex", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#headerstbl", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-headersTbl", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersTbl", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#headerstext", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-headersText", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#headersText", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#hidecol", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-hideCol", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#hideCol", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#init", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-init", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#init", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#initialized", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-initialized", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#initialized", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#iscolhidden", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-isColHidden", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#isColHidden", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#listcssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-listCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#listitemcssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-listItemCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listItemCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#listslcitemcssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-listSlcItemCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#listSlcItemCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#manager", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-manager", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#manager", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#name", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-name", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#name", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onafterclose", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onAfterClose", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterClose", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onaftercoldisplayed", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onAfterColDisplayed", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColDisplayed", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onaftercolhidden", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onAfterColHidden", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterColHidden", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onafteropen", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onAfterOpen", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onAfterOpen", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onbeforeclose", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onBeforeClose", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeClose", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onbeforecoldisplayed", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onBeforeColDisplayed", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColDisplayed", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onbeforecolhidden", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onBeforeColHidden", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeColHidden", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onbeforeopen", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onBeforeOpen", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onBeforeOpen", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#onloaded", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-onLoaded", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#onLoaded", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#sethidden", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-setHidden", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#setHidden", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#showcol", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-showCol", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#showCol", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#spancssclass", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-spanCssClass", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#spanCssClass", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#stylesheet", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-stylesheet", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#stylesheet", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#text", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-text", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#text", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#tickalltext", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-tickAllText", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickAllText", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#ticktohide", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-member-tickToHide", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#tickToHide", + "member" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#toggle", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-toggle", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggle", + "method" + ], + [ + "src/extensions/colsvisibility/colsvisibility.js~colsvisibility#togglecol", + "class/src/extensions/colsVisibility/colsVisibility.js~ColsVisibility.html#instance-method-toggleCol", + "src/extensions/colsVisibility/colsVisibility.js~ColsVisibility#toggleCol", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js", + "file/src/extensions/sort/adapterSortabletable.js.html", + "src/extensions/sort/adapterSortabletable.js", + "file" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#addsorttype", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-method-addSortType", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#addSortType", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#asyncsort", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-asyncSort", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#asyncSort", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#constructor", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-constructor-constructor", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#constructor", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#customkey", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-customKey", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#customKey", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#desc", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-desc", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#desc", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#destroy", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-method-destroy", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#destroy", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#imgascclassname", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-imgAscClassName", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgAscClassName", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#imgblank", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-imgBlank", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgBlank", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#imgclassname", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-imgClassName", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgClassName", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#imgdescclassname", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-imgDescClassName", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgDescClassName", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#imgpath", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-imgPath", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#imgPath", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#init", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-method-init", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#init", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#initialized", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-initialized", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#initialized", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#name", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-name", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#name", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#onaftersort", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-onAfterSort", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onAfterSort", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#onbeforesort", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-onBeforeSort", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onBeforeSort", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#onsortloaded", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-onSortLoaded", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#onSortLoaded", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#overridesortabletable", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-method-overrideSortableTable", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#overrideSortableTable", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#sortbycolumnindex", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-method-sortByColumnIndex", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortByColumnIndex", + "method" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#sortcolatstart", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-sortColAtStart", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortColAtStart", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#sorttypes", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-sortTypes", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#sortTypes", + "member" + ], + [ + "src/extensions/sort/adaptersortabletable.js~adaptersortabletable#triggerids", + "class/src/extensions/sort/adapterSortabletable.js~AdapterSortableTable.html#instance-member-triggerIds", + "src/extensions/sort/adapterSortabletable.js~AdapterSortableTable#triggerIds", + "member" + ], + [ + "src/extensions/sort/sort.js", + "file/src/extensions/sort/sort.js.html", + "src/extensions/sort/sort.js", + "file" + ], + [ + "src/feature.js", + "file/src/feature.js.html", + "src/feature.js", + "file" + ], + [ + "src/feature.js~feature#config", + "class/src/feature.js~Feature.html#instance-member-config", + "src/feature.js~Feature#config", + "member" + ], + [ + "src/feature.js~feature#constructor", + "class/src/feature.js~Feature.html#instance-constructor-constructor", + "src/feature.js~Feature#constructor", + "method" + ], + [ + "src/feature.js~feature#destroy", + "class/src/feature.js~Feature.html#instance-method-destroy", + "src/feature.js~Feature#destroy", + "method" + ], + [ + "src/feature.js~feature#disable", + "class/src/feature.js~Feature.html#instance-method-disable", + "src/feature.js~Feature#disable", + "method" + ], + [ + "src/feature.js~feature#emitter", + "class/src/feature.js~Feature.html#instance-member-emitter", + "src/feature.js~Feature#emitter", + "member" + ], + [ + "src/feature.js~feature#enable", + "class/src/feature.js~Feature.html#instance-method-enable", + "src/feature.js~Feature#enable", + "method" + ], + [ + "src/feature.js~feature#enabled", + "class/src/feature.js~Feature.html#instance-member-enabled", + "src/feature.js~Feature#enabled", + "member" + ], + [ + "src/feature.js~feature#feature", + "class/src/feature.js~Feature.html#instance-member-feature", + "src/feature.js~Feature#feature", + "member" + ], + [ + "src/feature.js~feature#init", + "class/src/feature.js~Feature.html#instance-method-init", + "src/feature.js~Feature#init", + "method" + ], + [ + "src/feature.js~feature#initialized", + "class/src/feature.js~Feature.html#instance-member-initialized", + "src/feature.js~Feature#initialized", + "member" + ], + [ + "src/feature.js~feature#isenabled", + "class/src/feature.js~Feature.html#instance-method-isEnabled", + "src/feature.js~Feature#isEnabled", + "method" + ], + [ + "src/feature.js~feature#reset", + "class/src/feature.js~Feature.html#instance-method-reset", + "src/feature.js~Feature#reset", + "method" + ], + [ + "src/feature.js~feature#tf", + "class/src/feature.js~Feature.html#instance-member-tf", + "src/feature.js~Feature#tf", + "member" + ], + [ + "src/modules/alternaterows.js", + "file/src/modules/alternateRows.js.html", + "src/modules/alternateRows.js", + "file" + ], + [ + "src/modules/alternaterows.js~alternaterows#constructor", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-constructor-constructor", + "src/modules/alternateRows.js~AlternateRows#constructor", + "method" + ], + [ + "src/modules/alternaterows.js~alternaterows#destroy", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-method-destroy", + "src/modules/alternateRows.js~AlternateRows#destroy", + "method" + ], + [ + "src/modules/alternaterows.js~alternaterows#evencss", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-member-evenCss", + "src/modules/alternateRows.js~AlternateRows#evenCss", + "member" + ], + [ + "src/modules/alternaterows.js~alternaterows#init", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-method-init", + "src/modules/alternateRows.js~AlternateRows#init", + "method" + ], + [ + "src/modules/alternaterows.js~alternaterows#initialized", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-member-initialized", + "src/modules/alternateRows.js~AlternateRows#initialized", + "member" + ], + [ + "src/modules/alternaterows.js~alternaterows#oddcss", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-member-oddCss", + "src/modules/alternateRows.js~AlternateRows#oddCss", + "member" + ], + [ + "src/modules/alternaterows.js~alternaterows#processall", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-method-processAll", + "src/modules/alternateRows.js~AlternateRows#processAll", + "method" + ], + [ + "src/modules/alternaterows.js~alternaterows#processrow", + "class/src/modules/alternateRows.js~AlternateRows.html#instance-method-processRow", + "src/modules/alternateRows.js~AlternateRows#processRow", + "method" + ], + [ + "src/modules/basedropdown.js", + "file/src/modules/baseDropdown.js.html", + "src/modules/baseDropdown.js", + "file" + ], + [ + "src/modules/basedropdown.js~basedropdown#constructor", + "class/src/modules/baseDropdown.js~BaseDropdown.html#instance-constructor-constructor", + "src/modules/baseDropdown.js~BaseDropdown#constructor", + "method" + ], + [ + "src/modules/basedropdown.js~basedropdown#customsorter", + "class/src/modules/baseDropdown.js~BaseDropdown.html#instance-member-customSorter", + "src/modules/baseDropdown.js~BaseDropdown#customSorter", + "member" + ], + [ + "src/modules/checklist.js", + "file/src/modules/checkList.js.html", + "src/modules/checkList.js", + "file" + ], + [ + "src/modules/checklist.js~checklist#activatetext", + "class/src/modules/checkList.js~CheckList.html#instance-member-activateText", + "src/modules/checkList.js~CheckList#activateText", + "member" + ], + [ + "src/modules/checklist.js~checklist#build", + "class/src/modules/checkList.js~CheckList.html#instance-method-build", + "src/modules/checkList.js~CheckList#build", + "method" + ], + [ + "src/modules/checklist.js~checklist#constructor", + "class/src/modules/checkList.js~CheckList.html#instance-constructor-constructor", + "src/modules/checkList.js~CheckList#constructor", + "method" + ], + [ + "src/modules/checklist.js~checklist#containercssclass", + "class/src/modules/checkList.js~CheckList.html#instance-member-containerCssClass", + "src/modules/checkList.js~CheckList#containerCssClass", + "member" + ], + [ + "src/modules/checklist.js~checklist#containers", + "class/src/modules/checkList.js~CheckList.html#instance-member-containers", + "src/modules/checkList.js~CheckList#containers", + "member" + ], + [ + "src/modules/checklist.js~checklist#destroy", + "class/src/modules/checkList.js~CheckList.html#instance-method-destroy", + "src/modules/checkList.js~CheckList#destroy", + "method" + ], + [ + "src/modules/checklist.js~checklist#disableditemcssclass", + "class/src/modules/checkList.js~CheckList.html#instance-member-disabledItemCssClass", + "src/modules/checkList.js~CheckList#disabledItemCssClass", + "member" + ], + [ + "src/modules/checklist.js~checklist#enableresetoption", + "class/src/modules/checkList.js~CheckList.html#instance-member-enableResetOption", + "src/modules/checkList.js~CheckList#enableResetOption", + "member" + ], + [ + "src/modules/checklist.js~checklist#excludedopts", + "class/src/modules/checkList.js~CheckList.html#instance-member-excludedOpts", + "src/modules/checkList.js~CheckList#excludedOpts", + "member" + ], + [ + "src/modules/checklist.js~checklist#filtercssclass", + "class/src/modules/checkList.js~CheckList.html#instance-member-filterCssClass", + "src/modules/checkList.js~CheckList#filterCssClass", + "member" + ], + [ + "src/modules/checklist.js~checklist#getvalues", + "class/src/modules/checkList.js~CheckList.html#instance-method-getValues", + "src/modules/checkList.js~CheckList#getValues", + "method" + ], + [ + "src/modules/checklist.js~checklist#init", + "class/src/modules/checkList.js~CheckList.html#instance-method-init", + "src/modules/checkList.js~CheckList#init", + "method" + ], + [ + "src/modules/checklist.js~checklist#initialized", + "class/src/modules/checkList.js~CheckList.html#instance-member-initialized", + "src/modules/checkList.js~CheckList#initialized", + "member" + ], + [ + "src/modules/checklist.js~checklist#iscustom", + "class/src/modules/checkList.js~CheckList.html#instance-member-isCustom", + "src/modules/checkList.js~CheckList#isCustom", + "member" + ], + [ + "src/modules/checklist.js~checklist#itemcssclass", + "class/src/modules/checkList.js~CheckList.html#instance-member-itemCssClass", + "src/modules/checkList.js~CheckList#itemCssClass", + "member" + ], + [ + "src/modules/checklist.js~checklist#opts", + "class/src/modules/checkList.js~CheckList.html#instance-member-opts", + "src/modules/checkList.js~CheckList#opts", + "member" + ], + [ + "src/modules/checklist.js~checklist#optstxt", + "class/src/modules/checkList.js~CheckList.html#instance-member-optsTxt", + "src/modules/checkList.js~CheckList#optsTxt", + "member" + ], + [ + "src/modules/checklist.js~checklist#refreshall", + "class/src/modules/checkList.js~CheckList.html#instance-method-refreshAll", + "src/modules/checkList.js~CheckList#refreshAll", + "method" + ], + [ + "src/modules/checklist.js~checklist#selectoptions", + "class/src/modules/checkList.js~CheckList.html#instance-method-selectOptions", + "src/modules/checkList.js~CheckList#selectOptions", + "method" + ], + [ + "src/modules/checklist.js~checklist#selecteditemcssclass", + "class/src/modules/checkList.js~CheckList.html#instance-member-selectedItemCssClass", + "src/modules/checkList.js~CheckList#selectedItemCssClass", + "member" + ], + [ + "src/modules/clearbutton.js", + "file/src/modules/clearButton.js.html", + "src/modules/clearButton.js", + "file" + ], + [ + "src/modules/clearbutton.js~clearbutton#constructor", + "class/src/modules/clearButton.js~ClearButton.html#instance-constructor-constructor", + "src/modules/clearButton.js~ClearButton#constructor", + "method" + ], + [ + "src/modules/clearbutton.js~clearbutton#cssclass", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-cssClass", + "src/modules/clearButton.js~ClearButton#cssClass", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#destroy", + "class/src/modules/clearButton.js~ClearButton.html#instance-method-destroy", + "src/modules/clearButton.js~ClearButton#destroy", + "method" + ], + [ + "src/modules/clearbutton.js~clearbutton#html", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-html", + "src/modules/clearButton.js~ClearButton#html", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#init", + "class/src/modules/clearButton.js~ClearButton.html#instance-method-init", + "src/modules/clearButton.js~ClearButton#init", + "method" + ], + [ + "src/modules/clearbutton.js~clearbutton#initialized", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-initialized", + "src/modules/clearButton.js~ClearButton#initialized", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#targetid", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-targetId", + "src/modules/clearButton.js~ClearButton#targetId", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#text", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-text", + "src/modules/clearButton.js~ClearButton#text", + "member" + ], + [ + "src/modules/clearbutton.js~clearbutton#tooltip", + "class/src/modules/clearButton.js~ClearButton.html#instance-member-tooltip", + "src/modules/clearButton.js~ClearButton#tooltip", + "member" + ], + [ + "src/modules/datetype.js", + "file/src/modules/dateType.js.html", + "src/modules/dateType.js", + "file" + ], + [ + "src/modules/datetype.js~datetype#addconfigformats", + "class/src/modules/dateType.js~DateType.html#instance-method-addConfigFormats", + "src/modules/dateType.js~DateType#addConfigFormats", + "method" + ], + [ + "src/modules/datetype.js~datetype#constructor", + "class/src/modules/dateType.js~DateType.html#instance-constructor-constructor", + "src/modules/dateType.js~DateType#constructor", + "method" + ], + [ + "src/modules/datetype.js~datetype#datetime", + "class/src/modules/dateType.js~DateType.html#instance-member-datetime", + "src/modules/dateType.js~DateType#datetime", + "member" + ], + [ + "src/modules/datetype.js~datetype#destroy", + "class/src/modules/dateType.js~DateType.html#instance-method-destroy", + "src/modules/dateType.js~DateType#destroy", + "method" + ], + [ + "src/modules/datetype.js~datetype#getlocale", + "class/src/modules/dateType.js~DateType.html#instance-method-getLocale", + "src/modules/dateType.js~DateType#getLocale", + "method" + ], + [ + "src/modules/datetype.js~datetype#getoptions", + "class/src/modules/dateType.js~DateType.html#instance-method-getOptions", + "src/modules/dateType.js~DateType#getOptions", + "method" + ], + [ + "src/modules/datetype.js~datetype#init", + "class/src/modules/dateType.js~DateType.html#instance-method-init", + "src/modules/dateType.js~DateType#init", + "method" + ], + [ + "src/modules/datetype.js~datetype#initialized", + "class/src/modules/dateType.js~DateType.html#instance-member-initialized", + "src/modules/dateType.js~DateType#initialized", + "member" + ], + [ + "src/modules/datetype.js~datetype#isvalid", + "class/src/modules/dateType.js~DateType.html#instance-method-isValid", + "src/modules/dateType.js~DateType#isValid", + "method" + ], + [ + "src/modules/datetype.js~datetype#locale", + "class/src/modules/dateType.js~DateType.html#instance-member-locale", + "src/modules/dateType.js~DateType#locale", + "member" + ], + [ + "src/modules/datetype.js~datetype#parse", + "class/src/modules/dateType.js~DateType.html#instance-method-parse", + "src/modules/dateType.js~DateType#parse", + "method" + ], + [ + "src/modules/dropdown.js", + "file/src/modules/dropdown.js.html", + "src/modules/dropdown.js", + "file" + ], + [ + "src/modules/dropdown.js~dropdown#addfirstoption", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-addFirstOption", + "src/modules/dropdown.js~Dropdown#addFirstOption", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#addoptions", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-addOptions", + "src/modules/dropdown.js~Dropdown#addOptions", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#build", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-build", + "src/modules/dropdown.js~Dropdown#build", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#constructor", + "class/src/modules/dropdown.js~Dropdown.html#instance-constructor-constructor", + "src/modules/dropdown.js~Dropdown#constructor", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#destroy", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-destroy", + "src/modules/dropdown.js~Dropdown#destroy", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#enableslcresetfilter", + "class/src/modules/dropdown.js~Dropdown.html#instance-member-enableSlcResetFilter", + "src/modules/dropdown.js~Dropdown#enableSlcResetFilter", + "member" + ], + [ + "src/modules/dropdown.js~dropdown#getvalues", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-getValues", + "src/modules/dropdown.js~Dropdown#getValues", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#init", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-init", + "src/modules/dropdown.js~Dropdown#init", + "method" + ], + [ + "src/modules/dropdown.js~dropdown#initialized", + "class/src/modules/dropdown.js~Dropdown.html#instance-member-initialized", + "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", + "src/modules/dropdown.js~Dropdown#multipleSlcTooltip", + "member" + ], + [ + "src/modules/dropdown.js~dropdown#nonemptytext", + "class/src/modules/dropdown.js~Dropdown.html#instance-member-nonEmptyText", + "src/modules/dropdown.js~Dropdown#nonEmptyText", + "member" + ], + [ + "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#refreshall", + "class/src/modules/dropdown.js~Dropdown.html#instance-method-refreshAll", + "src/modules/dropdown.js~Dropdown#refreshAll", + "method" + ], + [ + "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/gridlayout.js", + "file/src/modules/gridLayout.js.html", + "src/modules/gridLayout.js", + "file" + ], + [ + "src/modules/gridlayout.js~gridlayout#constructor", + "class/src/modules/gridLayout.js~GridLayout.html#instance-constructor-constructor", + "src/modules/gridLayout.js~GridLayout#constructor", + "method" + ], + [ + "src/modules/gridlayout.js~gridlayout#contcssclass", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-contCssClass", + "src/modules/gridLayout.js~GridLayout#contCssClass", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#defaultcolwidth", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-defaultColWidth", + "src/modules/gridLayout.js~GridLayout#defaultColWidth", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#destroy", + "class/src/modules/gridLayout.js~GridLayout.html#instance-method-destroy", + "src/modules/gridLayout.js~GridLayout#destroy", + "method" + ], + [ + "src/modules/gridlayout.js~gridlayout#filters", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-filters", + "src/modules/gridLayout.js~GridLayout#filters", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#headcontcssclass", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-headContCssClass", + "src/modules/gridLayout.js~GridLayout#headContCssClass", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#headrowindex", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-headRowIndex", + "src/modules/gridLayout.js~GridLayout#headRowIndex", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#headrows", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-headRows", + "src/modules/gridLayout.js~GridLayout#headRows", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#height", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-height", + "src/modules/gridLayout.js~GridLayout#height", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#infdivcssclass", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-infDivCssClass", + "src/modules/gridLayout.js~GridLayout#infDivCssClass", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#init", + "class/src/modules/gridLayout.js~GridLayout.html#instance-method-init", + "src/modules/gridLayout.js~GridLayout#init", + "method" + ], + [ + "src/modules/gridlayout.js~gridlayout#initialized", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-initialized", + "src/modules/gridLayout.js~GridLayout#initialized", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#maincontcssclass", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-mainContCssClass", + "src/modules/gridLayout.js~GridLayout#mainContCssClass", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#noheaders", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-noHeaders", + "src/modules/gridLayout.js~GridLayout#noHeaders", + "member" + ], + [ + "src/modules/gridlayout.js~gridlayout#width", + "class/src/modules/gridLayout.js~GridLayout.html#instance-member-width", + "src/modules/gridLayout.js~GridLayout#width", + "member" + ], + [ + "src/modules/hash.js", + "file/src/modules/hash.js.html", + "src/modules/hash.js", + "file" + ], + [ + "src/modules/hash.js~hash#constructor", + "class/src/modules/hash.js~Hash.html#instance-constructor-constructor", + "src/modules/hash.js~Hash#constructor", + "method" + ], + [ + "src/modules/hash.js~hash#destroy", + "class/src/modules/hash.js~Hash.html#instance-method-destroy", + "src/modules/hash.js~Hash#destroy", + "method" + ], + [ + "src/modules/hash.js~hash#emitter", + "class/src/modules/hash.js~Hash.html#instance-member-emitter", + "src/modules/hash.js~Hash#emitter", + "member" + ], + [ + "src/modules/hash.js~hash#init", + "class/src/modules/hash.js~Hash.html#instance-method-init", + "src/modules/hash.js~Hash#init", + "method" + ], + [ + "src/modules/hash.js~hash#parse", + "class/src/modules/hash.js~Hash.html#instance-method-parse", + "src/modules/hash.js~Hash#parse", + "method" + ], + [ + "src/modules/hash.js~hash#state", + "class/src/modules/hash.js~Hash.html#instance-member-state", + "src/modules/hash.js~Hash#state", + "member" + ], + [ + "src/modules/hash.js~hash#sync", + "class/src/modules/hash.js~Hash.html#instance-method-sync", + "src/modules/hash.js~Hash#sync", + "method" + ], + [ + "src/modules/hash.js~hash#update", + "class/src/modules/hash.js~Hash.html#instance-method-update", + "src/modules/hash.js~Hash#update", + "method" + ], + [ + "src/modules/help.js", + "file/src/modules/help.js.html", + "src/modules/help.js", + "file" + ], + [ + "src/modules/help.js~help#btn", + "class/src/modules/help.js~Help.html#instance-member-btn", + "src/modules/help.js~Help#btn", + "member" + ], + [ + "src/modules/help.js~help#btncssclass", + "class/src/modules/help.js~Help.html#instance-member-btnCssClass", + "src/modules/help.js~Help#btnCssClass", + "member" + ], + [ + "src/modules/help.js~help#btnhtml", + "class/src/modules/help.js~Help.html#instance-member-btnHtml", + "src/modules/help.js~Help#btnHtml", + "member" + ], + [ + "src/modules/help.js~help#btntext", + "class/src/modules/help.js~Help.html#instance-member-btnText", + "src/modules/help.js~Help#btnText", + "member" + ], + [ + "src/modules/help.js~help#constructor", + "class/src/modules/help.js~Help.html#instance-constructor-constructor", + "src/modules/help.js~Help#constructor", + "method" + ], + [ + "src/modules/help.js~help#cont", + "class/src/modules/help.js~Help.html#instance-member-cont", + "src/modules/help.js~Help#cont", + "member" + ], + [ + "src/modules/help.js~help#contcssclass", + "class/src/modules/help.js~Help.html#instance-member-contCssClass", + "src/modules/help.js~Help#contCssClass", + "member" + ], + [ + "src/modules/help.js~help#conttgtid", + "class/src/modules/help.js~Help.html#instance-member-contTgtId", + "src/modules/help.js~Help#contTgtId", + "member" + ], + [ + "src/modules/help.js~help#defaulthtml", + "class/src/modules/help.js~Help.html#instance-member-defaultHtml", + "src/modules/help.js~Help#defaultHtml", + "member" + ], + [ + "src/modules/help.js~help#destroy", + "class/src/modules/help.js~Help.html#instance-method-destroy", + "src/modules/help.js~Help#destroy", + "method" + ], + [ + "src/modules/help.js~help#init", + "class/src/modules/help.js~Help.html#instance-method-init", + "src/modules/help.js~Help#init", + "method" + ], + [ + "src/modules/help.js~help#initialized", + "class/src/modules/help.js~Help.html#instance-member-initialized", + "src/modules/help.js~Help#initialized", + "member" + ], + [ + "src/modules/help.js~help#instrhtml", + "class/src/modules/help.js~Help.html#instance-member-instrHtml", + "src/modules/help.js~Help#instrHtml", + "member" + ], + [ + "src/modules/help.js~help#instrtext", + "class/src/modules/help.js~Help.html#instance-member-instrText", + "src/modules/help.js~Help#instrText", + "member" + ], + [ + "src/modules/help.js~help#tgtid", + "class/src/modules/help.js~Help.html#instance-member-tgtId", + "src/modules/help.js~Help#tgtId", + "member" + ], + [ + "src/modules/help.js~help#toggle", + "class/src/modules/help.js~Help.html#instance-method-toggle", + "src/modules/help.js~Help#toggle", + "method" + ], + [ + "src/modules/highlightkeywords.js", + "file/src/modules/highlightKeywords.js.html", + "src/modules/highlightKeywords.js", + "file" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#constructor", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-constructor-constructor", + "src/modules/highlightKeywords.js~HighlightKeyword#constructor", + "method" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#destroy", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-method-destroy", + "src/modules/highlightKeywords.js~HighlightKeyword#destroy", + "method" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#emitter", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-member-emitter", + "src/modules/highlightKeywords.js~HighlightKeyword#emitter", + "member" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#highlight", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-method-highlight", + "src/modules/highlightKeywords.js~HighlightKeyword#highlight", + "method" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#highlightcssclass", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-member-highlightCssClass", + "src/modules/highlightKeywords.js~HighlightKeyword#highlightCssClass", + "member" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#init", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-method-init", + "src/modules/highlightKeywords.js~HighlightKeyword#init", + "method" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#tf", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-member-tf", + "src/modules/highlightKeywords.js~HighlightKeyword#tf", + "member" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#unhighlight", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-method-unhighlight", + "src/modules/highlightKeywords.js~HighlightKeyword#unhighlight", + "method" + ], + [ + "src/modules/highlightkeywords.js~highlightkeyword#unhighlightall", + "class/src/modules/highlightKeywords.js~HighlightKeyword.html#instance-method-unhighlightAll", + "src/modules/highlightKeywords.js~HighlightKeyword#unhighlightAll", + "method" + ], + [ + "src/modules/loader.js", + "file/src/modules/loader.js.html", + "src/modules/loader.js", + "file" + ], + [ + "src/modules/loader.js~loader#closedelay", + "class/src/modules/loader.js~Loader.html#instance-member-closeDelay", + "src/modules/loader.js~Loader#closeDelay", + "member" + ], + [ + "src/modules/loader.js~loader#constructor", + "class/src/modules/loader.js~Loader.html#instance-constructor-constructor", + "src/modules/loader.js~Loader#constructor", + "method" + ], + [ + "src/modules/loader.js~loader#cont", + "class/src/modules/loader.js~Loader.html#instance-member-cont", + "src/modules/loader.js~Loader#cont", + "member" + ], + [ + "src/modules/loader.js~loader#cssclass", + "class/src/modules/loader.js~Loader.html#instance-member-cssClass", + "src/modules/loader.js~Loader#cssClass", + "member" + ], + [ + "src/modules/loader.js~loader#destroy", + "class/src/modules/loader.js~Loader.html#instance-method-destroy", + "src/modules/loader.js~Loader#destroy", + "method" + ], + [ + "src/modules/loader.js~loader#html", + "class/src/modules/loader.js~Loader.html#instance-member-html", + "src/modules/loader.js~Loader#html", + "member" + ], + [ + "src/modules/loader.js~loader#init", + "class/src/modules/loader.js~Loader.html#instance-method-init", + "src/modules/loader.js~Loader#init", + "method" + ], + [ + "src/modules/loader.js~loader#initialized", + "class/src/modules/loader.js~Loader.html#instance-member-initialized", + "src/modules/loader.js~Loader#initialized", + "member" + ], + [ + "src/modules/loader.js~loader#onhide", + "class/src/modules/loader.js~Loader.html#instance-member-onHide", + "src/modules/loader.js~Loader#onHide", + "member" + ], + [ + "src/modules/loader.js~loader#onshow", + "class/src/modules/loader.js~Loader.html#instance-member-onShow", + "src/modules/loader.js~Loader#onShow", + "member" + ], + [ + "src/modules/loader.js~loader#show", + "class/src/modules/loader.js~Loader.html#instance-method-show", + "src/modules/loader.js~Loader#show", + "method" + ], + [ + "src/modules/loader.js~loader#targetid", + "class/src/modules/loader.js~Loader.html#instance-member-targetId", + "src/modules/loader.js~Loader#targetId", + "member" + ], + [ + "src/modules/loader.js~loader#text", + "class/src/modules/loader.js~Loader.html#instance-member-text", + "src/modules/loader.js~Loader#text", + "member" + ], + [ + "src/modules/markactivecolumns.js", + "file/src/modules/markActiveColumns.js.html", + "src/modules/markActiveColumns.js", + "file" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#clearactivecolumns", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-method-clearActiveColumns", + "src/modules/markActiveColumns.js~MarkActiveColumns#clearActiveColumns", + "method" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#constructor", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-constructor-constructor", + "src/modules/markActiveColumns.js~MarkActiveColumns#constructor", + "method" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#destroy", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-method-destroy", + "src/modules/markActiveColumns.js~MarkActiveColumns#destroy", + "method" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#headercssclass", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-member-headerCssClass", + "src/modules/markActiveColumns.js~MarkActiveColumns#headerCssClass", + "member" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#init", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-method-init", + "src/modules/markActiveColumns.js~MarkActiveColumns#init", + "method" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#initialized", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-member-initialized", + "src/modules/markActiveColumns.js~MarkActiveColumns#initialized", + "member" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#markactivecolumn", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-method-markActiveColumn", + "src/modules/markActiveColumns.js~MarkActiveColumns#markActiveColumn", + "method" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#onafteractivecolumn", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-member-onAfterActiveColumn", + "src/modules/markActiveColumns.js~MarkActiveColumns#onAfterActiveColumn", + "member" + ], + [ + "src/modules/markactivecolumns.js~markactivecolumns#onbeforeactivecolumn", + "class/src/modules/markActiveColumns.js~MarkActiveColumns.html#instance-member-onBeforeActiveColumn", + "src/modules/markActiveColumns.js~MarkActiveColumns#onBeforeActiveColumn", + "member" + ], + [ + "src/modules/noresults.js", + "file/src/modules/noResults.js.html", + "src/modules/noResults.js", + "file" + ], + [ + "src/modules/noresults.js~noresults#constructor", + "class/src/modules/noResults.js~NoResults.html#instance-constructor-constructor", + "src/modules/noResults.js~NoResults#constructor", + "method" + ], + [ + "src/modules/noresults.js~noresults#cont", + "class/src/modules/noResults.js~NoResults.html#instance-member-cont", + "src/modules/noResults.js~NoResults#cont", + "member" + ], + [ + "src/modules/noresults.js~noresults#content", + "class/src/modules/noResults.js~NoResults.html#instance-member-content", + "src/modules/noResults.js~NoResults#content", + "member" + ], + [ + "src/modules/noresults.js~noresults#cssclass", + "class/src/modules/noResults.js~NoResults.html#instance-member-cssClass", + "src/modules/noResults.js~NoResults#cssClass", + "member" + ], + [ + "src/modules/noresults.js~noresults#customcontainer", + "class/src/modules/noResults.js~NoResults.html#instance-member-customContainer", + "src/modules/noResults.js~NoResults#customContainer", + "member" + ], + [ + "src/modules/noresults.js~noresults#customcontainerid", + "class/src/modules/noResults.js~NoResults.html#instance-member-customContainerId", + "src/modules/noResults.js~NoResults#customContainerId", + "member" + ], + [ + "src/modules/noresults.js~noresults#destroy", + "class/src/modules/noResults.js~NoResults.html#instance-method-destroy", + "src/modules/noResults.js~NoResults#destroy", + "method" + ], + [ + "src/modules/noresults.js~noresults#hide", + "class/src/modules/noResults.js~NoResults.html#instance-method-hide", + "src/modules/noResults.js~NoResults#hide", + "method" + ], + [ + "src/modules/noresults.js~noresults#init", + "class/src/modules/noResults.js~NoResults.html#instance-method-init", + "src/modules/noResults.js~NoResults#init", + "method" + ], + [ + "src/modules/noresults.js~noresults#initialized", + "class/src/modules/noResults.js~NoResults.html#instance-member-initialized", + "src/modules/noResults.js~NoResults#initialized", + "member" + ], + [ + "src/modules/noresults.js~noresults#onafterhide", + "class/src/modules/noResults.js~NoResults.html#instance-member-onAfterHide", + "src/modules/noResults.js~NoResults#onAfterHide", + "member" + ], + [ + "src/modules/noresults.js~noresults#onaftershow", + "class/src/modules/noResults.js~NoResults.html#instance-member-onAfterShow", + "src/modules/noResults.js~NoResults#onAfterShow", + "member" + ], + [ + "src/modules/noresults.js~noresults#onbeforehide", + "class/src/modules/noResults.js~NoResults.html#instance-member-onBeforeHide", + "src/modules/noResults.js~NoResults#onBeforeHide", + "member" + ], + [ + "src/modules/noresults.js~noresults#onbeforeshow", + "class/src/modules/noResults.js~NoResults.html#instance-member-onBeforeShow", + "src/modules/noResults.js~NoResults#onBeforeShow", + "member" + ], + [ + "src/modules/noresults.js~noresults#show", + "class/src/modules/noResults.js~NoResults.html#instance-method-show", + "src/modules/noResults.js~NoResults#show", + "method" + ], + [ + "src/modules/noresults.js~noresults#toggle", + "class/src/modules/noResults.js~NoResults.html#instance-method-toggle", + "src/modules/noResults.js~NoResults#toggle", + "method" + ], + [ + "src/modules/paging.js", + "file/src/modules/paging.js.html", + "src/modules/paging.js", + "file" + ], + [ + "src/modules/paging.js~paging#btncssclass", + "class/src/modules/paging.js~Paging.html#instance-member-btnCssClass", + "src/modules/paging.js~Paging#btnCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#btnfirstpagehtml", + "class/src/modules/paging.js~Paging.html#instance-member-btnFirstPageHtml", + "src/modules/paging.js~Paging#btnFirstPageHtml", + "member" + ], + [ + "src/modules/paging.js~paging#btnfirstpagetext", + "class/src/modules/paging.js~Paging.html#instance-member-btnFirstPageText", + "src/modules/paging.js~Paging#btnFirstPageText", + "member" + ], + [ + "src/modules/paging.js~paging#btnlastpagehtml", + "class/src/modules/paging.js~Paging.html#instance-member-btnLastPageHtml", + "src/modules/paging.js~Paging#btnLastPageHtml", + "member" + ], + [ + "src/modules/paging.js~paging#btnlastpagetext", + "class/src/modules/paging.js~Paging.html#instance-member-btnLastPageText", + "src/modules/paging.js~Paging#btnLastPageText", + "member" + ], + [ + "src/modules/paging.js~paging#btnnextpagehtml", + "class/src/modules/paging.js~Paging.html#instance-member-btnNextPageHtml", + "src/modules/paging.js~Paging#btnNextPageHtml", + "member" + ], + [ + "src/modules/paging.js~paging#btnnextpagetext", + "class/src/modules/paging.js~Paging.html#instance-member-btnNextPageText", + "src/modules/paging.js~Paging#btnNextPageText", + "member" + ], + [ + "src/modules/paging.js~paging#btnprevpagehtml", + "class/src/modules/paging.js~Paging.html#instance-member-btnPrevPageHtml", + "src/modules/paging.js~Paging#btnPrevPageHtml", + "member" + ], + [ + "src/modules/paging.js~paging#btnprevpagetext", + "class/src/modules/paging.js~Paging.html#instance-member-btnPrevPageText", + "src/modules/paging.js~Paging#btnPrevPageText", + "member" + ], + [ + "src/modules/paging.js~paging#changepage", + "class/src/modules/paging.js~Paging.html#instance-method-changePage", + "src/modules/paging.js~Paging#changePage", + "method" + ], + [ + "src/modules/paging.js~paging#changeresultsperpage", + "class/src/modules/paging.js~Paging.html#instance-method-changeResultsPerPage", + "src/modules/paging.js~Paging#changeResultsPerPage", + "method" + ], + [ + "src/modules/paging.js~paging#constructor", + "class/src/modules/paging.js~Paging.html#instance-constructor-constructor", + "src/modules/paging.js~Paging#constructor", + "method" + ], + [ + "src/modules/paging.js~paging#destroy", + "class/src/modules/paging.js~Paging.html#instance-method-destroy", + "src/modules/paging.js~Paging#destroy", + "method" + ], + [ + "src/modules/paging.js~paging#getpage", + "class/src/modules/paging.js~Paging.html#instance-method-getPage", + "src/modules/paging.js~Paging#getPage", + "method" + ], + [ + "src/modules/paging.js~paging#groupbypage", + "class/src/modules/paging.js~Paging.html#instance-method-groupByPage", + "src/modules/paging.js~Paging#groupByPage", + "method" + ], + [ + "src/modules/paging.js~paging#hasbtns", + "class/src/modules/paging.js~Paging.html#instance-member-hasBtns", + "src/modules/paging.js~Paging#hasBtns", + "member" + ], + [ + "src/modules/paging.js~paging#hasresultsperpage", + "class/src/modules/paging.js~Paging.html#instance-member-hasResultsPerPage", + "src/modules/paging.js~Paging#hasResultsPerPage", + "member" + ], + [ + "src/modules/paging.js~paging#init", + "class/src/modules/paging.js~Paging.html#instance-method-init", + "src/modules/paging.js~Paging#init", + "method" + ], + [ + "src/modules/paging.js~paging#initialized", + "class/src/modules/paging.js~Paging.html#instance-member-initialized", + "src/modules/paging.js~Paging#initialized", + "member" + ], + [ + "src/modules/paging.js~paging#nbpgspancssclass", + "class/src/modules/paging.js~Paging.html#instance-member-nbPgSpanCssClass", + "src/modules/paging.js~Paging#nbPgSpanCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#oftext", + "class/src/modules/paging.js~Paging.html#instance-member-ofText", + "src/modules/paging.js~Paging#ofText", + "member" + ], + [ + "src/modules/paging.js~paging#onafterchangepage", + "class/src/modules/paging.js~Paging.html#instance-member-onAfterChangePage", + "src/modules/paging.js~Paging#onAfterChangePage", + "member" + ], + [ + "src/modules/paging.js~paging#onbeforechangepage", + "class/src/modules/paging.js~Paging.html#instance-member-onBeforeChangePage", + "src/modules/paging.js~Paging#onBeforeChangePage", + "member" + ], + [ + "src/modules/paging.js~paging#onchangeresultsperpage", + "class/src/modules/paging.js~Paging.html#instance-method-onChangeResultsPerPage", + "src/modules/paging.js~Paging#onChangeResultsPerPage", + "method" + ], + [ + "src/modules/paging.js~paging#pagelength", + "class/src/modules/paging.js~Paging.html#instance-member-pageLength", + "src/modules/paging.js~Paging#pageLength", + "member" + ], + [ + "src/modules/paging.js~paging#pagelengthslc", + "class/src/modules/paging.js~Paging.html#instance-member-pageLengthSlc", + "src/modules/paging.js~Paging#pageLengthSlc", + "member" + ], + [ + "src/modules/paging.js~paging#pagelengthtgtid", + "class/src/modules/paging.js~Paging.html#instance-member-pageLengthTgtId", + "src/modules/paging.js~Paging#pageLengthTgtId", + "member" + ], + [ + "src/modules/paging.js~paging#pageselectortype", + "class/src/modules/paging.js~Paging.html#instance-member-pageSelectorType", + "src/modules/paging.js~Paging#pageSelectorType", + "member" + ], + [ + "src/modules/paging.js~paging#pageslc", + "class/src/modules/paging.js~Paging.html#instance-member-pageSlc", + "src/modules/paging.js~Paging#pageSlc", + "member" + ], + [ + "src/modules/paging.js~paging#pagetext", + "class/src/modules/paging.js~Paging.html#instance-member-pageText", + "src/modules/paging.js~Paging#pageText", + "member" + ], + [ + "src/modules/paging.js~paging#pginpcssclass", + "class/src/modules/paging.js~Paging.html#instance-member-pgInpCssClass", + "src/modules/paging.js~Paging#pgInpCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#pgslccssclass", + "class/src/modules/paging.js~Paging.html#instance-member-pgSlcCssClass", + "src/modules/paging.js~Paging#pgSlcCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#removeresultsperpage", + "class/src/modules/paging.js~Paging.html#instance-method-removeResultsPerPage", + "src/modules/paging.js~Paging#removeResultsPerPage", + "method" + ], + [ + "src/modules/paging.js~paging#reset", + "class/src/modules/paging.js~Paging.html#instance-method-reset", + "src/modules/paging.js~Paging#reset", + "method" + ], + [ + "src/modules/paging.js~paging#resetpage", + "class/src/modules/paging.js~Paging.html#instance-method-resetPage", + "src/modules/paging.js~Paging#resetPage", + "method" + ], + [ + "src/modules/paging.js~paging#resetpagelength", + "class/src/modules/paging.js~Paging.html#instance-method-resetPageLength", + "src/modules/paging.js~Paging#resetPageLength", + "method" + ], + [ + "src/modules/paging.js~paging#resetpaginginfo", + "class/src/modules/paging.js~Paging.html#instance-method-resetPagingInfo", + "src/modules/paging.js~Paging#resetPagingInfo", + "method" + ], + [ + "src/modules/paging.js~paging#resultsperpage", + "class/src/modules/paging.js~Paging.html#instance-member-resultsPerPage", + "src/modules/paging.js~Paging#resultsPerPage", + "member" + ], + [ + "src/modules/paging.js~paging#resultsslccssclass", + "class/src/modules/paging.js~Paging.html#instance-member-resultsSlcCssClass", + "src/modules/paging.js~Paging#resultsSlcCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#resultsspancssclass", + "class/src/modules/paging.js~Paging.html#instance-member-resultsSpanCssClass", + "src/modules/paging.js~Paging#resultsSpanCssClass", + "member" + ], + [ + "src/modules/paging.js~paging#setpage", + "class/src/modules/paging.js~Paging.html#instance-method-setPage", + "src/modules/paging.js~Paging#setPage", + "method" + ], + [ + "src/modules/paging.js~paging#setpaginginfo", + "class/src/modules/paging.js~Paging.html#instance-method-setPagingInfo", + "src/modules/paging.js~Paging#setPagingInfo", + "method" + ], + [ + "src/modules/paging.js~paging#setresultsperpage", + "class/src/modules/paging.js~Paging.html#instance-method-setResultsPerPage", + "src/modules/paging.js~Paging#setResultsPerPage", + "method" + ], + [ + "src/modules/paging.js~paging#tgtid", + "class/src/modules/paging.js~Paging.html#instance-member-tgtId", + "src/modules/paging.js~Paging#tgtId", + "member" + ], + [ + "src/modules/popupfilter.js", + "file/src/modules/popupFilter.js.html", + "src/modules/popupFilter.js", + "file" + ], + [ + "src/modules/popupfilter.js~popupfilter#activeiconpath", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-activeIconPath", + "src/modules/popupFilter.js~PopupFilter#activeIconPath", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#adjusttocontainer", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-adjustToContainer", + "src/modules/popupFilter.js~PopupFilter#adjustToContainer", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#build", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-build", + "src/modules/popupFilter.js~PopupFilter#build", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#buildall", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-buildAll", + "src/modules/popupFilter.js~PopupFilter#buildAll", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#buildicons", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-buildIcons", + "src/modules/popupFilter.js~PopupFilter#buildIcons", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#changestate", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-changeState", + "src/modules/popupFilter.js~PopupFilter#changeState", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#close", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-close", + "src/modules/popupFilter.js~PopupFilter#close", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#closeall", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-closeAll", + "src/modules/popupFilter.js~PopupFilter#closeAll", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#closeonfiltering", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-closeOnFiltering", + "src/modules/popupFilter.js~PopupFilter#closeOnFiltering", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#constructor", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-constructor-constructor", + "src/modules/popupFilter.js~PopupFilter#constructor", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#containercssclass", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-containerCssClass", + "src/modules/popupFilter.js~PopupFilter#containerCssClass", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#destroy", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-destroy", + "src/modules/popupFilter.js~PopupFilter#destroy", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#iconhtml", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-iconHtml", + "src/modules/popupFilter.js~PopupFilter#iconHtml", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#iconpath", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-iconPath", + "src/modules/popupFilter.js~PopupFilter#iconPath", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#init", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-init", + "src/modules/popupFilter.js~PopupFilter#init", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#initialized", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-initialized", + "src/modules/popupFilter.js~PopupFilter#initialized", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#isopen", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-isOpen", + "src/modules/popupFilter.js~PopupFilter#isOpen", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#onafterclose", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-onAfterClose", + "src/modules/popupFilter.js~PopupFilter#onAfterClose", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#onafteropen", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-onAfterOpen", + "src/modules/popupFilter.js~PopupFilter#onAfterOpen", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#onbeforeclose", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-onBeforeClose", + "src/modules/popupFilter.js~PopupFilter#onBeforeClose", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#onbeforeopen", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-onBeforeOpen", + "src/modules/popupFilter.js~PopupFilter#onBeforeOpen", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#open", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-open", + "src/modules/popupFilter.js~PopupFilter#open", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#placeholdercssclass", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-member-placeholderCssClass", + "src/modules/popupFilter.js~PopupFilter#placeholderCssClass", + "member" + ], + [ + "src/modules/popupfilter.js~popupfilter#reset", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-reset", + "src/modules/popupFilter.js~PopupFilter#reset", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#seticonsstate", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-setIconsState", + "src/modules/popupFilter.js~PopupFilter#setIconsState", + "method" + ], + [ + "src/modules/popupfilter.js~popupfilter#toggle", + "class/src/modules/popupFilter.js~PopupFilter.html#instance-method-toggle", + "src/modules/popupFilter.js~PopupFilter#toggle", + "method" + ], + [ + "src/modules/rowscounter.js", + "file/src/modules/rowsCounter.js.html", + "src/modules/rowsCounter.js", + "file" + ], + [ + "src/modules/rowscounter.js~rowscounter#constructor", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-constructor-constructor", + "src/modules/rowsCounter.js~RowsCounter#constructor", + "method" + ], + [ + "src/modules/rowscounter.js~rowscounter#cssclass", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-cssClass", + "src/modules/rowsCounter.js~RowsCounter#cssClass", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#destroy", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-method-destroy", + "src/modules/rowsCounter.js~RowsCounter#destroy", + "method" + ], + [ + "src/modules/rowscounter.js~rowscounter#fromtotextseparator", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-fromToTextSeparator", + "src/modules/rowsCounter.js~RowsCounter#fromToTextSeparator", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#init", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-method-init", + "src/modules/rowsCounter.js~RowsCounter#init", + "method" + ], + [ + "src/modules/rowscounter.js~rowscounter#initialized", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-initialized", + "src/modules/rowsCounter.js~RowsCounter#initialized", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#onafterrefreshcounter", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-onAfterRefreshCounter", + "src/modules/rowsCounter.js~RowsCounter#onAfterRefreshCounter", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#onbeforerefreshcounter", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-onBeforeRefreshCounter", + "src/modules/rowsCounter.js~RowsCounter#onBeforeRefreshCounter", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#overtext", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-overText", + "src/modules/rowsCounter.js~RowsCounter#overText", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#refresh", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-method-refresh", + "src/modules/rowsCounter.js~RowsCounter#refresh", + "method" + ], + [ + "src/modules/rowscounter.js~rowscounter#targetid", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-targetId", + "src/modules/rowsCounter.js~RowsCounter#targetId", + "member" + ], + [ + "src/modules/rowscounter.js~rowscounter#text", + "class/src/modules/rowsCounter.js~RowsCounter.html#instance-member-text", + "src/modules/rowsCounter.js~RowsCounter#text", + "member" + ], + [ + "src/modules/state.js", + "file/src/modules/state.js.html", + "src/modules/state.js", + "file" + ], + [ + "src/modules/state.js~state#constructor", + "class/src/modules/state.js~State.html#instance-constructor-constructor", + "src/modules/state.js~State#constructor", + "method" + ], + [ + "src/modules/state.js~state#cookieduration", + "class/src/modules/state.js~State.html#instance-member-cookieDuration", + "src/modules/state.js~State#cookieDuration", + "member" + ], + [ + "src/modules/state.js~state#destroy", + "class/src/modules/state.js~State.html#instance-method-destroy", + "src/modules/state.js~State#destroy", + "method" + ], + [ + "src/modules/state.js~state#enablecookie", + "class/src/modules/state.js~State.html#instance-member-enableCookie", + "src/modules/state.js~State#enableCookie", + "member" + ], + [ + "src/modules/state.js~state#enablehash", + "class/src/modules/state.js~State.html#instance-member-enableHash", + "src/modules/state.js~State#enableHash", + "member" + ], + [ + "src/modules/state.js~state#enablelocalstorage", + "class/src/modules/state.js~State.html#instance-member-enableLocalStorage", + "src/modules/state.js~State#enableLocalStorage", + "member" + ], + [ + "src/modules/state.js~state#init", + "class/src/modules/state.js~State.html#instance-method-init", + "src/modules/state.js~State#init", + "method" + ], + [ + "src/modules/state.js~state#initialized", + "class/src/modules/state.js~State.html#instance-member-initialized", + "src/modules/state.js~State#initialized", + "member" + ], + [ + "src/modules/state.js~state#override", + "class/src/modules/state.js~State.html#instance-method-override", + "src/modules/state.js~State#override", + "method" + ], + [ + "src/modules/state.js~state#overrideandsync", + "class/src/modules/state.js~State.html#instance-method-overrideAndSync", + "src/modules/state.js~State#overrideAndSync", + "method" + ], + [ + "src/modules/state.js~state#persistcolsvisibility", + "class/src/modules/state.js~State.html#instance-member-persistColsVisibility", + "src/modules/state.js~State#persistColsVisibility", + "member" + ], + [ + "src/modules/state.js~state#persistfilters", + "class/src/modules/state.js~State.html#instance-member-persistFilters", + "src/modules/state.js~State#persistFilters", + "member" + ], + [ + "src/modules/state.js~state#persistfiltersvisibility", + "class/src/modules/state.js~State.html#instance-member-persistFiltersVisibility", + "src/modules/state.js~State#persistFiltersVisibility", + "member" + ], + [ + "src/modules/state.js~state#persistpagelength", + "class/src/modules/state.js~State.html#instance-member-persistPageLength", + "src/modules/state.js~State#persistPageLength", + "member" + ], + [ + "src/modules/state.js~state#persistpagenumber", + "class/src/modules/state.js~State.html#instance-member-persistPageNumber", + "src/modules/state.js~State#persistPageNumber", + "member" + ], + [ + "src/modules/state.js~state#persistsort", + "class/src/modules/state.js~State.html#instance-member-persistSort", + "src/modules/state.js~State#persistSort", + "member" + ], + [ + "src/modules/state.js~state#sync", + "class/src/modules/state.js~State.html#instance-method-sync", + "src/modules/state.js~State#sync", + "method" + ], + [ + "src/modules/state.js~state#update", + "class/src/modules/state.js~State.html#instance-method-update", + "src/modules/state.js~State#update", + "method" + ], + [ + "src/modules/state.js~state#updatecolsvisibility", + "class/src/modules/state.js~State.html#instance-method-updateColsVisibility", + "src/modules/state.js~State#updateColsVisibility", + "method" + ], + [ + "src/modules/state.js~state#updatefiltersvisibility", + "class/src/modules/state.js~State.html#instance-method-updateFiltersVisibility", + "src/modules/state.js~State#updateFiltersVisibility", + "method" + ], + [ + "src/modules/state.js~state#updatepage", + "class/src/modules/state.js~State.html#instance-method-updatePage", + "src/modules/state.js~State#updatePage", + "method" + ], + [ + "src/modules/state.js~state#updatepagelength", + "class/src/modules/state.js~State.html#instance-method-updatePageLength", + "src/modules/state.js~State#updatePageLength", + "method" + ], + [ + "src/modules/state.js~state#updatesort", + "class/src/modules/state.js~State.html#instance-method-updateSort", + "src/modules/state.js~State#updateSort", + "method" + ], + [ + "src/modules/statusbar.js", + "file/src/modules/statusBar.js.html", + "src/modules/statusBar.js", + "file" + ], + [ + "src/modules/statusbar.js~statusbar#constructor", + "class/src/modules/statusBar.js~StatusBar.html#instance-constructor-constructor", + "src/modules/statusBar.js~StatusBar#constructor", + "method" + ], + [ + "src/modules/statusbar.js~statusbar#cssclass", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-cssClass", + "src/modules/statusBar.js~StatusBar#cssClass", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#destroy", + "class/src/modules/statusBar.js~StatusBar.html#instance-method-destroy", + "src/modules/statusBar.js~StatusBar#destroy", + "method" + ], + [ + "src/modules/statusbar.js~statusbar#init", + "class/src/modules/statusBar.js~StatusBar.html#instance-method-init", + "src/modules/statusBar.js~StatusBar#init", + "method" + ], + [ + "src/modules/statusbar.js~statusbar#initialized", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-initialized", + "src/modules/statusBar.js~StatusBar#initialized", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#message", + "class/src/modules/statusBar.js~StatusBar.html#instance-method-message", + "src/modules/statusBar.js~StatusBar#message", + "method" + ], + [ + "src/modules/statusbar.js~statusbar#msgchangepage", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgChangePage", + "src/modules/statusBar.js~StatusBar#msgChangePage", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgchangeresults", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgChangeResults", + "src/modules/statusBar.js~StatusBar#msgChangeResults", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgclear", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgClear", + "src/modules/statusBar.js~StatusBar#msgClear", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgfilter", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgFilter", + "src/modules/statusBar.js~StatusBar#msgFilter", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgloadextensions", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgLoadExtensions", + "src/modules/statusBar.js~StatusBar#msgLoadExtensions", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgloadthemes", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgLoadThemes", + "src/modules/statusBar.js~StatusBar#msgLoadThemes", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgpopulate", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgPopulate", + "src/modules/statusBar.js~StatusBar#msgPopulate", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgpopulatechecklist", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgPopulateCheckList", + "src/modules/statusBar.js~StatusBar#msgPopulateCheckList", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgresetpage", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgResetPage", + "src/modules/statusBar.js~StatusBar#msgResetPage", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgresetpagelength", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgResetPageLength", + "src/modules/statusBar.js~StatusBar#msgResetPageLength", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#msgsort", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-msgSort", + "src/modules/statusBar.js~StatusBar#msgSort", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#onaftershowmsg", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-onAfterShowMsg", + "src/modules/statusBar.js~StatusBar#onAfterShowMsg", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#onbeforeshowmsg", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-onBeforeShowMsg", + "src/modules/statusBar.js~StatusBar#onBeforeShowMsg", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#targetid", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-targetId", + "src/modules/statusBar.js~StatusBar#targetId", + "member" + ], + [ + "src/modules/statusbar.js~statusbar#text", + "class/src/modules/statusBar.js~StatusBar.html#instance-member-text", + "src/modules/statusBar.js~StatusBar#text", + "member" + ], + [ + "src/modules/storage.js", + "file/src/modules/storage.js.html", + "src/modules/storage.js", + "file" + ], + [ + "src/modules/storage.js~storage#constructor", + "class/src/modules/storage.js~Storage.html#instance-constructor-constructor", + "src/modules/storage.js~Storage#constructor", + "method" + ], + [ + "src/modules/storage.js~storage#destroy", + "class/src/modules/storage.js~Storage.html#instance-method-destroy", + "src/modules/storage.js~Storage#destroy", + "method" + ], + [ + "src/modules/storage.js~storage#getkey", + "class/src/modules/storage.js~Storage.html#instance-method-getKey", + "src/modules/storage.js~Storage#getKey", + "method" + ], + [ + "src/modules/storage.js~storage#init", + "class/src/modules/storage.js~Storage.html#instance-method-init", + "src/modules/storage.js~Storage#init", + "method" + ], + [ + "src/modules/storage.js~storage#remove", + "class/src/modules/storage.js~Storage.html#instance-method-remove", + "src/modules/storage.js~Storage#remove", + "method" + ], + [ + "src/modules/storage.js~storage#retrieve", + "class/src/modules/storage.js~Storage.html#instance-method-retrieve", + "src/modules/storage.js~Storage#retrieve", + "method" + ], + [ + "src/modules/storage.js~storage#save", + "class/src/modules/storage.js~Storage.html#instance-method-save", + "src/modules/storage.js~Storage#save", + "method" + ], + [ + "src/modules/storage.js~storage#sync", + "class/src/modules/storage.js~Storage.html#instance-method-sync", + "src/modules/storage.js~Storage#sync", + "method" + ], + [ + "src/number.js", + "file/src/number.js.html", + "src/number.js", + "file" + ], + [ + "src/root.js", + "file/src/root.js.html", + "src/root.js", + "file" + ], + [ + "src/settings.js", + "file/src/settings.js.html", + "src/settings.js", + "file" + ], + [ + "src/sort.js", + "file/src/sort.js.html", + "src/sort.js", + "file" + ], + [ + "src/string.js", + "file/src/string.js.html", + "src/string.js", + "file" + ], + [ + "src/tablefilter.js", + "file/src/tablefilter.js.html", + "src/tablefilter.js", + "file" + ], + [ + "src/tablefilter.js~tablefilter#activatefilter", + "class/src/tablefilter.js~TableFilter.html#instance-method-activateFilter", + "src/tablefilter.js~TableFilter#activateFilter", + "method" + ], + [ + "src/tablefilter.js~tablefilter#alternaterows", + "class/src/tablefilter.js~TableFilter.html#instance-member-alternateRows", + "src/tablefilter.js~TableFilter#alternateRows", + "member" + ], + [ + "src/tablefilter.js~tablefilter#anoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-anOperator", + "src/tablefilter.js~TableFilter#anOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#autofilter", + "class/src/tablefilter.js~TableFilter.html#instance-member-autoFilter", + "src/tablefilter.js~TableFilter#autoFilter", + "member" + ], + [ + "src/tablefilter.js~tablefilter#autofilterdelay", + "class/src/tablefilter.js~TableFilter.html#instance-member-autoFilterDelay", + "src/tablefilter.js~TableFilter#autoFilterDelay", + "member" + ], + [ + "src/tablefilter.js~tablefilter#basepath", + "class/src/tablefilter.js~TableFilter.html#instance-member-basePath", + "src/tablefilter.js~TableFilter#basePath", + "member" + ], + [ + "src/tablefilter.js~tablefilter#btncssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-btnCssClass", + "src/tablefilter.js~TableFilter#btnCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#btnreset", + "class/src/tablefilter.js~TableFilter.html#instance-member-btnReset", + "src/tablefilter.js~TableFilter#btnReset", + "member" + ], + [ + "src/tablefilter.js~tablefilter#btntext", + "class/src/tablefilter.js~TableFilter.html#instance-member-btnText", + "src/tablefilter.js~TableFilter#btnText", + "member" + ], + [ + "src/tablefilter.js~tablefilter#casesensitive", + "class/src/tablefilter.js~TableFilter.html#instance-member-caseSensitive", + "src/tablefilter.js~TableFilter#caseSensitive", + "member" + ], + [ + "src/tablefilter.js~tablefilter#cellparser", + "class/src/tablefilter.js~TableFilter.html#instance-member-cellParser", + "src/tablefilter.js~TableFilter#cellParser", + "member" + ], + [ + "src/tablefilter.js~tablefilter#clearfiltertext", + "class/src/tablefilter.js~TableFilter.html#instance-member-clearFilterText", + "src/tablefilter.js~TableFilter#clearFilterText", + "member" + ], + [ + "src/tablefilter.js~tablefilter#clearfilters", + "class/src/tablefilter.js~TableFilter.html#instance-method-clearFilters", + "src/tablefilter.js~TableFilter#clearFilters", + "method" + ], + [ + "src/tablefilter.js~tablefilter#coltypes", + "class/src/tablefilter.js~TableFilter.html#instance-member-colTypes", + "src/tablefilter.js~TableFilter#colTypes", + "member" + ], + [ + "src/tablefilter.js~tablefilter#colwidths", + "class/src/tablefilter.js~TableFilter.html#instance-member-colWidths", + "src/tablefilter.js~TableFilter#colWidths", + "member" + ], + [ + "src/tablefilter.js~tablefilter#config", + "class/src/tablefilter.js~TableFilter.html#instance-method-config", + "src/tablefilter.js~TableFilter#config", + "method" + ], + [ + "src/tablefilter.js~tablefilter#constructor", + "class/src/tablefilter.js~TableFilter.html#instance-constructor-constructor", + "src/tablefilter.js~TableFilter#constructor", + "method" + ], + [ + "src/tablefilter.js~tablefilter#customoptions", + "class/src/tablefilter.js~TableFilter.html#instance-member-customOptions", + "src/tablefilter.js~TableFilter#customOptions", + "member" + ], + [ + "src/tablefilter.js~tablefilter#decimalseparator", + "class/src/tablefilter.js~TableFilter.html#instance-member-decimalSeparator", + "src/tablefilter.js~TableFilter#decimalSeparator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#destroy", + "class/src/tablefilter.js~TableFilter.html#instance-method-destroy", + "src/tablefilter.js~TableFilter#destroy", + "method" + ], + [ + "src/tablefilter.js~tablefilter#destroyextensions", + "class/src/tablefilter.js~TableFilter.html#instance-method-destroyExtensions", + "src/tablefilter.js~TableFilter#destroyExtensions", + "method" + ], + [ + "src/tablefilter.js~tablefilter#detectkey", + "class/src/tablefilter.js~TableFilter.html#instance-method-detectKey", + "src/tablefilter.js~TableFilter#detectKey", + "method" + ], + [ + "src/tablefilter.js~tablefilter#dfoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-dfOperator", + "src/tablefilter.js~TableFilter#dfOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#disableexcludedoptions", + "class/src/tablefilter.js~TableFilter.html#instance-member-disableExcludedOptions", + "src/tablefilter.js~TableFilter#disableExcludedOptions", + "member" + ], + [ + "src/tablefilter.js~tablefilter#displaybtn", + "class/src/tablefilter.js~TableFilter.html#instance-member-displayBtn", + "src/tablefilter.js~TableFilter#displayBtn", + "member" + ], + [ + "src/tablefilter.js~tablefilter#dom", + "class/src/tablefilter.js~TableFilter.html#instance-method-dom", + "src/tablefilter.js~TableFilter#dom", + "method" + ], + [ + "src/tablefilter.js~tablefilter#emoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-emOperator", + "src/tablefilter.js~TableFilter#emOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#emitter", + "class/src/tablefilter.js~TableFilter.html#instance-member-emitter", + "src/tablefilter.js~TableFilter#emitter", + "member" + ], + [ + "src/tablefilter.js~tablefilter#emptytext", + "class/src/tablefilter.js~TableFilter.html#instance-member-emptyText", + "src/tablefilter.js~TableFilter#emptyText", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-enOperator", + "src/tablefilter.js~TableFilter#enOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enabledefaulttheme", + "class/src/tablefilter.js~TableFilter.html#instance-member-enableDefaultTheme", + "src/tablefilter.js~TableFilter#enableDefaultTheme", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enableemptyoption", + "class/src/tablefilter.js~TableFilter.html#instance-member-enableEmptyOption", + "src/tablefilter.js~TableFilter#enableEmptyOption", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enableicons", + "class/src/tablefilter.js~TableFilter.html#instance-member-enableIcons", + "src/tablefilter.js~TableFilter#enableIcons", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enablenonemptyoption", + "class/src/tablefilter.js~TableFilter.html#instance-member-enableNonEmptyOption", + "src/tablefilter.js~TableFilter#enableNonEmptyOption", + "member" + ], + [ + "src/tablefilter.js~tablefilter#enforcevisibility", + "class/src/tablefilter.js~TableFilter.html#instance-method-enforceVisibility", + "src/tablefilter.js~TableFilter#enforceVisibility", + "method" + ], + [ + "src/tablefilter.js~tablefilter#enterkey", + "class/src/tablefilter.js~TableFilter.html#instance-member-enterKey", + "src/tablefilter.js~TableFilter#enterKey", + "member" + ], + [ + "src/tablefilter.js~tablefilter#eqoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-eqOperator", + "src/tablefilter.js~TableFilter#eqOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#exactmatch", + "class/src/tablefilter.js~TableFilter.html#instance-member-exactMatch", + "src/tablefilter.js~TableFilter#exactMatch", + "member" + ], + [ + "src/tablefilter.js~tablefilter#exactmatchbycol", + "class/src/tablefilter.js~TableFilter.html#instance-member-exactMatchByCol", + "src/tablefilter.js~TableFilter#exactMatchByCol", + "member" + ], + [ + "src/tablefilter.js~tablefilter#extension", + "class/src/tablefilter.js~TableFilter.html#instance-method-extension", + "src/tablefilter.js~TableFilter#extension", + "method" + ], + [ + "src/tablefilter.js~tablefilter#extensions", + "class/src/tablefilter.js~TableFilter.html#instance-member-extensions", + "src/tablefilter.js~TableFilter#extensions", + "member" + ], + [ + "src/tablefilter.js~tablefilter#externalflttgtids", + "class/src/tablefilter.js~TableFilter.html#instance-member-externalFltTgtIds", + "src/tablefilter.js~TableFilter#externalFltTgtIds", + "member" + ], + [ + "src/tablefilter.js~tablefilter#feature", + "class/src/tablefilter.js~TableFilter.html#instance-method-feature", + "src/tablefilter.js~TableFilter#feature", + "method" + ], + [ + "src/tablefilter.js~tablefilter#filter", + "class/src/tablefilter.js~TableFilter.html#instance-method-filter", + "src/tablefilter.js~TableFilter#filter", + "method" + ], + [ + "src/tablefilter.js~tablefilter#filtersrowindex", + "class/src/tablefilter.js~TableFilter.html#instance-member-filtersRowIndex", + "src/tablefilter.js~TableFilter#filtersRowIndex", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltcelltag", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltCellTag", + "src/tablefilter.js~TableFilter#fltCellTag", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltCssClass", + "src/tablefilter.js~TableFilter#fltCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltgrid", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltGrid", + "src/tablefilter.js~TableFilter#fltGrid", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltmulticssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltMultiCssClass", + "src/tablefilter.js~TableFilter#fltMultiCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltsmallcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltSmallCssClass", + "src/tablefilter.js~TableFilter#fltSmallCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#fltsrowcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-fltsRowCssClass", + "src/tablefilter.js~TableFilter#fltsRowCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#geoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-geOperator", + "src/tablefilter.js~TableFilter#geOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#getactivefilterid", + "class/src/tablefilter.js~TableFilter.html#instance-method-getActiveFilterId", + "src/tablefilter.js~TableFilter#getActiveFilterId", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcelldata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getCellData", + "src/tablefilter.js~TableFilter#getCellData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcellvalue", + "class/src/tablefilter.js~TableFilter.html#instance-method-getCellValue", + "src/tablefilter.js~TableFilter#getCellValue", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcellsnb", + "class/src/tablefilter.js~TableFilter.html#instance-method-getCellsNb", + "src/tablefilter.js~TableFilter#getCellsNb", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getclearfiltertext", + "class/src/tablefilter.js~TableFilter.html#instance-method-getClearFilterText", + "src/tablefilter.js~TableFilter#getClearFilterText", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcolumndata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getColumnData", + "src/tablefilter.js~TableFilter#getColumnData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcolumnindexfromfilterid", + "class/src/tablefilter.js~TableFilter.html#instance-method-getColumnIndexFromFilterId", + "src/tablefilter.js~TableFilter#getColumnIndexFromFilterId", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcolumnvalues", + "class/src/tablefilter.js~TableFilter.html#instance-method-getColumnValues", + "src/tablefilter.js~TableFilter#getColumnValues", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getcustomoptions", + "class/src/tablefilter.js~TableFilter.html#instance-method-getCustomOptions", + "src/tablefilter.js~TableFilter#getCustomOptions", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getdata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getData", + "src/tablefilter.js~TableFilter#getData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getdecimal", + "class/src/tablefilter.js~TableFilter.html#instance-method-getDecimal", + "src/tablefilter.js~TableFilter#getDecimal", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilterelement", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilterElement", + "src/tablefilter.js~TableFilter#getFilterElement", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilterid", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilterId", + "src/tablefilter.js~TableFilter#getFilterId", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltertype", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilterType", + "src/tablefilter.js~TableFilter#getFilterType", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltervalue", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilterValue", + "src/tablefilter.js~TableFilter#getFilterValue", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilterablerowsnb", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilterableRowsNb", + "src/tablefilter.js~TableFilter#getFilterableRowsNb", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilteredcolumndata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilteredColumnData", + "src/tablefilter.js~TableFilter#getFilteredColumnData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilteredcolumnvalues", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilteredColumnValues", + "src/tablefilter.js~TableFilter#getFilteredColumnValues", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltereddata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilteredData", + "src/tablefilter.js~TableFilter#getFilteredData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfilteredvalues", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFilteredValues", + "src/tablefilter.js~TableFilter#getFilteredValues", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltersbytype", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFiltersByType", + "src/tablefilter.js~TableFilter#getFiltersByType", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltersid", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFiltersId", + "src/tablefilter.js~TableFilter#getFiltersId", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltersrowindex", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFiltersRowIndex", + "src/tablefilter.js~TableFilter#getFiltersRowIndex", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getfiltersvalue", + "class/src/tablefilter.js~TableFilter.html#instance-method-getFiltersValue", + "src/tablefilter.js~TableFilter#getFiltersValue", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getheaderelement", + "class/src/tablefilter.js~TableFilter.html#instance-method-getHeaderElement", + "src/tablefilter.js~TableFilter#getHeaderElement", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getheadersrowindex", + "class/src/tablefilter.js~TableFilter.html#instance-method-getHeadersRowIndex", + "src/tablefilter.js~TableFilter#getHeadersRowIndex", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getheaderstext", + "class/src/tablefilter.js~TableFilter.html#instance-method-getHeadersText", + "src/tablefilter.js~TableFilter#getHeadersText", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getlastrowindex", + "class/src/tablefilter.js~TableFilter.html#instance-method-getLastRowIndex", + "src/tablefilter.js~TableFilter#getLastRowIndex", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getrowdisplay", + "class/src/tablefilter.js~TableFilter.html#instance-method-getRowDisplay", + "src/tablefilter.js~TableFilter#getRowDisplay", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getrowsnb", + "class/src/tablefilter.js~TableFilter.html#instance-method-getRowsNb", + "src/tablefilter.js~TableFilter#getRowsNb", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getstartrowindex", + "class/src/tablefilter.js~TableFilter.html#instance-method-getStartRowIndex", + "src/tablefilter.js~TableFilter#getStartRowIndex", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getstylesheet", + "class/src/tablefilter.js~TableFilter.html#instance-method-getStylesheet", + "src/tablefilter.js~TableFilter#getStylesheet", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getvalidrows", + "class/src/tablefilter.js~TableFilter.html#instance-method-getValidRows", + "src/tablefilter.js~TableFilter#getValidRows", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getvalidrowsnb", + "class/src/tablefilter.js~TableFilter.html#instance-method-getValidRowsNb", + "src/tablefilter.js~TableFilter#getValidRowsNb", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getvalues", + "class/src/tablefilter.js~TableFilter.html#instance-method-getValues", + "src/tablefilter.js~TableFilter#getValues", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getvisiblecolumndata", + "class/src/tablefilter.js~TableFilter.html#instance-method-getVisibleColumnData", + "src/tablefilter.js~TableFilter#getVisibleColumnData", + "method" + ], + [ + "src/tablefilter.js~tablefilter#getvisiblecolumnvalues", + "class/src/tablefilter.js~TableFilter.html#instance-method-getVisibleColumnValues", + "src/tablefilter.js~TableFilter#getVisibleColumnValues", + "method" + ], + [ + "src/tablefilter.js~tablefilter#groperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-grOperator", + "src/tablefilter.js~TableFilter#grOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#gridlayout", + "class/src/tablefilter.js~TableFilter.html#instance-member-gridLayout", + "src/tablefilter.js~TableFilter#gridLayout", + "member" + ], + [ + "src/tablefilter.js~tablefilter#hascustomoptions", + "class/src/tablefilter.js~TableFilter.html#instance-member-hasCustomOptions", + "src/tablefilter.js~TableFilter#hasCustomOptions", + "member" + ], + [ + "src/tablefilter.js~tablefilter#hasextension", + "class/src/tablefilter.js~TableFilter.html#instance-method-hasExtension", + "src/tablefilter.js~TableFilter#hasExtension", + "method" + ], + [ + "src/tablefilter.js~tablefilter#hastype", + "class/src/tablefilter.js~TableFilter.html#instance-method-hasType", + "src/tablefilter.js~TableFilter#hasType", + "method" + ], + [ + "src/tablefilter.js~tablefilter#hasvisiblerows", + "class/src/tablefilter.js~TableFilter.html#instance-member-hasVisibleRows", + "src/tablefilter.js~TableFilter#hasVisibleRows", + "member" + ], + [ + "src/tablefilter.js~tablefilter#help", + "class/src/tablefilter.js~TableFilter.html#instance-member-help", + "src/tablefilter.js~TableFilter#help", + "member" + ], + [ + "src/tablefilter.js~tablefilter#highlightkeywords", + "class/src/tablefilter.js~TableFilter.html#instance-member-highlightKeywords", + "src/tablefilter.js~TableFilter#highlightKeywords", + "member" + ], + [ + "src/tablefilter.js~tablefilter#ignorediacritics", + "class/src/tablefilter.js~TableFilter.html#instance-member-ignoreDiacritics", + "src/tablefilter.js~TableFilter#ignoreDiacritics", + "member" + ], + [ + "src/tablefilter.js~tablefilter#ignoresdiacritics", + "class/src/tablefilter.js~TableFilter.html#instance-method-ignoresDiacritics", + "src/tablefilter.js~TableFilter#ignoresDiacritics", + "method" + ], + [ + "src/tablefilter.js~tablefilter#import", + "class/src/tablefilter.js~TableFilter.html#instance-method-import", + "src/tablefilter.js~TableFilter#import", + "method" + ], + [ + "src/tablefilter.js~tablefilter#infdivcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-infDivCssClass", + "src/tablefilter.js~TableFilter#infDivCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#init", + "class/src/tablefilter.js~TableFilter.html#instance-method-init", + "src/tablefilter.js~TableFilter#init", + "method" + ], + [ + "src/tablefilter.js~tablefilter#initextensions", + "class/src/tablefilter.js~TableFilter.html#instance-method-initExtensions", + "src/tablefilter.js~TableFilter#initExtensions", + "method" + ], + [ + "src/tablefilter.js~tablefilter#iscustomoptions", + "class/src/tablefilter.js~TableFilter.html#instance-method-isCustomOptions", + "src/tablefilter.js~TableFilter#isCustomOptions", + "method" + ], + [ + "src/tablefilter.js~tablefilter#isexactmatch", + "class/src/tablefilter.js~TableFilter.html#instance-method-isExactMatch", + "src/tablefilter.js~TableFilter#isExactMatch", + "method" + ], + [ + "src/tablefilter.js~tablefilter#isimported", + "class/src/tablefilter.js~TableFilter.html#instance-method-isImported", + "src/tablefilter.js~TableFilter#isImported", + "method" + ], + [ + "src/tablefilter.js~tablefilter#isinitialized", + "class/src/tablefilter.js~TableFilter.html#instance-method-isInitialized", + "src/tablefilter.js~TableFilter#isInitialized", + "method" + ], + [ + "src/tablefilter.js~tablefilter#isrowdisplayed", + "class/src/tablefilter.js~TableFilter.html#instance-method-isRowDisplayed", + "src/tablefilter.js~TableFilter#isRowDisplayed", + "method" + ], + [ + "src/tablefilter.js~tablefilter#isrowvalid", + "class/src/tablefilter.js~TableFilter.html#instance-method-isRowValid", + "src/tablefilter.js~TableFilter#isRowValid", + "method" + ], + [ + "src/tablefilter.js~tablefilter#ldivcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-lDivCssClass", + "src/tablefilter.js~TableFilter#lDivCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#leoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-leOperator", + "src/tablefilter.js~TableFilter#leOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#linkfilters", + "class/src/tablefilter.js~TableFilter.html#instance-method-linkFilters", + "src/tablefilter.js~TableFilter#linkFilters", + "method" + ], + [ + "src/tablefilter.js~tablefilter#linkedfilters", + "class/src/tablefilter.js~TableFilter.html#instance-member-linkedFilters", + "src/tablefilter.js~TableFilter#linkedFilters", + "member" + ], + [ + "src/tablefilter.js~tablefilter#lkoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-lkOperator", + "src/tablefilter.js~TableFilter#lkOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#loadextension", + "class/src/tablefilter.js~TableFilter.html#instance-method-loadExtension", + "src/tablefilter.js~TableFilter#loadExtension", + "method" + ], + [ + "src/tablefilter.js~tablefilter#loadfltondemand", + "class/src/tablefilter.js~TableFilter.html#instance-member-loadFltOnDemand", + "src/tablefilter.js~TableFilter#loadFltOnDemand", + "member" + ], + [ + "src/tablefilter.js~tablefilter#loadthemes", + "class/src/tablefilter.js~TableFilter.html#instance-method-loadThemes", + "src/tablefilter.js~TableFilter#loadThemes", + "method" + ], + [ + "src/tablefilter.js~tablefilter#loader", + "class/src/tablefilter.js~TableFilter.html#instance-member-loader", + "src/tablefilter.js~TableFilter#loader", + "member" + ], + [ + "src/tablefilter.js~tablefilter#locale", + "class/src/tablefilter.js~TableFilter.html#instance-member-locale", + "src/tablefilter.js~TableFilter#locale", + "member" + ], + [ + "src/tablefilter.js~tablefilter#lwoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-lwOperator", + "src/tablefilter.js~TableFilter#lwOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#mdivcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-mDivCssClass", + "src/tablefilter.js~TableFilter#mDivCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#markactivecolumns", + "class/src/tablefilter.js~TableFilter.html#instance-member-markActiveColumns", + "src/tablefilter.js~TableFilter#markActiveColumns", + "member" + ], + [ + "src/tablefilter.js~tablefilter#nmoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-nmOperator", + "src/tablefilter.js~TableFilter#nmOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#noresults", + "class/src/tablefilter.js~TableFilter.html#instance-member-noResults", + "src/tablefilter.js~TableFilter#noResults", + "member" + ], + [ + "src/tablefilter.js~tablefilter#nonemptytext", + "class/src/tablefilter.js~TableFilter.html#instance-member-nonEmptyText", + "src/tablefilter.js~TableFilter#nonEmptyText", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onafterfilter", + "class/src/tablefilter.js~TableFilter.html#instance-member-onAfterFilter", + "src/tablefilter.js~TableFilter#onAfterFilter", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onafterreset", + "class/src/tablefilter.js~TableFilter.html#instance-member-onAfterReset", + "src/tablefilter.js~TableFilter#onAfterReset", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onbeforefilter", + "class/src/tablefilter.js~TableFilter.html#instance-member-onBeforeFilter", + "src/tablefilter.js~TableFilter#onBeforeFilter", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onbeforereset", + "class/src/tablefilter.js~TableFilter.html#instance-member-onBeforeReset", + "src/tablefilter.js~TableFilter#onBeforeReset", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onfiltersloaded", + "class/src/tablefilter.js~TableFilter.html#instance-member-onFiltersLoaded", + "src/tablefilter.js~TableFilter#onFiltersLoaded", + "member" + ], + [ + "src/tablefilter.js~tablefilter#oninpblur", + "class/src/tablefilter.js~TableFilter.html#instance-method-onInpBlur", + "src/tablefilter.js~TableFilter#onInpBlur", + "method" + ], + [ + "src/tablefilter.js~tablefilter#oninpfocus", + "class/src/tablefilter.js~TableFilter.html#instance-method-onInpFocus", + "src/tablefilter.js~TableFilter#onInpFocus", + "method" + ], + [ + "src/tablefilter.js~tablefilter#onkeydown", + "class/src/tablefilter.js~TableFilter.html#instance-method-onKeyDown", + "src/tablefilter.js~TableFilter#onKeyDown", + "method" + ], + [ + "src/tablefilter.js~tablefilter#onkeyup", + "class/src/tablefilter.js~TableFilter.html#instance-method-onKeyUp", + "src/tablefilter.js~TableFilter#onKeyUp", + "method" + ], + [ + "src/tablefilter.js~tablefilter#onrowvalidated", + "class/src/tablefilter.js~TableFilter.html#instance-member-onRowValidated", + "src/tablefilter.js~TableFilter#onRowValidated", + "member" + ], + [ + "src/tablefilter.js~tablefilter#onslcchange", + "class/src/tablefilter.js~TableFilter.html#instance-member-onSlcChange", + "src/tablefilter.js~TableFilter#onSlcChange", + "member" + ], + [ + "src/tablefilter.js~tablefilter#oroperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-orOperator", + "src/tablefilter.js~TableFilter#orOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#paging", + "class/src/tablefilter.js~TableFilter.html#instance-member-paging", + "src/tablefilter.js~TableFilter#paging", + "member" + ], + [ + "src/tablefilter.js~tablefilter#popupfilters", + "class/src/tablefilter.js~TableFilter.html#instance-member-popupFilters", + "src/tablefilter.js~TableFilter#popupFilters", + "member" + ], + [ + "src/tablefilter.js~tablefilter#rdivcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-rDivCssClass", + "src/tablefilter.js~TableFilter#rDivCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#refrow", + "class/src/tablefilter.js~TableFilter.html#instance-member-refRow", + "src/tablefilter.js~TableFilter#refRow", + "member" + ], + [ + "src/tablefilter.js~tablefilter#registerextension", + "class/src/tablefilter.js~TableFilter.html#instance-method-registerExtension", + "src/tablefilter.js~TableFilter#registerExtension", + "method" + ], + [ + "src/tablefilter.js~tablefilter#removeexternalflts", + "class/src/tablefilter.js~TableFilter.html#instance-method-removeExternalFlts", + "src/tablefilter.js~TableFilter#removeExternalFlts", + "method" + ], + [ + "src/tablefilter.js~tablefilter#removetoolbar", + "class/src/tablefilter.js~TableFilter.html#instance-method-removeToolbar", + "src/tablefilter.js~TableFilter#removeToolbar", + "method" + ], + [ + "src/tablefilter.js~tablefilter#responsive", + "class/src/tablefilter.js~TableFilter.html#instance-member-responsive", + "src/tablefilter.js~TableFilter#responsive", + "member" + ], + [ + "src/tablefilter.js~tablefilter#rgxoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-rgxOperator", + "src/tablefilter.js~TableFilter#rgxOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#rowscounter", + "class/src/tablefilter.js~TableFilter.html#instance-member-rowsCounter", + "src/tablefilter.js~TableFilter#rowsCounter", + "member" + ], + [ + "src/tablefilter.js~tablefilter#separator", + "class/src/tablefilter.js~TableFilter.html#instance-member-separator", + "src/tablefilter.js~TableFilter#separator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#setactivefilterid", + "class/src/tablefilter.js~TableFilter.html#instance-method-setActiveFilterId", + "src/tablefilter.js~TableFilter#setActiveFilterId", + "method" + ], + [ + "src/tablefilter.js~tablefilter#setcolwidths", + "class/src/tablefilter.js~TableFilter.html#instance-method-setColWidths", + "src/tablefilter.js~TableFilter#setColWidths", + "method" + ], + [ + "src/tablefilter.js~tablefilter#setfiltervalue", + "class/src/tablefilter.js~TableFilter.html#instance-method-setFilterValue", + "src/tablefilter.js~TableFilter#setFilterValue", + "method" + ], + [ + "src/tablefilter.js~tablefilter#settoolbar", + "class/src/tablefilter.js~TableFilter.html#instance-method-setToolbar", + "src/tablefilter.js~TableFilter#setToolbar", + "method" + ], + [ + "src/tablefilter.js~tablefilter#singlefltcssclass", + "class/src/tablefilter.js~TableFilter.html#instance-member-singleFltCssClass", + "src/tablefilter.js~TableFilter#singleFltCssClass", + "member" + ], + [ + "src/tablefilter.js~tablefilter#singlesearchflt", + "class/src/tablefilter.js~TableFilter.html#instance-member-singleSearchFlt", + "src/tablefilter.js~TableFilter#singleSearchFlt", + "member" + ], + [ + "src/tablefilter.js~tablefilter#sortnumasc", + "class/src/tablefilter.js~TableFilter.html#instance-member-sortNumAsc", + "src/tablefilter.js~TableFilter#sortNumAsc", + "member" + ], + [ + "src/tablefilter.js~tablefilter#sortnumdesc", + "class/src/tablefilter.js~TableFilter.html#instance-member-sortNumDesc", + "src/tablefilter.js~TableFilter#sortNumDesc", + "member" + ], + [ + "src/tablefilter.js~tablefilter#sortslc", + "class/src/tablefilter.js~TableFilter.html#instance-member-sortSlc", + "src/tablefilter.js~TableFilter#sortSlc", + "member" + ], + [ + "src/tablefilter.js~tablefilter#stoperator", + "class/src/tablefilter.js~TableFilter.html#instance-member-stOperator", + "src/tablefilter.js~TableFilter#stOperator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#state", + "class/src/tablefilter.js~TableFilter.html#instance-member-state", + "src/tablefilter.js~TableFilter#state", + "member" + ], + [ + "src/tablefilter.js~tablefilter#statusbar", + "class/src/tablefilter.js~TableFilter.html#instance-member-statusBar", + "src/tablefilter.js~TableFilter#statusBar", + "member" + ], + [ + "src/tablefilter.js~tablefilter#stylepath", + "class/src/tablefilter.js~TableFilter.html#instance-member-stylePath", + "src/tablefilter.js~TableFilter#stylePath", + "member" + ], + [ + "src/tablefilter.js~tablefilter#stylesheet", + "class/src/tablefilter.js~TableFilter.html#instance-member-stylesheet", + "src/tablefilter.js~TableFilter#stylesheet", + "member" + ], + [ + "src/tablefilter.js~tablefilter#themes", + "class/src/tablefilter.js~TableFilter.html#instance-member-themes", + "src/tablefilter.js~TableFilter#themes", + "member" + ], + [ + "src/tablefilter.js~tablefilter#themespath", + "class/src/tablefilter.js~TableFilter.html#instance-member-themesPath", + "src/tablefilter.js~TableFilter#themesPath", + "member" + ], + [ + "src/tablefilter.js~tablefilter#thousandsseparator", + "class/src/tablefilter.js~TableFilter.html#instance-member-thousandsSeparator", + "src/tablefilter.js~TableFilter#thousandsSeparator", + "member" + ], + [ + "src/tablefilter.js~tablefilter#toolbartgtid", + "class/src/tablefilter.js~TableFilter.html#instance-member-toolBarTgtId", + "src/tablefilter.js~TableFilter#toolBarTgtId", + "member" + ], + [ + "src/tablefilter.js~tablefilter#validateallrows", + "class/src/tablefilter.js~TableFilter.html#instance-method-validateAllRows", + "src/tablefilter.js~TableFilter#validateAllRows", + "method" + ], + [ + "src/tablefilter.js~tablefilter#validaterow", + "class/src/tablefilter.js~TableFilter.html#instance-method-validateRow", + "src/tablefilter.js~TableFilter#validateRow", + "method" + ], + [ + "src/tablefilter.js~tablefilter#version", + "class/src/tablefilter.js~TableFilter.html#instance-member-version", + "src/tablefilter.js~TableFilter#version", + "member" + ], + [ + "src/tablefilter.js~tablefilter#visiblerows", + "class/src/tablefilter.js~TableFilter.html#instance-member-visibleRows", + "src/tablefilter.js~TableFilter#visibleRows", + "member" + ], + [ + "src/tablefilter.js~tablefilter#watermark", + "class/src/tablefilter.js~TableFilter.html#instance-member-watermark", + "src/tablefilter.js~TableFilter#watermark", + "member" + ], + [ + "src/types.js", + "file/src/types.js.html", + "src/types.js", + "file" + ] +] \ No newline at end of file diff --git a/docs/script/test-summary.js b/docs/script/test-summary.js new file mode 100644 index 00000000..2f32cb00 --- /dev/null +++ b/docs/script/test-summary.js @@ -0,0 +1,54 @@ +(function(){ + function toggle(ev) { + var button = ev.target; + var parent = ev.target.parentElement; + while(parent) { + if (parent.tagName === 'TR' && parent.classList.contains('test-describe')) break; + parent = parent.parentElement; + } + + if (!parent) return; + + var direction; + if (button.classList.contains('opened')) { + button.classList.remove('opened'); + button.classList.add('closed'); + direction = 'closed'; + } else { + button.classList.remove('closed'); + button.classList.add('opened'); + direction = 'opened'; + } + + var targetDepth = parseInt(parent.dataset.testDepth, 10) + 1; + var nextElement = parent.nextElementSibling; + while (nextElement) { + var depth = parseInt(nextElement.dataset.testDepth, 10); + if (depth >= targetDepth) { + if (direction === 'opened') { + if (depth === targetDepth) nextElement.style.display = ''; + } else if (direction === 'closed') { + nextElement.style.display = 'none'; + var innerButton = nextElement.querySelector('.toggle'); + if (innerButton && innerButton.classList.contains('opened')) { + innerButton.classList.remove('opened'); + innerButton.classList.add('closed'); + } + } + } else { + break; + } + nextElement = nextElement.nextElementSibling; + } + } + + var buttons = document.querySelectorAll('.test-summary tr.test-describe .toggle'); + for (var i = 0; i < buttons.length; i++) { + buttons[i].addEventListener('click', toggle); + } + + var topDescribes = document.querySelectorAll('.test-summary tr[data-test-depth="0"]'); + for (var i = 0; i < topDescribes.length; i++) { + topDescribes[i].style.display = ''; + } +})(); diff --git a/docs/source.html b/docs/source.html new file mode 100644 index 00000000..f4fe9a38 --- /dev/null +++ b/docs/source.html @@ -0,0 +1,536 @@ + + + + + + Source | tablefilter v0.5.31 API Document + + + + + + + + + +
    + Home + + Reference + Source + + Repository + +
    + + + +

    Source 677/677

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FileIdentifierDocumentSizeLinesUpdated
    src/array.jshas100 %1/1546 byte222017-07-05 06:06:18 (UTC)
    src/const.jsAUTO_FILTER_DELAY +CELL_TAG +CHECKLIST +DATE +DOWN_ARROW_KEY +ENTER_KEY +ESC_KEY +FEATURES +FORMATTED_NUMBER +HEADER_TAG +INPUT +IP_ADDRESS +MULTIPLE +NONE +NUMBER +SELECT +STRING +TAB_KEY +UP_ARROW_KEY100 %19/193527 byte2002017-07-05 06:06:18 (UTC)
    src/cookie.js--1412 byte572017-07-05 06:06:18 (UTC)
    src/dom.jsaddClass +createCheckItem +createElm +createOpt +createText +elm +getFirstTextNode +getText +hasClass +removeClass +removeElm +tag100 %12/124766 byte1902017-07-05 06:06:18 (UTC)
    src/emitter.jsEmitter100 %6/61323 byte532017-07-05 06:06:18 (UTC)
    src/event.jsaddEvt +cancelEvt +keyCode +removeEvt +stopEvt +targetEvt100 %6/62384 byte1012017-07-05 06:06:18 (UTC)
    src/extensions/advancedGrid/adapterEzEditTable.jsAdapterEzEditTable100 %13/1319016 byte5072017-07-05 06:06:18 (UTC)
    src/extensions/advancedGrid/advancedGrid.js--90 byte22017-07-05 06:06:18 (UTC)
    src/extensions/colOps/colOps.jsColOps100 %26/2614340 byte4792017-07-05 06:06:18 (UTC)
    src/extensions/colsVisibility/colsVisibility.jsColsVisibility100 %49/4919529 byte7062017-07-05 06:06:18 (UTC)
    src/extensions/sort/adapterSortabletable.jsAdapterSortableTable100 %23/2316463 byte5312017-07-05 06:06:18 (UTC)
    src/extensions/sort/sort.js--204 byte82017-07-05 06:06:18 (UTC)
    src/feature.jsFeature100 %14/141876 byte972017-07-05 06:06:18 (UTC)
    src/modules/alternateRows.jsAlternateRows100 %9/93630 byte1412017-07-05 06:06:18 (UTC)
    src/modules/baseDropdown.jsBaseDropdown100 %3/33501 byte1212017-07-05 06:06:18 (UTC)
    src/modules/checkList.jsCheckList100 %21/2117110 byte5312017-07-05 06:06:18 (UTC)
    src/modules/clearButton.jsClearButton100 %10/103214 byte1292017-07-05 06:06:18 (UTC)
    src/modules/dateType.jsDateType100 %12/124308 byte1572017-07-05 06:06:18 (UTC)
    src/modules/dropdown.jsDropdown100 %17/1711909 byte3832017-07-05 06:06:18 (UTC)
    src/modules/gridLayout.jsGridLayout100 %16/1613788 byte4832017-07-05 06:06:18 (UTC)
    src/modules/hash.jsHash +hasHashChange100 %10/102981 byte1262017-07-05 06:06:18 (UTC)
    src/modules/help.jsHelp100 %17/176494 byte2302017-07-05 06:06:18 (UTC)
    src/modules/highlightKeywords.jsHighlightKeyword100 %10/105459 byte1802017-07-05 06:06:18 (UTC)
    src/modules/loader.jsLoader100 %14/144025 byte1712017-07-05 06:06:18 (UTC)
    src/modules/markActiveColumns.jsMarkActiveColumns100 %10/102794 byte1082017-07-05 06:06:18 (UTC)
    src/modules/noResults.jsNoResults100 %17/174792 byte1942017-07-05 06:06:18 (UTC)
    src/modules/paging.jsPaging100 %45/4527378 byte8982017-07-05 06:06:18 (UTC)
    src/modules/popupFilter.jsPopupFilter100 %27/2713091 byte4542017-07-05 06:06:18 (UTC)
    src/modules/rowsCounter.jsRowsCounter100 %13/135662 byte1972017-07-05 06:06:18 (UTC)
    src/modules/state.jsState100 %24/2414807 byte5422017-07-05 06:06:18 (UTC)
    src/modules/statusBar.jsStatusBar100 %22/228635 byte3002017-07-05 06:06:18 (UTC)
    src/modules/storage.jsStorage +hasStorage100 %10/103543 byte1612017-07-05 06:06:18 (UTC)
    src/number.jsparse100 %1/11034 byte322017-07-05 06:06:18 (UTC)
    src/root.jsroot100 %1/1235 byte62017-07-05 06:06:18 (UTC)
    src/settings.jsdefaultsArr +defaultsBool +defaultsFn +defaultsNb +defaultsStr100 %5/51535 byte532017-07-05 06:06:18 (UTC)
    src/sort.jsdateSortAsc +dateSortDesc +ignoreCase +numSortAsc +numSortDesc +sortDateStr +sortNumberStr100 %7/72881 byte822017-07-05 06:06:18 (UTC)
    src/string.jscontains +isEmpty +matchCase +rgxEsc +trim100 %5/52086 byte762017-07-05 06:06:18 (UTC)
    src/tablefilter.jsTableFilter100 %172/17295552 byte31632017-07-05 06:06:18 (UTC)
    src/types.jsEMPTY_FN +isArray +isBoolean +isEmpty +isFn +isNull +isNumber +isObj +isString +isUndef100 %10/101754 byte812017-07-05 06:06:18 (UTC)
    +
    + + + + + + + + + + + + diff --git a/docs/variable/index.html b/docs/variable/index.html new file mode 100644 index 00000000..056cc6e0 --- /dev/null +++ b/docs/variable/index.html @@ -0,0 +1,5153 @@ + + + + + + Variable | tablefilter v0.5.31 API Document + + + + + + + + + +
    + Home + + Reference + Source + + Repository + +
    + + + +

    Variable

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Static Public Summary
    + public + + + + + + +
    + + +

    Auto filter delay in milliseconds

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + CELL_TAG: String +

    +
    +
    + + +

    Cell tag

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + CHECKLIST: String +

    +
    +
    + + +

    Checklist filter type

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + DATE: String +

    +
    +
    + + +

    Date

    +
    +
    +
    + + +
    + public + + + + + + +
    + + +

    Down arrow key code

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ENTER_KEY: Number +

    +
    +
    + + +

    Enter key code

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ESC_KEY: Number +

    +
    +
    + + +

    Escape key code

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + FEATURES: Object +

    +
    +
    + + +

    TableFilter features definitions

    +
    +
    +
    + + +
    + public + + + + + + +
    + + +

    Formatted number

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + HEADER_TAG: String +

    +
    +
    + + +

    Header cell tag

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + INPUT: String +

    +
    +
    + + +

    Input filter type

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + IP_ADDRESS: String +

    +
    +
    + + +

    IP address

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + MULTIPLE: String +

    +
    +
    + + +

    Multiple select filter type

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + NONE: String +

    +
    +
    + + +

    None filter type

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + NUMBER: String +

    +
    +
    + + +

    Number

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + SELECT: String +

    +
    +
    + + +

    Select filter type

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + STRING: String +

    +
    +
    + + +

    String

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + TAB_KEY: Number +

    +
    +
    + + +

    Tab key code

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + UP_ARROW_KEY: Number +

    +
    +
    + + +

    Up arrow key code

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + addClass(ele: DOMElement, cls: String): * +

    +
    +
    + + +

    Adds the specified class to the passed element

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + addEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * +

    +
    +
    + + +

    Add event handler for specified event on passed element

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + cancelEvt(evt: Event): * +

    +
    +
    + + +

    Cancels the event if it is cancelable, without stopping further +propagation of the event.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + contains(term: String, data: String, exactMatch: Boolean, caseSensitive: Boolean, ignoreDiacritics: Boolean): Boolean: * +

    +
    +
    + + +

    Checks if passed data contains the searched term

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + createCheckItem(id: String, chkValue: String, labelText: String): Object: * +

    +
    +
    + + +

    Creates and returns a checklist item

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + createElm(tag: String, an: Array): Object: * +

    +
    +
    + + +

    Creates an html element with given collection of attributes

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + createOpt(text: String, value: String, isSel: Boolean): Object: * +

    +
    +
    + + +

    Creates and returns an option element

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + createText(txt: String): Object: * +

    +
    +
    + + +

    Returns a text node with given text

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + dateSortAsc(First: Date, Second: Date): Number: * +

    +
    +
    + + +

    Compare function for sorting passed dates in ascending manner according to +the corresponding UTC numeric value (returned by getTime)

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + dateSortDesc(First: Date, Second: Date): Number: * +

    +
    +
    + + +

    Compare function for sorting passed dates in descending manner according to +the corresponding UTC numeric value (returned by getTime)

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + defaultsArr(value: Array | Any, default: Array): Array | Any: * +

    +
    +
    + + +

    If passed value is not of array type return the default value +otherwise return the value itself

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + defaultsBool(value: Boolean | Any, default: Boolean): Boolean | Any: * +

    +
    +
    + + +

    If passed value is not of boolean type return the default value +otherwise return the value itself

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + defaultsFn(value: Function | Any, default: Function): Function | Any: * +

    +
    +
    + + +

    If passed value is not of function type return the default value +otherwise return the value itself

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + defaultsNb(value: Number | Any, default: Number): Number | Any: * +

    +
    +
    + + +

    If passed value is not of number type return the default value +otherwise return the value itself

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + defaultsStr(value: String | Any, default: String): String | Any: * +

    +
    +
    + + +

    If passed value is not of string type return the default value +otherwise return the value itself

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + elm(id: String): DOMElement: * +

    +
    +
    + + +

    Returns the element matching the supplied Id

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + getFirstTextNode(node: NodeElement): String: * +

    +
    +
    + + +

    Returns the first text node contained in the supplied node

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + getText(node: NodeElement): String: * +

    +
    +
    + + +

    Returns text + text of children of given node

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + has(arr: Array, val: Any, caseSensitive: Boolean): Boolean: * +

    +
    +
    + + +

    Checks if given item can be found in the passed collection

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + hasClass(ele: DOMElement, cls: String): Boolean: * +

    +
    +
    + + +

    Determine whether the passed elements is assigned the given class

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + hasHashChange: * +

    +
    +
    + + +

    Checks if browser has onhashchange event

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + hasStorage: * +

    +
    +
    + + +

    Checks if browser has Storage feature

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + ignoreCase(First: String, Second: String): Number: * +

    +
    +
    + + +

    Case insensitive compare function for passed strings

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isArray(obj: Array): Boolean: * +

    +
    +
    + + +

    Check passed argument is an array

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isBoolean(obj: Boolean): Boolean: * +

    +
    +
    + + +

    Check passed argument is a boolean

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isEmpty(obj: Any): Boolean: * +

    +
    +
    + + +

    Check passed argument is empty (undefined, null or empty string)

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isEmpty(text: String): Boolean: * +

    +
    +
    + + +

    Checks if passed string is empty

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isFn(obj: Function): Boolean: * +

    +
    +
    + + +

    Check passed argument is a function

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isNull(obj: Any): Boolean: * +

    +
    +
    + + +

    Check passed argument is null

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isNumber(obj: Number): Boolean: * +

    +
    +
    + + +

    Check passed argument is a number

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isObj(obj: Object): Boolean: * +

    +
    +
    + + +

    Check passed argument is an object

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isString(obj: String): Boolean: * +

    +
    +
    + + +

    Check passed argument is a string

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + isUndef(obj: Any): Boolean: * +

    +
    +
    + + +

    Check passed argument is undefined

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + keyCode(evt: Event): Number: * +

    +
    +
    + + +

    Returns the Unicode value of pressed key

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + matchCase(text: String): String: * +

    +
    +
    + + +

    Returns passed string as lowercase if caseSensitive flag set false.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + numSortAsc(First: Number, Second: Number): Number: * +

    +
    +
    + + +

    Compare function for sorting passed numbers in ascending manner

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + numSortDesc(First: Number, Second: Number): Number: * +

    +
    +
    + + +

    Compare function for sorting passed numbers in descending manner

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + parse(Formatted: String, Decimal: String): Number: * +

    +
    +
    + + +

    Takes a string, removes all formatting/cruft and returns the raw float value

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + removeClass(ele: DOMElement, cls: String): * +

    +
    +
    + + +

    Removes the specified class to the passed element

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + removeElm(node: DOMElement): DOMElement: * +

    +
    +
    + + +

    Removes passed node from DOM

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + removeEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * +

    +
    +
    + + +

    Remove event handler for specified event on passed element

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + rgxEsc(text: String): String: * +

    +
    +
    + + +

    Makes regex safe string by escaping special characters from passed string

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + root: * +

    +
    +
    + + +

    Export window or global object depending on the environment

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + sortDateStr(Compare: Function, locale: String): Function: * +

    +
    +
    + + +

    Curried compare function for sorting passed formatted dates in desired +fashion according to supplied compare function and locale

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + sortNumberStr(Compare: Function, decimal: String): Function: * +

    +
    +
    + + +

    Curried compare function for sorting passed formatted numbers in desired +fashion according to supplied compare function and decimal separator

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + stopEvt(evt: Event): * +

    +
    +
    + + +

    Prevents further propagation of the current event in the bubbling phase

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + tag(tagname: String): NodeList: * +

    +
    +
    + + +

    Returns list of element matching the supplied tag name

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + targetEvt(evt: Event): DOMElement: * +

    +
    +
    + + +

    Reference to the object that dispatched the event

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + trim(text: String): String: * +

    +
    +
    + + +

    Removes whitespace from both sides of passed string

    +
    +
    +
    + + +
    +
    +

    Static Public

    + +
    +

    + public + + + + + AUTO_FILTER_DELAY: Number + + + + source + +

    + +
    import {AUTO_FILTER_DELAY} from 'tablefilter/src/const.js'
    + + +

    Auto filter delay in milliseconds

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + CELL_TAG: String + + + + source + +

    + +
    import {CELL_TAG} from 'tablefilter/src/const.js'
    + + +

    Cell tag

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + CHECKLIST: String + + + + source + +

    + +
    import {CHECKLIST} from 'tablefilter/src/const.js'
    + + +

    Checklist filter type

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + DATE: String + + + + source + +

    + +
    import {DATE} from 'tablefilter/src/const.js'
    + + +

    Date

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + DOWN_ARROW_KEY: Number + + + + source + +

    + +
    import {DOWN_ARROW_KEY} from 'tablefilter/src/const.js'
    + + +

    Down arrow key code

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ENTER_KEY: Number + + + + source + +

    + +
    import {ENTER_KEY} from 'tablefilter/src/const.js'
    + + +

    Enter key code

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ESC_KEY: Number + + + + source + +

    + +
    import {ESC_KEY} from 'tablefilter/src/const.js'
    + + +

    Escape key code

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + FEATURES: Object + + + + source + +

    + +
    import {FEATURES} from 'tablefilter/src/const.js'
    + + +

    TableFilter features definitions

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + FORMATTED_NUMBER: String + + + + source + +

    + +
    import {FORMATTED_NUMBER} from 'tablefilter/src/const.js'
    + + +

    Formatted number

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + HEADER_TAG: String + + + + source + +

    + +
    import {HEADER_TAG} from 'tablefilter/src/const.js'
    + + +

    Header cell tag

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + INPUT: String + + + + source + +

    + +
    import {INPUT} from 'tablefilter/src/const.js'
    + + +

    Input filter type

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + IP_ADDRESS: String + + + + source + +

    + +
    import {IP_ADDRESS} from 'tablefilter/src/const.js'
    + + +

    IP address

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + MULTIPLE: String + + + + source + +

    + +
    import {MULTIPLE} from 'tablefilter/src/const.js'
    + + +

    Multiple select filter type

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + NONE: String + + + + source + +

    + +
    import {NONE} from 'tablefilter/src/const.js'
    + + +

    None filter type

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + NUMBER: String + + + + source + +

    + +
    import {NUMBER} from 'tablefilter/src/const.js'
    + + +

    Number

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + SELECT: String + + + + source + +

    + +
    import {SELECT} from 'tablefilter/src/const.js'
    + + +

    Select filter type

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + STRING: String + + + + source + +

    + +
    import {STRING} from 'tablefilter/src/const.js'
    + + +

    String

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + TAB_KEY: Number + + + + source + +

    + +
    import {TAB_KEY} from 'tablefilter/src/const.js'
    + + +

    Tab key code

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + UP_ARROW_KEY: Number + + + + source + +

    + +
    import {UP_ARROW_KEY} from 'tablefilter/src/const.js'
    + + +

    Up arrow key code

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + addClass(ele: DOMElement, cls: String): * + + + + source + +

    + +
    import {addClass} from 'tablefilter/src/dom.js'
    + + +

    Adds the specified class to the passed element

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + addEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * + + + + source + +

    + +
    import {addEvt} from 'tablefilter/src/event.js'
    + + +

    Add event handler for specified event on passed element

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + cancelEvt(evt: Event): * + + + + source + +

    + +
    import {cancelEvt} from 'tablefilter/src/event.js'
    + + +

    Cancels the event if it is cancelable, without stopping further +propagation of the event.

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + contains(term: String, data: String, exactMatch: Boolean, caseSensitive: Boolean, ignoreDiacritics: Boolean): Boolean: * + + + + source + +

    + +
    import {contains} from 'tablefilter/src/string.js'
    + + +

    Checks if passed data contains the searched term

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + createCheckItem(id: String, chkValue: String, labelText: String): Object: * + + + + source + +

    + +
    import {createCheckItem} from 'tablefilter/src/dom.js'
    + + +

    Creates and returns a checklist item

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Object

    li DOM element

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + createElm(tag: String, an: Array): Object: * + + + + source + +

    + +
    import {createElm} from 'tablefilter/src/dom.js'
    + + +

    Creates an html element with given collection of attributes

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Object

    created element

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + createOpt(text: String, value: String, isSel: Boolean): Object: * + + + + source + +

    + +
    import {createOpt} from 'tablefilter/src/dom.js'
    + + +

    Creates and returns an option element

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Object

    option element

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + createText(txt: String): Object: * + + + + source + +

    + +
    import {createText} from 'tablefilter/src/dom.js'
    + + +

    Returns a text node with given text

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Object
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + dateSortAsc(First: Date, Second: Date): Number: * + + + + source + +

    + +
    import {dateSortAsc} from 'tablefilter/src/sort.js'
    + + +

    Compare function for sorting passed dates in ascending manner according to +the corresponding UTC numeric value (returned by getTime)

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number

    Negative, zero or positive number

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + dateSortDesc(First: Date, Second: Date): Number: * + + + + source + +

    + +
    import {dateSortDesc} from 'tablefilter/src/sort.js'
    + + +

    Compare function for sorting passed dates in descending manner according to +the corresponding UTC numeric value (returned by getTime)

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number

    Negative, zero or positive number

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + defaultsArr(value: Array | Any, default: Array): Array | Any: * + + + + source + +

    + +
    import {defaultsArr} from 'tablefilter/src/settings.js'
    + + +

    If passed value is not of array type return the default value +otherwise return the value itself

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Array | Any
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + defaultsBool(value: Boolean | Any, default: Boolean): Boolean | Any: * + + + + source + +

    + +
    import {defaultsBool} from 'tablefilter/src/settings.js'
    + + +

    If passed value is not of boolean type return the default value +otherwise return the value itself

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean | Any
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + defaultsFn(value: Function | Any, default: Function): Function | Any: * + + + + source + +

    + +
    import {defaultsFn} from 'tablefilter/src/settings.js'
    + + +

    If passed value is not of function type return the default value +otherwise return the value itself

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Function | Any
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + defaultsNb(value: Number | Any, default: Number): Number | Any: * + + + + source + +

    + +
    import {defaultsNb} from 'tablefilter/src/settings.js'
    + + +

    If passed value is not of number type return the default value +otherwise return the value itself

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number | Any
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + defaultsStr(value: String | Any, default: String): String | Any: * + + + + source + +

    + +
    import {defaultsStr} from 'tablefilter/src/settings.js'
    + + +

    If passed value is not of string type return the default value +otherwise return the value itself

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String | Any
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + elm(id: String): DOMElement: * + + + + source + +

    + +
    import {elm} from 'tablefilter/src/dom.js'
    + + +

    Returns the element matching the supplied Id

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    DOMElement
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + getFirstTextNode(node: NodeElement): String: * + + + + source + +

    + +
    import {getFirstTextNode} from 'tablefilter/src/dom.js'
    + + +

    Returns the first text node contained in the supplied node

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + getText(node: NodeElement): String: * + + + + source + +

    + +
    import {getText} from 'tablefilter/src/dom.js'
    + + +

    Returns text + text of children of given node

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + has(arr: Array, val: Any, caseSensitive: Boolean): Boolean: * + + + + source + +

    + +
    import {has} from 'tablefilter/src/array.js'
    + + +

    Checks if given item can be found in the passed collection

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + hasClass(ele: DOMElement, cls: String): Boolean: * + + + + source + +

    + +
    import {hasClass} from 'tablefilter/src/dom.js'
    + + +

    Determine whether the passed elements is assigned the given class

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + hasHashChange: * + + + + source + +

    + +
    import {hasHashChange} from 'tablefilter/src/modules/hash.js'
    + + +

    Checks if browser has onhashchange event

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + hasStorage: * + + + + source + +

    + +
    import {hasStorage} from 'tablefilter/src/modules/storage.js'
    + + +

    Checks if browser has Storage feature

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + ignoreCase(First: String, Second: String): Number: * + + + + source + +

    + +
    import {ignoreCase} from 'tablefilter/src/sort.js'
    + + +

    Case insensitive compare function for passed strings

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number

    1 if first string lower than second one + 0 if first string same order as second one + 1 if first string greater than second one

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isArray(obj: Array): Boolean: * + + + + source + +

    + +
    import {isArray} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is an array

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isBoolean(obj: Boolean): Boolean: * + + + + source + +

    + +
    import {isBoolean} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is a boolean

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isEmpty(obj: Any): Boolean: * + + + + source + +

    + +
    import {isEmpty} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is empty (undefined, null or empty string)

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isEmpty(text: String): Boolean: * + + + + source + +

    + +
    import {isEmpty} from 'tablefilter/src/string.js'
    + + +

    Checks if passed string is empty

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isFn(obj: Function): Boolean: * + + + + source + +

    + +
    import {isFn} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is a function

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isNull(obj: Any): Boolean: * + + + + source + +

    + +
    import {isNull} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is null

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isNumber(obj: Number): Boolean: * + + + + source + +

    + +
    import {isNumber} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is a number

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isObj(obj: Object): Boolean: * + + + + source + +

    + +
    import {isObj} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is an object

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isString(obj: String): Boolean: * + + + + source + +

    + +
    import {isString} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is a string

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + isUndef(obj: Any): Boolean: * + + + + source + +

    + +
    import {isUndef} from 'tablefilter/src/types.js'
    + + +

    Check passed argument is undefined

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Boolean
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + keyCode(evt: Event): Number: * + + + + source + +

    + +
    import {keyCode} from 'tablefilter/src/event.js'
    + + +

    Returns the Unicode value of pressed key

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + matchCase(text: String): String: * + + + + source + +

    + +
    import {matchCase} from 'tablefilter/src/string.js'
    + + +

    Returns passed string as lowercase if caseSensitive flag set false. By +default it returns the string with no casing changes.

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String

    string

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + numSortAsc(First: Number, Second: Number): Number: * + + + + source + +

    + +
    import {numSortAsc} from 'tablefilter/src/sort.js'
    + + +

    Compare function for sorting passed numbers in ascending manner

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number

    Negative, zero or positive number

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + numSortDesc(First: Number, Second: Number): Number: * + + + + source + +

    + +
    import {numSortDesc} from 'tablefilter/src/sort.js'
    + + +

    Compare function for sorting passed numbers in descending manner

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Number

    Negative, zero or positive number

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + parse(Formatted: String, Decimal: String): Number: * + + + + source + +

    + +
    import {parse} from 'tablefilter/src/number.js'
    + + +

    Takes a string, removes all formatting/cruft and returns the raw float value

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + removeClass(ele: DOMElement, cls: String): * + + + + source + +

    + +
    import {removeClass} from 'tablefilter/src/dom.js'
    + + +

    Removes the specified class to the passed element

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + removeElm(node: DOMElement): DOMElement: * + + + + source + +

    + +
    import {removeElm} from 'tablefilter/src/dom.js'
    + + +

    Removes passed node from DOM

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    DOMElement

    old node reference

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + removeEvt(obj: DOMElement, type: String, Handler: Function, capture: Boolean): * + + + + source + +

    + +
    import {removeEvt} from 'tablefilter/src/event.js'
    + + +

    Remove event handler for specified event on passed element

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + rgxEsc(text: String): String: * + + + + source + +

    + +
    import {rgxEsc} from 'tablefilter/src/string.js'
    + + +

    Makes regex safe string by escaping special characters from passed string

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String

    escaped string

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + root: * + + + + source + +

    + +
    import {root} from 'tablefilter/src/root.js'
    + + +

    Export window or global object depending on the environment

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + sortDateStr(Compare: Function, locale: String): Function: * + + + + source + +

    + +
    import {sortDateStr} from 'tablefilter/src/sort.js'
    + + +

    Curried compare function for sorting passed formatted dates in desired +fashion according to supplied compare function and locale

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Function

    Compare function receiving parsed date arguments

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + sortNumberStr(Compare: Function, decimal: String): Function: * + + + + source + +

    + +
    import {sortNumberStr} from 'tablefilter/src/sort.js'
    + + +

    Curried compare function for sorting passed formatted numbers in desired +fashion according to supplied compare function and decimal separator

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    Function

    Compare function receiving parsed numeric arguments

    +
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + stopEvt(evt: Event): * + + + + source + +

    + +
    import {stopEvt} from 'tablefilter/src/event.js'
    + + +

    Prevents further propagation of the current event in the bubbling phase

    +
    + + + +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + tag(tagname: String): NodeList: * + + + + source + +

    + +
    import {tag} from 'tablefilter/src/dom.js'
    + + +

    Returns list of element matching the supplied tag name

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    NodeList
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + targetEvt(evt: Event): DOMElement: * + + + + source + +

    + +
    import {targetEvt} from 'tablefilter/src/event.js'
    + + +

    Reference to the object that dispatched the event

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    DOMElement
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +

    + public + + + + + trim(text: String): String: * + + + + source + +

    + +
    import {trim} from 'tablefilter/src/string.js'
    + + +

    Removes whitespace from both sides of passed string

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + +
    String
    +
    +
    +
    + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + +